/* Base reset (was the page skeleton) */
:root{color-scheme:light;box-sizing:border-box;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}html{scroll-padding-top:env(safe-area-inset-top,0px)}body{margin:0;padding:0;font:14px -apple-system,BlinkMacSystemFont,sans-serif;}img{max-width:100%}[hidden]:not([hidden=until-found i]){display:none!important}
/* Layout: a dark studio page. Full-bleed video hero (a real Make It Move clip) with the 5-second message and four
   real-output tool cards, then the showcase wall, a three-step how-it-works, a tabbed tool guide, help, compare, sign-up and FAQ. */
:root {
  --bg: #050807;
  --surface: #0c1210;
  --surface-2: #111a16;
  --line: #1c2a24;
  --line-2: #27392f;
  --fg: #ecf5f0;
  --muted: #92a69b;
  --green: #3df08b;
  --green-hi: #8dffbd;
  --green-deep: #0f9e53;
  --green-ink: #021a0c;
  --teal: #2dd4bf;
  --amber: #f3c969;
  --font-display: "Unbounded", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --radius: 16px;
  --max: 1180px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
a { color: var(--green); }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; text-wrap: balance; margin: 0; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); line-height: 1.02; font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.6rem); line-height: 1.1; }
h3 { font-size: 1.04rem; font-weight: 500; line-height: 1.3; }
p { margin: 0; }
.eyebrow { font: 500 .74rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--green); display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.lede { color: var(--muted); font-size: 1.12rem; max-width: 62ch; }
.glow-text { background: linear-gradient(100deg, var(--green-hi) 0%, var(--green) 40%, var(--teal) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

/* Glossy buttons, like the FFS app */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font: 600 .95rem/1 var(--font-body); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; overflow: hidden; }
.btn-primary { color: var(--green-ink); background: linear-gradient(180deg, rgba(255,255,255,.5) 0%, rgba(255,255,255,.1) 48%, rgba(255,255,255,0) 52%), linear-gradient(180deg, var(--green) 0%, var(--green-deep) 100%); border-color: rgba(255,255,255,.2); box-shadow: 0 0 0 1px rgba(61,240,139,.3), 0 10px 30px rgba(61,240,139,.3), inset 0 -2px 0 rgba(0,0,0,.2); }
.btn-primary::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); animation: sheen 4.5s ease-in-out infinite; }
@keyframes sheen { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(61,240,139,.5), 0 14px 40px rgba(61,240,139,.45), inset 0 -2px 0 rgba(0,0,0,.2); }
.btn-ghost { color: var(--fg); background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.01)); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--green-deep); transform: translateY(-2px); }

/* Nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 6; background: rgba(5,8,7,.78); backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
/* Brand lockup: glossy FF tile with the name underneath; tucks to the tile alone once the page scrolls */
.brand { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--fg); text-decoration: none; text-align: center; }
.brand .mark { display: block; width: 56px; height: 56px; filter: drop-shadow(0 0 10px rgba(61,240,139,.28)) drop-shadow(0 6px 14px rgba(0,0,0,.55)); transition: width .3s ease, height .3s ease, filter .3s ease, transform .3s ease; }
.brand:hover .mark { filter: drop-shadow(0 0 16px rgba(61,240,139,.5)) drop-shadow(0 6px 14px rgba(0,0,0,.55)); transform: translateY(-1px); }
.brand .wordmark { display: block; overflow: hidden; max-height: 2.6rem; font: 600 .6rem/1 var(--font-display); letter-spacing: .16em; text-transform: uppercase; padding-left: .16em; white-space: nowrap; transition: max-height .3s ease, opacity .25s ease; }
.brand small { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 5px; font: 500 .5rem/1 var(--font-mono); color: var(--green); letter-spacing: .42em; padding-left: .42em; }
.brand small::before, .brand small::after { content: ""; width: 12px; height: 1px; background: linear-gradient(90deg, transparent, var(--green)); }
.brand small::after { transform: scaleX(-1); }
/* The header runs the full width so the logo sits in the top-left corner */
.nav .wrap { max-width: none; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.nav.compact .brand .mark { width: 38px; height: 38px; }
.brand .glint { transform: translateX(-34px); }
.brand .mark .glint { animation: glint 1.4s .8s cubic-bezier(.3,.6,.3,1) 1 both; }
.brand:hover .mark .glint, .brand:focus-visible .mark .glint { animation: glint 1s cubic-bezier(.3,.6,.3,1) 1; }
@keyframes glint { from { transform: translateX(-34px); } to { transform: translateX(74px); } }
.nav.compact .brand .wordmark { max-height: 0; opacity: 0; }
.nav .wrap { transition: padding .3s ease; }
.nav.compact .wrap { padding-block: 8px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a:not(.btn) { color: var(--muted); text-decoration: none; font-size: .9rem; }
.nav-links a:not(.btn):hover { color: var(--fg); }
.nav .btn { min-height: 38px; padding: 0 16px; font-size: .85rem; }
@media (max-width: 820px) { .nav-links a:not(.btn) { display: none; } }

/* Aurora (used behind the sign-up band) */
.aurora { position: absolute; inset: -30% -20% auto; height: 900px; z-index: -1; pointer-events: none; filter: blur(70px); opacity: .9; }
.aurora i { position: absolute; border-radius: 50%; mix-blend-mode: screen; }
.aurora i:nth-child(1) { width: 620px; height: 420px; left: 8%; top: 18%; background: rgba(61,240,139,.28); animation: drift1 18s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 520px; height: 380px; right: 6%; top: 8%; background: rgba(45,212,191,.2); animation: drift2 22s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 440px; height: 300px; left: 40%; top: 42%; background: rgba(15,158,83,.32); animation: drift1 26s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(120px, 60px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-140px, 80px) scale(.9); } }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.pill { font: 500 .74rem/1 var(--font-mono); color: var(--fg); border: 1px solid var(--line-2); background: rgba(12,18,16,.7); padding: 8px 11px; border-radius: 999px; }
.pill b { color: var(--green); font-weight: 500; }

/* Hero: a tilted wall of real Gallery pictures drifts behind it (WEB-025, rules at the end of this file);
   the message sits on the darker left side; real tool output on the right */
.hero { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); background: var(--bg); }
.hero .wrap { display: grid; gap: 44px; padding-block: 72px 56px; }
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); }
@media (min-width: 1100px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); align-items: center; gap: 56px; padding-block: 64px 64px; }
  .hero .proof { grid-template-columns: repeat(2, 1fr); }
}
.hero-copy { display: grid; gap: 22px; max-width: 640px; min-width: 0; }
.hero h1 { text-shadow: 0 2px 30px rgba(0,0,0,.45); }
.hero .lede { color: #c9d8d0; }
.fine { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 700px) {
  .hero .wrap { padding-block: 64px 56px; gap: 36px; }
}

/* Tool proof cards: each shows real Freedom Forge output for one tool */
.proof-wrap { display: grid; gap: 14px; min-width: 0; }
.proof-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.proof-head p { font: 500 .74rem/1.3 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: #d5e3db; text-shadow: 0 1px 10px rgba(0,0,0,.9); }
.proof-head a { font-size: .88rem; text-decoration: none; color: var(--green-hi); text-shadow: 0 1px 10px rgba(0,0,0,.9); }
.proof-head a:hover { text-decoration: underline; }
.proof { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tool { position: relative; margin: 0; aspect-ratio: 4 / 5; max-width: 100%; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: var(--surface); box-shadow: 0 24px 60px rgba(0,0,0,.45); min-width: 0; transition: transform .3s ease, border-color .3s ease; }
.tool:hover { transform: translateY(-4px); border-color: rgba(61,240,139,.5); }
.tool img, .tool video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tool::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,8,7,.35) 0%, transparent 28%, transparent 52%, rgba(5,8,7,.92) 100%); pointer-events: none; }
.tool .name { position: absolute; top: 12px; left: 12px; z-index: 2; font: 600 .7rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--green-ink); background: linear-gradient(180deg, var(--green-hi), var(--green)); padding: 6px 9px; border-radius: 999px; }
.tool figcaption { position: absolute; left: 14px; right: 14px; bottom: 13px; z-index: 2; display: grid; gap: 3px; }
.tool figcaption b { font: 500 .98rem/1.2 var(--font-display); }
.tool figcaption span { font-size: .8rem; color: #b9c9c0; }
/* Personas: the same invented face in three places, cross-fading */
.tool.persona img { opacity: 0; animation: personaFade 9s infinite; }
.tool.persona img:nth-of-type(1) { opacity: 1; animation-delay: 0s; }
.tool.persona img:nth-of-type(2) { animation-delay: 3s; }
.tool.persona img:nth-of-type(3) { animation-delay: 6s; }
@keyframes personaFade { 0% { opacity: 0; } 6%, 33% { opacity: 1; } 40%, 100% { opacity: 0; } }
.tool.persona .where { position: absolute; top: 12px; right: 12px; z-index: 2; display: flex; gap: 5px; }
.tool.persona .where i { width: 7px; height: 7px; border-radius: 50%; background: rgba(236,245,240,.35); animation: dotOn 9s infinite; }
.tool.persona .where i:nth-child(2) { animation-delay: 3s; }
.tool.persona .where i:nth-child(3) { animation-delay: 6s; }
@keyframes dotOn { 0%, 33% { background: var(--green); box-shadow: 0 0 8px var(--green); } 40%, 100% { background: rgba(236,245,240,.35); box-shadow: none; } }
/* Edit: a wipe reveals the golden-hour version of the same street */
.tool.edit .after { clip-path: inset(0 0 0 100%); animation: wipe 7s ease-in-out infinite; }
.tool.edit .seam { position: absolute; top: 0; bottom: 0; left: 100%; z-index: 1; width: 2px; background: var(--green); box-shadow: 0 0 16px var(--green); animation: seam 7s ease-in-out infinite; }
@keyframes wipe { 0%, 12% { clip-path: inset(0 0 0 100%); } 45%, 70% { clip-path: inset(0 0 0 0); } 95%, 100% { clip-path: inset(0 0 0 100%); } }
@keyframes seam { 0%, 12% { left: 100%; opacity: 1; } 45% { left: 0; opacity: 1; } 46%, 70% { left: 0; opacity: 0; } 71% { left: 0; opacity: 1; } 95%, 100% { left: 100%; opacity: 1; } }
.tool.move video { object-position: 32% 50%; }
@media (max-width: 900px) { .proof { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 380px) { .proof { gap: 10px; } .tool figcaption span { display: none; } }

/* Marquee of uses (kept at Ryan's request, 2026-11-14) */
.marquee { border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.marquee-track { display: flex; gap: 40px; width: max-content; padding-block: 18px; animation: marquee 38s linear infinite; }
.marquee span { font: 500 clamp(.95rem, 2vw, 1.25rem)/1 var(--font-display); color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 40px; }
.marquee span::after { content: "✦"; color: var(--green); font-size: .8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
section.band .wrap { padding-block: 96px; display: grid; gap: 40px; }
.section-head { display: grid; gap: 14px; max-width: 760px; }
.section-head.center { justify-self: center; text-align: center; justify-items: center; }
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--surface-2), var(--surface)); padding: 24px; display: grid; gap: 10px; align-content: start; min-width: 0; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-3px); border-color: rgba(61,240,139,.35); box-shadow: 0 16px 40px rgba(0,0,0,.4), 0 0 30px rgba(61,240,139,.08); }
.card p { color: var(--muted); font-size: .93rem; }
.status { justify-self: start; font: 500 .64rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; white-space: nowrap; }
.status.now { color: var(--green); background: rgba(61,240,139,.1); border: 1px solid rgba(61,240,139,.3); }
.status.soon { color: var(--amber); background: rgba(243,201,105,.08); border: 1px solid rgba(243,201,105,.3); }

