/* RRAW agency site. No build step.
   The page is a signal on a CRT: teal phosphor at night, red coral by morning,
   scanlines and static over everything, a glitch on every cut.
   Machine text is set in mono; the human voice (the inquiry, the reply) in serif. */
:root {
  --bg: #050708;
  --ink: #D6E2DE;
  --muted: #8A9793;
  --line: #16211E;
  --accent: #7ED6C0;

  --display: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --voice: "Newsreader", "Iowan Old Style", Georgia, serif;
  --body: "Hanken Grotesk", -apple-system, "Segoe UI", Helvetica, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(16px, 5vw, 72px);
  --max: 1320px;
  --nav: 64px;
  /* The signal's palette: teal leads; coral is the second voice (the logo's split, the morning), and white the third. */
  --c-teal: #7ED6C0;
  --c-coral: #FF6F59;
  color-scheme: dark;
}
/* The reel opens at night; script moves these tokens as it plays. */
.story, .nav { --bg: #050708; --ink: #D6E2DE; --muted: #8A9793; --line: #16211E; --accent: #7ED6C0; }

* { box-sizing: border-box; }
html { scroll-padding-top: var(--nav); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 4px;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: -0.04em; text-wrap: balance; }
em { font-style: normal; }
/* Accents in headings carry the signal's colour split. */
/* Heading accents carry the logo's lens split: white, with a coral copy to the left and a teal one to the right. */
h1 em, h2 em { color: var(--ink); text-shadow: -0.04em 0 0 var(--c-coral), 0.04em 0 0 var(--c-teal); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.label {
  font: 500 11px/1.4 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
  line-height: 1.2;
  border-bottom: 1px solid var(--ink);
}
.link:hover { color: var(--accent); border-color: var(--accent); }
.link-quiet { border-color: transparent; color: var(--muted); }
.link-quiet:hover { border-color: var(--accent); }

/* Buttons: solid phosphor for the main action, outlined for the second. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 24px;
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 0;
  cursor: pointer;
  transition: box-shadow 250ms ease, background 250ms ease, color 250ms ease;
}
.btn::after { content: "\2192"; font-size: 14px; letter-spacing: 0; transition: transform 250ms ease; }
.btn:hover { box-shadow: 0 0 24px color-mix(in srgb, var(--accent) 45%, transparent), 0 0 2px var(--accent); }
.btn:hover::after { transform: translateX(3px); }
.btn-ghost { color: var(--accent); background: transparent; }
.btn-ghost:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 11px; }
.btn-sm::after { display: none; }

/* The first screen. */
.hero { position: relative; overflow: hidden; min-height: calc(100vh - var(--nav)); min-height: calc(100svh - var(--nav)); display: flex; align-items: center; }
.hero-in { position: relative; z-index: 2; display: grid; gap: 28px; padding-block: 48px 64px; }
.hero h1 { max-width: 9.2em; font-size: clamp(38px, 5.3vw, 86px); line-height: 1; }
.hero h1 em { display: block; margin-top: 0.12em; }
/* The human voice, at headline size. */
.hero h1 .voice { font-family: var(--voice); font-style: italic; font-weight: 300; font-size: 1.14em; letter-spacing: -0.02em; white-space: nowrap; color: #fff; }
/* The split R behind the hero: the copies drift apart and back, and lean with the pointer (--m, set in site.js). */
.hero-art { position: absolute; z-index: 1; left: 57%; top: 50%; height: 104%; transform: translateY(-50%); overflow: visible; pointer-events: none; }
.hero-art .cp { mix-blend-mode: screen; }
.hero-art .l path { fill: var(--c-coral); opacity: 0.6; }
.hero-art .r path { fill: var(--c-teal); opacity: 0.55; }
.hero-art .front { fill: none; stroke: #EAF2EF; stroke-width: 5; opacity: 0.9; }
.hero-art .l { animation: lens-l 9s ease-in-out infinite; }
.hero-art .r { animation: lens-r 9s ease-in-out infinite; }
@keyframes lens-l { 0%, 100% { transform: translateX(calc(-70px - var(--m, 0) * 60px)); } 50% { transform: translateX(calc(-150px - var(--m, 0) * 60px)); } }
@keyframes lens-r { 0%, 100% { transform: translateX(calc(70px + var(--m, 0) * 60px)); } 50% { transform: translateX(calc(150px + var(--m, 0) * 60px)); } }
@media (prefers-reduced-motion: reduce) { .hero-art .l { animation: none; transform: translateX(-110px); } .hero-art .r { animation: none; transform: translateX(110px); } }
@media (max-width: 1180px) { .hero-art { left: 62%; height: 80%; } }
@media (max-width: 760px) { .hero-art { left: 46%; top: 27%; height: 46%; opacity: 0.5; } .hero h1 { max-width: none; } }
.hero .lede { max-width: 30em; color: var(--muted); font-size: 19px; }
.body-grid > .main > .btn { justify-self: start; }
.book-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.book-row .link { font-size: 14px; }
.cal { min-height: 700px; border: 1px solid var(--line); color: var(--muted); font: 400 12px/1.4 var(--mono); padding: 0; }
.cal[hidden] { display: none; }
.cal .calendly-inline-widget, .cal iframe { width: 100%; min-height: 700px; border: 0; }
.hero-cue { justify-self: start; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 400 11px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.hero-cue:hover { color: var(--ink); }
.hero-cue .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c-coral); box-shadow: 0 0 10px var(--c-coral); }


/* What happens after you write. */
.next { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 18px; }
.next li { display: grid; grid-template-columns: 2.4em 1fr; gap: 12px; }
.next .n { font: 400 12px/1.8 var(--mono); color: var(--nc, var(--accent)); }
.next li:nth-child(1) { --nc: var(--c-teal); }
.next li:nth-child(2) { --nc: var(--c-coral); }
.next li:nth-child(3) { --nc: var(--c-teal); }
.next h3 { font-size: 17px; line-height: 1.3; margin-bottom: 4px; }
.next p { font-size: 15px; color: var(--muted); }

/* ---------- Inner pages ---------- */
body.page { background: var(--bg); }
body.page::before {
  content: "";
  position: fixed;
  inset: -60%;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(158, 184, 179, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(158, 184, 179, 0.035) 1px, transparent 1px);
  background-size: 250px 68px;
  transform: rotate(-29deg);
}
.crt-lite {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  background:
    repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.16) 0 1px, transparent 1px 3px),
    radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(0, 0, 0, 0.5) 100%);
}
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 60; background: var(--bg); padding: 8px 12px; }
.page-hero .wrap { display: grid; gap: 24px; padding-block: clamp(64px, 11vw, 150px) clamp(40px, 6vw, 80px); }
.page-hero h1 { max-width: 17em; font-size: clamp(32px, 4.6vw, 66px); line-height: 1.06; }
.page-hero .kicker { color: var(--sec, var(--accent)); }
.page-hero .lede { max-width: 36em; color: var(--muted); font-size: 18px; }
.page-hero-sm .wrap { padding-block: clamp(56px, 8vw, 110px) 24px; }
.steps, .ticks { list-style: none; margin: 0 0 0 calc((100% + 24px) / 4); padding: 0; display: grid; gap: 22px; max-width: 44em; }
.steps li { display: grid; grid-template-columns: 2.6em 1fr; gap: 14px; }
.steps .n { font: 400 12px/1.9 var(--mono); color: var(--sec, var(--accent)); }
.steps h3 { font-size: 20px; line-height: 1.3; margin-bottom: 4px; }
.steps p { color: var(--muted); }
.ticks { gap: 12px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 14px; height: 14px; border: 1px solid var(--sec, var(--accent)); }
.ticks li::after { content: ""; position: absolute; left: 4px; top: calc(0.45em + 4px); width: 6px; height: 3px; border-left: 2px solid var(--sec, var(--accent)); border-bottom: 2px solid var(--sec, var(--accent)); transform: rotate(-45deg); }
.prose { margin-left: calc((100% + 24px) / 4); display: grid; gap: 1em; max-width: 40em; }
.prose p { color: var(--ink); }
.callout-line { margin-left: calc((100% + 24px) / 4); color: var(--sec, var(--accent)) !important; font-family: var(--mono); letter-spacing: 0.02em; }
.founder-wide { margin-left: calc((100% + 24px) / 4); max-width: 40em; }
.cta-band .wrap { display: grid; gap: 20px; justify-items: start; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 44px); }
.cta-band p { max-width: 36em; color: var(--muted); }
.page .faq { margin-left: calc((100% + 24px) / 4); }
@media (max-width: 900px) {
  .steps, .ticks, .prose, .callout-line, .founder-wide, .page .faq { margin-left: 0; }
}
.offer-ctas { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.offer-ctas .link { font-size: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 22px; font: 500 12px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.foot-links a { display: inline-flex; align-items: center; min-height: 40px; color: var(--muted); }
.foot-links a:hover { color: var(--ink); }

/* ---------- The founder, on About ---------- */
/* Photo beside the founder note: unused until the owner adds a new picture (see README). */
.founder-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.portrait { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--line); }
.portrait img { display: block; width: 100%; height: auto; filter: grayscale(1) contrast(1.06) brightness(0.92); }
.portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.22) 0 1px, transparent 1px 3px),
    linear-gradient(160deg, color-mix(in srgb, var(--sec, var(--c-teal)) 30%, transparent), transparent 55%);
  mix-blend-mode: normal;
}
.founder-copy { display: grid; gap: 18px; }
.founder-note { margin: 0; padding-left: 18px; border-left: 2px solid var(--sec, var(--c-teal)); }
.founder-note p { font: italic 400 clamp(20px, 2.1vw, 26px)/1.5 var(--voice); color: var(--ink); }
.founder-name { font: 500 11px/1.4 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.founder-past { color: var(--muted); max-width: 34em; }
@media (max-width: 760px) { .founder-row { grid-template-columns: 1fr; } .portrait { max-width: 320px; } }

/* ---------- Systems ---------- */
.sys-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sys-card {
  position: relative;
  display: grid;
  gap: 8px;
  height: 100%;
  padding: 24px 56px 24px 24px;
  border: 1px solid var(--line);
  background: rgba(10, 15, 16, 0.6);
  transition: border-color 250ms ease, box-shadow 250ms ease;
}
.sys-card::before { content: ""; position: absolute; left: 24px; top: -1px; width: 40px; height: 2px; background: var(--dc); box-shadow: 0 0 12px var(--dc); }
.sys-card h3 { font-size: 20px; }
.sys-card p { color: var(--muted); font-size: 15px; }
.sys-card .go { position: absolute; right: 22px; top: 22px; color: var(--dc); transition: transform 250ms ease; }
.sys-card:hover { border-color: var(--dc); box-shadow: 0 0 30px -12px var(--dc); }
.sys-card:hover .go { transform: translateX(4px); }
@media (max-width: 700px) { .sys-grid { grid-template-columns: 1fr; } }

/* ---------- The neon glass menu (right-click, or Cmd/Ctrl+K) ---------- */
.cmd {
  position: fixed;
  z-index: 70;
  width: min(320px, calc(100vw - 24px));
  padding: 10px;
  border-radius: 18px;
  color: var(--ink);
  background: rgba(8, 12, 13, 0.55);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6), 0 0 42px -8px rgba(126, 214, 192, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  opacity: 0;
  transform: scale(0.96);
  transform-origin: var(--ox, 0) var(--oy, 0);
  transition: opacity 160ms ease, transform 180ms cubic-bezier(.2, .9, .3, 1.2);
  pointer-events: none;
}
.cmd.on { opacity: 1; transform: none; pointer-events: auto; }
/* The neon edge: a ring of the palette, turning slowly. */
.cmd::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--spin, 0deg), #7ED6C0, #D6E2DE, #FF6F59, #D6E2DE, #7ED6C0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.8;
  pointer-events: none;
  animation: cmdspin 6s linear infinite;
}
@property --spin { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes cmdspin { to { --spin: 360deg; } }
@media (prefers-reduced-motion: reduce) { .cmd::before { animation: none; } .cmd { transition: opacity 120ms ease; } }
.cmd input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(214, 226, 222, 0.14);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--ink);
  font: 400 14px/1 var(--body);
  outline: none;
}
.cmd input:focus { border-color: rgba(126, 214, 192, 0.6); }
.cmd .grp { margin: 10px 8px 4px; font: 500 10px/1.4 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.cmd ul { list-style: none; margin: 0; padding: 0; }
.cmd li a, .cmd li button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink);
  font: 400 14px/1 var(--body);
  text-align: left;
  cursor: pointer;
}
.cmd li .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dc, var(--c-teal)); box-shadow: 0 0 10px var(--dc, var(--c-teal)); }
.cmd li .key { margin-left: auto; font: 400 11px/1 var(--mono); color: var(--muted); }
.cmd li.sel a, .cmd li.sel button, .cmd li a:hover, .cmd li button:hover { background: rgba(126, 214, 192, 0.12); }
.cmd .empty { padding: 10px; color: var(--muted); font-size: 14px; }
.cmd-hint { font: 400 11px/1.4 var(--mono); color: var(--muted); }
@media (hover: none) { .cmd-hint { display: none; } }

