/* Crewzz: calm, editorial owner's-advocate system.
   Ink + paper, with the logo's three stripes used only as a marker of "the parts". */

:root {
  --ink: #073b4c;
  --ink-deep: #042a37;
  --ink-soft: #0d4a5e;
  --paper: #f6f3ed;
  --paper-2: #ede8df;
  --card: #fffdf9;
  --text: #102a33;
  --muted: #4a5d63;
  --line: rgba(7, 59, 76, 0.14);
  --line-strong: rgba(7, 59, 76, 0.28);
  --on-ink: #f3efe7;
  --on-ink-muted: rgba(243, 239, 231, 0.72);
  --on-ink-line: rgba(243, 239, 231, 0.16);
  --red: #e75465;
  --yellow: #ffbe0a;
  --green: #52cca9;
  --red-text: #b8303f;

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Inter Tight", "Helvetica Neue", Arial, system-ui, sans-serif;

  --gutter: clamp(1rem, 4vw, 3rem);
  --wrap: 76rem;
  --wrap-narrow: 46rem;
  --radius: 0.375rem;
  --section: clamp(4.5rem, 9vw, 8.5rem);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Scale the whole system up on large monitors and TVs. */
@media (min-width: 1680px) { html { font-size: 17.5px; } }
@media (min-width: 2200px) { html { font-size: 21px; } :root { --wrap: 80rem; } }
@media (min-width: 3000px) { html { font-size: 28px; } }

*, *::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(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--yellow); color: var(--ink-deep); }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--on-ink); padding: 0.75rem 1rem; border-radius: var(--radius);
}
.skip:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2 * var(--gutter), var(--wrap-narrow)); margin-inline: auto; }