/* Showcase wall: each .shot is a slot for a real FFS export (img or video) */
.showcase { background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(61,240,139,.08), transparent 70%); }
.wall { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.shot { position: relative; margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: var(--surface); min-width: 0; }
.shot.tall { grid-row: span 2; }
.shot.wide { grid-column: span 2; }
.shot .art { position: absolute; inset: 0; background-size: 160% 160%; animation: pan 16s ease-in-out infinite alternate; transition: transform .6s ease; }
.shot:hover .art { transform: scale(1.06); }
.shot img, .shot video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.shot:hover img, .shot:hover video { transform: scale(1.05); }
.shot.split { display: grid; grid-template-columns: 1fr 1fr; }
.shot.split .half { position: relative; overflow: hidden; }
.shot.split .half + .half { border-left: 2px solid var(--green); box-shadow: -8px 0 24px rgba(61,240,139,.25); }
.shot.split .lbl { position: absolute; top: 12px; left: 12px; z-index: 1; font: 500 .62rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; padding: 6px 8px; border-radius: 999px; background: rgba(5,8,7,.72); border: 1px solid var(--line-2); backdrop-filter: blur(6px); }
.shot.split .half + .half .lbl { color: var(--green); border-color: rgba(61,240,139,.45); }
.shot .live-tag { position: absolute; top: 12px; right: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; font: 500 .6rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; padding: 6px 8px; border-radius: 999px; background: rgba(5,8,7,.7); border: 1px solid rgba(61,240,139,.4); backdrop-filter: blur(6px); }
.shot .live-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
@keyframes pan { to { background-position: 100% 100%; } }
.shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(5,8,7,.85)); pointer-events: none; }
.shot figcaption { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; display: grid; gap: 4px; }
.shot figcaption b { font: 500 .95rem/1.2 var(--font-display); }
.shot figcaption span { font: 400 .72rem/1.3 var(--font-mono); color: var(--muted); }
.shot .slot { position: absolute; top: 12px; right: 12px; z-index: 1; font: 500 .6rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; padding: 6px 8px; border-radius: 999px; color: var(--fg); background: rgba(5,8,7,.7); border: 1px dashed rgba(141,255,189,.5); backdrop-filter: blur(6px); }
.shot .play { position: absolute; left: 50%; top: 45%; z-index: 1; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; display: grid; place-items: center; background: rgba(5,8,7,.55); border: 1px solid rgba(141,255,189,.55); box-shadow: 0 0 30px rgba(61,240,139,.35); backdrop-filter: blur(6px); }
.shot .play::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid rgba(61,240,139,.4); animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.a1 { background: radial-gradient(circle at 30% 25%, rgba(141,255,189,.9), transparent 30%), radial-gradient(circle at 75% 70%, rgba(45,212,191,.6), transparent 40%), linear-gradient(150deg, #0b3a24, #020806); }
.a2 { background: radial-gradient(ellipse at 50% 85%, rgba(243,201,105,.75), transparent 40%), radial-gradient(circle at 50% 40%, rgba(255,255,255,.18), transparent 25%), linear-gradient(180deg, #1b1a10, #050605); }
.a3 { background: conic-gradient(from 210deg at 60% 40%, #0f9e53, #2dd4bf, #062019, #3df08b, #0f9e53); }
.a4 { background: radial-gradient(circle at 70% 30%, rgba(61,240,139,.7), transparent 35%), linear-gradient(115deg, #031510 0%, #0c4a33 50%, #021009 100%); }
.a5 { background: repeating-linear-gradient(115deg, rgba(61,240,139,.16) 0 2px, transparent 2px 22px), radial-gradient(circle at 40% 60%, rgba(45,212,191,.55), transparent 45%), linear-gradient(200deg, #04221b, #020605); }
.a6 { background: radial-gradient(circle at 35% 40%, rgba(243,201,105,.6), transparent 30%), radial-gradient(circle at 70% 65%, rgba(61,240,139,.55), transparent 35%), linear-gradient(160deg, #10170c, #030504); }
.a7 { background: linear-gradient(180deg, #021009 0%, #0b3b25 55%, #6be3a4 56%, #0a2d1d 100%); }
.a8 { background: radial-gradient(circle at 50% 50%, rgba(141,255,189,.55), transparent 22%), radial-gradient(circle at 50% 50%, rgba(45,212,191,.3), transparent 48%), linear-gradient(90deg, #020806, #08281b, #020806); }
.wall { grid-auto-flow: dense; }
.shot svg.scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transition: transform .7s ease; }
.shot:hover svg.scene { transform: scale(1.05); }
.shot.moving svg.scene { animation: kenburns 9s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.12) translate(-2%, -2%); } }
.shot .num { font: 500 .6rem/1 var(--font-mono); color: var(--green-hi); }
.clips-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.clips { display: grid; grid-template-columns: 2fr 1fr 1fr 1.25fr; gap: 14px; }
.clips .shot { height: 300px; }
/* Clips fill whole rows (Ryan: no empty black gaps): on wide screens each clip takes one column and the last one spans two */
@media (min-width: 861px) { .clips .shot.wide { grid-column: auto; } .clips .shot.span2 { grid-column: span 2; } }
@media (max-width: 860px) { .clips { grid-template-columns: 1fr 1fr; grid-auto-flow: dense; } .clips .shot { height: 240px; } .clips .shot.wide { grid-column: span 2; } }
@media (max-width: 460px) { .clips { grid-template-columns: 1fr; } .clips .shot.wide, .clips .shot.span2 { grid-column: auto; } }
.wall-note { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; color: var(--muted); font-size: .88rem; }
.wall-note b { color: var(--fg); font-weight: 600; }
@media (max-width: 980px) { .wall { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } }
@media (max-width: 520px) { .wall { grid-template-columns: 1fr; grid-auto-rows: 210px; } .shot.wide { grid-column: auto; } .shot.tall { grid-row: auto; } }

/* How it works: a real three-step sequence */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); display: grid; gap: 10px; align-content: start; min-width: 0; }
.step::before { counter-increment: step; content: counter(step); width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font: 700 1rem/1 var(--font-display); color: var(--green-ink); background: linear-gradient(180deg, rgba(255,255,255,.45), rgba(255,255,255,0) 55%), linear-gradient(180deg, var(--green), var(--green-deep)); box-shadow: 0 0 20px rgba(61,240,139,.35); }
.step p { color: var(--muted); font-size: .93rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Module guide (tabs) */
.guide { display: grid; grid-template-columns: 280px 1fr; gap: 20px; align-items: start; }
.tabs { display: grid; gap: 6px; }
.tab { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; text-align: left; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); font: 500 .92rem/1.2 var(--font-body); cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.tab:hover { border-color: var(--line-2); }
.tab[aria-selected="true"] { border-color: rgba(61,240,139,.45); background: linear-gradient(90deg, rgba(61,240,139,.12), var(--surface)); box-shadow: inset 3px 0 0 var(--green); }
.panel { border-radius: 18px; border: 1px solid var(--line-2); background: linear-gradient(180deg, var(--surface-2), var(--surface)); padding: 30px; display: grid; gap: 18px; min-width: 0; }
.panel-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.panel h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 700; }
.panel .what { color: var(--fg); font-size: 1.04rem; max-width: 60ch; }
.panel .cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; }
.panel h4 { margin: 0 0 8px; font: 500 .7rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.panel ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; color: var(--fg); font-size: .93rem; }
.panel ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.panel ul li { font-size: .9rem; color: var(--muted); display: flex; gap: 8px; }
.panel ul li::before { content: "✦"; color: var(--green); font-size: .75em; margin-top: .3em; }
@media (max-width: 900px) { .guide { grid-template-columns: 1fr; } .tabs { grid-template-columns: repeat(2, 1fr); } .panel .cols { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .tabs { grid-template-columns: 1fr; } .panel { padding: 22px; } }
/* WEB-064: tools grouped like the app (Image / Video / Studio), a link to each tool's card on the tour, and the
   consent line for the face and voice tools. */
.tab-group { grid-column: 1 / -1; margin: 10px 2px 0; font: 600 11px/1.2 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.tab-group:first-child { margin-top: 0; }
.panel .consent-note { margin: 18px 0 0; padding: 10px 12px; border-left: 3px solid var(--green); border-radius: 8px; background: rgba(61,240,139,.07); font-size: 14px; }
.panel .see-app { display: inline-flex; gap: 6px; margin-top: 18px; color: var(--green); font-weight: 600; text-decoration: none; }
.panel .see-app:hover, .panel .see-app:focus-visible { text-decoration: underline; }
.tcard[id] { scroll-margin-top: 96px; }
.tcard:target { outline: 2px solid var(--green); outline-offset: 4px; border-radius: 14px; }
/* Phones: 18 tools, every one in the build, so the list drops the repeated badge and goes two across (the open tool's badge stays above its explanation). */
@media (max-width: 600px) { .tabs { grid-template-columns: repeat(2, 1fr); } .tabs .tab .status { display: none; } .tabs .tab { padding: 12px; } }

/* Help + docs */
.help { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
@media (max-width: 900px) { .help { grid-template-columns: 1fr; } }
.chat { border-radius: 18px; border: 1px solid var(--line-2); background: var(--surface); padding: 20px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.chat-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 500 .74rem/1 var(--font-mono); color: var(--muted); }
.bubble { max-width: 88%; padding: 12px 14px; border-radius: 14px; font-size: .92rem; }
.bubble.you { justify-self: end; background: var(--surface-2); border: 1px solid var(--line-2); border-bottom-right-radius: 4px; }
.bubble.ai { background: rgba(61,240,139,.08); border: 1px solid rgba(61,240,139,.28); border-bottom-left-radius: 4px; }
.bubble.ai ol { margin: 6px 0 0; padding-left: 1.2em; display: grid; gap: 3px; }
.docs { display: grid; gap: 12px; align-content: start; }
.doc { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); min-width: 0; }
.doc .ic { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(61,240,139,.1); border: 1px solid rgba(61,240,139,.25); }
.doc .ic svg { width: 19px; height: 19px; stroke: var(--green); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.doc div { min-width: 0; flex: 1; }
.doc b { display: block; font-weight: 600; font-size: .95rem; }
.doc span { color: var(--muted); font-size: .85rem; }

/* Compare */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .93rem; }
tr:last-child td { border-bottom: 0; }
th { font: 500 .72rem/1.2 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--surface); }
td:first-child { color: var(--muted); width: 28%; }
td.ffs { background: rgba(61,240,139,.06); }
td.ffs::before { content: "✓ "; color: var(--green); font-weight: 600; }
.needs { display: flex; flex-wrap: wrap; gap: 10px; }
.horizon { margin-top: 26px; display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; border-radius: var(--radius); border: 1px dashed rgba(61,240,139,.4); background: linear-gradient(135deg, rgba(61,240,139,.07), rgba(61,240,139,.02)); }
.horizon .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(61,240,139,.1); border: 1px solid rgba(61,240,139,.3); }
.horizon .ic svg { width: 22px; height: 22px; stroke: var(--green); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.horizon div { min-width: 0; display: grid; gap: 6px; }
.horizon b { font-weight: 600; font-size: 1.02rem; }
.horizon p { margin: 0; color: var(--muted); font-size: .93rem; }
.horizon .tag { justify-self: start; font: 500 .68rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--green); padding: 5px 8px; border-radius: 6px; border: 1px solid rgba(61,240,139,.35); }
@media (max-width: 560px) { .horizon { flex-direction: column; } }

/* Sign-up */
.signup { position: relative; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.signup .aurora { inset: auto -20% -50%; top: auto; bottom: -40%; height: 700px; opacity: .7; }
.signup .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; padding-block: 100px; }
@media (max-width: 880px) { .signup .wrap { grid-template-columns: 1fr; gap: 28px; padding-block: 68px; } }
.signup-copy { display: grid; gap: 16px; min-width: 0; }
.signup-copy ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--muted); }
.signup-copy li { display: flex; gap: 10px; }
.signup-copy li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .55em; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
form { border: 1px solid var(--line-2); border-radius: 20px; padding: 28px; background: rgba(12,18,16,.88); backdrop-filter: blur(10px); display: grid; gap: 16px; min-width: 0; box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(61,240,139,.08); }
label { display: grid; gap: 7px; font-size: .86rem; font-weight: 500; }
label .opt { color: var(--muted); font-weight: 400; }
input[type="email"], input[type="text"], select { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); color: var(--fg); font: 400 1rem var(--font-body); }
input:focus, select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(61,240,139,.2); }
.hp { position: absolute; left: -9999px; }
form .btn { width: 100%; }
.privacy { font-size: .8rem; color: var(--muted); }
.msg { font-size: .9rem; padding: 12px 14px; border-radius: 10px; }
.msg.ok { background: rgba(61,240,139,.1); border: 1px solid rgba(61,240,139,.35); }
.msg.note { background: rgba(243,201,105,.08); border: 1px solid rgba(243,201,105,.3); }
.msg.err { background: rgba(255,110,110,.08); border: 1px solid rgba(255,110,110,.35); }

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 16px; }
fieldset:disabled { opacity: .5; }
fieldset:disabled .btn { cursor: not-allowed; }
fieldset:disabled .btn-primary::after { animation: none; display: none; }
.closed-note b { color: var(--amber); font-weight: 600; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
details { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 0 18px; }
summary { cursor: pointer; padding: 17px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--green); font: 500 1.2rem/1 var(--font-mono); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); padding-bottom: 16px; max-width: 65ch; }

footer { border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 28px; color: var(--muted); font-size: .82rem; }

/* Motion control: one switch pauses every moving thing on the page (videos, crossfades, wipes, the strip) */
.motion-toggle { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 12px; border-radius: 999px; font: 500 .66rem/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg); background: rgba(5,8,7,.62); border: 1px solid var(--line-2); backdrop-filter: blur(6px); cursor: pointer; }
.motion-toggle:hover { border-color: var(--green-deep); }
.motion-toggle::before { content: ""; width: 8px; height: 9px; border-left: 3px solid var(--green); border-right: 3px solid var(--green); box-sizing: border-box; }
.motion-toggle[aria-pressed="true"]::before { width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent var(--green); border-right: 0; }
.hero-motion { position: absolute; right: max(16px, env(safe-area-inset-right, 0px)); bottom: 10px; z-index: 3; }
html.still *, html.still *::before, html.still *::after { animation-play-state: paused !important; }
html.still .btn-primary::after { animation: none; left: -60%; }
html.still .tool.persona img { animation: none; opacity: 0; }
html.still .tool.persona img:nth-of-type(1) { opacity: 1; }
html.still .tool.persona .where i { animation: none; }
html.still .tool.persona .where i:first-child { background: var(--green); box-shadow: 0 0 8px var(--green); }
html.still .tool.edit .after { animation: none; clip-path: inset(0 0 0 50%); }
html.still .tool.edit .seam { animation: none; left: 50%; opacity: 1; }
html.still .shot .live-tag { display: none; }
/* Tap-to-play for clips on phones, data saver and reduced motion (nothing downloads until tapped) */
.clip-play { position: absolute; left: 50%; top: 45%; z-index: 3; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; display: grid; place-items: center; background: rgba(5,8,7,.6); border: 1px solid rgba(141,255,189,.6); box-shadow: 0 0 26px rgba(61,240,139,.35); backdrop-filter: blur(6px); cursor: pointer; color: var(--green); padding: 0; }
.clip-play svg { width: 20px; height: 20px; fill: currentColor; }
.clip-play .i-pause { display: none; }
.clip-play.on { opacity: .35; }
.clip-play.on:hover, .clip-play.on:focus-visible { opacity: 1; }
.clip-play.on .i-play { display: none; }
.clip-play.on .i-pause { display: block; }
@media (max-width: 700px) { .hero-motion { bottom: 12px; } }


/* ===== Lower-page lift (2026-11-15): real Freedom Forge output brought into every section ===== */
/* Photo collage: a tilted wall of real samples drifting slowly behind a section, kept dim so text stays easy to read */
.has-collage { position: relative; isolation: isolate; overflow: hidden; }
.collage { position: absolute; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.collage-tilt { position: absolute; left: -20%; right: -20%; top: 50%; display: grid; gap: 14px; transform: translateY(-50%) rotate(-7deg); }
.collage-row { display: flex; gap: 14px; width: max-content; animation: collageDrift 90s linear infinite; }
.collage-row:nth-child(2) { animation-direction: reverse; animation-duration: 110s; }
.collage-row:nth-child(3) { animation-duration: 130s; }
.collage-row img { display: block; width: 210px; height: 150px; object-fit: cover; border-radius: 14px; border: 1px solid rgba(141,255,189,.16); filter: saturate(.85) brightness(.9); }
.collage-row img.wide { width: 300px; }
@keyframes collageDrift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.collage::after { content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(5,8,7,.55) 0%, rgba(5,8,7,.86) 70%, var(--bg) 100%),
    linear-gradient(180deg, var(--bg) 0%, rgba(5,8,7,0) 18%, rgba(5,8,7,0) 82%, var(--bg) 100%),
    linear-gradient(135deg, rgba(61,240,139,.10), rgba(45,212,191,.05)); }
.collage.soft img { opacity: .55; }
.has-collage .table-wrap, .has-collage .horizon { background-color: rgba(7,12,10,.82); backdrop-filter: blur(8px); }
.has-collage .needs .pill { background: rgba(7,12,10,.85); }

/* How it works: each step shows what that moment looks like */
.steps { position: relative; }
.step { padding: 0; overflow: hidden; gap: 0; }
.step::before { position: absolute; top: 14px; left: 14px; z-index: 2; }
.step-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.step-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.step:hover .step-media > img { transform: scale(1.05); }
.step-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,8,7,.35), transparent 40%, rgba(5,8,7,.75)); pointer-events: none; }
.step-body { display: grid; gap: 8px; padding: 20px 22px 24px; }
.prompt-bar { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: rgba(5,8,7,.82); border: 1px solid rgba(61,240,139,.45); box-shadow: 0 0 22px rgba(61,240,139,.18); font: 500 .74rem/1.3 var(--font-mono); color: var(--fg); backdrop-filter: blur(6px); }
.prompt-bar span { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.prompt-bar span::after { content: ""; display: inline-block; width: 7px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--green); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.prompt-bar b { flex: none; padding: 5px 9px; border-radius: 999px; font-weight: 600; font-size: .66rem; color: var(--green-ink); background: linear-gradient(180deg, var(--green-hi), var(--green)); }
.look-chips { position: absolute; left: 12px; bottom: 12px; z-index: 2; display: flex; gap: 8px; }
.look-chips span { padding: 7px 11px; border-radius: 999px; font: 600 .68rem/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; background: rgba(5,8,7,.8); border: 1px solid var(--line-2); color: var(--muted); backdrop-filter: blur(6px); }
.look-chips span.on { color: var(--green-ink); background: linear-gradient(180deg, var(--green-hi), var(--green)); border-color: transparent; box-shadow: 0 0 18px rgba(61,240,139,.45); }
.mini-lib { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: 6px; padding: 10px; }
.mini-lib img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; border: 1px solid var(--line-2); min-height: 0; }
.mini-lib .fav { position: relative; }
.mini-lib .fav img { border-color: var(--green); box-shadow: 0 0 14px rgba(61,240,139,.45); }
.mini-lib .fav::after { content: "★"; position: absolute; top: 4px; right: 6px; font-size: .8rem; color: var(--green-hi); text-shadow: 0 0 8px rgba(61,240,139,.9); }
.mini-lib > * { min-width: 0; min-height: 0; }
@media (min-width: 861px) {
  .steps::before { content: ""; position: absolute; left: 8%; right: 8%; top: calc(50% - 1px); height: 2px; z-index: -1; background: linear-gradient(90deg, transparent, rgba(61,240,139,.5), transparent); }
}

