@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("../fonts/manrope.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #faf7f1;
  --cream: #f4eee4;
  --sand: #e8ddce;
  --silt: #eee5d8;
  --ink: #252721;
  --muted: #59564c;
  --olive: #414e3d;
  --deep: #2a362a;
  --on-dark: #f9f3e8;
  --soft-dark: #dcd6c8;
  --focus: #385435;
  --edge: #817965;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Manrope, Arial, sans-serif;
  --frame: 1320px;
  --gutter: clamp(74px, 5.25vw, 104px);
  --header-height: 86px;
  --section-space: clamp(72px, 7.04vw, 116px);
  --column-gap: clamp(24px, 3.2vw, 48px);
  --ease: cubic-bezier(.22, .7, .27, 1);
}

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

html {
  background: var(--paper);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px + env(safe-area-inset-top, 0px));
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 400 1rem / 1.65 var(--sans);
}

[hidden] { display: none !important; }
dialog:not([open]) { display: none; }
h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { padding: 0; border: 0; background: none; cursor: pointer; }
a, button { touch-action: manipulation; }

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

::selection { background: #d7ddcb; color: var(--ink); }

h1, h2, h3, .project-navigation strong {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -.036em;
  line-height: .99;
  text-wrap: balance;
}

h1 { font-size: clamp(3.45rem, 6.05vw, 6.25rem); }
h2 { font-size: clamp(2.9rem, 5.15vw, 5.35rem); }
h3 { font-size: clamp(2.05rem, 3.35vw, 3.4rem); }
h1 em, h2 em { color: var(--olive); font-weight: 500; }

.wrap {
  width: min(calc(100% - 2 * var(--gutter)), var(--frame));
  margin-inline: auto;
}

.section-space { padding-block: var(--section-space); }
.icon { display: block; width: 21px; height: 21px; flex: none; }
.social-icon { width: 25px; height: 25px; flex: none; }

.skip-link {
  position: fixed;
  z-index: 100;
  inset: 8px auto auto 12px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--paper);
  transform: translateY(-160%);
}

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

.button, .text-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  min-height: 48px;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.3;
}

.button {
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: background-color 180ms, color 180ms, border-color 180ms;
}

.button--primary { color: var(--on-dark); background: var(--olive); }
.button--header { color: var(--olive); border-color: var(--olive); }
.button .icon, .text-link .icon { width: 18px; height: 18px; }
.text-link { color: var(--olive); }
.button .icon, .text-link .icon { transition: transform 180ms var(--ease); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }

.round {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  flex: none;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  width: fit-content;
  max-width: 100%;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.35;
}

.social-link span { min-width: 0; overflow-wrap: anywhere; }

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--paper);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  min-height: var(--header-height);
  column-gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
}

.brand img { width: 190px; height: auto; }
.compact-fallback { display: none; }
.desktop-nav { display: flex; align-items: center; gap: clamp(12px, 1.9vw, 31px); }

.desktop-nav a, .compact-fallback a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 5px;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  transition: color 180ms, background-color 180ms;
}

.desktop-nav a[aria-current], .compact-fallback a[aria-current] { color: var(--olive); background: var(--cream); }
.header-actions { display: flex; align-items: center; justify-self: end; gap: 9px; }
.button--header { min-height: 44px; white-space: nowrap; }
.menu-toggle { display: none; }

.persistent-wa {
  position: fixed;
  right: max(18px, env(safe-area-inset-right, 0px));
  bottom: max(20px, env(safe-area-inset-bottom, 0px));
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: transform 180ms var(--ease);
}

.persistent-wa .social-icon { width: 100%; height: 100%; }

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

.modal-open { overflow: hidden; }

.menu-dialog {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(100%, 530px);
  max-width: none;
  height: 100%;
  height: 100dvh;
  max-height: none;
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  background: var(--sand);
  color: var(--ink);
  overscroll-behavior: contain;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 210ms var(--ease), transform 210ms var(--ease), display 210ms allow-discrete, overlay 210ms allow-discrete;
}