/* ---------- Type ---------- */
.display, .h1, .h2, .h3 { font-family: var(--serif); font-weight: 380; letter-spacing: -0.015em; color: var(--ink); text-wrap: balance; }
.display { font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: 1.0; letter-spacing: -0.025em; }
.h1 { font-size: clamp(2.3rem, 5vw, 4.3rem); line-height: 1.04; letter-spacing: -0.02em; }
.h2 { font-size: clamp(1.9rem, 3.6vw, 3.1rem); line-height: 1.08; }
.h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.2; }
.display em, .h1 em, .h2 em, .h3 em, .quote em { font-style: italic; font-weight: 340; }
.lead { font-size: clamp(1.125rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 40rem; text-wrap: pretty; }
.body-copy { color: var(--muted); max-width: 38rem; text-wrap: pretty; }
.small { font-size: 0.875rem; color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  margin: 0 0 1.5rem;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink);
}
.eyebrow::before {
  content: ""; flex: none; width: 1.5rem; height: 0.55rem;
  background: linear-gradient(var(--red) 0 22%, transparent 22% 39%, var(--yellow) 39% 61%, transparent 61% 78%, var(--green) 78%);
}
.is-ink .eyebrow { color: var(--on-ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3rem; padding: 0.8rem 1.4rem;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 0.95rem; font-weight: 600; letter-spacing: 0.005em; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn svg { width: 1rem; height: 1rem; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--ink); color: var(--on-ink); }
.btn-primary:hover { background: var(--ink-deep); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.is-ink .btn-primary { background: var(--on-ink); color: var(--ink-deep); }
.is-ink .btn-primary:hover { background: #fff; }
.is-ink .btn-ghost { border-color: var(--on-ink-line); color: var(--on-ink); }
.is-ink .btn-ghost:hover { border-color: var(--on-ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.text-link {
  display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; color: var(--ink);
  text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 0.15rem;
}
.text-link:hover { border-color: var(--ink); }
.text-link svg { width: 0.95rem; height: 0.95rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .25s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: 4.5rem; }
.brand { display: block; flex: none; }
.brand img { width: 8.5rem; height: auto; }
.nav { display: none; margin-left: auto; }
.nav ul { display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: block; padding: 0.5rem 0.7rem; border-radius: 999px;
  font-size: 0.9rem; font-weight: 500; color: var(--text); text-decoration: none;
}
.nav a:hover { background: var(--paper-2); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--red); border-radius: 0; }
.header-cta { display: none; }
.menu-btn {
  margin-left: auto; display: inline-flex; align-items: center; gap: 0.6rem;
  min-height: 2.75rem; padding: 0 1rem; border: 1px solid var(--line-strong); border-radius: 999px;
  background: transparent; font-size: 0.9rem; font-weight: 600; color: var(--ink); cursor: pointer;
}
.menu-btn span.bars { position: relative; width: 1rem; height: 0.6rem; }
.menu-btn span.bars::before, .menu-btn span.bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
}
.menu-btn span.bars::before { top: 0; } .menu-btn span.bars::after { bottom: 0; }
@media (min-width: 1180px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; min-height: 2.6rem; padding: 0.5rem 1.1rem; font-size: 0.875rem; }
  .menu-btn { display: none; }
}

.menu {
  position: fixed; inset: 0; z-index: 60; display: none;
  background: var(--ink-deep); color: var(--on-ink);
  overflow-y: auto; overscroll-behavior: contain;
}
.menu.open { display: block; }
.menu-top { display: flex; align-items: center; justify-content: space-between; height: 4.5rem; }
.menu-top img { width: 8.5rem; }
.menu-close {
  min-height: 2.75rem; padding: 0 1rem; border: 1px solid var(--on-ink-line); border-radius: 999px;
  background: transparent; color: var(--on-ink); font-weight: 600; cursor: pointer;
}
.menu nav ul { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 1px solid var(--on-ink-line); }
.menu nav li { border-bottom: 1px solid var(--on-ink-line); }
.menu nav a {
  display: flex; justify-content: space-between; align-items: baseline; padding: 1rem 0;
  font-family: var(--serif); font-size: clamp(1.6rem, 6vw, 2.2rem); text-decoration: none; color: var(--on-ink);
}
.menu nav a small { font-family: var(--sans); font-size: 0.75rem; letter-spacing: .14em; color: var(--on-ink-muted); }
.menu-foot { padding: 2rem 0 3rem; display: grid; gap: 1rem; }
.menu-foot a { color: var(--on-ink); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-tight { padding-block: calc(var(--section) * 0.6); }
.is-ink { background: var(--ink-deep); color: var(--on-ink); }
.is-ink .h1, .is-ink .h2, .is-ink .h3, .is-ink .display { color: var(--on-ink); }
.is-ink .lead, .is-ink .body-copy, .is-ink .small { color: var(--on-ink-muted); }
.is-paper2 { background: var(--paper-2); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.section-head { display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 900px) {
  .section-head.split { grid-template-columns: 1.1fr 0.9fr; align-items: end; gap: 4rem; }
  .section-head.split .lead, .section-head.split .body-copy { margin-bottom: 0.4rem; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(3rem, 8vw, 7rem) clamp(3.5rem, 7vw, 6rem); }
.hero-grid { display: grid; gap: clamp(2.5rem, 5vw, 5rem); }
.hero .display { max-width: 15ch; }
.hero .lead { margin-top: 1.75rem; }
.hero .btn-row { margin-top: 2.25rem; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 2.5rem; padding-top: 1.25rem;
  border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--muted);
}
.hero-meta a { color: var(--ink); font-weight: 600; text-decoration: none; }
.hero-meta a:hover { text-decoration: underline; }
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: end; }
}

.page-hero { padding-block: clamp(3rem, 7vw, 6rem) clamp(2.5rem, 5vw, 4rem); }
.page-hero .h1 { max-width: 18ch; }
.page-hero .lead { margin-top: 1.5rem; }
.crumb { font-size: 0.8125rem; color: var(--muted); margin-bottom: 1.5rem; }
.crumb a { color: var(--muted); }

/* Home hero: cross-fading photographs of finished homes.
   Phones: headline over the lower part of the photo, details below. Large screens: everything over the photo. */
.hero-full { position: relative; isolation: isolate; margin-top: -4.5rem; display: grid; grid-template-columns: 100%; grid-template-rows: auto auto; }
.hero-slides { grid-row: 1; grid-column: 1; position: relative; overflow: hidden; background: #1b2a2f; min-height: calc(4.5rem + clamp(20rem, 60svh, 38rem)); }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; z-index: 0; transition: opacity 1.4s ease; }
.slide.is-prev { opacity: 1; z-index: 1; transition: none; }
.slide.is-active { opacity: 1; z-index: 2; }
.slide img {
  width: 100%; height: 100%; object-fit: cover; object-position: var(--pos-m, 50% 50%);
  transform: scale(1.07); transition: transform 9s linear;
}
.slide.is-active img, .slide.is-prev img { transform: scale(1); }
.hero-shade {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 9.5rem),
    linear-gradient(0deg, rgba(8, 14, 16, 0.86) 0%, rgba(8, 14, 16, 0.6) 30%, rgba(8, 14, 16, 0) 60%);
}
.hero-title { grid-row: 1; grid-column: 1; align-self: end; position: relative; z-index: 4; padding-bottom: 3.5rem; color: #fff; }
.hero-title .eyebrow { color: #fff; margin-bottom: 1rem; }
.hero-full .display { color: #fff; max-width: 12ch; }
.hero-body { grid-row: 2; grid-column: 1; position: relative; z-index: 4; padding-top: 1.75rem; padding-bottom: clamp(3rem, 8vw, 4.5rem); }
.hero-full .lead { margin: 0; max-width: 33rem; }
.hero-full .btn-row { margin-top: 1.75rem; }
.hero-full .hero-meta { max-width: 36rem; }
.hero-credit-m { margin: 1.25rem 0 0; font-size: 0.75rem; color: var(--muted); }
.hero-controls { grid-row: 1; grid-column: 1; align-self: end; position: relative; z-index: 5; padding-bottom: 0.5rem; }
.hero-controls-inner { display: flex; justify-content: flex-end; align-items: center; gap: 1.5rem; }
.hero-credit { display: none; margin: 0; font-size: 0.6875rem; line-height: 1.45; color: rgba(255, 255, 255, 0.72); text-align: right; max-width: 21rem; }
.hero-nav { display: none; align-items: center; gap: 0.15rem; }
.js .hero-nav { display: flex; }
.hero-dot { display: grid; align-items: center; width: 2.4rem; height: 2.75rem; padding: 0 0.2rem; border: 0; background: none; cursor: pointer; }
.hero-dot .bar { display: block; height: 2px; background: rgba(255, 255, 255, 0.38); overflow: hidden; border-radius: 2px; }
.hero-dot .fill { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left center; }
.hero-dot.is-active .fill { animation: hero-fill var(--slide-ms, 6500ms) linear forwards; }
.hero-full.is-paused .hero-dot.is-active .fill { animation-play-state: paused; }
.hero-dot:hover .bar { background: rgba(255, 255, 255, 0.6); }
@keyframes hero-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-toggle {
  display: grid; place-items: center; width: 2.25rem; height: 2.25rem; margin-left: 0.5rem; padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 50%; background: rgba(0, 0, 0, 0.2); color: #fff; cursor: pointer;
}
.hero-toggle svg { width: 0.7rem; height: 0.7rem; }
.hero-toggle .i-play, .hero-toggle[aria-pressed="true"] .i-pause { display: none; }
.hero-toggle[aria-pressed="true"] .i-play { display: block; }
.hero-toggle:hover { background: rgba(0, 0, 0, 0.4); }
@media (prefers-reduced-motion: reduce) {
  .slide, .slide img { transition: none; transform: none; }
  .hero-dot.is-active .fill { animation: none; transform: scaleX(1); }
  .hero-toggle { display: none; }
}

@media (max-width: 999px) {
  .hero-full .display { font-size: clamp(2.6rem, 11vw, 4.4rem); }
  .hero-controls-inner { justify-content: flex-start; }
  .hero-nav { flex: 1; }
  .hero-toggle { margin-left: auto; }
  /* Contact strip: two tidy columns instead of a wrapping line. */
  .hero-full .hero-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 1.75rem; padding-top: 0; border-top: 0; }
  .hero-full .hm-area { grid-column: 1 / -1; padding-bottom: 0.75rem; font-size: 0.8125rem; }
  .hero-full .hero-meta a { display: block; padding: 0.85rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 0.95rem; }
  .hero-full .hero-meta a + a { padding-left: 1rem; border-left: 1px solid var(--line); }
  .hero-full .hero-meta a::before {
    content: attr(data-label); display: block; margin-bottom: 0.15rem;
    font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
  }
}
@media (max-width: 599px) {
  .hero-body .btn-row { display: grid; grid-template-columns: 1fr; gap: 0.65rem; }
  .hero-body .btn { width: 100%; }
}

/* Large screens: text sits over the photographs, on a neutral shade that keeps their colour. */
@media (min-width: 1000px) {
  .hero-full { min-height: max(40rem, 100svh); grid-template-rows: 1fr auto; }
  .hero-slides { grid-row: 1 / 3; min-height: 0; }
  .slide img { object-position: var(--pos, 50% 50%); }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 11rem),
      linear-gradient(90deg, rgba(8, 14, 16, 0.8) 0%, rgba(8, 14, 16, 0.7) 30%, rgba(8, 14, 16, 0.42) 50%, rgba(8, 14, 16, 0.1) 66%, rgba(8, 14, 16, 0) 78%),
      linear-gradient(0deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 35%);
  }
  .hero-title { padding-top: 9rem; padding-bottom: 0; text-shadow: 0 1px 30px rgba(0, 0, 0, 0.25); }
  .hero-title .eyebrow { margin-bottom: 1.5rem; }
  .hero-body { padding-top: 1.5rem; padding-bottom: clamp(6.5rem, 10vh, 8.5rem); color: #fff; text-shadow: 0 1px 30px rgba(0, 0, 0, 0.25); }
  .hero-full .lead { color: rgba(255, 255, 255, 0.88); }
  .hero-full .btn { text-shadow: none; }
  .hero-full .btn-primary { background: #fff; color: var(--ink-deep); }
  .hero-full .btn-primary:hover { background: var(--paper); }
  .hero-full .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.55); background: rgba(0, 0, 0, 0.12); }
  .hero-full .btn-ghost:hover { border-color: #fff; }
  .hero-full .hero-meta { border-top-color: rgba(255, 255, 255, 0.25); color: rgba(255, 255, 255, 0.78); }
  .hero-full .hero-meta a { color: #fff; }
  .hero-credit-m { display: none; }
  .hero-controls { position: absolute; left: 0; right: 0; bottom: 1.5rem; padding: 0; }
  .hero-credit { display: block; }
}

/* Header floats transparently over the home hero until the page scrolls. */
.brand .logo-on-dark { display: none; }
.site-header.over-hero { transition: background-color .3s, border-color .3s; }
.js .site-header.over-hero:not(.scrolled) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: transparent; }
.js .site-header.over-hero:not(.scrolled) .logo-on-light { display: none; }
.js .site-header.over-hero:not(.scrolled) .logo-on-dark { display: block; }
.js .site-header.over-hero:not(.scrolled) .nav a { color: #fff; }
.js .site-header.over-hero:not(.scrolled) .nav a:hover { background: rgba(255, 255, 255, 0.14); }
.js .site-header.over-hero:not(.scrolled) .header-cta { background: #fff; color: var(--ink-deep); }
.js .site-header.over-hero:not(.scrolled) .menu-btn { color: #fff; border-color: rgba(255, 255, 255, 0.6); }

/* ---------- Lanes: who signs for which part ---------- */
.lanes { margin-top: 1rem; }
.lane-grid { display: grid; gap: 1px; background: var(--on-ink-line); border: 1px solid var(--on-ink-line); border-radius: var(--radius); overflow: hidden; }
.lane { background: var(--ink-deep); padding: 1.25rem 1.25rem 1.4rem; display: grid; gap: 0.75rem; align-content: start; }
.lane h3 { font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; color: var(--on-ink); font-weight: 420; }
@media (max-width: 639px) { .lane > p { display: none; } }
.lane p { margin: 0; font-size: 0.9rem; color: var(--on-ink-muted); line-height: 1.5; }
.lane dl { margin: 0.25rem 0 0; display: grid; gap: 0.6rem; }
.lane dt { font-size: 0.6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink-muted); }
.lane dd { margin: 0.15rem 0 0; font-size: 0.9rem; color: var(--on-ink); line-height: 1.45; }
.lane dd.ends { color: #ffd36b; }
.lane-span {
  margin-top: 1rem; display: grid; gap: 0.5rem; align-items: center;
  padding: 1.1rem 1.25rem; border-radius: var(--radius);
  background: var(--on-ink); color: var(--ink-deep);
}
.lane-span strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 450; }
.lane-span span { font-size: 0.95rem; color: var(--ink); }
.lane-span .bar { height: 0.4rem; border-radius: 999px; background: linear-gradient(90deg, var(--red), var(--yellow) 50%, var(--green)); }
@media (min-width: 640px) { .lane-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .lane-grid { grid-template-columns: repeat(6, 1fr); }
  .lane-span { grid-template-columns: auto 1fr auto; gap: 1.5rem; }
  .lane-span .bar { order: 0; width: 100%; }
}

/* ---------- Generic grids ---------- */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.split { display: grid; gap: clamp(2.5rem, 5vw, 5rem); }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; align-items: center; }
  .split.top { align-items: start; }
  .split.wide-left { grid-template-columns: 1.2fr 0.8fr; }
  .split.wide-right { grid-template-columns: 0.85fr 1.15fr; }
}

/* Numbered list rows (used for steps, options, questions) */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rows > li { display: grid; gap: 0.5rem 2rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.rows .num { font-size: 0.8125rem; font-weight: 600; color: var(--red-text); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.rows h3 { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.2; color: var(--ink); font-weight: 420; }
.rows p { margin: 0; color: var(--muted); max-width: 40rem; }
@media (min-width: 860px) { .rows > li { grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 1.3fr); align-items: baseline; } }
.is-ink .rows, .is-ink .rows > li { border-color: var(--on-ink-line); }
.is-ink .rows h3 { color: var(--on-ink); }
.is-ink .rows p { color: var(--on-ink-muted); }
.is-ink .rows .num { color: var(--yellow); }

/* Cards */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.4rem, 2.5vw, 2rem); display: flex; flex-direction: column; gap: 0.75rem;
}
.card h3 { font-family: var(--serif); font-size: 1.45rem; line-height: 1.2; color: var(--ink); font-weight: 420; }
.card p { margin: 0; color: var(--muted); }
.card .tag { font-size: 0.75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red-text); }
.is-ink .card { background: var(--ink); border-color: var(--on-ink-line); }
.is-ink .card h3 { color: var(--on-ink); }
.is-ink .card p { color: var(--on-ink-muted); }
.is-ink .card .tag { color: var(--yellow); }

/* Pull statement */
.statement { font-family: var(--serif); font-size: clamp(1.7rem, 3.6vw, 3rem); line-height: 1.15; letter-spacing: -0.015em; font-weight: 360; text-wrap: balance; max-width: 26ch; }
.statement em { font-style: italic; }
.attribution { margin-top: 1.5rem; font-size: 0.75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.is-ink .attribution { color: var(--on-ink-muted); }

/* Fee pledge */
.pledge { display: grid; gap: 2rem; }
.pledge-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--on-ink-line); }
.pledge-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--on-ink-line); font-size: 1rem; }
.pledge-list li span:last-child { font-weight: 600; color: var(--yellow); white-space: nowrap; }
@media (min-width: 960px) { .pledge { grid-template-columns: 1.1fr 0.9fr; gap: 5rem; align-items: center; } }

