/* Interior pages use the homepage type scale, ink, paper and ice palette. */
.inner-page figure { margin: 0; }
.inner-page .display {
  font-size: clamp(3.55rem, 7.6vw, 7rem);
  line-height: .99;
  font-weight: 200;
  letter-spacing: -.062em;
}
.inner-page h1 em {
  font-weight: inherit;
  color: var(--ice);
}
.inner-page .eyebrow, .attribution {
  margin: 0;
  font-size: .72rem;
  line-height: 1.6;
  letter-spacing: .17em;
  font-weight: 800;
  text-transform: uppercase;
}
.eyebrow { color: var(--ice); }
.light .eyebrow { color: var(--brand); }
.rule-label { display: flex; gap: 14px; align-items: center; }
.rule-label::before { content: ""; flex: 0 0 34px; height: 1px; background: currentColor; opacity: .65; }
.inner-page .lead { max-width: 46ch; }
.inner-page .statement { font-size: clamp(2rem, 3.9vw, 3.6rem); font-weight: 300; line-height: 1.15; letter-spacing: -.045em; }
.body-copy { max-width: 61ch; font-size: 1.04rem; margin-top: 22px; }
.text-link {
  display: inline-block;
  font-size: .9rem;
  font-weight: 700;
  color: var(--wht);
  padding-block: 4px;
  border-bottom: 1px solid var(--ice);
  transition: color .25s, border-color .25s;
}
.text-link:hover { color: var(--ice); border-color: currentColor; }
.light .text-link { color: var(--brand); border-color: var(--brand); }
.inner-page .btn { min-height: 46px; }
.editorial-split {
  display: grid;
  grid-template-columns: minmax(12rem, .55fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 96px);
}
.editorial-split .rule-label { margin-top: .6rem; }
.next-step { background: var(--brand); padding-block: clamp(52px, 6.4vw, 95px); }
.next-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.next-inner .h2 { max-width: 22ch; margin-top: 14px; }
.next-inner .btn { flex-shrink: 0; }
.inner-page .hdr:not(.stuck) .nav a { color: var(--wht); }

/* About: a broad streetscape opens onto a quieter founder portrait. */

.process-section, .water-section, .legal-paper { padding-block: clamp(66px, 8vw, 122px); }
.attribution { color: var(--brand); margin-top: 25px; }

.stage-plate figcaption { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 13px; font-size: .8rem; font-weight: 600; color: var(--mut); }
.water-section .h2 { margin-top: 22px; }

/* Capabilities: a photographic field of view and an interactive process index. */
.service-cover { padding-block: clamp(140px,11vw,170px) clamp(50px,5.4vw,80px); }
.service-spread { display: grid; grid-template-columns: minmax(0,.91fr) minmax(0,1.1fr); align-items: center; gap: clamp(22px,3.4vw,60px); }
.service-title .display { font-size: clamp(3rem,6vw,5.9rem); margin: 24px 0; }

.service-title .lead { max-width: 41ch; }
.service-title .btn { margin-top: 30px; }
.land-study { min-width: 0; }
.comparison { --split: 50%; position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-l); background: var(--bg-2); aspect-ratio: 1.3; }
.comparison img, .comparison-field { position: absolute; inset: 0; width: 100%; height: 100%; }
.comparison img { object-fit: cover; object-position: 60% center; }
.comparison-field { clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.comparison-field img { object-position: 36% center; }
.comparison::after { content: ""; position: absolute; inset: 62% 0 0; background: linear-gradient(transparent,rgba(15,23,33,.78)); pointer-events: none; }
.comparison-labels { position: absolute; z-index: 1; inset: auto 20px 17px; display: flex; justify-content: space-between; gap: 16px; color: var(--paper); font-size: .79rem; font-weight: 700; }
.comparison[data-edge="land"] .comparison-labels span:last-child, .comparison[data-edge="homes"] .comparison-labels span:first-child { visibility: hidden; }
.comparison-line { position: absolute; z-index: 2; inset: 0 auto 0 var(--split); width: 1px; background: var(--paper); pointer-events: none; }
.comparison-grip { display: none; }
.comparison:has(.comparison-range:not([hidden])) .comparison-grip { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--paper); color: var(--brand); box-shadow: 0 3px 15px rgba(15,23,33,.3); }
.comparison-grip::before, .comparison-grip::after { content: ""; position: absolute; top: 18px; width: 9px; height: 9px; border: solid currentColor; border-width: 1.5px 1.5px 0 0; }
.comparison-grip::before { left: 11px; transform: rotate(-135deg); }
.comparison-grip::after { right: 11px; transform: rotate(45deg); }
.comparison-range { position: absolute; z-index: 3; top: 0; bottom: 0; left: -22px; width: calc(100% + 44px); height: 100%; margin: 0; opacity: 0; cursor: ew-resize; appearance: none; touch-action: pan-y; }
.comparison-range::-webkit-slider-thumb { appearance: none; width: 44px; height: 44px; }
.comparison-range::-moz-range-thumb { width: 44px; height: 44px; border: 0; }
.comparison:has(.comparison-range:focus-visible) { outline: 3px solid var(--ice); outline-offset: 5px; }
.land-study figcaption { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; color: var(--mut); font-size: .78rem; }
.comparison-help { color: var(--ice); }
.section-intro .h2 { max-width: 22ch; margin-top: 18px; }
.stage-layout { margin-top: clamp(34px, 4.5vw, 66px); display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(36px,7vw,100px); align-items: start; }
.stage { border-top: 1px solid rgba(32,59,92,.23); }
.stage:last-child { border-bottom: 1px solid rgba(32,59,92,.23); }
.stage summary { list-style: none; display: grid; align-items: center; grid-template-columns: 2.25rem 1fr 24px; gap: 9px; padding-block: 22px; cursor: pointer; }
.stage summary::-webkit-details-marker { display: none; }
.stage-no, .plate-number { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--brand); }
.stage-no { font-size: .76rem; }
.stage summary h3 { font-weight: 400; font-size: clamp(1.23rem,2vw,1.9rem); line-height: 1.18; }
.stage p { padding: 0 22px 26px calc(2.25rem + 9px); font-size: 1rem; line-height: 1.7; }
.stage[open] { border-top-color: var(--brand); }
.stage[open] summary h3 { color: var(--brand); }
.disclosure { width: 22px; height: 22px; position: relative; color: var(--brand); }
.disclosure::before, .disclosure::after { content: ""; position: absolute; inset: 50% 4px auto; height: 1px; background: currentColor; }
.disclosure::after { transform: rotate(90deg); transition: transform .22s; }
.stage[open] .disclosure::after { transform: rotate(0); }
.stage summary:hover .disclosure { background: var(--paper-2); border-radius: 50%; }
.stage-plate > div { border-radius: var(--r-l); overflow: hidden; background: var(--paper-2); }
.stage-plate img { width: 100%; height: auto; aspect-ratio: 1.4; object-fit: cover; }
.stage-plate figcaption { color: var(--ink-mut); }

