/* The Chief Revenue Officer Playbook — landing page
   Palette taken from the four covers: each volume keeps its own colour across the page. */
:root {
  --ink: #121316;        /* Complete Edition */
  --navy: #263746;       /* Volume I */
  --sand: #DDD3C2;       /* Volume II */
  --oxblood: #461E25;    /* Volume III */
  --cream: #F3EEE4;      /* cover type */
  --paper: #EFE9DE;      /* book page specimen */
  --sand-ink: #24211D;
  --muted-on-dark: rgba(243, 238, 228, .72);
  --rule-on-dark: rgba(243, 238, 228, .18);
  --rule-on-light: rgba(36, 33, 29, .18);

  --serif: "Alegreya", Georgia, "Times New Roman", serif;
  --sans: "Lato", "Helvetica Neue", Arial, sans-serif;

  /* modular scale 1.25 from 17px */
  --s-1: .85rem;
  --s0: 1.0625rem;
  --s1: 1.33rem;
  --s2: 1.66rem;
  --s3: 2.07rem;
  --s4: 2.6rem;
  --s5: 3.25rem;

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(72px, 10vw, 136px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: var(--s0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: -.005em; }
h2 { font-size: clamp(var(--s3), 4.4vw, var(--s5)); }
h3 { font-size: var(--s2); }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--cream); color: var(--ink); padding: 8px 14px; z-index: 50; }
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  background: var(--cream); color: var(--ink);
  border: 1px solid var(--cream); border-radius: 2px;
  font-family: var(--sans); font-weight: 700; font-size: .98rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.btn:hover { background: transparent; color: var(--cream); }
.btn-ghost { background: transparent; color: var(--cream); border-color: var(--rule-on-dark); }
.btn-ghost:hover { border-color: var(--cream); background: transparent; }
.btn-small { min-height: 40px; padding: 0 16px; font-size: .9rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(18, 19, 22, .92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule-on-dark);
}
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.wordmark { display: flex; flex-direction: column; text-decoration: none; line-height: 1; margin-right: auto; }
.wordmark-small { font-family: var(--serif); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.wordmark-big { font-family: var(--serif); font-size: 1.1rem; letter-spacing: .02em; text-transform: uppercase; margin-top: 3px; }
.nav { display: flex; gap: 26px; font-size: .95rem; }
.nav a { text-decoration: none; opacity: .82; }
.nav a:hover { opacity: 1; text-decoration: underline; }
@media (max-width: 860px) { .nav { display: none; } }
@media (max-width: 480px) { .wordmark-small { display: none; } .wordmark-big { font-size: .86rem; max-width: 15ch; line-height: 1.15; } .btn-small { padding: 0 12px; } }
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; } .btn-small { white-space: nowrap; } }

/* Hero */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.lockup { display: flex; flex-direction: column; text-transform: uppercase; font-weight: 400; line-height: .9; }
.lockup-the { font-size: clamp(1.4rem, 2.6vw, 2.1rem); letter-spacing: .04em; margin-bottom: .35em; }
.lockup-main { font-size: clamp(3.4rem, 9.2vw, 7.6rem); letter-spacing: -.01em; }
.lockup-play { font-size: clamp(2.1rem, 5.2vw, 4.3rem); letter-spacing: .015em; margin-top: .22em; }
.hero-sub { font-size: var(--s1); margin: 1.4em 0 1em; max-width: 30ch; line-height: 1.35; }
.hero-thesis { color: var(--muted-on-dark); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 0; }
.hero-ledger { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--rule-on-dark); font-size: var(--s-1); color: var(--muted-on-dark); max-width: 60ch; }

.hero-book { perspective: 1800px; display: flex; justify-content: center; }
/* A real book block: front cover, spine on the left, page edges on the right.
   The spine faces the reader because the book is turned with its left edge forward. */
