/* ============================================================
   Skywave Group — warm-stone editorial one-pager
   Light theme. Fraunces display + Inter. Single bronze accent.
   ============================================================ */

:root {
  /* Color (OKLCH, tinted toward warm stone) */
  --stone:       oklch(0.945 0.012 80);
  --stone-2:     oklch(0.925 0.014 78);
  --paper:       oklch(0.975 0.008 85);
  --ink:         oklch(0.205 0.008 60);
  --muted:       oklch(0.345 0.008 62);   /* darker warm gray (#433e3b) */
  --faint:       oklch(0.55 0.012 72);
  --hairline:    oklch(0.855 0.012 78);
  --bronze:      oklch(0.545 0.058 70);
  --bronze-soft: oklch(0.62 0.05 72);
  --bronze-deep: oklch(0.47 0.085 74);    /* eyebrow (#7c550c) */
  --text-brown:  oklch(0.30 0.055 62);    /* hero subhead (#3b260c) */
  --text-olive:  oklch(0.43 0.085 108);   /* body copy (#555100) */
  --deep:        oklch(0.315 0.05 112);   /* contact panel, olive */
  --deep-2:      oklch(0.26 0.045 112);
  --deep-ink:    oklch(0.93 0.018 96);
  --deep-muted:  oklch(0.70 0.03 100);
  --deep-line:   oklch(0.44 0.04 110);

  /* Type */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Rhythm */
  --shell-max: 1240px;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --gutter-wide: clamp(1.5rem, 11vw, 9rem);
  --section-y: clamp(5.5rem, 12vh, 10.5rem);

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

::selection { background: oklch(0.545 0.058 70 / 0.22); }

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

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 200;
  background: var(--ink); color: var(--stone);
  padding: 0.6rem 1rem; border-radius: 4px; font-size: 0.85rem;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease),
              border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav__inner {
  max-width: none; margin-inline: 0;
  padding: clamp(1.1rem, 2.4vh, 1.7rem) var(--gutter-wide);
  display: flex; align-items: center; justify-content: space-between;
  transition: padding 0.4s var(--ease);
}
.nav[data-scrolled] {
  background: oklch(0.945 0.012 80 / 0.96);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  border-bottom-color: var(--hairline);
}
.nav[data-scrolled] .nav__inner { padding-top: 0.85rem; padding-bottom: 0.85rem; }

/* hero is light, so nav reads in ink throughout */
.nav .brand, .nav__links a { color: var(--ink); }

.brand { display: inline-flex; align-items: baseline; gap: 0.55rem; }
.brand__mark {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 1.35rem; line-height: 1; color: var(--bronze);
}
.brand__word {
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
}

.nav__links { display: flex; align-items: center; gap: clamp(1.3rem, 3vw, 2.4rem); }
.nav__links a {
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  position: relative; padding-block: 0.2rem;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease); opacity: 0.7;
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta::after { transform: scaleX(1); opacity: 0.35; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-start;
  padding-top: clamp(6rem, 14vh, 8.5rem);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__img {
  position: absolute; inset: -8% 0 -8% 0;
  /* cluster pinned to the right so the headline keeps the same relationship
     to it on every screen size */
  background: var(--stone-2) url("images/hero.jpg") right 34% / cover no-repeat;
  will-change: transform;
}
.hero__scrim {
  position: absolute; inset: 0;
  /* light warm wash: lifts the left (where dark text sits) and the very top
     (nav), leaves the cluster on the right clear */
  background:
    linear-gradient(90deg,
      oklch(0.95 0.012 80 / 0.82) 0%,
      oklch(0.95 0.012 80 / 0.52) 30%,
      oklch(0.95 0.012 80 / 0.10) 52%,
      oklch(0.95 0.012 80 / 0) 66%),
    linear-gradient(180deg,
      oklch(0.95 0.012 80 / 0.34) 0%,
      oklch(0.95 0.012 80 / 0) 22%,
      oklch(0.95 0.012 80 / 0) 80%,
      oklch(0.93 0.012 80 / 0.30) 100%);
}

.hero__inner {
  position: relative; z-index: 1;
  max-width: none; margin-inline: 0;
  padding-inline: var(--gutter-wide);
}

.eyebrow {
  font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--bronze-deep);
  display: inline-flex; align-items: center; gap: 0.85rem;
  margin: 0 0 clamp(1.4rem, 3vh, 2.4rem);
}
.eyebrow::before,
.eyebrow::after {
  content: ""; width: 26px; height: 1px; background: var(--bronze-deep);
  flex: none;
}
.eyebrow--light { color: oklch(0.93 0.01 82 / 0.92); }
.eyebrow--light::before { background: var(--bronze-soft); }