.water-section .lead { margin-top: 22px; }

/* Reynolds Ranch: project masthead, land-use figures and the water system. */

/* Contact: a direct introduction, paired with a photograph of the work. */

/* Legal pages share a document layout with a persistent reading index. */
.legal-cover { padding-block: clamp(141px,12.5vw,194px) clamp(48px,6.2vw,96px); }
.legal-cover .display { margin: 24px 0 20px; }
.legal-cover .lead { max-width: 60ch; }
.legal-layout { display: grid; grid-template-columns: minmax(170px,.52fr) minmax(0,1fr); gap: clamp(40px,8vw,126px); align-items: start; }
.legal-index { position: sticky; top: 110px; }
.legal-index ul { list-style: none; margin: 22px 0 25px; padding: 0; }
.legal-index li { border-bottom: 1px solid rgba(32,59,92,.15); }
.legal-index li a { display: block; padding: 9px 0; font-size: 1rem; color: var(--ink-mut); }
.legal-index li a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }
.legal-content { max-width: 66ch; }
.legal-content section + section { border-top: 1px solid rgba(32,59,92,.18); margin-top: 34px; padding-top: 34px; }
.legal-content h2 { font-size: clamp(1.5rem,2.2vw,2.1rem); letter-spacing: -.035em; font-weight: 400; }
.legal-content p { margin-top: 14px; }
.legal-content a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 950px) {
  .stage-layout { gap: 35px; }
  .stage summary { grid-template-columns: 1.45rem 1fr 22px; }
  .stage p { padding-left: calc(1.45rem + 9px); }
  
  
  .service-spread { grid-template-columns: 1fr 1fr; }
  .service-title .lead { max-width: 34ch; }
  
}
@media (max-width: 720px) {
  .inner-page .display { font-size: clamp(3.4rem,10.5vw,4.7rem); }
  .inner-page .h2 { font-size: clamp(2rem,6.5vw,3rem); }
  .editorial-split, .stage-layout, .legal-layout { grid-template-columns: 1fr; }
  .legal-cover { padding-top: 120px; }
  
  
  
  
  
  
  .service-cover { padding-block: 120px 42px; }
  .service-spread { grid-template-columns: 1fr; gap: 34px; }
  .service-title .lead { max-width: 43ch; }
  .comparison { aspect-ratio: 1.75; }
  .section-intro .h2 { max-width: 21ch; }
  .stage-layout { gap: 24px; }
  .stage-plate img { aspect-ratio: 2.1; }
  .stage summary { padding-block: 18px; }
  
  
  
  
  
  
  
  
  
  
  .legal-layout { gap: 48px; }
  .legal-index { position: static; }
  .legal-index ul { margin-block: 10px 15px; }
  .next-inner { align-items: start; flex-direction: column; gap: 24px; }
}
@media (max-width: 450px) {
  .service-title .lead { max-width: 32ch; }
  .comparison-labels { inset: auto 14px 12px; }
  
  
  
  
  
  
}
@media print {
  .inner-page .hdr, .inner-page .mob, .inner-page .ftr, .legal-index, .skip-link { display: none; }
  .legal-cover, .legal-paper { background: white; color: black; padding: 16px 0; }
  .legal-cover h1, .legal-cover .lead { color: black; }
  .legal-cover .kicker { display: none; }
  .legal-layout { display: block; }
  .legal-content { max-width: none; }
}

/* ===========================================================
   Additions: founder record, pillars, project phases,
   plan strip, specification list and the inquiry form.
   =========================================================== */

/* About — the four things Sapelo keeps under one roof. */

/* About — Justin Reynolds' record, set as a ledger rather than a timeline. */

/* Projects — where Reynolds Ranch stands in the four-stage approach. */

/* Projects — a specification list that reads like a drawing's title block. */
.spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(30px, 5vw, 76px); margin: clamp(30px, 3.4vw, 46px) 0 0; }
.spec > div { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--bord); }
.spec dt { font-size: .92rem; color: var(--mut); }
.spec dd { margin: 0; font-size: .95rem; font-weight: 600; color: var(--wht); text-align: right; }
.light .spec > div { border-bottom-color: rgba(32,59,92,.16); }
.light .spec dt { color: var(--ink-mut); }
.light .spec dd { color: var(--ink); }

/* Projects — three plates of the work, sized unevenly on purpose. */


@media (max-width: 720px) {
  
  
  
  .spec { grid-template-columns: 1fr; }
  
  
}

/* The stage photograph holds its place while the process index is read. */
.stage-plate { position: sticky; top: 118px; }
@media (max-width: 720px) { .stage-plate { position: static; } }

/* Contact — the direct line sits under the inquiry routes. */

/* The phase rail also runs on paper, where it needs ink-side colours. */

/* Decorative glows sit outside their section's edge; clip them so no page
   gains a horizontal scrollbar (the homepage clips #unternehmen the same way). */
.inner-page section:has(> .glow) { position: relative; overflow: clip; }

/* Mark the current page in the mobile menu, as the desktop nav already does. */
.mob a[aria-current="page"] { color: var(--ice); }

/* ===========================================================
   CINEMATIC PAGE SYSTEM
   About, Projects and Contact are built from these, so they
   carry the homepage's full-bleed imagery, glass and scale.
   =========================================================== */