/* Features: each tool shows a real sample above its explanation, shown whole (not cropped to a thin strip) */
.panel { position: relative; overflow: hidden; }
.panel-media { position: relative; margin: -30px -30px 4px; aspect-ratio: 2 / 1; overflow: hidden; border-bottom: 1px solid var(--line-2); background: radial-gradient(120% 90% at 50% 0%, rgba(61,240,139,.08), transparent 60%), var(--surface-2); }
.panel-media img { display: block; }
.panel-media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: linear-gradient(180deg, transparent, rgba(12,18,16,.55)); pointer-events: none; }
.panel-media .pm-cap { position: absolute; right: 12px; top: 12px; z-index: 2; font: 500 .6rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; padding: 6px 8px; border-radius: 999px; background: rgba(5,8,7,.7); border: 1px solid rgba(61,240,139,.35); color: var(--green-hi); }
/* One picture: whole, centered, on a soft blurred copy of itself */
.pm-one .pm-blur { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(28px) saturate(1.1) brightness(.42); transform: scale(1.1); }
.pm-one > img { position: absolute; inset: 14px 0; margin: auto; max-width: calc(100% - 28px); max-height: calc(100% - 28px); width: auto; height: auto; object-fit: contain; border-radius: 12px; border: 1px solid rgba(141,255,189,.18); box-shadow: 0 18px 50px rgba(0,0,0,.55), 0 0 40px rgba(61,240,139,.10); animation: panelIn .6s ease both; }
/* A row of pictures: the box takes the row's own shape (--ar = sum of the pictures' shapes), so nothing is cut off */
.pm-row { aspect-ratio: var(--ar, 3); }
.pm-strip { position: absolute; inset: 0; display: flex; gap: 4px; animation: panelIn .6s ease both; }
.pm-strip > img, .pm-strip figure { flex: var(--r, 1) 1 0; min-width: 0; height: 100%; object-fit: cover; }
.pm-strip figure { position: relative; margin: 0; display: flex; }
.pm-strip figure img { width: 100%; height: 100%; object-fit: cover; }
.pm-split .pm-strip { gap: 0; }
.pm-split figure + figure { border-left: 2px solid var(--green); }
/* Library: square thumbnails, like the real Library grid */
.pm-lib .pm-grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr); gap: 4px; animation: panelIn .6s ease both; }
.pm-lib .pm-grid img { width: 100%; height: 100%; min-width: 0; object-fit: cover; }
.pm-split .after-lbl, .pm-split .before-lbl { position: absolute; top: 12px; left: 12px; z-index: 1; font: 500 .6rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; padding: 6px 8px; border-radius: 999px; background: rgba(5,8,7,.72); border: 1px solid var(--line-2); }
.pm-split .after-lbl { color: var(--green); border-color: rgba(61,240,139,.45); }
@keyframes panelIn { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pm-one > img, .pm-strip, .pm-lib .pm-grid { animation: none; } }
html.still .pm-one > img, html.still .pm-strip, html.still .pm-lib .pm-grid { animation: none; }
/* Phones: one picture gets a taller box; rows scroll sideways at a readable height; before/after stacks */
@media (max-width: 560px) {
  .pm-one { aspect-ratio: 1 / 1; }
  .pm-one.pm-wide { aspect-ratio: 16 / 10; }
  .pm-lib { aspect-ratio: 2 / 1; }
  .pm-row { aspect-ratio: auto; height: 240px; }
  .pm-row .pm-strip { position: absolute; inset: 0; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .pm-row .pm-strip::-webkit-scrollbar { display: none; }
  .pm-row .pm-strip > img { flex: none; height: 100%; width: auto; aspect-ratio: var(--r, 1); scroll-snap-align: start; }
  .pm-split { height: auto; aspect-ratio: auto; }
  .pm-split .pm-strip { position: relative; flex-direction: column; overflow: visible; }
  .pm-split figure { flex: none; height: auto; aspect-ratio: var(--r, 1.78); }
  .pm-split figure img { aspect-ratio: inherit; }
  .pm-split figure + figure { border-left: 0; border-top: 2px solid var(--green); }
}
@media (max-width: 420px) { .panel-media { margin: -22px -22px 4px; } }

/* Help: a soft dotted backdrop and a real result inside the chat */
#help { position: relative; isolation: isolate; overflow: hidden; }
#help::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(141,255,189,.10) 1px, transparent 1.4px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 70% 50%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 70% 50%, #000 0%, transparent 75%); }
#help::after { content: ""; position: absolute; width: 520px; height: 520px; right: -120px; top: 20%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(61,240,139,.10), transparent 65%); pointer-events: none; }
.chat-result { margin-top: 10px; display: grid; gap: 6px; }
.chat-result img { width: 100%; max-width: 320px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; border: 1px solid rgba(61,240,139,.35); }
.chat-result small { font: 500 .62rem/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--green-hi); }
.doc { min-width: 0; }
.doc .status { flex: none; }

/* Sign-up: the collage glows behind the form */
.signup .collage::after { background:
    linear-gradient(90deg, rgba(5,8,7,.95) 0%, rgba(5,8,7,.78) 40%, rgba(5,8,7,.55) 70%, rgba(5,8,7,.8) 100%),
    linear-gradient(180deg, var(--bg) 0%, rgba(5,8,7,0) 20%, rgba(5,8,7,0) 80%, var(--bg) 100%); }
.signup .aurora { z-index: -1; opacity: .55; }