/* Decision memo: the format every decision arrives in */
.memo {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 40px 80px -60px rgba(4, 42, 55, 0.55);
  overflow: hidden;
}
.memo-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.5rem; border-bottom: 1px solid var(--line); font-size: 0.75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.memo-head .stripe { width: 1.5rem; height: 0.55rem; background: linear-gradient(var(--red) 0 22%, transparent 22% 39%, var(--yellow) 39% 61%, transparent 61% 78%, var(--green) 78%); }
.memo-body { display: grid; }
.memo-part { padding: 1.4rem 1.5rem; border-bottom: 1px solid var(--line); display: grid; gap: 0.4rem; }
.memo-part:last-child { border-bottom: 0; }
.memo-part .k { font-size: 0.75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--red-text); }
.memo-part h3 { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); font-weight: 420; line-height: 1.2; }
.memo-part p { margin: 0; color: var(--muted); font-size: 0.975rem; }
.memo-foot { padding: 1rem 1.5rem; background: var(--paper-2); font-size: 0.875rem; color: var(--ink); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* Bid comparison (the "pool" example) */
.bid-wrap { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.bid-tabs { display: flex; gap: 0.25rem; padding: 0.5rem; border-bottom: 1px solid var(--line); background: var(--paper-2); overflow-x: auto; }
@media (min-width: 760px) { .bid-tabs { display: none; } }
.bid-tabs button {
  flex: 1 1 0; min-width: 0; min-height: 2.75rem; padding: 0.5rem 0.5rem; white-space: nowrap; border: 0; border-radius: 999px; background: transparent;
  font-size: 0.9rem; font-weight: 600; color: var(--muted); cursor: pointer;
}
.bid-tabs button[aria-selected="true"] { background: var(--ink); color: var(--on-ink); }
.bid-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.bid-table caption { text-align: left; padding: 1rem 1.25rem 0; color: var(--muted); font-size: 0.875rem; }
.bid-table th, .bid-table td { padding: 0.8rem 1.25rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.bid-table thead th { font-size: 0.75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.bid-table tbody th { font-weight: 500; color: var(--ink); }
.bid-table tr:last-child th, .bid-table tr:last-child td { border-bottom: 0; }
.bid-table td[data-col] { display: none; }
.bid-table[data-show="all"] td[data-col], .bid-table td[data-col].on { display: table-cell; }
.bid-table thead th[data-col] { display: none; }
.bid-table[data-show="all"] thead th[data-col], .bid-table thead th[data-col].on { display: table-cell; }
.chip { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.8125rem; font-weight: 600; white-space: nowrap; }
.chip::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; flex: none; }
.chip.inc::before { background: var(--green); }
.chip.alw::before { background: var(--yellow); }
.chip.own::before { background: var(--red); }
.chip.inc { color: #1d7a5f; } .chip.alw { color: #8a6500; } .chip.own { color: var(--red-text); }
.bid-note { padding: 1rem 1.25rem; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--muted); background: var(--paper); }
.legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-top: 1rem; }

/* Before / after signing */
.versus { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.versus > div { background: var(--card); padding: clamp(1.5rem, 3vw, 2.25rem); }
.versus h3 { font-family: var(--serif); font-size: 1.6rem; color: var(--ink); font-weight: 420; margin-bottom: 0.6rem; }
.versus p { margin: 0; color: var(--muted); }
.versus .after { background: var(--paper-2); }
@media (min-width: 760px) { .versus { grid-template-columns: 1fr 1fr; } }

/* Mini panels for "how it works" */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.panel-top { padding: 1.4rem 1.5rem 1.2rem; border-bottom: 1px solid var(--line); }
.panel-top .tag { font-size: 0.75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red-text); }
.panel-top h3 { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); font-weight: 420; margin-top: 0.35rem; line-height: 1.2; }
.panel-top p { margin: 0.4rem 0 0; color: var(--muted); font-size: 0.95rem; }
.panel dl { margin: 0; flex: 1; }
.panel dl div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: 0.85rem 1.5rem; border-bottom: 1px solid var(--line); }
.panel dl div:last-child { border-bottom: 0; }
.panel dt { font-weight: 600; color: var(--ink); font-size: 0.9rem; }
.panel dd { margin: 0; color: var(--muted); font-size: 0.9rem; }
.panel-foot { padding: 1rem 1.5rem; background: var(--paper-2); font-family: var(--serif); font-style: italic; color: var(--ink); font-size: 1.05rem; }