.book3d {
  --rx: 3deg; --ry: 30deg; --w: min(330px, 70vw); --d: calc(var(--w) * .2);
  position: relative; width: var(--w); aspect-ratio: 2 / 3;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
  animation: settle 1.6s cubic-bezier(.2, .7, .2, 1) both;
}
@keyframes settle {
  from { transform: rotateX(6deg) rotateY(78deg) translateY(18px); opacity: 0; }
  to { transform: rotateX(var(--rx)) rotateY(var(--ry)); opacity: 1; }
}
.book3d-front {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: translateZ(calc(var(--d) / 2));
  outline: 1px solid rgba(243, 238, 228, .06);
}
.book3d-spine {
  position: absolute; top: 0; left: calc(var(--d) * -1); width: var(--d); height: 100%;
  background: linear-gradient(90deg, #121316, #26282d 55%, #18191d);
  transform-origin: right center;
  transform: translateZ(calc(var(--d) / 2)) rotateY(-90deg);
  /* Lines run down the centre of the spine, laid out like the printed cover:
     title from the top, edition and author lower down. */
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: calc(var(--w) * .09) 0 calc(var(--w) * .1);
  font-family: var(--serif); font-size: calc(var(--w) * .042); color: var(--cream); white-space: nowrap;
}
.book3d-spine span { writing-mode: vertical-rl; line-height: 1; }
.book3d-spine .spine-title { flex: none; }
.book3d-spine .spine-ed { margin-top: auto; margin-bottom: calc(var(--w) * .1); font-family: var(--sans); font-size: calc(var(--w) * .022); letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.book3d-spine .spine-author { font-family: var(--sans); font-size: calc(var(--w) * .024); opacity: .85; }
.book3d-pages {
  position: absolute; top: 3px; left: 100%; width: var(--d); height: calc(100% - 6px);
  background: repeating-linear-gradient(90deg, #ebe5da 0 1px, #d6cebf 1px 3px);
  transform-origin: left center;
  transform: translateZ(calc(var(--d) / 2)) rotateY(90deg);
}
.hero-book { position: relative; }
.hero-book::after {
  content: ""; position: absolute; left: 50%; bottom: -26px; width: 70%; height: 30px; transform: translateX(-46%);
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, .55), transparent 70%);
  pointer-events: none;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-book { order: -1; padding-left: 10vw; }
  .book3d { --w: min(210px, 52vw); }
}
@media (prefers-reduced-motion: reduce) { .book3d { animation: none; transition: none; } }

/* Engine */
.engine { background: var(--navy); padding: var(--section) 0; }
.engine-head { max-width: 760px; }
.engine-head p { color: var(--muted-on-dark); margin-top: 1em; max-width: 62ch; }
.engine-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: 48px; }
.engine-diagram svg { width: 100%; height: auto; display: block; overflow: visible; }
.e-ring { fill: none; stroke: var(--rule-on-dark); stroke-width: 1.2; }
.e-flow { fill: none; stroke: var(--cream); stroke-width: 1.6; stroke-linecap: round; opacity: .65; }
.e-loop { fill: none; stroke: var(--cream); stroke-width: 1.2; stroke-dasharray: 4 6; opacity: .45; }
.e-node { cursor: pointer; }
.e-node circle { fill: var(--navy); stroke: var(--cream); stroke-width: 1.4; transition: fill .2s; }
.e-node text { fill: var(--cream); font-family: var(--sans); font-size: 13.5px; pointer-events: none; }
.e-node .e-num { font-family: var(--serif); font-size: 15px; text-anchor: middle; dominant-baseline: central; }
.e-node:hover circle, .e-node:focus-visible circle { fill: #34495b; }
.e-node.is-active circle { fill: var(--cream); }
.e-node.is-active .e-num { fill: var(--navy); }
.e-node:focus { outline: none; }
.e-node:focus-visible circle { stroke-width: 3; }
.e-center-top { fill: var(--muted-on-dark); font-family: var(--sans); font-size: 13px; text-anchor: middle; }
.e-center { fill: var(--cream); font-family: var(--serif); font-size: 30px; text-anchor: middle; }
.engine-panel { border-top: 1px solid var(--rule-on-dark); padding-top: 24px; min-height: 300px; }
.engine-step { font-size: var(--s-1); color: var(--muted-on-dark); margin-bottom: .5em; }
.engine-panel h3 { font-size: var(--s3); margin-bottom: .55em; }
.engine-panel p { max-width: 50ch; }
.engine-where { display: grid; gap: 4px; margin-top: 1.6em; padding-top: 1em; border-top: 1px solid var(--rule-on-dark); font-size: .95rem; }
.engine-where span:first-child { color: var(--muted-on-dark); font-size: var(--s-1); }
.engine-list { list-style: none; margin: 40px 0 0; padding: 0; display: none; }
.engine-caption { font-size: var(--s-1); color: var(--muted-on-dark); margin-top: 14px; }
.engine-list button {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 14px 0 6px;
  background: transparent; color: var(--cream);
  border: 1px solid var(--rule-on-dark); border-radius: 20px;
  font: inherit; font-size: .9rem; cursor: pointer;
}
.engine-list button span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--cream); font-family: var(--serif); font-size: .85rem; }
.engine-list button[aria-pressed="true"] { background: var(--cream); color: var(--navy); }
.engine-list button[aria-pressed="true"] span { border-color: var(--navy); }
@media (max-width: 900px) {
  .engine-grid { grid-template-columns: 1fr; }
  .e-node text.e-label { display: none; }
  .e-node circle { r: 28px; }
  .e-node .e-num { font-size: 26px; }
  .engine-panel { min-height: 0; }
  .engine-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
  .engine-grid { gap: 28px; }
}