/* ---- full-bleed page hero ---- */
.page-hero {
  position: relative; min-height: 86svh; display: flex; align-items: flex-end;
  overflow: hidden; background: var(--bg); isolation: isolate;
}
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); animation: heroEase 2.8s var(--ease) .1s forwards; }
@keyframes heroEase { to { transform: scale(1); } }
.page-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,23,33,.78) 0%, rgba(15,23,33,.3) 32%, rgba(15,23,33,.88) 76%, var(--bg) 100%),
    linear-gradient(90deg, rgba(15,23,33,.78), rgba(15,23,33,0) 64%);
}
.page-hero .wrap { position: relative; z-index: 3; padding-top: clamp(150px, 17vw, 215px); padding-bottom: clamp(44px, 5.2vw, 82px); }
.page-hero h1 { margin-top: 26px; max-width: 15ch; }
.page-hero .lead { margin-top: 30px; max-width: 50ch; }
.hero-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 44px; margin-top: clamp(34px, 4vw, 54px); }
.hero-tag { display: inline-flex; align-items: center; gap: 10px; color: var(--ice); font-size: .86rem; font-weight: 700; letter-spacing: .02em; }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; font-size: 10.5px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--mut); }
.scroll-cue i { width: 1px; height: 38px; background: linear-gradient(var(--ice), transparent); display: block; animation: cueDrop 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cueDrop { 0%,100% { transform: scaleY(.4); opacity: .4 } 50% { transform: scaleY(1); opacity: 1 } }

/* ---- centered variant (About) ---- */
.page-hero.center { align-items: center; text-align: center; }
.page-hero.center .wrap {
  display: flex; flex-direction: column; align-items: center;
  padding-top: clamp(160px, 17vw, 225px); padding-bottom: clamp(60px, 7vw, 110px);
}
.page-hero.center .page-hero-bg::after {
  background:
    linear-gradient(180deg, rgba(15,23,33,.84) 0%, rgba(15,23,33,.46) 36%, rgba(15,23,33,.9) 78%, var(--bg) 100%),
    radial-gradient(ellipse at 50% 46%, rgba(15,23,33,.12) 0%, rgba(15,23,33,.68) 74%);
}
.page-hero.center h1 { margin-top: 24px; max-width: 18ch; }
.page-hero.center .lead { margin-top: 26px; max-width: 64ch; }

/* ---- project cover (Projects) ---- */
.project-cover {
  position: relative; min-height: clamp(540px, 72svh, 780px); display: flex; align-items: center;
  overflow: hidden; background: var(--bg); isolation: isolate;
}
.project-cover-bg { position: absolute; inset: 0; z-index: 0; }
.project-cover-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
  transform: scale(1.08); animation: heroEase 2.8s var(--ease) .1s forwards;
}
.project-cover-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(15,23,33,.95) 0%, rgba(15,23,33,.88) 16%, rgba(15,23,33,.58) 34%, rgba(15,23,33,.16) 56%, rgba(15,23,33,0) 70%),
    linear-gradient(180deg, rgba(15,23,33,.84) 0%, rgba(15,23,33,.34) 9%, rgba(15,23,33,0) 20%, rgba(15,23,33,0) 86%, rgba(15,23,33,.24) 100%);
}
.project-cover .wrap {
  position: relative; z-index: 3;
  padding-top: clamp(140px, 15vw, 200px); padding-bottom: clamp(50px, 5.6vw, 86px);
}

.project-cover .grain { opacity: .3; }

.plan-note {
  position: absolute; z-index: 4; top: clamp(98px, 10vw, 134px); right: var(--gut);
  padding: 9px 15px; border-radius: 10px;
  background: rgba(242,245,248,.92); color: var(--ink);
  font-size: 12px; font-weight: 700; letter-spacing: .005em; line-height: 1;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -26px rgba(0,0,0,.9);
}

.rule-kicker {
  display: inline-flex; align-items: center; gap: clamp(13px, 1.4vw, 20px);
  font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--wht);
}
.rule-kicker i { flex: none; width: clamp(32px, 3.6vw, 56px); height: 1px; background: currentColor; opacity: .85; display: block; }

.project-title {
  margin-top: clamp(20px, 2.4vw, 34px);
  font-size: clamp(2.9rem, 8vw, 7.4rem); font-weight: 200; letter-spacing: -.046em; line-height: .99;
  color: var(--wht);
}
.project-title em { font-style: italic; font-weight: 200; }

.project-place {
  display: inline-flex; align-items: center; gap: 10px; margin: clamp(24px, 2.8vw, 38px) 0 0;
  font-size: clamp(1rem, 1.1vw, 1.1rem); font-weight: 600; letter-spacing: -.005em; color: var(--wht);
}
.project-place svg { flex: none; opacity: .92; }

/* ---- key-facts band under the cover ---- */
.project-bar { position: relative; z-index: 2; background: var(--bg-2); border-block: 1px solid var(--bord); }
.project-bar-grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, .72fr) minmax(0, 1fr); }
.project-bar-grid > div {
  padding: clamp(28px, 3.3vw, 48px) clamp(20px, 2.4vw, 42px);
  border-left: 1px solid var(--bord);
}
.project-bar-grid > div:first-child { border-left: 0; padding-left: 0; }
.project-bar-grid small {
  display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ice);
}
.project-bar-grid b {
  display: block; margin-top: clamp(12px, 1.3vw, 18px);
  font-size: clamp(2.1rem, 3.5vw, 3.15rem); font-weight: 200; letter-spacing: -.05em; line-height: 1.04;
  color: var(--wht); font-variant-numeric: tabular-nums;
}
.project-bar-grid b span { font-size: clamp(.95rem, 1.2vw, 1.15rem); font-weight: 400; letter-spacing: -.01em; color: var(--mut); }
.project-bar-grid b.is-text { font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 250; letter-spacing: -.032em; }

/* ---- oversized statement band ---- */
.manifest { position: relative; padding-block: clamp(80px, 9vw, 150px); overflow: clip; }
.manifest-grid { display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(0, .68fr); gap: clamp(36px, 6vw, 92px); align-items: start; }
.manifest-say {
  margin-top: 28px; font-size: clamp(1.85rem, 3.5vw, 3.25rem); font-weight: 250;
  letter-spacing: -.04em; line-height: 1.14; color: var(--wht); max-width: 19ch;
}
.manifest-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 40px); margin-top: clamp(34px, 3.6vw, 52px); }
.manifest-cols p { font-size: 1rem; line-height: 1.75; }
.manifest-cols p + p { margin-top: 16px; }
.manifest-plate { position: relative; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 3 / 4; background: var(--bg-2); border: 1px solid var(--bord); }
.manifest-plate img { width: 100%; height: 100%; object-fit: cover; }
.manifest-plate figcaption {
  position: absolute; inset: auto 16px 16px; padding: 15px 18px; border-radius: 14px;
  background: rgba(15,23,33,.62); border: 1px solid var(--bord);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  font-size: 10.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--ice);
}

