:root {
  --bg: oklch(0.985 0.004 80);
  --paper: oklch(0.962 0.006 80);
  --ink: oklch(0.2 0.01 60);
  --ink-2: oklch(0.4 0.01 60);
  --muted: oklch(0.54 0.01 60);
  --rule: oklch(0.89 0.007 80);
  --accent: oklch(0.62 0.19 40);
  --accent-ink: oklch(0.5 0.17 38);
  /* sampled from the portrait background so the photo has no visible edge */
  --night: #050505;
  --night-2: oklch(0.19 0.004 60);
  --night-ink: oklch(0.96 0.004 80);
  --night-ink-2: oklch(0.78 0.006 70);
  --night-muted: oklch(0.6 0.008 60);
  --night-rule: oklch(0.27 0.004 60);
  --night-lift: color-mix(in oklch, var(--night-2) 30%, var(--night));
  --night-lift-2: color-mix(in oklch, var(--night-2) 55%, var(--night));
  --accent-wash: oklch(0.62 0.19 40 / 0.1);
  --sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Chivo Mono", ui-monospace, monospace;
  --gutter: clamp(20px, 4vw, 48px);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
p,
li,
dd,
figcaption {
  text-wrap: pretty;
}
h1,
h2,
h3,
h4 {
  text-wrap: balance;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
/* .reel and .refs set display, which would otherwise beat the hidden attribute */
[hidden] {
  display: none !important;
}
body {
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a {
  color: inherit;
}
ul,
ol {
  list-style: none;
}
.mono {
  font-family: var(--mono);
}
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  padding: 8px 12px;
  background: var(--night-ink);
  color: var(--night);
  border-radius: 4px;
  z-index: 10;
}
.skip:focus {
  top: 12px;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 20px;
  border-radius: 6px;
  font: 500 15px/1 var(--sans);
  text-decoration: none;
  transition:
    transform 150ms ease-out,
    background-color 150ms ease-out,
    border-color 150ms ease-out;
}
.btn:active {
  transform: translateY(1px);
}
.btn-accent {
  /* the brand orange is 3.8:1 under white text; one step deeper clears 4.5 */
  background: oklch(0.57 0.19 40);
  color: oklch(0.99 0.004 80);
}
.btn-accent:hover {
  background: var(--accent-ink);
}
.btn-line {
  border: 1px solid var(--night-rule);
  color: var(--night-ink);
}
.btn-line:hover {
  border-color: var(--night-muted);
}
.btn .arr {
  transition: transform 150ms ease-out;
}
.btn:hover .arr {
  transform: translateX(3px);
}

/* hero */
.hero {
  background: var(--night);
  color: var(--night-ink);
  overflow: hidden;
}
.bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
  font-size: 14px;
  color: var(--night-muted);
}
.bar .name {
  color: var(--night-ink);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.bar nav {
  display: flex;
  gap: 28px;
}
.bar nav a {
  text-decoration: none;
  transition: color 150ms ease-out;
}
.bar nav a:hover {
  color: var(--night-ink);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: end;
  min-height: min(680px, calc(100svh - 72px - 130px));
}
.hero-text {
  padding: 48px 0 56px;
  position: relative;
  z-index: 1;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 400 13px/1 var(--mono);
  letter-spacing: 0.02em;
  color: var(--night-ink-2);
}
.status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}
h1 {
  margin-top: 28px;
  font-size: clamp(42px, 5.2vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 600;
  text-wrap: balance;
}
h1 em {
  font-style: normal;
  color: var(--night-muted);
}
.lede {
  margin-top: 28px;
  max-width: 46ch;
  font-size: 19px;
  line-height: 1.55;
  color: var(--night-ink-2);
}
.cta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.portrait {
  /* first in the HTML so phones paint it before the text below it; second on desktop */
  order: 1;
  align-self: stretch;
  position: relative;
  margin-right: calc(var(--gutter) * -1);
}
.portrait img {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  max-height: 720px;
  width: auto;
  aspect-ratio: 1;
  object-fit: cover;
  -webkit-mask-image: radial-gradient(
    46% 56% at 52% 44%,
    #000 62%,
    transparent 100%
  );
  mask-image: radial-gradient(
    46% 56% at 52% 44%,
    #000 62%,
    transparent 100%
  );
}
.ledger {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--night-rule);
  position: relative;
  z-index: 1;
  background: var(--night);
}
.ledger div {
  padding: 28px 24px 36px 0;
}
.ledger div + div {
  padding-left: 24px;
  border-left: 1px solid var(--night-rule);
}
.ledger b {
  display: block;
  font: 500 clamp(32px, 3.2vw, 44px) / 1 var(--mono);
  letter-spacing: -0.04em;
  color: var(--night-ink);
}
.ledger span {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--night-muted);
}