/* Figures */
.figure { margin: 0; }
.figure img { width: 100%; border-radius: var(--radius); object-fit: cover; background: var(--paper-2); }
.figure figcaption { margin-top: 0.75rem; font-size: 0.8125rem; color: var(--muted); }
.portrait img { aspect-ratio: 4 / 5; object-position: 50% 30%; }
.wide img { aspect-ratio: 16 / 10; }

/* Video facade */
.video {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; cursor: pointer;
  border-radius: var(--radius); overflow: hidden; background: var(--ink-deep);
}
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; }
.video:hover img { transform: scale(1.02); }
.video .play {
  position: absolute; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.6rem 1rem 0.6rem 0.65rem; border-radius: 999px; background: rgba(4, 42, 55, 0.88); color: var(--on-ink);
  font-size: 0.875rem; font-weight: 600;
}
.video .play i { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--on-ink); color: var(--ink-deep); }
.video .play svg { width: 0.8rem; height: 0.8rem; margin-left: 2px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video.poster-type { display: grid; place-items: center; background: var(--ink); }
.video.poster-type .poster-text { font-family: var(--serif); color: var(--on-ink); font-size: clamp(1.3rem, 2.5vw, 1.9rem); padding: 2rem 2rem 4rem; text-align: center; max-width: 22ch; line-height: 1.2; }

/* Testimonials */
.stories { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .stories { grid-template-columns: repeat(3, 1fr); } }
.story { display: flex; flex-direction: column; gap: 1.1rem; }
.story blockquote { margin: 0; }
.story .q-head { font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; color: var(--ink); font-weight: 420; }
.story .q-body { margin-top: 0.75rem; color: var(--muted); font-size: 0.975rem; }
.story .who { font-size: 0.8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; align-items: baseline;
  padding: 1.35rem 0; font-family: var(--serif); font-size: clamp(1.2rem, 1.8vw, 1.45rem); color: var(--ink); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 1.4rem; font-weight: 300; color: var(--muted); transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 1.5rem; color: var(--muted); max-width: 44rem; }

/* Domains (wellness) */
.domains { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.domain { background: var(--card); padding: 1.4rem 1.5rem; display: grid; gap: 0.4rem; align-content: start; }
.domain .n { font-size: 0.75rem; font-weight: 600; color: var(--red-text); font-variant-numeric: tabular-nums; }
.domain h3 { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); font-weight: 420; line-height: 1.2; }
.domain .metric { font-size: 0.8125rem; font-weight: 600; color: var(--ink); background: var(--paper-2); justify-self: start; padding: 0.15rem 0.55rem; border-radius: 999px; }
.domain p { margin: 0; color: var(--muted); font-size: 0.925rem; }
@media (min-width: 700px) { .domains { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .domains { grid-template-columns: repeat(5, 1fr); } }

/* Callout / disclaimer */
.note { border-left: 3px solid var(--yellow); padding: 0.25rem 0 0.25rem 1.25rem; color: var(--muted); font-size: 0.95rem; max-width: 46rem; }

/* CTA band */
.cta-band { padding-block: clamp(4rem, 8vw, 7rem); }
.cta-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .cta-grid { grid-template-columns: 1.2fr 0.8fr; align-items: end; } }
.contact-lines { display: grid; gap: 0.25rem; border-top: 1px solid var(--on-ink-line); }
.contact-lines a { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--on-ink-line); text-decoration: none; color: var(--on-ink); }
.contact-lines a span:first-child { font-size: 0.75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink-muted); padding-top: 0.3rem; }
.contact-lines a span:last-child { font-family: var(--serif); font-size: 1.35rem; }
.contact-lines a:hover span:last-child { text-decoration: underline; text-decoration-thickness: 1px; }