/* The live oscilloscope behind the page. */
#backdrop { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }

/* The CRT overlay: scanlines and static on every frame, a glitch on each cut. */
#crt {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 40;
  pointer-events: none;
}

/* Nav: C's split, the wordmark centered */
.nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 30;
  background: var(--bg);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: var(--nav);
}
.nav nav { justify-self: start; display: flex; gap: clamp(20px, 2vw, 28px); }
.nav nav a[aria-current="page"] { color: var(--ink); }
.nav-r { justify-self: end; display: flex; align-items: center; gap: 12px; }
.menu-btn { display: none; min-height: 40px; padding: 0 12px; font: 500 11px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); background: transparent; border: 1px solid var(--line); cursor: pointer; }
.nav nav a { font: 500 12px/1 var(--body); letter-spacing: 0.2em; text-transform: uppercase; }
.nav nav a { color: var(--muted); padding-block: 16px; white-space: nowrap; }
.nav nav a:hover { color: var(--ink); }
.wordmark { display: inline-flex; align-items: center; padding: 10px 0; }
.wordmark img { display: block; width: auto; height: 22px; }
.nav .book { justify-self: end; }
/* Below 1180px the links would crowd the centered wordmark, so they fold into the menu. */
@media (max-width: 1180px) {
  .nav .wrap { grid-template-columns: 1fr auto; }
  .wordmark { justify-self: start; padding-left: 0; grid-row: 1; grid-column: 1; }
  .nav-r { grid-row: 1; grid-column: 2; }
  .menu-btn { display: inline-flex; align-items: center; }
  .nav nav {
    display: none;
    position: fixed;
    top: var(--nav);
    left: 0;
    right: 0;
    justify-self: stretch;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .nav nav a { padding-block: 14px; font-size: 13px; border-bottom: 1px solid var(--line); }
  .menu-open .nav nav { display: flex; }
}
@media (max-width: 760px) { .nav .book { display: none; } }

/* ---------- The reel: a pinned stage, scrubbed by scroll ---------- */
.story { position: relative; height: 300vh; height: 300svh; color: var(--ink); }
.stage {
  position: sticky;
  top: var(--nav);
  min-height: 560px;
  height: calc(100vh - var(--nav));
  height: calc(100svh - var(--nav));
  max-width: var(--max);
  margin-inline: auto;
  padding: 20px var(--gutter) 22px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  column-gap: 24px;
  row-gap: 16px;
  overflow: hidden;
}

.slate {
  grid-column: 1 / -1;
  grid-row: 1;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font: 400 12px/1 var(--mono);
  letter-spacing: 0.08em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.slate .tc { color: var(--ink); font-size: 13px; }
.slate-r { display: inline-flex; align-items: baseline; gap: 18px; }
.kicker { font: 500 12px/1.5 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 600px) { .slate .showing { display: none; } }
.slate .rec { display: inline-flex; align-items: center; gap: 8px; }
.slate .rec i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }


/* The captions lead; the conversation is the supporting card. */
.captions {
  grid-column: 1 / span 6;
  grid-row: 2 / span 2;
  align-self: center;
  display: grid;
  position: relative;
  z-index: 2;
}
.cap {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  will-change: opacity, transform;
}
.captions .cap h2 { font-size: clamp(30px, 3.9vw, 58px); line-height: 1.06; }
.cap h2 em { color: var(--accent); text-shadow: 0 0 18px color-mix(in srgb, var(--accent) 30%, transparent); }
.cap p.body { max-width: 30em; color: var(--muted); font-size: 17px; }

/* The morning end card. */
.titlewrap { grid-column: 1 / span 8; grid-row: 2 / span 2; align-self: center; display: grid; position: relative; z-index: 2; }
.titlecard { gap: 24px; }
.titlecard .endcard { font-size: clamp(32px, 4.5vw, 66px); line-height: 1.04; }
.titlecard .ln { display: block; overflow: hidden; padding-bottom: 0.06em; }
.titlecard .ln > span { display: block; will-change: transform; }
.titlecard .lede { max-width: 32em; color: var(--muted); font-size: 18px; }
/* The outcome: a booked time, in the reel's end card. */
.booked {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--accent);
  font: 500 13px/1.3 var(--mono);
  letter-spacing: 0.06em;
  color: var(--accent);
  box-shadow: 0 0 24px color-mix(in srgb, var(--accent) 22%, transparent);
}
.booked .tick { width: 12px; height: 7px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg) translateY(-2px); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }

