@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("assets/fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("assets/fonts/manrope-latin.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;
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/playfair-display-cyrillic-400.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/playfair-display-latin-400.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;
}

@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/playfair-display-cyrillic-400-italic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/playfair-display-latin-400-italic.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 {
  --ivory: #f4efe7;
  --ivory-soft: #f0ebe3;
  --sand: #eae3d8;
  --clay: #d9cbbb;
  --ink: #282620;
  --muted: #625e58;
  --muted-strong: #544e46;
  --line: #d9d1c5;
  --line-strong: #bfb4a6;
  --accent: #9c7653;
  --accent-light: #c6ad8d;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", "Roboto", "Arial", sans-serif;
  --font-serif: "Playfair Display", "Georgia", "Times New Roman", serif;
  --gutter: clamp(20px, 6vw, 88px);
  --section-y: clamp(64px, 9vw, 110px);
  --header-h: 66px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --fast: 0.18s;
  --medium: 0.32s;
}

@media (min-width: 541px) {
  :root {
    --header-h: 72px;
  }
}

@media (min-width: 901px) {
  :root {
    --header-h: 84px;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  text-size-adjust: 100%;
}

html:has(dialog[open]) {
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

h1,
h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  text-wrap: balance;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.quote :focus-visible,
.lightbox :focus-visible {
  outline-color: var(--ivory);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--ivory);
  font-size: 14px;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.section {
  padding: var(--section-y) var(--gutter);
}

.eyebrow {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.section-heading {
  margin-bottom: 44px;
  text-align: center;
}

.section-heading h2 {
  margin: 18px 0 10px;
  font-size: clamp(42px, 13.3vw, 52px);
  line-height: 1.18;
  letter-spacing: -0.05em;
}

.section-heading > p:last-child {
  margin: 0;
  color: var(--muted);
}

@media (min-width: 541px) {
  .section-heading h2 {
    font-size: clamp(50px, 6vw, 85px);
  }
}

.icon {
  display: inline-block;
  flex: none;
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.25em;
  transition: transform var(--fast) var(--ease);
}

.btn {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform var(--fast) var(--ease),
    box-shadow var(--fast) ease,
    background-color var(--fast) ease;
}

.btn .icon {
  width: 18px;
  height: 18px;
}

.btn--primary {
  background: var(--ink);
  color: var(--ivory);
}

.btn--primary:hover {
  background: #000;
  box-shadow: 0 10px 24px rgb(40 38 32 / 24%);
  transform: translateY(-2px);
}

.btn:active {
  box-shadow: none;
  transform: scale(0.97);
}

.btn--small {
  min-height: 44px;
  padding: 0 16px;
  font-size: 13px;
}

.text-link {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  min-height: 48px;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.text-link .icon {
  width: 22px;
  height: 22px;
}

.text-link:hover .icon {
  transform: translateY(4px);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  gap: 10px;
  align-items: center;
  height: var(--header-h);
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line);
  background: var(--ivory);
}

.wordmark {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.wordmark strong {
  margin-right: 0.35em;
  font-weight: 700;
}

.wordmark__role {
  display: none;
  margin-left: 0.5em;
  color: var(--muted);
  font-size: 11px;
  font-style: italic;
  letter-spacing: 0;
}

.header-cta {
  margin-left: auto;
}

.nav-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  transition: background-color var(--fast) ease;
}

.nav-toggle:hover {
  background: var(--sand);
}

.nav-toggle .icon {
  grid-area: 1 / 1;
  width: 24px;
  height: 24px;
  transition:
    opacity var(--fast) ease,
    transform var(--medium) var(--ease);
}

.nav-toggle__close,
.nav-toggle[aria-expanded="true"] .nav-toggle__open {
  opacity: 0;
  transform: rotate(-90deg) scale(0.6);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__close {
  opacity: 1;
  transform: none;
}

.site-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 900px) {
  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    visibility: hidden;
    padding: 6px var(--gutter) 22px;
    border-bottom: 1px solid var(--line);
    background: var(--ivory);
    box-shadow: 0 22px 30px rgb(40 38 32 / 12%);
    opacity: 0;
    transform: translateY(-10px);
    transition:
      opacity var(--fast) ease,
      transform var(--medium) var(--ease),
      visibility 0s linear var(--medium);
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition-delay: 0s;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    min-height: 58px;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-serif);
    font-size: 26px;
    letter-spacing: -0.02em;
  }

  .site-nav a:active {
    background: var(--sand);
  }

  @media (scripting: none) {
    .site-header {
      flex-wrap: wrap;
      height: auto;
      padding-top: 10px;
    }

    .site-nav {
      position: static;
      visibility: visible;
      order: 5;
      width: 100%;
      padding: 0 0 10px;
      border: 0;
      box-shadow: none;
      opacity: 1;
      transform: none;
    }

    .nav-toggle {
      display: none;
    }
  }
}

@media (min-width: 541px) {
  .wordmark {
    font-size: 16px;
  }

  .wordmark__role {
    display: inline;
  }
}

@media (min-width: 901px) {
  .site-header {
    gap: 24px;
    justify-content: space-between;
  }

  .site-nav ul {
    display: flex;
    gap: 22px;
  }

  .site-nav a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 4px;
    font-size: 13px;
  }

  .site-nav a::after {
    position: absolute;
    right: 4px;
    bottom: 10px;
    left: 4px;
    height: 1px;
    background: currentcolor;
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--medium) var(--ease);
  }

  .site-nav a:hover::after,
  .site-nav a[aria-current="true"]::after {
    transform: scaleX(1);
  }

  .header-cta {
    margin-left: 0;
  }

  .nav-toggle {
    display: none;
  }
}