/* Contents */
.contents { background: var(--sand); color: var(--sand-ink); padding: var(--section) 0; }
.contents-head { max-width: 760px; margin-bottom: 52px; }
.contents-head p { margin-top: 1em; max-width: 62ch; }
.contents-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); align-items: start; }
.vol-col h3 { display: flex; align-items: baseline; gap: 12px; font-size: var(--s2); padding-bottom: 14px; margin-bottom: 4px; border-bottom: 3px solid var(--vol); }
.vol-col h3 small { font-family: var(--sans); font-size: .82rem; font-weight: 400; opacity: .75; }
.vol-col[data-vol="1"] { --vol: var(--navy); }
.vol-col[data-vol="2"] { --vol: #A69777; }
.vol-col[data-vol="3"] { --vol: var(--oxblood); }
.sec { border-bottom: 1px solid var(--rule-on-light); }
.sec summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 2.4em 1fr 18px; gap: 6px; align-items: start;
  padding: 14px 0; font-size: .98rem; line-height: 1.4;
}
.sec summary::-webkit-details-marker { display: none; }
.sec-n { font-family: var(--serif); font-size: 1.15rem; line-height: 1.2; color: var(--vol); font-variant-numeric: lining-nums; }
.vol-col[data-vol="2"] .sec-n { color: #7d6f52; }
.sec-plus { position: relative; width: 14px; height: 14px; margin-top: 4px; }
.sec-plus::before, .sec-plus::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.5px; background: currentColor; transition: transform .2s; }
.sec-plus::after { transform: rotate(90deg); }
.sec[open] .sec-plus::after { transform: rotate(0); }
.sec summary:hover .sec-title { text-decoration: underline; text-underline-offset: .2em; }
.sec ol { margin: 0 0 16px 2.4em; padding: 0; list-style: none; font-size: .93rem; }
.sec li { display: grid; grid-template-columns: 2.6em 1fr; padding: 3px 0; }
.sec li span:first-child { opacity: .6; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .contents-grid { grid-template-columns: 1fr; gap: 44px; } }