/* ---- big-figure band ---- */
.figures { border-block: 1px solid var(--bord); background: var(--bg-2); }
.figures-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fig { padding: clamp(34px, 4vw, 58px) clamp(16px, 2vw, 32px); border-left: 1px solid var(--bord); transition: background .5s var(--ease); }
.fig:first-child { border-left: 0; }
.fig:hover { background: var(--surf); }
.fig b { display: block; font-size: clamp(2.6rem, 4.6vw, 4.2rem); font-weight: 200; letter-spacing: -.055em; line-height: 1; color: var(--wht); font-variant-numeric: tabular-nums; }
.fig span { display: block; margin-top: 14px; font-size: 10.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--mut-2); }

/* ---- founder feature ---- */
.principal { padding-block: clamp(76px, 8.6vw, 140px); position: relative; overflow: clip; }
.principal-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(36px, 6vw, 96px); align-items: stretch; }
.principal-shot { position: relative; display: flex; }
.principal-shot > div { flex: 1; min-height: clamp(430px, 40vw, 620px); border-radius: 0; overflow: hidden; background: var(--bg-2); border: 1px solid var(--bord); }
.principal-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.principal-badge {
  position: absolute; right: clamp(-26px, -2vw, -14px); bottom: clamp(22px, 3vw, 40px); z-index: 2;
  padding: 20px 24px; border-radius: 0; background: rgba(15,23,33,.74); border: 1px solid var(--bord-2);
  backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 30px 70px -40px rgba(0,0,0,.95);
}
.principal-badge small { display: block; font-size: 10px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--ice); }
.principal-badge b { display: block; margin-top: 7px; font-size: 1rem; font-weight: 600; color: var(--wht); letter-spacing: -.01em; }
.principal-copy .h2 { margin-top: 22px; }
.principal-role { margin: 10px 0 0; font-size: .95rem; font-weight: 700; color: var(--ice); }
.principal-copy p.body { margin-top: 20px; font-size: 1.01rem; line-height: 1.76; max-width: 56ch; }
.principal-copy .text-link { margin-top: 26px; }
.li-btn {
  display: inline-flex; align-items: center; gap: 10px; margin-top: clamp(26px, 3vw, 36px);
  padding: 12px 22px 12px 18px; border-radius: 999px; background: #0a66c2; color: #fff;
  font-size: .93rem; font-weight: 700; letter-spacing: -.01em; line-height: 1;
  box-shadow: 0 18px 38px -22px rgba(10,102,194,.9);
  transition: background .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.li-btn svg { flex-shrink: 0; }
.li-btn:hover { background: #004182; transform: translateY(-2px); box-shadow: 0 22px 44px -20px rgba(10,102,194,.95); }
.li-btn:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }

/* Three facts from the founder's record, set as a row beneath the bio.
   They push to the bottom of the column so both sides of the grid end flush. */
.principal-copy { display: flex; flex-direction: column; }
.founder-facts {
  list-style: none; margin: auto 0 0; padding: clamp(30px, 3.4vw, 46px) 0 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 18px);
}
.ffact {
  display: flex; flex-direction: column; justify-content: space-between;
  aspect-ratio: 1; padding: clamp(16px, 1.5vw, 22px);
  background: var(--surf); border: 1px solid var(--bord);
  transition: background .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease);
}
.ffact:hover { background: var(--surf-2); border-color: var(--bord-2); transform: translateY(-3px); }
/* Two lines are reserved for the label so the three titles stay on one baseline. */
.ffact-tag {
  font-size: 10px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ice); line-height: 1.5; min-height: 3em;
}
.ffact h3 { margin-top: 12px; font-size: .98rem; font-weight: 500; letter-spacing: -.015em; line-height: 1.28; color: var(--wht); }
.ffact p:not(.ffact-tag) {
  margin-top: 10px; font-size: .8rem; line-height: 1.5; color: var(--mut-2);
}
/* The label holds the top of the square; the title and line sit at its foot. */
.ffact h3, .ffact p:not(.ffact-tag) { flex: none; }
.ffact h3 { margin-top: auto; }

