/* The pitch page (KC-0318): same tokens as site.css, a calmer rhythm. One idea per section, a big statement, a small mono number. */
.pitch .ph { padding: 28px 0 24px; }
.ph-grid { display: grid; gap: 32px; }
.ph-grid > * { min-width: 0; }
.pitch .hero-text { gap: 20px; max-width: 68ch; }
.pitch h1 { font-size: clamp(34px, 8vw, 60px); line-height: 1.05; }

.pitch .band.ps { border-top: 0; padding: 28px 0; }
.pw > * + * { margin-top: 20px; }
.pw > .pn { margin-top: 0; font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; color: var(--muted); }
.pw > .pn + h2 { margin-top: 8px; }
.pitch .pw h2 { font-size: clamp(28px, 5.2vw, 44px); line-height: 1.12; letter-spacing: -0.02em; max-width: 24ch; }
.pw p { max-width: 68ch; color: var(--ink-2); }
.pw h2 + p { margin-top: 24px; }
.pw .grid3 { margin-top: 32px; gap: 16px; }
.pw .card h3 { font-size: 19px; }

/* 06: four items, 2x2 on desktop */
.pw .grid2 { display: grid; gap: 16px; margin-top: 32px; }
.pw .grid2 > * { min-width: 0; }

/* 04: three limits, large */
.vows { list-style: none; padding: 0; display: grid; gap: 14px; margin-top: 32px; }
.vows li { font-size: clamp(22px, 3.4vw, 28px); font-weight: 650; line-height: 1.2; letter-spacing: -0.01em; border-top: 3px solid var(--graense); padding-top: 14px; color: var(--ink); }
.pw .links { display: flex; flex-wrap: wrap; gap: 6px 24px; }

/* 05: where it stands */
.cols3 { display: grid; gap: 20px; margin-top: 32px; }
.col { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--muted); border-radius: 14px; padding: 18px; }
.col.c-ok { border-top-color: var(--ordnet); }
.col.c-test { border-top-color: var(--kraever); }
.col.c-vision { border-top-color: var(--handling); }
.col h3 { margin-bottom: 12px; }
.col ul { padding-left: 20px; display: flex; flex-direction: column; gap: 10px; color: var(--ink-2); font-size: 16px; }
.pw .close { margin-top: 32px; font-size: clamp(19px, 2.8vw, 23px); color: var(--ink); max-width: 56ch; }
.pw .close em { font-style: normal; font-weight: 650; }

/* 07: a stepper, three dots joined by a line; the first is where we are */
.next { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 24px; margin-top: 32px; max-width: none; color: var(--ink-2); }
.next li { position: relative; counter-increment: step; padding-left: 52px; min-height: 36px; padding-top: 5px; }
.next li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--muted); display: grid; place-items: center; font: 600 15px/1 var(--mono); color: var(--ink-2); }
.next li:first-child::before { background: var(--handling-bg); border-color: var(--handling-bg); color: var(--handling-ink); }
.next li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 42px; bottom: -18px; width: 2px; background: var(--line); }
.pw .actions { margin-top: 32px; }

/* Figures (KC-0322): decorative pictures that carry each message. Colours come from the tokens. */
.ph { overflow-x: clip; }
.pico { width: 36px; height: 36px; color: var(--handling); flex: none; }
.vows li { display: flex; flex-direction: column; gap: 10px; }
.vows .pico { width: 44px; height: 44px; color: var(--graense); }
.card > .pico { margin-bottom: 4px; }
.card > img { display: block; width: calc(100% + 36px); max-width: none; height: auto; aspect-ratio: 968 / 740; margin: -18px -18px 8px; border-radius: 14px 14px 0 0; border-bottom: 1px solid var(--line); background: var(--nav); }
.card { border-color: var(--line); }
.card:hover { border-color: #4A554F; }

/* 01 and 05: text beside a figure */
.split { display: grid; gap: 32px; margin-top: 24px; }
.split > * { min-width: 0; }
.split-text > * + * { margin-top: 20px; }
.split-text > p:first-child, .split-status > p:first-child { margin-top: 0; }
.clutter { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; max-width: 340px; margin: 0 auto; }
.apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; width: 100%; }
.tile { position: relative; display: grid; place-items: center; aspect-ratio: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; color: var(--muted); }
.tile svg { width: 50%; height: 50%; }
.tile .badge { position: absolute; top: -4px; right: -4px; width: 11px; height: 11px; border-radius: 50%; background: var(--kraever); border: 2px solid var(--ground); }
.tile:nth-child(1) { rotate: -3deg; top: 2px; } .tile:nth-child(2) { rotate: 2deg; top: -3px; left: 2px; } .tile:nth-child(3) { rotate: -4deg; top: 4px; }
.tile:nth-child(4) { rotate: 3deg; left: -2px; } .tile:nth-child(5) { rotate: 4deg; top: -2px; } .tile:nth-child(6) { rotate: -2deg; top: 3px; left: -3px; }
.tile:nth-child(7) { rotate: 2deg; top: 2px; left: 2px; } .tile:nth-child(8) { rotate: -5deg; } .tile:nth-child(9) { rotate: 3deg; top: -3px; }
.tile:nth-child(10) { rotate: -3deg; top: -2px; left: 3px; } .tile:nth-child(11) { rotate: 5deg; top: 3px; } .tile:nth-child(12) { rotate: -2deg; left: -2px; }
.tile { position: relative; }
.clutter .down { width: 28px; height: 28px; color: var(--muted); }
.calm { display: grid; place-items: center; width: 112px; height: 112px; border-radius: 30px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 0 40px rgba(79, 179, 209, 0.12); }
.calm i { width: 24px; height: 24px; border-radius: 50%; background: var(--handling-bg); box-shadow: 0 0 0 10px var(--handling-tint), 0 0 0 11px var(--handling-ring); }
.real { display: flex; flex-direction: column; gap: 10px; max-width: 320px; }
.real img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); background: var(--nav); }

