/* Renubath — architectural studio
   Cool white. Quiet type. Photography first.
   Not cream. Not Bodoni. Not cinema overlays. */

:root {
  --white: #ffffff;
  --paper: #f7f7f5;
  --mist: #efefed;
  --line: #e4e4e0;
  --ink: #121212;
  --mute: #3a3a38;
  --soft: #5c5c58;
  --sans: "Commissioner", "Helvetica Neue", sans-serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --pad: clamp(1.25rem, 4vw, 3rem);
  --header: 4.5rem;
  --max: 1440px;
  --read: 38rem;
  /* Mobile / chrome stacking scale
     content: auto/1 · progress: 30 · header+nav: 50 · mobile-bar: 60 · modals: 100+ */
  --z-content: 1;
  --z-progress: 30;
  --z-header: 50;
  --z-mobile-bar: 60;
  --z-modal: 100;
  --mobile-bar-space: calc(4.75rem + env(safe-area-inset-bottom, 0px));
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}
@supports (overflow-x: clip) {
  html, body { overflow-x: clip; }
}
img, video, iframe { max-width: 100%; display: block; }
/* Keep layout selectors (e.g. .shot img) working with WebP <picture> wrappers */
picture { display: contents; }
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}
a:hover { opacity: 0.65; }
p a,
li a {
  color: var(--ink);
  text-decoration: underline;
}
p { margin: 0 0 1.25rem; color: var(--mute); }
p:last-child { margin-bottom: 0; }
ul { color: var(--mute); margin: 0 0 1.5rem; padding-left: 1.1rem; }
li { margin-bottom: 0.4rem; }
h1, h2, h3 {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--ink);
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); font-weight: 450; }
h2 { font-size: clamp(1.85rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); letter-spacing: -0.02em; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.shell {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin-inline: auto;
  max-width: 100%;
  min-width: 0;
}
.shell--s { width: min(100% - (var(--pad) * 2), 720px); }
.shell--m { width: min(100% - (var(--pad) * 2), 1100px); }

.fade {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.fade.is-in { opacity: 1; transform: none; }
/* No-JS / scripting disabled: never leave content invisible */
@media (scripting: none) {
  .fade { opacity: 1; transform: none; transition: none; }
}

/* ——— Header ——— */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  height: var(--header);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background-color: #fff;
  background-image: none;
  backdrop-filter: none;
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(18, 18, 18, 0.04);
}
.site-header__inner {
  position: relative;
  z-index: 1;
  width: min(100% - (var(--pad) * 2), var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  z-index: 1;
}
/* Dark heroes: readable white brand/nav over photo; solid white + dark text when scrolled */
.page-darkhead .site-header:not(.is-scrolled) {
  background: transparent;
}
.page-darkhead .site-header:not(.is-scrolled)::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  /* Stay within/near the header bar — tall overflow was painting over hero copy (header z > content) */
  height: calc(var(--header) + 1.25rem);
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.55) 55%,
    rgba(0, 0, 0, 0.18) 85%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 0;
}
.page-darkhead .site-header:not(.is-scrolled) .brand,
.page-darkhead .site-header:not(.is-scrolled) .site-nav__list > li > a,
.page-darkhead .site-header:not(.is-scrolled) .menu-btn {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
  opacity: 1;
}
.page-darkhead .site-header:not(.is-scrolled) .site-nav__list > li > a {
  opacity: 0.92;
}
.page-darkhead .site-header:not(.is-scrolled) .site-nav__list > li > a:hover,
.page-darkhead .site-header:not(.is-scrolled) .site-nav__list > li > a[aria-current="page"] {
  opacity: 1;
}
.page-darkhead .site-header:not(.is-scrolled) .menu-btn { border-color: rgba(255,255,255,0.45); }
.page-darkhead .site-header:not(.is-scrolled) .menu-btn i { background: #fff; }
.page-darkhead .site-header.is-scrolled .brand,
.page-darkhead .site-header.is-scrolled .site-nav__list > li > a,
.page-darkhead .site-header.is-scrolled .menu-btn {
  color: var(--ink);
  text-shadow: none;
}
.page-darkhead .site-header.is-scrolled .menu-btn { border-color: var(--line); }
.page-darkhead .site-header.is-scrolled .menu-btn i { background: var(--ink); }

.site-nav__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
}
.site-nav__list > li { position: relative; }
.site-nav__list > li > a {
  display: inline-flex;
  padding: 0.55rem 0.7rem;
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.72;
}
.site-nav__list > li > a:hover,
.site-nav__list > li > a[aria-current="page"] { opacity: 1; }
.site-nav__drop {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 16rem;
  margin: 0;
  padding: 0.6rem 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
}
.site-nav__list > li:hover > .site-nav__drop,
.site-nav__list > li:focus-within > .site-nav__drop { display: block; }
.site-nav__drop a {
  display: block;
  padding: 0.45rem 1rem;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--mute);
}
.site-nav__drop a:hover { color: var(--ink); opacity: 1; }
.menu-btn {
  display: none;
  position: relative;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.3rem;
  padding: 0;
}
.menu-btn i {
  display: block;
  width: 1rem;
  height: 1px;
  background: var(--ink);
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.35rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); opacity: 1; }
.btn--ghost {
  background: transparent;
  color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}