/* ---- selected-projects grid (Projects) ---- */
.pgrid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 28px); margin-top: clamp(38px, 4.4vw, 62px);
}
.pj {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--bord); border-radius: 7px;
  transition: border-color .6s var(--ease), transform .6s var(--ease), box-shadow .6s var(--ease);
}
.pj-img { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg); }
.pj-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.pj-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(15,23,33,.82) 0%, rgba(15,23,33,.12) 46%, rgba(15,23,33,0) 72%);
  transition: opacity .6s var(--ease);
}
.pj-body {
  position: relative; z-index: 1; display: flex; flex-direction: column;
  padding: clamp(22px, 2.2vw, 32px);
}
.pj-tag { font-size: 10.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--ice); }
.pj-name {
  display: flex; align-items: center; gap: 12px; margin-top: 12px;
  font-size: clamp(1.2rem, 1.7vw, 1.5rem); font-weight: 400; letter-spacing: -.025em;
  line-height: 1.25; color: var(--wht);
}
.pj-name svg { flex: none; opacity: 0; transform: translateX(-8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.pj-meta { margin-top: 10px; font-size: .92rem; color: var(--mut-2); }

.pj:hover, .pj:focus-visible { border-color: var(--bord-2); transform: translateY(-5px); box-shadow: 0 40px 72px -48px rgba(0,0,0,.95); }
.pj:hover .pj-img img, .pj:focus-visible .pj-img img { transform: scale(1.06); }
.pj:hover .pj-name svg, .pj:focus-visible .pj-name svg { opacity: 1; transform: translateX(0); }
.pj.is-link:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }

/* ---- draggable rail (shared) ---- */
.rail-wrap { position: relative; }
.rail-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.rail-top .h2 { margin-top: 22px; max-width: 18ch; }
.rail-top .lead { max-width: 40ch; }
.drail {
  display: flex; gap: clamp(14px, 1.6vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory;
  margin-top: clamp(34px, 4vw, 56px); padding-inline: var(--gut); padding-bottom: 8px;
  scrollbar-width: none; -ms-overflow-style: none; cursor: grab;
}
.drail::-webkit-scrollbar { display: none; }
.drail.drag { cursor: grabbing; scroll-snap-type: none; }
.rail-bar { height: 2px; background: var(--bord); margin-top: clamp(24px, 3vw, 38px); position: relative; overflow: hidden; border-radius: 2px; }
.rail-bar i { position: absolute; inset: 0 auto 0 0; width: 22%; background: var(--ice); border-radius: 2px; transition: transform .12s linear; }

/* career cards on the rail */
.stint {
  flex: 0 0 clamp(236px, 23vw, 310px); scroll-snap-align: start; position: relative;
  padding: clamp(24px, 2.4vw, 34px); border-radius: var(--r-l);
  background: var(--surf); border: 1px solid var(--bord); border-top: 2px solid var(--bord-2);
  display: flex; flex-direction: column; min-height: clamp(220px, 20vw, 268px);
  transition: background .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
}
.stint:hover { background: var(--surf-2); border-top-color: var(--ice); transform: translateY(-4px); }
.stint .yrs { font-size: .74rem; font-weight: 800; letter-spacing: .14em; color: var(--mut-2); font-variant-numeric: tabular-nums; }
.stint h3 { margin-top: 16px; font-size: clamp(1.08rem, 1.4vw, 1.24rem); font-weight: 500; letter-spacing: -.018em; line-height: 1.3; }
.stint .org { margin-top: auto; padding-top: 22px; font-size: .9rem; color: var(--mut); }
.stint[data-now] { background: rgba(32,59,92,.3); border-top-color: var(--ice); }
.stint[data-now] .yrs { color: var(--ice); }
.stint[data-now] .yrs::after { content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 8px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 0 3px rgba(176,198,222,.2); }

/* image cards on the rail */
.shotcard {
  flex: 0 0 clamp(266px, 27vw, 400px); scroll-snap-align: start; position: relative;
  border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 3.2;
  background: var(--bg-2); border: 1px solid var(--bord); margin: 0;
}
.shotcard img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.shotcard:hover img { transform: scale(1.06); }
.shotcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,16,24,.9) 5%, rgba(10,16,24,.05) 56%); }
.shotcard figcaption { position: absolute; inset: auto 0 0; z-index: 2; padding: clamp(20px, 2.1vw, 28px); }
.shotcard figcaption span { font-size: 10.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--ice); }
.shotcard figcaption b { display: block; margin-top: 8px; font-size: 1.1rem; font-weight: 600; color: var(--wht); letter-spacing: -.018em; }

/* ---- expanding route panels ---- */
.routes { display: flex; gap: clamp(12px, 1.4vw, 20px); margin-top: clamp(38px, 4.4vw, 62px); }
.route {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden;
  padding: clamp(28px, 3vw, 44px); border-radius: 0;
  background: var(--bg-2); border: 1px solid var(--bord);
  display: flex; flex-direction: column; min-height: clamp(300px, 30vw, 420px);
  transition: flex-grow .7s var(--ease), background .6s var(--ease), border-color .6s var(--ease);
}
.route::before {
  content: ""; position: absolute; inset: auto -30% -40% auto; width: 76%; aspect-ratio: 1;
  border-radius: 50%; background: rgba(32,59,92,.5); filter: blur(60px); opacity: 0;
  transition: opacity .7s var(--ease);
}
.route:hover, .route:focus-within { flex-grow: 2.1; background: var(--surf-2); border-color: var(--bord-2); }
.route:hover::before, .route:focus-within::before { opacity: 1; }
.route > * { position: relative; z-index: 1; }
.route-icon { display: flex; align-items: flex-start; height: clamp(62px, 5.4vw, 86px); }
.route-icon img {
  display: block; width: auto; height: 100%;
  opacity: .72; transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.route:hover .route-icon img, .route:focus-within .route-icon img { opacity: 1; transform: translateY(-4px); }
.route h3 { margin-top: auto; padding-top: 28px; font-size: clamp(1.45rem, 2.1vw, 2.05rem); font-weight: 300; letter-spacing: -.03em; }
.route p { margin-top: 15px; font-size: .97rem; line-height: 1.68; color: var(--mut); max-width: 40ch; opacity: .55; transition: opacity .6s var(--ease); }
.route:hover p, .route:focus-within p { opacity: 1; }
.route .arw { margin-top: 24px; display: inline-flex; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--wht); }
.route .arw span { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--bord-2); display: grid; place-items: center; transition: .45s var(--ease); }
.route:hover .arw span, .route:focus-within .arw span { background: var(--wht); color: var(--ink); transform: rotate(-45deg); }

/* ---- project: phase timeline ---- */
.timeline { position: relative; margin-top: clamp(46px, 5.2vw, 78px); }
.timeline-track { position: relative; height: 1px; background: var(--bord); margin: 0 0 clamp(26px, 3vw, 40px); }
.timeline-track i {
  position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--brand), var(--ice));
  transition: width 1.5s var(--ease) .25s;
}
.timeline.in .timeline-track i { width: var(--progress, 62%); }
.timeline-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.2vw, 34px); }
.tstep { position: relative; padding-top: 4px; }
.tstep::before {
  content: ""; position: absolute; top: calc(-1 * clamp(26px, 3vw, 40px) - 5px); left: 0;
  width: 10px; height: 10px; border-radius: 50%; background: var(--bg); border: 1px solid var(--mut-2);
  transition: background .5s var(--ease) 1.1s, border-color .5s var(--ease) 1.1s, box-shadow .5s var(--ease) 1.1s;
}
.timeline.in .tstep[data-state="complete"]::before { background: var(--ice); border-color: var(--ice); }
.timeline.in .tstep[data-state="active"]::before { background: var(--wht); border-color: var(--wht); box-shadow: 0 0 0 5px rgba(242,245,248,.16); }
.tstep span { font-size: 10px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--mut-2); }
.tstep[data-state="complete"] span { color: var(--ice); }
.tstep[data-state="active"] span { color: var(--wht); }
.tstep h3 { margin-top: 12px; font-size: clamp(1.12rem, 1.5vw, 1.4rem); font-weight: 500; }
.tstep p { margin-top: 11px; font-size: .92rem; line-height: 1.66; color: var(--mut); }

