/* ==========================================================================
   Bluefin Building — modern minimal redesign
   Type: Cormorant Garamond (display) + Inter (text) · self-hosted
   Palette from the brand mark: deep navy #151336 · white · warm greys
   ========================================================================== */

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

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

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #151336;
  --ink: #1c1a38;
  --body: #55555e;
  --muted: #6d6d76; /* 4.9:1 on white — AA for the 10-11px uppercase labels */
  --bg: #ffffff;
  --bg-soft: #f6f6f4;
  --line: #e6e6e2;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', Arial, sans-serif;
  --header-h: 88px;
  --pad: clamp(24px, 5vw, 64px);
  --section-pad: clamp(90px, 12vw, 150px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

::selection { background: var(--navy); color: #fff; }

/* ---------- primitives ---------- */

.kicker {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}

.display {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: .01em;
}

h1.display { font-size: clamp(38px, 5vw, 64px); }

h2.display { font-size: clamp(30px, 3.6vw, 46px); }

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 1.15em 2.6em;
  background: transparent;
  cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease);
}

.btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

.section { padding: var(--section-pad) var(--pad); }

/* keyboard users: first Tab press reveals a jump-to-content link */
.skip-link {
  position: fixed;
  top: 12px;
  left: -9999px;
  z-index: 300;
  background: var(--navy);
  color: #fff;
  padding: 12px 22px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
}

.skip-link:focus { left: 12px; }

.wrap { max-width: 1320px; margin: 0 auto; }

/* scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { flex-shrink: 0; }

.brand img { height: 30px; width: auto; max-width: none; transition: filter .4s var(--ease); }

.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 40px;
}

.site-nav a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 8px 0;
  display: block;
  white-space: nowrap;
  position: relative;
  transition: color .4s var(--ease);
}

.site-nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}

.site-nav > ul > li > a:hover::after { transform: scaleX(1); transform-origin: left; }

/* current section stays underlined */
.site-nav > ul > li > a[aria-current="page"]::after { transform: scaleX(1); }

/* transparent state over the hero */
body.home .site-header:not(.scrolled) { background: transparent; }

body.home .site-header:not(.scrolled) .brand img { filter: brightness(0) invert(1); }

body.home .site-header:not(.scrolled) .site-nav a { color: #fff; }

body.home .site-header:not(.scrolled) .nav-toggle span { background: #fff; }

/* solid state. The blur lives on a ::before, not the header: backdrop-filter
   would make the header the containing block for the fixed .site-nav, and the
   full-screen mobile menu would collapse to the header's own box */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}

.site-header.scrolled,
body:not(.home) .site-header {
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 1px 0 var(--line);
}

.site-header.scrolled::before,
body:not(.home) .site-header::before { opacity: 1; }

/* press dropdown */
.has-sub { position: relative; }

.site-nav .sub-menu {
  display: block;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(21, 19, 54, .12);
  width: max-content;
  min-width: 230px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}

/* invisible bridge so the cursor can travel from the link to the panel */
.site-nav .sub-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

.has-sub:hover .sub-menu,
.has-sub.open .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* keyboard access: separate rule — :focus-within must not invalidate the list above */
.has-sub:focus-within .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.site-nav .sub-menu li { display: block; }

.site-nav .sub-menu a {
  display: block;
  padding: 10px 28px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: none;
  text-align: left;
  transition: background .25s, color .25s;
}

.site-nav .sub-menu a:hover { background: var(--bg-soft); }

.site-nav .sub-menu a::after { display: none; }

/* keep dropdown text dark even over the transparent hero header */
body.home .site-header:not(.scrolled) .site-nav .sub-menu a { color: var(--ink); }

/* hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
  z-index: 120;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--ink);
  margin: 7px 0;
  transition: transform .35s var(--ease), opacity .35s, background .4s;
}

body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }

body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }

body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* stacked cross-fade slides: only .is-active is visible, the rest fade under it.
   First slide is .is-active in the HTML so exactly one photo shows before JS runs
   (no flash of stacked images); main.js rotates the class. */
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.is-active { opacity: 1; }

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(21, 19, 54, .18) 0%, rgba(21, 19, 54, .12) 45%, rgba(13, 12, 34, .68) 100%);
}

/* extra scrim behind the transparent header: white nav must stay legible over a bright sky */
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 200px;
  background: linear-gradient(to bottom, rgba(13, 12, 34, .5), rgba(13, 12, 34, 0));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad) clamp(70px, 10vh, 120px);
}

