/* latin-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/f0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/f1.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/f0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/f1.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: optional;
  src: url(../fonts/f2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: optional;
  src: url(../fonts/f3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url(../fonts/f4.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url(../fonts/f5.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url(../fonts/f4.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url(../fonts/f5.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --gold: #c3996c;
  --gold-text: #8f6d3c;
  --title: #2b2b2b;
  --text: #3b3b3b;
  --icon: #3b3b3b;
  --white: #ffffff;
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --overlay: rgba(0, 0, 0, 0.5);
  --shadow: rgba(0, 0, 0, 0.15);
  --header-bg: rgba(0, 0, 0, 0.7);
  --ease: cubic-bezier(0.42, 0, 0.58, 1);
  --container: 1170px;
  --header-offset: 100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold-text);
  text-decoration: none;
}

a:hover {
  color: #2f3439;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 400;
}

.container {
  width: min(100% - 50px, var(--container));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  display: inline-block;
  vertical-align: middle;
}

/* Header */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: var(--header-bg);
  padding: 20px 25px;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  max-width: 1400px;
  margin-inline: auto;
}

.logo img {
  width: 153px;
  height: auto;
}

.nav-toggle,
.nav-close {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  padding: 0;
  cursor: pointer;
}

.nav-toggle .icon,
.nav-close .icon {
  width: 24px;
  height: 24px;
}

.site-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
}

.site-nav a {
  display: block;
  color: #fff;
  font-size: 15px;
  line-height: 25px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 15px;
  transition: color 0.3s var(--ease);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--gold);
}

.social-link {
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s var(--ease);
}

.social-link .icon {
  width: 20px;
  height: 20px;
}

.social-link:hover {
  color: #fff;
}

body.nav-open {
  overflow: hidden;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 200px 25px 100px;
  background: #111224;
  color: #fff;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(45deg, rgba(17, 18, 36, 0.2) 12%, rgba(0, 0, 0, 0.2) 75%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 100%;
}

.hero-panel {
  background: rgba(0, 0, 0, 0.4);
  padding: 10px 25px 13px;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(20px, 3.75vw, 54px);
  line-height: 1.18;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: #fff;
  margin: 20px 0 5px;
  white-space: nowrap;
}

.hero .tagline {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  line-height: 32px;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 20px;
}

.seam {
  width: min(391px, 70%);
  margin-inline: auto;
}

.seam--dark {
  width: min(500px, 80%);
}

/* Shared sections */
.section {
  padding: 125px 0;
}

.section--soft {
  background: var(--bg-soft);
}

.section--tight {
  padding-top: 100px;
}

.section-title {
  font-size: 36px;
  line-height: 46px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-text);
}

.section-title--center {
  text-align: center;
}

.section-icon {
  display: block;
  text-align: center;
  color: var(--icon);
  font-size: 25px;
  line-height: 1;
}

.intro-grid,
.gallery-intro,
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.framed {
  padding: 10px;
  border: 1px solid var(--gold);
}

.framed--light {
  border-color: #fff;
}

.about-copy .section-title {
  margin-bottom: 16px;
}

/* Services */
.services-head {
  text-align: center;
  margin-bottom: 40px;
}

.services-head .section-title {
  margin: 20px 0 25px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 20px;
  row-gap: 0;
}

.services-col {
  display: grid;
  gap: 10px;
  align-content: start;
}

.service-card {
  margin: 0;
  background: #fff;
  padding: 20px;
  border-bottom: 1px solid var(--gold);
  box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.05);
  transition: transform 0.5s ease;
  font-family: "Playfair Display", serif;
  font-weight: 700;
}

.service-card:hover {
  transform: scale(1.1);
}

.service-card span {
  color: var(--gold-text);
}

.services-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 50px;
}

.services-note .icon {
  width: 28px;
  height: 28px;
  color: var(--icon);
}

/* Work strip */
.work-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--gold);
}

.work-strip button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  overflow: hidden;
}

.work-strip img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.quote {
  text-align: center;
  font-style: italic;
  margin-top: 25px;
}

/* Gallery band */
.gallery-band {
  position: relative;
  padding: 125px 0;
  background: #8f6d3c;
  color: #fff;
}

.gallery-band .container {
  position: relative;
}

.gallery-band .section-title,
.gallery-band p {
  color: #fff;
}

.gallery-band .section-title {
  margin-bottom: 8px;
}