/* FAQ: questions beside a fan of real samples */
.faq-layout { display: grid; gap: 40px; }
@media (min-width: 900px) { .faq-layout { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); align-items: start; gap: 56px; } .faq-side { position: sticky; top: 110px; } }
.faq-side { display: grid; gap: 28px; min-width: 0; }
.fan { position: relative; height: 300px; max-width: 340px; }
.fan figure { position: absolute; margin: 0; width: 58%; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 24px 50px rgba(0,0,0,.55); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.fan figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fan figure:nth-child(1) { left: 0; top: 30px; transform: rotate(-9deg); }
.fan figure:nth-child(2) { left: 21%; top: 6px; z-index: 2; transform: rotate(1deg); border-color: rgba(61,240,139,.55); box-shadow: 0 24px 50px rgba(0,0,0,.6), 0 0 30px rgba(61,240,139,.25); }
.fan figure:nth-child(3) { left: 42%; top: 34px; transform: rotate(10deg); }
.fan:hover figure:nth-child(1) { transform: rotate(-13deg) translateX(-10px); }
.fan:hover figure:nth-child(3) { transform: rotate(14deg) translateX(10px); }
.faq-side p { color: var(--muted); font-size: .95rem; }
@media (max-width: 899px) { .fan { height: 240px; max-width: 280px; } }
@media (max-width: 520px) { .collage-row img { width: 150px; height: 108px; } .collage-row img.wide { width: 210px; } }

/* Gentle entrance: content is visible at rest; only a lift plays when it scrolls in */
.rise { transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.rise.pending { transform: translateY(18px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rise.pending { transform: none; }
  .tool.persona img:nth-of-type(n+2) { display: none; }
  .tool.edit .after { clip-path: inset(0 0 0 50%); }
  .tool.edit .seam { left: 50%; }
}

/* ===== Multi-page site (2026-11-15): shared header, page banners, smooth page-to-page fades ===== */
@view-transition { navigation: auto; }
.nav { view-transition-name: site-header; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .32s; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
.nav-links .pages { display: flex; align-items: center; gap: 22px; }
.nav-links .pages a[aria-current="page"] { color: var(--fg); position: relative; }
.nav-links .pages a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; border-radius: 2px; background: var(--green); box-shadow: 0 0 10px var(--green); }
.menu-btn { display: none; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: var(--fg); font: 600 .85rem/1 var(--font-body); cursor: pointer; }
.menu-btn i { display: grid; gap: 3px; } .menu-btn i::before, .menu-btn i::after { content: ""; display: block; width: 14px; height: 2px; border-radius: 2px; background: var(--green); }
@media (max-width: 820px) {
  .menu-btn { display: inline-flex; }
  .nav-links { gap: 10px; }
  .nav-links .pages { display: none; }
  .nav.open .nav-links .pages { display: grid; gap: 2px; position: absolute; left: 0; right: 0; top: 100%; padding: 10px max(20px, env(safe-area-inset-right, 0px)) 16px max(20px, env(safe-area-inset-left, 0px)); background: rgba(5,8,7,.97); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(0,0,0,.5); }
  .nav.open .nav-links .pages a { display: block; padding: 13px 4px; font-size: 1.02rem; color: var(--fg); border-bottom: 1px solid var(--line); }
  .nav.open .nav-links .pages a:last-child { border-bottom: 0; }
  .nav-links .pages a[aria-current="page"]::after { display: none; }
  .nav.open .nav-links .pages a[aria-current="page"] { color: var(--green); }
}
.soon-sm { margin-left: -8px; }
@media (max-width: 480px) { .nav .btn { padding: 0 14px; } .soon-sm { display: none; } }
/* Page banner for Gallery / Features / Help: title over a drifting wall of real samples */
.page-hero .wrap { display: grid; gap: 16px; justify-items: start; padding-block: 96px 72px; }
.page-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); max-width: 16ch; }
.page-hero .lede { color: #c9d8d0; }
.page-hero .collage::after { background:
    linear-gradient(90deg, rgba(5,8,7,.96) 0%, rgba(5,8,7,.82) 45%, rgba(5,8,7,.5) 100%),
    linear-gradient(180deg, rgba(5,8,7,.4) 0%, rgba(5,8,7,0) 30%, rgba(5,8,7,.2) 70%, var(--bg) 100%); }
.page-hero + section.band .wrap { padding-top: 56px; }
.crumbs { font: 500 .72rem/1 var(--font-mono); letter-spacing: .08em; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; } .crumbs a:hover { color: var(--green); }
/* Home showcase teaser */
.teaser-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
/* Closing call-to-action on sub-pages */
.cta-band { position: relative; isolation: isolate; overflow: hidden; border-top: 1px solid var(--line); }
.cta-band .wrap { display: grid; gap: 18px; justify-items: center; text-align: center; padding-block: 88px; }
.cta-band::before { content: ""; position: absolute; inset: -40% -10% auto; height: 520px; z-index: -1; background: radial-gradient(ellipse 50% 50% at 50% 60%, rgba(61,240,139,.16), transparent 70%); pointer-events: none; }
.cta-band p { color: var(--muted); max-width: 52ch; }
/* About page: the (mostly true) legend */
.legend { display: grid; gap: 18px; counter-reset: chap; position: relative; }
.chapter { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; align-items: start; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.chapter .ic { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, rgba(141,255,189,.25), rgba(61,240,139,.06) 60%); border: 1px solid rgba(61,240,139,.35); box-shadow: 0 0 24px rgba(61,240,139,.15); }
.chapter .ic svg { width: 30px; height: 30px; stroke: var(--green); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.chapter .num { font: 500 .66rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.chapter h3 { font-size: clamp(1.1rem, 2.2vw, 1.35rem); font-weight: 700; margin: 6px 0 8px; }
.chapter p { color: var(--muted); max-width: 66ch; }
.chapter p + p { margin-top: 10px; }
.chapter .aside { display: inline-block; margin-top: 12px; font: 500 .74rem/1.4 var(--font-mono); color: var(--amber); border: 1px dashed rgba(243,201,105,.4); border-radius: 8px; padding: 6px 9px; }
@media (min-width: 761px) { .legend::before { content: ""; position: absolute; left: 58px; top: 30px; bottom: 30px; width: 2px; background: linear-gradient(180deg, rgba(61,240,139,.5), rgba(61,240,139,.05)); z-index: -1; } }
@media (max-width: 560px) { .chapter { grid-template-columns: 1fr; padding: 22px; } }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fact { padding: 22px 18px; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--surface); display: grid; gap: 8px; align-content: start; min-width: 0; }
.fact b { font: 800 clamp(1.6rem, 4vw, 2.3rem)/1 var(--font-display); color: var(--green); text-shadow: 0 0 22px rgba(61,240,139,.35); }
.fact span { color: var(--muted); font-size: .9rem; }
.fact small { font: 500 .62rem/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: #8aa093; }
.crew { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .crew { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .crew, .facts { grid-template-columns: 1fr; } }
.crew-card { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface-2), var(--surface)); display: grid; gap: 10px; align-content: start; min-width: 0; text-align: center; justify-items: center; transition: transform .25s ease, border-color .25s ease; }
.crew-card:hover { transform: translateY(-3px) rotate(-.5deg); border-color: rgba(61,240,139,.4); }
.crew-card .badge { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #1f5537, #06150d); border: 1px solid rgba(61,240,139,.45); box-shadow: 0 0 26px rgba(61,240,139,.2), inset 0 -6px 14px rgba(0,0,0,.5); }
.crew-card .badge svg { width: 34px; height: 34px; stroke: var(--green-hi); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.crew-card b { font: 600 .98rem/1.25 var(--font-display); }
.crew-card p { color: var(--muted); font-size: .88rem; }
.crew-note { color: var(--muted); font-size: .9rem; text-align: center; }
.creed { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 860px) { .creed { grid-template-columns: 1fr; } }
.creed .card h3 { font-weight: 700; }
/* Home: short story teaser */
.story-tease .wrap { padding-block: 72px; }
.story-card { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: 36px; border-radius: 22px; border: 1px solid rgba(61,240,139,.3); background: radial-gradient(ellipse 60% 90% at 100% 50%, rgba(61,240,139,.14), transparent 70%), linear-gradient(180deg, var(--surface-2), var(--surface)); }
.story-card p { color: var(--muted); margin-top: 10px; max-width: 56ch; }
.story-card .cta-row { margin-top: 18px; }
.story-anvil { justify-self: center; width: min(260px, 70%); filter: drop-shadow(0 0 30px rgba(61,240,139,.35)); }
.story-anvil .spark { animation: spark 2.4s ease-in-out infinite; transform-origin: center; }
.story-anvil .spark:nth-of-type(2) { animation-delay: .6s; } .story-anvil .spark:nth-of-type(3) { animation-delay: 1.2s; }
@keyframes spark { 0%, 100% { opacity: .2; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-6px); } }
@media (max-width: 760px) { .story-card { grid-template-columns: 1fr; padding: 26px; } .story-anvil { width: 160px; } }
/* Quiet American nods (Ryan, 2026-11-15): green stars and liberty wording; red, white and blue only on July 4th */
.st { fill: var(--green-hi); }
.star-divider { display: flex; align-items: center; justify-content: center; gap: 12px; padding-inline: max(16px, env(safe-area-inset-left, 0px)); margin: 8px auto; max-width: var(--max); }
.star-divider svg { width: 14px; height: 14px; flex: none; filter: drop-shadow(0 0 6px rgba(61,240,139,.5)); }
.star-divider svg:nth-of-type(3) { width: 18px; height: 18px; }
.star-divider .sd-line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(61,240,139,.5)); }
.star-divider .sd-line:last-child { transform: scaleX(-1); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .8;
  background-image: radial-gradient(1.3px 1.3px at 8% 18%, var(--green-hi), transparent), radial-gradient(1px 1px at 22% 72%, var(--green-hi), transparent), radial-gradient(1.5px 1.5px at 36% 34%, var(--green-hi), transparent), radial-gradient(1px 1px at 47% 80%, var(--green-hi), transparent), radial-gradient(1.2px 1.2px at 63% 22%, var(--green-hi), transparent), radial-gradient(1.4px 1.4px at 74% 64%, var(--green-hi), transparent), radial-gradient(1px 1px at 86% 30%, var(--green-hi), transparent), radial-gradient(1.3px 1.3px at 93% 78%, var(--green-hi), transparent), radial-gradient(1px 1px at 15% 46%, var(--green-hi), transparent), radial-gradient(1.2px 1.2px at 55% 52%, var(--green-hi), transparent); }
.liberty { position: relative; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: radial-gradient(ellipse 60% 80% at 50% 120%, rgba(61,240,139,.16), transparent 65%), #07100b; }
.liberty::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .9; background-image: radial-gradient(1.4px 1.4px at 10% 25%, var(--green-hi), transparent), radial-gradient(1.1px 1.1px at 28% 70%, var(--green-hi), transparent), radial-gradient(1.6px 1.6px at 62% 20%, var(--green-hi), transparent), radial-gradient(1px 1px at 80% 74%, var(--green-hi), transparent), radial-gradient(1.3px 1.3px at 91% 30%, var(--green-hi), transparent), radial-gradient(1px 1px at 44% 86%, var(--green-hi), transparent); }
.liberty .wrap { display: grid; justify-items: center; text-align: center; gap: 18px; padding-block: 76px; }
.liberty .ring13 { width: 124px; height: 124px; filter: drop-shadow(0 0 22px rgba(61,240,139,.35)); }
.liberty blockquote { margin: 0; font: 800 clamp(1.5rem, 4vw, 2.6rem)/1.12 var(--font-display); letter-spacing: -.015em; max-width: 22ch; text-wrap: balance; }
.liberty blockquote span { color: var(--green); text-shadow: 0 0 26px rgba(61,240,139,.35); }
.liberty cite { font: 500 .72rem/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-style: normal; }
.ring13 .anv { fill: #0b2617; stroke: var(--green); stroke-width: 2; stroke-linejoin: round; }
.creed .card .article { font: 500 .66rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.usa-line { flex-basis: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; margin: 4px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font: 500 .64rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: #6f8479; }
.usa-line .ring13 { width: 22px; height: 22px; opacity: .85; }
/* July 4th only: the stars twinkle red, white and blue */
.july4 .st { animation: july4 2.4s ease-in-out infinite; }
.july4 .ring13 .st:nth-of-type(3n+1), .july4 .star-divider svg:nth-of-type(3n+1) .st { fill: #ff4d5e; }
.july4 .ring13 .st:nth-of-type(3n+2), .july4 .star-divider svg:nth-of-type(3n+2) .st { fill: #ffffff; }
.july4 .ring13 .st:nth-of-type(3n), .july4 .star-divider svg:nth-of-type(3n) .st { fill: #5b8cff; }
@keyframes july4 { 50% { opacity: .45; } }
/* Footer links */
footer .wrap { align-items: center; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot-links a { color: var(--muted); text-decoration: none; } .foot-links a:hover { color: var(--green); }

/* ===== WEB-009 (2026-11-15): gallery category buttons + "view bigger" viewer ===== */
.filter-bar { display: grid; gap: 14px; margin-bottom: -16px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.01)); color: var(--muted); font: 500 .88rem/1 var(--font-body); cursor: pointer; transition: color .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease; }
.chip i { font: 500 .66rem/1 var(--font-mono); font-style: normal; color: var(--muted); padding: 4px 6px; border-radius: 999px; background: rgba(255,255,255,.06); }
.chip:hover { color: var(--fg); border-color: var(--green-deep); }
.chip[aria-pressed="true"] { color: var(--green-ink); background: var(--green); border-color: var(--green); box-shadow: 0 0 0 1px rgba(61,240,139,.35), 0 6px 22px rgba(61,240,139,.28); font-weight: 600; }
.chip[aria-pressed="true"] i { color: var(--green-ink); background: rgba(2,26,12,.16); }
/* WEB-060: "Just added" button carries a small glowing dot so the newest pictures are easy to spot */
.chip[data-k="new"]::before { content: ""; width: 7px; height: 7px; margin-right: -2px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(61,240,139,.7); flex: none; }
.chip[data-k="new"][aria-pressed="true"]::before { background: var(--green-ink); box-shadow: none; }
.filter-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; font: 400 .74rem/1.4 var(--font-mono); color: var(--muted); }
#filter-count { color: var(--green-hi); }
/* WEB-038: featured set cards above the Gallery buttons (picture first, tap to show the set) */
.sets { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 12px; margin-bottom: -12px; }
.set { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 158px; padding: 0; overflow: hidden; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); color: var(--fg); text-align: left; font: inherit; cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease; }
.set img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.set::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,8,7,0) 18%, rgba(5,8,7,.55) 52%, rgba(5,8,7,.94)); }
.set-txt { display: grid; gap: 4px; padding: 14px 16px 13px; }
.set-txt b { font: 700 1.02rem/1.15 var(--font-display); letter-spacing: -.01em; }
.set-txt small { font: 400 .82rem/1.35 var(--font-body); color: #c6d6cd; }
.set-txt i { font: 500 .66rem/1.3 var(--font-mono); font-style: normal; letter-spacing: .04em; color: var(--green-hi); }
.set-new { position: absolute; top: 10px; left: 10px; padding: 4px 8px; border-radius: 999px; background: var(--green); color: var(--green-ink); font: 600 .62rem/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 4px 14px rgba(61,240,139,.3); }
.set:hover { border-color: var(--green-deep); }
.set:hover img, .set:focus-visible img { transform: scale(1.05); }
.set:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.set[aria-pressed="true"] { border-color: var(--green); box-shadow: 0 0 0 1px rgba(61,240,139,.45), 0 8px 28px rgba(61,240,139,.24); }
.set[aria-pressed="true"] .set-txt b { color: var(--green-hi); }
.set-on { display: none; font: 600 .66rem/1.3 var(--font-mono); font-style: normal; letter-spacing: .04em; color: var(--green-hi); }
.set[aria-pressed="true"] .set-txt i { display: none; }
.set[aria-pressed="true"] .set-on { display: block; }
@media (max-width: 980px) { .sets { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sets.odd .set:first-child { grid-column: span 2; } }
@media (max-width: 520px) { .sets { gap: 10px; margin-bottom: -16px; } .set { min-height: 128px; } .set-txt { padding: 11px 12px 10px; } .set-txt b { font-size: .9rem; } .set-txt small { font-size: .74rem; } }
@media (prefers-reduced-motion: reduce) { .set img { transition: none; } .set:hover img, .set:focus-visible img { transform: none; } }
@media (max-width: 700px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 2px 16px 4px; scroll-padding-inline: 16px; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}
/* Filtered view: rows of pictures at their own shape, so a short list never leaves holes */
.wall.filtered { display: flex; flex-wrap: wrap; gap: 14px; }
.wall.filtered .shot { flex: var(--r, 1) 1 calc(var(--r, 1) * 220px); height: auto; aspect-ratio: var(--r, 1); max-width: calc(var(--r, 1) * 440px); }
@media (max-width: 520px) { .wall.filtered .shot { flex: 1 1 100%; max-width: none; } }
/* The whole tile is one button that opens the viewer */
.shot-open { position: absolute; inset: 0; z-index: 2; margin: 0; padding: 0; border: 0; border-radius: inherit; background: transparent; cursor: zoom-in; display: grid; place-items: center; color: var(--green); }
.shot-open svg { width: 22px; height: 22px; padding: 14px; box-sizing: content-box; border-radius: 50%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; background: rgba(5,8,7,.6); border: 1px solid rgba(141,255,189,.55); box-shadow: 0 0 26px rgba(61,240,139,.35); backdrop-filter: blur(6px); opacity: 0; transform: scale(.85); transition: opacity .2s ease, transform .2s ease; }
.shot-open:focus-visible { outline: 2px solid var(--green); outline-offset: -4px; }
.shot-open:focus-visible svg { opacity: 1; transform: none; }
@media (hover: hover) { .shot:hover .shot-open svg { opacity: 1; transform: none; } }
/* Touch screens have no hover: keep a small, quiet "view bigger" mark in the corner of every tile */
@media (hover: none) {
  .shot-open { place-items: start end; }
  .shot-open svg { width: 14px; height: 14px; padding: 7px; margin: 10px; opacity: .92; transform: none; box-shadow: 0 0 14px rgba(61,240,139,.25); }
}
.shot .clip-play { z-index: 3; }
/* Viewer */
html.lb-open { overflow: hidden; }
.lb { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--fg); overflow: hidden; }
.lb[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; animation: lbIn .22s ease-out; }
.lb::backdrop { background: rgba(2,6,4,.9); backdrop-filter: blur(8px); }
.lb:not([open]) { display: none; }
@keyframes lbIn { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: none; } }
.lb-stage { min-height: 0; display: grid; place-items: center; padding: max(64px, env(safe-area-inset-top, 0px)) 84px 8px; }
.lb-stage > img, .lb-stage > video { max-width: 100%; max-height: calc(100dvh - 170px); width: auto; height: auto; object-fit: contain; border-radius: 14px; border: 1px solid var(--line-2); box-shadow: 0 0 0 1px rgba(61,240,139,.12), 0 30px 80px rgba(0,0,0,.6), 0 0 60px rgba(61,240,139,.12); background: var(--surface); }
.lb-stage > video { width: min(100%, 1100px); }
.lb-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: min(100%, 1200px); max-height: 100%; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lb-split figure { position: relative; margin: 0; min-width: 0; }
.lb-split figure + figure { border-left: 2px solid var(--green); }
.lb-split img { display: block; width: 100%; height: 100%; max-height: calc(100dvh - 170px); object-fit: contain; background: var(--surface); }
.lb-split .lbl { position: absolute; top: 12px; left: 12px; font: 500 .62rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; padding: 6px 8px; border-radius: 999px; background: rgba(5,8,7,.72); border: 1px solid var(--line-2); }
.lb-split .lbl.on { color: var(--green); border-color: rgba(61,240,139,.45); }
.lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px max(24px, env(safe-area-inset-right, 0px)) max(18px, env(safe-area-inset-bottom, 0px)) max(24px, env(safe-area-inset-left, 0px)); max-width: var(--max); width: 100%; margin: 0 auto; }
.lb-cap { display: grid; gap: 4px; margin: 0; }
.lb-cap b { font: 500 1.05rem/1.25 var(--font-display); }
.lb-cap span { font: 400 .74rem/1.3 var(--font-mono); color: var(--muted); }
.lb-pos { font: 500 .78rem/1 var(--font-mono); color: var(--green-hi); white-space: nowrap; }
.lb-say { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.lb-btn { position: absolute; z-index: 2; width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border-radius: 50%; cursor: pointer; color: var(--fg); background: rgba(12,18,16,.75); border: 1px solid var(--line-2); backdrop-filter: blur(6px); transition: border-color .18s ease, color .18s ease; }
.lb-btn:hover { color: var(--green); border-color: var(--green-deep); }
.lb-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lb-prev, .lb-next { top: calc(50% - 40px); }
.lb-prev { left: max(18px, env(safe-area-inset-left, 0px)); }
.lb-next { right: max(18px, env(safe-area-inset-right, 0px)); }
.lb-close { top: max(12px, env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); }
@media (max-width: 700px) {
  /* WEB-054: the picture fits the space left above the caption (never slides under a two-line caption) */
  .lb-stage { padding: 68px 12px 4px; grid-template: minmax(0, 1fr) / minmax(0, 1fr); }
  .lb-stage > img, .lb-stage > video { max-height: 100%; }
  .lb-prev, .lb-next { top: auto; bottom: max(14px, env(safe-area-inset-bottom, 0px)); }
  .lb-prev { left: auto; right: 74px; }
  .lb-next { right: 16px; }
  /* WEB-054 (WEB-009 polish): the caption gets the full width on phones. Row 1 = title + credit;
     row 2 = "3 / 133" on the left, level with the arrows on the right (the arrows stay where they were). */
  .lb-bar { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 48px; align-items: center; gap: 8px; padding: 10px 16px max(14px, env(safe-area-inset-bottom, 0px)); }
  .lb-pos { grid-row: 2; justify-self: start; }
  .lb-split { grid-template-columns: 1fr; max-height: 100%; }
  .lb-split figure + figure { border-left: 0; border-top: 2px solid var(--green); }
  .lb-split img { max-height: calc((100dvh - 236px) / 2); }
}
/* WEB-056 (WEB-009 polish, 2026-11-28): the viewer on short screens and with bigger text.
   1) Wider screens: the picture also stops at the caption, so a caption made taller by bigger text never sits on the picture
      (normal desktop sizes look the same as before).
   2) Phones turned sideways and other short landscape screens (up to 500px tall): one slim caption row, arrows back at the
      sides (the caption sits between them), close button in the corner, before/after side by side, so the picture gets most of the height
      (it was about half, and the stacked before/after was a thumbnail). */
@media (min-width: 701px) {
  .lb-stage { grid-template: minmax(0, 1fr) / minmax(0, 1fr); }
  .lb-stage > img, .lb-stage > video { max-height: min(100%, calc(100dvh - 170px)); }
}
@media (orientation: landscape) and (max-height: 500px) {
  .lb-stage { grid-template: minmax(0, 1fr) / minmax(0, 1fr); padding: max(10px, env(safe-area-inset-top, 0px)) max(76px, calc(env(safe-area-inset-right, 0px) + 64px)) 4px max(76px, calc(env(safe-area-inset-left, 0px) + 64px)); }
  .lb-stage > img, .lb-stage > video { max-height: 100%; border-radius: 10px; }
  .lb-prev, .lb-next { top: calc(50% - 50px); bottom: auto; }
  .lb-prev { left: max(14px, env(safe-area-inset-left, 0px)); right: auto; }
  .lb-next { right: max(14px, env(safe-area-inset-right, 0px)); }
  .lb-close { top: max(10px, env(safe-area-inset-top, 0px)); right: max(14px, env(safe-area-inset-right, 0px)); }
  .lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 6px max(76px, calc(env(safe-area-inset-right, 0px) + 64px)) max(8px, env(safe-area-inset-bottom, 0px)) max(76px, calc(env(safe-area-inset-left, 0px) + 64px)); }
  .lb-cap { gap: 2px; min-width: 0; }
  .lb-cap b { font-size: .98rem; }
  .lb-pos { grid-row: auto; }
  .lb-split { grid-template-columns: 1fr 1fr; border-radius: 10px; }
  .lb-split figure + figure { border-top: 0; border-left: 2px solid var(--green); }
  .lb-split img { max-height: calc(100dvh - 84px); }
}
/* WEB-056 rev 2 (Codex 2026-11-28 12:01): the before/after pair is sized from the space the stage really has
   (the stage is a size container), so the whole pair always shows and no part of either picture is cut off,
   on any screen and with bigger text. Both halves are square pictures: side by side = 2:1, stacked = 1:2.
   Browsers without container units keep the rules above. */
@supports (width: 1cqw) {
  .lb-stage { container-type: size; }
  .lb-split { width: min(100cqw, 1200px, 200cqh); aspect-ratio: 2 / 1; grid-template-rows: minmax(0, 1fr); }
  .lb-split figure { min-height: 0; }
  .lb-split img { height: 100%; max-height: none; }
  @media (max-width: 700px) {
    .lb-split { width: min(100cqw, 50cqh); aspect-ratio: 1 / 2; grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); }
  }
  @media (orientation: landscape) and (max-height: 500px) {
    .lb-split { width: min(100cqw, 1200px, 200cqh); aspect-ratio: 2 / 1; grid-template-rows: minmax(0, 1fr); }
  }
}
html.still .lb[open] { animation: none; }
@media (prefers-reduced-motion: reduce) { .lb[open] { animation: none; } .shot-open svg { transition: none; } }

