/* Little Teddy — colour chapters. One face (Epilogue), flat fields, hard edges. */
/* Epilogue (SIL Open Font License), self-hosted: one variable file covers 400, 500 and 900 (latin). */
@font-face { font-family: Epilogue; font-style: normal; font-weight: 100 900; font-display: swap; src: url(assets/fonts/epilogue-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --bg: #ffffff;
  --surface: #f3f3f3;
  --ink: #0a0a0a;
  --muted: #6b6b6b;
  --accent: #2436ff;
  --accent-ink: #ffffff;
  --blue: #2436ff;
  --red: #ff3b1f;
  --black: #0a0a0a;
  --navy: #050a5c;
  --paper: #ffffff;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.5rem, 1.2rem + 5vw, 5.5rem);
  --step-display: clamp(6rem, 9.5vw, 9.4rem);

  --m: clamp(16px, 2.2vw, 32px); /* the one pair of outer margins */
  --radius: 0px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Epilogue, system-ui, sans-serif; font-size: var(--step-body); line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
img, video { display: block; max-width: 100%; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 50; background: var(--black); color: #fff; padding: 12px 16px; font-weight: 500; text-decoration: none; }
.skip:focus { top: 12px; }
.c-blue :focus-visible, .plan-all :focus-visible { outline-color: #fff; }

/* ---------- Buttons: flat, square, one fill ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; font-weight: 500; font-size: var(--step-body); text-decoration: none; border-radius: var(--radius); transition: transform .18s var(--ease), background-color .2s, color .2s; }
.btn:active { transform: scale(.97); }
.btn-nav, .btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-nav:hover, .btn-accent:hover { background: var(--navy); }
.btn-ink { background: var(--black); color: #fff; }
.btn-ink:hover { background: var(--navy); }
.btn-light { background: #fff; color: var(--black); }
.btn-light:hover { background: var(--red); color: var(--black); }

/* ---------- Header: takes the ink of the chapter beneath it ---------- */
.nav { position: fixed; z-index: 20; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 24px; padding: 14px var(--m); color: var(--ink); background: #fff; transition: color .3s, background-color .3s; }
.nav.on-light { color: #fff; }
.nav.on-light .btn-nav { background: #fff; color: var(--black); }
.nav.on-light .btn-nav:hover { background: var(--red); color: var(--black); }
.wordmark { font-weight: 900; font-size: 28px; letter-spacing: -0.04em; text-decoration: none; line-height: 1; display: inline-flex; align-items: center; gap: .28em; padding: 8px 0; }
.wm-mark { width: 1.1em; height: 1.1em; flex: none; }
.mk-top { fill: var(--accent); transition: fill .3s, stroke .3s; }
.mk-bot { fill: var(--navy); transition: fill .3s, stroke .3s; }
/* Ears are rounded with a same-colour stroke. */
.mk-ear { stroke-width: 8; stroke-linejoin: round; }
.mk-top.mk-ear { stroke: var(--accent); }
.mk-bot.mk-ear { stroke: var(--navy); }
.nav.on-light .mk-top.mk-ear { stroke: #fff; }
.nav.on-light .mk-bot.mk-ear { stroke: #9aa0ff; }
.nav.on-light .mk-top { fill: #fff; }
.nav.on-light .mk-bot { fill: #9aa0ff; }
.nav nav { margin-left: auto; }
.nav-links { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: var(--step-body); padding: 10px 0; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-links a:focus-visible::after { transform: scaleX(1); }
@media (hover: hover) { .nav-links a:hover::after { transform: scaleX(1); } }

/* ---------- Chapter 1: hero across two fields ---------- */
.hero { position: relative; height: 100svh; min-height: 680px; overflow: hidden; --seam: 50%; }
.hero-field { position: absolute; left: 0; right: 0; }
.hero-paper { top: 0; height: var(--seam); background: var(--paper); }
.hero-blue { top: var(--seam); bottom: 0; background: var(--blue); }
/* The seam runs between the two lines: the name swaps ink as it crosses from paper to blue. */
.h-top { color: var(--accent); }
.h-bottom { color: var(--paper); }
.hero-h { position: absolute; left: 0; right: 0; top: calc(var(--seam) - .86em); margin: 0; text-align: center; font-weight: 900; font-size: var(--step-display); line-height: .86; letter-spacing: -0.04em; }
/* Two real newsletters floating either side of the name: the product on the first screen. */
.hero-cards { position: absolute; inset: 0; pointer-events: none; }
.hcard { position: absolute; width: clamp(220px, 19vw, 300px); background: #fff; font-family: Arial, Helvetica, sans-serif; animation: drift 7s ease-in-out infinite; }
.hcard-l { left: 4vw; top: 30%; --r: -6deg; }
.hcard-r { right: 4vw; top: 46%; --r: 5deg; animation-delay: -3.5s; }
.hc-inbox { background: #f3f3f3; color: #333; font-size: 12px; padding: 9px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-mail { padding-bottom: 18px; }
.hc-logo { padding: 14px 16px; font-size: 14px; font-weight: 700; letter-spacing: .12em; }
.hc-hero { margin: 0 12px; padding: 18px 16px 20px; }
.hc-head { font-size: 20px; line-height: 1.15; font-weight: 700; margin-bottom: 14px; }
.hc-btn { display: inline-block; padding: 9px 14px; font-size: 13px; font-weight: 700; }
@keyframes drift { 0%, 100% { transform: rotate(var(--r)) translateY(0); } 50% { transform: rotate(var(--r)) translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .hcard { animation: none; transform: rotate(var(--r)); } }
.hero-foot { position: absolute; left: 50%; bottom: 56px; transform: translateX(-50%); width: min(44ch, calc(100% - 2 * var(--m))); display: flex; flex-direction: column; align-items: center; gap: 24px; }
.hero-lead { text-align: center; color: #fff; font-size: var(--step-lead); line-height: 1.4; font-weight: 500; }
.btn-hero { background: #fff; color: var(--black); min-height: 52px; padding: 0 28px; }
.btn-hero:hover { background: var(--red); }

/* ---------- Chapter 2: output index + live sheet ---------- */
.showcase { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding: 0 var(--m); background: var(--bg); min-height: 100svh; }
.showcase-index { grid-column: 1 / span 5; padding: 140px 0 120px; display: flex; flex-direction: column; gap: 28px; }
.showcase-h { font-weight: 900; font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.1; }
.client-list { display: flex; flex-direction: column; align-items: flex-start; }
.client { background: none; border: 0; padding: 4px 0; min-height: 44px; cursor: pointer; text-align: left; font-weight: 900; font-size: clamp(2.25rem, 4vw, 4rem); line-height: 1.1; letter-spacing: -0.04em; color: var(--muted); transition: color .2s, transform .2s var(--ease); }
.client:hover { color: var(--ink); }
@media (hover: hover) { .client:hover { transform: translateX(6px); } }
.client[aria-pressed="true"] { color: var(--ink); }
.showcase-text { max-width: 46ch; }
.showcase-price { font-weight: 500; }
.stage { grid-column: 7 / span 6; background: var(--surface); min-height: 88svh; margin: 80px 0; overflow: hidden; position: relative; }
.sheet { position: absolute; top: 72px; left: 64px; width: 440px; background: #fff; transition: opacity .2s; font-family: Arial, Helvetica, sans-serif; }
.sheet.swap { opacity: 0; }
.inbox { padding: 14px 18px; background: #fafafa; font-size: 14px; line-height: 1.4; color: #222; }
.inbox-row { display: flex; gap: 10px; }
.inbox-k { width: 60px; color: #595959; }
.mail { padding: 0 0 28px; }
.m-logo { padding: 26px 28px; font-size: 20px; letter-spacing: .14em; font-weight: 700; }
.m-hero { padding: 34px 28px 36px; }
.m-date { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.m-head { font-size: 30px; line-height: 1.12; font-weight: 700; margin-bottom: 14px; }
.m-body { font-size: 15px; line-height: 1.55; margin-bottom: 22px; }
.m-btn { display: inline-block; padding: 13px 24px; font-weight: 700; font-size: 15px; }
.m-items { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 28px 28px 8px; }
.m-swatch { aspect-ratio: 2 / 1; margin-bottom: 10px; }
.m-name { font-size: 14px; font-weight: 700; line-height: 1.3; }
.m-price { font-size: 14px; color: #555; }
.m-foot { margin: 24px 28px 0; font-size: 12px; line-height: 1.6; opacity: .8; }

/* ---------- Chapter 3: the board ---------- */
.board-wrap { background: var(--navy); padding: 10px; }
.board { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 104px; gap: 8px; }
.tile { position: relative; overflow: hidden; border-radius: var(--radius); }
.c-blue { background: var(--blue); color: #fff; }
.c-red { background: var(--red); color: var(--black); }
.c-paper { background: #fff; color: var(--black); }
.c-black { background: var(--black); color: #fff; }
/* Heading first (top-left), then the clip under it; the right half carries the Email Designer parts. */
.t-head { grid-column: 1 / span 6; grid-row: 1 / span 2; padding: 24px; }
.t-clip { grid-column: 1 / span 6; grid-row: 3 / span 4; }
.t-kit { grid-column: 7 / span 3; grid-row: 1 / span 4; }
.t-phone { grid-column: 10 / span 3; grid-row: 1 / span 4; }
.t-gmail { grid-column: 7 / span 3; grid-row: 5 / span 2; }
.t-html { grid-column: 10 / span 3; grid-row: 5 / span 2; }
.t-files { grid-column: 1 / span 6; grid-row: 7 / span 2; }
.t-team { grid-column: 7 / span 6; grid-row: 7 / span 2; }
.board-h { font-weight: 900; font-size: clamp(2.25rem, 4vw, 3.75rem); letter-spacing: -0.04em; line-height: .95; }
.tile-cap { position: absolute; left: 20px; bottom: 20px; right: 20px; display: flex; flex-direction: column; gap: 4px; font-size: 16px; line-height: 1.4; max-width: 34ch; }
.tile-cap strong { font-weight: 500; font-size: 20px; line-height: 1.2; }
.tile-cap-wide { max-width: 24ch; }
/* Enlarged real UI parts, cropped by two tile edges. */
.ui-big { position: absolute; font-size: 44px; top: 18%; left: 22%; white-space: nowrap; font-family: Epilogue, system-ui, sans-serif; }
.t-phone .ui-big { font-size: 30px; left: 20px; top: 24px; }
.t-gmail .ui-big, .t-html .ui-big, .t-team .ui-big, .t-files .ui-big { font-size: 26px; top: 20px; left: 20px; }
.t-files .ui-big, .t-team .ui-big { left: auto; right: 20px; }
.kit-row { display: flex; gap: .2em; }
.kit-row i { width: 1.6em; height: 1.6em; border-radius: 50%; display: block; border: .06em solid rgba(0,0,0,.15); }
.kit-font { font-family: Georgia, serif; font-size: 3.2em; line-height: 1; margin-top: .15em; color: var(--black); }
.seg { display: inline-flex; background: #eee; padding: .12em; border-radius: .5em; font-size: .9em; }
.seg span { padding: .35em .7em; border-radius: .38em; color: #555; }
.seg .on { background: var(--black); color: #fff; }
.ui-btn { display: inline-block; background: #f1b138; color: #1f2b1f; font-weight: 500; padding: .4em .8em; border-radius: .2em; }
.chips { display: flex; gap: .3em; }
.chips span { background: #fff; color: var(--black); padding: .3em .6em; border-radius: 1em; font-weight: 500; }
.files { display: flex; gap: .3em; }
.files span { background: rgba(255,255,255,.16); color: #fff; padding: .3em .6em; font-weight: 500; }
.team { display: flex; align-items: center; gap: .2em; }
.team b { width: 1.8em; height: 1.8em; border-radius: 50%; color: #fff; display: grid; place-items: center; font-size: .6em; font-weight: 500; }
.team-role { margin-left: .4em; background: #eee; padding: .2em .55em; border-radius: .3em; font-size: .7em; }
.appr { margin-left: .3em; background: var(--blue); color: #fff; padding: .2em .55em; border-radius: .3em; font-size: .7em; font-weight: 500; }
/* The clip: a real 9:16 frame with burned-in style captions. */
.clip { position: absolute; top: 24px; bottom: -60px; right: 8%; aspect-ratio: 9 / 16; overflow: hidden; background: #000; }
.clip-video { width: 100%; height: 100%; object-fit: cover; }
html:not(.js) .clip { background: #000 url(assets/dtla-poster.webp) center / cover; } /* the clip loads by script; without it, the still */
.clip-toggle { position: absolute; right: 10px; bottom: 70px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; display: grid; place-items: center; cursor: pointer; }
.clip-toggle svg { fill: currentColor; }
.clip-toggle .i-play, .clip-toggle.paused .i-pause { display: none; }
.clip-toggle.paused .i-play { display: block; }
.clip-hook { position: absolute; top: 9%; left: 8%; right: 8%; background: #fff; color: var(--black); font-weight: 900; font-size: 22px; line-height: 1.05; padding: 10px 12px; letter-spacing: -0.02em; }
.clip-caption { position: absolute; left: 8%; right: 8%; top: 58%; text-align: center; color: #fff; font-weight: 900; font-size: 22px; line-height: 1.5; }
.clip-caption span { background: #000; padding: 2px 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.clip-caption .on { color: #f1d43a; }

/* ---------- Chapter 4: pilot bar ---------- */
.pilot { background: var(--red); color: var(--black); padding: 160px var(--m) 180px; min-height: 90svh; }
.pilot-top { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; margin-bottom: 64px; }
.pilot-h { grid-column: 1 / span 7; font-weight: 900; font-size: clamp(3rem, 6.4vw, 6.5rem); letter-spacing: -0.04em; line-height: .9; }
.pilot-fig { grid-column: 9 / span 4; margin: 0; }
.pilot-fig img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.pilot-fig figcaption { margin-top: 10px; font-size: 14px; }
.bar { display: flex; gap: 6px; }
.seg-wrap { flex: var(--grow) 1 0; min-width: 12%; }
.bar-seg { height: 22vh; min-height: 150px; padding: 20px; }
.bar-seg span { font-weight: 900; font-size: clamp(1.25rem, 2vw, 1.875rem); letter-spacing: -0.02em; line-height: 1.05; }
.s-black { background: var(--black); color: #fff; }
.s-paper { background: #fff; color: var(--black); }
.s-navy { background: var(--navy); color: #fff; }
.s-blue { background: var(--blue); color: #fff; }
.seg-wrap p { margin-top: 16px; max-width: 22ch; font-size: 18px; }

/* ---------- Chapter 5: two plans, two fields ---------- */
.pricing { display: grid; grid-template-columns: 5fr 7fr; }
.plan { position: relative; min-height: 90svh; padding: 48px var(--m) 48px; display: flex; flex-direction: column; gap: 18px; color: #fff; }
.plan-one { background: var(--black); }
.plan-all { background: var(--blue); }
.plan-list { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.22); }
.plan-list li { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.pl-name { font-weight: 700; font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.2; }
.pl-job { grid-column: 1; color: rgba(255,255,255,.72); font-size: var(--step-small); line-height: 1.4; }
.pl-price { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-weight: 900; font-size: var(--step-lead); font-variant-numeric: tabular-nums; }
.plan-note { margin-top: auto; color: rgba(255,255,255,.72); font-size: var(--step-small); }
.plan-name { font-weight: 900; font-size: clamp(2.5rem, 5vw, 5rem); letter-spacing: -0.04em; line-height: .95; }
.plan-who { font-size: var(--step-lead); line-height: 1.4; max-width: 26ch; font-weight: 500; }
.plan-incl { max-width: 44ch; }
.plan-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.plan-price { display: flex; align-items: baseline; gap: 12px; }
.amt { font-weight: 900; font-size: clamp(5rem, 10vw, 9.4rem); line-height: .85; letter-spacing: -0.05em; }
.per { font-size: 18px; max-width: 11ch; line-height: 1.2; }

/* ---------- Chapter 6: questions ---------- */
.faq { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding: 180px var(--m); background: var(--bg); }
.faq-h { grid-column: 1 / span 4; align-self: start; position: sticky; top: 96px; font-weight: 900; font-size: clamp(2.5rem, 4vw, 3.75rem); letter-spacing: -0.04em; line-height: .95; }
.faq-list { grid-column: 5 / span 8; display: flex; flex-direction: column; gap: 8px; }
.faq-list details { background: var(--surface); border-radius: var(--radius); transition: background-color .25s; }
.faq-list summary { list-style: none; cursor: pointer; min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 24px; font-size: 20px; font-weight: 500; line-height: 1.3; }
.faq-list summary::-webkit-details-marker { display: none; }
.pm { position: relative; flex: none; width: 16px; height: 16px; }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 16px; height: 3px; background: currentColor; transition: transform .25s var(--ease); }
.pm::after { transform: rotate(90deg); }
.faq-list details[open] { background: var(--accent); color: #fff; }
.faq-list details[open] .pm::after { transform: rotate(0deg); }
.faq-list summary:hover { opacity: .85; }
.faq-list details p { padding: 0 24px 24px; max-width: 52ch; font-size: 18px; }

/* ---------- Chapter 7: inverted close ---------- */
.cta { background: var(--black); color: #fff; min-height: 90svh; padding: 160px var(--m) 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 64px; }
.cta-h { font-weight: 900; font-size: clamp(4rem, 10vw, 10rem); line-height: .9; letter-spacing: -0.04em; }
.cta-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.cta-text { font-size: var(--step-lead); max-width: 30ch; line-height: 1.4; }
.btn-accent { min-height: 56px; padding: 0 28px; }
/* If the mail app doesn't open (common with Gmail in a browser), the address is right there to copy. */
.cta-ask { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.mail-alt { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px; font-size: 15px; line-height: 1.3; color: #fff; }
.cta-ask .mail-alt { justify-content: flex-end; }
.mail-addr { font-weight: 500; user-select: all; }
.copy-mail { min-height: 44px; padding: 0 14px; font: inherit; font-weight: 500; color: inherit; background: transparent; border: 1px solid currentColor; border-radius: var(--radius); cursor: pointer; transition: background-color .2s, color .2s; }
@media (hover: hover) { .copy-mail:hover { background: #fff; color: var(--black); } }
.copy-mail:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
html:not(.js) .copy-mail { display: none; }

/* ---------- Footer of tiles ---------- */
.foot { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; padding: 10px; background: var(--black); }
.ft { padding: 20px; min-height: 220px; display: flex; flex-direction: column; text-decoration: none; }
.ft-statement { grid-column: 1 / span 4; background: #fff; color: var(--black); justify-content: space-between; gap: 16px; }
.ft-big { font-size: 24px; line-height: 1.2; font-weight: 500; max-width: 18ch; }
.ft-legal { font-size: var(--step-small); line-height: 1.45; color: var(--black); }
.ft-nav { grid-column: 5 / span 3; background: var(--surface); }
.ft-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ft-nav a { text-decoration: none; font-size: 16px; }
.ft-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ft-time { grid-column: 8 / span 2; background: var(--red); color: var(--black); padding: 0; justify-content: flex-start; overflow: hidden; }
.ft-time img { width: 100%; height: 130px; object-fit: cover; flex: none; }
.ft-time-t { padding: 12px 20px 16px; }
.ft-mid { font-size: 20px; font-weight: 500; }
.ft-clock { font-size: 20px; font-variant-numeric: tabular-nums; }
.ft-mail { grid-column: 10 / span 3; background: var(--navy); color: #fff; justify-content: flex-end; }
.ft-mailto { font-size: 20px; text-decoration: none; overflow-wrap: anywhere; display: inline-block; padding: 10px 0; }
.ft-mailto:hover { text-decoration: underline; text-underline-offset: 4px; }
.ft-word { grid-column: 1 / span 8; min-height: 320px; background: #111; color: #fff; align-items: center; justify-content: center; font-weight: 900; font-size: clamp(3rem, 9vw, 9rem); letter-spacing: -0.05em; line-height: .9; text-align: center; }
.ft-go { grid-column: 9 / span 4; min-height: 320px; background: var(--accent); color: #fff; justify-content: space-between; transition: background-color .2s; }
.ft-go:hover { background: var(--red); color: var(--black); }
.ft-go-t { font-size: 28px; font-weight: 900; letter-spacing: -0.02em; }
.ft-go svg { align-self: flex-end; transition: transform .25s var(--ease); }
@media (hover: hover) { .ft-go:hover svg { transform: translate(6px, -6px); } }

/* ---------- Entrances (content stays visible without script) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .clip-video { display: none; }
  .clip { background: #000 url(assets/dtla-poster.webp) center / cover; }
}

/* ---------- Tablet ---------- */
/* Tablet: keep the header on one row (it wrapped at 768px, 2026-11-23 web-pro audit). */
.wordmark, .btn-nav, .nav-links a { white-space: nowrap; }
@media (max-width: 900px) { .nav nav { display: none; } .btn-nav { margin-left: auto; } }
/* Tags in the Clean HTML and Captions tiles wrap instead of running off the tile. */
.t-html .ui-big, .t-files .ui-big { white-space: normal; right: 20px; }
.chips, .files { flex-wrap: wrap; row-gap: .3em; }

@media (max-width: 1000px) {
  .nav-links { gap: 14px; }
  .showcase-index { grid-column: 1 / span 6; }
  .stage { grid-column: 7 / span 6; }
  .sheet { left: 32px; }
  .t-kit, .t-phone { grid-column: span 6; grid-row: span 3; }
  .t-clip { grid-column: 1 / span 12; grid-row: span 5; }
  .t-head, .t-files, .t-team { grid-column: span 12; }
  .t-gmail, .t-html { grid-column: span 6; }
  .t-head { order: -1; }
  .t-head, .t-gmail, .t-html, .t-files, .t-team { grid-row: span 2; }
  .pilot { padding-top: 120px; }
  .pilot-top { display: block; }
  .pilot-h { margin-bottom: 32px; }
  .pilot-fig { max-width: 520px; }
  .cta { min-height: 0; }
  .bar { flex-direction: column; }
  .seg-wrap { min-width: 0; }
  .bar-seg { height: auto; min-height: 72px; }
  .seg-wrap:nth-child(2) .bar-seg { min-height: 96px; }
  .seg-wrap:nth-child(3) .bar-seg { min-height: 220px; }
  .seg-wrap p { margin: 10px 0 18px; max-width: none; }
}

/* ---------- Phone: its own composition ---------- */
@media (max-width: 700px) {
  .nav { gap: 12px; padding: 12px 16px; }
  .nav nav { display: none; }
  .btn-nav { margin-left: auto; min-height: 44px; padding: 0 16px; font-size: 16px; }
  .wordmark { font-size: 24px; }

  .hero { --seam: 46%; height: 100svh; min-height: 600px; }
  .hero-h { font-size: 22vw; }
  /* What it is sits right under the name, not at the bottom of an empty blue field (audit round 3).
     Name ends at seam + 0.86em (22vw * .86 ≈ 19vw); the gap clears Teddy's descender. */
  .hero-foot { top: calc(var(--seam) + 19vw + 40px); bottom: auto; width: calc(100% - 40px); max-width: 420px; gap: 20px; }
  .hero-lead { font-size: clamp(22px, 6.2vw, 28px); line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; }

  .showcase { display: block; padding: 0; }
  .showcase-index { padding: 96px 16px 28px; gap: 20px; }
  .client-list { flex-direction: row; flex-wrap: wrap; gap: 2px 18px; }
  .client { font-size: 24px; white-space: nowrap; }
  .stage { margin: 0; min-height: 70svh; }
  .sheet { top: 16px; left: 16px; width: 360px; }
  .m-head { font-size: 26px; }

  .board-wrap { padding: 6px; }
  .board { grid-template-columns: 1fr 1fr; grid-auto-rows: 28vw; gap: 6px; }
  .t-head { grid-column: 1 / -1; grid-row: span 1; }
  .t-clip { grid-column: 1 / -1; grid-row: span 5; }
  .t-kit, .t-phone { grid-column: span 1; grid-row: span 3; }
  .t-gmail, .t-html { grid-column: 1 / -1; grid-row: span 2; }
  .t-files, .t-team { grid-column: 1 / -1; grid-row: span 2; }
  .t-head { padding: 16px; }
  .board-h { font-size: 9.5vw; }
  .tile-cap { left: 14px; right: 14px; bottom: 14px; font-size: 14px; }
  .tile-cap strong { font-size: 16px; }
  /* Half-width tiles show the name only; Clean HTML's line would repeat its chips word for word. */
  .t-kit .tile-cap span, .t-phone .tile-cap span, .t-html .tile-cap span { display: none; }
  .ui-big { font-size: 30px; top: 14px; left: 30%; }
  .t-gmail .ui-big, .t-html .ui-big, .t-files .ui-big, .t-team .ui-big { font-size: 20px; top: 14px; left: 14px; right: auto; }
  .t-phone .ui-big { font-size: 18px; left: 14px; top: 14px; }
  .t-kit .ui-big { font-size: 22px; left: 14px; top: 14px; }
  /* Phone: smaller clip on the right so the caption on the left never sits on the video. */
  .clip { right: 6%; top: 16px; bottom: auto; height: 62%; }
  .t-clip .tile-cap-wide { max-width: 40%; }
  .clip-hook, .clip-caption { font-size: 18px; }
  .tile-cap-wide { max-width: 16ch; }

  .pilot { padding: 110px 16px 120px; }
  .pilot-top { display: block; margin-bottom: 40px; }
  .pilot-h { font-size: 11vw; margin-bottom: 28px; }
  .bar { flex-direction: column; }
  .seg-wrap { min-width: 0; }
  .bar-seg { height: auto; min-height: 72px; flex: none; }
  .seg-wrap:nth-child(1) .bar-seg, .seg-wrap:nth-child(4) .bar-seg { min-height: 72px; }
  .seg-wrap:nth-child(2) .bar-seg { min-height: 96px; }
  .seg-wrap:nth-child(3) .bar-seg { min-height: 220px; }
  .seg-wrap p { margin: 10px 0 18px; font-size: 16px; max-width: none; }

  .pricing { grid-template-columns: 1fr; }
  .plan { min-height: 70svh; padding: 64px 20px 20px; }
  .plan-all { order: -1; }
  .plan-name { font-size: 12vw; }
  .amt { font-size: 24vw; }
  .plan-foot { flex-direction: column; align-items: stretch; }
  .plan-foot .btn { width: 100%; }

  .faq { display: block; padding: 110px 16px; }
  .faq-h { position: static; font-size: 11vw; margin-bottom: 28px; }
  .faq-list { gap: 6px; }
  .faq-list summary { font-size: 18px; min-height: 64px; padding: 16px 20px; }
  .faq-list details p { padding: 0 20px 20px; font-size: 16px; }

  .cta { min-height: 0; justify-content: flex-start; gap: 40px; padding: 110px 16px 64px; }
  .cta-h { font-size: 14vw; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-text { font-size: 17px; }
  .btn-accent { width: 100%; }
  .cta-ask { align-items: stretch; }
  .mail-alt { font-size: 14px; gap: 4px 8px; }
  .cta-ask .mail-alt { justify-content: flex-start; }

  .foot { grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; }
  .ft { min-height: 160px; }
  .ft-word { grid-column: 1 / -1; order: -2; min-height: 160px; font-size: 15vw; }
  .ft-go { grid-column: 1 / -1; order: -1; min-height: 160px; }
  .ft-nav, .ft-time, .ft-statement { grid-column: span 1; }
  .ft-mail { grid-column: 1 / -1; min-height: 120px; }
  .ft-statement { grid-column: 1 / -1; order: -3; }
  .ft-mailto { font-size: 16px; }
}

/* Phone and tablet: one client newsletter sits in the white half of the first screen, so the product
   shows above the fold on the device most visitors use (web-pro audit round 2, 2026-11-23). */
@media (max-width: 1100px) {
  .hero-cards { display: block; }
  .hcard-r { display: none; }
  .hcard-l { left: auto; right: max(16px, 5vw); top: 104px; width: min(250px, 40vw); --r: 4deg; }
}
@media (max-width: 700px) {
  .hcard-l { top: 92px; width: min(196px, 52vw); }
  .hcard-l .hc-inbox { font-size: 11px; padding: 7px 10px; }
  .hcard-l .hc-logo { padding: 10px 12px; font-size: 12px; }
  .hcard-l .hc-hero { margin: 0 10px; padding: 12px 12px 14px; }
  .hcard-l .hc-head { font-size: 16px; margin-bottom: 10px; }
  .hcard-l .hc-btn { padding: 7px 10px; font-size: 12px; }
  .hcard-l .hc-mail { padding-bottom: 12px; }
}
/* Short phones (iPhone SE and similar): no room above the name, so the card stays hidden. */
@media (max-width: 700px) and (max-height: 760px) { .hcard-l { display: none; } .hero-foot { gap: 16px; } }