.menu-dialog::backdrop { background: #25272185; }
.menu-dialog[open] { opacity: 1; transform: none; }
.menu-dialog:not([open]) { pointer-events: none; }

@starting-style {
  .menu-dialog[open] { opacity: 0; transform: translateX(20px); }
}

.menu-panel {
  padding: max(22px, env(safe-area-inset-top, 0px))
           max(24px, env(safe-area-inset-right, 0px))
           max(26px, env(safe-area-inset-bottom, 0px))
           max(24px, env(safe-area-inset-left, 0px));
}

.menu-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand--menu img { width: 184px; }
.menu-close { color: var(--olive); }
.menu-panel nav { display: grid; gap: 3px; margin-block: clamp(27px, 5vh, 52px) 23px; }

.menu-panel nav a {
  display: flex;
  align-items: center;
  min-height: 61px;
  padding: 6px 12px;
  font: 600 clamp(2.15rem, 7vw, 3.5rem) / 1 var(--serif);
  letter-spacing: -.025em;
}

.menu-panel nav a[aria-current] { color: var(--on-dark); background: var(--olive); }
.menu-social { display: flex; flex-wrap: wrap; gap: 6px 25px; padding-inline: 12px; }

.home-hero { background: var(--sand); }

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(26px, 4.1vw, 66px);
  padding-block: clamp(24px, 3.3vw, 48px);
}

.hero-copy h1 {
  margin-top: 13px;
  font-size: clamp(3.65rem, 6.55vw, 6.6rem);
  line-height: .91;
  letter-spacing: -.047em;
  text-wrap: wrap;
}

.hero-copy h1 span, .hero-copy h1 em { display: block; }
.hero-disciplines { color: var(--olive); font-size: .875rem; font-weight: 700; }
.hero-summary { max-width: 32ch; margin-top: clamp(15px, 2.4vw, 29px); color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.23rem); }
.hero-actions { margin-top: clamp(18px, 2.8vw, 34px); }

.hero-portrait {
  width: 100%;
  aspect-ratio: 1.06;
  background: #bba99c;
}

.hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 6%; }

.editorial-pair {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr);
  align-items: end;
  gap: var(--column-gap);
}

.editorial-copy > p + p { margin-top: 12px; }
.editorial-copy > p { max-width: 55ch; color: var(--muted); }
.editorial-copy > h2 + p, .editorial-copy > h3 + p { margin-top: 17px; }
.editorial-copy > .text-link { margin-top: 10px; }
.home-intro { padding-block: clamp(50px, 6.1vw, 88px); }
.home-intro .editorial-pair { align-items: center; }
.home-intro .editorial-copy > p { font-size: clamp(1.03rem, 1.47vw, 1.24rem); }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-bottom: clamp(24px, 3.4vw, 47px);
}

.section-heading h2 { max-width: 18ch; }
.section-heading > p { color: var(--muted); line-height: 1.5; }
.home-disciplines { padding-top: 12px; }

.discipline-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 31px);
}

.discipline-image, .card-photo {
  position: relative;
  background: var(--sand);
  overflow: clip;
}

.discipline-image { aspect-ratio: 1.48; }
.discipline-image img, .card-photo img { width: 100%; height: 100%; object-fit: cover; }
.discipline-image img, .card-photo img, .photo-link img { transition: transform 430ms var(--ease); }
.discipline-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 15px; }
.discipline-title .icon { color: var(--olive); }
.discipline p { max-width: 36ch; margin-top: 8px; color: var(--muted); }