.hero .kicker { color: rgba(255, 255, 255, .75); }

.hero h1 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(29px, 4.7vw, 61px);
  line-height: 1.06;
  color: #fff;
  max-width: 24ch;
  text-transform: uppercase;
  letter-spacing: .02em;
}

/* The headline is locked to three lines by <br class="h1-break">, so it can
   never reflow to escape a narrow screen — the type has to shrink instead.
   The 29px floor above only fits "STANDARD OF LIVING" from ~370px up; below
   that, size off the viewport. At 11.03px of line per 1px of font size, 5.3vw
   keeps it inside the padding all the way down to a 320px screen. */
@media (max-width: 520px) {
  .hero h1 { font-size: 5.3vw; }
}

.scroll-cue {
  position: absolute;
  right: var(--pad);
  bottom: clamp(70px, 10vh, 120px);
  z-index: 2;
  width: 1px;
  height: 72px;
  background: rgba(255, 255, 255, .35);
  overflow: hidden;
}

.scroll-cue::after {
  content: "";
  position: absolute;
  left: 0;
  top: -50%;
  width: 100%;
  height: 50%;
  background: #fff;
  animation: cue 2.2s var(--ease) infinite;
}

@keyframes cue {
  0% { top: -50%; }
  100% { top: 110%; }
}

/* ---------- about ---------- */

/* soft panel: with the interior image-break moved down the page, tone is what
   keeps About and Team apart — the page now alternates white/soft all the way
   down (hero photo → about soft → team white → testimonials soft → break photo
   → contact navy) instead of running two white sections together */
.about { background: var(--bg-soft); }

.about-grid {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(0, 2fr);
  gap: clamp(40px, 6vw, 110px);
}

.about-lede {
  font-family: var(--serif);
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.4;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 44px;
}

.about-body { max-width: 640px; }

.about-body p { margin-bottom: 1.5em; }

/* closing line reads as a quiet echo of the lede: same serif, a touch smaller,
   so it lands as a statement without competing with the lede up top */
.about-body p:last-child {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(21px, 2.05vw, 28px);
  line-height: 1.4;
  color: var(--ink);
  font-weight: 500;
}

/* ---------- full-bleed image break ---------- */

.image-break { height: clamp(380px, 70vh, 700px); overflow: hidden; position: relative; }

/* interior slides cross-fade in lockstep with the hero (main.js), so the break
   always shows the inside of the home currently on screen up top. Same stacked
   cross-fade as .hero-slide: only .is-active is visible. */
.break-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.break-slide.is-active { opacity: 1; }

/* ---------- testimonials ---------- */

.testimonials { background: var(--bg-soft); text-align: center; }

/* quotes stack in one grid cell: the slider keeps the height of its tallest
   quote, so nothing below jumps when the rotation swaps quotes */
.quote-slider { max-width: 880px; margin: 0 auto; display: grid; }

.quote { grid-row: 1; grid-column: 1; visibility: hidden; opacity: 0; }

.quote.active { visibility: visible; opacity: 1; animation: qfade .7s var(--ease); }

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

.quote blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 36px;
}

.quote cite {
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
}

.quote cite small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: none;
  color: var(--muted);
  margin-top: 6px;
}

.quote-dots { display: flex; justify-content: center; gap: 14px; margin-top: 37px; }

/* the visible dash is a pseudo-element; the button itself is a 24px-tall tap target */
.quote-dots button {
  width: 28px;
  height: 24px;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
}

.quote-dots button::before {
  content: "";
  width: 100%;
  height: 2px;
  background: #d4d4d0;
  transition: background .3s;
}

.quote-dots button.active::before { background: var(--navy); }

/* ---------- team ---------- */

.person { margin-top: clamp(70px, 8vw, 110px); }

/* the first person sits closer to the kicker, so "The Team" reads as its
   heading rather than floating alone in the gap under About */
.person:first-of-type { margin-top: clamp(40px, 4vw, 64px); }

.person-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.person:nth-child(even) .person-row > .person-photo { order: 2; }

.person-photo { overflow: hidden; }

/* shared hover-zoom media recipe (scale factors differ per component below) */
.person-photo img,
.card img,
.photo-grid img {
  transition: transform 1.2s var(--ease);
  backface-visibility: hidden;
  will-change: transform; /* pre-promote: without it each hover re-rasterizes the photo and stutters */
}