/* ---- project: data panel ---- */
.datum { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(34px, 6vw, 96px); align-items: start; }
.datum-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(26px, 4vw, 60px); margin: 0; }
.datum-list > div { padding: 17px 0; border-bottom: 1px solid var(--bord); }
.datum-list dt { font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--mut-2); }
.datum-list dd { margin: 9px 0 0; font-size: 1.04rem; font-weight: 500; color: var(--wht); letter-spacing: -.012em; }

/* ---- project: water system ---- */
.waterworks { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 92px); align-items: center; }
.flowcard {
  padding: clamp(28px, 3.4vw, 50px); border-radius: var(--r-l);
  background: rgba(21,33,47,.7); border: 1px solid var(--bord-2);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 40px 90px -60px rgba(0,0,0,.9);
}
.flowcard > figcaption { display: flex; align-items: center; gap: 11px; padding-bottom: 24px; border-bottom: 1px solid var(--bord); font-size: 10.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--ice); }
.flowcard > figcaption::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 0 4px rgba(176,198,222,.16); }
.flow { list-style: none; margin: 26px 0 0; padding: 0; position: relative; }
.flow::before { content: ""; position: absolute; left: 23px; top: 30px; bottom: 30px; width: 1px; background: repeating-linear-gradient(var(--mut-2) 0 4px, transparent 4px 9px); }
.flow li { position: relative; display: flex; gap: 22px; align-items: center; }
.flow li + li { margin-top: 28px; }
.flow-mark {
  flex: 0 0 47px; height: 47px; display: grid; place-items: center; border-radius: 50%;
  background: var(--bg-2); border: 1px solid var(--mut-2); color: var(--ice); position: relative; z-index: 1;
  transition: border-color .5s var(--ease), color .5s var(--ease), background .5s var(--ease);
}
.flow li:hover .flow-mark { border-color: var(--ice); background: rgba(32,59,92,.5); }
.flow small { display: block; font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--mut-2); }
.flow b { display: block; margin-top: 7px; font-size: clamp(1.02rem, 1.5vw, 1.24rem); font-weight: 400; color: var(--wht); letter-spacing: -.015em; }

/* ---- contact: route picker + glass form stage ---- */
.pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 24px); margin-top: clamp(36px, 4.2vw, 58px); }
.pick a {
  text-align: left; padding: clamp(24px, 2.8vw, 38px); border-radius: var(--r-l);
  background: var(--surf); border: 1px solid var(--bord); color: inherit;
  display: flex; flex-direction: column; gap: 13px; min-height: clamp(180px, 17vw, 230px);
  transition: .5s var(--ease);
}
.pick a:hover { background: var(--surf-2); border-color: var(--bord-2); transform: translateY(-4px); }
.pick a:hover .mark { background: var(--brand); border-color: transparent; color: #fff; }
.pick a:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }
.pick .mark { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--bord-2); display: grid; place-items: center; color: var(--ice); transition: .5s var(--ease); }
.pick h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); font-weight: 400; letter-spacing: -.025em; }
.pick p { font-size: .94rem; line-height: 1.64; color: var(--mut); margin-top: auto; }

.stage-bg { position: relative; overflow: clip; background: var(--bg); padding-block: clamp(70px, 8vw, 128px); }
.stage-bg > .shot { position: absolute; inset: 0; z-index: 0; }
.stage-bg > .shot img { width: 100%; height: 100%; object-fit: cover; }
.stage-bg > .shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,23,33,.95), rgba(15,23,33,.72) 55%, rgba(15,23,33,.92)); }
.stage-bg .wrap { position: relative; z-index: 3; }
.glass-form {
  padding: clamp(30px, 4vw, 62px); border-radius: var(--r-l);
  background: rgba(15,23,33,.58); border: 1px solid var(--bord);
  backdrop-filter: blur(26px) saturate(155%); -webkit-backdrop-filter: blur(26px) saturate(155%);
  box-shadow: 0 60px 110px -70px rgba(0,0,0,.95);
}
.glass-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .74fr); gap: clamp(22px, 3.4vw, 56px); align-items: end; padding-bottom: clamp(28px, 3.2vw, 44px); margin-bottom: clamp(10px, 1.4vw, 18px); border-bottom: 1px solid var(--bord); }
.glass-head .h2 { margin-top: 20px; max-width: 16ch; }
.glass-head .lead { font-size: .99rem; max-width: 38ch; }

/* ---- direct line card ---- */
.directline {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 36px;
  margin-top: clamp(26px, 3vw, 40px); padding: clamp(22px, 2.6vw, 34px);
  border-radius: var(--r-l); background: var(--surf); border: 1px solid var(--bord);
}
.directline .who { display: flex; align-items: center; gap: 19px; }
.directline img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; flex: none; }
.directline h3 { font-size: 1.28rem; font-weight: 500; letter-spacing: -.02em; }
.directline p { margin-top: 5px; font-size: .9rem; color: var(--mut); }

