/* Bayesian Conspiracy Capital: shared stylesheet for every page.
   The look follows the landed page of the opening: page white, ink, grey, Pkeday green,
   the same bold condensed headline face (Anton, from the opening's fonts), system sans for reading.
   On the home page the opening's own style.css is loaded too, so nothing here styles bare
   elements outside main, the header, the menu or the footer, and no class name here is one
   the opening uses (hero, words, layer, w, ink, halo, sub, bar, mark, right, tag, tick, steps,
   step, hint, after, on, k). */

@font-face { font-family: "Anton"; src: url("../opening/fonts/anton.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --page: #f9fafb;
  --ink: #1a1a1a;
  --grey: #4b5563;
  --grey-2: #6b7280;
  --line: rgba(26, 26, 26, .12);
  --green: #006644;
  --green-card: #007a55;
  --green-deep: #004d33;
  --stone: #eef3f0;
  --on-green: #d1d5db;
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --gut: clamp(20px, 5vw, 64px);
  --max: 1240px;
  --sec: clamp(84px, 12vw, 168px);
  --head-h: 64px;
}

/* ---------- base (inner pages; the home page keeps the opening's own base) ---------- */
html.inner { background: var(--page); -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
html.inner body {
  margin: 0; background: var(--page); color: var(--ink); font-family: var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
html.inner *, html.inner *::before, html.inner *::after { box-sizing: border-box; }
html.home-page { scroll-padding-top: calc(var(--head-h) + 16px); }
body.menu-open { overflow: hidden; }

.content, .site-footer, .site-header, .site-menu { font-family: var(--sans); }
.content { display: block; background: var(--page); color: var(--ink); font-size: 18px; line-height: 1.65; position: relative; }
.content *, .content *::before, .content *::after { box-sizing: border-box; }
.content img { max-width: 100%; display: block; }
.content a { color: var(--green); }
.content p { margin: 0 0 1em; }
.content p:last-child { margin-bottom: 0; }
.content ul, .content ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: max(var(--gut), env(safe-area-inset-left)); padding-right: max(var(--gut), env(safe-area-inset-right)); }
.narrow { max-width: 860px; }
.sec { padding-top: var(--sec); padding-bottom: var(--sec); position: relative; }
.sec-tight { padding-top: calc(var(--sec) * .6); padding-bottom: calc(var(--sec) * .6); }
.sec + .sec.plain { padding-top: 0; }

/* ---------- type ---------- */
.kicker {
  display: block; margin: 0 0 28px;
  font-family: var(--mono); font-size: 11.5px; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; color: var(--green); font-weight: 600;
}
.kicker::before { content: ""; display: inline-block; vertical-align: middle; width: 34px; height: 1px; background: currentColor; margin: -2px 12px 0 0; }
.kicker b { font-weight: 700; margin-right: 8px; }
.kicker em { font-style: normal; opacity: .6; margin-right: 10px; }
.display, .title, .title-sm {
  font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .005em; color: var(--ink);
  margin: 0; font-kerning: normal; text-wrap: balance;
}
.display { font-size: clamp(52px, 9.6vw, 132px); line-height: .9; }
.title { font-size: clamp(40px, 7vw, 92px); line-height: .92; margin-bottom: 32px; }
.title-sm { font-size: clamp(30px, 4.2vw, 52px); line-height: .95; margin-bottom: 20px; }
.title .soft, .display .soft { color: var(--green); }
.lede { font-size: clamp(20px, 2.3vw, 27px); line-height: 1.5; color: var(--grey); max-width: 34em; margin: 0 0 1em; text-wrap: pretty; }
.lede strong { color: var(--ink); font-weight: 600; }
.body-l { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.7; color: var(--grey); max-width: 36em; text-wrap: pretty; }
.muted { color: var(--grey); }
.small { font-size: 15px; line-height: 1.6; }
.fine { font-size: 13px; line-height: 1.6; color: var(--grey-2); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.content h3 { font-size: 21px; line-height: 1.3; font-weight: 650; margin: 0 0 10px; color: var(--ink); letter-spacing: -.005em; }
.content h4 { font-size: 17px; line-height: 1.35; font-weight: 650; margin: 0 0 8px; color: var(--ink); }

/* ---------- links and buttons ---------- */
.go {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 30px;
  font-family: var(--sans); font-weight: 600; font-size: 16px; text-decoration: none; color: var(--green);
  border-bottom: 1px solid currentColor; padding-bottom: 4px;
}
.go::after { content: "\2192"; transition: transform .3s ease; }
.go:hover::after, .go:focus-visible::after { transform: translateX(4px); }
.go-row { display: flex; flex-wrap: wrap; gap: 8px 36px; }
.go-row .go { margin-top: 18px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px;
  background: var(--green); color: #fff !important; font: 600 16px/1 var(--sans); text-decoration: none; border: 0; border-radius: 999px; cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}
.btn:hover { background: var(--green-deep); }
.btn[aria-disabled="true"], .btn:disabled { background: #9ca3af; cursor: not-allowed; pointer-events: none; }
.btn.ghost { background: transparent; color: var(--green) !important; box-shadow: inset 0 0 0 1.5px var(--green); }
.content a:focus-visible, .content button:focus-visible, .site-header a:focus-visible, .site-header button:focus-visible,
.site-footer a:focus-visible, .site-menu a:focus-visible, .site-menu button:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }

/* owner placeholder: content still to come from the owner */
.ph {
  display: inline; font-family: var(--mono); font-size: .78em; letter-spacing: .02em; line-height: 1.7;
  color: var(--green-deep); background: #fff6d8; box-shadow: inset 0 0 0 1px #d9b84a; padding: 1px 6px; border-radius: 3px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.green .ph, .site-footer .ph { color: #1a1a1a; }
p.ph-line { margin-top: 14px; }

/* ---------- colour bands ---------- */
.green { background: var(--green); color: #fff; }
.green .title, .green .display, .green .title-sm, .green h3, .green h4 { color: #fff; }
.green .kicker { color: #fff; }
.green .lede, .green .body-l, .green .muted { color: var(--on-green); }
.green .go, .green a { color: #fff; }
.deep { background: var(--green-deep); color: #fff; }
.stone { background: var(--stone); }
.bg-white { background: #fff; }

/* ---------- photographs ---------- */
.photo { margin: 0; position: relative; overflow: hidden; background: #d9ded9; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo.bleed { height: clamp(340px, 78vh, 860px); height: clamp(340px, 78svh, 860px); }
.photo.tall { aspect-ratio: 4 / 5; }
.photo.wide { aspect-ratio: 3 / 2; }
.photo figcaption {
  position: absolute; left: max(var(--gut), env(safe-area-inset-left)); bottom: 18px; color: #fff;
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  text-shadow: 0 0 8px rgba(0, 0, 0, .55), 0 0 2px rgba(0, 0, 0, .5);
}
.photo.parallax img { transform: scale(1.08); transform-origin: 50% 50%; will-change: transform; }

/* ---------- grids ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 48px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 20px; }
.split { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
@media (min-width: 860px) {
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 72px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .split { grid-template-columns: 5fr 7fr; gap: 80px; }
  .split.rev { grid-template-columns: 7fr 5fr; }
}

/* ---------- page openings (inner pages) ---------- */
.opener { padding-top: calc(var(--head-h) + clamp(64px, 12vw, 150px)); padding-bottom: clamp(56px, 8vw, 110px); }
.opener .display { margin-bottom: 28px; }
.opener .lede { margin-bottom: 0; }
.opener .lede + .lede { margin-top: 22px; }

/* ---------- home: hand-over section right after the opening ---------- */
.handover { padding-top: clamp(96px, 16vw, 200px); padding-bottom: clamp(84px, 12vw, 160px); }
.handover .display { margin-bottom: 36px; }
.handover .formerly { margin-top: 34px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--grey-2); }

/* ---------- quote ---------- */
.quote { font-family: var(--display); text-transform: uppercase; font-size: clamp(34px, 6vw, 76px); line-height: .98; margin: 0; color: #fff; text-wrap: balance; }
.quote-by { margin-top: 24px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-green); }
.big-para { font-size: clamp(21px, 2.6vw, 32px); line-height: 1.42; margin: 0; max-width: 30em; text-wrap: pretty; }
.green .big-para { color: #fff; }
.big-para em { font-style: italic; }

/* ---------- prior / evidence / update ---------- */
.pe { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); margin-top: 8px; }
.pe-item { padding: 30px 0 34px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 76px 1fr; gap: 6px 18px; }
.pe-num { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--green); padding-top: 9px; }
.pe-num i { font-style: normal; opacity: .55; }
.pe-item .pe-word { font-family: var(--display); text-transform: uppercase; font-size: clamp(34px, 4.4vw, 54px); line-height: 1; color: var(--ink); margin: 0 0 12px; }
.pe-item p { color: var(--grey); font-size: 18px; line-height: 1.6; margin: 0; }
@media (min-width: 860px) {
  .pe { grid-template-columns: repeat(3, 1fr); border-top: 0; gap: 0; }
  .pe-item { grid-template-columns: 1fr; border-bottom: 0; border-top: 1px solid var(--ink); padding: 26px 34px 0 0; }
  .pe-item + .pe-item { padding-left: 0; }
  .pe-num { padding-top: 0; margin-bottom: 26px; }
}

/* ---------- principles list ---------- */
.principles { display: grid; grid-template-columns: 1fr; gap: 0; }
.principle { padding: 26px 0; border-top: 1px solid var(--line); }
.principle:last-child { border-bottom: 1px solid var(--line); }
.principle h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(26px, 3vw, 34px); line-height: 1; letter-spacing: .01em; margin-bottom: 12px; }
.principle p { color: var(--grey); margin: 0; max-width: 40em; }
.principle .pair { margin-top: 10px; color: var(--green-deep); font-weight: 600; }
@media (min-width: 860px) {
  .principles.cols { grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
  .principles.cols .principle { border-bottom: 0; border-top: 1px solid var(--ink); }
  .principles.two { grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
  .principles.two .principle:last-child { border-bottom: 0; }
}

/* ---------- book cards ---------- */
.books { display: grid; grid-template-columns: 1fr; gap: 18px; }
.book {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 4px;
  padding: clamp(26px, 3vw, 38px); min-height: 100%;
}
.book-no { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 34px; display: flex; justify-content: space-between; }
.book h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(30px, 3vw, 40px); line-height: .98; letter-spacing: .01em; margin: 0 0 18px; }
.book p { color: var(--grey); font-size: 17px; line-height: 1.6; }
.book .num { margin-top: auto; padding-top: 28px; border-top: 1px solid var(--line); }
.book .num big { display: block; font-family: var(--display); font-size: clamp(56px, 6vw, 80px); line-height: .9; color: var(--green); margin-bottom: 10px; letter-spacing: 0; }
.book .num span { font-size: 15px; color: var(--ink); font-weight: 600; line-height: 1.45; display: block; }
.book .num.none span { color: var(--grey); font-weight: 400; }
.book .go { margin-top: 24px; align-self: flex-start; }
.book.feature { background: var(--green); border-color: var(--green); }
.book.feature h3, .book.feature .num span { color: #fff; }
.book.feature p { color: var(--on-green); }
.book.feature .book-no, .book.feature .num big, .book.feature .go { color: #fff; }
.book.feature .num { border-color: rgba(255, 255, 255, .25); }
@media (min-width: 960px) { .books { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.footnote { margin-top: 28px; font-size: 13.5px; line-height: 1.6; color: var(--grey-2); max-width: 62em; }

/* ---------- people ---------- */
.founders { display: grid; grid-template-columns: 1fr; gap: 56px; }
.founder .photo { aspect-ratio: 4 / 5; margin-bottom: 24px; border-radius: 3px; }
.founder h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(32px, 3.4vw, 44px); line-height: 1; margin: 0 0 6px; letter-spacing: .01em; }
.founder .role { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin: 0 0 16px; }
.founder p { color: var(--grey); }
@media (min-width: 760px) { .founders { grid-template-columns: 1fr 1fr; gap: 48px; } }
@media (min-width: 1100px) {
  .founders.full .founder { display: grid; grid-template-columns: 1fr; }
}
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 18px; }
.person .photo { aspect-ratio: 4 / 5; margin-bottom: 16px; border-radius: 3px; }
.person h3 { font-size: 19px; margin: 0 0 8px; }
.person p { font-size: 15.5px; line-height: 1.6; color: var(--grey); margin: 0 0 .7em; }
.person .initials { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: var(--stone); color: var(--green); font-family: var(--display); font-size: 64px; }
@media (max-width: 599px) {
  .people { grid-template-columns: 1fr; gap: 44px; }
  .person { display: grid; grid-template-columns: 120px 1fr; gap: 0 18px; align-items: start; }
  .person .photo { margin-bottom: 0; grid-row: span 3; }
}
@media (min-width: 860px) { .people { grid-template-columns: repeat(3, 1fr); gap: 56px 32px; } }
@media (min-width: 1180px) { .people.four { grid-template-columns: repeat(4, 1fr); } }

/* ---------- tools list ---------- */
.tool-list { border-top: 1px solid var(--line); }
.tool-list li { display: flex; gap: 18px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 19px; color: var(--ink); }
.tool-list li span { font-family: var(--mono); font-size: 11.5px; color: var(--green); letter-spacing: .08em; flex: none; width: 28px; }

/* ---------- stats strip (IPO counts) ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255, 255, 255, .18); margin-top: 48px; border: 1px solid rgba(255, 255, 255, .18); }
.stats div { background: var(--green); padding: 22px 20px 20px; }
.stats b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(44px, 5vw, 68px); line-height: 1; color: #fff; }
.stats span { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-green); }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats.light { background: var(--line); border-color: var(--line); }
.stats.light div { background: #fff; }
.stats.light b { color: var(--ink); }
.stats.light span { color: var(--grey); }

/* ---------- case studies ---------- */
.cases { border-top: 1px solid var(--ink); }
.case { display: grid; grid-template-columns: 1fr; gap: 6px 32px; padding: 28px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.case:hover .case-name { color: var(--green); }
.case-logo { height: 34px; display: flex; align-items: center; margin-bottom: 8px; }
.case-logo img { max-height: 30px; max-width: 150px; width: auto; }
.case-name { font-family: var(--display); text-transform: uppercase; font-size: clamp(28px, 3.2vw, 40px); line-height: 1; transition: color .25s ease; color: var(--ink); }
.case-line { color: var(--grey); font-size: 17.5px; margin: 0; }
.case-go { font-weight: 600; color: var(--green); font-size: 15px; white-space: nowrap; }
.case-go::after { content: " \2192"; }
@media (min-width: 860px) {
  .case { grid-template-columns: 170px 1fr 1.3fr auto; align-items: center; padding: 30px 0; }
  .case-logo { margin: 0; }
}

/* ---------- logo wall ---------- */
.wall { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.wall-item { background: #fff; padding: 28px 26px 30px; display: flex; flex-direction: column; gap: 14px; position: relative; min-height: 220px; }
.wall-logo { height: 52px; display: flex; align-items: center; }
.wall-logo img { max-height: 46px; max-width: 170px; width: auto; object-fit: contain; }
.wall-item h3 { font-size: 18px; margin: 0; }
.wall-item p { font-size: 15.5px; line-height: 1.55; color: var(--grey); margin: 0; }
.badge { position: absolute; top: 18px; right: 18px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--green-deep); background: var(--stone); padding: 5px 8px; border-radius: 2px; }
@media (min-width: 600px) { .wall { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .wall { grid-template-columns: repeat(4, 1fr); } }

/* ---------- track record ---------- */
.perf { margin-top: 40px; }
.perf-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.pills { display: inline-flex; gap: 4px; padding: 4px; background: var(--stone); border-radius: 999px; }
.pill { appearance: none; -webkit-appearance: none; border: 0; background: transparent; padding: 9px 18px; border-radius: 999px; font: 600 14px/1 var(--sans); color: var(--grey); cursor: pointer; min-height: 38px; }
.pill[aria-checked="true"] { background: var(--green); color: #fff; }
.perf-label { font-size: 15px; color: var(--grey); margin: 0; }
.perf-label b { color: var(--ink); font-weight: 650; }
.chart { position: relative; width: 100%; height: clamp(260px, 42vw, 440px); background: #fff; border: 1px solid var(--line); border-radius: 4px; }
.chart svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.chart .ax { font: 11px var(--mono); fill: var(--grey-2); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 16px 0 0; font-size: 13.5px; color: var(--grey); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 22px; height: 0; border-top: 2px solid #555; display: inline-block; }
.returns { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 28px; border-radius: 4px; overflow: hidden; }
.returns div { background: #fff; padding: 18px 18px 16px; }
.returns div:first-child { background: var(--green); grid-column: 1 / -1; }
.returns span { display: block; font-size: 13px; color: var(--grey); margin-bottom: 6px; }
.returns b { font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1; color: var(--ink); }
.returns div:first-child span { color: var(--on-green); }
.returns div:first-child b { color: #fff; font-size: 52px; }
@media (min-width: 860px) {
  .returns { grid-template-columns: 1.4fr repeat(var(--n, 3), 1fr); }
  .returns div:first-child { grid-column: auto; }
}

/* ---------- careers ---------- */
.pact { display: grid; grid-template-columns: 1fr; gap: 48px; }
.pact h3.col-h { font-family: var(--mono); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin: 0 0 6px; }
.pact-item { padding: 22px 0; border-top: 1px solid var(--line); }
.pact-item h4 { font-size: 19px; }
.pact-item p { color: var(--grey); margin: 0; font-size: 17px; }
.pact-item.new h4::after { content: "DRAFT"; margin-left: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--green-deep); background: #fff6d8; box-shadow: inset 0 0 0 1px #d9b84a; padding: 2px 5px; vertical-align: 2px; border-radius: 2px; }
@media (min-width: 860px) { .pact { grid-template-columns: 1fr 1fr; gap: 72px; } }
.tabs { display: flex; gap: 4px; padding: 4px; background: var(--stone); border-radius: 999px; width: max-content; max-width: 100%; margin-bottom: 36px; overflow-x: auto; }
.tab { appearance: none; -webkit-appearance: none; border: 0; background: transparent; padding: 11px 20px; border-radius: 999px; font: 600 15px/1 var(--sans); color: var(--grey); cursor: pointer; white-space: nowrap; min-height: 42px; }
.tab[aria-selected="true"] { background: var(--green); color: #fff; }
.panel[hidden] { display: none; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: clamp(26px, 4vw, 52px); }
.panel .who { font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; color: var(--green-deep); background: var(--stone); padding: 10px 14px; border-radius: 3px; margin: 0 0 22px; line-height: 1.5; }
.panel ul.ticks li { position: relative; padding: 10px 0 10px 28px; border-top: 1px solid var(--line); color: var(--ink); font-size: 17px; }
.panel ul.ticks li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 10px; height: 10px; background: var(--green); border-radius: 50%; }
.years { display: grid; grid-template-columns: 1fr; gap: 0; counter-reset: yr; }
.year { padding: 30px 0; border-top: 1px solid rgba(255, 255, 255, .25); }
.year .span { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-green); margin-bottom: 12px; display: block; }
.year h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(32px, 3.4vw, 44px); line-height: 1; color: #fff; margin: 0 0 14px; }
.year p { color: var(--on-green); margin: 0; }
@media (min-width: 860px) { .years { grid-template-columns: repeat(3, 1fr); gap: 40px; } .year { border-top-color: #fff; } }
.check { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; line-height: 1.5; cursor: pointer; margin: 0 0 26px; max-width: 40em; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--green); flex: none; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gallery .photo { aspect-ratio: 4 / 3; border-radius: 3px; }
.gallery .photo.span2 { grid-column: span 2; aspect-ratio: 16 / 9; }
@media (min-width: 860px) { .gallery { grid-template-columns: 2fr 1fr 1fr; gap: 14px; } .gallery .photo.span2 { grid-column: auto; grid-row: span 2; aspect-ratio: auto; } }

/* ---------- contact ---------- */
.routes { display: grid; grid-template-columns: 1fr; gap: 18px; }
.route { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 28px; }
.route .mono { color: var(--green); display: block; margin-bottom: 14px; }
.route h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 32px; line-height: 1; margin: 0 0 12px; }
.route p { color: var(--grey); font-size: 17px; margin: 0; }
.route .go { margin-top: 18px; }
@media (min-width: 860px) { .routes { grid-template-columns: repeat(3, 1fr); } }
.form { display: grid; gap: 22px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font: 17px/1.4 var(--sans); color: var(--ink); background: #fff; border: 1px solid #cfd5d2; border-radius: 4px; padding: 14px 14px; min-height: 52px;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--green) 50%), linear-gradient(135deg, var(--green) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.form-note { font-size: 15px; color: var(--green-deep); background: var(--stone); padding: 14px 16px; border-radius: 4px; margin: 0; }
.form-note[hidden] { display: none; }
.reach dl { margin: 0; }
.reach dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-top: 26px; }
.reach dd { margin: 6px 0 0; font-size: 19px; }
.reach dd a { color: var(--ink); text-decoration-color: rgba(0, 102, 68, .4); text-underline-offset: 4px; }

/* ---------- IPO notes ---------- */
.verdicts { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.verdicts div { background: #fff; padding: 22px 22px 24px; }
.vtag { display: inline-block; font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; padding: 5px 9px; border-radius: 2px; margin-bottom: 12px; }
.vtag.priority { background: var(--green); color: #fff; }
.vtag.track { background: #d6ebe0; color: var(--green-deep); }
.vtag.borderline { background: #f3ead0; color: #6b5310; }
.vtag.kill { background: #ececec; color: #3f3f3f; }
.vtag.first-look { background: var(--stone); color: var(--grey); }
.verdicts p { margin: 0; font-size: 15.5px; color: var(--grey); line-height: 1.55; }
@media (min-width: 760px) { .verdicts { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .verdicts { grid-template-columns: repeat(4, 1fr); } }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.tbl th { text-align: left; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); padding: 14px 16px; border-bottom: 1px solid var(--ink); white-space: nowrap; background: #fff; }
.tbl td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td a { color: var(--ink); font-weight: 600; text-decoration: none; }
.tbl td a:hover { color: var(--green); text-decoration: underline; }
.tbl .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tbl .up { color: var(--green); font-weight: 650; }
.tbl .down { color: #9b2c2c; font-weight: 650; }
.tbl .dim { color: var(--grey-2); }
.note-list { border-top: 1px solid var(--ink); }
.note-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; align-items: center; }
.note-row strong { font-size: 17.5px; font-weight: 650; color: var(--ink); }
.note-row:hover strong { color: var(--green); }
.note-row .date { grid-column: 1 / -1; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; color: var(--grey-2); }
.note-row .vtag { margin: 0; }

/* ---------- header (every page; on home it takes over from the opening's bar) ---------- */
.site-header {
  position: fixed; z-index: 60; left: 0; right: 0; top: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: max(22px, env(safe-area-inset-top)) max(clamp(20px, 3vw, 40px), env(safe-area-inset-right)) 18px max(clamp(20px, 3vw, 40px), env(safe-area-inset-left));
  font-size: 14px; color: var(--green);
  background: linear-gradient(var(--page) 62%, rgba(249, 250, 251, 0));
  transition: background .3s ease, box-shadow .3s ease, opacity .25s ease, visibility .25s;
}
.site-header.scrolled { background: rgba(249, 250, 251, .94); box-shadow: 0 1px 0 var(--line); padding-bottom: 16px; }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header.scrolled { background: rgba(249, 250, 251, .82); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
}
.site-header.is-home { opacity: 0; visibility: hidden; pointer-events: none; transition: none; }
.site-header.is-home.shown { opacity: 1; visibility: visible; pointer-events: auto; }
.brand {
  display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--green);
  font-family: var(--display); font-weight: 400; font-size: 17px; line-height: 1; letter-spacing: .035em; text-transform: uppercase; white-space: nowrap;
}
.brand i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.site-nav { display: flex; gap: clamp(18px, 2.2vw, 32px); }
.site-nav a, #nav .nav-link { color: var(--green); text-decoration: none; font-weight: 500; white-space: nowrap; position: relative; }
.site-nav a::after, #nav .nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s ease; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after, #nav .nav-link:hover::after { transform: scaleX(1); }
.menu-btn {
  appearance: none; -webkit-appearance: none; border: 0; background: none; cursor: pointer; display: none; align-items: center; gap: 9px;
  padding: 10px 0 10px 12px; margin: -10px 0; font: 500 14px/1 var(--sans); color: var(--green); letter-spacing: .02em;
}
.menu-btn .bars { width: 18px; height: 9px; position: relative; display: inline-block; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; }
.menu-btn .bars::before { top: 0; } .menu-btn .bars::after { bottom: 0; }
@media (max-width: 1099px) {
  .site-nav { display: none; }
  .site-header .menu-btn { display: inline-flex; }
}
@media (max-width: 600px) {
  .site-header { font-size: 13px; padding-top: max(18px, env(safe-area-inset-top)); }
  .brand { font-size: 14px; gap: 7px; }
  .brand i { width: 7px; height: 7px; }
  .menu-btn { font-size: 13px; }
}

/* ---------- full-screen menu (phones and narrow windows) ---------- */
.site-menu {
  position: fixed; inset: 0; z-index: 100; background: var(--green); color: #fff; display: flex; flex-direction: column;
  padding: max(18px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(26px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s;
}
.site-menu.open { opacity: 1; visibility: visible; }
.site-menu .menu-top { display: flex; align-items: center; justify-content: space-between; min-height: 22px; }
.site-menu .brand { color: #fff; font-size: 14px; }
.menu-close { appearance: none; -webkit-appearance: none; border: 0; background: none; color: #fff; font: 500 13px/1 var(--sans); cursor: pointer; padding: 10px 0 10px 12px; margin: -10px 0; display: inline-flex; gap: 9px; align-items: center; }
.menu-close .x { width: 14px; height: 14px; position: relative; display: inline-block; }
.menu-close .x::before, .menu-close .x::after { content: ""; position: absolute; left: -1px; right: -1px; top: 50%; height: 1.5px; background: currentColor; transform: rotate(45deg); }
.menu-close .x::after { transform: rotate(-45deg); }
.site-menu nav { margin: auto 0; padding: 48px 0 32px; display: flex; flex-direction: column; }
.site-menu nav a {
  display: flex; align-items: baseline; gap: 16px; color: #fff; text-decoration: none; padding: 10px 0;
  font-family: var(--display); text-transform: uppercase; font-size: clamp(40px, 11vw, 72px); line-height: .96; letter-spacing: .005em;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  transform: translateY(14px); opacity: 0; transition: transform .5s cubic-bezier(.2, .7, .2, 1), opacity .5s ease;
}
.site-menu nav a small { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--on-green); flex: none; width: 24px; transform: translateY(-4px); }
.site-menu nav a[aria-current="page"] { color: #b9e5cf; }
.site-menu.open nav a { transform: none; opacity: 1; }
.site-menu.open nav a:nth-child(2) { transition-delay: .03s; } .site-menu.open nav a:nth-child(3) { transition-delay: .06s; }
.site-menu.open nav a:nth-child(4) { transition-delay: .09s; } .site-menu.open nav a:nth-child(5) { transition-delay: .12s; }
.site-menu.open nav a:nth-child(6) { transition-delay: .15s; } .site-menu.open nav a:nth-child(7) { transition-delay: .18s; }
.site-menu.open nav a:nth-child(8) { transition-delay: .21s; }
.site-menu .menu-foot { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; color: var(--on-green); }
.site-menu .menu-foot a { color: #fff; }

/* ---------- footer ---------- */
.site-footer { background: var(--green-deep); color: #fff; padding: clamp(72px, 9vw, 120px) 0 max(36px, env(safe-area-inset-bottom)); position: relative; }
.site-footer .wrap { display: grid; grid-template-columns: 1fr; gap: 44px; }
.site-footer .f-name { font-family: var(--display); text-transform: uppercase; font-size: clamp(44px, 7vw, 96px); line-height: .9; margin: 0 0 22px; letter-spacing: .005em; color: #fff; }
.site-footer .f-line { margin: 0; color: var(--on-green); font-size: 16px; line-height: 1.6; }
.site-footer h2 { font-family: var(--mono); font-weight: 600; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: #9fd3b9; margin: 0 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 10px; }
.site-footer a { color: #fff; text-decoration: none; font-size: 16px; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer .f-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.site-footer .f-legal { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 26px; display: grid; gap: 10px; font-size: 13.5px; line-height: 1.6; color: var(--on-green); }
.site-footer .f-legal p { margin: 0; }
@media (min-width: 900px) {
  .site-footer .wrap { grid-template-columns: 1.4fr 1fr; gap: 64px; }
}

/* ---------- scroll-in motion (only with scripts on and motion allowed) ---------- */
html.motion .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
html.motion .rv.in { opacity: 1; transform: none; }
html.motion .rv.d1 { transition-delay: .08s; } html.motion .rv.d2 { transition-delay: .16s; } html.motion .rv.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html.motion .rv { opacity: 1; transform: none; transition: none; }
  .site-menu, .site-menu nav a { transition: none; }
}

/* ---------- additions after the first screenshots ---------- */
/* home: a soft edge where the landed spiral page slides up under the first section.
   Invisible at the landing itself (site.js fades it in only once the page moves on). */
.stage-fade { position: relative; z-index: 2; height: 0; pointer-events: none; }
.stage-fade::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: clamp(90px, 16vh, 180px); background: linear-gradient(rgba(249, 250, 251, 0), var(--page)); opacity: var(--fade, 0); }
@media (max-width: 599px) {
  .tabs { width: 100%; }
  .tab { flex: 1 1 auto; padding: 11px 10px; font-size: 14px; }
  .returns div:last-child:nth-child(even) { grid-column: 1 / -1; }
}
.panel h3.title-sm { letter-spacing: .01em; }
.key-list { border-top: 1px solid rgba(255, 255, 255, .25); }
.key-list li { padding: 22px 0; border-bottom: 1px solid rgba(255, 255, 255, .25); color: #fff; font-size: 19px; line-height: 1.5; }
.key-list li b { display: block; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(30px, 3.4vw, 42px); line-height: 1; color: #9fd3b9; margin-bottom: 8px; letter-spacing: .01em; }
.content .title, .content .title-sm, .content .display { font-weight: 400; }