/* Specimens */
.specimens { background: var(--oxblood); padding: var(--section) 0; }
.specimens-head { max-width: 760px; margin-bottom: 52px; }
.specimens-head p { color: var(--muted-on-dark); margin-top: 1em; max-width: 62ch; }
.specimen-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.page {
  background: var(--paper); color: var(--sand-ink);
  padding: clamp(24px, 3.4vw, 44px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .25), 0 24px 48px -24px rgba(0, 0, 0, .55);
  font-family: var(--serif); font-size: 1.08rem; line-height: 1.6;
}
.page-head { display: flex; justify-content: space-between; gap: 12px; font-size: .85rem; font-style: italic; opacity: .7; border-bottom: 1px solid var(--rule-on-light); padding-bottom: 10px; margin-bottom: 26px; }
.page h3 { font-size: var(--s2); margin-bottom: .6em; }
.page p { max-width: 62ch; }
.waterfall { margin: 18px 0 0; }
.waterfall svg { width: 100%; height: auto; display: block; }
.waterfall figcaption, .page-foot { font-family: var(--sans); font-size: .8rem; opacity: .75; margin-top: 10px; }
.wf-grid line { stroke: var(--rule-on-light); }
.wf-bar { fill: var(--sand-ink); }
.wf-bar.is-deduction { fill: var(--oxblood); }
.wf-bar.is-total { fill: var(--navy); }
.wf-break { fill: none; stroke: var(--paper); stroke-width: 3; }
.wf-link { stroke: var(--sand-ink); stroke-width: 1; stroke-dasharray: 2 3; opacity: .5; }
.wf-val { font-family: var(--sans); font-size: 11.5px; fill: var(--sand-ink); text-anchor: middle; font-variant-numeric: tabular-nums; }
.wf-lab { font-family: var(--sans); font-size: 11px; fill: var(--sand-ink); opacity: .8; text-anchor: middle; }
.meridian { width: 100%; border-collapse: collapse; margin: 18px 0 6px; font-family: var(--sans); font-size: .92rem; font-variant-numeric: tabular-nums; }
.meridian caption { text-align: left; font-family: var(--serif); font-style: italic; font-size: .95rem; padding-bottom: 8px; opacity: .8; }
.meridian th, .meridian td { padding: 9px 6px; border-bottom: 1px solid var(--rule-on-light); text-align: right; }
.meridian th:first-child { text-align: left; font-weight: 400; }
.meridian thead th { font-weight: 700; font-size: .82rem; border-bottom: 1.5px solid var(--sand-ink); }
.meridian tfoot th, .meridian tfoot td { font-weight: 700; border-bottom: 0; border-top: 1.5px solid var(--sand-ink); }
@media (max-width: 900px) { .specimen-pair { grid-template-columns: 1fr; } }

/* Readers */
.readers { padding: var(--section) 0; }
.readers-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.readers-head { position: sticky; top: 110px; }
.readers-head p { color: var(--muted-on-dark); margin-top: 1em; max-width: 46ch; }
.paths { margin: 0; }
.paths div { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 8px 28px; padding: 20px 0; border-top: 1px solid var(--rule-on-dark); }
.paths div:last-child { border-bottom: 1px solid var(--rule-on-dark); }
.paths dt { font-family: var(--serif); font-size: var(--s1); line-height: 1.25; }
.paths dd { margin: 0; color: var(--muted-on-dark); }
@media (max-width: 900px) {
  .readers-grid { grid-template-columns: 1fr; }
  .readers-head { position: static; }
  .paths div { grid-template-columns: 1fr; }
}