/* ---- responsive ---- */
@media (max-width: 1100px) {
  .manifest-grid, .principal-grid, .datum, .waterworks { grid-template-columns: 1fr; }
  .principal-grid { gap: 40px; }
  .principal-shot { max-width: 440px; display: block; }
  .principal-shot > div { min-height: 0; }
  .founder-facts { margin-top: 0; }
  .principal-shot img { aspect-ratio: 1 / .92; height: auto; object-position: 50% 24%; }
  .principal-badge { right: clamp(-18px, -1.4vw, -10px); }
  .figures-grid { grid-template-columns: repeat(2, 1fr); }
  .fig:nth-child(3) { border-left: 0; }
  .fig:nth-child(n+3) { border-top: 1px solid var(--bord); }
  .pgrid { gap: 16px; }
  .routes { flex-direction: column; }
  .route { flex: 0 0 auto; min-height: 0; }
  .route:hover, .route:focus-within { flex-grow: 1; }
  .route p { opacity: 1; }
  .route h3 { padding-top: 20px; }
  .pick { grid-template-columns: 1fr; }
  .glass-head { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .timeline-steps { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .timeline-track { display: none; }
  .tstep::before { position: static; display: block; margin-bottom: 14px; }
}
@media (max-width: 760px) {
  .page-hero { min-height: 78svh; }
  .page-hero .wrap { padding-top: clamp(126px, 26vw, 160px); }
  .page-hero.center .wrap { padding-top: clamp(132px, 27vw, 168px); padding-bottom: clamp(48px, 9vw, 76px); }
  .project-cover { min-height: 70svh; }
  .project-cover .wrap { padding-top: clamp(124px, 25vw, 160px); }
  .project-bar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-bar-grid > div:nth-child(3) { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--bord); }
  .page-hero.center h1 { max-width: 14ch; }
  .manifest-cols { grid-template-columns: 1fr; }
  .manifest-plate { aspect-ratio: 4 / 3; }
  .datum-list { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: 1fr; }
  .figures-grid { grid-template-columns: 1fr; }
  .founder-facts { grid-template-columns: 1fr; }
  .ffact { aspect-ratio: auto; }
  .plan-note { display: none; }
  .project-cover-bg::after {
    background: linear-gradient(180deg, rgba(15,23,33,.74) 0%, rgba(15,23,33,.26) 28%, rgba(15,23,33,.8) 72%, rgba(15,23,33,.96) 100%);
  }
  .project-bar-grid { grid-template-columns: 1fr; }
  .project-bar-grid > div { border-left: 0; padding-left: 0; padding-right: 0; border-top: 1px solid var(--bord); }
  .project-bar-grid > div:first-child { border-top: 0; }
  .fig { border-left: 0; }
  .fig + .fig { border-top: 1px solid var(--bord); }
  .fig:nth-child(n+3) { border-top: 1px solid var(--bord); }
  .timeline-steps { grid-template-columns: 1fr; }
  .flow li { gap: 16px; }
  .stint { flex-basis: 74vw; }
  .shotcard { flex-basis: 78vw; }
  .directline { align-items: flex-start; }
}

/* ===========================================================
   What We Do — card grid for the work, and the org-chart table.
   =========================================================== */

/* Accessible-only text (table caption). */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ---- cover: the land/lots comparison, edge to edge and full height ---- */
.cover-wide { padding: 0; background: var(--bg); }
.cover-wide .land-study { position: relative; margin: 0; }
.cover-wide .comparison {
  aspect-ratio: auto; height: 100svh; min-height: 460px; border-radius: 0;
}
/* The fixed header sits over the photograph, so darken the top of the frame. */
.cover-wide .comparison::before {
  content: ""; position: absolute; z-index: 1; inset: 0 0 auto; height: clamp(130px, 18vh, 220px);
  background: linear-gradient(rgba(15,23,33,.78), rgba(15,23,33,0)); pointer-events: none;
}
.cover-wide .comparison::after { inset: 58% 0 0; }
.cover-wide .comparison-labels {
  inset: auto clamp(20px, 4.6vw, 68px) clamp(66px, 7vw, 92px);
  font-size: clamp(.82rem, 1.1vw, .98rem); letter-spacing: .01em;
}
.cover-wide .land-study figcaption {
  position: absolute; z-index: 2; inset: auto 0 0; margin: 0;
  padding: 0 clamp(20px, 4.6vw, 68px) clamp(24px, 3vw, 38px);
  color: var(--paper-2); font-size: .8rem;
}

/* ---- the work: editorial masthead ---- */
.work-section { padding-block: clamp(66px, 8vw, 122px); }
.work-intro { border-top: 1px solid rgba(32,59,92,.18); padding-top: clamp(20px, 2.2vw, 30px); }
.work-intro-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(26px, 4.6vw, 78px); align-items: end; margin-top: clamp(26px, 3.2vw, 48px);
}
.work-h1 {
  margin: 0; max-width: 23ch;
  font-size: clamp(2.2rem, 4.2vw, 3.7rem); font-weight: 250; letter-spacing: -.036em; line-height: 1.05;
}
.work-h1 em { font-style: italic; font-weight: 250; color: var(--brand); }
.work-intro-aside { border-left: 1px solid rgba(32,59,92,.18); padding-left: clamp(20px, 2.6vw, 38px); }
.work-intro-aside p { max-width: 48ch; font-size: 1.04rem; line-height: 1.75; }
.work-intro-aside p + p { margin-top: 16px; }
.work-intro-meta {
  display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: clamp(20px, 2.2vw, 30px);
  font-size: 10.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--brand);
}
.work-intro-meta span { display: inline-flex; align-items: center; gap: 10px; }
.work-intro-meta span::before { content: ""; width: 5px; height: 5px; background: currentColor; }

/* ---- the work: six rectangular cards ---- */
.work-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 26px); margin-top: clamp(40px, 5vw, 72px);
}
.work-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid rgba(32,59,92,.13); border-radius: 0;
  transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-color .55s var(--ease);
  scroll-margin-top: 120px;
}
/* A rule draws itself across the head of the card on hover. */
.work-card::before {
  content: ""; position: absolute; z-index: 3; inset: 0 auto auto 0; height: 2px; width: 0;
  background: var(--brand); transition: width .65s var(--ease);
}
.work-card:hover {
  transform: translateY(-6px);
  border-color: rgba(32,59,92,.3);
  box-shadow: 0 30px 60px -34px rgba(15,23,33,.55);
}
.work-card:hover::before { width: 100%; }
.work-figure { position: relative; margin: 0; overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.work-figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.work-card:hover .work-figure img { transform: scale(1.06); }
.work-figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(190deg, rgba(15,23,33,.34) 0 22%, rgba(15,23,33,0) 62%);
  pointer-events: none;
}
/* The index sits as a square tab in the corner, flush with both edges. */
.work-no {
  position: absolute; z-index: 2; inset: 0 auto auto 0;
  display: grid; place-items: center; width: clamp(42px, 3.6vw, 52px); height: clamp(42px, 3.6vw, 52px);
  background: var(--brand); color: #fff;
  font-size: .72rem; font-weight: 800; letter-spacing: .1em; font-variant-numeric: tabular-nums;
}
.work-body {
  flex: 1; display: flex; flex-direction: column;
  padding: clamp(24px, 2.4vw, 34px) clamp(22px, 2.2vw, 32px) clamp(28px, 2.8vw, 38px);
}
.work-phase {
  font-size: 10px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase;
  color: var(--brand); opacity: .72;
}
.work-card h3 {
  margin-top: 12px; font-size: clamp(1.14rem, 1.45vw, 1.38rem); font-weight: 450;
  letter-spacing: -.022em; line-height: 1.24; transition: color .45s var(--ease);
}
.work-card:hover h3 { color: var(--brand); }
.work-copy {
  margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(32,59,92,.14);
  font-size: .96rem; line-height: 1.7; color: var(--ink-mut);
}