/* sections */
section {
  padding: clamp(80px, 11vw, 144px) 0 0;
}
.head {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px 48px;
  padding-bottom: clamp(40px, 5vw, 64px);
}
.head .idx {
  padding-top: 14px;
  font: 400 13px/1.4 var(--mono);
  color: var(--muted);
}
.head .idx b {
  display: block;
  font-weight: 500;
  color: var(--accent-ink);
}
h2 {
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 600;
  max-width: 20ch;
  text-wrap: balance;
}
h2 em {
  font-style: normal;
  color: var(--muted);
}

/* cases */
.case {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 24px 48px;
  padding: 48px 0 56px;
  border-top: 1px solid var(--ink);
}
.case + .case {
  border-top-color: var(--rule);
}
.case .meta {
  font: 400 13px/1.6 var(--mono);
  color: var(--muted);
}
.case .meta b {
  display: block;
  color: var(--ink);
  font-weight: 500;
}
.result b {
  display: block;
  font: 500 clamp(48px, 5.6vw, 80px) / 0.95 var(--mono);
  letter-spacing: -0.05em;
  white-space: nowrap;
}
.result {
  position: sticky;
  top: 32px;
  align-self: start;
}
.result b span {
  color: var(--accent-ink);
}
.result b .u {
  margin-left: 0.12em;
  font-size: 0.42em;
  letter-spacing: 0;
}
.result small {
  display: block;
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}
.case h3 {
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 600;
  text-wrap: balance;
}
.case p {
  margin-top: 12px;
  color: var(--ink-2);
}
.case ul {
  margin-top: 18px;
  border-top: 1px solid var(--rule);
}
.case li {
  display: grid;
  grid-template-columns: 22px 1fr;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15.5px;
  color: var(--ink-2);
}
.case li b {
  color: var(--ink);
  font-weight: 600;
}
.case li::before {
  content: "→";
  color: var(--muted);
}
.shots {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  /* the sticky .result shares this grid; it slides under the strip instead of over it */
  position: relative;
  z-index: 1;
  background: var(--bg);
}
.shots ul {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.case .shots ul {
  margin-top: 0;
  border-top: 0;
}
.case .shots li {
  display: block;
  padding: 0;
  border: 0;
}
.case .shots li::before {
  content: none;
}
.shots img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  background: var(--paper);
}
.shots figcaption {
  margin-top: 12px;
  font: 400 13px/1.6 var(--mono);
  color: var(--muted);
}
.shots figcaption a {
  color: var(--ink);
  text-underline-offset: 3px;
  transition: color 150ms ease-out;
}
.shots figcaption a:hover {
  color: var(--accent-ink);
}
.lesson {
  margin-top: 20px;
  padding: 16px 18px;
  background: var(--paper);
  border-radius: 6px;
  font-size: 15.5px;
  color: var(--ink-2);
}
.lesson b {
  display: block;
  margin-bottom: 4px;
  font: 500 12px/1.4 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.value {
  margin-top: 16px;
  font-size: 15.5px;
  color: var(--ink-2);
}
.nw {
  white-space: nowrap;
}
.value a {
  display: inline-block;
  margin-left: 4px;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--rule);
  transition: text-decoration-color 150ms ease-out;
}
.value a:hover,
.value a:focus-visible {
  text-decoration-color: currentColor;
}