.hero__title {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 350;
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  line-height: 1.08;
  letter-spacing: -0.016em;
  color: var(--ink);
  margin: 0 0 clamp(1.5rem, 3.2vh, 2.2rem);
  max-width: 30ch;
  text-wrap: balance;
}
.hero__title .line { display: block; }
.hero__title em { color: var(--bronze); font-weight: 400; }

.hero__sub {
  color: var(--text-brown);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.55;
  max-width: none;
}
.hero__sub p { margin: 0; white-space: nowrap; }
.hero__sub p + p { margin-top: 0.5rem; color: var(--text-brown); }

.hero__cue {
  position: absolute; left: 50%; bottom: clamp(1.5rem, 3.5vh, 2.6rem);
  transform: translateX(-50%);
  z-index: 1; display: inline-flex; flex-direction: column; align-items: center;
  gap: 0.7rem; color: var(--muted);
}
.hero__cue-line {
  width: 1px; height: 44px; background: currentColor; opacity: 0.5;
  transform-origin: top; animation: cue 2.4s var(--ease) infinite;
}
.hero__cue-text {
  font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase;
}
@keyframes cue {
  0%, 100% { transform: scaleY(0.4); opacity: 0.25; }
  50%      { transform: scaleY(1);   opacity: 0.7; }
}

/* ============================================================
   SECTIONS — editorial two-column grid
   ============================================================ */
.section { padding-block: var(--section-y); }
.section--founder { background: var(--paper); }

.rule {
  border: 0; height: 1px; background: var(--hairline);
  margin: 0 0 clamp(2.6rem, 6vh, 4.4rem);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.8s var(--ease);
}
.rule.is-in { transform: scaleX(1); }
.rule--end { margin: clamp(2.6rem, 6vh, 4.4rem) 0 0; }

/* content-first: single column, generous left-aligned measure */
.grid { display: block; }
.grid__body { max-width: 74ch; }

/* founder: portrait beside the bio */
.fgrid {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(1.6rem, 4vw, 3.6rem);
  align-items: start;
}

/* ---- editorial two-column split (head + body) ---- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.44fr) minmax(0, 0.56fr);
  gap: clamp(2.5rem, 8vw, 9.5rem);
  align-items: center;
}
.split__head { position: static; }
.split--rev { grid-template-columns: minmax(0, 0.56fr) minmax(0, 0.44fr); }
#about .split { grid-template-columns: minmax(0, 0.5fr) minmax(0, 0.5fr); }

/* About: stacked picture tiles; placeholder awaiting a final image */
#about .split__head > .tile-img:first-child { margin-top: 0; }
/* show the whole building photo, uncropped */
#about .split__head > .tile-img:first-child img {
  aspect-ratio: 1600 / 1306; object-position: center;
}
.tile-img--ph {
  aspect-ratio: 2 / 1; display: grid; place-items: center;
  background: var(--stone-2); border: 1px dashed oklch(0.78 0.02 78);
}
.tile-img--ph span {
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--faint);
}

/* Mandate: operating-partner note as a full-width card below the grid */
.mandate-cta { margin-top: clamp(2.4rem, 5vh, 3.6rem); padding-block: 1rem; }
.mandate-cta .tile__note { font-size: 0.98rem; max-width: 92ch; }