/* The conversation card. */
.draft {
  grid-column: 8 / -1;
  grid-row: 3;
  align-self: end;
  justify-self: end;
  width: min(460px, 100%);
  position: relative;
  z-index: 3;
  display: grid;
  gap: 16px;
  padding: 20px 22px 18px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border: 1px solid var(--line);
  will-change: opacity, transform;
}
.msg { position: relative; display: grid; gap: 8px; }
.msg-out { padding-top: 14px; border-top: 1px solid var(--line); }
.draft .tm { display: block; font: 400 11px/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.scan { position: relative; display: grid; }
.scan-raw, .scan-read { grid-area: 1 / 1; margin: 0; font: italic 400 17px/1.45 var(--voice); }
.scan-raw { color: var(--ink); }
.scan-read { color: var(--accent); text-shadow: 0 0 14px color-mix(in srgb, var(--accent) 40%, transparent); clip-path: inset(0 100% 0 0); }
.d-out { margin: 0; font: italic 400 16px/1.45 var(--voice); color: var(--ink); min-height: 4.2em; }
.chips { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }

.chips li {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  font: 400 11px/1.3 var(--mono);
  color: var(--ink);
  background: transparent;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 400ms ease, transform 400ms ease;
}
.chips li.on { opacity: 1; transform: none; }
.chips .k { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.chips li.flag { border-color: var(--c-coral); color: var(--c-coral); }
.caret { display: inline-block; width: 1px; height: 1em; margin-left: 2px; vertical-align: -0.12em; background: var(--accent); }
.approve { display: flex; justify-content: flex-end; align-items: center; gap: 10px; padding-top: 4px; }
/* Before the reply starts, the card is only their message: the fields and the reply
   are folded away and open with --open (0 to 1, set by the reel script). */
.draft { --gap: 16px; --in-gap: 8px; --out-pad: 14px; row-gap: calc(var(--open, 1) * var(--gap)); }
.msg-out { padding-top: calc(var(--open, 1) * var(--out-pad)); border-top-width: calc(var(--open, 1) * 1px); }
.draft:not(.is-open) .chips { max-height: calc(var(--open, 1) * 200px); margin-top: calc((var(--open, 1) - 1) * var(--in-gap) + var(--open, 1) * 4px); overflow: hidden; }
.draft:not(.is-open) .msg-out { max-height: calc(var(--open, 1) * 420px); overflow: hidden; }
.pill {
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 11px 14px;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: background 300ms ease, color 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}
.pill.go { padding: 14px 22px; color: var(--accent); border-color: var(--accent); }
.pill.go.on { background: var(--accent); color: var(--bg); box-shadow: 0 0 26px color-mix(in srgb, var(--accent) 55%, transparent); }

.scrub { grid-column: 1 / -1; grid-row: 4; display: grid; }
.scrub-area { position: relative; display: grid; gap: 8px; padding-top: 6px; }
.seek { position: absolute; left: 0; right: 0; top: -14px; bottom: -6px; width: 100%; height: auto; margin: 0; opacity: 0; cursor: pointer; }
.seek:focus-visible + .track, .scrub-area:focus-within .track { outline: 1px solid var(--accent); outline-offset: 6px; }
.scrub .track { position: relative; height: 1px; background: var(--line); }
.scrub .fill { position: absolute; left: 0; top: 0; height: 1px; width: 0; background: var(--ink); }
.scrub .mark { position: absolute; top: -4px; width: 1px; height: 9px; background: var(--muted); }
.scrub .head { position: absolute; top: -6px; width: 1px; height: 13px; background: var(--accent); left: 0; }
.scrub .names {
  position: relative;
  height: 14px;
  font: 400 10px/1.4 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.scrub .names span { position: absolute; top: 0; white-space: nowrap; }
.scrub .names span.on { color: var(--ink); }

.hint { font: 400 11px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.blink { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .blink { animation: none; } }

@media (max-width: 900px) {
  .stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    row-gap: 14px;
  }
  .captions { grid-column: 1; grid-row: 2; align-self: start; padding-top: 8px; }
  .captions .cap h2 { font-size: clamp(26px, 7.4vw, 38px); }
  .cap p.body { font-size: 15px; }
  .titlewrap { grid-column: 1; grid-row: 2 / span 2; }
  .draft { grid-column: 1; grid-row: 3; align-self: start; justify-self: stretch; width: 100%; padding: 14px 16px; --gap: 12px; }
  .scan-raw, .scan-read { font-size: 15px; }
  .d-out { font-size: 14px; min-height: 3.6em; }
  .titlecard .endcard { font-size: clamp(32px, 9vw, 50px); }
  .titlecard .lede { font-size: 15px; }
  .scrub { grid-row: 4; }
  .scrub .names { display: none; }
}

/* On wide screens the frame is filled: the time of each scene set large on the
   left, and the conversation at reading size on the right. */
@media (min-width: 901px) {
  .captions { grid-column: 1 / span 6; }
  .captions .cap { gap: 22px; }
  .captions .cap h2 { font-size: clamp(28px, 3.3vw, 50px); line-height: 1.08; }
  .captions .cap h2 [data-t] {
    display: block;
    margin-bottom: 0.16em;
    font-size: clamp(56px, min(8.2vw, 17vh), 132px);
    line-height: 0.9;
    letter-spacing: -0.06em;
    white-space: nowrap;
    color: var(--ink);
    text-shadow: -0.03em 0 0 var(--c-coral), 0.03em 0 0 var(--c-teal);
  }
  .captions .cap h2 .stop { display: none; }
  .captions .cap[data-scene="2"] h2 { font-size: clamp(40px, min(5.6vw, 12vh), 90px); line-height: 1; }
  .cap p.body { font-size: 19px; }

  .draft {
    grid-column: 7 / -1;
    grid-row: 2 / span 2;
    align-self: center;
    justify-self: stretch;
    width: 100%;
    --gap: 22px;
    --in-gap: 12px;
    --out-pad: 20px;
    padding: clamp(22px, 2.4vw, 34px) clamp(22px, 2.6vw, 38px) clamp(20px, 2vw, 28px);
  }
  .msg { gap: 12px; }
  .draft .tm { font-size: 12px; }
  .scan-raw, .scan-read { font-size: clamp(19px, 1.9vw, 28px); line-height: 1.38; }
  .d-out { font-size: clamp(17px, 1.7vw, 25px); line-height: 1.4; min-height: 4.4em; }
  .chips { gap: 10px; margin-top: 6px; }
  .chips li { padding: 6px 10px; font-size: 12px; }
  .pill { padding: 13px 16px; font-size: 12px; }
  .pill.go { padding: 16px 26px; }

  /* Morning: the word itself is the picture. */
  .titlewrap { grid-column: 1 / -1; }
  .titlecard { gap: 22px; }
  .titlecard .kicker {
    font: 400 clamp(64px, min(12vw, 18vh), 210px)/0.86 var(--display);
    letter-spacing: -0.06em;
    text-transform: none;
    color: var(--ink);
    text-shadow: -0.03em 0 0 var(--c-coral), 0.03em 0 0 var(--c-teal);
  }
  .titlecard .endcard { font-size: clamp(30px, min(4vw, 8vh), 60px); }
}

/* ---------- Day sections ---------- */
.block { position: relative; }
.block > .wrap { padding-block: clamp(72px, 10vw, 148px); display: grid; gap: clamp(40px, 5vw, 72px); }
.cut { display: block; height: 1px; background: var(--line); transform-origin: 0 50%; }
.cut.pending { transform: scaleX(0); }
.cut.in { transform: scaleX(1); transition: transform 1100ms cubic-bezier(.2, .7, .1, 1); }
@media (prefers-reduced-motion: reduce) { .cut.pending { transform: none; } }

.head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 16px; align-items: baseline; }
.head .label { grid-column: 1 / span 3; display: inline-flex; align-items: center; gap: 10px; color: var(--sec, var(--c-teal)); }
.head .label::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sec, var(--c-teal)); box-shadow: 0 0 12px var(--sec, var(--c-teal)); }
#offers { --sec: var(--c-coral); }
.more { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px 28px; font: 400 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; }
.more a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); border-bottom: 1px solid var(--line); }
.more a::after { content: "\2192"; margin-left: 10px; }
.more a:hover { color: var(--ink); border-color: var(--muted); }
#contact { --sec: var(--c-teal); }
.head h2 { grid-column: 4 / span 9; font-size: clamp(26px, 3.4vw, 46px); line-height: 1.1; }
.body-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; }
.body-grid > .main { grid-column: 4 / span 5; display: grid; gap: 1em; }
.body-grid > .side { grid-column: 10 / span 3; display: grid; gap: 14px; align-content: start; }
.fine { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) {
  .head .label, .head h2, .body-grid > .main, .body-grid > .side { grid-column: 1 / -1; }
}