.hero {
  position: relative;
  display: flex;
  min-height: min(760px, calc(100vh - var(--header-h)));
  min-height: min(760px, calc(100svh - var(--header-h)));
  overflow: hidden;
  isolation: isolate;
}

.hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px var(--gutter) 22px;
}

.hero .eyebrow {
  letter-spacing: 0.12em;
}

.hero h1 {
  margin: clamp(305px, 39vh, 365px) 0 16px;
  margin-top: clamp(305px, 39svh, 365px);
  font-size: clamp(50px, 14.5vw, 74px);
  line-height: 1.04;
  letter-spacing: -0.062em;
}

.hero__dot {
  color: var(--accent);
}

.hero__lead {
  max-width: 290px;
  margin: 6px 0;
  font-size: 15px;
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  align-items: center;
  margin-top: 14px;
}

.hero__cta-long {
  display: none;
}

.hero__note {
  margin: auto 0 0;
  padding-top: 14px;
  color: var(--muted);
  font-size: 12px;
}

.hero__visual {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: -1%;
  width: 86%;
  height: 66%;
}

.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% 18%;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, rgb(0 0 0 / 15%) 15%, #000 57%),
    linear-gradient(to top, transparent 0%, #000 28%);
  mask-image:
    linear-gradient(to right, transparent 0%, rgb(0 0 0 / 15%) 15%, #000 57%),
    linear-gradient(to top, transparent 0%, #000 28%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.hero__stamp,
.hero__index {
  display: none;
  margin: 0;
  text-transform: uppercase;
}

@media (min-width: 541px) {
  .hero {
    min-height: 720px;
  }

  .hero__copy {
    padding: 72px var(--gutter) 32px;
  }

  .hero .eyebrow {
    letter-spacing: 0.19em;
  }

  .hero h1 {
    margin: 145px 0 22px;
    font-size: clamp(67px, 9vw, 110px);
    line-height: 0.99;
    letter-spacing: -0.065em;
  }

  .hero__lead {
    max-width: min(435px, 42vw);
    margin: 18px 0;
    font-size: 18px;
    line-height: 1.6;
  }

  .hero__actions {
    gap: 12px 28px;
    margin-top: 22px;
  }

  .hero__cta-long {
    display: inline;
  }

  .hero__note {
    padding-top: 45px;
  }

  .hero__visual {
    top: 0;
    right: 0;
    width: 65%;
    height: 80%;
  }

  .hero__visual img {
    object-position: 50% 22%;
    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, rgb(0 0 0 / 20%) 12%, #000 48%),
      linear-gradient(to top, transparent 0%, #000 17%);
    mask-image:
      linear-gradient(to right, transparent 0%, rgb(0 0 0 / 20%) 12%, #000 48%),
      linear-gradient(to top, transparent 0%, #000 17%);
  }

  .hero__stamp {
    position: absolute;
    right: 7%;
    bottom: 12%;
    display: block;
    padding: 16px 18px;
    background: var(--ivory);
    box-shadow: 0 9px 30px rgb(49 43 33 / 10%);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0.1em;
    transform: rotate(6deg);
  }

  .hero__stamp .icon {
    width: 20px;
    height: 20px;
    vertical-align: -5px;
  }

  .hero__index {
    position: absolute;
    right: 25px;
    bottom: 20px;
    display: block;
    font-size: 11px;
    letter-spacing: 0.2em;
  }
}

@media (min-width: 901px) {
  .hero {
    min-height: min(810px, calc(100vh - var(--header-h)));
    min-height: min(810px, calc(100svh - var(--header-h)));
  }

  .hero__copy {
    flex: 0 0 66%;
    padding: clamp(75px, 8vw, 130px) var(--gutter) 36px;
  }

  .hero h1 {
    margin: 50px 0 24px;
    font-size: clamp(70px, 8.2vw, 136px);
  }

  .hero__lead {
    max-width: 435px;
  }

  .hero__visual {
    width: 57%;
    height: 100%;
  }

  .hero__stamp {
    right: 8%;
    bottom: 11%;
  }
}

.ticker {
  display: flex;
  gap: 1.4em;
  justify-content: center;
  padding: 15px 0;
  overflow: hidden;
  background: var(--ink);
  color: var(--ivory);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker__group {
  display: flex;
  gap: 1.4em;
  align-items: center;
  margin: 0;
}

.ticker .icon {
  width: 1.1em;
  height: 1.1em;
}

.ticker__group--repeat {
  display: none;
}

@media (min-width: 541px) {
  .ticker {
    padding: 20px 0;
    font-size: 12px;
    letter-spacing: 0.35em;
  }
}

@media (min-width: 901px) {
  .ticker__group--repeat {
    display: flex;
  }
}

.approach {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(118px, 0.75fr);
  gap: 18px 12px;
  align-items: start;
  overflow: hidden;
  background: var(--ivory-soft);
}

.approach .eyebrow,
.approach h2 {
  grid-column: 1 / -1;
}

.approach h2 {
  margin-top: 8px;
  font-size: clamp(33px, 9.6vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.approach__text {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.approach__device {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  margin: 0;
  padding: 10px 0 12px;
  transform: rotate(8deg);
}

.approach__device figcaption {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.approach__dot {
  display: none;
}

.approach__line {
  display: block;
}

.phone {
  position: relative;
  width: min(34vw, 145px);
  aspect-ratio: 9 / 18.5;
  padding: 4px;
  border: 3px solid #292a2a;
  border-radius: 24px;
  background: #252525;
  box-shadow:
    10px 14px 24px rgb(64 54 44 / 24%),
    inset 0 0 0 1px #8b8b86;
}

.phone::after {
  position: absolute;
  top: 23%;
  right: -6px;
  width: 3px;
  height: 14%;
  border-radius: 3px;
  background: #666;
  content: "";
}

.phone__screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 19px;
  background: #111;
}

.phone__screen::before {
  position: absolute;
  z-index: 1;
  top: 5px;
  left: 50%;
  width: 34%;
  height: 10px;
  border-radius: 15px;
  background: #141414;
  content: "";
  transform: translateX(-50%);
}

.phone__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 541px) {
  .approach {
    grid-template-columns: minmax(0, 1.2fr) minmax(190px, 0.8fr);
    gap: 16px 20px;
    align-items: center;
  }

  .approach h2 {
    grid-column: 1;
    margin-top: 16px;
    font-size: clamp(38px, 5.6vw, 62px);
  }

  .approach__text {
    align-self: start;
    max-width: 600px;
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.8;
  }

  .approach__device {
    grid-row: 2 / span 2;
    grid-column: 2;
    gap: 24px;
  }

  .approach__device figcaption {
    letter-spacing: 0.18em;
    white-space: nowrap;
  }

  .approach__dot,
  .approach__line {
    display: inline;
  }

  .phone {
    width: 200px;
    padding: 6px;
    border-width: 4px;
    border-radius: 36px;
    box-shadow:
      16px 26px 35px rgb(64 54 44 / 25%),
      inset 0 0 0 1px #8b8b86;
  }

  .phone__screen {
    border-radius: 28px;
  }

  .phone__screen::before {
    top: 8px;
    height: 17px;
  }
}

@media (min-width: 901px) {
  .approach {
    grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.6fr);
    gap: 14px 5%;
  }

  .approach h2 {
    max-width: 780px;
    font-size: clamp(40px, 4.6vw, 74px);
  }

  .phone {
    width: clamp(178px, 19vw, 270px);
  }
}

.portfolio {
  background: var(--sand);
}

.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
}

.filter button {
  min-height: 44px;
  padding: 0 19px;
  border: 1px solid #a89d8f;
  border-radius: 999px;
  background: transparent;
  font-size: 13px;
  cursor: pointer;
  transition:
    background-color var(--fast) ease,
    border-color var(--fast) ease,
    color var(--fast) ease,
    transform var(--fast) var(--ease);
}

.filter button:hover {
  border-color: var(--ink);
}

.filter button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--ivory);
}

.filter button:active {
  transform: scale(0.95);
}

.gallery {
  columns: 2 135px;
  column-gap: 10px;
}

.tile {
  margin: 0 0 20px;
  break-inside: avoid;
}

.tile[hidden] {
  display: none;
}

.tile a {
  display: block;
  overflow: hidden;
  cursor: zoom-in;
}

.tile img {
  width: 100%;
  height: auto;
  transition: transform var(--medium) var(--ease);
}

.tile a:hover img,
.tile a:focus-visible img {
  transform: scale(1.03);
}

.tile figcaption {
  margin-top: 10px;
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.tile.is-entering {
  animation: tile-in 0.4s var(--ease) both;
}

@keyframes tile-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

@media (min-width: 541px) {
  .gallery {
    columns: 4 220px;
    column-gap: 17px;
  }

  .tile {
    margin-bottom: 26px;
  }

  .tile figcaption {
    font-size: 11px;
  }
}

.quote {
  padding: 80px 7%;
  background: var(--ink);
  color: var(--ivory);
  text-align: center;
}

.quote__text {
  max-width: 1000px;
  margin: 30px auto;
  font-family: var(--font-serif);
  font-size: clamp(34px, 10.7vw, 42px);
  line-height: 1.2;
}

.quote__spark {
  width: 36px;
  height: 36px;
  color: var(--accent-light);
}

@media (min-width: 541px) {
  .quote {
    padding: 105px 10%;
  }

  .quote__text {
    font-size: clamp(38px, 6vw, 88px);
  }
}

.reel-list {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  list-style: none;
  scroll-snap-type: x mandatory;
}

.reel {
  flex: 0 0 75%;
  scroll-snap-align: start;
}

.reel video {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  border-radius: 3px;
  background: #191919;
  object-fit: cover;
}

.reel p {
  margin: 12px 0 0;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

@media (min-width: 541px) {
  .reel-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
  }
}

@media (min-width: 901px) {
  .reel-list {
    gap: 22px;
  }
}

.services {
  display: grid;
  gap: 25px;
  background: var(--sand);
}

.services h2 {
  margin: 22px 0;
  font-size: clamp(42px, 5vw, 74px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.services__intro > p:last-child {
  max-width: 340px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.service-list {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--line-strong);
  list-style: none;
}

.service {
  display: grid;
  grid-template-columns: 35px 1fr 24px;
  gap: 15px;
  padding: 23px 0;
  border-top: 1px solid var(--line-strong);
  transition: background-color var(--fast) ease;
}

.service__num {
  padding-top: 6px;
  font-size: 11px;
}

.service h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: underline transparent 1px;
  text-underline-offset: 6px;
  transition: text-decoration-color var(--fast) ease;
}

.service p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.service .icon {
  width: 24px;
  height: 24px;
}

.service:hover h3,
.service:focus-visible h3 {
  text-decoration-color: currentcolor;
}

.service:hover .icon,
.service:focus-visible .icon {
  transform: translate(4px, -4px);
}

.service:active {
  background: rgb(40 38 32 / 6%);
}

@media (min-width: 541px) {
  .service h3 {
    font-size: 21px;
  }
}

@media (min-width: 901px) {
  .services {
    grid-template-columns: 2fr 3fr;
    gap: 40px;
  }
}

.about {
  display: grid;
  grid-template-areas:
    "photo heading"
    "text text";
  grid-template-columns: 44% 1fr;
  gap: 24px 6%;
  align-items: center;
}

.about__photo {
  position: relative;
  grid-area: photo;
  margin: 0;
}

.about__photo img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: 48% 32%;
}

.about__photo figcaption {
  position: absolute;
  bottom: 12px;
  left: -7px;
  padding: 8px 9px;
  background: var(--ivory);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: rotate(-4deg);
}

.about__heading {
  grid-area: heading;
}

.about h2 {
  margin-top: 18px;
  font-size: clamp(38px, 11vw, 56px);
  line-height: 1.12;
}

.about__text {
  grid-area: text;
}

.about__text p {
  max-width: 480px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.about__text .about__location {
  max-width: none;
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@media (min-width: 541px) {
  .about {
    grid-template-areas:
      "photo heading"
      "photo text";
    grid-template-columns: 45% 1fr;
    gap: 0 5%;
  }

  .about__photo img {
    height: 490px;
    object-position: 50% 40%;
  }

  .about__photo figcaption {
    bottom: 25px;
    left: -14px;
    padding: 15px 18px;
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .about__heading {
    align-self: end;
  }

  .about h2 {
    margin: 30px 0;
    font-size: clamp(52px, 7vw, 80px);
    line-height: 1.05;
  }

  .about__text {
    align-self: start;
  }

  .about__text p {
    font-size: 16px;
    line-height: 1.85;
  }

  .about__text .about__location {
    margin-top: 40px;
  }
}

@media (min-width: 901px) {
  .about {
    column-gap: 8%;
  }

  .about__photo img {
    height: 600px;
  }

  .about h2 {
    font-size: clamp(65px, 8vw, 115px);
  }
}

.contact {
  background: var(--clay);
  text-align: center;
}

.contact h2 {
  margin: 30px 0;
  font-size: clamp(44px, 14vw, 58px);
  line-height: 1.12;
}

.contact > p {
  margin: 0;
  line-height: 1.6;
}

.big-cta {
  display: flex;
  gap: 14px;
  align-items: center;
  max-width: 400px;
  margin: 30px auto 22px;
  padding: 22px 26px;
  background: var(--ink);
  color: var(--ivory);
  font-size: 17px;
  font-weight: 600;
  text-align: left;
  transition:
    transform var(--fast) var(--ease),
    box-shadow var(--fast) ease,
    background-color var(--fast) ease;
}

.big-cta .icon {
  width: 24px;
  height: 24px;
}

.big-cta .big-cta__arrow {
  width: 28px;
  height: 28px;
  margin-left: auto;
}

.big-cta:hover {
  background: #000;
  box-shadow: 0 16px 34px rgb(40 38 32 / 28%);
  transform: translateY(-3px);
}

.big-cta:hover .big-cta__arrow {
  transform: translate(4px, -4px);
}

.big-cta:active {
  box-shadow: none;
  transform: scale(0.98);
}

.contact .contact__note {
  max-width: 500px;
  margin: 0 auto;
  color: var(--muted-strong);
  font-size: 13px;
}

@media (min-width: 541px) {
  .contact h2 {
    margin: 35px 0;
    font-size: clamp(58px, 8vw, 120px);
  }
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.site-footer ul {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer a:hover .icon {
  transform: translateY(-3px);
}

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgb(24 23 20 / 97%);
  color: var(--ivory);
}

.lightbox:not([open]) {
  display: none;
}

.lightbox[open] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: lightbox-in 0.25s ease;
}

.lightbox::backdrop {
  background: rgb(24 23 20 / 97%);
}

.lightbox img {
  width: auto;
  max-width: min(92vw, 900px);
  height: auto;
  max-height: calc(100vh - 110px);
  max-height: calc(100dvh - 110px);
  object-fit: contain;
}

.lightbox img.is-entering {
  animation: lightbox-in 0.3s var(--ease);
}

.lightbox__caption {
  margin: 0;
  padding: 16px 20px 0;
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgb(244 239 231 / 45%);
  border-radius: 50%;
  background: rgb(24 23 20 / 65%);
  cursor: pointer;
  transition:
    background-color var(--fast) ease,
    border-color var(--fast) ease;
}

.lightbox__btn:hover {
  border-color: var(--ivory);
  background: #000;
}

.lightbox__btn .icon {
  width: 22px;
  height: 22px;
}

.lightbox__close {
  top: 14px;
  right: 14px;
}

.lightbox__prev,
.lightbox__next {
  top: calc(50% - 24px);
}

.lightbox__prev {
  left: 14px;
}

.lightbox__next {
  right: 14px;
}

.lightbox__prev:active .icon {
  transform: translateX(-3px);
}

.lightbox__next:active .icon {
  transform: translateX(3px);
}

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

.legal {
  padding: var(--section-y) var(--gutter);
}

.legal h1 {
  margin: 18px 0 14px;
  font-size: clamp(48px, 9vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.legal__lead {
  margin: 0 0 40px;
  color: var(--muted);
}

.legal__row {
  display: grid;
  gap: 10px 40px;
  padding: 23px 0;
  border-top: 1px solid var(--line-strong);
}

.legal__row:last-of-type {
  border-bottom: 1px solid var(--line-strong);
}

.legal h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
}

.legal__body p,
.legal__body address {
  margin: 0 0 12px;
  font-style: normal;
  line-height: 1.7;
}

.legal__body > :last-child {
  margin-bottom: 0;
}

.legal a:not(.text-link) {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal__back {
  margin-top: 44px;
}

@media (min-width: 541px) {
  .legal h2 {
    font-size: 21px;
  }
}

@media (min-width: 901px) {
  .legal__row {
    grid-template-columns: 2fr 3fr;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