/* Track record: lead statement as a card matching the other tiles */
.track-card .tile__note {
  color: var(--ink); font-size: 20px; line-height: 1.45;
  text-align: justify; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto;
}

/* Mandate: balance the columns so the heading sits on one line */
#mandate .split { grid-template-columns: minmax(0, 0.5fr) minmax(0, 0.5fr); }
#mandate-h { white-space: nowrap; }

/* headline with one sentence per line */
.section__title--lines { max-width: none; }
.section__title--lines .line { display: block; white-space: nowrap; }
.split--rev .split__body { order: 1; }
.split--rev .split__head { order: 2; }

/* structured body: paragraphs separated by hairlines, brighten on hover */
.stack { display: flex; flex-direction: column; }
.stack__item {
  margin: 0; padding: clamp(1.3rem, 3vh, 1.9rem) 0;
  border-top: 1px solid var(--hairline);
  color: var(--muted); transition: color 0.4s var(--ease);
  text-align: justify; text-justify: inter-word;
  hyphens: auto; -webkit-hyphens: auto;
}
.stack__item:first-child { border-top: 0; padding-top: 0; }
.stack__item:hover { color: var(--text-olive); }

/* experience lead, set as display serif */
.display-lead {
  font-family: var(--serif); font-optical-sizing: auto; font-weight: 340;
  font-size: clamp(1.6rem, 2.8vw, 2.5rem); line-height: 1.14;
  letter-spacing: -0.015em; color: var(--ink); margin: 0; max-width: 20ch;
}
.tile-img {
  margin: clamp(1.8rem, 4vh, 2.6rem) 0 0;
  overflow: hidden; border-radius: 4px; border: 1px solid var(--hairline);
}
.tile-img img {
  width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: center 48%;
  transition: transform 0.9s var(--ease); will-change: transform;
}
.tile-img:hover img { transform: scale(1.04); }
/* per-photo crops */
#about .tile-img img  { object-position: center 46%; }
#track .tile-img img  { object-position: center 50%; }
#mandate .tile-img img { object-position: center 46%; }

/* ---- mandate bento ---- */
.bento {
  display: grid; grid-template-columns: repeat(2, 1fr);
  grid-auto-flow: row dense; gap: clamp(0.8rem, 1.5vw, 1.05rem);
}
.tile {
  border: 1px solid var(--hairline); border-radius: 4px;
  padding: clamp(1.3rem, 2.3vw, 1.85rem);
  background: var(--paper);
  display: flex; flex-direction: column;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease),
              box-shadow 0.4s var(--ease);
}
.tile:hover {
  border-color: oklch(0.78 0.03 72); transform: translateY(-2px);
  box-shadow: 0 14px 32px -20px oklch(0.3 0.02 70 / 0.45);
}
.tile--wide { grid-column: span 2; }
.tile--img { grid-row: span 2; padding: 0; overflow: hidden; }
.tile--img img {
  width: 100%; height: 100%; min-height: 150px; object-fit: cover;
  object-position: center 34%;
  transition: transform 0.9s var(--ease); will-change: transform;
}
.tile--img:hover img { transform: scale(1.05); }
.tile--note { justify-content: center; }
.tile__k {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--bronze); margin-bottom: 0.95rem;
}
.tile__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.7rem; }
.tile__list li {
  position: relative; padding-left: 1.3rem; color: var(--ink);
  font-size: 0.98rem; line-height: 1.45;
}
.tile__list li::before {
  content: ""; position: absolute; left: 0; top: 0.72em;
  width: 7px; height: 1px; background: var(--bronze);
}
.tile__figure {
  margin: 0; font-family: var(--serif); font-optical-sizing: auto;
  font-weight: 340; font-size: clamp(1.35rem, 2.1vw, 1.75rem); line-height: 1.08;
  letter-spacing: -0.015em; color: var(--ink); white-space: nowrap;
}
.tile__sub { margin-top: 0.4rem; font-size: 0.9rem; color: var(--muted); white-space: nowrap; }
/* Investment Profile box, compacted ~20% */
.tile--figure { padding-top: clamp(1.05rem, 1.9vw, 1.4rem); padding-bottom: clamp(1.05rem, 1.9vw, 1.4rem); }
.tile--figure .tile__k { margin-bottom: 0.6rem; }
.tile__note { color: var(--muted); font-size: 0.96rem; line-height: 1.5; }