/* Editions */
.editions { background: var(--sand); color: var(--sand-ink); padding: var(--section) 0; }
.editions-head { max-width: 760px; margin-bottom: 52px; }
.editions-head p { margin-top: 1em; max-width: 62ch; }
.editions .btn { background: var(--sand-ink); color: var(--cream); border-color: var(--sand-ink); }
.editions .btn:hover { background: transparent; color: var(--sand-ink); }
.editions .btn-ghost { background: transparent; color: var(--sand-ink); border-color: rgba(36, 33, 29, .35); }
.editions .btn-ghost:hover { border-color: var(--sand-ink); }
.edition img { box-shadow: 0 2px 0 rgba(0, 0, 0, .12), 0 26px 40px -22px rgba(0, 0, 0, .55); }
.edition-meta { font-size: var(--s-1); opacity: .8; margin: .5em 0 1em; }
.edition-complete {
  display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center;
  padding-bottom: clamp(48px, 6vw, 72px); margin-bottom: clamp(48px, 6vw, 72px); border-bottom: 1px solid var(--rule-on-light);
}
.edition-complete h3 { font-size: var(--s4); }
.edition-complete p { max-width: 52ch; }
.edition-complete .btn { margin-top: 10px; }
.volumes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.5vw, 48px); }
.vol { display: flex; flex-direction: column; }
.vol img { width: 72%; margin-bottom: 26px; }
.vol h3 { border-top: 3px solid var(--vc); padding-top: 14px; }
.vol-1 { --vc: var(--navy); } .vol-2 { --vc: #A69777; } .vol-3 { --vc: var(--oxblood); }
.vol p:not(.edition-meta) { flex: 1; }
.vol .btn { align-self: flex-start; margin-top: 8px; }
@media (max-width: 900px) {
  .edition-complete { grid-template-columns: 1fr; }
  .edition-complete img { max-width: 240px; }
  .volumes { grid-template-columns: 1fr; gap: 56px; }
  .vol img { width: 180px; }
}

/* Lineage */
.lineage { padding: var(--section) 0; }
.lineage-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.lineage p { color: var(--muted-on-dark); margin-top: 1em; max-width: 52ch; }
.thinkers { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height: 1.5; }
.thinkers li:not(:last-child)::after { content: ","; margin-right: .35em; opacity: .5; }
@media (max-width: 860px) { .lineage-grid { grid-template-columns: 1fr; } }

/* Author */
.author { padding: 0 0 var(--section); }
.author-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; border-top: 1px solid var(--rule-on-dark); padding-top: var(--section); }
.author-card { display: flex; align-items: center; gap: 18px; margin-top: 36px; }
.author-card img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; flex: none; filter: saturate(.85); }
.author-card p { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.author-name { font-family: var(--serif); font-size: var(--s1); line-height: 1.25; }
.author-role { font-size: var(--s-1); color: var(--muted-on-dark); }
.author-copy p { color: var(--muted-on-dark); max-width: 60ch; }
.author-copy .author-lead { color: var(--cream); font-family: var(--serif); font-size: clamp(1.25rem, 1.9vw, 1.5rem); line-height: 1.42; max-width: 40ch; }
.author-copy .author-impact { color: var(--cream); padding-left: 18px; border-left: 2px solid var(--sand); margin: 1.6em 0; }
.author-copy .author-contact { margin-top: 1.8em; padding-top: 1.2em; border-top: 1px solid var(--rule-on-dark); font-size: .95rem; }
@media (max-width: 860px) { .author-grid { grid-template-columns: 1fr; } .author-card { margin-top: 24px; } }

/* Work with Filippo: offer on the left, the request on a paper card */
.work { background: var(--navy); padding: var(--section) 0; }
.work-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.work-info { position: sticky; top: 104px; }
.work-intro { color: var(--muted-on-dark); margin: 1em 0 0; max-width: 44ch; }
.offer { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--rule-on-dark); animation: offer-in .35s ease both; }
.offer[hidden] { display: none; }
@keyframes offer-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .offer { animation: none; } }
.offer h3 { font-size: var(--s4); margin-bottom: .35em; }
.offer p { color: var(--muted-on-dark); max-width: 44ch; }
.offer ul { list-style: none; margin: 18px 0 0; padding: 0; }
.offer li { position: relative; padding: 8px 0 8px 26px; }
.offer li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 12px; height: 1.5px; background: var(--sand); }
.work-alt { font-size: var(--s-1); color: var(--muted-on-dark); margin-top: 36px; }