/* ---- the work: fee development runs the full width, inverted ---- */
.work-feature {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  background: linear-gradient(104deg, #16273d 0%, var(--brand) 54%, #27486e 100%);
  border-color: rgba(32,59,92,.36);
  box-shadow: 0 34px 72px -42px rgba(15,23,33,.65);
}
/* Its rule stays drawn rather than waiting for a hover. */
.work-feature::before { width: 100%; background: var(--ice); }
.work-feature:hover { border-color: rgba(32,59,92,.55); }
.work-feature .work-figure { aspect-ratio: auto; height: 100%; min-height: clamp(190px, 16vw, 240px); }
/* The photo dissolves into the panel instead of stopping at an edge. */
.work-feature .work-figure::after {
  background:
    linear-gradient(95deg, rgba(15,23,33,0) 44%, rgba(22,39,61,.55) 80%, #1e3655 100%),
    linear-gradient(190deg, rgba(15,23,33,.3) 0 20%, rgba(15,23,33,0) 58%);
}
.work-feature .work-no { background: var(--ice); color: var(--brand); }
.work-feature .work-body {
  justify-content: center;
  padding: clamp(24px, 2.3vw, 34px) clamp(24px, 2.8vw, 44px);
}
.work-feature .work-phase { color: var(--ice); opacity: 1; }
/* No ch cap here — at this size it would wrap the headline into a narrow
   column and leave the panel half empty. The panel itself sets the measure. */
.light .work-feature h3, .light .work-feature:hover h3 {
  color: #fff; max-width: none;
  font-size: clamp(1.32rem, 1.8vw, 1.74rem); font-weight: 300; line-height: 1.16;
}
.work-feature .work-copy {
  margin-top: 14px; padding-top: 14px;
  color: var(--mut); border-top-color: rgba(255,255,255,.2);
}
.work-feature-act { margin-top: clamp(16px, 1.6vw, 22px); }

/* ---- under one roof: the org chart as a table ---- */
/* The statement sits in the right-hand column; the left stays open. */
.roof-intro { display: grid; grid-template-columns: minmax(0, .55fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); }
.roof-intro > div { grid-column: 2; }
.roof-intro .statement { max-width: 20ch; }
.roof-intro .body-copy { margin-top: 26px; }
.roof-table-wrap {
  margin-top: clamp(34px, 4vw, 58px); border: 1px solid var(--bord);
  border-radius: var(--r-l); overflow: hidden; background: var(--surf);
}
.roof-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.roof-table thead th {
  text-align: left; padding: 16px clamp(16px, 1.8vw, 26px);
  font-size: 10.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ice); background: rgba(255,255,255,.055); border-bottom: 1px solid var(--bord-2);
  white-space: nowrap;
}
.roof-table tbody tr { transition: background .35s var(--ease); }
.roof-table tbody tr:hover { background: var(--surf-2); }
.roof-table tbody th, .roof-table tbody td {
  padding: 15px clamp(16px, 1.8vw, 26px); border-top: 1px solid var(--bord); vertical-align: middle;
}
.roof-table tbody tr:first-child th, .roof-table tbody tr:first-child td { border-top: 0; }
.roof-table tbody th {
  text-align: left; font-size: 1rem; font-weight: 500; color: var(--wht); letter-spacing: -.01em;
}
.roof-phase { font-size: .86rem; color: var(--mut-2); }
.roof-tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 700; letter-spacing: .03em; white-space: nowrap;
}
.roof-tag.is-in { background: rgba(176,198,222,.12); border: 1px solid rgba(176,198,222,.34); color: var(--wht); }
.roof-tag.is-out { border: 1px dashed var(--bord-2); color: var(--mut-2); }
.roof-check { color: var(--ice); flex: none; }

@media (max-width: 1100px) {
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roof-intro { grid-template-columns: 1fr; }
  .roof-intro > div { grid-column: 1; }
  .roof-intro .statement { max-width: 24ch; }
  .work-intro-grid { grid-template-columns: 1fr; align-items: start; gap: 26px; }
  .work-h1 { max-width: 20ch; }
  .work-intro-aside { border-left: 0; padding-left: 0; }
}
@media (max-width: 860px) {
  /* The feature card drops its photo above the copy. */
  .work-feature { grid-template-columns: 1fr; }
  .work-feature .work-figure { aspect-ratio: 16 / 9; min-height: 0; }
  .work-feature .work-figure::after {
    background: linear-gradient(185deg, rgba(15,23,33,.3) 0 18%, rgba(15,23,33,0) 52%, #1e3655 100%);
  }
  /* The table re-sets itself as stacked cells, each still carrying its heading. */
  .roof-table-wrap { background: transparent; border: 0; border-radius: 0; }
  .roof-table, .roof-table tbody, .roof-table tr, .roof-table th, .roof-table td { display: block; }
  .roof-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .roof-table tbody tr {
    border: 1px solid var(--bord); border-radius: 16px; background: var(--surf);
    padding: 6px 4px; margin-top: 12px;
  }
  .roof-table tbody tr:first-child { margin-top: 0; }
  .roof-table tbody th, .roof-table tbody td {
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
    padding: 11px 18px; border-top: 0;
  }
  .roof-table tbody th { padding-bottom: 4px; }
  .roof-table tbody td::before {
    content: attr(data-label); font-size: 10.5px; font-weight: 800; letter-spacing: .18em;
    text-transform: uppercase; color: var(--mut-2);
  }
}
@media (max-width: 640px) {
  .work-grid { grid-template-columns: 1fr; }
  .cover-wide .comparison { height: 86svh; }
}