.section__title {
  font-family: var(--serif); font-optical-sizing: auto;
  font-weight: 340;
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  line-height: 1.1; letter-spacing: -0.015em;
  color: var(--ink); margin: 0 0 clamp(1.6rem, 3.4vh, 2.6rem);
  max-width: 22ch; text-wrap: balance;
}
.section__title--sm {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem); max-width: 18ch;
  color: var(--ink);
}
.section__title em { color: var(--bronze); font-weight: 400; }

.prose { max-width: 64ch; }
.prose p { margin: 0 0 1.15em; }
.prose p:last-child { margin-bottom: 0; }
.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.6; color: var(--ink); font-weight: 400;
  text-align: justify; text-justify: inter-word;
  hyphens: auto; -webkit-hyphens: auto;
}
.prose .lede { margin-bottom: 1.4em; }
.muted { color: var(--muted); }

/* track-record opener: real first line carries the section as display serif */
.prose--lead .lede {
  font-family: var(--serif); font-optical-sizing: auto; font-weight: 340;
  font-size: clamp(1.7rem, 3.2vw, 2.7rem); line-height: 1.12;
  letter-spacing: -0.015em; color: var(--ink);
  max-width: 18ch; margin-bottom: clamp(1.6rem, 3.4vh, 2.4rem);
}

/* ---------- factual anchors ---------- */
.anchors {
  margin: clamp(2.6rem, 5vh, 3.6rem) 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--hairline);
  border-block: 1px solid var(--hairline);
}
.anchor {
  background: var(--stone); padding: 1.4rem 1.3rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.anchor dt {
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint);
}
.anchor dd {
  margin: 0; font-family: var(--serif); font-optical-sizing: auto;
  font-weight: 360; font-size: 1.32rem; line-height: 1.18; color: var(--ink);
  letter-spacing: -0.01em;
}

/* ============================================================
   FOUNDER
   ============================================================ */
.portrait {
  margin: 0; max-width: 152px;
}
.portrait img {
  width: 100%; border-radius: 3px;
  filter: saturate(0.96) contrast(1.02);
  box-shadow: 0 1px 0 var(--hairline);
}
.founder__name {
  font-family: var(--serif); font-optical-sizing: auto; font-weight: 360;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.05;
  letter-spacing: -0.015em; color: var(--ink); margin: 0;
}
.founder__role {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--bronze);
  margin: 0.7rem 0 clamp(1.6rem, 3vh, 2.3rem);
}
.credentials {
  margin: clamp(1.6rem, 3vh, 2.2rem) 0 0; padding-top: 1.4rem;
  border-top: 1px solid var(--hairline);
  font-size: 0.92rem; color: var(--muted);
  max-width: none; white-space: nowrap;
}
.credentials .dot { color: var(--bronze); margin-inline: 0.35rem; }

/* ============================================================
   CINEMATIC IMAGE BAND (crossfade on scroll)
   ============================================================ */
.band {
  position: relative; height: clamp(46svh, 60vh, 76svh);
  overflow: hidden; background: var(--stone-2);
}
.band__img {
  position: absolute; inset: -10% 0;
  background: url("images/band-2.jpg") center 58% / cover no-repeat;
  will-change: transform;
}
.band__img--3 {
  background-image: url("images/band-3.jpg");
  background-position: center 42%;
}