/* Form */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.5rem); }
.form-grid { display: grid; gap: 1.25rem; }
@media (min-width: 680px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 0.4rem; }
.field label, .field legend { font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 3rem; padding: 0.75rem 0.9rem; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: #fff; font: inherit; font-size: 1rem; color: var(--text);
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: var(--red-text); }
.field .err { font-size: 0.8125rem; color: var(--red-text); min-height: 1em; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.stages { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.stages label { position: relative; }
.stages input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stages span { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.5rem 1rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.9rem; font-weight: 500; color: var(--text); cursor: pointer; background: #fff; }
.stages input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.stages input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.75rem; }
.form-status { margin-top: 1.25rem; padding: 1rem 1.25rem; border-radius: var(--radius); background: var(--paper-2); color: var(--ink); display: none; }
.form-status.show { display: block; }
.form-status a { font-weight: 600; }

/* Prose (legal) */
.prose { max-width: 44rem; }
.prose h2 { font-family: var(--serif); font-size: 1.6rem; color: var(--ink); margin: 2.75rem 0 0.9rem; font-weight: 420; line-height: 1.2; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.25rem; margin: 0 0 1em; }
.prose li { margin-bottom: 0.45rem; }
.prose a { color: var(--ink); font-weight: 600; }

/* Footer */
.site-footer { background: var(--ink-deep); color: var(--on-ink-muted); padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; font-size: 0.925rem; }
.foot-grid { display: grid; gap: 2.5rem; }
.foot-brand img { width: 9rem; }
.foot-brand p { margin-top: 1.25rem; max-width: 22rem; }
.site-footer h2 { font-family: var(--sans); font-size: 0.75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--on-ink); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.site-footer a { color: var(--on-ink-muted); text-decoration: none; }
.site-footer a:hover { color: var(--on-ink); text-decoration: underline; }
.foot-base { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--on-ink-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.8125rem; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* Reveal (progressive enhancement only) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* Mobile sticky action */
.mobile-cta {
  position: fixed; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; z-index: 40; display: flex; gap: 0.5rem;
  transform: translateY(150%); transition: transform .3s var(--ease);
}
.mobile-cta.show { transform: none; }
.mobile-cta a { flex: 1; min-height: 3rem; box-shadow: 0 12px 30px -12px rgba(4, 42, 55, 0.6); }
.mobile-cta .btn-ghost { background: var(--paper); flex: 0 0 auto; }
@media (min-width: 900px) { .mobile-cta { display: none; } }

@media print { .site-header, .mobile-cta, .menu, .site-footer { display: none; } body { background: #fff; } }

/* Contact layout: form directly after the intro on phones */
.contact-grid { display: grid; gap: 2.5rem; grid-template-areas: "intro" "form" "expect"; }
.c-intro { grid-area: intro; } .c-form { grid-area: form; } .c-expect { grid-area: expect; }
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "intro form" "expect form"; column-gap: clamp(2.5rem, 5vw, 5rem); row-gap: 2.5rem; align-items: start; }
}
@media (min-width: 860px) { .rows.compact > li { grid-template-columns: 4rem minmax(0, 1fr); } }

/* Photography */
.photo-band { padding-block: 0 clamp(3rem, 6vw, 5rem); }
.band-fig img { aspect-ratio: 21 / 9; object-position: 50% 60%; }
@media (max-width: 759px) { .band-fig img { aspect-ratio: 4 / 3; } }
.pair { display: grid; gap: 1rem; }
.pair .figure img { aspect-ratio: 4 / 3; }
@media (min-width: 760px) { .pair { grid-template-columns: 1fr 1fr; gap: 1.25rem; } .pair-cap { grid-column: 1 / -1; } }
.pair-cap { margin: 0; }
.gallery { display: grid; gap: 0.75rem; grid-template-columns: 1fr 1fr; }
.gallery .g { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; transition: transform .8s var(--ease); }
.gallery .g:hover img { transform: scale(1.03); }
.gallery .g-a { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .gallery { grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; gap: 1rem; }
  .gallery .g-a { grid-column: 1; grid-row: 1 / 3; }
  .gallery .g-a img { aspect-ratio: auto; }
}
.c-expect .figure { margin-top: 2rem; }
