/* Leap High Construction — site styles. Tokens first; everything below references them. */
:root {
  --bg: #d9e3ef;
  --surface: #c8d6e6;
  --surface-2: #b6c8dc;
  --ink: #0c1a2e;
  --muted: #3a4859;
  --silver: #8e99a7;
  --accent: #1463e6;
  --accent-hover: #2a72ee;
  --accent-ink: #ffffff;
  --paper: #0c1f3f;      /* footer ground: deep brand navy */
  --paper-ink: #f1f5fa;
  --paper-muted: #b3c0d2;
  --blue-1: #071a3d;
  --blue-2: #0b2b66;
  --blue-3: #103f94;
  --blue-4: #1658c7;
  --blue-5: #1f7aff;

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --t-mon: clamp(64px, 13.4vw, 250px);
  --t-h2: clamp(30px, 3.4vw, 52px);
  --t-st: clamp(22px, 2.2vw, 34px);
  --t-body: 18px;
  --t-small: 14px;

  --m: clamp(16px, 2.2vw, 32px);
  --gap: clamp(14px, 1.6vw, 24px);
  --section: clamp(96px, 12vw, 200px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
  --t-reveal: 800ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 120px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: var(--t-body); line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: -60px; z-index: 50; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { padding-inline: var(--m); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.section { padding-block: var(--section); }

h2, .h2 { font-size: var(--t-h2); font-weight: 800; line-height: 1.04; letter-spacing: -0.03em; }
h3 { font-size: var(--t-body); font-weight: 700; line-height: 1.3; }
.statement { font-size: var(--t-st); font-weight: 500; line-height: 1.25; letter-spacing: -0.015em; }
.small { font-size: var(--t-small); line-height: 1.5; }
.muted { color: var(--muted); }
.lead { font-size: 20px; line-height: 1.5; font-weight: 500; }
p + p { margin-top: 1em; }

/* Buttons: square corners, one fill. */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 14px 24px;
  background: var(--accent); color: var(--accent-ink); font: 700 16px/1.2 var(--font);
  text-decoration: none; border: 0; cursor: pointer;
  transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; transition: transform var(--t-hover) var(--ease-out); }
.btn:hover svg { transform: translate(3px, -3px); }
.btn.alt { background: var(--surface-2); color: var(--ink); }
.btn.alt:hover { background: #a5bbd3; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.link { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--accent); transition: color var(--t-hover) ease, text-underline-offset var(--t-hover) var(--ease-out); }
.link:hover { color: var(--accent-hover); text-underline-offset: 9px; }

/* ---------- Header ---------- */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 12px var(--m); background: #ffffff; color: var(--ink);
  transition: padding var(--t-ui) var(--ease-out), background-color var(--t-ui) ease;
}
.site-head.scrolled { padding-block: 8px; background: #ffffff; box-shadow: 0 6px 24px rgba(12,26,46,.08); } /* taste-skill-ignore: sticky bar floats over content */ /* compact once the page moves */
.brand img { transition: height var(--t-ui) var(--ease-out); }
.site-head.scrolled .brand img { height: 54px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 70px; width: auto; }
.brand span { font-weight: 800; font-size: 16px; letter-spacing: 0.01em; line-height: 1.1; }
.brand span b { display: block; font-weight: 500; color: var(--muted); font-size: 14px; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); }
.nav a { text-decoration: none; font-weight: 600; font-size: 16px; position: relative; padding: 6px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--t-hover) var(--ease-out); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { padding: 12px 18px; min-height: 46px; }
.menu-btn { display: none; background: var(--ink); color: #ffffff; border: 0; font: 700 16px var(--font); padding: 12px 16px; min-height: 46px; cursor: pointer; }
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; top: 100%; left: var(--m); right: var(--m); flex-direction: column; align-items: stretch; gap: 0; background: #ffffff; padding: 12px 20px 20px; box-shadow: 0 24px 48px rgba(12,26,46,.18); } /* taste-skill-ignore: menu overlay floats */
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; font-size: 18px; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 10px; justify-content: center; }
  .brand img { height: 56px; }
  .site-head.scrolled .brand img { height: 46px; }
}

/* ---------- Home hero: pinned name over changing portraits ---------- */
.hero { position: relative; height: 300svh; }
.hero-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--frame-bg, var(--bg)); transition: background-color 700ms ease; }
.hero-title {
  position: absolute; z-index: 3; left: 0; right: 0; top: clamp(112px, 15vh, 150px);
  text-align: center; font-weight: 900; font-size: var(--t-mon); line-height: 0.82;
  letter-spacing: -0.045em; text-transform: uppercase; white-space: nowrap; color: var(--ink);
  pointer-events: none;
}
.frames { position: absolute; z-index: 1; left: 50%; transform: translateX(-50%); width: min(37vw, 560px); top: calc(clamp(112px, 15vh, 150px) + 0.82 * var(--t-mon) + 28px); bottom: 0; }
.frame { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 700ms ease; }
.frame.on, .no-js .frame:first-child { opacity: 1; }
.frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 6s var(--ease-soft); }
.frame.on img { transform: scale(1); }
.frame figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 18px 18px; color: #fff; background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,0)); font-weight: 700; font-size: 16px; } /* taste-skill-ignore: neutral scrim under caption on photo */
.hero-copy { position: absolute; z-index: 4; left: var(--m); bottom: 32px; max-width: 27ch; }
.hero-copy p { font-weight: 700; font-size: 18px; line-height: 1.4; }
.hero-copy .muted { font-weight: 500; margin-top: 10px; }
.hero-act { position: absolute; z-index: 4; right: var(--m); bottom: 32px; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.hero-count { display: flex; gap: 8px; }
.hero-count i { width: 26px; height: 4px; background: rgba(12,26,46,.22); transition: background-color 300ms ease; }
.hero-count i.on { background: var(--accent); }
@media (max-width: 760px) {
  .hero { height: 280svh; }
  .hero-title { top: 104px; font-size: 16.4vw; }
  .frames { width: calc(100% - 32px); top: calc(104px + 13.5vw + 20px); bottom: 178px; }
  .hero-copy { bottom: 92px; max-width: none; right: var(--m); }
  .hero-copy p { font-size: 16px; }
  .hero-copy .muted { display: none; }
  .hero-act { bottom: 24px; left: var(--m); flex-direction: row-reverse; justify-content: space-between; align-items: center; }
  .hero-act .btn { padding: 12px 16px; font-size: 16px; white-space: nowrap; }
  .hero-count { display: none; }
}

/* ---------- Inner page hero: name with a picture set between the words ---------- */
.page-hero { padding: clamp(140px, 20vh, 200px) var(--m) clamp(64px, 8vw, 120px); }
.mon {
  display: flex; align-items: center; justify-content: space-between; gap: 0.12em;
  font-weight: 900; font-size: var(--mon, clamp(54px, 12.6vw, 236px)); line-height: 0.82; letter-spacing: -0.045em;
  text-transform: uppercase; white-space: nowrap;
}
.mon .inset { flex: 1 1 auto; height: 0.74em; min-width: 0.9em; overflow: hidden; align-self: center; }
.mon .inset img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .sub { margin-top: clamp(40px, 5vw, 72px); }
.page-hero .sub .statement { grid-column: 1 / span 6; }
.page-hero .sub .body { grid-column: 7 / span 5; }
@media (max-width: 760px) {
  .page-hero { padding-top: 120px; }
  .mon { font-size: calc(var(--mon-m, 14.5vw)); }
  .mon[style*="9.4vw"] { --mon-m: 11vw; }
  .page-hero .sub .statement, .page-hero .sub .body { grid-column: 1 / -1; }
  .page-hero .sub .body { margin-top: 24px; }
}

/* ---------- Split: heading left, text right ---------- */
.split .grid > :first-child { grid-column: 1 / span 5; }
.split .grid > :last-child { grid-column: 7 / span 5; }
.split .actions { margin-top: 36px; }
@media (max-width: 760px) { .split .grid > * { grid-column: 1 / -1 !important; } .split .grid > :last-child { margin-top: 28px; } }

/* ---------- Right-half paragraph, lone photo ---------- */
.half { padding-block: var(--section); }
.half .text { grid-column: 7 / span 6; }
.half .text h2 { margin-bottom: 28px; }
.half .text .statement { text-indent: 3em; }
.lead-st { font-weight: 800; letter-spacing: -0.02em; }
.half .text .statement + p { margin-top: 28px; max-width: 60ch; }
.half .photo { grid-column: 1 / span 4; margin-top: 64px; }
.half .photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.half .note { grid-column: 1 / span 3; margin-top: 28px; max-width: 30ch; }
@media (max-width: 760px) {
  .half .text { grid-column: 1 / -1; }
  .half .text .statement { text-indent: 0; }
  .half .photo { grid-column: 4 / -1; margin-top: 40px; }
  .half .photo img { aspect-ratio: 4 / 5; }
  .half .note { grid-column: 1 / -1; margin-top: 24px; max-width: none; }
}

/* ---------- One-size name columns (services index) ---------- */
.names { padding-block: clamp(120px, 18vh, 220px); }
.names h2 { font-size: clamp(26px, 2.2vw, 32px); margin-bottom: 72px; }
.names .cols { grid-column: 1 / span 8; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px var(--gap); }
.names .col h3 { font-size: 18px; margin-bottom: 18px; }
.names .col h3 a { text-decoration: none; }
.names .col li { font-size: 16px; line-height: 1.3; color: var(--muted); padding: 3px 0; cursor: default; transition: color var(--t-hover) ease; }
.names .col li:hover, .names .col li.on { color: var(--ink); }
.names .col .sum { display: none; font-size: 16px; color: var(--muted); margin-top: 14px; }
.names .desc { grid-column: 10 / span 3; }
.names .desc .lede { font-weight: 700; margin-bottom: 10px; }
.names .desc p { font-size: 18px; }
.names .more { margin-top: 64px; grid-column: 1 / -1; }
@media (max-width: 1000px) { .names .cols { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); } .names .desc { grid-column: 1 / -1; margin-top: 48px; } }
@media (max-width: 600px) {
  .names h2 { font-size: 24px; margin-bottom: 48px; }
  .names .cols { grid-template-columns: 1fr; }
  .names .col li { font-size: 18px; line-height: 1.4; }
  .names .col .sum { display: block; }
  .names .desc { display: none; }
}