.btn--light:hover { background: transparent; color: #fff; }

/* ——— Full-bleed photography ——— */
.shot {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--mist);
}
.shot--screen {
  height: 100vh;
  height: 100dvh;
  min-height: 36rem;
}
.shot--tall { height: clamp(28rem, 72vh, 52rem); }
.shot--mid { height: clamp(22rem, 55vh, 40rem); }
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shot__veil {
  position: absolute;
  inset: auto 0 0 0;
  height: 48%;
  background: linear-gradient(to top, rgba(0,0,0,0.62), rgba(0,0,0,0.18) 55%, transparent);
  pointer-events: none;
  z-index: var(--z-content);
}
.shot__copy {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  /* Safe zone starts below fixed header; copy stays bottom-left within it */
  top: var(--header);
  bottom: clamp(1.75rem, 5vw, 3.5rem);
  z-index: calc(var(--z-content) + 1);
  max-width: 36rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: var(--header);
  box-sizing: border-box;
  overflow: hidden;
  pointer-events: none;
}
.shot__copy > * { pointer-events: auto; }
.shot__copy h1,
.shot__copy h2 { color: #fff; margin-bottom: 0.75rem; }
.shot__copy h1 {
  /* Fit long SEO titles inside the header-cleared safe area */
  font-size: clamp(1.65rem, 3.8vw, 3.15rem);
  line-height: 1.12;
  overflow-wrap: anywhere;
  word-break: break-word;
  flex: 0 1 auto;
  min-height: 0;
  max-width: 100%;
}
.shot__copy h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.6rem);
}
.shot__copy p { color: rgba(255,255,255,0.82); max-width: 28rem; flex-shrink: 0; }
.shot__kicker,
.shot__actions { flex-shrink: 0; }
.shot__kicker {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.75;
  font-weight: 500;
}
.shot__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

/* ——— White editorial sheets ——— */
.sheet {
  padding: clamp(4.5rem, 11vw, 8.5rem) 0;
  background: var(--white);
}
.sheet--paper { background: var(--paper); }
.sheet--mist { background: var(--mist); }
.sheet--ink {
  background: var(--ink);
  color: #fff;
}
.sheet--ink h2,
.sheet--ink h3 { color: #fff; }
.sheet--ink p,
.sheet--ink li { color: rgba(255,255,255,0.82); }
.sheet--ink a { color: #fff; text-decoration: underline; text-underline-offset: 0.18em; }

.kicker {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--soft);
  font-weight: 600;
}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.65;
  max-width: 34rem;
  color: var(--mute);
}

/* Narrow reading column */
.note {
  max-width: var(--read);
}
.note--center {
  margin-inline: auto;
  text-align: center;
}
.note--center p,
.note--center .lead { margin-inline: auto; }

/* Image + text compositions — always unique ratios via modifiers */
.pair {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 0;
  align-items: stretch;
  min-height: clamp(26rem, 70vh, 46rem);
}
.pair--swap { grid-template-columns: 0.75fr 1.25fr; }
.pair--swap .pair__media { order: 2; }
.pair--swap .pair__text { order: 1; }
.pair--equal { grid-template-columns: 1fr 1fr; }
.pair__media {
  position: relative;
  min-height: 22rem;
  background: var(--mist);
  overflow: hidden;
}
.pair__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.pair__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.5rem);
  background: var(--white);
}
.pair--paper .pair__text { background: var(--paper); }
.pair__text .note { max-width: 28rem; }

/* Horizontal material rail — scrolls inside only; never expands the page */
.rail {
  display: flex;
  gap: 0.5rem;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 0 var(--pad) 1rem;
  -webkit-overflow-scrolling: touch;
}
.rail::-webkit-scrollbar { height: 2px; }
.rail::-webkit-scrollbar-thumb { background: var(--line); }
.rail figure {
  margin: 0;
  flex: 0 0 min(72vw, 22rem);
  scroll-snap-align: start;
  position: relative;
  height: clamp(18rem, 42vh, 28rem);
  overflow: hidden;
  background: var(--mist);
}
.rail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rail figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  color: #fff;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0,0,0,0.45);
}

