/* Layout idea: a dark forest hero with a glass call-to-action card, then cream
   paper sections that alternate between a narrow bento grid, one large rounded
   stone panel, an edge-to-edge team rail, and a black footer. Single theme. */
:root {
  color-scheme: light;
  --paper: #f1eee4;
  --card: #faf8f1;
  --panel: #e3e2d4;
  --ink: #14160f;
  --muted: #5d6055;
  --line: #d7d4c5;
  --forest: #1f3b2d;
  --oxblood: #8a1c1c;
  --night: #0a0b09;
  --cream: #f4f0e4;

  --display: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --gutter: clamp(20px, 4.5vw, 64px);
  --page: 1312px;
  --radius: 16px;
  --radius-xl: clamp(28px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; text-wrap: balance; letter-spacing: -0.02em; }
h2 { font-size: clamp(32px, 3.7vw, 50px); line-height: 1.06; }
section[id] { scroll-margin-top: 88px; }
:focus-visible { outline: 2px solid var(--oxblood); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .dhero :focus-visible, body[data-top="dark"] .nav:not(.scrolled) :focus-visible, footer :focus-visible { outline-color: var(--cream); }

.wrap { max-width: calc(var(--page) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.lede { color: var(--muted); font-size: 18px; max-width: 46ch; }
.arrow { width: 0.72em; height: 0.72em; flex: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 500; font-size: 17px; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translate(2px, -2px); }
.btn-cream { background: var(--cream); color: var(--ink); }
.btn-cream:hover { background: #fff; }
.btn-ghost { border-color: rgba(244, 240, 228, .55); color: var(--cream); }
.btn-ghost:hover { background: rgba(244, 240, 228, .12); }
.btn-outline { border-color: #b9b6a4; color: var(--ink); min-height: 42px; font-size: 15px; padding: 0 18px; }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.btn-sm { min-height: 40px; font-size: 15px; padding: 0 18px; }

/* Wordmark */
.wordmark {
  font-family: var(--display); font-size: 25px; font-weight: 400; letter-spacing: -0.01em;
  text-decoration: none; color: var(--mark-a); line-height: 1;
}
.wordmark b { font-weight: 500; color: var(--mark-b); }

/* Nav */
.nav {
  --mark-a: var(--cream); --mark-b: var(--cream);
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: var(--cream);
  transition: background-color .25s, color .25s, box-shadow .25s;
}
.nav-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 80px; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a:not(.btn) { text-decoration: none; font-size: 15.5px; font-weight: 500; opacity: .92; }
.nav-links a:not(.btn):hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.nav.scrolled, body[data-top="light"] .nav {
  --mark-a: var(--ink); --mark-b: var(--oxblood);
  background: rgba(241, 238, 228, .9); color: var(--ink);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.nav.scrolled { box-shadow: 0 1px 0 var(--line); }
.nav.scrolled .btn-cream, body[data-top="light"] .nav .btn-cream { background: var(--ink); color: var(--cream); }
.nav.scrolled .btn-cream:hover, body[data-top="light"] .nav .btn-cream:hover { background: var(--forest); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
/* Services menu: a panel of every service, opened from the nav */
.nav-group { display: flex; align-items: center; gap: 2px; }
.nav-caret { display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 6px; background: none; opacity: .8; }
.nav-caret:hover { opacity: 1; }
.nav-caret svg { width: 12px; height: 12px; transition: transform .2s; }
.nav-caret[aria-expanded="true"] svg { transform: rotate(180deg); }
.svc-menu { position: absolute; top: 70px; right: var(--gutter); width: min(1040px, calc(100% - 2 * var(--gutter))); background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 30px 60px -28px rgba(20, 22, 15, .5); }
.svc-menu[hidden] { display: none; }
.svc-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -26px; height: 26px; }
.svc-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 20px; padding: 26px 26px 18px; }
.svc-menu h3 { padding: 0 10px 10px; font-size: 21px; letter-spacing: -0.015em; }
.svc-menu ul { display: flex; flex-direction: column; }
.nav-links .svc-menu li a:not(.btn) { display: flex; flex-direction: column; gap: 2px; padding: 9px 10px; border-radius: 10px; font-size: 15.5px; font-weight: 400; line-height: 1.3; opacity: 1; text-decoration: none; }
.nav-links .svc-menu li a:not(.btn):hover { background: var(--panel); text-decoration: none; }
.svc-menu li b { font-weight: 500; }
.svc-menu li span { font-size: 13.5px; color: var(--muted); }
.svc-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding: 14px 36px 16px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.nav-links .svc-foot a:not(.btn) { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 15px; font-weight: 500; opacity: 1; }
.menu-btn { display: none; background: none; border: 1px solid currentColor; border-radius: 999px; height: 40px; padding: 0 16px; font-size: 15px; font-weight: 500; }

/* Hero */
.hero { position: relative; color: var(--cream); background: #10160f; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; animation: drift 28s ease-out both; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 14, 10, .82) 0%, rgba(9, 14, 10, .5) 46%, rgba(9, 14, 10, .12) 100%),
    linear-gradient(180deg, rgba(9, 14, 10, .55) 0%, rgba(9, 14, 10, 0) 26%, rgba(9, 14, 10, 0) 60%, rgba(9, 14, 10, .6) 100%);
}
.hero-in { min-height: clamp(640px, 62vw, 860px); display: flex; flex-direction: column; justify-content: flex-end; gap: 28px; padding-top: 150px; padding-bottom: clamp(40px, 5vw, 64px); }
.hero h1 { font-size: clamp(42px, 6.1vw, 82px); line-height: 1.02; max-width: 13.5em; }
.hero-sub { font-size: clamp(17px, 1.45vw, 20px); max-width: 33em; color: rgba(244, 240, 228, .9); }
.cta-card {
  display: grid; grid-template-columns: 1fr 1fr; width: min(100%, 660px); margin-top: 8px;
  padding: 20px; border-radius: var(--radius);
  background: rgba(244, 240, 228, .13);
  border: 1px solid rgba(244, 240, 228, .3);
  -webkit-backdrop-filter: blur(18px) saturate(1.1); backdrop-filter: blur(18px) saturate(1.1);
}
.cta-card > div { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding-inline: 4px 24px; }
.cta-card > div + div { padding-inline: 24px 4px; border-left: 1px solid rgba(244, 240, 228, .3); }
.cta-card p { font-size: 16.5px; line-height: 1.4; color: rgba(244, 240, 228, .95); }
.cta-card .btn { width: 100%; }
.hero h1, .hero-sub, .cta-card { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-sub { animation-delay: .1s; }
.cta-card { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes drift { from { transform: scale(1.09); } to { transform: scale(1); } }

/* Track record: a photo with a line of text beside four figures */
.record { padding: clamp(10px, 1.2vw, 18px) clamp(10px, 1.2vw, 18px) 0; }
.record-frame { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border-radius: 20px; overflow: hidden; background: var(--card); border: 1px solid var(--line); }
.record-photo { position: relative; isolation: isolate; min-height: clamp(480px, 44vw, 640px); display: flex; align-items: flex-end; padding: clamp(28px, 4vw, 60px); background: #2a2118; color: var(--cream); }
.record-photo img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.record-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 14, 8, .05) 30%, rgba(20, 14, 8, .62) 100%); }
.record-photo h2 { font-size: clamp(30px, 3.5vw, 50px); max-width: 11em; }
.record-nums { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 64px); }
.record-nums dl { margin: 0; }
.record-nums dl > div { padding: 18px 0; border-top: 1px solid var(--line); }
.record-nums dl > div:first-child { border-top: 0; padding-top: 0; }
.record-nums dd { margin: 0; font-family: var(--display); font-size: clamp(42px, 4.6vw, 68px); font-weight: 500; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.record-nums dt { margin-top: 8px; font-size: 15px; color: var(--muted); }
.record-note { margin-top: 22px; font-size: 12.5px; line-height: 1.5; color: var(--muted); max-width: 46ch; }

/* Why Altum: bento */
.why { padding-block: clamp(72px, 9vw, 128px) clamp(64px, 8vw, 112px); }
.why h2 { text-align: center; max-width: 15em; margin-inline: auto; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; max-width: 1200px; margin: clamp(40px, 5vw, 64px) auto 0; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.value { grid-column: span 6; padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 18px; }
.value.tall { grid-row: span 2; }
/* Labels and numbers use the page's own typeface, in ordinary capitalization. */
.tag { display: block; font-size: 14.5px; font-weight: 500; color: var(--forest); }
.value p { font-family: var(--display); font-size: clamp(20px, 1.9vw, 25px); line-height: 1.3; letter-spacing: -0.012em; }
.value.tall p { font-size: clamp(23px, 2.5vw, 33px); line-height: 1.22; }
.value small { margin-top: auto; padding-top: 8px; font-size: 13.5px; color: var(--muted); }
.trained { grid-column: span 12; display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 44px; padding: 24px 26px; }
.trained span { font-size: 13.5px; color: var(--muted); }
.trained ul { display: flex; flex-wrap: wrap; gap: 8px 44px; font-family: var(--display); font-size: clamp(20px, 2vw, 26px); font-weight: 500; letter-spacing: -0.015em; }
/* On narrower screens the four names sit in two aligned columns under the label. */
@media (max-width: 760px) {
  .trained { display: block; }
  .trained ul { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 36px; margin-top: 14px; font-size: 20px; }
}
@media (max-width: 400px) { .trained ul { column-gap: 28px; font-size: 19px; } }
@media (max-width: 374px) { .trained ul { column-gap: 22px; font-size: 18px; } }
@media (max-width: 350px) { .trained ul { grid-template-columns: 1fr; } }
/* The rules above lay the names out as a still list, which is what visitors who prefer
   reduced motion see. Everyone else gets the names scrolling sideways in a loop. */
.firms, .firms-track { display: contents; }
.firms-track ul[aria-hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .trained { flex-wrap: nowrap; align-items: center; gap: 0; padding-right: 0; overflow: hidden; }
  .trained span { flex: none; }
  /* The names start a little to the right of the label and fade in from clear, so they never touch it. */
  .firms { display: block; flex: 1; min-width: 0; margin-left: 28px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 72px, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, transparent, #000 72px, #000 calc(100% - 56px), transparent); }
  .firms-track { display: flex; width: max-content; animation: firms 34s linear infinite; }
  .trained .firms-track ul, .trained .firms-track ul[aria-hidden] { display: flex; flex: none; flex-wrap: nowrap; gap: 0; margin: 0; }
  .firms-track li { padding-left: clamp(40px, 4.5vw, 64px); white-space: nowrap; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 760px) {
  .trained { padding: 22px 0 24px; }
  .trained span { display: block; padding-inline: 26px; }
  .firms { margin-top: 12px; margin-left: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent); }
  .firms-track li { padding-left: 36px; }
}
/* Four copies of the list sit side by side, so moving a quarter of the way lands exactly on the next copy. */
@keyframes firms { to { transform: translateX(-25%); } }

/* Services: stage panel */
.stages { background: var(--panel); border-radius: var(--radius-xl); margin-inline: clamp(8px, 1vw, 14px); padding-block: clamp(56px, 7vw, 96px); }
.stages > .wrap > h2 { text-align: center; padding-bottom: clamp(32px, 4vw, 52px); border-bottom: 1px solid #cbc9b8; }
.stage-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); padding-top: clamp(32px, 4vw, 56px); align-items: start; }
.stage-grid h3 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.05; max-width: 9em; }
.stage-list { margin-top: 30px; display: flex; flex-direction: column; }
.stage-btn {
  display: grid; grid-template-columns: 52px 1fr; align-items: baseline; width: 100%;
  background: none; border: 0; padding: 12px 0; text-align: left; color: var(--muted);
}
.stage-btn .n { font-size: 19px; font-variant-numeric: tabular-nums; }
.stage-btn .t { font-size: 19px; font-weight: 500; }
.stage-btn .d { grid-column: 2; display: none; margin-top: 8px; font-size: 15.5px; line-height: 1.45; color: var(--muted); max-width: 36ch; }
.stage-btn:hover { color: var(--ink); }
.stage-btn[aria-selected="true"] { color: var(--ink); padding-bottom: 18px; }
.stage-btn[aria-selected="true"] .d { display: block; }
.stage-view { position: relative; overflow: hidden; background: #ebe9de; border-radius: var(--radius); min-height: 500px; padding: clamp(20px, 3vw, 44px); display: flex; flex-direction: column; gap: 24px; }
.contours { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.contours path { fill: none; stroke: #cfccbb; stroke-width: 1; }
.stage-panel { position: relative; flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-content: center; }
.stage-panel[hidden] { display: none; }
.svc { background: #fff; border-radius: 12px; padding: 18px 18px 20px; box-shadow: 0 1px 2px rgba(20, 22, 15, .06), 0 12px 28px -18px rgba(20, 22, 15, .3); animation: rise .5s cubic-bezier(.2, .7, .2, 1) both; }
.svc:nth-child(2) { animation-delay: .05s; } .svc:nth-child(3) { animation-delay: .1s; } .svc:nth-child(4) { animation-delay: .15s; }
.svc:only-child, .svc:nth-child(3):last-child { grid-column: 1 / -1; }
.svc h4 { margin: 0 0 6px; font-family: var(--display); font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.svc p { font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.svc .tag { font-size: 13px; font-weight: 400; margin-bottom: 10px; color: var(--muted); }
.pager { position: relative; display: flex; align-items: center; justify-content: center; gap: 22px; font-size: 14px; font-weight: 500; }
.round { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #a9a694; background: #fff; transition: background-color .2s, color .2s, border-color .2s; }
.round:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.round svg { width: 14px; height: 14px; }
.stages .more { margin-top: 30px; }

/* Team */
.team { padding-top: clamp(72px, 9vw, 120px); }
.team-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.team-head .lede { margin-top: 14px; max-width: 56ch; }
.team-head .ctrl { display: flex; align-items: center; gap: 10px; }
.rail {
  display: flex; gap: 18px; margin-top: clamp(28px, 4vw, 44px);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: max(var(--gutter), calc((100vw - var(--page)) / 2)); scroll-padding-inline: max(var(--gutter), calc((100vw - var(--page)) / 2));
  padding-bottom: 8px;
}
.rail::-webkit-scrollbar { display: none; }
.person { position: relative; flex: 0 0 min(300px, 78vw); min-width: 0; scroll-snap-align: start; display: flex; flex-direction: column; background: var(--panel); border-radius: var(--radius); overflow: hidden; }
.person-top { display: flex; justify-content: space-between; gap: 12px; padding: 20px 20px 16px; min-height: 124px; }
.person h3 { font-size: 22px; line-height: 1.1; letter-spacing: -0.015em; }
.person h3 span { display: block; }
.person .role { margin-top: 10px; font-size: 14px; color: var(--muted); line-height: 1.3; }
.plus { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #fff; transition: transform .3s, background-color .2s, color .2s; }
.plus svg { width: 13px; height: 13px; }
.plus:hover { background: var(--ink); color: var(--cream); }
.plus[aria-expanded="true"] { transform: rotate(45deg); background: var(--ink); color: var(--cream); }
.portrait { position: relative; aspect-ratio: 1 / 1; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.bio { position: absolute; inset: 0; overflow-y: auto; padding: 4px 20px 18px; background: var(--panel); font-size: 14.5px; line-height: 1.5; color: #33362c; }
.bio[hidden] { display: none; }
.bio a { display: inline-block; margin-top: 10px; font-weight: 500; text-underline-offset: 3px; }
.creds { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px 22px; flex-wrap: wrap; min-height: 76px; padding: 14px 16px; background: #fff; font-size: 14px; color: var(--muted); text-align: center; line-height: 1.3; }

/* Playbook: a framed video with a white card set into its right side */
.playbook { padding: clamp(72px, 9vw, 128px) clamp(10px, 1.2vw, 18px); }
.pb-frame { position: relative; display: flex; min-height: clamp(600px, 50vw, 720px); border-radius: 20px; overflow: hidden; background: #10160f; }
.pb-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.pb-card { position: relative; display: flex; flex-direction: column; margin: 10px 10px 10px auto; width: min(48%, 660px); background: var(--card); border-radius: 12px; }
.pb-main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: clamp(32px, 4vw, 60px) clamp(24px, 3.4vw, 56px); text-align: center; }
.pb-main h2 { font-size: clamp(30px, 3.4vw, 48px); max-width: 11em; }
.pb-main .lede { font-size: 17.5px; max-width: 40ch; }
.pb-main .lede b { color: var(--ink); font-weight: 500; }
.pb-main .btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 6px; }
.btn-light { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-light:hover { border-color: #a9a694; }
.pb-asked { padding: 18px clamp(24px, 3.4vw, 56px) 22px; border-top: 1px solid var(--line); }
.asked-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 4px; }
.asked-head p { font-size: 13.5px; color: var(--muted); }
.asked-dots { display: flex; gap: 2px; }
.asked-dot { display: grid; place-items: center; width: 20px; height: 20px; padding: 0; border: 0; background: none; }
.asked-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #c4c1b0; transition: background-color .3s, transform .3s; }
.asked-dot:hover::before { background: var(--muted); }
.asked-dot[aria-pressed="true"]::before { background: var(--forest); transform: scale(1.25); }
/* The sets share one grid cell, so the box keeps the height of the tallest set while they take turns. */
.asked-sets { display: grid; }
.asked-set { grid-area: 1 / 1; visibility: hidden; }
.asked-set.is-active { visibility: visible; }
.asked-set li { opacity: 0; transform: translateY(6px); transition: opacity .45s ease, transform .45s ease; }
.asked-set.is-active li { opacity: 1; transform: none; }
.asked-set.is-active li:nth-child(2) { transition-delay: .07s; }
.asked-set.is-active li:nth-child(3) { transition-delay: .14s; }
.pb-asked li + li { border-top: 1px solid var(--line); }
.pb-asked a { display: grid; grid-template-columns: 40px 1fr 12px; gap: 10px; align-items: baseline; padding: 11px 0; text-decoration: none; font-size: 16px; font-weight: 500; line-height: 1.3; }
.pb-asked .n { font-size: 13.5px; font-weight: 400; font-variant-numeric: tabular-nums; color: var(--muted); }
.pb-asked .arrow { width: 11px; height: 11px; opacity: .4; transition: transform .2s, opacity .2s; }
.pb-asked a:hover { color: var(--forest); }
.pb-asked a:hover .arrow { opacity: 1; transform: translate(2px, -2px); }

/* FAQ */
.faq { padding-bottom: clamp(80px, 10vw, 136px); }
.faq h2 { text-align: center; }
.faq-list { max-width: 840px; margin: clamp(36px, 5vw, 64px) auto 0; border-top: 1px solid var(--line); counter-reset: q; }
.faq details { border-bottom: 1px solid var(--line); counter-increment: q; }
.faq summary { display: grid; grid-template-columns: 64px 1fr 24px; align-items: center; gap: 12px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 18.5px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: counter(q) "."; font-size: 15px; font-weight: 400; font-variant-numeric: tabular-nums; color: var(--muted); }
.faq summary svg { width: 16px; height: 16px; transition: transform .3s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 36px 26px 76px; color: var(--muted); max-width: 68ch; }
.faq details p a { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.faq details p a:hover { color: var(--forest); }

/* Footer */
footer { background: var(--night); color: #b4b2a6; font-size: 15px; --mark-a: var(--cream); --mark-b: var(--cream); }
footer a { text-decoration: none; }
footer a:hover { color: var(--cream); }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 28px; padding-block: 56px 48px; }
.foot-top p { margin-top: 16px; max-width: 40ch; font-size: 17px; line-height: 1.5; }
.foot-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 36px 28px; padding-block: 48px; border-top: 1px solid #23241f; }
.foot-cols h3, .foot-lists h3 { font-size: 16px; font-weight: 400; color: #8c8a7f; letter-spacing: 0; margin-bottom: 16px; }
.foot-cols ul, .foot-lists ul { display: flex; flex-direction: column; gap: 11px; }
.foot-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; padding-block: 48px; border-top: 1px solid #23241f; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding-block: 28px 40px; border-top: 1px solid #23241f; font-size: 13.5px; color: #8c8a7f; }
.foot-bottom nav { display: flex; gap: 24px; }

/* Responsive */
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .nav-links { position: absolute; top: 72px; left: var(--gutter); right: var(--gutter); display: none; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px; border-radius: var(--radius); background: var(--card); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 24px 48px -24px rgba(20, 22, 15, .5); }
  .nav-links.open { display: flex; }
  .nav-links { max-height: calc(100vh - 96px); overflow-y: auto; }
  .nav-group { flex-wrap: wrap; }
  .nav-group > a { flex: 1; }
  .nav-caret { width: 44px; height: 44px; }
  .nav-caret svg { width: 14px; height: 14px; }
  .svc-menu { position: static; flex-basis: 100%; width: auto; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; background: none; }
  .svc-menu::before { display: none; }
  .svc-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 14px 0 6px; }
  .svc-menu h3 { font-size: 17px; padding-bottom: 4px; }
  .svc-menu li span, .svc-foot span { display: none; }
  .nav-links .svc-menu li a:not(.btn) { padding: 8px 10px; font-size: 15.5px; }
  .svc-foot { padding: 6px 10px 10px; border-top: 0; }
  .nav-links a:not(.btn) { padding: 12px 10px; font-size: 17px; }
  .nav-links .btn-cream { background: var(--ink); color: var(--cream); margin-top: 6px; }
  .stage-grid { grid-template-columns: minmax(0, 1fr); }
  .record-frame { grid-template-columns: minmax(0, 1fr); }
  .record-photo { min-height: 320px; }
  .pb-frame { flex-direction: column; min-height: 0; }
  .pb-video { position: static; height: 240px; }
  .pb-card { width: auto; margin: 0; border-radius: 0; }
  .value, .value.tall { grid-column: span 12; grid-row: auto; }
  .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .cta-card { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .cta-card > div, .cta-card > div + div { padding-inline: 0; }
  .cta-card > div + div { border-left: 0; border-top: 1px solid rgba(244, 240, 228, .3); padding-top: 18px; }
  .stage-panel { grid-template-columns: minmax(0, 1fr); }
  .stage-view { min-height: 0; }
  .faq summary { grid-template-columns: 34px 1fr 20px; font-size: 17px; }
  .faq details p { padding: 0 8px 22px 46px; }
  .foot-lists { grid-template-columns: minmax(0, 1fr); }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ───────── Subpages ───────── */
main:focus { outline: none; }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--forest); }
.pill { display: inline-flex; align-items: center; min-height: 30px; padding: 0 14px; border-radius: 999px; background: var(--panel); font-size: 13.5px; color: var(--muted); text-decoration: none; }
a.pill:hover { color: var(--ink); }
.num { font-variant-numeric: tabular-nums; }

.phead { padding: clamp(128px, 13vw, 176px) 0 clamp(40px, 5vw, 64px); text-align: center; }
.phead h1 { font-size: clamp(44px, 7vw, 92px); line-height: 1; margin: 22px auto 0; max-width: 12em; }
.phead > .wrap > p { margin: 26px auto 0; color: var(--muted); max-width: 58ch; font-size: 18px; }

.crumbs { padding-top: 80px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; padding-block: 14px; }
.crumbs li + li::before { content: "›"; margin-right: 10px; color: #a9a694; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--ink); }

/* Resources index */
.res { padding-bottom: clamp(72px, 9vw, 120px); }
.res-in { max-width: 1200px; margin-inline: auto; }
/* Cards respond to hover with a shadow only. A card that moves under the pointer flickers at its edge. */
.post:hover { box-shadow: 0 18px 36px -24px rgba(20, 22, 15, .45); }
/* Slim banner pointing from the articles to the Playbook */
.pb-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding: 16px 24px; border-radius: var(--radius); background: var(--forest); color: var(--cream); text-decoration: none; font-size: 16px; line-height: 1.4; }
.pb-banner b { font-weight: 500; }
.pb-banner-go { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; white-space: nowrap; }
.pb-banner-go .arrow { transition: transform .2s; }
.pb-banner:hover .pb-banner-go { text-decoration: underline; text-underline-offset: 4px; }
.pb-banner:hover .pb-banner-go .arrow { transform: translate(2px, -2px); }
.pb-banner:focus-visible { outline-color: var(--cream); outline-offset: -5px; }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.post { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.post > img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.post-body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post h3 { font-size: 21px; line-height: 1.18; }
.post p { font-size: 15px; color: var(--muted); line-height: 1.5; }
.byline { display: flex; align-items: center; gap: 12px; padding: 14px 22px; background: var(--panel); font-size: 13.5px; line-height: 1.3; }
.byline img, .byline i { flex: none; width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.byline i { display: grid; place-items: center; background: var(--forest); color: var(--cream); font-style: normal; font-weight: 500; }
.byline b { display: block; font-weight: 500; color: var(--ink); }
.byline span { color: var(--muted); }

/* Article and Playbook answer */
.ahead { text-align: center; padding: clamp(44px, 6vw, 80px) 0 clamp(32px, 4vw, 48px); }
.ahead .meta { font-size: 13.5px; color: var(--muted); }
.ahead h1 { font-size: clamp(36px, 5.2vw, 70px); line-height: 1.03; max-width: 14em; margin: 18px auto 0; }
.ahead .dek { margin: 24px auto 0; max-width: 48ch; font-size: 19px; color: var(--muted); }
.ahead .byline { display: inline-flex; background: none; margin-top: 26px; padding: 0; text-align: left; text-decoration: none; }
.acover { max-width: 1100px; margin-inline: auto; border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 9; }
.acover img { width: 100%; height: 100%; object-fit: cover; }
.abody { display: grid; grid-template-columns: minmax(0, 680px) minmax(0, 280px); justify-content: space-between; gap: 48px; max-width: 1100px; margin: clamp(40px, 5vw, 72px) auto 0; align-items: start; }
.aside { position: sticky; top: 104px; border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); padding: 20px; font-size: 14px; max-height: calc(100vh - 136px); overflow-y: auto; }
.aside h2 { font-size: 15px; font-weight: 600; letter-spacing: 0; margin-bottom: 14px; }
.aside ol { display: flex; flex-direction: column; gap: 10px; }
.aside a { display: grid; grid-template-columns: auto 1fr; gap: 10px; color: var(--muted); text-decoration: none; line-height: 1.35; }
.aside a:hover { color: var(--ink); }
.aside a[aria-current] { color: var(--ink); font-weight: 500; }
.aside .num { font-size: 13px; }
.qhead { max-width: 1100px; margin-inline: auto; padding-top: clamp(40px, 5vw, 72px); }
.qhead .num { color: var(--oxblood); font-size: 15px; }
.qhead .pill { margin-left: 12px; }
.qhead h1 { font-size: clamp(32px, 4.4vw, 58px); line-height: 1.05; max-width: 17em; margin-top: 18px; }
.pn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 1100px; margin: clamp(48px, 6vw, 80px) auto 0; }
.pn a { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 500; line-height: 1.3; }
.pn a:hover { border-color: #a9a694; }
.pn a.next { text-align: right; grid-column: 2; }
.pn small { font-size: 13.5px; font-weight: 400; font-variant-numeric: tabular-nums; color: var(--muted); }
.more-posts { max-width: 1200px; margin: clamp(64px, 8vw, 112px) auto 0; }
.more-posts > h2 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 24px; }
.apage { padding-bottom: clamp(72px, 9vw, 120px); }

.prose { font-size: 17.5px; line-height: 1.65; color: #2a2d23; overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3, .prose h4 { color: var(--ink); line-height: 1.15; margin-top: 1.9em; scroll-margin-top: 100px; }
.prose h2 { font-size: 30px; } .prose h3 { font-size: 26px; } .prose h4 { font-size: 21px; font-weight: 600; letter-spacing: -0.012em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; display: flex; flex-direction: column; gap: .5em; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li > ul, .prose li > ol { margin-top: .5em; }
.prose li::marker { color: var(--muted); }
.prose strong { font-weight: 600; color: var(--ink); }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #a9a694; }
.prose a:hover { color: var(--oxblood); text-decoration-color: currentColor; }
.prose blockquote { margin-inline: 0; padding: 20px 22px; background: var(--panel); border-radius: 12px; font-size: 18px; line-height: 1.5; color: var(--ink); }
.prose figure { margin: 2em 0; }
.prose figure img { border-radius: 12px; border: 1px solid var(--line); margin-inline: auto; }
.prose figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--muted); text-align: center; }
.prose a:not([href]) { color: inherit; text-decoration: none; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2em; }
.prose table { display: block; width: max-content; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.prose th, .prose td { padding: 10px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { font-weight: 600; color: var(--ink); background: var(--panel); }
.prose pre { overflow-x: auto; padding: 16px 18px; background: var(--panel); border-radius: 12px; font-size: 14.5px; line-height: 1.5; }
.prose .disclaimer { font-size: 14px; line-height: 1.55; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1.4em; margin-top: 2.4em; }
.prose .disclaimer strong { color: var(--muted); }
.legal { max-width: 760px; margin-inline: auto; padding-bottom: clamp(72px, 9vw, 120px); }

/* Playbook index */
.pb-search { position: relative; max-width: 560px; margin: 34px auto 0; }
.pb-search input { width: 100%; height: 54px; border-radius: 999px; border: 1px solid #b9b6a4; background: var(--card); padding: 0 22px 0 52px; font: inherit; color: var(--ink); }
.pb-search input::placeholder { color: #8d8f83; }
.pb-search svg { position: absolute; left: 20px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.pb-count { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.pb { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; padding-block: 16px clamp(72px, 9vw, 120px); }
.pb-nav { position: sticky; top: 104px; }
.pb-nav h2 { font-size: 13.5px; font-weight: 400; color: var(--muted); letter-spacing: 0; margin-bottom: 14px; }
.pb-nav ol { display: flex; flex-direction: column; }
.pb-nav a { display: grid; grid-template-columns: 30px 1fr auto; gap: 8px; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--line); text-decoration: none; font-size: 15px; line-height: 1.3; }
.pb-nav a:hover { color: var(--forest); }
.pb-nav .num { font-size: 13.5px; color: var(--muted); }
.chapter { padding-bottom: 48px; scroll-margin-top: 100px; }
.chapter[hidden] { display: none; }
.chapter-head { display: flex; align-items: baseline; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--ink); }
.chapter-head h2 { font-size: clamp(24px, 2.4vw, 32px); flex: 1; }
.chapter-head .num { font-size: 14px; color: var(--oxblood); }
.chapter-head small { font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.qrow { display: grid; grid-template-columns: 58px 1fr 16px; gap: 12px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 17.5px; font-weight: 500; line-height: 1.3; }
.qrow[hidden] { display: none; }
.qrow .num { font-size: 13.5px; font-weight: 400; color: var(--muted); }
.qrow .arrow { width: 11px; height: 11px; opacity: .35; transition: transform .2s, opacity .2s; }
.qrow:hover { color: var(--forest); }
.qrow:hover .arrow { opacity: 1; transform: translate(2px, -2px); }
.pb-empty { padding: 40px 0; color: var(--muted); }

/* Services */
.dhero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: #0c110d; color: var(--cream); min-height: clamp(560px, 46vw, 680px); }
.dhero-text { display: flex; flex-direction: column; justify-content: flex-end; gap: 22px; padding: 150px clamp(24px, 4vw, 64px) clamp(40px, 5vw, 64px) max(var(--gutter), calc((100vw - var(--page)) / 2)); }
.dhero h1 { font-size: clamp(44px, 5.4vw, 76px); line-height: 1.02; }
.dhero p { color: rgba(244, 240, 228, .82); max-width: 40ch; font-size: 18px; }
.facts { margin: 6px 0 0; }
.facts div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-top: 1px solid rgba(244, 240, 228, .18); font-size: 14.5px; }
.facts dt { color: rgba(244, 240, 228, .65); }
.facts dd { margin: 0; text-align: right; }
.facts dd a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: rgba(244, 240, 228, .4); transition: text-decoration-color .2s; }
.facts dd a:hover { text-decoration-color: currentColor; }
.dhero .btns, .cta-band .btns { display: flex; flex-wrap: wrap; gap: 10px; }
.dhero-img { position: relative; min-height: 280px; }
.dhero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); padding-block: clamp(64px, 8vw, 104px); }
.intro h2 { font-size: clamp(28px, 3vw, 40px); max-width: 12em; }
.intro div { display: flex; flex-direction: column; gap: 1em; color: #33362c; max-width: 62ch; }
.stage-sec { padding-block: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.stage-sec.alt { background: var(--panel); border: 0; border-radius: var(--radius-xl); margin-inline: clamp(8px, 1vw, 14px); }
.stage-sec.alt + .stage-sec { border-top: 0; }
.stage-sec.alt + .wrap > .leads { border-top: 0; }
.intro a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #a9a694; }
.intro a:hover { color: var(--oxblood); text-decoration-color: currentColor; }
.stage-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); align-items: end; }
.stage-top .num { color: var(--oxblood); font-size: 15px; }
.stage-top h2 { margin-top: 10px; }
.stage-top p { color: #33362c; max-width: 62ch; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: clamp(28px, 4vw, 48px); }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.scard { padding: 26px; scroll-margin-top: 100px; }
.stage-sec.alt .scard { background: #fff; border-color: transparent; }
.scard h3 { font-size: 21px; margin-bottom: 10px; }
.scard p { font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.leads { padding-block: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.leads-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.leads-head h2 { font-size: clamp(26px, 2.6vw, 34px); }
.lead { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1fr) 16px; gap: 22px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); text-decoration: none; }
.lead img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.lead b { display: block; font-weight: 500; font-size: 18px; }
.lead span { display: block; font-size: 14.5px; color: var(--muted); line-height: 1.4; }
.lead .arrow { width: 12px; height: 12px; transition: transform .2s; }
.lead:hover .arrow { transform: translate(2px, -2px); }
.lead:hover b { color: var(--forest); }

/* Service cards as links, and service detail pages */
a.scard { display: flex; flex-direction: column; text-decoration: none; transition: transform .25s, box-shadow .25s; }
a.scard:hover { box-shadow: 0 18px 36px -24px rgba(20, 22, 15, .45); }
.more-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px; font-size: 14.5px; font-weight: 500; }
a.scard:hover .more-link .arrow { transform: translate(2px, -2px); }
.more-link .arrow { transition: transform .2s; }
.dhero-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14px; color: rgba(244, 240, 228, .9); max-width: none; }
.dhero-crumb a { color: rgba(244, 240, 228, .65); text-decoration: none; }
.dhero-crumb a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.dhero-crumb span { color: rgba(244, 240, 228, .4); }
.dhero h1.tagline { font-size: clamp(34px, 3.9vw, 56px); line-height: 1.06; max-width: 13em; }
.stage-sec.detail { border-radius: var(--radius-xl); }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 96px); align-items: start; }
.detail-grid h2 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 22px; }
.ticks { display: flex; flex-direction: column; }
.ticks li { position: relative; padding: 15px 0 15px 34px; border-top: 1px solid #cbc9b8; font-size: 16px; line-height: 1.5; color: #2a2d23; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 13px; height: 7px; border-left: 1.6px solid var(--forest); border-bottom: 1.6px solid var(--forest); transform: rotate(-45deg); }
.leads.related .cards { margin-top: 0; }
.more-posts.helps .cards { margin-top: 0; }
.more-posts.helps + .more-posts { margin-top: clamp(48px, 6vw, 80px); }

/* Team page */
.members { padding-bottom: clamp(48px, 6vw, 80px); }
.member { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; padding-block: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.member-photo { position: sticky; top: 104px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; background: var(--panel); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; }
.member h2 { font-size: clamp(30px, 3.2vw, 44px); }
.member .role { color: var(--muted); margin-top: 8px; }
.member .prose { margin-top: 26px; max-width: 68ch; }
.rows { margin: 34px 0 0; border-top: 1px solid var(--line); max-width: 760px; }
.rows div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.rows dt { font-size: 14.5px; color: var(--muted); }
.rows dd { margin: 0; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }

/* Newsletter signup (footer) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.news-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px clamp(28px, 5vw, 80px); align-items: center; padding-block: 44px; border-top: 1px solid #23241f; }
.news-row h3 { font-size: clamp(22px, 2.2vw, 28px); color: var(--cream); }
.news-row p { margin-top: 10px; max-width: 46ch; }
.news { position: relative; display: flex; flex-wrap: wrap; gap: 10px; }
.news input[type="email"] { flex: 1 1 240px; min-width: 0; height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid #3b3c35; background: #14150f; color: var(--cream); font: inherit; }
.news input[type="email"]::placeholder { color: #8c8a7f; }
.news input[type="email"]:hover { border-color: #5a5b52; }
.news-trap { position: absolute; left: -5000px; }
.news-status { flex-basis: 100%; margin: 4px 0 0 20px; font-size: 14px; color: var(--cream); }
.news-status:empty { display: none; }

/* Cookie notice: hidden in the markup, shown by the script until accepted */
.cookie { position: fixed; z-index: 60; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(780px, calc(100% - 32px)); display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 14px 14px 14px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 24px 48px -20px rgba(20, 22, 15, .45); font-size: 14px; line-height: 1.45; }
.cookie[hidden] { display: none; }
.cookie a { text-underline-offset: 3px; }
.cookie a:hover { color: var(--oxblood); }
.cookie .btn { flex: none; }

/* Contact page and footer contact line */
.foot-top .foot-contact { margin-top: 10px; font-size: 15.5px; }
.foot-contact a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(244, 240, 228, .35); }
/* ── Careers ── */
.jobs { padding-bottom: clamp(72px, 9vw, 120px); }
.jobs-in { max-width: 880px; margin-inline: auto; }
.jobs h2 { font-size: clamp(26px, 2.6vw, 34px); }
.jobs-note { margin-top: 14px; color: var(--muted); max-width: 62ch; }
.jobs-note a, .apply p a, .join a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.jobs-note a:hover, .apply p a:hover, .join a:hover { color: var(--forest); }
.job-list { margin-top: 28px; border-top: 1px solid var(--line); }
.job { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 4px; border-bottom: 1px solid var(--line); text-decoration: none; }
.job h3 { font-size: 23px; letter-spacing: -0.015em; transition: color .2s; }
.job p { margin-top: 6px; color: var(--muted); font-size: 15.5px; line-height: 1.5; max-width: 60ch; }
.job .arrow { width: 14px; height: 14px; transition: transform .2s; }
.job:hover h3 { color: var(--forest); }
.job:hover .arrow { transform: translate(2px, -2px); }
.jbody { display: grid; grid-template-columns: minmax(0, 680px) minmax(0, 300px); justify-content: space-between; gap: 48px; max-width: 1100px; margin: clamp(8px, 2vw, 24px) auto 0; align-items: start; }
.apply { position: sticky; top: 104px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 24px; }
.apply h2 { font-size: 21px; letter-spacing: -0.012em; }
.apply p { font-size: 15px; line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }
.apply-back { font-size: 14px; color: var(--muted); text-underline-offset: 3px; }
.apply-back:hover { color: var(--ink); }
.join { margin-top: calc(-1 * clamp(8px, 2vw, 24px)); padding: 28px 0 clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); color: var(--muted); }
@media (max-width: 960px) {
  .jbody { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .apply { position: static; }
}

.contact { padding-bottom: clamp(72px, 9vw, 120px); }
.contact .cards { margin-top: 0; }
.contact .scard { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.contact .scard h2 { font-size: 23px; letter-spacing: -0.015em; }
.contact .scard .btn { margin-top: auto; }
.contact address { margin-top: auto; font-style: normal; font-size: 17px; line-height: 1.5; color: var(--ink); }
.contact-big { margin-top: auto; font-size: clamp(17px, 1.5vw, 20px); font-weight: 500; text-underline-offset: 4px; overflow-wrap: anywhere; }
.contact-big:hover { color: var(--forest); }
.contact-note { margin-top: 26px; max-width: 70ch; font-size: 13.5px; line-height: 1.55; color: var(--muted); }

/* Closing call to action */
.cta-band { background: #fff; text-align: center; padding: clamp(72px, 9vw, 120px) var(--gutter); }
.cta-band h2 { font-size: clamp(28px, 3vw, 38px); }
.cta-band p { margin: 14px auto 0; color: var(--muted); max-width: 44ch; font-size: 18px; }
.cta-band .btns { justify-content: center; margin-top: 28px; }

@media (max-width: 960px) {
  .abody, .pb, .dhero, .intro, .stage-top, .member, .news-row, .detail-grid { grid-template-columns: minmax(0, 1fr); }
  .posts, .cards.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aside, .pb-nav, .member-photo { position: static; max-height: none; }
  .abody .aside { order: -1; }
  .abody .aside.siblings { order: 1; }
  .member-photo { max-width: 280px; }
  .dhero-text { padding: 130px var(--gutter) 40px; }
  .dhero-img { min-height: 300px; }
  .pb-nav ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
  .lead { grid-template-columns: 56px minmax(0, 1fr) 16px; }
  .lead > span { display: none; }
}
@media (max-width: 620px) {
  .posts, .cards, .cards.three, .pn, .pb-nav ol { grid-template-columns: minmax(0, 1fr); }
  .pn a.next { grid-column: auto; }
  .rows div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .qrow { grid-template-columns: 44px 1fr 14px; font-size: 16.5px; }
  .prose { font-size: 16.5px; }
  .cookie { flex-direction: column; align-items: flex-start; padding: 16px; }
}