/* Logo lockup, bigger and lined up with the page (Ryan, 2026-11-15: "more prominent at full screen").
   Wide screens: mark beside the name, larger, and the header lines up with the page content instead of hugging the window edge.
   It stays visible (smaller) when the header tucks in on scroll. Phones keep the stacked version. */
.nav .wrap { max-width: calc(var(--max) + 40px); }
@media (min-width: 900px) {
  .brand { flex-direction: row; align-items: center; gap: 14px; text-align: left; }
  .brand .mark { width: 66px; height: 66px; }
  .brand .wordmark { font-size: .98rem; letter-spacing: .14em; padding-left: 0; max-height: 4rem; }
  .brand small { justify-content: flex-start; font-size: .6rem; margin-top: 7px; letter-spacing: .5em; padding-left: 0; }
  .brand small::before { display: none; }
  .nav.compact .brand .mark { width: 44px; height: 44px; }
  .nav.compact .brand .wordmark { max-height: 4rem; opacity: 1; font-size: .8rem; }
  .nav-links a:not(.btn) { font-size: .95rem; }
}
@media (min-width: 1400px) {
  .brand .mark { width: 74px; height: 74px; }
  .brand .wordmark { font-size: 1.1rem; }
}
@media (max-width: 899px) { .brand .mark { width: 50px; height: 50px; } }
@media (prefers-reduced-motion: reduce) { .brand .mark, .brand .wordmark { transition: none; } }

/* ===== WEB-013 step 2 (2026-11-16): tech-forward pictures in the page frame + gap-free filtered rows ===== */
/* Filtered Gallery view: site.js sizes each picture so every row runs edge to edge */
.wall.filtered .shot.jz { flex: none; max-width: none; aspect-ratio: auto; }
/* Cinematic section backdrop: one real Freedom Forge picture behind a section, faded into the page so text stays easy to read */
.has-backdrop { position: relative; isolation: isolate; overflow: hidden; }
.backdrop { position: absolute; left: 0; right: 0; top: 0; height: min(820px, 88%); z-index: -2; pointer-events: none; overflow: hidden; }
.backdrop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; opacity: .8; transform: scale(1.06); animation: backdropDrift 38s ease-in-out infinite alternate; }
@keyframes backdropDrift { to { transform: scale(1.12) translate(-1.5%, 1%); } }
.backdrop::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(5,8,7,.86) 28%, rgba(5,8,7,.3) 58%, rgba(5,8,7,.12) 80%, rgba(5,8,7,.5) 100%),
    linear-gradient(180deg, var(--bg) 0%, rgba(5,8,7,.1) 14%, rgba(5,8,7,0) 42%, rgba(5,8,7,.62) 76%, var(--bg) 100%),
    radial-gradient(ellipse 50% 60% at 78% 45%, rgba(61,240,139,.10), transparent 70%); }
.has-backdrop .table-wrap, .has-backdrop .horizon { background-color: rgba(7,12,10,.86); backdrop-filter: blur(10px); }
.has-backdrop .needs .pill { background: rgba(7,12,10,.88); }
.has-backdrop .section-head { max-width: 640px; }
.backdrop-credit { position: absolute; right: max(16px, env(safe-area-inset-right, 0px)); top: 18px; z-index: 1; font: 500 .6rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(236,245,240,.72); background: rgba(5,8,7,.55); border: 1px solid var(--line-2); padding: 6px 9px; border-radius: 999px; backdrop-filter: blur(6px); }
@media (max-width: 700px) {
  .backdrop { height: 560px; }
  .backdrop img { object-position: 74% 50%; opacity: .72; }
  .backdrop::after { background:
    linear-gradient(180deg, var(--bg) 0%, rgba(5,8,7,.35) 14%, rgba(5,8,7,.55) 50%, var(--bg) 100%),
    linear-gradient(90deg, rgba(5,8,7,.62), rgba(5,8,7,.18)); }
  .backdrop-credit { top: 10px; }
}
@media (prefers-reduced-motion: reduce) { .backdrop img { animation: none; } }
/* Features samples (2026-11-16): Enhance shown up close, Randomizer as one locked subject, phone swipe hint */
.pm-zoom figure { overflow: hidden; }
.pm-zoom .pm-cap { top: auto; bottom: 12px; }
.pm-strip:focus-visible { outline: 2px solid var(--green); outline-offset: -3px; }
.pm-swipe { display: none; }
@media (max-width: 700px) {
  .pm-scroll.can-scroll .pm-swipe { display: inline-flex; align-items: center; gap: 6px; position: absolute; left: 12px; bottom: 12px; z-index: 2; pointer-events: none; font: 500 .6rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; color: var(--fg); background: rgba(5,8,7,.75); border: 1px solid rgba(61,240,139,.45); backdrop-filter: blur(6px); transition: opacity .3s ease; }
  .pm-scroll.can-scroll .pm-swipe::after { content: ""; width: 7px; height: 7px; border-top: 1.5px solid var(--green); border-right: 1.5px solid var(--green); transform: rotate(45deg); animation: swipeNudge 1.6s ease-in-out infinite; }
  .pm-scroll.scrolled .pm-swipe { opacity: 0; }
  .pm-zoom figure { aspect-ratio: 16 / 10; }
}
@keyframes swipeNudge { 50% { transform: translateX(4px) rotate(45deg); } }
@media (prefers-reduced-motion: reduce) { .pm-swipe::after { animation: none !important; } }

/* WEB-013 (2026-11-16 7:47 AM): About chapters get a real Freedom Forge picture each; Help fills its right column with a planned-guide preview */
.chapter.has-shot { grid-template-columns: 64px minmax(0, 1fr) minmax(220px, 300px); }
.ch-shot { margin: 0; align-self: stretch; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 8px; min-width: 0; }
.ch-shot .frame { position: relative; min-height: 170px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2); background: var(--surface); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.ch-shot .frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ch-shot .frame.mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; }
.ch-shot .frame.mosaic > img { position: static; min-height: 0; }
.chapter:hover .ch-shot .frame > img { transform: scale(1.04); }
.ch-shot .made { position: absolute; left: 8px; bottom: 8px; z-index: 1; font: 500 .56rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(236,245,240,.8); background: rgba(5,8,7,.62); border: 1px solid var(--line-2); padding: 5px 8px; border-radius: 999px; backdrop-filter: blur(6px); }
.ch-shot figcaption { font: 500 .7rem/1.45 var(--font-mono); color: var(--muted); }
@media (max-width: 900px) {
  .chapter.has-shot { grid-template-columns: 64px minmax(0, 1fr); }
  .ch-shot { grid-column: 2; max-width: 440px; }
  .ch-shot .frame { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 700px) { .ch-shot { display: none; } .ch-shot.keep-phone { display: grid; } .ch-shot.keep-phone img { object-position: 50% 62%; } }
@media (max-width: 560px) { .chapter.has-shot { grid-template-columns: 1fr; } .ch-shot { grid-column: 1; } }
@media (prefers-reduced-motion: reduce) { .ch-shot .frame > img { transition: none; } .chapter:hover .ch-shot .frame > img { transform: none; } }
.docs.has-peek { align-content: stretch; grid-template-rows: repeat(4, auto) minmax(0, 1fr); }
.doc-peek { display: grid; grid-template-rows: auto minmax(150px, 1fr) auto; gap: 12px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface-2), var(--surface)); min-width: 0; }
.peek-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.peek-top b { font-weight: 600; font-size: .95rem; }
.peek-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; min-height: 0; }
.peek-pair figure { position: relative; margin: 0; overflow: hidden; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); min-height: 150px; }
.peek-pair img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.7); transform-origin: 27% 32%; }
.peek-pair .before-lbl, .peek-pair .after-lbl { position: absolute; top: 10px; left: 10px; z-index: 1; font: 500 .58rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; padding: 6px 8px; border-radius: 999px; background: rgba(5,8,7,.72); border: 1px solid var(--line-2); }
.peek-pair .after-lbl { color: var(--green); border-color: rgba(61,240,139,.45); }
.peek-pair { position: relative; }
.peek-cap { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); z-index: 1; white-space: nowrap; font: 500 .56rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(236,245,240,.8); background: rgba(5,8,7,.68); border: 1px solid var(--line-2); padding: 5px 8px; border-radius: 999px; }
.doc-peek p { color: var(--muted); font-size: .85rem; }
@media (max-width: 900px) { .docs.has-peek { grid-template-rows: none; } .peek-pair figure { min-height: 0; aspect-ratio: 4 / 3; } }
@media (max-width: 700px) { .peek-pair { display: none; } .doc-peek { grid-template-rows: auto auto; } }