/* principles */
.rules {
  counter-reset: r;
  border-top: 1px solid var(--ink);
}
.rules li {
  counter-increment: r;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 8px 48px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
}
.rules li::before {
  content: counter(r, decimal-leading-zero);
  font: 400 13px/2 var(--mono);
  color: var(--muted);
}
.rules h3 {
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.rules p {
  color: var(--ink-2);
}

.ways {
  counter-reset: r;
  border-top: 1px solid var(--ink);
}
.ways > li {
  counter-increment: r;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
  padding: 40px 0;
  border-bottom: 1px solid var(--rule);
}
.ways .lead::before {
  content: counter(r, decimal-leading-zero);
  display: block;
  margin-bottom: 16px;
  font: 400 13px/1 var(--mono);
  color: var(--muted);
}
.ways h3 {
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.ways .lead p {
  margin-top: 12px;
  max-width: 26ch;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.steps li {
  padding: 12px 0;
  font-size: 15px;
  color: var(--ink-2);
}
.steps li + li {
  border-top: 1px solid var(--rule);
}
.ways .tools {
  margin-top: 20px;
}
.proof-links {
  margin-top: 14px;
  font-size: 15px;
  color: var(--muted);
}
.ways-note {
  margin-top: 24px;
  max-width: 70ch;
  font-size: 14px;
  color: var(--muted);
}
.ways-note .tools {
  margin: 0 0 8px;
}
@media (max-width: 760px) {
  .ways > li {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 28px 0;
  }
  .ways .lead p {
    font-size: 21px;
  }
}

/* case visuals: proportions are real (1× vs 1.5×) or the funnel's shape, never invented data */
.viz {
  margin-top: 36px;
  max-width: 340px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.case .viz ul,
.case .viz li {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: inherit;
  color: inherit;
}
.case .viz li::before {
  content: none;
}
.case .swap ul {
  display: flex;
}
.case .swap li {
  padding: 6px 10px;
  border: 1px solid var(--rule);
}
.viz-cap {
  display: block;
  margin-bottom: 12px;
  font: 500 12px/1.4 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.case .funnel li + li {
  margin-top: 12px;
}
.funnel i,
.versus i {
  display: block;
  height: 10px;
  margin-top: 6px;
  width: var(--w);
  background: var(--rule);
  border-radius: 0 4px 4px 0;
}
.funnel .on,
.versus .on {
  color: var(--ink);
  font-weight: 500;
}
.funnel .on i,
.versus .on i {
  background: var(--accent);
}
.versus div + div {
  margin-top: 14px;
}
.versus dd {
  display: flex;
  align-items: center;
  gap: 10px;
}
.versus dd i {
  margin-top: 0;
}
.versus b {
  font: 500 13px/1 var(--mono);
}
.swap ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.swap li {
  padding: 6px 10px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  font: 400 13px/1.2 var(--mono);
}
.swap .was li {
  color: var(--muted);
  text-decoration: line-through;
}
.swap .to {
  display: block;
  margin: 10px 0;
  font-family: var(--mono);
  color: var(--accent-ink);
}
.swap .now {
  padding: 14px;
  border: 1px solid var(--ink);
  border-radius: 6px;
}
.swap .now b {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--ink);
}

.toolkit .tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
  margin-top: 8px;
  font: 400 13px/1.6 var(--mono);
  color: var(--muted);
}
.toolkit .tools > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.toolkit .tools img {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  object-fit: contain;
}
.toolkit a {
  color: var(--ink);
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--rule);
  transition: text-decoration-color 150ms ease-out;
}
.toolkit a:hover,
.toolkit a:focus-visible {
  text-decoration-color: currentColor;
}

/* building */
.build {
  display: grid;
  grid-template-columns: 224px repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.build article {
  padding: 32px;
  background: var(--paper);
  border-radius: 6px;
}
.build article:first-of-type {
  grid-column: 2;
}
.build .tag {
  font: 400 13px/1.4 var(--mono);
  color: var(--muted);
}
.build h3 {
  margin-top: 8px;
  font-size: 28px;
  letter-spacing: -0.03em;
  font-weight: 600;
}
.build h3 a {
  text-decoration: none;
}
.build h3 a:hover {
  color: var(--accent-ink);
}
.build p {
  margin-top: 10px;
  color: var(--ink-2);
}
.build ul {
  margin-top: 18px;
}
.build li {
  padding: 9px 0;
  border-top: 1px solid var(--rule);
  font-size: 15px;
  color: var(--ink-2);
}
.note {
  grid-column: 2 / -1;
  font-size: 15px;
  color: var(--muted);
  max-width: 72ch;
}

/* amplemarket — dark memo */
.memo {
  color-scheme: dark;
  border-top: 1px solid var(--night-rule);
  padding-bottom: clamp(80px, 10vw, 128px);
  background: var(--night);
  color: var(--night-ink);
}
.memo .head .idx {
  color: var(--night-muted);
}
.memo .head .idx b {
  color: var(--accent);
}
.memo h2 em {
  color: var(--night-muted);
}
.memo .body {
  margin-left: 248px;
}
.memo .intro {
  max-width: 62ch;
  font-size: 19px;
  color: var(--night-ink-2);
}
.soa {
  margin-top: 40px;
  padding: 28px 28px 22px;
  border: 1px solid var(--night-rule);
  border-radius: 6px;
}
.soa figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-bottom: 20px;
}
.soa figcaption b {
  font-size: 17px;
  font-weight: 600;
}
.soa figcaption span {
  font: 400 13px/1.4 var(--mono);
  color: var(--night-muted);
}
.soa table {
  width: 100%;
  border-collapse: collapse;
}
.soa tbody tr {
  display: grid;
  grid-template-columns: minmax(9rem, 13rem) 1fr;
  align-items: center;
  gap: 16px;
  padding: 6px 8px;
  margin: 0 -8px;
  border-radius: 4px;
  transition: background-color 150ms ease-out;
}
.soa tbody tr:hover {
  background: var(--night-2);
}
.soa th {
  font-size: 15px;
  font-weight: 400;
  text-align: left;
  color: var(--night-ink-2);
}
.soa sup {
  color: var(--night-muted);
}
.soa td {
  display: flex;
  align-items: center;
  gap: 12px;
}
/* scaled to the top value so bars stay proportional; 40px reserves the label */
.soa td i {
  height: 12px;
  width: calc((100% - 56px) * var(--v) / var(--max, 23));
  background: oklch(0.5 0.006 60);
  border-radius: 0 4px 4px 0;
}
.soa td span {
  font: 500 14px/1 var(--mono);
  color: var(--night-ink);
}
.soa tr.you {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px dashed var(--night-rule);
  border-radius: 0;
}
.soa tr.you th,
.soa tr.you span {
  color: var(--accent);
  font-weight: 600;
}
.soa tr.you i {
  background: var(--accent);
}
.soa-note {
  margin-top: 16px;
  font: 400 12.5px/1.5 var(--mono);
  color: var(--night-muted);
}
.findings {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--night-rule);
  border-bottom: 1px solid var(--night-rule);
}
.findings div {
  padding: 28px 28px 32px 0;
}
.findings div + div {
  padding-left: 28px;
  border-left: 1px solid var(--night-rule);
}
.findings b {
  display: block;
  font: 500 40px/1 var(--mono);
  letter-spacing: -0.04em;
}
.findings p {
  margin-top: 14px;
  font-size: 15.5px;
  color: var(--night-ink-2);
}
.method {
  margin-top: 16px;
  max-width: 96ch;
  font: 400 12.5px/1.6 var(--mono);
  color: var(--night-muted);
}
.method a {
  color: var(--night-ink-2);
  text-underline-offset: 3px;
}
.method a:hover {
  color: var(--accent);
}
/* answer explorer: the raw AEO runs, readable */
.ask {
  margin-top: 40px;
  border: 1px solid var(--night-rule);
  border-radius: 6px;
}
.ask figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 24px 28px 18px;
  border-bottom: 1px solid var(--night-rule);
}
.ask figcaption b {
  font-size: 17px;
  font-weight: 600;
}
.ask-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font: 400 12.5px/1.4 var(--mono);
  color: var(--night-muted);
}
.ask-legend i {
  display: inline-block;
  vertical-align: -1px;
  margin-right: 6px;
}
.ask-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  min-height: 520px;
}
.ask-list {
  padding: 12px 0;
  border-right: 1px solid var(--night-rule);
}
.ask-head,
.ask-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(2, 66px);
  align-items: center;
  gap: 12px;
  padding: 0 20px 0 28px;
}
.ask-head {
  padding-top: 6px;
  padding-bottom: 8px;
  font: 400 11.5px/1.2 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--night-muted);
}
.ask-group {
  margin: 14px 28px 4px;
  font: 500 12px/1.2 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--night-muted);
}
.ask-group em {
  font-style: normal;
  color: var(--night-ink-2);
}
.ask-row {
  width: 100%;
  min-height: 44px;
  border: 0;
  background: none;
  color: var(--night-ink-2);
  font: 400 14.5px/1.35 var(--sans);
  text-align: left;
  cursor: pointer;
  transition: background-color 150ms ease-out, color 150ms ease-out;
}
.ask-row:hover {
  background: var(--night-2);
  color: var(--night-ink);
}
.ask-row[aria-pressed="true"] {
  background: var(--night-2);
  color: var(--night-ink);
  box-shadow: inset 2px 0 0 var(--accent);
}
.ask-row:focus-visible,
.ask-tabs button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.ask-row > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ask-dots {
  display: flex;
  gap: 6px;
}
.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid oklch(0.48 0.006 60);
  flex: none;
}
.dot.on {
  background: var(--accent);
  border-color: var(--accent);
}
.dot.cut {
  border-style: dashed;
  border-color: var(--night-rule);
}
.dot.sel {
  outline: 1.5px solid var(--night-ink);
  outline-offset: 2px;
}
.ask-read {
  scroll-margin-top: 72px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px 28px 24px;
}
.ask-q {
  font-size: 15px;
  line-height: 1.45;
  color: var(--night-ink);
}
.ask-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.ask-tabs button {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--night-rule);
  border-radius: 4px;
  background: none;
  color: var(--night-ink-2);
  font: 400 12.5px/1 var(--mono);
  cursor: pointer;
  transition: border-color 150ms ease-out, color 150ms ease-out;
}
.ask-tabs button:hover {
  color: var(--night-ink);
  border-color: var(--night-muted);
}
.ask-tabs button[aria-pressed="true"] {
  color: var(--night-ink);
  border-color: var(--night-ink);
}
.ask-named {
  margin-top: 16px;
  font: 400 12.5px/1.6 var(--mono);
  color: var(--night-muted);
}
.ask-named b {
  font-weight: 500;
  color: var(--night-ink-2);
}
.ask-named b.you {
  color: var(--accent);
}
.ask-text {
  flex: 1;
  margin-top: 14px;
  max-height: 360px;
  overflow-y: auto;
  padding-right: 8px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--night-ink-2);
  overscroll-behavior: contain;
}
.ask-text p + p {
  margin-top: 8px;
}
.ask-text mark {
  background: var(--accent);
  color: var(--night);
  padding: 0 2px;
  border-radius: 2px;
}
.ask-text.cut {
  color: var(--night-muted);
  font-style: italic;
}
.ask-empty {
  padding: 28px;
  font: 400 13px/1.6 var(--mono);
  color: var(--night-muted);
}
@media (max-width: 960px) {
  .ask-cols {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .ask-list {
    border-right: 0;
    border-bottom: 1px solid var(--night-rule);
  }
}
@media (max-width: 760px) {
  .ask figcaption,
  .ask-read {
    padding-left: 18px;
    padding-right: 18px;
  }
  .ask-head {
    font-size: 10px;
    letter-spacing: 0;
  }
  .ask-head,
  .ask-row {
    grid-template-columns: minmax(0, 1fr) repeat(2, 60px);
    gap: 8px;
    padding: 0 12px 0 18px;
  }
  .ask-group {
    margin-left: 18px;
  }
  .ask-row > span:first-child {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .ask-row {
    min-height: 52px;
    font-size: 14px;
  }
  .dot {
    width: 12px;
    height: 12px;
  }
  .ask-dots {
    gap: 5px;
  }
  .ask-text {
    max-height: 300px;
  }
}
.sub {
  margin-top: 96px;
}
.sub > .label {
  font: 400 13px/1.4 var(--mono);
  color: var(--accent);
}
.sub h2 {
  margin-top: 12px;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 600;
  max-width: 26ch;
  text-wrap: balance;
}
.pos-line {
  margin-top: 20px;
  max-width: 60ch;
  font-size: 19px;
  color: var(--night-ink-2);
  text-wrap: pretty;
}
.proof {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--night-rule);
  border-bottom: 1px solid var(--night-rule);
}
.proof li {
  padding: 24px 24px 28px 0;
  font-size: 15px;
  color: var(--night-ink-2);
}
.proof li + li {
  padding-left: 24px;
  border-left: 1px solid var(--night-rule);
}
.proof b {
  display: block;
  margin-bottom: 10px;
  font: 500 34px/1 var(--mono);
  letter-spacing: -0.04em;
  color: var(--night-ink);
}
.card {
  margin-top: 40px;
  background: var(--night-lift);
  border: 1px solid var(--night-rule);
  border-radius: 6px;
  overflow: hidden;
}
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--night-rule);
}
.card-head b {
  font-size: 16px;
  font-weight: 600;
}
.card-head span {
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.objections {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.objections div {
  padding: 22px 24px 24px;
  border-bottom: 1px solid var(--night-rule);
}
.objections div:nth-child(odd) {
  border-right: 1px solid var(--night-rule);
}
.objections dt {
  font-size: 16px;
  font-weight: 600;
}
.objections dd {
  margin-top: 8px;
  font-size: 15px;
  color: var(--night-ink-2);
}
.score small a {
  color: inherit;
  text-underline-offset: 3px;
  transition: color 150ms ease-out;
}
.objections a,
.calc-src a {
  color: var(--night-ink);
  text-underline-offset: 3px;
  text-decoration-color: var(--night-muted);
  transition: color 150ms ease-out;
}
.objections a:hover,
.calc-src a:hover,
.score small a:hover {
  color: var(--accent);
}
.landmines {
  padding: 22px 24px 26px;
  background: var(--night-lift-2);
}
.landmines > span {
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--night-muted);
}
.landmines ol {
  margin-top: 14px;
  display: grid;
  gap: 8px;
  counter-reset: q;
  font-size: 15px;
  color: var(--night-ink-2);
}
.landmines li {
  counter-increment: q;
  display: grid;
  grid-template-columns: 28px 1fr;
}
.landmines li::before {
  content: counter(q) ".";
  font-family: var(--mono);
  color: var(--night-muted);
}
.plan {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.plan > div {
  padding: 24px;
  border: 1px solid var(--night-rule);
  border-radius: 6px;
}
.plan .when {
  font: 500 13px/1 var(--mono);
  color: var(--accent);
}
.plan h3 {
  margin-top: 12px;
  font-size: 22px;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.plan ul {
  margin-top: 14px;
  font-size: 15px;
  color: var(--night-ink-2);
}
.plan li {
  padding: 10px 0;
  border-top: 1px solid var(--night-rule);
}
.closing {
  margin-top: 48px;
  max-width: 60ch;
}
.closing > span {
  font: 400 13px/1.4 var(--mono);
  color: var(--accent);
}
.closing ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--night-rule);
}
.closing li {
  padding: 12px 0;
  border-bottom: 1px solid var(--night-rule);
  font-size: clamp(17px, 1.6vw, 19px);
  letter-spacing: -0.01em;
  font-weight: 500;
  text-wrap: pretty;
}
.closing p {
  margin-top: 14px;
  font-size: 15px;
  color: var(--night-muted);
}
.score {
  margin-top: 28px;
}
.score li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 24px;
}
.score small {
  font: 400 13px/1.4 var(--mono);
  color: var(--night-muted);
  white-space: nowrap;
}
.score p {
  font-size: 16px;
  color: var(--night-ink-2);
}