.work-form {
  background: var(--paper); color: var(--sand-ink);
  padding: clamp(24px, 3.4vw, 44px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .2), 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.segmented { border: 0; margin: 0 0 30px; padding: 0; }
.segmented legend { font-size: var(--s-1); color: rgba(36, 33, 29, .7); padding: 0; margin-bottom: 10px; }
.segmented-track { display: grid; grid-template-columns: repeat(3, 1fr); background: #E2DACB; padding: 4px; border-radius: 999px; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.segmented span { display: block; text-align: center; padding: 11px 8px; border-radius: 999px; font-weight: 700; font-size: .95rem; transition: background-color .2s, color .2s, box-shadow .2s; }
.segmented label:hover span { background: rgba(255, 255, 255, .45); }
.segmented input:checked + span { background: var(--navy); color: var(--cream); box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.segmented input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }

.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field[hidden] { display: none; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 700; }
.optional { font-weight: 400; color: rgba(36, 33, 29, .55); margin-left: 4px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--sand-ink);
  background: #F8F5EF; border: 1px solid rgba(36, 33, 29, .2); border-radius: 3px;
  padding: 12px 14px; transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.field select { appearance: none; padding-right: 38px; background-image: linear-gradient(45deg, transparent 50%, var(--sand-ink) 50%), linear-gradient(135deg, var(--sand-ink) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input::placeholder, .field textarea::placeholder { color: rgba(36, 33, 29, .45); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(36, 33, 29, .4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(38, 55, 70, .18); }
.field [aria-invalid="true"] { border-color: #A33A3A; box-shadow: 0 0 0 3px rgba(163, 58, 58, .12); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 26px; }
.btn-send {
  min-height: 50px; padding: 0 28px; border: 0; border-radius: 3px; cursor: pointer;
  background: var(--navy); color: var(--cream); font: inherit; font-weight: 700; font-size: 1rem;
  transition: background-color .2s;
}
.btn-send:hover { background: #1b2834; }
.btn-send:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.btn-send[disabled] { opacity: .65; cursor: progress; }
.form-note { margin: 0; font-size: .85rem; color: rgba(36, 33, 29, .65); }
.form-status { margin: 16px 0 0; font-size: .95rem; }
.form-status:empty { display: none; }
.form-status.is-error { color: #8E2F2F; }
.work-form.is-sent .segmented, .work-form.is-sent .fields, .work-form.is-sent .form-foot { display: none; }
.work-form.is-sent .form-status { margin: 0; font-family: var(--serif); font-size: var(--s2); line-height: 1.3; }
@media (max-width: 960px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-info { position: static; }
}
@media (max-width: 560px) {
  .fields { grid-template-columns: 1fr; }
  .segmented span { font-size: .85rem; padding: 10px 4px; }
}

/* FAQ */
.faq { background: var(--sand); color: var(--sand-ink); padding: var(--section) 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq details { border-top: 1px solid var(--rule-on-light); }
.faq details:last-child { border-bottom: 1px solid var(--rule-on-light); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-family: var(--serif); font-size: var(--s1); line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 62ch; padding-bottom: 12px; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* Closing */
.closing { padding: var(--section) 0; text-align: left; }
.closing-inner h2 { font-size: clamp(2.6rem, 7vw, 5.4rem); text-transform: uppercase; font-weight: 400; letter-spacing: -.005em; }
.closing-inner p { color: var(--muted-on-dark); margin-top: 1em; max-width: 52ch; }

.site-footer { border-top: 1px solid var(--rule-on-dark); padding: 28px 0; font-size: var(--s-1); color: var(--muted-on-dark); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer-inner p { margin: 0; }