/* ---------- Live thing: stack your home ---------- */
.stack { background: var(--surface); padding-block: var(--section); }
.stack .intro { grid-column: 1 / span 5; }
.stack .intro p { margin-top: 20px; max-width: 46ch; }
.stack .controls { grid-column: 1 / span 5; margin-top: 40px; }
.stack fieldset { border: 0; margin: 0 0 28px; padding: 0; }
.stack legend { font-weight: 700; margin-bottom: 12px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 16px; background: var(--surface-2); font-weight: 700; font-size: 16px; cursor: pointer; transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.chips label:hover span { background: #a5bbd3; }
.chips input:checked + span { background: var(--ink); color: var(--bg); }
.chips input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.chips label:active span { transform: scale(0.96); }
.stack .readout { margin-top: 8px; }
.stack .figure { font-size: var(--t-h2); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.stack .readout .small { margin-top: 10px; max-width: 46ch; }
.stack .readout { margin-bottom: 36px; }
.stack .go { margin-top: 4px; }
.stack .draw { grid-column: 7 / span 6; grid-row: 1 / span 3; align-self: end; background: #ffffff; padding: 40px 32px 0; }
.stack .draw svg { width: 100%; height: auto; }
.stack .draw .cap { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0 20px; }
.house-floor { transition: transform 600ms var(--ease-out), opacity 400ms ease; }
@media (max-width: 860px) {
  .stack .intro, .stack .controls, .stack .draw { grid-column: 1 / -1; grid-row: auto; }
  .stack .draw { margin-top: 40px; padding: 24px 16px 0; order: 2; }
}

/* ---------- Pinned title, portraits pass (title left, pictures right) ---------- */
.pass { position: relative; padding-bottom: var(--section); }
.pass > .grid { align-items: start; }
.pass-head { grid-column: 1 / span 6; position: sticky; top: 0; height: 100svh; padding-top: 96px; display: flex; align-items: center; }
.pass-head h2 { font-size: clamp(64px, 10vw, 170px); font-weight: 900; line-height: 0.85; letter-spacing: -0.045em; text-transform: uppercase; }
.pass-items { grid-column: 7 / span 6; padding-top: 30svh; }
.pass-item { width: 72%; margin-bottom: 22svh; }
.pass-item:nth-child(even) { margin-left: auto; }
.pass-item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pass-item h3 { margin-top: 18px; font-size: 18px; }
.pass-item p { margin-top: 6px; max-width: 34ch; font-size: 18px; }
.pass-close .statement { grid-column: 3 / span 8; }
@media (max-width: 760px) {
  .pass-head { grid-column: 1 / -1; position: static; height: auto; padding-top: var(--section); }
  .pass-head h2 { font-size: 17vw; }
  .pass-items { grid-column: 1 / -1; padding-top: 40px; }
  .pass-item { width: 78%; margin-bottom: 48px; }
  .pass-close .statement { grid-column: 1 / -1; font-size: var(--t-body); font-weight: 600; }
}

/* ---------- Accordion of tinted panels ---------- */
.steps .intro h2 { grid-column: 1 / span 5; }
.steps .intro p { grid-column: 7 / span 5; }
.acc { display: flex; height: 540px; margin-top: 64px; }
.acc-panel { position: relative; flex: 0 0 8%; overflow: hidden; transition: flex-basis 450ms var(--ease-in-out); color: #ffffff; }
.acc-panel.open { flex: 1 1 auto; }
.acc-panel:nth-child(1) { background: var(--blue-1); }
.acc-panel:nth-child(2) { background: var(--blue-2); }
.acc-panel:nth-child(3) { background: var(--blue-3); }
.acc-panel:nth-child(4) { background: var(--blue-4); }
.acc-panel:nth-child(5) { background: var(--blue-5); }
.acc-panel > button { position: absolute; inset: 0; width: 100%; background: transparent; border: 0; color: inherit; cursor: pointer; font: inherit; text-align: left; padding: 0; }
.acc-panel > button span { position: absolute; left: 24px; bottom: 24px; font-weight: 700; font-size: 18px; white-space: nowrap; transform-origin: left bottom; transform: rotate(-90deg) translate(0, 100%); transition: opacity 200ms ease; }
.acc-panel > button:hover span { text-decoration: underline; text-underline-offset: 6px; }
.acc-panel.open > button { pointer-events: none; }
.acc-panel.open > button span { opacity: 0; }
.acc-body { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; opacity: 0; visibility: hidden; transition: opacity 300ms ease 150ms; }
.acc-panel.open .acc-body { opacity: 1; visibility: visible; }
.acc-text { padding: 32px; display: flex; flex-direction: column; justify-content: space-between; min-width: 300px; }
.acc-text h3 { font-size: clamp(28px, 2.8vw, 40px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }
.acc-text p { max-width: 36ch; }
.acc-body img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .steps .intro h2, .steps .intro p { grid-column: 1 / -1; }
  .steps .intro p { margin-top: 20px; }
  .acc { flex-direction: column; height: auto; margin-top: 40px; }
  .acc-panel { flex: none; min-height: 64px; }
  .acc-panel > button { position: relative; height: 64px; }
  .acc-panel > button span { transform: none; left: 20px; bottom: auto; top: 50%; translate: 0 -50%; font-size: 18px; }
  .acc-panel.open > button { display: none; }
  .acc-body { position: static; display: none; grid-template-columns: 1fr; }
  .acc-panel.open .acc-body { display: grid; }
  .acc-text { min-width: 0; padding: 24px 20px; gap: 16px; }
  .acc-text p { font-size: 18px; }
  .acc-body img { height: 220px; }
}

/* ---------- CTA band: one word is the button ---------- */
.band {
  display: grid; grid-template-rows: auto 1fr; min-height: 62svh; padding: 28px var(--m) 20px;
  background: var(--accent); color: var(--accent-ink); text-decoration: none; position: relative; z-index: 2;
}
.band-top { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.band-top p { font-size: 18px; font-weight: 600; max-width: 40ch; }
.band-top svg { width: 48px; height: 48px; flex: none; transition: transform var(--t-hover) var(--ease-out); }
.band-word { width: max-content; align-self: end; font-weight: 900; font-size: var(--band-size, 27vw); line-height: 0.76; letter-spacing: -0.05em; text-transform: uppercase; white-space: nowrap; margin-left: -0.04em; }
.band:hover, .band:focus-visible { background: var(--ink); color: var(--bg); }
.band:hover svg { transform: translate(6px, -6px); }
.band:focus-visible { outline-offset: -6px; }
@media (max-width: 760px) { .band { min-height: 46svh; } .band-top p { font-size: 18px; } .band-top svg { width: 32px; height: 32px; } }

/* ---------- Footer: columns above, wordmark below ---------- */
.foot-wrap { position: relative; }
.site-foot {
  position: sticky; bottom: 0; z-index: 0; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto;
  background: var(--paper); color: var(--paper-ink); padding: 130px var(--m) 20px;
}
.page-body { position: relative; z-index: 1; background: var(--bg); }
.site-foot .cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 32px; }
.site-foot .cols > div { grid-column: span 3; font-size: 16px; }
.foot-logo { display: inline-block; background: #ffffff; padding: 14px 18px; margin-bottom: 16px; }
.foot-logo img { width: 190px; height: auto; }
.site-foot .cols b { display: block; font-weight: 700; margin-bottom: 6px; }
.site-foot .cols li, .site-foot .cols p { color: var(--paper-muted); }
.site-foot a { text-decoration: none; transition: color var(--t-hover) ease; }
.site-foot a:hover { color: #8fb9ff; }
.foot-word { width: 100%; height: auto; margin-bottom: 18px; }
.foot-word text { fill: var(--paper-ink); font-family: var(--font); font-weight: 900; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 14px; color: var(--paper-muted); }
.pending { font-style: italic; }
@media (max-width: 760px) { .site-foot .cols > div { grid-column: span 6; font-size: 16px; } }

/* ---------- Services page blocks ---------- */
.svc { padding-block: var(--section); }
.svc + .svc { padding-top: 0; }
.svc .head h2 { margin-bottom: 14px; }
:is(.svc, .svc-field) .scope li { padding: 7px 0; display: flex; gap: 12px; }
:is(.svc, .svc-field) .scope li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 9px; background: var(--accent); }
:is(.svc, .svc-field) .scope { margin-top: 24px; }
:is(.svc, .svc-field) .ideal { margin-top: 28px; padding: 20px 22px; background: var(--surface-2); }
:is(.svc, .svc-field) .ideal b { display: block; }
.svc-wide .bleed img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.svc-wide .grid { margin-top: 56px; }
.svc-wide .head { grid-column: 1 / span 5; }
.svc-wide .body { grid-column: 7 / span 6; }
.svc-left .grid { align-items: start; }
.svc-left .pic { grid-column: 1 / span 6; position: sticky; top: 120px; }
.svc-left .pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.svc-left .body { grid-column: 8 / span 5; padding-top: 24px; }
.svc-pair .body { grid-column: 1 / span 5; }
.svc-pair .pics { grid-column: 7 / span 6; display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--gap); align-items: end; }
.svc-pair .pics img { width: 100%; object-fit: cover; }
.svc-pair .pics img:first-child { aspect-ratio: 3 / 4; }
.svc-pair .pics img:last-child { aspect-ratio: 1; }
.svc-field { background: var(--surface); padding-block: var(--section); }
.svc-field .pic { grid-column: 8 / span 5; grid-row: 1; }
.svc-field .pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.svc-field .body { grid-column: 1 / span 6; grid-row: 1; }
@media (max-width: 860px) {
  .svc-wide .head, .svc-wide .body, .svc-left .pic, .svc-left .body, .svc-pair .body, .svc-pair .pics, .svc-field .pic, .svc-field .body { grid-column: 1 / -1; grid-row: auto; position: static; }
  .svc-wide .bleed img { aspect-ratio: 4 / 3; }
  .svc-wide .body, .svc-left .body, .svc-pair .pics, .svc-field .body { margin-top: 32px; }
}

/* ---------- About page ---------- */
.bleed-pic img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
@media (max-width: 760px) { .bleed-pic img { aspect-ratio: 4 / 3; } }
.mv { background: var(--surface); padding-block: var(--section); }
.mv .grid > div { grid-column: span 6; }
.mv h2 { margin-bottom: 24px; }
@media (max-width: 760px) { .mv .grid > div { grid-column: 1 / -1; } .mv .grid > div + div { margin-top: 56px; } }
.diff .head { grid-column: 1 / span 6; }
.diff .head p { margin-top: 24px; max-width: 52ch; }
.diff .list { grid-column: 1 / span 6; margin-top: 40px; }
.diff .list li { font-size: clamp(20px, 1.7vw, 26px); font-weight: 600; line-height: 1.3; padding: 12px 0; letter-spacing: -0.01em; }
.diff .pic { grid-column: 8 / span 5; grid-row: 1 / span 3; align-self: end; }
.diff .pic img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.diff .after { grid-column: 1 / span 6; margin-top: 36px; }
@media (max-width: 860px) { .diff .head, .diff .list, .diff .pic, .diff .after { grid-column: 1 / -1; grid-row: auto; } .diff .pic { margin-top: 40px; } }

/* ---------- Leadership ---------- */
.lead-intro h2 { grid-column: 1 / span 5; }
.lead-intro p { grid-column: 7 / span 5; }
.lead-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-top: 72px; }
.lead-card { grid-column: 1 / span 5; }
.lead-card + .lead-card { grid-column: 7 / span 5; margin-top: 160px; }
.lead-pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.lead-card h3 { font-size: var(--t-h2); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin-top: 28px; }
.lead-card .role { font-weight: 700; color: var(--accent); margin-top: 8px; }
.lead-card .quote { font-size: 22px; font-weight: 600; line-height: 1.3; margin: 20px 0 14px; }
.lead-card .btn { margin-top: 24px; }
dialog.bio { width: min(760px, calc(100vw - 32px)); max-height: calc(100svh - 48px); padding: clamp(24px, 4vw, 48px); border: 0; background: #ffffff; color: var(--ink); box-shadow: 0 30px 80px rgba(12,26,46,.35); } /* taste-skill-ignore: dialog floats */
dialog.bio::backdrop { background: rgba(12,26,46,.6); }
dialog.bio[open] { animation: rise 320ms var(--ease-out); }
.bio-head { display: flex; gap: 24px; align-items: center; margin-bottom: 28px; }
.bio-head img { width: 120px; aspect-ratio: 4 / 5; object-fit: cover; flex: none; }
.bio-head h2 { font-size: clamp(26px, 3vw, 40px); }
.bio-head .role { font-weight: 700; color: var(--accent); margin-top: 6px; }
.bio-head .muted { margin-top: 6px; }
.bio-body p { max-width: 64ch; }
.bio-body .quote { font-size: 22px; font-weight: 700; margin-top: 24px; }
dialog.bio form { margin-top: 32px; }
@media (max-width: 760px) {
  .lead-intro h2, .lead-intro p { grid-column: 1 / -1; }
  .lead-intro p { margin-top: 16px; }
  .lead-grid { margin-top: 40px; row-gap: 64px; }
  .lead-card, .lead-card + .lead-card { grid-column: 1 / -1; margin-top: 0; }
  .bio-head { flex-direction: column; align-items: flex-start; }
}

/* ---------- Contact page ---------- */
.contact .side { grid-column: 1 / span 5; }
.contact .side h2 { font-size: clamp(26px, 2.4vw, 36px); margin-bottom: 20px; }
.contact .side ul li { padding: 6px 0; font-size: 18px; font-weight: 600; }
.contact .side .block + .block { margin-top: 64px; }
.contact dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 12px 20px; }
.contact dt { font-weight: 700; }
.contact dd { margin: 0; color: var(--muted); }
.contact .side .logo { width: 300px; margin-top: 40px; padding: 20px 24px; background: #ffffff; }
.form { grid-column: 7 / span 6; background: var(--surface); padding: clamp(24px, 3vw, 48px); }
.form h2 { font-size: clamp(26px, 2.4vw, 36px); }
.form > p { margin-top: 12px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.fields .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; font: 500 17px var(--font); color: var(--ink);
  background: #ffffff; border: 1px solid #9fb2c8; border-radius: 0; transition: border-color var(--t-hover) ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #8a96a6; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; }
.form .btn { margin-top: 28px; }
.form .consent { margin-top: 16px; }
.form-status { margin-top: 16px; font-weight: 600; }
@media (max-width: 860px) { .contact .side, .form { grid-column: 1 / -1; } .form { margin-top: 64px; } .fields { grid-template-columns: 1fr; } }
.first-step .pic { grid-column: 1 / span 5; }
.first-step .pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.first-step .text { grid-column: 7 / span 5; align-self: center; }
.first-step .text p { margin-top: 20px; }
.first-step .text .statement { margin-top: 28px; }
@media (max-width: 760px) { .first-step .pic, .first-step .text { grid-column: 1 / -1; } .first-step .text { margin-top: 32px; } }

/* ---------- Motion: entrances (content stays visible without script) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js [data-mask] { overflow: hidden; }
  .js [data-mask] img { clip-path: inset(38% 0 0 0); opacity: 0.2; transform: scale(1.12); transition: clip-path 1100ms var(--ease-out), opacity 700ms ease, transform 1600ms var(--ease-soft); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-mask].is-in img { clip-path: inset(0 0 0 0); opacity: 1; transform: scale(1); }
  .js .rise { opacity: 0; transform: translateY(20px); animation: rise var(--t-reveal) var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 120ms); }
  .js .hero-title.rise { transform: translateY(0.3em); }
  .drift { animation: drift 18s ease-in-out infinite alternate; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.1) translate(-1.5%, -1%); } }
@media (prefers-reduced-motion: reduce) {
  .frame img, .js [data-mask] img { transform: none !important; transition: none !important; }
  .frame { transition: none; }
}