.home-projects { background: var(--silt); }
.featured-grid, .portfolio-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--column-gap); }
.featured-grid .project-card { grid-column: span 5; }
.featured-grid .project-card:first-child { grid-column: span 7; grid-row: span 2; align-self: start; }
.project-card-link { display: block; }
.card-photo { width: 100%; aspect-ratio: 1.92; }
.featured-grid .project-card:first-child .card-photo { aspect-ratio: 1.29; }
.featured-grid .project-card:nth-child(2) .card-photo img { object-position: 50% 60%; }
.card-copy { display: flex; align-items: end; justify-content: space-between; gap: 12px; padding-block: 14px 4px; }
.card-copy h2, .card-copy h3 { font-size: clamp(1.95rem, 3.05vw, 3.05rem); line-height: 1.04; text-wrap: wrap; }
.project-category { margin-bottom: 3px; color: var(--muted); font-size: .82rem; font-weight: 600; }
.card-arrow { width: 42px; height: 42px; color: var(--olive); transition: color 190ms, background-color 190ms; }
.card-arrow .icon { width: 17px; height: 17px; }

.integration { color: var(--on-dark); background: var(--deep); --focus: var(--on-dark); }
.integration-inner, .service-inner, .studio-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.19fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(30px, 5.9vw, 92px);
}

.integration h2 em { color: var(--on-dark); }
.integration p { color: var(--soft-dark); }
.integration figure > img { width: 100%; aspect-ratio: 1.42; object-fit: cover; object-position: 55% center; }
.integration figcaption .text-link { color: var(--on-dark); }
.integration figcaption .text-link, .studio-hero figcaption .text-link { min-height: 44px; }

.contact-call { padding-block: clamp(52px, 6.65vw, 94px); background: var(--sand); }
.contact-call-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 36px; }
.contact-call h2 { max-width: 23ch; font-size: clamp(2.6rem, 4.7vw, 4.65rem); text-wrap: wrap; }
.contact-call p { max-width: 62ch; margin-top: 12px; color: var(--muted); }

.page-intro { padding-block: clamp(46px, 6.2vw, 82px) clamp(32px, 4.15vw, 60px); background: var(--sand); }
.page-lead { max-width: 47ch; color: var(--muted); font-size: clamp(1rem, 1.38vw, 1.18rem); line-height: 1.6; }
.page-intro h1 { text-wrap: wrap; }
.page-intro--portfolio h1 { line-height: .88; }
.portfolio { padding-block: clamp(20px, 3.15vw, 40px) var(--section-space); }
.portfolio-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 14px; margin-bottom: clamp(18px, 2.5vw, 34px); }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }

.filters button {
  min-height: 44px;
  padding: 5px 14px;
  border: 1px solid var(--edge);
  border-radius: 2px;
  color: var(--olive);
  font-size: .875rem;
  font-weight: 700;
  transition: color 180ms, background-color 180ms;
}

.filters button[aria-pressed="true"] { color: var(--on-dark); background: var(--olive); border-color: var(--olive); }
.portfolio-count { color: var(--muted); font-size: .875rem; font-weight: 600; }
.portfolio-grid .project-card { grid-column: span 6; }
.portfolio-grid:not([data-filtered]) .project-card:nth-child(4n + 1),
.portfolio-grid:not([data-filtered]) .project-card:nth-child(4n) { grid-column: span 7; }
.portfolio-grid:not([data-filtered]) .project-card:nth-child(4n + 2),
.portfolio-grid:not([data-filtered]) .project-card:nth-child(4n + 3) { grid-column: span 5; }
.portfolio-grid .card-photo { height: clamp(205px, 27vw, 410px); aspect-ratio: auto; }
.portfolio-grid[data-filtered] .card-photo { height: auto; aspect-ratio: 1.61; }
.portfolio-grid .project-card[data-category="paisagismo"] img { object-position: center 56%; }

.service-jump { display: flex; flex-wrap: wrap; gap: 2px 25px; margin-top: 21px; }
.service-jump .text-link { min-height: 44px; }
.service-jump .icon { width: 15px; height: 15px; }
.service-band { padding-block: clamp(54px, 6vw, 95px); }
.service-band:nth-child(even) { background: var(--cream); }
.service-inner { grid-template-columns: minmax(0, .92fr) minmax(0, 1.18fr); }
.service-band:nth-child(even) .service-inner { grid-template-columns: minmax(0, 1.18fr) minmax(0, .92fr); }
.service-band:nth-child(even) .editorial-copy { grid-column: 2; grid-row: 1; }
.service-band:nth-child(even) figure { grid-column: 1; grid-row: 1; }
.service-inner figure img { width: 100%; aspect-ratio: 1.49; object-fit: cover; object-position: 53% center; }
.service-list { display: grid; gap: 4px; padding-left: 20px; margin: 16px 0 22px; color: var(--ink); font-size: .94rem; }
.service-list li::marker { color: var(--olive); }