/* experience */
.xp {
  border-top: 1px solid var(--ink);
}
.xp li {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 6px 48px;
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
}
.xp .yr {
  font: 400 14px/1.7 var(--mono);
  color: var(--muted);
}
.xp h3 {
  font-size: 20px;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.xp h3 span {
  display: block;
  font-size: 15px;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--muted);
}
.xp p {
  font-size: 15.5px;
  color: var(--ink-2);
}
.earlier {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 6px 48px;
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
}
.earlier > span {
  font: 400 14px/1.7 var(--mono);
  color: var(--muted);
}
.earlier ul {
  grid-column: 2 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 14px 48px;
  font-size: 15px;
  color: var(--ink-2);
}
.earlier b {
  color: var(--ink);
  font-weight: 600;
}
.spec {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 20px 48px;
  margin-top: 56px;
  padding: 32px 0 72px;
  border-top: 1px solid var(--night-rule);
}
.spec h2 {
  grid-column: 1 / -1;
  font: 400 14px/1.5 var(--mono);
  letter-spacing: normal;
  max-width: none;
  color: var(--night-muted);
}
.spec h2 b {
  font-weight: 400;
  color: var(--night-ink);
}
.spec a {
  color: var(--night-ink);
  text-decoration: none;
}
.spec a:focus-visible {
  outline: 2px solid var(--night-ink);
  outline-offset: 4px;
}
.spec .film video {
  display: block;
  width: 100%;
  height: auto;
  background: var(--night-2);
  border-radius: 4px;
  box-shadow: 0 0 0 1px var(--night-rule);
}
.spec .film figcaption {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--night-ink-2);
}
.spec .film figcaption b {
  color: var(--night-ink);
  font-weight: 500;
}
.spec .film figcaption a {
  text-decoration: underline;
  text-decoration-color: var(--night-rule);
  text-underline-offset: 3px;
}
.spec .film figcaption a:hover {
  text-decoration-color: currentColor;
}
.spec .film {
  align-self: start;
  position: sticky;
  top: 24px;
}
.spec .g {
  margin-top: 28px;
  padding-bottom: 8px;
  font: 400 12px/1 var(--mono);
  color: var(--night-muted);
  border-bottom: 1px solid var(--night-rule);
}
.spec .g:first-child {
  margin-top: 0;
}
.spec ul {
  list-style: none;
}
.spec li + li {
  border-top: 1px solid var(--night-rule);
}
.spec li a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 16px;
  padding: 16px 0;
}
.spec li b {
  font-weight: 500;
  font-size: 17px;
}
.spec li small {
  font-size: 14px;
  line-height: 1.45;
  color: var(--night-muted);
}
.spec .n {
  margin-right: 10px;
  font: 400 12px/1 var(--mono);
  color: var(--accent);
}
.spec .arr {
  grid-row: 1 / 3;
  grid-column: 2;
  align-self: center;
  color: var(--night-muted);
}
.spec li a:hover .arr,
.spec li a:hover small {
  color: var(--night-ink-2);
}
@media (prefers-reduced-motion: no-preference) {
  .spec .arr {
    transition: transform 150ms ease-out;
  }
  .spec li a:hover .arr {
    transform: translateX(3px);
  }
}
@media (max-width: 760px) {
  .spec {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 40px;
  }
  .spec .film {
    position: static;
  }
}
.reel {
  display: grid;
  grid-template-columns: 200px minmax(0, 720px);
  gap: 16px 48px;
  padding: 40px 0 8px;
}
.reel figcaption {
  font: 400 14px/1.7 var(--mono);
  color: var(--muted);
}
.reel figcaption b {
  display: block;
  font-weight: 400;
  opacity: 0.7;
}
.reel video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  background: #000;
}
.refs {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 6px 48px;
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
}
.refs > span {
  font: 400 14px/1.7 var(--mono);
  color: var(--muted);
}
.refs ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 48px;
}
.refs blockquote {
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.refs p {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}
.refs p b {
  color: var(--ink-2);
  font-weight: 600;
}
.facts {
  display: grid;
  grid-template-columns: 200px repeat(3, minmax(0, 1fr));
  gap: 24px 48px;
  padding: 32px 0 0;
  font-size: 15px;
  color: var(--ink-2);
}
.facts h4 {
  margin-bottom: 8px;
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.facts div:first-child {
  grid-column: 2;
}

/* footer */
footer {
  margin-top: clamp(96px, 12vw, 160px);
  background: var(--night);
  color: var(--night-ink);
  padding: clamp(80px, 10vw, 128px) 0 40px;
}
footer h2 {
  max-width: 16ch;
  font-size: clamp(40px, 6vw, 80px);
}
footer h2 em {
  color: var(--night-muted);
}
footer .cta {
  margin-top: 40px;
}
.fine {
  margin-top: 96px;
  padding-top: 20px;
  border-top: 1px solid var(--night-rule);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font: 400 12.5px/1.5 var(--mono);
  color: var(--night-muted);
}

/* entrance: hero only, once */
@media (prefers-reduced-motion: no-preference) {
  .rise {
    animation: rise 600ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
    animation-delay: calc(var(--d, 0) * 70ms);
  }
  .portrait img {
    animation: fade 900ms ease-out both;
  }
  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(14px);
    }
  }
  @keyframes fade {
    from {
      opacity: 0;
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

.status .hi {
  font-weight: 500;
  color: var(--night-ink);
}
.brief {
  margin-bottom: 48px;
  max-width: 760px;
  border-top: 1px solid var(--night-rule);
}
.brief li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--night-rule);
}
.brief span {
  padding-top: 4px;
  font: 500 12px/1.4 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.brief p {
  font-size: 17px;
  color: var(--night-ink);
  text-wrap: pretty;
}
.brief a {
  color: inherit;
  text-underline-offset: 3px;
  text-decoration-color: var(--night-muted);
}
.brief a:hover,
.brief a:focus-visible {
  color: var(--accent);
}
.plan a {
  color: inherit;
  text-underline-offset: 3px;
}
.plan a:hover,
.plan a:focus-visible {
  color: var(--accent);
}
.calc-in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
  padding: 24px;
  border-bottom: 1px solid var(--night-rule);
}
.calc-seats,
.calc-in fieldset:last-child {
  grid-column: 1 / -1;
}
.calc-in fieldset {
  border: 0;
  min-width: 0;
}
.calc-seats > span,
.calc-in legend {
  display: flex;
  justify-content: space-between;
  font: 500 12px/1.4 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--night-muted);
}
.calc-in output {
  font: 500 20px/1 var(--mono);
  letter-spacing: -0.02em;
  color: var(--night-ink);
}
.calc-in input[type="range"] {
  width: 100%;
  height: 20px;
  margin-top: 10px;
  background: none;
  accent-color: var(--accent);
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.calc-in input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
  background:
    linear-gradient(var(--accent) 0 0) 0 / var(--p, 17%) 100% no-repeat,
    var(--night-2);
}
.calc-in input[type="range"]::-moz-range-track {
  height: 4px;
  border-radius: 2px;
  background: var(--night-2);
}
.calc-in input[type="range"]::-moz-range-progress {
  height: 4px;
  border-radius: 2px;
  background: var(--accent);
}
.calc-in input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -6px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  transition: transform 150ms ease-out;
}
.calc-in input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
}
.calc-in input[type="range"]:hover::-webkit-slider-thumb {
  transform: scale(1.15);
}
.seg,
.adds {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.seg {
  grid-template-columns: repeat(3, auto);
  justify-content: start;
}
.adds {
  grid-template-columns: repeat(4, 1fr);
}
.seg label,
.adds label {
  position: relative;
  cursor: pointer;
}
.seg input,
.adds input {
  position: absolute;
  opacity: 0;
}
.seg span,
.adds span {
  display: block;
  height: 100%;
  padding: 9px 12px;
  border: 1px solid var(--night-rule);
  border-radius: 4px;
  font-size: 14px;
  color: var(--night-ink-2);
  transition:
    border-color 150ms ease-out,
    background-color 150ms ease-out;
}
.adds small {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--night-muted);
}
.seg label:hover span,
.adds label:hover span {
  border-color: var(--night-muted);
  color: var(--night-ink);
}
.seg input:checked + span,
.adds input:checked + span {
  border-color: var(--accent);
  background: var(--accent-wash);
  color: var(--night-ink);
}
.seg input:focus-visible + span,
.adds input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.calc-out {
  padding: 24px;
}
.calc-row {
  display: grid;
  grid-template-columns: 160px 1fr 120px;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
}
.calc-who {
  font-size: 15px;
  font-weight: 600;
}
.calc-who small {
  display: block;
  font: 400 12.5px/1.4 var(--mono);
  color: var(--night-muted);
}
.calc-track {
  position: relative;
  height: 12px;
  background: var(--night-2);
  border-radius: 2px;
}
.calc-track i {
  position: absolute;
  inset-block: 0;
  background: oklch(0.5 0.006 60);
  border-radius: 2px;
}
.calc-row.you .calc-track i {
  background: var(--accent);
}
.calc-row b {
  text-align: right;
  font: 500 17px/1 var(--mono);
  letter-spacing: -0.02em;
}
.calc-verdict {
  margin-top: 14px;
  max-width: 68ch;
  font-size: 15px;
  color: var(--night-ink-2);
}
.calc .card-head span {
  white-space: nowrap;
}
.calc-src {
  padding: 14px 24px 18px;
  border-top: 1px solid var(--night-rule);
  background: var(--night-lift-2);
  font: 400 12.5px/1.6 var(--mono);
  color: var(--night-muted);
  overflow-wrap: anywhere;
}
@media (prefers-reduced-motion: no-preference) {
  .calc-track i {
    transition:
      left 150ms ease-out,
      width 150ms ease-out;
  }
}
@media (max-width: 760px) {
  .reel,
  .refs,
  .refs ul {
    grid-template-columns: 1fr;
  }
  .brief li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .calc-in {
    grid-template-columns: 1fr;
  }
  .seg,
  .adds {
    grid-template-columns: 1fr 1fr;
  }
  .seg label:last-child {
    grid-column: 1 / -1;
  }
  .calc-row {
    grid-template-columns: 1fr auto;
  }
  .calc-track {
    grid-column: 1 / -1;
    order: 3;
  }
}