.index {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  border-top: 1px solid var(--ink);
}
.index li { display: grid; gap: 10px; align-content: start; padding-top: 20px; border-top: 2px solid var(--pc); margin-top: -1px; }
.index li:nth-child(1) { --pc: var(--c-teal); }
.index li:nth-child(2) { --pc: var(--c-coral); }
.index li:nth-child(3) { --pc: var(--c-teal); }
.index li:nth-child(4) { --pc: var(--c-coral); }
.index li .label { color: var(--pc); }
.index h3 { font-size: 24px; }
.index p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .index { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .index { grid-template-columns: 1fr; } }


.offers { display: grid; grid-template-columns: 5fr 4fr 4fr; column-gap: clamp(24px, 3vw, 48px); row-gap: 56px; }
.offer { display: flex; flex-direction: column; gap: 18px; border-top: 2px solid var(--oc); padding-top: 24px; box-shadow: 0 -12px 30px -24px var(--oc); }
.offer:nth-child(1) { --oc: var(--c-teal); }
.offer:nth-child(2) { --oc: var(--c-coral); }
.offer:nth-child(3) { --oc: var(--c-coral); }
.offer > .label { color: var(--oc); }
.offer h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.05; }
.offer > p { color: var(--muted); font-size: 16px; }
.offer ul { display: grid; gap: 8px; font-size: 15px; }
.offer ul li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; }
.offer > .btn { margin-top: auto; align-self: flex-start; }
.offer ul li::before { content: ""; width: 6px; height: 1px; background: var(--oc, var(--muted)); margin-top: 0.8em; }
@media (max-width: 1000px) { .offers { grid-template-columns: 1fr; } }