.studio-hero { padding-block: clamp(44px, 5.8vw, 84px) clamp(25px, 4vw, 58px); background: var(--sand); }
.studio-hero-inner { grid-template-columns: minmax(0, .95fr) minmax(0, 1.1fr); }
.studio-hero h1 { text-wrap: wrap; }
.studio-hero h1 + p { margin-top: 20px; }
.studio-hero figure img { width: 100%; aspect-ratio: 1.34; object-fit: cover; object-position: 72% center; }
.studio-moments { display: grid; gap: clamp(28px, 4.6vw, 64px); }

.studio-moment {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  align-items: center;
  gap: clamp(22px, 5.7vw, 80px);
}

.studio-moment figure img { width: 100%; aspect-ratio: 1.76; object-fit: cover; }
.studio-moment:nth-child(even) figure { grid-column: 2; grid-row: 1; }
.studio-moment:nth-child(even) .editorial-copy { grid-column: 1; grid-row: 1; }

.contact-body { padding-block: clamp(33px, 4.3vw, 62px) var(--section-space); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.09fr); gap: var(--column-gap); align-items: start; }
.contact-layout h2 { font-size: clamp(2.45rem, 3.75vw, 3.85rem); text-wrap: wrap; }
.contact-info { padding-top: 13px; }
.contact-info > figure { margin-top: 15px; }
.contact-info > figure img { width: 100%; aspect-ratio: 1.62; object-fit: cover; }
.contact-channels { display: flex; flex-wrap: wrap; align-items: center; gap: 1px 19px; margin-top: 12px; }
.form-panel { padding: clamp(21px, 3.5vw, 51px); background: var(--cream); }
.form-panel > p { margin-block: 9px 21px; color: var(--muted); }
#project-form { display: grid; gap: 17px; }
.field { display: grid; gap: 5px; }
.field label { font-size: .92rem; font-weight: 700; }
.field label span { color: var(--muted); font-size: .81rem; font-weight: 600; }

.field input, .field select, .field textarea {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 9px 11px;
  border: 1px solid var(--edge);
  border-radius: 2px;
  background: var(--paper);
}

.field textarea { resize: vertical; min-height: 104px; }
.field [aria-invalid="true"] { border-color: #9c372a; }
.field-error { color: #842c23; font-size: .875rem; }

.project-page { background: var(--paper); }
.project-intro { padding-block: clamp(32px, 4.7vw, 67px) clamp(29px, 4.15vw, 55px); }
.project-intro .editorial-pair { grid-template-columns: minmax(0, 1.32fr) minmax(0, .98fr); }
.project-intro h1 { font-size: clamp(3.25rem, 5.7vw, 5.8rem); text-wrap: wrap; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 19px; margin-bottom: 10px; }

.breadcrumbs a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  font-size: .875rem;
  font-weight: 700;
  color: var(--olive);
}

.breadcrumbs .icon { width: 16px; height: 16px; }
.breadcrumbs a + a { color: var(--muted); }
.gallery { padding-block: clamp(48px, 6.1vw, 89px); }
.gallery .section-heading h2 { font-size: clamp(2.65rem, 4.75vw, 4.85rem); }
.gallery .section-heading { margin-bottom: clamp(20px, 2.8vw, 34px); }
.gallery-row { display: grid; gap: clamp(18px, 2.75vw, 38px); }
.gallery-row + .gallery-row { margin-top: clamp(26px, 3.4vw, 48px); }
.gallery-row--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.gallery-row--single { grid-template-columns: minmax(0, 1fr); }
.photo-link { display: block; position: relative; background: var(--sand); overflow: clip; }
.photo-link img { width: 100%; height: auto; }

.photo-zoom {
  position: absolute;
  right: 13px;
  bottom: 13px;
  width: 43px;
  height: 43px;
  color: var(--ink);
  background: var(--paper);
  border-color: transparent;
}

.photo-zoom .icon { width: 17px; height: 17px; }
.gallery-photo figcaption { margin-top: 8px; color: var(--muted); font-size: .875rem; line-height: 1.45; }
.project-navigation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-bottom: var(--section-space); }
.project-navigation > a { display: grid; align-content: start; gap: 3px; padding: 12px 0; }
.project-navigation > a:last-child { text-align: right; justify-items: end; }
.project-navigation span { display: flex; align-items: center; gap: 6px; color: var(--olive); font-size: .86rem; font-weight: 700; line-height: 1.25; }
.project-navigation span .icon { width: 17px; height: 17px; }
.project-navigation strong { font-size: clamp(1.65rem, 3.05vw, 2.8rem); text-wrap: wrap; }