/* 03: sources, the AI model, the building blocks, what you see */
.flow { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-top: 32px; }
.flow > * { min-width: 0; }
.srcs { display: flex; flex-direction: column; gap: 8px; }
.chip { display: flex; align-items: center; gap: 10px; padding: 8px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); font-size: 15px; }
.chip svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.arr { display: grid; place-items: center; color: var(--muted); flex: none; }
.arr svg { width: 26px; height: 26px; transform: rotate(90deg); }
.node { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 18px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; color: var(--ink); font-size: 15px; font-weight: 600; text-align: center; }
.ring { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--handling); box-shadow: 0 0 0 6px var(--handling-tint); }
.ring i { width: 14px; height: 14px; border-radius: 50%; background: var(--handling-bg); }
.mini { display: grid; grid-template-columns: repeat(4, 14px); gap: 5px; }
.mini i { width: 14px; height: 14px; border-radius: 4px; background: var(--raised); border: 1px solid #4A554F; }
.mini i:nth-child(2), .mini i:nth-child(6) { background: var(--handling-tint); border-color: var(--handling-ring); }
.scr { display: flex; flex-direction: column; gap: 5px; width: 64px; height: 46px; padding: 8px 8px; border: 2px solid var(--muted); border-radius: 7px; }
.scr b { display: block; height: 4px; border-radius: 2px; background: var(--line); }
.scr b:nth-child(1) { width: 70%; background: var(--handling-bg); } .scr b:nth-child(2) { width: 100%; } .scr b:nth-child(3) { width: 55%; }
.node > .ring, .node > .mini, .node > .scr { margin: 0 auto; }

@media (min-width: 760px) {
  .flow { flex-direction: row; align-items: center; gap: 8px; }
  .srcs { flex: 0 0 150px; }
  .node { flex: 1 1 0; min-height: 132px; }
  .arr svg { transform: none; }
  .next { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .next li { padding-left: 0; padding-top: 52px; }
  .next li:not(:last-child)::after { left: 48px; right: -12px; top: 17px; bottom: auto; width: auto; height: 2px; }
  .pw .grid2 { grid-template-columns: repeat(2, 1fr); }
  #opbygning .grid2 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .vows { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .cols3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .pitch .ph { padding: 56px 0 32px; }
  .split-problem { grid-template-columns: minmax(0, 1fr) 45%; gap: 48px; align-items: start; }
  .split-status { grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: center; }
  .ph-grid { grid-template-columns: minmax(0, 1fr) 520px; gap: 56px; align-items: center; }
  .pitch .band.ps { padding: 48px 0; }
}

/* Life (KC-0322): all motion is CSS, only for visitors who have not asked for less, and nothing moves text while it is read. */
@media (prefers-reduced-motion: no-preference) {
  .card { transition: transform 0.2s ease, border-color 0.2s ease; }
  .card:hover { transform: translateY(-2px); }
  .tile { animation: bob 6s ease-in-out infinite; }
  .tile:nth-child(3n) { animation-duration: 5s; animation-delay: -1.3s; }
  .tile:nth-child(3n+1) { animation-duration: 7s; animation-delay: -3.1s; }
  .tile:nth-child(3n+2) { animation-duration: 6s; animation-delay: -4.6s; }
  .tile:nth-child(4n) { animation-delay: -0.7s; }
  .tile:nth-child(5n) { animation-delay: -2.4s; }
  .next li:first-child::before { animation: pulse 3.6s ease-out infinite; }
  @keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -4px; } }
  @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(79, 179, 209, 0.45); } 70%, 100% { box-shadow: 0 0 0 12px rgba(79, 179, 209, 0); } }
  @supports (animation-timeline: view()) {
    .pw h2, .pw .card, .pw .col, .pw .clutter, .pw .flow, .pw .vows li, .pw .real, .pw .next li, .pw .split-text { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
    @keyframes rise { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }
  }
}