.person-photo:hover img { transform: scale(1.03); }

.person-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 2.8vw, 38px);
  color: var(--ink);
  margin-bottom: 26px;
}

.person-bio p { margin-bottom: 1.4em; }

.person-bio p:last-child { margin-bottom: 0; }

/* ---------- contact ---------- */

.contact {
  background: var(--navy);
  color: rgba(255, 255, 255, .72);
}

.contact-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.contact .kicker { color: rgba(255, 255, 255, .62); }

.contact h2 {
  color: #fff;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.contact-form { text-align: left; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .28);
  padding: 14px 2px;
  font: inherit;
  font-size: 16px; /* not smaller: iOS Safari auto-zooms fields under 16px */
  color: #fff;
  border-radius: 0;
  transition: border-color .3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, .55);
  letter-spacing: .04em;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: #fff;
}

.contact-form textarea { min-height: 120px; resize: vertical; margin-top: 34px; }

.contact-form .submit-wrap { text-align: center; margin-top: 52px; }

.contact .btn { color: #fff; border-color: rgba(255, 255, 255, .5); }

.contact .btn:hover { background: #fff; border-color: #fff; color: var(--navy); }

/* ---------- footer ---------- */

.site-footer { padding: clamp(50px, 7vw, 80px) var(--pad); }

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
}

.site-footer .brand img { height: 24px; }

.footer-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 34px;
}

.footer-nav a {
  display: inline-block;
  padding: 6px 0;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .3s;
}

.footer-nav a:hover { color: var(--ink); }

.copyright { color: var(--muted); font-size: 11px; letter-spacing: .04em; }

/* ---------- page headers (inner pages) ---------- */

.page-head {
  padding: calc(var(--header-h) + clamp(60px, 9vw, 120px)) var(--pad) clamp(50px, 6vw, 80px);
  text-align: center;
}

.page-head .intro {
  max-width: 620px;
  margin: 28px auto 0;
  font-size: 15px;
}

.page-head .listing-actions { margin-top: 36px; }

/* repeated listing CTA below the gallery photos */
.gallery-cta { text-align: center; margin-top: clamp(40px, 5vw, 60px); }

/* the kicker on gallery pages links back to its listing page */
.back-link { transition: color .3s; }

.back-link::before { content: "\2190\00a0\00a0"; }

.back-link:hover { color: var(--ink); }

/* ---------- next project (bottom of completed galleries) ---------- */

.next-project { padding: 0 var(--pad) var(--section-pad); text-align: center; }

.next-project a { display: inline-block; }

.next-project .kicker { margin-bottom: 12px; }

.next-title {
  display: block;
  font-size: clamp(26px, 3vw, 40px);
  transition: opacity .3s;
}

.next-project a:hover .next-title {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
}

/* ---------- legal pages (terms / privacy) ---------- */

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: calc(var(--header-h) + clamp(60px, 9vw, 120px)) var(--pad) var(--section-pad);
  font-size: 15px;
}

.legal h1 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 12px; }

.legal-updated {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 44px;
}

.legal h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  color: var(--ink);
  margin: 44px 0 14px;
}

.legal h3 { font-size: 16px; font-weight: 600; color: var(--ink); margin: 28px 0 10px; }

.legal h4 { font-size: 14px; font-weight: 600; color: var(--ink); margin: 22px 0 8px; }

.legal p { margin-bottom: 1em; }

.legal ul { margin: 0 0 1.2em 1.4em; }

.legal li { margin-bottom: .6em; }

.legal a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- project cards ---------- */

.cards-section,
.gallery-section { padding: 0 var(--pad) var(--section-pad); }

.cards {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px) clamp(28px, 3.5vw, 56px);
}

.card { display: block; }

/* block, not inline: an inline .thumb makes the grid undersize the row, and
   the card-meta below overflows under the next row's image */
.card .thumb { display: block; overflow: hidden; aspect-ratio: 4 / 3; }

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

.card:hover img { transform: scale(1.045); }

.card-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}

.card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  color: var(--ink);
  letter-spacing: .02em;
}

.card .card-cta {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .3s, transform .4s var(--ease);
}

.card:hover .card-cta { color: var(--ink); transform: translateX(4px); }

.card-text { display: block; }

.card-loc {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}

/* a lone card (e.g. one listing for sale) sits centered, not half-empty */
.cards .card:only-child {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 820px;
  justify-self: center;
}