/* Quote */
.quote {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 var(--pad);
}
.quote blockquote {
  margin: 0;
  font-size: clamp(1.2rem, 2.4vw, 1.75rem);
  line-height: 1.45;
  letter-spacing: -0.02em;
  font-weight: 450;
  color: #fff;
}
.quote cite {
  display: block;
  margin-top: 2rem;
  font-style: normal;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--soft);
}

/* Process timeline — vertical, not boxes */
.timeline {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.timeline__row {
  display: grid;
  grid-template-columns: 5rem 1fr 1.1fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.timeline__n {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--soft);
  font-weight: 600;
  padding-top: 0.35rem;
}
.timeline__media {
  min-height: 14rem;
  overflow: hidden;
  background: var(--mist);
}
.timeline__media img {
  width: 100%;
  height: 100%;
  min-height: 14rem;
  object-fit: cover;
}

/* Project frame */
.frame {
  display: grid;
  grid-template-columns: 1.55fr 0.85fr;
  min-height: 75vh;
}
.frame__photo {
  position: relative;
  min-height: 24rem;
  overflow: hidden;
  background: var(--mist);
}
.frame__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.frame__side {
  padding: clamp(2rem, 5vw, 3.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--paper);
  border-left: 1px solid var(--line);
}
.frame__side dl {
  margin: 1.75rem 0 0;
  display: grid;
  gap: 1.1rem;
}
.frame__side dt {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--soft);
  margin-bottom: 0.2rem;
}
.frame__side dd { margin: 0; color: var(--mute); }

/* Irregular photo set */
.cluster {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1.15fr;
  grid-template-rows: 16rem 20rem;
  gap: 0.5rem;
}
.cluster a {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--mist);
}
.cluster a:nth-child(1) { grid-row: 1 / 3; }
.cluster a:nth-child(3) { grid-row: 1 / 3; }
.cluster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 1.1s var(--ease);
}
.cluster a:hover img { transform: scale(1.03); }

/* Locality list */
.places {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.places a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.places a span {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--soft);
}

/* Inner page title strip */
.pagehead {
  padding: calc(var(--header) + clamp(3rem, 8vw, 5.5rem)) 0 clamp(2.5rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--line);
}
.pagehead h1 { max-width: 16ch; }
.pagehead p { max-width: 36rem; }

.copy h2 { margin-top: 2.25rem; }
.copy img {
  width: 100%;
  margin: 2rem 0;
  max-height: 32rem;
  object-fit: cover;
}

/* Forms */
.formgrid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
}
.form {
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  background: var(--white);
}
.form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}
.form input,
.form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 0.75rem 0;
  font: inherit;
  border-radius: 0;
}
.form input:focus,
.form textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}
.form textarea { min-height: 6.5rem; resize: vertical; }
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-status { min-height: 1.2rem; font-size: 0.9rem; }
.form-status.is-ok { color: #2f6b4a; }
.form-status.is-err { color: #8a3a3a; }

.contact-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 70vh;
  border-top: 1px solid var(--line);
}
.contact-split__info {
  padding: clamp(2.5rem, 6vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--paper);
}
.contact-split__map iframe {
  width: 100%;
  height: 100%;
  min-height: 26rem;
  border: 0;
  filter: grayscale(1) contrast(1.05);
}

/* CTA close */
.close {
  padding: clamp(4.5rem, 10vw, 7rem) 0;
  text-align: center;
  border-top: 1px solid var(--line);
}
.close h2 { margin-inline: auto; max-width: 14ch; }
.close p { margin-inline: auto; }
.close__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.75rem;
}

/* Footer — desktop stays tight; mobile-bar clearance only ≤980px */
.site-footer {
  padding: 3.5rem 0 2.5rem;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
}
.site-footer h3 {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 600;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}
.site-footer a { text-decoration: none; color: var(--mute); }
.site-footer a:hover { color: var(--ink); opacity: 1; }
.site-footer__blurb { margin-top: 1.1rem; }
.site-footer__legal {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--soft);
}
.site-footer__legal p { margin: 0; }

.mobile-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: var(--z-mobile-bar);
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.7rem 0.75rem calc(0.7rem + env(safe-area-inset-bottom, 0px));
  background: rgba(18, 18, 18, 0.94);
}
body.is-nav-open {
  overflow: hidden;
}
.mobile-bar .btn {
  width: 100%;
  border-color: transparent;
}
.mobile-bar .btn--ghost {
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}