/* positioning statement set over the band, right-aligned to counter the cluster */
.band--text .band__scrim {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(270deg,
    oklch(0.27 0.045 122 / 0.66) 0%,
    oklch(0.27 0.045 122 / 0.30) 34%,
    oklch(0.27 0.045 122 / 0) 62%);
}
.band__overlay {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center;
}
.band__overlay .shell { width: 100%; }
.band__title {
  margin: 0 0 0 auto; max-width: 20ch; text-align: right;
  font-family: var(--serif); font-optical-sizing: auto; font-weight: 350;
  font-size: clamp(1.85rem, 3.6vw, 2.85rem); line-height: 1.1;
  letter-spacing: -0.016em; color: oklch(0.66 0.018 112); text-wrap: balance;
}
.band__title .line { display: block; }
.band__title em { font-style: italic; }
.band__title .line:nth-of-type(1),
.band__title .line:nth-of-type(2) { color: #c4af91; }
.band__title .line:nth-of-type(1) em,
.band__title .line:nth-of-type(2) em { color: #ede7d8; }
.band__title .line:nth-of-type(3) { color: #ede7d8; }
.band__title .line:nth-of-type(3) em { color: #c4af91; }

/* placeholder band (awaiting a final image) */
.band--ph { background: var(--stone-2); }
.band__ph {
  position: absolute; inset: clamp(1rem, 2vw, 1.6rem);
  display: grid; place-items: center;
  border: 1px dashed oklch(0.78 0.02 78);
}
.band__ph span {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--faint);
}

/* ============================================================
   MANDATE
   ============================================================ */
.mandate { margin-top: clamp(2.6rem, 5vh, 3.8rem); }
.mandate__row {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-block: clamp(1.8rem, 3.6vh, 2.6rem);
  border-top: 1px solid var(--hairline);
}
.mandate__row:last-child { border-bottom: 1px solid var(--hairline); }
.mandate__h {
  margin: 0; font-family: var(--serif); font-optical-sizing: auto;
  font-weight: 380; font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.2; letter-spacing: -0.01em; color: var(--ink);
}
.mandate__list { margin: 0; padding: 0; list-style: none; }
.mandate__list li {
  position: relative; padding-left: 1.3rem; margin-bottom: 0.7rem;
  color: var(--ink);
}
.mandate__list li:last-child { margin-bottom: 0; }
.mandate__list li::before {
  content: ""; position: absolute; left: 0; top: 0.72em;
  width: 7px; height: 1px; background: var(--bronze);
}
.mandate__figure {
  margin: 0; font-family: var(--serif); font-optical-sizing: auto;
  font-weight: 340; font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.1; letter-spacing: -0.015em; color: var(--ink);
}
.mandate__figure span {
  display: block; font-family: var(--sans); font-size: 0.92rem;
  font-weight: 400; letter-spacing: 0; color: var(--muted); margin-top: 0.5rem;
}
.mandate__note { margin: 0.9rem 0 0; color: var(--muted); font-size: 0.95rem; }

/* ============================================================
   CONTACT (deep close)
   ============================================================ */
.contact {
  background:
    radial-gradient(120% 90% at 50% 0%, var(--deep) 0%, var(--deep-2) 70%);
  color: var(--deep-ink);
  padding-block: clamp(5rem, 12vh, 9rem) 0;
}
.contact__title {
  font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.1;
  letter-spacing: -0.015em; color: var(--paper); margin: 0;
}
.contact__title em { color: var(--bronze-soft); font-weight: 400; }
.contact__line {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--deep-ink);
  max-width: 34ch; margin: clamp(1.6rem, 3vh, 2.2rem) 0 0; line-height: 1.6;
}
.contact__confidential {
  margin: clamp(2rem, 4vh, 2.8rem) 0 0;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--deep-muted);
}

/* contact form */
.cform {
  display: flex; flex-direction: column;
  gap: clamp(1rem, 2.2vw, 1.4rem); width: 100%; max-width: 30rem;
}
.cfield { display: flex; flex-direction: column; gap: 0.5rem; }
.cfield label {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--deep-muted);
}
.cfield input, .cfield textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: var(--stone);
  border: 1px solid transparent; border-radius: 4px;
  padding: 0.75rem 0.9rem; width: 100%;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.cfield textarea { resize: vertical; min-height: 112px; }