/* ---------- photo grid (galleries) ---------- */

.photo-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 2vw, 28px);
}

.photo-grid a {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  cursor: zoom-in;
}

.photo-grid a:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 21 / 10;
}

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

.photo-grid a:hover img { transform: scale(1.03); }

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(12, 11, 28, .96);
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: min(94vw, 1500px);
  max-height: 88vh;
  width: auto;
  height: auto;
  cursor: pointer; /* tap left/right half = previous/next */
}

.lightbox button {
  position: absolute;
  background: none;
  border: 0;
  color: rgba(255, 255, 255, .7);
  font-size: 34px;
  font-weight: 100;
  line-height: 1;
  cursor: pointer;
  padding: 22px;
  transition: color .25s;
  font-family: var(--sans);
  z-index: 2;
}

.lightbox button:hover { color: #fff; }

.lb-close { top: 8px; right: 12px; }

.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }

.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }

.lb-count {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .75);
  font-size: 11px;
  letter-spacing: .22em;
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; gap: 0; }

  .person-row { grid-template-columns: 1fr; gap: 30px; }

  .person:nth-child(even) .person-row > .person-photo { order: 0; }

  .cards { grid-template-columns: 1fr; }

  .photo-grid { grid-template-columns: 1fr; }

  .photo-grid a,
  .photo-grid a:first-child { aspect-ratio: 3 / 2; }
}

@media (max-width: 1080px) {
  :root { --header-h: 72px; }

  .nav-toggle { display: block; }

  /* full-screen overlay menu */
  .site-nav {
    position: fixed;
    inset: 0;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .45s var(--ease), visibility .45s;
  }

  body.nav-open .site-nav { opacity: 1; visibility: visible; }

  body.nav-open { overflow: hidden; }

  body.nav-open .nav-toggle span { background: #fff; }

  .site-nav ul { flex-direction: column; gap: 10px; text-align: center; }

  .site-nav a {
    color: #fff !important;
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: none;
    padding: 6px 0;
  }

  .site-nav > ul > li > a::after { display: none; }

  .site-nav > ul > li > a[aria-current="page"] {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 9px;
  }

  /* the Press item spans the full menu width so its submenu centres on the
     viewport axis, not on the submenu's own (narrower) content box */
  .site-nav .has-sub { align-self: stretch; text-align: center; }

  /* collapsed by default (display:none keeps the links out of the focus trap
     while hidden); shown as a centred flex column when Press is tapped open */
  .site-nav .sub-menu {
    position: static;
    transform: none;
    background: transparent;
    border: 0;
    box-shadow: none;
    width: 100%;
    min-width: 0;
    padding: 0;
    display: none;
    opacity: 1;
    visibility: visible;
  }

  .site-nav .sub-menu::before { display: none; }

  /* defeat the desktop dropdown's translateX(-50%): on the static mobile
     submenu it shoves the panel half its own width to the left, off-centre */
  .has-sub:hover .sub-menu,
  .has-sub:focus-within .sub-menu,
  .has-sub.open .sub-menu { transform: none; }

  /* block (not flex) so each full-width link centres its own text under Press */
  .has-sub.open .sub-menu { display: block; padding: 12px 0 4px; }

  .site-nav .sub-menu li { display: block; width: 100%; text-align: center; }

  .site-nav .sub-menu a,
  body.home .site-header:not(.scrolled) .site-nav .sub-menu a {
    color: rgba(255, 255, 255, .72);
    background: transparent;
    font-family: var(--sans);
    font-size: 14.5px;
    letter-spacing: .02em;
    padding: 8px 0;
    text-align: center;
  }

  .form-row { grid-template-columns: 1fr; gap: 0; }

  .contact-form input { margin-bottom: 26px; }

  .contact-form textarea { margin-top: 8px; }

  .scroll-cue { display: none; }
}

/* hover-zoom off for reduced motion — must sit after the component rules it overrides */
@media (prefers-reduced-motion: reduce) {
  .person-photo img,
  .card img,
  .photo-grid img { transition: none; will-change: auto; }

  .person-photo:hover img,
  .card:hover img,
  .photo-grid a:hover img { transform: none; }

  /* rotating hero + synced interior break: no cross-fade, JS hard-cuts the class */
  .hero-slide,
  .break-slide { transition: none; }
  .hero-slide:not(.is-active),
  .break-slide:not(.is-active) { opacity: 0; }
}