@media (max-width: 980px) {
  /* Tighten vertical rhythm on phone/tablet — desktop (≥981px) unchanged */
  .shot--screen {
    height: min(74dvh, 34rem);
    min-height: 24rem;
  }
  .shot--tall { height: clamp(20rem, 48vh, 30rem); }
  .shot--mid { height: clamp(16rem, 38vh, 24rem); }
  .shot__copy {
    /* Clear fixed .mobile-bar so hero CTAs aren’t covered */
    bottom: var(--mobile-bar-space);
    /* Keep header clearance; avoid double-padding eating copy space in shorter heroes */
    padding-top: 0.75rem;
    padding-bottom: 0.4rem;
  }
  .shot__copy > * {
    position: relative;
    z-index: var(--z-content);
  }
  /* Bottom-anchored scrim: dark plateau behind the text stack (full copy width) */
  .shot__copy::before {
    content: "";
    position: absolute;
    inset: auto 0 -0.4rem 0;
    height: min(26rem, 92%);
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.7) 38%,
      rgba(0, 0, 0, 0.48) 62%,
      rgba(0, 0, 0, 0.22) 82%,
      transparent 100%
    );
  }
  /* Full-bleed veil: taller + darker lower half so wrapping H1 clears bright marble */
  .shot__veil {
    height: 85%;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.86) 0%,
      rgba(0, 0, 0, 0.7) 36%,
      rgba(0, 0, 0, 0.48) 58%,
      rgba(0, 0, 0, 0.22) 78%,
      transparent 100%
    );
  }
  .shot__copy h1,
  .shot__copy h2,
  .shot__copy p {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7), 0 2px 18px rgba(0, 0, 0, 0.45);
  }
  .shot__kicker {
    opacity: 0.95;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
  }
  .shot__actions .btn--light {
    box-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
  }
  /* Outline phone CTA uses btn--light + inline transparent styles */
  .shot__actions .btn--light[href^="tel"] {
    background-color: rgba(0, 0, 0, 0.45) !important;
    border-color: rgba(255, 255, 255, 0.88) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
  }
  .sheet {
    padding: clamp(2.75rem, 7vw, 4rem) 0;
  }
  .close {
    padding: clamp(2.75rem, 7vw, 4rem) 0;
    padding-bottom: calc(clamp(2.75rem, 7vw, 4rem) + 1rem);
  }
  .pair,
  .pair--swap,
  .pair--equal {
    min-height: 0;
  }
  .pair__media { min-height: 16rem; }
  .pair__text { padding: clamp(1.75rem, 5vw, 2.75rem); }
  .frame {
    min-height: 0;
  }
  .frame__photo { min-height: 18rem; }
  .rail figure { height: clamp(14rem, 36vh, 20rem); }
  .timeline__row { padding: clamp(1.5rem, 4vw, 2.25rem) 0; }
  .timeline__media,
  .timeline__media img { min-height: 11rem; }
  .contact-split { min-height: 0; }
  .contact-split__map iframe { min-height: 18rem; }

  .pair,
  .pair--swap,
  .pair--equal,
  .frame,
  .timeline__row,
  .formgrid,
  .form__row,
  .contact-split,
  .site-footer__grid,
  .cluster,
  .places {
    grid-template-columns: 1fr;
  }
  .pair--swap .pair__media { order: 0; }
  .cluster {
    grid-template-rows: none;
  }
  .cluster a,
  .cluster a:nth-child(1),
  .cluster a:nth-child(3) {
    grid-row: auto;
    min-height: 15rem;
  }
  .timeline__row { grid-template-columns: 3rem 1fr; }
  .timeline__media { grid-column: 1 / -1; }
  .menu-btn { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    /* Full-bleed from padded .site-header__inner — avoid 100vw (scrollbar gutter overflow) */
    left: calc(-1 * var(--pad));
    right: calc(-1 * var(--pad));
    width: auto;
    transform: none;
    z-index: 1;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 0.75rem var(--pad) 1.25rem;
    max-height: min(70dvh, calc(100dvh - var(--header) - var(--mobile-bar-space)));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 12px 28px rgba(18, 18, 18, 0.12);
  }
  .site-nav.is-open { display: block; }
  /* Mobile drawer is always white — force dark link text even on darkhead heroes */
  .page-darkhead .site-header:not(.is-scrolled) .site-nav__list > li > a {
    color: var(--ink);
    text-shadow: none;
    opacity: 0.72;
  }
  .page-darkhead .site-header:not(.is-scrolled) .site-nav__list > li > a:hover,
  .page-darkhead .site-header:not(.is-scrolled) .site-nav__list > li > a[aria-current="page"] {
    opacity: 1;
  }
  .site-nav__list { flex-direction: column; align-items: stretch; }
  .site-nav__drop {
    position: static;
    display: none;
    border: 0;
  }
  .site-nav__list > li.is-open > .site-nav__drop { display: block; }
  .mobile-bar { display: grid; }
  .site-footer {
    /* Clear fixed .mobile-bar + small breathing room under copyright */
    padding-bottom: calc(var(--mobile-bar-space) + 1.25rem);
  }
  .frame__side { border-left: 0; border-top: 1px solid var(--line); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade { opacity: 1; transform: none; transition: none; }
}