/* Home "Fresh from the forge" strip (Ryan 2026-11-16 ~10:10 AM: fill the gap between "Why local" and the story card) */
#compare .wrap { padding-bottom: 56px; }
#compare + .forge-strip + .story-tease .wrap { padding-top: 56px; }
.forge-strip { position: relative; display: grid; gap: 18px; padding-block: 8px; }
.strip-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.strip-head h2 { font-size: clamp(1.25rem, 2.6vw, 1.75rem); margin-top: 10px; }
.strip-link { color: var(--green); font-weight: 600; font-size: .92rem; text-decoration: none; white-space: nowrap; }
.strip-link:hover, .strip-link:focus-visible { text-decoration: underline; }
.strip { display: block; overflow: hidden; color: inherit; text-decoration: none; border-radius: 0; outline-offset: 4px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.strip:focus-visible { outline: 2px solid var(--green); }
.strip-track { display: flex; width: max-content; animation: stripDrift 70s linear infinite; }
.strip-set { display: flex; gap: 14px; padding-right: 14px; }
.strip:hover .strip-track, .strip:focus-visible .strip-track { animation-play-state: paused; }
@keyframes stripDrift { to { transform: translateX(-50%); } }
.strip-tile { position: relative; margin: 0; height: 210px; aspect-ratio: var(--ar); flex: none; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: var(--surface); box-shadow: 0 16px 36px rgba(0,0,0,.4); transition: border-color .25s ease, transform .25s ease; }
.strip-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.strip-tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 2px; padding: 26px 12px 10px; background: linear-gradient(180deg, transparent, rgba(5,8,7,.88)); opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .25s ease; }
.strip-tile figcaption b { font-size: .82rem; font-weight: 600; }
.strip-tile figcaption span { font: 500 .58rem/1.2 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.strip-tile:hover { border-color: rgba(61,240,139,.5); transform: translateY(-3px); }
.strip-tile:hover figcaption { opacity: 1; transform: none; }
.forge-strip > .wrap { width: 100%; }
.strip-note { color: var(--muted); font: 500 .66rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; margin-block: 0; }
/* Phones and reduced motion: a still row you can swipe (no drift, the repeat copy is hidden) */
@media (max-width: 700px) {
  .strip { overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 16px; -webkit-overflow-scrolling: touch; scrollbar-width: none; -webkit-mask-image: none; mask-image: none; }
  .strip::-webkit-scrollbar { display: none; }
  .strip-track { animation: none; }
  .strip-set.dup { display: none; }
  .strip-set { padding-left: 16px; }
  .strip-tile { height: 150px; scroll-snap-align: start; }
  .strip-tile figcaption { opacity: 1; transform: none; padding: 20px 10px 8px; }
  #compare .wrap { padding-bottom: 40px; }
  #compare + .forge-strip + .story-tease .wrap { padding-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .strip { overflow-x: auto; scrollbar-width: thin; }
  .strip-track { animation: none; }
  .strip-set.dup { display: none; }
}

/* WEB-016 2026-11-16 10:47 — Features: "How it was made" bar under each sample, drawn like the app's request bar
   (review idea: a striking result right beside the control that made it). */
.recipe { position: relative; z-index: 3; margin: -22px 6px 2px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 16px 10px 10px 12px; border-radius: 14px; border: 1px solid rgba(61,240,139,.38); background: linear-gradient(180deg, rgba(17,26,22,.94), rgba(8,13,11,.96)); box-shadow: 0 14px 40px rgba(0,0,0,.5), 0 0 0 4px rgba(61,240,139,.05), inset 0 1px 0 rgba(141,255,189,.08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: rcIn .5s .15s ease both; }
.recipe .rc-tag { position: absolute; left: 14px; top: -9px; font: 500 .56rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--green-hi); background: var(--surface-2); border: 1px solid rgba(61,240,139,.38); border-radius: 999px; padding: 4px 7px; }
.recipe .rc-tool { flex: none; font: 600 .74rem/1 var(--font-body); color: var(--green-hi); background: rgba(61,240,139,.12); border: 1px solid rgba(61,240,139,.45); border-radius: 8px; padding: 6px 9px; } /* tinted tag, not a filled pill (review fix, same reason) */
.recipe .rc-field { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.recipe .rc-field small { font: 500 .58rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.recipe .rc-v { font: 400 .86rem/1.35 var(--font-mono); color: var(--fg); clip-path: inset(0 100% 0 0); animation: rcType 1s .45s steps(26, end) forwards; }
.recipe .rc-v::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 3px; vertical-align: -2px; background: var(--green); animation: rcCaret .9s steps(1) 3; opacity: 0; }
.recipe .rc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.recipe .rc-chips span { font: 500 .62rem/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--green-hi); padding: 6px 8px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(5,8,7,.6); white-space: nowrap; }
/* Review fix: a quiet static label (outline, muted, no press), so it never reads as a live button */
.recipe .rc-btn { flex: none; margin-left: auto; font: 500 .66rem/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--green-hi); padding: 7px 10px; border-radius: 8px; border: 1px dashed rgba(141,255,189,.42); background: transparent; cursor: default; }
.recipe .rc-btn small { font: inherit; color: var(--muted); }
@keyframes rcIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes rcType { to { clip-path: inset(0 0 0 0); } }
@keyframes rcCaret { 0% { opacity: 1; } 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .recipe { animation: none; } .recipe .rc-v { animation: none; clip-path: none; } .recipe .rc-v::after { display: none; } }
html.still .recipe { animation: none; }
html.still .recipe .rc-v { animation: none; clip-path: none; }
html.still .recipe .rc-v::after { display: none; }
/* Phones: the bar sits under the sample (no overlap), button drops to the end of the row */
@media (max-width: 560px) {
  .recipe { margin: 4px 0 0; padding: 14px 10px 10px; gap: 8px; }
  .recipe .rc-field { flex-basis: 100%; order: 2; }
  .recipe .rc-tool { order: 1; }
  .recipe .rc-chips { order: 3; }
  .recipe .rc-btn { order: 4; }
}

/* WEB-019 2026-11-16 16:47 — Home "Why local": the same desk with the PC running (desktop only, fades in once playing) */
.backdrop video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; opacity: 0; transition: opacity 1.2s ease; }
.backdrop video.on { opacity: .8; }
@media (max-width: 700px), (prefers-reduced-motion: reduce) { .backdrop video { display: none; } }
/* WEB-047 2026-11-26 — the smoother clip plays unzoomed and without drift (sharper, locked camera); on desktop the still under it holds still too, so both line up. Phones, reduced motion and data saver keep the drifting still as before. */
@media (min-width: 701px) and (prefers-reduced-motion: no-preference) { .backdrop.has-vid img { animation: none; transform: none; } }

