/* October 2026, shipped by voice. Cream paper, deep green, ink, and one warm accent used sparingly. */
:root {
  --paper: #f6f2ea;
  --card: #fffdf8;
  --ink: #16181a;
  --muted: #6b6760;
  --line: #e4ddd0;
  --green: #0d4a3f;
  --green-2: #e3ece6;
  --accent: #c2552d;
  --before: #d8d0c2;
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --r: 16px;
  --shadow: 0 1px 0 rgba(22, 24, 26, 0.04), 0 8px 24px rgba(22, 24, 26, 0.05);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--green); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; }
h2 { font: 700 clamp(28px, 3.6vw, 40px)/1.1 var(--sans); }
h3 { font: 650 19px/1.3 var(--sans); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.label { margin: 0 0 8px; font: 500 12px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.accent { color: var(--accent); }

/* Nav: a plain, solid bar. */
.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 28px; padding: 12px clamp(16px, 4vw, 40px); background: var(--paper); border-bottom: 1px solid var(--line); }
.brand { font: 800 15px var(--sans); letter-spacing: 0.04em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand span { margin-left: 8px; font: 500 13px var(--mono); letter-spacing: 0; color: var(--muted); }
.nav nav { display: flex; gap: 24px; margin-left: auto; }
.nav nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav nav a:hover { color: var(--accent); }
.music { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--muted); font: 500 13px var(--mono); cursor: pointer; }
.music:hover { border-color: var(--ink); color: var(--ink); }
.music .eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.music .eq i { width: 3px; height: 3px; border-radius: 1px; background: currentColor; }
.music[aria-pressed='true'] { color: var(--green); border-color: var(--green); }
.music[aria-pressed='true'] .eq i { animation: eq 0.9s ease-in-out infinite alternate; }
.music[aria-pressed='true'] .eq i:nth-child(2) { animation-delay: -0.3s; }
.music[aria-pressed='true'] .eq i:nth-child(3) { animation-delay: -0.6s; }
@keyframes eq { from { height: 3px; } to { height: 12px; } }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 600 15px var(--sans); text-decoration: none; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.btn:hover { border-color: var(--ink); color: var(--ink); }
.btn.dark { background: var(--green); border-color: var(--green); color: #fff; }
.btn.dark:hover { background: #0a3b32; color: #fff; }
.btn.small { padding: 8px 14px; font-size: 14px; }

main > section { padding: clamp(48px, 7vw, 80px) clamp(18px, 5vw, 56px); max-width: 1200px; margin: 0 auto; }
main > section + section { border-top: 1px solid var(--line); }
.head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 32px; margin-bottom: 28px; }
.head p { margin: 0; color: var(--muted); max-width: 460px; }

/* Hero: headline on the left, the usage card on the right. */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px 48px; align-items: center; padding-top: clamp(40px, 6vw, 72px) !important; }
.kicker { margin: 0 0 18px; font: 500 13px var(--mono); color: var(--green); }
.hero h1 { font: 800 clamp(42px, 6.2vw, 80px)/1 var(--sans); letter-spacing: -0.045em; }
.said { color: var(--green); position: relative; white-space: nowrap; }
.said::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0.02em; height: 0.09em; background: var(--accent); transform: scaleX(var(--u, 0)); transform-origin: left; transition: transform 0.9s cubic-bezier(0.6, 0, 0.2, 1) 0.5s; }
.in .said::after, .said.in::after { --u: 1; }
.lede { max-width: 560px; margin: 22px 0 0; font-size: 18px; color: #3b3a36; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-card { margin: 0; }
.hero-card img { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: 0 24px 60px rgba(22, 24, 26, 0.12); }
.hero-card figcaption { margin-top: 10px; font: 500 12px var(--mono); color: var(--muted); text-align: right; }
.stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); margin: 16px 0 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.stats div { padding: 18px 22px; display: flex; flex-direction: column-reverse; }
.stats div + div { border-left: 1px solid var(--line); }
.stats dt { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.stats dd { margin: 0 0 2px; font: 700 clamp(26px, 3.2vw, 38px)/1.1 var(--sans); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }

/* Before and after, then the chart. */
.compare { --pos: 50%; position: relative; height: 330px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.layer { position: absolute; inset: 0; background: var(--card); clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.layer.with { background: var(--green-2); clip-path: inset(0 0 0 var(--pos)); }
.layer .inner { position: absolute; top: 0; bottom: 0; left: 0; width: 50%; padding: 26px 30px; }
.layer.with .inner { left: 50%; }
.layer h3 { font-size: 24px; margin-bottom: 14px; }
.prompt { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; min-height: 120px; padding: 12px 16px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); align-content: flex-start; }
.prompt .ptext { flex-basis: 100%; }
.layer.with .prompt { background: #fff; border-color: #c9dccf; }
.prompt .how { flex: none; font: 600 12px var(--mono); color: var(--muted); }
.layer.with .prompt .how { color: var(--green); }
.ptext { margin: 0; flex: 1; font: 500 15px/1.45 var(--mono); color: var(--ink); min-height: 1.45em; }
.layer.without .ptext::after { content: ''; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -0.15em; background: var(--ink); animation: blink 0.8s steps(1) infinite; }
.mini-wave { flex: none; display: flex; align-items: center; gap: 3px; height: 26px; }
.mini-wave i { width: 3px; border-radius: 2px; background: var(--green); animation: wave 0.9s ease-in-out infinite alternate; }
.mini-wave i:nth-child(3n) { animation-delay: -0.3s; }
.mini-wave i:nth-child(3n + 1) { animation-delay: -0.6s; }
.layer ul { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 36px; }
.layer li { display: flex; flex-direction: column; }
.layer li > span { font: 500 12px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.layer li b { font: 700 42px/1.1 var(--sans); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.layer.with li b { color: var(--green); }
.layer.with li.x b { color: var(--accent); }
.handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--ink); pointer-events: none; }
.handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 16px var(--sans); box-shadow: 0 6px 18px rgba(22, 24, 26, 0.25); }
.range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.range:focus-visible + .handle span, .compare:focus-within .handle span { outline: 3px solid var(--accent); outline-offset: 2px; }
.chart-wrap { margin-top: 20px; padding: 22px 24px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.chart-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; margin-bottom: 14px; }
.tip { margin: 0; font: 500 13px var(--mono); color: var(--muted); }
.tip b { color: var(--ink); }
.chart { position: relative; display: grid; grid-template-columns: repeat(32, 1fr); align-items: end; gap: 4px; height: 220px; padding-bottom: 24px; }
.chart button { position: relative; height: 100%; display: flex; align-items: flex-end; padding: 0; border: 0; background: none; cursor: pointer; }
.chart button i { display: block; width: 100%; min-height: 2px; border-radius: 3px 3px 0 0; background: var(--before); transform: scaleY(0); transform-origin: bottom; transition: transform 0.6s cubic-bezier(0.3, 0.7, 0.2, 1); }
.chart button.after i { background: var(--green); }
.chart button:hover i, .chart button[aria-pressed='true'] i { background: var(--accent); }
.chart.in button i { transform: scaleY(1); }
.chart button small { position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%); font: 500 11px var(--mono); color: var(--muted); white-space: nowrap; }
.chart .marker { position: absolute; top: 0; bottom: 24px; width: 0; border-left: 1.5px dashed var(--accent); transform: scaleY(0); transform-origin: top; transition: transform 0.8s ease 0.9s; }
.chart.in .marker { transform: scaleY(1); }
.chart .marker span { position: absolute; top: 0; right: 8px; white-space: nowrap; font: 600 12px var(--mono); color: var(--accent); }

/* Featured and videos */
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; }
.feat h3 { font-size: 24px; margin-bottom: 6px; }
.feat > p:not(.label):not(.links) { color: #44423d; margin: 0 0 16px; }
.links { display: flex; gap: 16px; margin: 14px 0 0; font-weight: 600; font-size: 15px; }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #e9e3d8 center / cover no-repeat; margin-top: auto; }
.yt button { position: absolute; inset: 0; width: 100%; border: 0; background: transparent; cursor: pointer; }
.yt button::after { content: '\25B6  Play'; position: absolute; left: 10px; bottom: 10px; padding: 5px 10px; border-radius: 7px; background: rgba(22, 24, 26, 0.78); color: #fff; font: 600 12px var(--sans); letter-spacing: 0.02em; opacity: 0.85; transition: opacity 0.2s, background 0.2s; }
.yt button:hover::after { opacity: 1; background: var(--green); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sub { margin: 32px 0 14px; }
.vid-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.vid { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 10px 14px; }
.vid .yt { margin: 0 0 12px; border-radius: 9px; }
.vid p { margin: 0 4px; }
.vid .label { margin-bottom: 4px; }
.vid .t { font-weight: 600; line-height: 1.35; }
.vid .d { font-size: 14px; margin-top: 6px; }

/* How I build */
.how-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 18px; align-items: start; }
.then { padding: 22px; border-radius: var(--r); border: 1px dashed #cfc6b6; color: var(--muted); }
.then h3 { color: var(--ink); margin-bottom: 8px; }
.then p:last-child { margin: 0; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.steps li { counter-increment: s; display: flex; gap: 12px; align-items: baseline; padding: 12px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-size: 15px; line-height: 1.4; }
.steps li::before { content: counter(s, decimal-leading-zero); flex: none; width: 22px; font: 600 12px var(--mono); color: var(--muted); }
.steps li > span { flex: 1; }
.steps li.voice::before { color: var(--green); }
.steps li small { display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: 6px; background: var(--green-2); font: 500 11px var(--mono); color: var(--green); white-space: nowrap; vertical-align: 1px; }

/* Projects */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 500 13px var(--sans); padding: 6px 12px; border-radius: 8px; cursor: pointer; }
.chips button i { width: 8px; height: 8px; border-radius: 2px; }
.chips button[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: #fff; }
.search input { font: 500 14px var(--sans); padding: 9px 14px; width: min(260px, 100%); border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.proj { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 6px; transition: border-color 0.2s, transform 0.2s; }
.proj:hover { border-color: #c9bfae; transform: translateY(-2px); }
.proj .meta { display: flex; align-items: center; gap: 7px; font: 500 12px var(--mono); color: var(--muted); }
.proj .meta i { width: 8px; height: 8px; border-radius: 2px; }
.proj h3 { font-size: 17px; word-break: break-word; }
.proj p { margin: 0; color: #44423d; font-size: 14px; line-height: 1.5; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.proj .wf { flex: none; display: block; font: 500 12px var(--mono); color: var(--green); }
.proj .links { display: flex; overflow: visible; margin-top: 6px; font-size: 14px; flex: none; }
.more { display: flex; margin: 20px auto 0; }
.empty { color: var(--muted); }

/* End */
.end { text-align: center; }
.end h2 { font: 800 clamp(40px, 6.5vw, 76px)/1 var(--sans); letter-spacing: -0.045em; }
.end p { color: var(--muted); font-size: 18px; margin: 16px 0 0; }
.social { display: flex; justify-content: center; gap: 20px; font-weight: 600; }
footer { border-top: 1px solid var(--line); padding: 26px 20px 34px; text-align: center; color: var(--muted); font-size: 13px; }
footer p { margin: 2px 0; }
footer .name { font-weight: 700; color: var(--ink); font-size: 15px; }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 600 20px var(--sans); cursor: pointer; box-shadow: var(--shadow); transition: opacity 0.3s, transform 0.3s; }
.to-top:hover { border-color: var(--ink); }
.to-top.hide { opacity: 0; transform: translateY(10px); pointer-events: none; }

/* Motion: things settle into place as they arrive. */
.rise { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--d, 0s); }
.rise.in { opacity: 1; transform: none; }

/* The played month: date cards on a stack */
.show { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-rows: auto auto 1fr; background: var(--paper); overflow: hidden; transition: background 1s; }
.show[hidden] { display: none; }
.show.talk { background: #edf2ee; }
.show-top { display: flex; align-items: center; gap: 18px; padding: 14px clamp(16px, 4vw, 40px); border-bottom: 1px solid var(--line); }
.show-date { font: 700 24px var(--sans); letter-spacing: -0.03em; min-width: 5ch; font-variant-numeric: tabular-nums; }
.show-count { font: 500 14px var(--mono); color: var(--muted); }
.show-count b { color: var(--ink); font-size: 18px; }
.show-mode { font: 600 12px var(--mono); text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 10px; border-radius: 6px; background: var(--before); color: var(--ink); transition: background 0.6s, color 0.6s; }
.show.talk .show-mode { background: var(--green); color: #fff; }
.show-ctl { margin-left: auto; display: flex; gap: 8px; }
.show-ctl button { border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 600 14px var(--sans); padding: 8px 14px; border-radius: 10px; cursor: pointer; }
.show-cap { margin: 0; padding: 20px 20px 0; text-align: center; min-height: 1.2em; font: 800 clamp(26px, 4vw, 48px)/1.1 var(--sans); letter-spacing: -0.04em; }
.show-cap .g { color: var(--green); }
.show-cap .a { color: var(--accent); }
.show-cap .w { display: inline-block; animation: word 0.4s cubic-bezier(0.2, 1.2, 0.4, 1) both; }
@keyframes word { from { opacity: 0; transform: translateY(0.35em); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.s-stage { position: relative; overflow: hidden; display: grid; grid-template-rows: 1fr auto; }
.deck { position: relative; perspective: 1400px; }
.slot { position: absolute; left: 50%; top: 50%; width: min(440px, 84vw); margin-left: calc(min(440px, 84vw) / -2); transform-origin: 50% 50%; translate: 0 -50%;
  transform: translate(calc(var(--k, 0) * -34px), calc(var(--k, 0) * -16px)) rotate(calc(var(--k, 0) * -3.5deg)) scale(calc(1 - var(--k, 0) * 0.05));
  transition-property: transform, opacity, filter; transition-timing-function: cubic-bezier(0.2, 0.85, 0.25, 1.05); z-index: calc(20 - var(--k, 0)); }
.slot.enter { transform: translate(70vw, 30px) rotate(14deg) rotateY(-35deg); opacity: 0; }
.slot.gone { opacity: 0; }
.slot:not(:last-child) { filter: saturate(0.85); }
.dc { border-radius: 22px; padding: 22px 24px 18px; background: #fffdf8; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(22, 24, 26, 0.16); color: var(--ink); }
.dc header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.dc header b { font: 800 40px/1 var(--sans); letter-spacing: -0.04em; }
.dc header span { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.dc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; max-height: 300px; overflow: hidden; }
.dc li { display: flex; align-items: center; gap: 10px; font: 500 15px var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc li .b { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--c); color: #fff; font: 700 10px var(--sans); }
.dc li.v { font-family: var(--sans); font-weight: 600; }
.dc li.v .b { background: var(--accent); font-size: 9px; }
.dc footer { margin-top: 12px; font: 500 12px var(--mono); color: var(--muted); }
.dc.green { background: var(--green); color: #fff; border-color: var(--green); }
.dc.green header { border-color: rgba(255, 255, 255, 0.2); }
.dc.green header span, .dc.green footer { color: #a9d4c4; }
.dc.dark { background: #1b1d1f; color: #f6f2ea; border-color: #1b1d1f; }
.dc.dark header { border-color: rgba(255, 255, 255, 0.14); }
.dc.dark header span, .dc.dark footer { color: #a39e94; }
.dc.mint { background: var(--green-2); border-color: #c9dccf; }
.dc.mint header { border-color: #c9dccf; }
.line { padding: 0 clamp(16px, 4vw, 40px) 18px; }
.line .track { position: relative; height: 4px; border-radius: 2px; background: var(--before); }
.line .track i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 2px; background: var(--green); transition: width 0.6s ease; }
.line .track b { position: absolute; top: -6px; width: 2px; height: 16px; background: var(--accent); }
.line .ends { position: relative; display: flex; justify-content: space-between; margin-top: 8px; font: 500 12px var(--mono); color: var(--muted); }
.line .ends .pv { position: absolute; transform: translateX(-50%); color: var(--accent); white-space: nowrap; }
.finale { position: absolute; left: 50%; bottom: 70px; transform: translateX(-50%); display: flex; gap: 10px; z-index: 40; }
.finale div { padding: 12px 18px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); text-align: center; animation: drop 0.5s both; animation-delay: var(--d, 0s); }
.finale b { display: block; font: 800 clamp(22px, 3vw, 34px)/1.1 var(--sans); letter-spacing: -0.03em; white-space: nowrap; }
.finale span { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
@keyframes drop { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.show.paused * { animation-play-state: paused !important; }

/* Hero typewriter and voice */
.hero h1 { min-height: 3em; }
.hero .caret { display: none; }
.hero h1.tw .caret { display: inline-block; width: 0.05em; height: 0.8em; margin-left: 0.04em; vertical-align: -0.04em; background: var(--accent); animation: blink 0.9s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero h1.tw .said { transition: opacity 0.3s; }
.hero h1.tw .said.fade { opacity: 0; }
.hero h1.tw .ch { opacity: 0; }
.hero h1.tw .ch.on { opacity: 1; }
.hero h1.tw .ch.cur { position: relative; }
.hero h1.tw .ch.cur::after { content: ''; position: absolute; right: -0.06em; top: 0.08em; bottom: 0.08em; width: 0.05em; background: var(--ink); }
.hero h1.tw .wd { display: inline-block; opacity: 0; transform: translateY(0.25em); filter: blur(6px); transition: opacity 0.4s, transform 0.4s cubic-bezier(0.2, 1.2, 0.4, 1), filter 0.4s; }
.hero h1.tw .wd.on { opacity: 1; transform: none; filter: none; }
.vbars { display: flex; align-items: center; gap: 3px; height: 34px; margin-top: 14px; max-width: 420px; }
.vbars i { flex: 1; height: 100%; border-radius: 2px; background: var(--green); transform: scaleY(0.08); transform-origin: center; }

/* Usage cards: a 3D stack */
.hero-card { position: relative; }
.stack { position: relative; aspect-ratio: 1728 / 1170; perspective: 1100px; }
.stack.many { cursor: pointer; }
.fc { position: absolute; inset: 0; border-radius: 18px; transform-style: preserve-3d; transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); transform: translate(calc(var(--i) * 18px), calc(var(--i) * -14px)) rotate(calc(var(--i) * 3deg)) scale(calc(1 - var(--i) * 0.04)); z-index: calc(10 - var(--i)); animation: float 6s ease-in-out infinite; }
.fc:first-child { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.stack.tilt .fc:first-child { transition: transform 0.08s linear; animation: none; }
.fc img { display: block; width: 100%; height: 100%; border-radius: 18px; box-shadow: 0 24px 60px rgba(22, 24, 26, 0.16); }
.fc .glare { position: absolute; inset: 0; border-radius: 18px; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.45), transparent 55%); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.stack.tilt .fc:first-child .glare { opacity: 1; }
@keyframes float { 50% { translate: 0 -6px; } }

/* Hand-drawn notes */
.doodle { font: 600 24px 'Caveat', cursive; color: var(--accent); transform: rotate(-4deg); display: inline-block; }
.d-card { position: absolute; left: -24px; top: -44px; z-index: 20; }
.compare-wrap { position: relative; }
.d-drag { position: absolute; right: 18px; top: -34px; transform: rotate(3deg); }
.d-end { margin: 30px 0 4px !important; font-size: 28px !important; }

/* Playing-card projects */
.proj { position: relative; padding-left: 66px; }
.pip { position: absolute; left: 16px; top: 18px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 700 13px var(--sans); color: #fff; background: var(--c); }

/* Ending marquee */
.marquee { display: grid; gap: 10px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee .row { display: flex; gap: 10px; width: max-content; animation: flow 60s linear infinite; }
.marquee .row.rev { animation-direction: reverse; animation-duration: 70s; }
.marquee span { padding: 8px 14px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--c); font: 500 14px var(--mono); white-space: nowrap; }
@keyframes flow { to { transform: translateX(-50%); } }
.end h2 { font-weight: 700 !important; font-size: clamp(36px, 5vw, 58px) !important; margin-top: 8px; }

/* Small screens */
@media (max-width: 900px) {
  .nav nav { display: none; }
  .nav .music { margin-left: auto; }
  .nav .music .ml { display: none; }
  .hero { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(3) { border-left: 0; }
  .stats div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .compare { height: 420px; }
  .layer .inner { padding: 18px 16px; }
  .layer h3 { font-size: 18px; }
  .layer ul { gap: 8px 18px; }
  .layer li b { font-size: 28px; }
  .ptext { font-size: 13px; }
  .mini-wave { display: none; }
  .chart { gap: 2px; height: 180px; }
  .chart button small { display: none; }
  .chart button.lbl small { display: block; }
  .feat-grid, .how-grid, .steps { grid-template-columns: 1fr; }
  .vid-grid, .proj-grid { grid-template-columns: 1fr; }
  .finale { flex-direction: column; bottom: 4%; }
  .dc header b { font-size: 30px; }
  .dc li { font-size: 13px; }
  .d-card { top: -32px; left: 0; }
  .d-drag { display: none; }
  .show-mode { display: none; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .proj-grid, .vid-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .brand span { display: none; }
  .show-count { display: none; }
  .compare { height: 480px; }
  .layer .label { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .chart button i, .chart .marker { transition: none; opacity: 1; transform: none; }
  .finale div, .show-cap .w, .fc, .marquee .row { animation: none; }
  .said::after { --u: 1; }
}