.cform__hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.cfield input:focus, .cfield textarea:focus {
  outline: none; border-color: var(--bronze-soft);
  background: var(--paper);
}
.cform__submit {
  align-self: flex-start; margin-top: 0.4rem;
  font-family: var(--sans); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--deep); background: var(--bronze-soft);
  border: 0; border-radius: 4px; padding: 0.85rem 1.9rem; cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.cform__submit:hover { background: var(--paper); transform: translateY(-1px); }
.cform__note { margin: 0.2rem 0 0; font-size: 0.85rem; color: var(--deep-muted); min-height: 1em; }

.footer {
  margin-top: clamp(5rem, 12vh, 9rem);
  background: var(--stone);
  padding-block: 1.7rem;
}
.footer__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  font-size: 0.82rem; letter-spacing: 0.04em; color: var(--muted);
}
.footer__inner a { transition: color 0.3s var(--ease); }
.footer__inner a:hover { color: var(--ink); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
[data-reveal] {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 880px) {
  .split, .split--rev,
  #about .split, #mandate .split { grid-template-columns: 1fr; gap: clamp(1.8rem, 4vh, 2.6rem); }
  #mandate-h { white-space: normal; }
  .split__head { position: static; }
  .split--rev .split__head { order: -1; }
  .split--rev .split__body { order: 0; }
  .fgrid { grid-template-columns: 1fr; gap: clamp(1.2rem, 3vh, 1.8rem); }
  .portrait { max-width: 132px; }
  .nav__links { gap: 1.1rem; }
  .hero__sub p { white-space: normal; }
  .credentials { white-space: normal; }
  /* keep nav + hero aligned with the body columns on smaller screens */
  .nav__inner, .hero__inner { padding-inline: var(--gutter); }
}

/* Mobile hero: stack the composition so the headline sits on clean stone and
   the architecture becomes a full-width band beneath it. Keeps the text in a
   consistent relationship to the cluster instead of overlapping it. */
@media (max-width: 760px) {
  .hero {
    min-height: 100svh;
    display: flex; flex-direction: column;
    justify-content: flex-start;
    padding: clamp(6rem, 16vh, 8rem) 0 0;
    background: var(--stone);
  }
  .hero__media {
    position: relative; inset: auto; z-index: 0;
    order: 2; width: 100%;
    flex: 1 1 auto; min-height: 44svh; margin-top: clamp(1.6rem, 4vh, 2.6rem);
  }
  .hero__inner { order: 1; position: relative; z-index: 1; }
  .hero__sub, .hero__title { max-width: none; }
  .hero__img { inset: -6% 0; background-position: center bottom; }
  .hero__scrim {
    background: linear-gradient(180deg,
      var(--stone) 0%, oklch(0.95 0.012 80 / 0) 20%);
  }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .brand__word { font-size: 0.74rem; }
  .nav__links { gap: 0.95rem; }
  .nav__links a { font-size: 0.72rem; }
  .hero__cue { display: none; }
  .bento { grid-template-columns: 1fr; }
  .tile--wide { grid-column: span 1; }
  .tile--img { grid-row: auto; min-height: 180px; }
  .section__title--lines .line { white-space: normal; }
  /* mobile: statement centered over the upper wall, city below it */
  .band--text { height: clamp(60svh, 68vh, 78svh); }
  .band--text .band__img { background-position: 30% 50%; }
  .band__overlay { align-items: flex-start; }
  .band__overlay .shell { padding-top: clamp(2.2rem, 8vh, 4rem); }
  .band__title {
    margin: 0 auto; max-width: none; text-align: center;
    font-size: clamp(1.4rem, 6vw, 1.95rem);
  }
  .band--text .band__scrim {
    background: linear-gradient(180deg,
      oklch(0.25 0.045 122 / 0.62) 0%,
      oklch(0.25 0.045 122 / 0.2) 44%,
      oklch(0.25 0.045 122 / 0) 74%);
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .rule { transform: scaleX(1); }
  .hero__img { inset: 0; }
  .hero__cue-line { animation: none; opacity: 0.5; }
}