/* WEB-017 2026-11-16 — About: "The real crew has whiskers" (Ryan's three cats): board-meeting photo, how a release leaves the forge, crew ID badges */
.cat-crew { position: relative; isolation: isolate; }
.cat-crew::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 50% 30%, rgba(61,240,139,.07), transparent 70%); }
.ids { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; margin-top: 8px; }
.id-card { position: relative; display: grid; gap: 10px; padding: 18px 20px 16px; border-radius: 18px; border: 1px solid var(--line-2); background: linear-gradient(180deg, #121d18, var(--surface) 60%); box-shadow: 0 22px 50px rgba(0,0,0,.45), inset 0 1px 0 rgba(141,255,189,.06); transform: rotate(var(--tilt, 0deg)); transform-origin: 50% 0; transition: transform .35s ease, border-color .25s ease; min-width: 0; }
.id-card:hover, .id-card:focus-within { transform: rotate(0deg) translateY(-3px); border-color: rgba(61,240,139,.45); }
.id-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 10px; border-bottom: 1px dashed var(--line-2); position: relative; }
.id-top .slot { position: absolute; left: 50%; top: -6px; width: 42px; height: 8px; margin-left: -21px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line-2); }
.id-org, .id-no { font: 500 .6rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 8px; }
.id-no { color: var(--green); }
.id-photo { position: relative; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; border: 1px solid rgba(61,240,139,.35); background: radial-gradient(80% 70% at 50% 35%, #1b4a31, #06130c 75%); box-shadow: inset 0 0 40px rgba(0,0,0,.5), 0 0 30px rgba(61,240,139,.08); }
.id-photo svg { position: absolute; inset: 8% 8% 0; width: 84%; height: 92%; }
.photo-tag { position: absolute; left: 10px; bottom: 10px; right: 10px; font: 500 .58rem/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--green-hi); background: rgba(5,8,7,.72); border: 1px solid rgba(61,240,139,.3); border-radius: 8px; padding: 6px 8px; text-align: center; }
.id-card h3 { font: 800 clamp(1.5rem, 2.6vw, 1.9rem)/1 var(--font-display); letter-spacing: -.01em; margin-top: 4px; }
.id-role { font: 600 .82rem/1.3 var(--font-body); color: var(--green); }
.id-breed { font: 500 .62rem/1.2 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.id-bio { color: var(--fg); font-size: .92rem; line-height: 1.55; }
.id-spec { margin: 4px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.id-spec div { display: grid; grid-template-columns: 7.2em minmax(0, 1fr); gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.id-spec dt { font: 500 .6rem/1.5 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.id-spec dd { margin: 0; font-size: .85rem; color: var(--fg); }
.id-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 4px; }
.id-foot .bars { flex: 1; height: 22px; max-width: 150px; opacity: .55; background: repeating-linear-gradient(90deg, var(--fg) 0 2px, transparent 2px 4px, var(--fg) 4px 5px, transparent 5px 8px, var(--fg) 8px 11px, transparent 11px 13px); }
.id-foot .paw { width: 26px; height: 26px; fill: var(--green); transform: rotate(-18deg); filter: drop-shadow(0 0 6px rgba(61,240,139,.5)); }
@media (max-width: 900px) { .ids { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ids .id-card:last-child { grid-column: 1 / -1; max-width: 420px; justify-self: center; width: 100%; } }
@media (max-width: 600px) { .ids { grid-template-columns: 1fr; } .ids .id-card:last-child { max-width: none; } .id-card { --tilt: 0deg !important; } }
@media (prefers-reduced-motion: reduce) { .id-card { transform: none; transition: none; } .id-card:hover, .id-card:focus-within { transform: none; } }
html.still .id-card { transition: none; }
/* Compact pass (Ryan 11:2x: "cards seem a little big") */
.ids { max-width: 940px; margin-inline: auto; gap: 16px; }
.id-card { gap: 7px; padding: 14px 16px 12px; border-radius: 16px; }
.id-top { padding-bottom: 8px; }
.id-photo { aspect-ratio: 4 / 3; border-radius: 12px; }
.id-photo svg { inset: 6% 18% 0; width: 64%; height: 94%; }
.photo-tag { left: 8px; right: 8px; bottom: 8px; padding: 5px 7px; font-size: .54rem; }
.id-card h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin-top: 2px; }
.id-role { font-size: .78rem; }
.id-bio { font-size: .85rem; line-height: 1.5; }
.id-spec div { padding: 5px 0; grid-template-columns: 6.6em minmax(0, 1fr); }
.id-spec dd { font-size: .8rem; }
.id-foot .bars { height: 16px; max-width: 110px; }
.id-foot .paw { width: 20px; height: 20px; }
@media (max-width: 900px) { .ids .id-card:last-child { max-width: 380px; } }
@media (max-width: 600px) { .ids { max-width: 420px; } }
/* Hover pass (Ryan: no tilt) — cards sit straight; hover lifts, glows and wakes the photo */
.id-card { transform: none; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.id-card:hover, .id-card:focus-within { transform: translateY(-4px); border-color: rgba(61,240,139,.5); box-shadow: 0 26px 56px rgba(0,0,0,.5), 0 0 0 1px rgba(61,240,139,.18), 0 0 34px rgba(61,240,139,.14); }
.id-photo svg, .id-photo img { transition: transform .45s ease; }
.id-card:hover .id-photo svg, .id-card:hover .id-photo img { transform: scale(1.05); }
.id-no::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--line-2); vertical-align: 1px; transition: background .25s ease, box-shadow .25s ease; }
.id-card:hover .id-no::before, .id-card:focus-within .id-no::before { background: var(--green); box-shadow: 0 0 8px var(--green); }
@media (prefers-reduced-motion: reduce) { .id-card:hover, .id-card:focus-within { transform: none; } .id-card:hover .id-photo svg, .id-card:hover .id-photo img { transform: none; } }
.ids { align-items: stretch; }
.id-card { display: flex; flex-direction: column; }
.id-foot { margin-top: auto; }

/* 2026-11-16 16:47: photoreal crew pictures (M36/M37, Ryan's ask) replace the drawn portraits */
.id-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.crew-photo { margin: 0 auto 28px; max-width: 980px; border-radius: 18px; overflow: hidden; border: 1px solid rgba(61,240,139,.3); box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 40px rgba(61,240,139,.08); background: #06130c; }
.crew-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.crew-photo figcaption { padding: 10px 14px; font: 500 .7rem/1.4 var(--font-mono); letter-spacing: .04em; color: var(--muted); border-top: 1px solid var(--line); }

/* 2026-11-16 ~19:00 v2 (Ryan, live): the REAL crew photo as a "board meeting" polaroid + how a release leaves the forge */
.board { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 48px); align-items: center; max-width: 980px; margin: 0 auto 36px; }
.board-photo { position: relative; margin: 0; padding: 12px 12px 14px; border-radius: 6px; background: linear-gradient(180deg, #f4f1e8, #e9e4d6); box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.05); transform: rotate(-1.6deg); transition: transform .35s ease; }
.board-photo:hover { transform: rotate(0deg) translateY(-3px); }
.board-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.board-photo figcaption { margin-top: 10px; font: 500 .74rem/1.45 var(--font-mono); color: #2b322e; letter-spacing: .01em; }
.board-photo figcaption b { color: #0d3a22; }
.board-photo .tape { position: absolute; left: 50%; top: -12px; width: 110px; height: 26px; margin-left: -55px; background: rgba(61,240,139,.28); border: 1px solid rgba(61,240,139,.35); backdrop-filter: blur(2px); transform: rotate(2deg); }
.board-copy { display: grid; gap: 12px; min-width: 0; }
.board-copy h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.15; }
.ship-steps { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; counter-reset: s; }
.ship-steps li { counter-increment: s; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(12,18,16,.7); font-size: .92rem; line-height: 1.5; color: var(--muted); }
.ship-steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font: 600 .85rem/1 var(--font-mono); color: var(--green); border: 1px solid rgba(61,240,139,.4); background: rgba(61,240,139,.08); }
.ship-steps b { color: var(--fg); }
.board-note { margin: 0; font-size: .86rem; line-height: 1.55; color: var(--muted); }
.id-photo.is-pending { display: grid; place-items: center; background: repeating-linear-gradient(135deg, rgba(61,240,139,.05) 0 10px, transparent 10px 20px), radial-gradient(80% 70% at 50% 40%, #173d29, #06130c 75%); }
.id-photo.is-pending .paw-big { width: 34%; height: auto; fill: rgba(141,255,189,.28); transform: rotate(-14deg) translateY(-10%); }
.crew-note { max-width: 720px; margin: 28px auto 0; text-align: center; color: var(--muted); font-size: .9rem; }
@media (max-width: 820px) { .board { grid-template-columns: 1fr; max-width: 560px; } .board-photo { transform: rotate(-1deg); } }
@media (prefers-reduced-motion: reduce) { .board-photo, .board-photo:hover { transform: none; transition: none; } }
/* Bart's ID card v2 (Ryan ~7:50 PM): a desk background; Bart walks in from the left when you hover the card and walks
   off to the right when you leave. Phones: he walks in once when the card scrolls into view; tap to send him off / call
   him back. Reduced motion and Pause motion: he just stands there. Final art: 53 = empty desk, 54 = full-grown Bart
   walking with a transparent background (M40); until then the preview uses stand-ins. */
.id-photo.is-walk { background: #06130c; }
.id-photo.is-walk .bd { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.72) saturate(.95); }
.id-photo.is-walk::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,8,7,0) 55%, rgba(5,8,7,.55)); pointer-events: none; }
.id-photo.is-walk .walker { display: block; position: absolute; left: 50%; bottom: 3%; z-index: 1; width: 52%; transform: translateX(-280%); transition: none; }
.id-photo.is-walk .walker img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; }
.id-photo.is-walk .walker img.placeholder { object-fit: cover; -webkit-mask-image: radial-gradient(ellipse 50% 52% at 50% 52%, #000 72%, transparent 100%); mask-image: radial-gradient(ellipse 50% 52% at 50% 52%, #000 72%, transparent 100%); }
.id-photo.is-walk.in .walker { transform: translateX(-50%); transition: transform 1.3s cubic-bezier(.3,.6,.35,1); }
.id-photo.is-walk.out .walker { transform: translateX(190%); transition: transform 1.1s cubic-bezier(.55,0,.8,.4); }
.id-photo.is-walk.moving .walker img { animation: bartStep .28s ease-in-out infinite alternate; }
@keyframes bartStep { from { transform: translateY(0) rotate(-1.5deg); } to { transform: translateY(-4%) rotate(1.5deg); } }
.id-photo.is-walk .photo-tag { bottom: auto; top: 8px; z-index: 2; }
.id-photo.is-walk .hint { position: absolute; right: 10px; bottom: 10px; z-index: 2; font: 500 .54rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--green-hi); opacity: .8; transition: opacity .3s ease; }
.id-photo.is-walk.in .hint { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .id-photo.is-walk .walker, .id-photo.is-walk.in .walker, .id-photo.is-walk.out .walker { transform: translateX(-50%); transition: none; } .id-photo.is-walk .walker img { animation: none !important; } .id-photo.is-walk .hint { display: none; } }
html.still .id-photo.is-walk .walker, html.still .id-photo.is-walk.out .walker { transform: translateX(-50%); transition: none; }
html.still .id-photo.is-walk .walker img { animation: none !important; }
html.still .id-photo.is-walk .hint { display: none; }
/* Bart's set is a small photo studio (Ryan: "different from Ross's desk"): hand-made CSS/SVG, not a photo. */
.id-photo.is-walk .walker img { position: static; inset: auto; }
.id-card:hover .id-photo.is-walk .walker img { transform: none; }
.id-photo.is-walk.moving .walker img, .id-card:hover .id-photo.is-walk.moving .walker img { animation: bartStep .28s ease-in-out infinite alternate; }
.id-photo.is-walk .studio { position: absolute; inset: 0; background:
  radial-gradient(55% 50% at 50% 66%, rgba(141,255,189,.20), transparent 70%),
  radial-gradient(40% 60% at 14% 30%, rgba(236,245,240,.10), transparent 70%),
  linear-gradient(180deg, #1b3527 0%, #132a1f 58%, #0e2018 70%, #0a1711 100%); }
.id-photo.is-walk .studio svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.id-photo.is-walk .studio .tally { animation: tally 1.6s steps(1) infinite; }
@keyframes tally { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .id-photo.is-walk .studio .tally { animation: none; } }
html.still .id-photo.is-walk .studio .tally { animation: none; }

/* Bart v3 (Ryan ~8:20 PM, his real recent photo, cut out of the window): he's sitting, so he HOPS in from the left
   when you hover and hops off to the right when you leave. */
.id-photo.is-walk .walker { width: 66%; bottom: 1%; transition: none; }
.id-photo.is-walk .walker img { aspect-ratio: auto; filter: drop-shadow(0 10px 10px rgba(0,0,0,.5)); }
.id-photo.is-walk.in .walker { transition: none; transform: translate(-50%, 0); animation: bartIn .9s cubic-bezier(.3,.7,.3,1) both; }
.id-photo.is-walk.out .walker { transition: none; transform: translate(210%, 30%); animation: bartOut .8s cubic-bezier(.5,0,.8,.5) both; }
.id-photo.is-walk.moving .walker img, .id-card:hover .id-photo.is-walk.moving .walker img { animation: none; }
@keyframes bartIn { 0% { transform: translate(-260%, 24%); } 55% { transform: translate(-66%, -16%); } 82% { transform: translate(-48%, 2%); } 100% { transform: translate(-50%, 0); } }
@keyframes bartOut { 0% { transform: translate(-50%, 0); } 40% { transform: translate(-6%, -16%); } 100% { transform: translate(210%, 30%); } }
@media (prefers-reduced-motion: reduce) { .id-photo.is-walk .walker, .id-photo.is-walk.in .walker, .id-photo.is-walk.out .walker { animation: none; transform: translate(-50%, 0); } }
html.still .id-photo.is-walk .walker, html.still .id-photo.is-walk.in .walker, html.still .id-photo.is-walk.out .walker { animation: none; transform: translate(-50%, 0); }

/* Bart v3.1 (Ryan ~11:05 PM): label at the bottom like Rupert and Ross; Bart sits just above it; hover hint moves to the top */
.id-photo.is-walk .photo-tag { top: auto; bottom: 8px; }
.id-photo.is-walk .walker { width: 58%; bottom: 21%; }
.id-photo.is-walk .hint { top: 10px; bottom: auto; right: 10px; }
/* Review fix: Bart's photo is keyboard-reachable; visible focus ring; pointer cursor */
.id-photo.is-walk { cursor: pointer; }
.id-photo.is-walk:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* ===== WEB-021: the header holds five page links ("Inside the app" added) on one line at every width that shows them ===== */
.nav-links a, .nav-links .btn { white-space: nowrap; }
@media (min-width: 821px) and (max-width: 1080px) {
  .nav-links, .nav-links .pages { gap: 14px; }
  .nav-links a:not(.btn) { font-size: .86rem; }
  .nav .btn { padding-inline: 14px; }
}
/* WEB-022: portraits keep the face in frame when a tile crops them (wide clip columns, short phone rows) */
.shot.face img, .shot.face video { object-position: 50% 22%; }

/* ===== WEB-025 (Ryan, 2026-11-17 ~8:55 PM): Home hero = the tilted, slowly drifting wall of real Gallery pictures =====
   Same approved pool as the Gallery, a new mix each visit (site.js). Darker on the headline side so the words stay easy
   to read, softer behind the tool cards. Phones, reduced motion and Pause motion: the wall stands still. */
.hero-wall .collage-tilt { gap: 16px; }
.hero-wall .collage-row { gap: 16px; animation-duration: 140s; }
.hero-wall .collage-row:nth-child(2) { animation-duration: 170s; }
.hero-wall .collage-row:nth-child(3) { animation-duration: 155s; }
.hero-wall .collage-row:nth-child(4) { animation-direction: reverse; animation-duration: 185s; }
.hero-wall .collage-row:nth-child(5) { animation-duration: 160s; }
.hero-wall .collage-row img { width: 270px; height: 196px; border-radius: 16px; object-position: 50% 30%; border-color: rgba(141,255,189,.18); filter: saturate(.95) brightness(.92); }
.hero-wall .collage-row img.wide { width: 380px; }
.hero-wall::after { background:
    linear-gradient(90deg, rgba(5,8,7,.95) 0%, rgba(5,8,7,.88) 30%, rgba(5,8,7,.56) 56%, rgba(5,8,7,.34) 100%),
    linear-gradient(180deg, rgba(5,8,7,.6) 0%, rgba(5,8,7,0) 20%, rgba(5,8,7,0) 72%, var(--bg) 100%),
    linear-gradient(135deg, rgba(61,240,139,.08), rgba(45,212,191,.04)); }
@media (min-width: 701px) and (max-width: 1099px) { /* the headline runs wider here, so the shade reaches further */
  .hero-wall::after { background:
    linear-gradient(90deg, rgba(5,8,7,.95) 0%, rgba(5,8,7,.86) 52%, rgba(5,8,7,.62) 78%, rgba(5,8,7,.48) 100%),
    linear-gradient(180deg, rgba(5,8,7,.6) 0%, rgba(5,8,7,0) 20%, rgba(5,8,7,.2) 60%, var(--bg) 100%); }
}
@media (max-width: 700px) {
  .hero-wall .collage-row { animation: none; }
  .hero-wall .collage-tilt { top: 0; gap: 12px; transform: translateY(-4%) rotate(-7deg); }
  .hero-wall .collage-row { gap: 12px; }
  .hero-wall .collage-row img { width: 160px; height: 118px; border-radius: 12px; }
  .hero-wall .collage-row img.wide { width: 224px; }
  .hero-wall::after { background: linear-gradient(180deg, rgba(5,8,7,.74) 0%, rgba(5,8,7,.84) 34%, rgba(5,8,7,.94) 52%, var(--bg) 66%); }
}

/* WEB-028 "The crew": a small link on crew tiles (above the "view bigger" button) and in the viewer caption to the cat story on About */
.shot .story-tag { position: absolute; top: 12px; left: 12px; z-index: 3; display: inline-flex; align-items: center; gap: 4px; font: 500 .6rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; color: var(--fg); text-decoration: none; background: rgba(5,8,7,.72); border: 1px solid rgba(61,240,139,.45); backdrop-filter: blur(6px); transition: border-color .2s ease, color .2s ease; }
.shot .story-tag:hover, .shot .story-tag:focus-visible { color: var(--green); border-color: var(--green); }
.shot .story-tag:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.lb-cap .lb-story { color: var(--green); text-decoration: none; border-bottom: 1px solid rgba(61,240,139,.45); }
.lb-cap .lb-story:hover, .lb-cap .lb-story:focus-visible { border-bottom-color: var(--green); }

/* WEB-028 fix (Codex 09:11): "The crew" view shows all 4 crew clips in one row that runs edge to edge.
   Each clip's width follows its shape (flex-grow = aspect ratio, same height for all), so the row never leaves empty columns.
   Tablets: the three cat close-ups share a row and the whole-crew clip gets its own. Phones: one clip per row, full width. */
.clips.crewrow { display: flex; flex-wrap: wrap; gap: 14px; }
.clips.crewrow .shot { flex: var(--r, 1) 1 0; min-width: 0; height: auto; aspect-ratio: var(--r, 1); }
@media (max-width: 860px) { .clips.crewrow .shot.wide { flex-basis: 100%; } }
@media (max-width: 460px) { .clips.crewrow .shot { flex-basis: 100%; } }
/* Crew clips carry the "Meet the crew" link top left, so their "Moving" badge shrinks to its green dot (no overlap on narrow tiles) */
.clips .shot:has(.story-tag) .live-tag { gap: 0; padding: 7px; letter-spacing: 0; font-size: 0; }
/* WEB-029: 2+ wide crew clips: close-ups share the first row, wide clips the second, each row edge to edge */
@media (min-width: 461px) {
  .clips.crewrow.split .shot { flex: 0 0 calc((100% - (var(--nf) - 1) * 14px) / var(--nf)); }
  .clips.crewrow.split .shot.wide { flex-basis: calc((100% - (var(--nw) - 1) * 14px) / var(--nw)); }
}
/* Very narrow tiles in a filtered row: the "Meet the crew" link shrinks to its arrow (it keeps its full name for screen readers) */
.shot.narrow .story-tag { font-size: 0; letter-spacing: 0; gap: 0; padding: 6px 9px; }
.shot.narrow .story-tag span { font-size: .75rem; }
/* WEB-034 Batch 1: Home "Creative freedom" section + planned pill + tour freedom line */
.freedom { position: relative; overflow: hidden; }
.freedom::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: min(70vw, 760px); aspect-ratio: 1; background: radial-gradient(closest-side, rgba(61,240,139,.13), transparent 70%); pointer-events: none; }
.freedom-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.freedom-h { font-size: clamp(2rem, 5.2vw, 3.7rem); line-height: 1.04; margin: 14px 0 16px; }
.freedom-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.freedom-points li { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 12px; align-items: start; }
.freedom-points li::before { content: ""; grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(61,240,139,.45); background: rgba(61,240,139,.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%233df08b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }
.freedom-points b { font-weight: 600; }
.freedom-points span { color: var(--muted); font-size: .95rem; }
.freedom-fine { margin-top: 22px; color: var(--muted); font-size: .84rem; max-width: 60ch; border-left: 2px solid rgba(61,240,139,.35); padding-left: 12px; }
.freedom-demo { display: grid; gap: 12px; padding: 18px; border-radius: calc(var(--radius) + 4px); border: 1px solid var(--line-2); background: linear-gradient(160deg, rgba(17,26,22,.95), rgba(8,12,10,.95)); box-shadow: 0 30px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(61,240,139,.05) inset; }
.fd-label { display: block; font: 500 .66rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.fd-idea, .fd-row { border-radius: 14px; padding: 14px 16px; border: 1px solid var(--line-2); background: rgba(5,8,7,.6); }
.fd-idea p { font-style: italic; color: var(--fg); }
.fd-row p { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.fd-no { opacity: .72; }
.fd-no p { color: var(--muted); }
.fd-x, .fd-ok { flex: none; width: 20px; height: 20px; border-radius: 50%; display: inline-block; background: center / 12px no-repeat; }
.fd-x { border: 1px solid rgba(146,166,155,.5); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7l10 10M17 7L7 17' stroke='%2392a69b' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.fd-ok { background-color: var(--green); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23021a0c' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.fd-yes { border-color: rgba(61,240,139,.5); background: linear-gradient(135deg, rgba(61,240,139,.1), rgba(61,240,139,.02)); box-shadow: 0 0 40px -12px rgba(61,240,139,.45); }
.fd-yes img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 30%; border-radius: 10px; margin-top: 12px; border: 1px solid rgba(61,240,139,.25); }
.pill.pill-plan { border-style: dashed; border-color: rgba(61,240,139,.4); color: var(--muted); }
.stop-freedom { margin: 4px 0 18px; padding: 10px 14px; border-radius: 12px; border: 1px dashed rgba(61,240,139,.4); background: rgba(61,240,139,.05); color: var(--muted); font-size: .93rem; }
.stop-freedom b { color: var(--green-hi); font-weight: 600; }
@media (max-width: 860px) {
  .freedom-grid { grid-template-columns: minmax(0, 1fr); }
  .freedom-demo { max-width: 520px; }
}

/* WEB-036 Batch 1 step 2 (Ryan, 2026-11-20): quiet stars-and-stripes accents in the dark + emerald look,
   "Forged in the USA" badges, maker-story line, easter eggs (type "meow" or "usa"; click the footer stars 3 times) */
.usa-flag { width: 26px; height: 16px; flex: none; border-radius: 2px; overflow: hidden; }
.usa-flag .sp { fill: var(--green); opacity: .55; }
.usa-flag .cn { fill: #0b2617; stroke: rgba(61,240,139,.55); stroke-width: .6; }
.usa-flag .dt { fill: var(--green-hi); }
.usa-badge { display: inline-flex; align-items: center; gap: 9px; padding: 6px 12px 6px 8px; border-radius: 999px; border: 1px solid rgba(61,240,139,.32); background: linear-gradient(180deg, rgba(61,240,139,.10), rgba(61,240,139,.03)); font: 500 .66rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--green-hi); white-space: nowrap; }
.hero-badge { margin: 18px 0 0; }
.story-made { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 16px; }
.story-made .sm-line { color: var(--fg); font-size: .95rem; }
/* Stripes: the star dividers and the footer "Forged in the USA" line get three fine pinstripes instead of one line */
.star-divider .sd-line { height: 7px; background: repeating-linear-gradient(180deg, rgba(61,240,139,.5) 0 1px, transparent 1px 3px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 85%); mask-image: linear-gradient(90deg, transparent, #000 85%); }
.usa-line { border-top: 0; padding-top: 18px; background:
  linear-gradient(90deg, transparent, rgba(61,240,139,.34) 22%, rgba(61,240,139,.34) 78%, transparent) 0 0 / 100% 1px no-repeat,
  linear-gradient(90deg, transparent, rgba(61,240,139,.20) 28%, rgba(61,240,139,.20) 72%, transparent) 0 3px / 100% 1px no-repeat,
  linear-gradient(90deg, transparent, rgba(61,240,139,.10) 34%, rgba(61,240,139,.10) 66%, transparent) 0 6px / 100% 1px no-repeat; }
.usa-line .ring13 { cursor: default; }
.july4 .usa-flag .sp:nth-of-type(odd) { fill: #ff4d5e; opacity: .85; }
.july4 .usa-flag .dt { fill: #ffffff; }
.july4 .usa-flag .cn { fill: #1b2f6b; stroke: #5b8cff; }
/* Easter-egg message + paw trail */
.egg-toast { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 80; width: max-content; max-width: min(92vw, 440px); transform: translate(-50%, 16px); opacity: 0; pointer-events: none; padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(61,240,139,.45); background: rgba(8,20,13,.94); box-shadow: 0 10px 34px rgba(0,0,0,.55), 0 0 24px rgba(61,240,139,.18); color: var(--fg); font: 500 .86rem/1.4 var(--font-body); text-align: center; transition: opacity .25s ease, transform .25s ease; }
.egg-toast.on { opacity: 1; transform: translate(-50%, 0); }
.paw-trail { position: fixed; inset: auto 0 0 0; height: 120px; z-index: 79; pointer-events: none; overflow: hidden; }
.paw-trail svg { position: absolute; width: 26px; height: 26px; fill: var(--green-hi); opacity: 0; transform: rotate(90deg) scale(.6); filter: drop-shadow(0 0 8px rgba(61,240,139,.6)); animation: pawstep 2.6s ease forwards; }
@keyframes pawstep { 0% { opacity: 0; transform: rotate(90deg) scale(.6); } 12% { opacity: .95; transform: rotate(90deg) scale(1); } 70% { opacity: .8; } 100% { opacity: 0; transform: rotate(90deg) scale(1); } }
@media (prefers-reduced-motion: reduce) { .july4 .st { animation: none; } .egg-toast { transition: none; } }
@media (max-width: 760px) { .story-made .sm-line { flex-basis: 100%; } }
/* ===== WEB-036 Batch 2: About "From the garage logbook" (garage cats, Ryan 2026-11-20). Rows always full:
   wide screens = hero across, 3 portraits, 2 wide; phones = one per row ===== */
.garage { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; max-width: 1080px; margin: 56px auto 0; }
.garage-head { grid-column: 1 / -1; display: grid; gap: 10px; justify-items: center; text-align: center; max-width: 64ch; margin: 0 auto 8px; }
.garage-head h3 { margin: 0; font: 700 clamp(1.35rem, 2.6vw, 1.9rem)/1.2 var(--font-display); letter-spacing: -0.01em; }
.garage-head p { margin: 0; color: var(--muted); line-height: 1.6; }
.log { margin: 0; display: grid; grid-template-rows: auto 1fr; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: var(--surface); }
.log img { display: block; width: 100%; height: auto; object-fit: cover; background: #020403; }
.log-hero { grid-column: 1 / -1; } .log-hero img { aspect-ratio: 21 / 9; object-position: 50% 40%; }
.log-tall { grid-column: span 2; } .log-tall img { aspect-ratio: 4 / 5; }
.log-wide { grid-column: span 3; } .log-wide img { aspect-ratio: 16 / 9; }
.log figcaption { padding: 12px 16px 14px; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.log figcaption b { color: var(--fg); font-weight: 600; }
.log-t { display: block; margin-bottom: 4px; font: 500 .7rem/1.2 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.garage-more { grid-column: 1 / -1; margin: 4px 0 0; text-align: center; }
.garage-more a { color: var(--green-hi); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(61,240,139,.35); }
.garage-more a:hover, .garage-more a:focus-visible { border-bottom-color: var(--green); }
@media (max-width: 700px) { .garage { gap: 14px; margin-top: 40px; } .log-tall, .log-wide { grid-column: 1 / -1; } .log-hero img { aspect-ratio: 16 / 9; } }

/* WEB-039 (WEB-009 polish): Home "Inside the app" peek, the real home screen in a window frame (left on desktop, below the copy on phones) that settles flat on hover */
.inside { position: relative; overflow: hidden; }
.inside::before { content: ""; position: absolute; inset: auto -12% -30% auto; width: min(80vw, 820px); aspect-ratio: 1; background: radial-gradient(closest-side, rgba(61,240,139,.11), transparent 70%); pointer-events: none; }
.inside-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.inside-copy h2 { margin: 14px 0 16px; }
.inside-groups { list-style: none; padding: 0; margin: 26px 0 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 440px; }
.inside-groups a { display: grid; gap: 6px; height: 100%; padding: 14px 14px 13px; border-radius: 14px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(17,26,22,.9), rgba(8,12,10,.9)); color: var(--fg); text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
.inside-groups b { font: 700 1.75rem/1 var(--font-display); color: var(--green); text-shadow: 0 0 18px rgba(61,240,139,.35); }
.inside-groups span { font: 500 .68rem/1.25 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.inside-groups a:hover, .inside-groups a:focus-visible { border-color: var(--green-deep); transform: translateY(-2px); box-shadow: 0 10px 30px -12px rgba(61,240,139,.45); }
.inside-fine { margin-top: 22px; color: var(--muted); font-size: .84rem; max-width: 52ch; border-left: 2px solid rgba(61,240,139,.35); padding-left: 12px; }
.inside-fine a { color: var(--green-hi); white-space: nowrap; }
.inside-shot { margin: 0; perspective: 1600px; order: -1; }
.inside-frame { display: block; color: var(--muted); text-decoration: none; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: #020403; box-shadow: 0 40px 90px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(61,240,139,.08), 0 0 80px -24px rgba(61,240,139,.4); transform: rotateY(8deg) rotateX(3deg); transform-origin: 30% 50%; transition: transform .8s cubic-bezier(.2,.7,.2,1), box-shadow .4s; }
.inside-frame:hover { transform: none; box-shadow: 0 40px 90px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(61,240,139,.3), 0 0 90px -20px rgba(61,240,139,.55); }
.inside-frame img { display: block; width: 100%; height: auto; }
.inside-chrome { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: linear-gradient(180deg, #111a16, #0a100d); border-bottom: 1px solid var(--line); }
.inside-chrome i { width: 9px; height: 9px; border-radius: 50%; background: #26352d; }
.inside-chrome i:first-child { background: rgba(61,240,139,.55); }
.inside-frame .inside-chrome b { margin-left: 10px; font: 500 .68rem/1 var(--font-mono); letter-spacing: .06em; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inside-shot figcaption { margin-top: 14px; text-align: center; font: 500 .7rem/1.4 var(--font-mono); letter-spacing: .04em; color: var(--muted); }
@media (max-width: 860px) {
  .inside-grid { grid-template-columns: minmax(0, 1fr); }
  .inside-shot { order: 0; }
  .inside-frame, .inside-frame:hover { transform: none; }
}
@media (max-width: 420px) {
  .inside-groups { gap: 8px; }
  .inside-groups a { padding: 12px 10px 11px; }
  .inside-groups b { font-size: 1.45rem; }
  .inside-groups span { font-size: .6rem; letter-spacing: .06em; }
  .inside-chrome { height: 24px; } .inside-chrome b { font-size: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .inside-frame, .inside-groups a { transition: none; }
  .inside-frame { transform: none; }
  .inside-groups a:hover, .inside-groups a:focus-visible { transform: none; }
}

/* WEB-050 (Ryan 2026-11-26): "Room to grow" under the Home app screen: faint dashed planned tiles, echoing the app's tool cards. Planned items only. */
.grow { margin-top: 22px; display: grid; gap: 12px; }
.grow-head { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.grow-tag { font: 500 .64rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--green); padding: 5px 8px; border-radius: 6px; border: 1px solid rgba(61,240,139,.35); }
.grow-head b { font-weight: 600; font-size: 1rem; }
.grow-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.grow-tiles li { display: grid; gap: 6px; align-content: start; min-width: 0; padding: 14px 12px; border-radius: 14px; border: 1px dashed rgba(61,240,139,.32); background: linear-gradient(180deg, rgba(61,240,139,.05), rgba(61,240,139,.01)); }
.grow-tiles i { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; border: 1px dashed rgba(61,240,139,.45); color: var(--green); font: 500 1rem/1 var(--font-mono); font-style: normal; }
.grow-tiles b { font-size: .9rem; font-weight: 600; overflow-wrap: anywhere; }
.grow-tiles span { font: 500 .62rem/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.grow-fine { margin: 0; color: var(--muted); font-size: .84rem; max-width: 62ch; }
@media (max-width: 560px) { .grow-tiles { gap: 8px; } .grow-tiles li { padding: 12px 9px; } .grow-tiles b { font-size: .8rem; } .grow-tiles span { font-size: .56rem; letter-spacing: .05em; } }