.lightbox {
  position: fixed;
  inset: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  border: 0;
  padding: 0;
  background: #20251f;
  color: var(--on-dark);
  --focus: var(--on-dark);
  overscroll-behavior: contain;
}

.lightbox::backdrop { background: #20251f; }
.lightbox-shell {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: clamp(8px, 2vh, 18px);
  width: min(100%, 1680px);
  min-height: 100%;
  margin-inline: auto;
  padding: max(12px, env(safe-area-inset-top, 0px))
           max(20px, env(safe-area-inset-right, 0px))
           max(12px, env(safe-area-inset-bottom, 0px))
           max(20px, env(safe-area-inset-left, 0px));
}

.lightbox-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.lightbox-count { font-size: .875rem; color: var(--soft-dark); }
.lightbox-stage { display: grid; grid-template-columns: 46px minmax(0, 1fr) 46px; gap: clamp(12px, 2.1vw, 26px); align-items: center; }
.lightbox-frame { display: grid; justify-items: center; text-align: center; gap: 10px; touch-action: pan-y pinch-zoom; }
.lightbox-image { width: auto; max-width: 100%; height: auto; max-height: calc(100vh - 130px); max-height: calc(100dvh - 130px); object-fit: contain; }
.lightbox-caption { font-size: .9rem; color: var(--soft-dark); }
.lightbox :focus-visible { outline-color: var(--on-dark); }
body[data-page="404"] { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
body[data-page="404"] main { display: grid; align-items: center; flex: 1; }
.error-page { padding-block: var(--section-space); }
.error-page .page-lead { margin-top: 13px; }
.error-page .actions { margin-top: 19px; }

.site-footer { color: var(--on-dark); background: var(--deep); --focus: var(--on-dark); }

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr) minmax(0, .7fr);
  gap: 20px clamp(14px, 4.2vw, 58px);
  padding-block: clamp(32px, 4.25vw, 64px) 24px;
}

.brand--footer img { width: 206px; }
.footer-brand p { margin-top: 8px; color: var(--soft-dark); font-size: .86rem; }
.footer-inner nav { display: flex; flex-wrap: wrap; align-content: start; gap: 0 15px; }
.footer-inner nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; }
.footer-inner nav a[aria-current] { text-decoration: underline; text-underline-offset: 4px; }
.footer-contact { display: grid; align-content: start; }
.footer-inner small { grid-column: 1 / -1; color: var(--soft-dark); font-size: .78rem; }