.faq { margin-left: calc((100% + 24px) / 4); border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding-block: 24px;
  font: 400 clamp(17px, 1.7vw, 21px)/1.35 var(--display);
  letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 20px/1 var(--mono); color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 28px; max-width: 40em; color: var(--muted); }
@media (max-width: 900px) { .faq { margin-left: 0; } }

.contact { --bg: #000; --ink: #D6E2DE; --muted: #8A9793; --line: #16211E; --accent: #7ED6C0; background: #000; color: var(--ink); color-scheme: dark; }
/* The one line the page's hairlines gather into. */
.contact > .cut { background: #7ED6C0; box-shadow: 0 0 10px rgba(126, 214, 192, 0.55), 0 0 28px rgba(126, 214, 192, 0.2); }
.contact .body-grid > .main { grid-column: 1 / span 5; align-content: start; }
.contact .body-grid > form { grid-column: 7 / span 6; align-self: start; align-content: start; }
.contact .body-grid > .cal { grid-column: 1 / -1; scroll-margin-top: calc(var(--nav) + 16px); }
.addr { font: 400 clamp(22px, 2.2vw, 30px)/1.2 var(--display); letter-spacing: -0.03em; justify-self: start; border-bottom: 1px solid transparent; }
.addr:hover { color: var(--accent); border-color: var(--accent); }
.addrs { display: grid; gap: 4px; justify-self: start; }
.addr-note { margin-top: 6px; font-size: 14px; color: var(--muted); }
form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
.field { display: grid; gap: 8px; }
.field.wide { grid-column: 1 / -1; }
.field label { font: 500 11px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  font: 400 17px/1.5 var(--body);
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 8px 0 10px;
  min-height: 44px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.send { grid-column: 1 / -1; justify-self: start; }
.form-note { grid-column: 1 / -1; font-size: 14px; color: var(--muted); }
.form-note.sent { color: var(--c-teal); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) { .contact .body-grid > .main, .contact .body-grid > form { grid-column: 1 / -1; } }
@media (max-width: 520px) { form { grid-template-columns: 1fr; } }

/* ---------- Channel 02: the beam reads their message ---------- */
.beam {
  position: absolute;
  top: -10px;
  bottom: -10px;
  left: 0;
  width: 2px;
  margin-left: -1px;
  background: #EFFFFA;
  box-shadow: 0 0 6px 1px var(--accent), 0 0 24px 5px rgba(126, 214, 192, 0.5), 0 0 70px 14px rgba(126, 214, 192, 0.22);
  opacity: 0;
  pointer-events: none;
}

/* The card's edge: live current while drafting, a steady line while it waits */
.draft .edge { position: absolute; inset: -1px; border: 1px solid var(--accent); pointer-events: none; filter: url(#electric); opacity: 0; }
.draft .edge.glow { filter: url(#electric) blur(5px); }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Elastic choice */
.choices { position: relative; border: 0; padding: 0; margin: 0; min-width: 0; }
.choices legend { padding: 0; margin-bottom: 8px; font: 500 11px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.choice-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.choice { position: relative; display: flex; align-items: center; gap: 14px; min-height: 44px; cursor: pointer; font-size: 16px; }
.choice input { position: absolute; left: 0; top: 50%; width: 28px; height: 28px; margin: -14px 0 0; opacity: 0; cursor: pointer; }
.rd { flex: none; width: 28px; height: 28px; }
.rd svg { display: block; width: 28px; height: 28px; overflow: visible; }
.rd .base { fill: none; stroke: #1E2B28; stroke-width: 1.5; }
.rd .arc {
  fill: none;
  stroke: #C8FFF1;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 69.12;
  stroke-dashoffset: 69.12;
  transform: rotate(-90deg);
  transform-origin: 14px 14px;
  filter: drop-shadow(0 0 2px #7ED6C0) drop-shadow(0 0 7px rgba(126, 214, 192, 0.85)) drop-shadow(0 0 16px rgba(126, 214, 192, 0.45));
  transition: stroke-dashoffset 700ms cubic-bezier(.3, 1.45, .45, 1);
}
.choice input:checked + .rd .arc { stroke-dashoffset: 0; animation: hum 2.8s steps(1) infinite; }
.choice input:checked ~ .txt { color: #E8FFF8; text-shadow: 0 0 12px rgba(126, 214, 192, 0.45); }
.choice input:focus-visible + .rd { outline: 1px solid var(--accent); outline-offset: 4px; border-radius: 50%; }
@keyframes hum { 0% { opacity: 1; } 31% { opacity: 0.82; } 32% { opacity: 1; } 58% { opacity: 0.9; } 59% { opacity: 1; } 87% { opacity: 0.7; } 88% { opacity: 1; } }
.dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #EFFFFA;
  box-shadow: 0 0 4px 1px #9FF0DC, 0 0 14px 4px rgba(126, 214, 192, 0.75), 0 0 34px 8px rgba(126, 214, 192, 0.3);
  opacity: 0;
  pointer-events: none;
  will-change: transform;
}
.dot.zap { filter: url(#volt); }
@media (prefers-reduced-motion: reduce) { .choice input:checked + .rd .arc { animation: none; } }
@media (max-width: 520px) { .choice-list { grid-template-columns: 1fr; } }

/* ---------- The last frame: back to night ---------- */
footer.night {
  --bg: #020303;
  --ink: #D6E2DE;
  --muted: #8A9793;
  --line: #16211E;
  --accent: #7ED6C0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--bg);
  color: var(--ink);
}
footer.night .wrap { position: relative; display: grid; gap: 36px; padding-block: 64px 36px; }
.foot-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 4px 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(214, 226, 222, 0.14);
  font: 400 13px/1.5 var(--mono);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.foot-meta a { display: inline-flex; align-items: center; min-height: 44px; }
.foot-meta a:hover { color: var(--ink); }