@media (max-width: 960px) {
  .bar nav {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .portrait {
    order: -1;
    height: min(78vw, 420px);
    margin: 0 calc(var(--gutter) * -1);
  }
  .portrait img {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    -webkit-mask-image: radial-gradient(
      50% 50% at 50% 42%,
      #000 62%,
      transparent 100%
    );
    mask-image: radial-gradient(
      50% 50% at 50% 42%,
      #000 62%,
      transparent 100%
    );
  }
  .hero-text {
    padding: 8px 0 48px;
  }
  .status {
    font-size: 12px;
  }
  .earlier ul {
    grid-column: auto;
  }
  .result {
    position: static;
  }
  .lede {
    font-size: 17px;
  }
  .ledger {
    grid-template-columns: 1fr 1fr;
  }
  .ledger div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .ledger div:nth-child(n + 3) {
    border-top: 1px solid var(--night-rule);
  }
  .head,
  .case,
  .rules li,
  .build,
  .xp li,
  .earlier,
  .facts {
    grid-template-columns: 1fr;
  }
  .head .idx {
    padding-top: 0;
  }
  .case {
    gap: 16px;
    padding: 36px 0 40px;
  }
  .shots ul {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 42%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .shots li {
    scroll-snap-align: start;
  }
  .rules li {
    gap: 6px;
  }
  .build article:first-of-type,
  .note,
  .facts div:first-child {
    grid-column: auto;
  }
  .build article {
    padding: 24px;
  }
  .memo .body {
    margin-left: 0;
  }
  .viz {
    margin-top: 24px;
  }
  .findings,
  .proof,
  .objections,
  .plan,
  .earlier ul {
    grid-template-columns: 1fr;
  }
  .findings div + div,
  .proof li + li {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--night-rule);
  }
  .objections div:nth-child(odd) {
    border-right: 0;
  }
  .soa {
    padding: 20px 16px 16px;
  }
  .soa tbody tr {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .xp li {
    gap: 4px;
  }
}
/* long stacks become swipeable rows; the next card peeks so the swipe is obvious */
@media (max-width: 760px) {
  .plan {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
  }
  .plan::-webkit-scrollbar {
    display: none;
  }
  .plan > div {
    scroll-snap-align: start;
  }
}
/* saved as PDF to forward: keep the screen colours, drop what only works on screen */
@media print {
  @page {
    size: A4;
    margin: 10mm 0;
  }
  html {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .skip,
  .reel {
    display: none !important;
  }
  .portrait {
    height: 300px;
  }
  .result {
    position: static;
  }
  li,
  figure,
  tr,
  .lesson,
  .closing {
    break-inside: avoid;
  }
  h2,
  h3,
  .head {
    break-after: avoid;
  }
}