@media (hover: hover) {
  .button--primary:hover { background: var(--deep); }
  .button--header:hover { color: var(--on-dark); background: var(--olive); }
  .button:hover .icon, .text-link:hover .icon { transform: translateX(3px); }
  .desktop-nav a:hover { color: var(--olive); background: var(--silt); }
  .text-link:hover, .social-link:hover span, .footer-inner nav a:hover, .breadcrumbs a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
  }
  .persistent-wa:hover { transform: translateY(-2px); }
  .project-card-link:hover img, .discipline a:hover img, .photo-link:hover img { transform: scale(1.027); }
  .project-card-link:hover .card-arrow, .filters button:hover { color: var(--on-dark); background: var(--olive); }
  .menu-panel nav a:hover:not([aria-current]), .menu-close:hover { background: var(--cream); }
  .lightbox button:hover { color: var(--ink); background: var(--on-dark); }
}

@media (max-width: 1050px) {
  :root {
    --gutter: max(32px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
    --header-height: 76px;
    --section-space: clamp(56px, 8vw, 82px);
    --column-gap: 25px;
  }

  html { scrollbar-gutter: auto; }
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .header-actions { grid-column: 2; grid-row: 1; }
  .header-actions .button--header { display: none; }
  .desktop-nav { display: none; }
  .header-inner noscript { grid-row: 2; grid-column: 1 / -1; }
  .compact-fallback { display: flex; flex-wrap: wrap; column-gap: 8px; margin-bottom: 8px; }
  @supports not selector(dialog:modal) {
    .desktop-nav { display: flex; grid-row: 2; grid-column: 1 / -1; flex-wrap: wrap; margin-bottom: 8px; }
    .compact-fallback { display: none; }
  }
  .has-menu .menu-toggle:not([hidden]) {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 7px 9px;
    border: 1px solid var(--olive);
    border-radius: 2px;
    color: var(--olive);
    font-size: .86rem;
    font-weight: 700;
  }
  .persistent-wa { position: relative; inset: auto; width: 44px; height: 44px; }
  .hero-copy h1 { font-size: clamp(2.9rem, 6.45vw, 4.65rem); }
  .hero-portrait { aspect-ratio: .91; }
  .portfolio-grid:not([data-filtered]) .project-card:nth-child(n) { grid-column: span 6; }
  .service-inner, .studio-hero-inner { gap: 33px; }
  .service-inner .actions { gap: 5px 15px; }
}

@media (max-width: 700px) {
  :root {
    --gutter: max(20px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
    --header-height: 70px;
    --section-space: clamp(48px, 10vw, 68px);
    --column-gap: 24px;
  }

  h1 { font-size: clamp(2.85rem, 10.75vw, 4.4rem); }
  h2 { font-size: clamp(2.65rem, 9.4vw, 3.95rem); }
  h3 { font-size: clamp(2rem, 6.8vw, 2.84rem); }
  .header-inner { column-gap: 9px; }
  .header-actions { gap: 8px; }
  .brand--header img { width: 85px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 28px 20px; }
  .hero-copy h1 { margin-top: 9px; font-size: clamp(3.04rem, 12.7vw, 5.1rem); }
  .hero-summary { margin-top: 16px; }
  .hero-actions { gap: 4px 16px; margin-top: 18px; }
  .hero-disciplines { font-size: .8rem; }
  .hero-portrait { aspect-ratio: .99; }
  .hero-portrait img { object-position: 50% 6%; }

  .editorial-pair, .integration-inner, .contact-layout, .project-intro .editorial-pair,
  .service-inner, .service-band:nth-child(even) .service-inner, .studio-hero-inner, .studio-moment {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 18px;
  }

  .home-intro { padding-block: 47px 43px; }
  .home-intro h2 br { display: none; }
  .home-disciplines { padding-top: 6px; }
  .discipline-grid { grid-template-columns: minmax(0, 1fr); gap: 27px; }
  .discipline-title { padding-top: 9px; }
  .discipline-image { aspect-ratio: 1.59; }
  .discipline p { margin-top: 5px; }
  .section-heading { align-items: start; gap: 2px 16px; margin-bottom: 17px; }
  .section-heading .text-link { min-height: 44px; }
  .featured-grid, .portfolio-grid { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .featured-grid .project-card:nth-child(n),
  .portfolio-grid .project-card:nth-child(n),
  .portfolio-grid:not([data-filtered]) .project-card:nth-child(n) { grid-column: 1; grid-row: auto; }
  .portfolio-grid .card-photo, .portfolio-grid[data-filtered] .card-photo,
  .featured-grid .project-card:first-child .card-photo, .card-photo { height: auto; aspect-ratio: 1.6; }
  .card-copy { padding-top: 10px; }
  .card-copy h2, .card-copy h3 { font-size: clamp(1.89rem, 7.1vw, 2.68rem); }

  .integration .editorial-copy { grid-row: 1; }
  .integration figure > img { aspect-ratio: 1.63; }
  .integration .editorial-copy > h2 + p { margin-top: 12px; }
  .contact-call { padding-block: 43px; }
  .contact-call-inner { display: grid; gap: 14px; }
  .page-intro { padding-block: 34px 28px; }
  .portfolio-tools { gap: 7px 13px; }
  .filters { gap: 5px; }
  .filters button { padding-inline: 9px; font-size: .8125rem; }
  .service-jump { gap: 0 13px; margin-top: 11px; }
  .service-jump .text-link { gap: 5px; font-size: .82rem; }
  .service-band { padding-block: 37px 44px; }
  .service-band:nth-child(even) .editorial-copy, .service-band:nth-child(even) figure { grid-column: 1; grid-row: auto; }
  .service-inner figure img, .studio-hero figure img { aspect-ratio: 1.51; }
  .studio-hero { padding-block: 34px 14px; }
  .studio-hero h1 + p { margin-top: 12px; }
  .studio-moments { gap: 29px; }
  .studio-moment:nth-child(even) figure, .studio-moment:nth-child(even) .editorial-copy { grid-column: 1; grid-row: auto; }
  .studio-moment .editorial-copy > h3 + p { margin-top: 8px; }
  .studio-moment .editorial-copy > .text-link { margin-top: 4px; }
  .contact-info { padding: 0; }
  .contact-layout { gap: 26px; }
  .contact-channels { gap: 0 15px; }
  .contact-info > figure { margin-top: 7px; }
  .project-intro { padding-block: 21px 23px; }
  .project-intro h1 { font-size: clamp(2.84rem, 10.1vw, 4.2rem); }
  .breadcrumbs { margin-bottom: 5px; }
  .gallery { padding-block: 36px 42px; }
  .gallery-row--pair { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .gallery-row + .gallery-row { margin-top: 22px; }
  .photo-zoom { right: 9px; bottom: 9px; width: 38px; height: 38px; }
  .gallery-photo figcaption { margin-top: 6px; font-size: .82rem; }
  .project-navigation { gap: 14px; }
  .project-navigation span { font-size: .78rem; }

  .lightbox-stage { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-content: center; }
  .lightbox-frame { grid-column: 1 / -1; grid-row: 1; }
  .lightbox-next { grid-column: 2; grid-row: 2; justify-self: start; }
  .lightbox-prev { grid-column: 1; grid-row: 2; justify-self: end; }
  .lightbox-image { max-height: calc(100vh - 196px); max-height: calc(100dvh - 196px); }
  .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 11px; }
  .footer-inner nav { column-gap: 16px; }
  .footer-contact { display: flex; flex-wrap: wrap; gap: 0 16px; }
  .footer-inner small { margin-top: 8px; }
  .brand--footer img { width: 177px; }
}

@media (max-width: 350px) {
  .hero-copy h1 { font-size: clamp(2.6rem, 14.5vw, 3.1rem); }
  .hero-disciplines { font-size: .77rem; }
  .hero-actions { column-gap: 11px; }
  .hero-actions .button { padding-inline: 12px; }
  .menu-panel nav a { min-height: 53px; }
}

@media (max-height: 480px) and (max-width: 1050px) {
  :root { --header-height: 60px; }
  .brand--header img { max-height: 49px; width: auto; }
  .menu-panel { padding-top: 12px; }
  .menu-panel nav { margin-block: 13px 9px; }
  .menu-panel nav a { min-height: 44px; font-size: 2.03rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