.gallery-band p {
  margin: 25px 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 60px;
  border: 1px solid var(--gold);
  color: var(--title);
  background: transparent;
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 25px;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.btn:hover {
  background: var(--gold);
  color: var(--title);
}

.btn--light {
  border-color: #fff;
  color: #fff;
  padding: 15px 50px;
}

.btn--light:hover {
  background: #fff;
  color: var(--title);
}

/* Contact */
.contact-head {
  text-align: center;
  margin-bottom: 40px;
}

.contact-head .section-title {
  margin: 20px 0;
}

.contact-head p + p {
  margin-top: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.contact-card h3 {
  color: var(--gold-text);
  font-size: 22px;
  line-height: 32px;
  margin: 20px 0;
}

.contact-card .icon {
  width: 28px;
  height: 28px;
  color: var(--icon);
}

.contact-card .btn {
  margin-bottom: 12px;
}

.media-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 30px;
  align-items: center;
  margin-top: 25px;
  padding: 25px;
  background: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.contact-grid + .media-row {
  margin-top: 75px;
}

.media-row p a {
  text-decoration: underline;
}

.media-row img {
  width: 100%;
}

.media-logo {
  display: block;
  width: 150px;
  background: transparent;
  border: 0;
}

/* Footer */
.site-footer {
  position: relative;
  padding: 100px 25px 0;
  background: url("../images/modno-krojastvo-marjan-pohlin-sp.webp") center / cover no-repeat;
  color: #fff;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.site-footer .container,
.site-footer .footer-bottom {
  position: relative;
}

.site-footer h2 {
  font-size: 19px;
  line-height: 29px;
  color: var(--gold);
  text-align: left;
  margin-bottom: 12px;
}

.site-footer p,
.site-footer a {
  color: #fff;
}

.site-footer a {
  text-decoration: underline;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-label {
  color: var(--gold);
}

.site-footer .footer-block {
  margin: 0 0 1.75em;
}

.site-footer .footer-block:last-child {
  margin-bottom: 0;
}

.site-footer .footer-block p {
  margin: 0;
  line-height: 1.45;
}

.map-frame {
  padding: 10px;
  border: 1px solid var(--gold);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

.footer-bottom {
  margin-top: 50px;
  text-align: center;
  padding-bottom: 25px;
}

.legal-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
}

.legal-nav a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 15px;
}

.legal-nav a:hover,
.legal-nav a[aria-current="page"] {
  color: var(--gold);
}

.copyright {
  font-size: 16px;
  line-height: 26px;
  text-align: center;
}

/* Legal pages */
.legal-page {
  padding: 160px 0 100px;
}

.legal-page h1 {
  font-family: "Playfair Display", serif;
  font-size: 40px;
  line-height: 50px;
  color: var(--gold-text);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.legal-page h2 {
  font-size: 24px;
  line-height: 34px;
  color: var(--gold-text);
  margin: 36px 0 12px;
}

.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 28px;
  font-size: 15px;
  line-height: 22px;
}

.legal-page th,
.legal-page td {
  border: 1px solid #eee;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.legal-page th {
  background: var(--bg-soft);
  color: var(--title);
}

/* Gallery modal */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  background: var(--overlay);
  overflow: auto;
}

.gallery-modal.is-open {
  display: flex;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  background: transparent;
  cursor: zoom-out;
}

.lightbox.is-open {
  display: block;
  background: var(--overlay);
  animation: lightbox-in 0.5s linear both;
}

.lightbox.is-out {
  animation: lightbox-out 0.5s ease-in-out both;
}

.lightbox img {
  position: fixed;
  margin: 0;
  max-width: none;
  max-height: none;
  width: auto;
  height: auto;
  object-fit: cover;
  transition: top 0.5s ease-in-out, left 0.5s ease-in-out, width 0.5s ease-in-out, height 0.5s ease-in-out;
  pointer-events: none;
}

.lightbox .modal-close {
  top: 20px;
  right: 20px;
  color: #fff;
  opacity: 0;
  z-index: 2;
}

.lightbox.is-open .modal-close {
  animation: lightbox-close-in 0.35s ease 0.45s both;
}

.gallery-modal-panel {
  background: #fff;
  width: min(800px, 100%);
  padding: 50px 20px;
  box-shadow: 0 30px 60px var(--shadow);
  position: relative;
}

.gallery-modal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gallery-modal-grid button {
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.gallery-modal-grid img {
  width: 100%;
  aspect-ratio: 2 / 3;
  height: auto;
  object-fit: cover;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: 0;
  color: var(--icon);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

@keyframes lightbox-in {
  from {
    background-color: transparent;
  }
}

@keyframes lightbox-out {
  to {
    background-color: transparent;
  }
}

@keyframes lightbox-close-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Cookies */
.cookie-bar {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: min(380px, calc(100% - 24px));
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.5);
  padding: 22px;
  display: none;
}

.cookie-bar.is-open {
  display: block;
}

.cookie-bar h2 {
  font-size: 16px;
  line-height: 22px;
  color: #fff;
  margin-bottom: 10px;
}

.cookie-bar p {
  font-size: 14px;
  line-height: 20px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.cookie-btn {
  border: 0;
  border-radius: 25px;
  padding: 8px 16px;
  font-size: 15px;
  cursor: pointer;
  background: var(--gold);
  color: #2b2b2b;
}

.cookie-btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px dotted #fff;
}

.cookie-options {
  display: none;
  margin-top: 14px;
}

.cookie-options.is-open {
  display: block;
}

.cookie-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin: 8px 0;
}

.cookie-manage {
  display: none;
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 70;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: 0;
  border-radius: 25px;
  padding: 8px 14px;
  font-size: 13px;
  cursor: pointer;
}

.cookie-manage.is-visible {
  display: inline-flex;
}

/* 404 */
.not-found {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 180px 20px 80px;
}

.not-found h1 {
  font-family: "Playfair Display", serif;
  color: var(--gold-text);
  font-size: 40px;
  margin-bottom: 16px;
}

@media (max-width: 1200px) {
  .hero h1 {
    font-size: clamp(20px, 4.1vw, 50px);
  }

  .hero .tagline {
    font-size: 21px;
    line-height: 31px;
  }

  .section-title {
    font-size: 33px;
    line-height: 43px;
  }
}

@media (max-width: 1024px) {
  .section,
  .gallery-band {
    padding: 125px 0;
  }

  .container {
    width: min(100% - 50px, var(--container));
  }

  .work-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .work-strip img {
    height: 240px;
  }
}

@media (max-width: 768px) {
  body,
  p {
    font-size: 16px;
    line-height: 26px;
  }

  .site-header {
    padding: 15px;
  }

  .header-inner {
    grid-template-columns: 1fr auto auto;
  }

  .logo {
    justify-self: center;
    grid-column: 1;
  }

  .nav-toggle {
    display: inline-flex;
    grid-column: 2;
    justify-self: end;
  }

  .social-link {
    grid-column: 3;
  }

  .site-nav {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(360px, 88vw);
    background: #fff;
    padding: 75px 30px 30px;
    transform: translateX(-100%);
    transition: transform 0.3s var(--ease);
    z-index: 50;
  }

  body.nav-open .site-nav {
    transform: none;
  }

  .nav-close {
    display: block;
    position: absolute;
    top: 18px;
    right: 18px;
    color: var(--gold-text);
  }

  .nav-close .icon {
    width: 35px;
    height: 35px;
  }

  .site-nav ul {
    flex-direction: column;
  }

  .site-nav a {
    color: var(--title);
    text-align: center;
  }

  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 45;
  }

  body.nav-open .nav-backdrop {
    display: block;
  }

  .hero {
    padding: 150px 15px 75px;
  }

  .hero h1 {
    font-size: clamp(18px, 5.4vw, 40px);
    letter-spacing: 0.04em;
  }

  .hero .tagline {
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 3px;
  }

  .section,
  .gallery-band,
  .section--tight {
    padding: 75px 0;
  }

  .section-title,
  .gallery-band .section-title {
    font-size: 20px;
    line-height: 30px;
  }

  .intro-grid,
  .gallery-intro,
  .footer-grid,
  .services-grid,
  .contact-grid,
  .media-row {
    grid-template-columns: 1fr;
  }

  .services-grid {
    row-gap: 10px;
  }

  .site-footer h2,
  .site-footer p {
    text-align: center;
  }

  .work-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-modal-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cookie-bar {
    right: 12px;
    left: 12px;
    width: auto;
  }
}

@media (max-width: 420px) {
  .site-header,
  .hero {
    padding-left: 5px;
    padding-right: 5px;
  }

  .hero h1 {
    font-size: clamp(16px, 5.8vw, 29px);
    letter-spacing: 0.03em;
  }

  .btn {
    padding-left: 28px;
    padding-right: 28px;
    width: 100%;
  }

  .work-strip,
  .gallery-modal-grid {
    grid-template-columns: 1fr;
  }
}

.will-animate {
  opacity: 0;
}

.will-animate.is-in {
  opacity: 1;
}

.fadeInUp {
  animation: fadeInUp 1.5s cubic-bezier(0.42, 0, 0.58, 1) both;
}

.fadeInLeft {
  animation: fadeInLeft 1.5s cubic-bezier(0.42, 0, 0.58, 1) both;
}

.fadeInRight {
  animation: fadeInRight 2s cubic-bezier(0.42, 0, 0.58, 1) both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(36px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-36px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(36px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .service-card:hover {
    transform: none;
  }

  .will-animate {
    opacity: 1;
  }
}
