/* Dearling, one product. White and spruce, Hanken Grotesk. No serif, italic, or uppercase. Shared by all four screens. */
@font-face {
  font-family: "Hanken Grotesk";
  src: url("assets/hanken.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --white: #fff;
  --band: #f4f7f6;
  --stone: #eef1f0;
  --mint: #e3f1ee;
  --mint-2: #c9e6df;
  --spruce: #0f6b5c;
  --deep: #0a4a40;
  --deeper: #07352e;
  --night: #08221e;
  --ink: #14201c;
  --ink-2: #34433e;
  --ink-3: #4a5a55;
  --line: #dce4e1;
  --lit: #8fe0cc;
  --record: #c8321f;
  --font: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shadow-md: 0 1px 2px rgb(10 74 64 / .08), 0 12px 28px -12px rgb(10 74 64 / .22);
  --shadow-lg: 0 2px 4px rgb(10 74 64 / .06), 0 18px 40px -12px rgb(10 74 64 / .22), 0 60px 90px -40px rgb(15 107 92 / .35);
  --shadow-float: 0 28px 60px -24px rgb(8 34 30 / .45), 0 4px 14px rgb(8 34 30 / .12);
  --gutter: clamp(20px, 5vw, 72px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 20px; line-height: 1.55; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: var(--spruce); text-underline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--spruce); outline-offset: 3px; border-radius: 6px; }
.onphoto :focus-visible { outline-color: #fff; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }

/* ---------- buttons and links: the same on every screen ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; min-width: 56px; padding: 0 28px; font: 600 20px/1 var(--font); letter-spacing: -.005em; border-radius: 16px; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: background .2s, border-color .2s, color .2s; }
.btn svg { width: 24px; height: 24px; flex: none; }
.btn-primary { background: var(--spruce); color: #fff; box-shadow: 0 10px 24px -10px rgb(15 107 92 / .7), inset 0 1px 0 rgb(255 255 255 / .18); }
.btn-primary:hover { background: var(--deep); }
.btn-quiet { background: #fff; color: var(--deep); border-color: var(--line); box-shadow: var(--shadow-md); }
.btn-quiet:hover { border-color: var(--spruce); }
.btn-light { background: #fff; color: var(--deep); }
.btn-light:hover { background: var(--mint); }
.btn-ghost { color: #fff; border-color: rgb(255 255 255 / .8); background: rgb(8 34 30 / .82); }
.btn-ghost:hover { background: rgb(8 34 30 / .8); }
.link { display: inline-flex; align-items: center; min-height: 52px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; color: var(--spruce); }
.onphoto .link { color: #fff; }
.btn-icon { padding: 0; width: 56px; }
input[type=email] { min-height: 60px; width: 100%; padding: 0 18px; font: 500 20px var(--font); color: var(--ink); border: 2px solid #62716b; border-radius: 16px; background: #fff; }
label { font-weight: 600; font-size: 20px; }

/* wordmark: dot tree mark plus the name */
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 28px; letter-spacing: -.03em; color: var(--deep); text-decoration: none; min-height: 56px; }
.brand svg { width: 38px; height: 38px; flex: none; }
.onphoto .brand { color: #fff; }

/* ---------- landing top bar over the hero ---------- */
.bar { position: absolute; inset: 0 0 auto 0; z-index: 6; display: flex; align-items: center; gap: 6px; padding: 14px var(--gutter); }
.bar .brand { margin-right: auto; }
.bar a.navlink { display: inline-flex; align-items: center; min-height: 56px; padding: 0 16px; color: #fff; text-decoration: none; font-weight: 600; border-radius: 14px; }
.bar a.navlink:hover { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- landing hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--night); isolation: isolate; }
.hero .bg { position: absolute; inset: 0; z-index: -2; }
.hero .bg img { width: 100%; height: 100%; object-fit: cover; object-position: 28% 50%; transform-origin: 30% 50%; animation: drift 40s ease-in-out infinite alternate; }
.hero.paused .bg img { animation-play-state: paused; }
@keyframes drift { from { transform: scale(1.01); } to { transform: scale(1.07) translateX(-1.2%); } }
/* the scrim sits behind the words only: a soft spruce pool anchored on the left edge, clear photo everywhere else */
.hero .scrim { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 90% at 0% 58%, rgb(8 34 30 / .92) 0%, rgb(8 34 30 / .88) 58%, rgb(8 34 30 / 0) 100%),
    linear-gradient(180deg, rgb(8 34 30 / .78) 0%, rgb(8 34 30 / .5) 70px, rgb(8 34 30 / 0) 150px); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: center; gap: 24px; padding: 96px calc(var(--gutter) * .5) 32px var(--gutter); min-height: min(100svh, 800px); }
.hero h1 { font-weight: 800; font-size: clamp(48px, 7vw, 100px); line-height: .96; letter-spacing: -.04em; max-width: 9em; text-wrap: balance; }
.hero .sub { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.5; margin-top: 24px; max-width: 21em; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; margin-top: 32px; }
.hero .note { margin-top: 24px; font-size: 18px; max-width: 24em; }
.stagewrap { justify-self: end; width: min(400px, 100%); }
.stage { position: relative; width: 100%; }
.stage .tree-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.stage .tree-lines path { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 1px 3px rgb(0 0 0 / .55)); }
.print { position: absolute; left: 0; top: 0; background: #fff; overflow: hidden; will-change: transform; box-shadow: 0 18px 40px -14px rgb(0 0 0 / .5), 0 2px 6px rgb(0 0 0 / .25); }
.print .pic { position: absolute; }
.print .pic img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.print .ring { position: absolute; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 3px var(--spruce), 0 0 18px rgb(0 0 0 / .35); transform: translate(-50%, -50%); opacity: 0; }
.tag { position: absolute; left: 0; top: 0; background: #fff; color: var(--ink); font-weight: 700; font-size: 18px; line-height: 1; padding: 9px 12px; border-radius: 10px; white-space: nowrap; box-shadow: 0 6px 18px rgb(0 0 0 / .28); }
.stagebar { display: flex; align-items: center; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.stagecap { font-weight: 600; font-size: 18px; background: rgb(8 34 30 / .8); padding: 12px 16px; border-radius: 12px; }
/* wide screens: the tree sits in a solid card on the lower right, below every face in the photograph; the photo keeps its height and the night ground extends under it */
@media (min-width: 901px) {
  .hero { min-height: calc(min(100svh, 800px) + 360px); }
  .hero .bg, .hero .scrim { bottom: auto; height: min(100svh, 800px); }
  .hero .bg { overflow: hidden; }
  .hero .scrim {
    background:
      linear-gradient(0deg, var(--night) 0%, rgb(8 34 30 / 0) 110px),
      radial-gradient(ellipse 60% 90% at 0% 58%, rgb(8 34 30 / .92) 0%, rgb(8 34 30 / .88) 58%, rgb(8 34 30 / 0) 100%),
      linear-gradient(180deg, rgb(8 34 30 / .78) 0%, rgb(8 34 30 / .5) 70px, rgb(8 34 30 / 0) 150px); }
  .stagewrap { position: absolute; z-index: 3; right: var(--gutter); top: calc(min(100svh, 800px) - 330px); width: clamp(380px, 38vw, 400px); padding: 20px; background: var(--night); border: 2px solid rgb(255 255 255 / .22); border-radius: 24px; box-shadow: 0 24px 60px -20px rgb(0 0 0 / .6); }
}

/* ---------- landing body: varied composition ---------- */
.sec { padding: clamp(72px, 9vw, 128px) var(--gutter); }
.h2 { font-weight: 800; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.lead { font-size: 22px; line-height: 1.5; color: var(--ink-2); max-width: 30em; }
.intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; max-width: 1200px; margin: 0 auto clamp(48px, 6vw, 80px); }
.coll { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 6vw, 96px); max-width: 1200px; margin: 0 auto; align-items: start; }
.coll .colB { margin-top: clamp(80px, 12vw, 190px); }
.coll h3, .step h3 { font-weight: 800; font-size: clamp(30px, 3vw, 42px); line-height: 1.08; letter-spacing: -.03em; margin-bottom: 16px; }
.coll p.t, .step p.t { color: var(--ink-2); font-size: 21px; max-width: 24em; }
.fig { position: relative; margin-bottom: clamp(36px, 4vw, 56px); }
.fig .frame { overflow: hidden; border-radius: 8px; background: var(--stone); }
.fig .frame img { width: 100%; height: 100%; object-fit: cover; }
.colA .fig { margin: 40px 0 0; width: 86%; }
.colB .fig { margin: 0 0 40px 14%; width: 86%; }
.colB .fig .frame { border: 10px solid #fff; border-radius: 3px; box-shadow: var(--shadow-float); transform: rotate(2.2deg); }
.float { position: absolute; background: #fff; border-radius: 18px; box-shadow: var(--shadow-float); padding: 18px 22px; font-size: 19px; z-index: 2; }
.float b { font-weight: 700; }
.float .who { color: var(--ink-3); font-size: 18px; }
.ringed { position: absolute; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 3px var(--spruce), 0 6px 22px rgb(0 0 0 / .35); transform: translate(-50%, -50%); }
.bars { display: flex; align-items: center; gap: 4px; height: 36px; }
.bars i { display: block; width: 5px; border-radius: 3px; background: var(--spruce); height: 30%; animation: lvl 1.3s ease-in-out infinite; }
.bars i:nth-child(2n) { animation-delay: -.4s; } .bars i:nth-child(3n) { animation-delay: -.8s; } .bars i:nth-child(5n) { animation-delay: -.2s; }
@keyframes lvl { 0%, 100% { height: 22%; } 50% { height: 100%; } }

/* full-bleed band: dark text straight on a pale photograph, no scrim at all */
.bleed { position: relative; overflow: hidden; isolation: isolate; background: #cfe0cf; min-height: clamp(460px, 46vw, 660px); display: flex; align-items: center; }
.bleed > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; z-index: -1; transform: scale(1.12); transform-origin: 0% 50%; }
.bleed .step { padding: 56px var(--gutter); max-width: min(430px, 36%); color: var(--ink); }
.bleed .step p.t { color: var(--ink); }
.bleed .float { right: clamp(20px, 6vw, 100px); bottom: 36px; max-width: 360px; }

/* step four: centred, prints fanned */
.centre { text-align: center; max-width: 1100px; margin: 0 auto; }
.centre h3 { font-weight: 800; font-size: clamp(36px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -.035em; margin-bottom: 18px; text-wrap: balance; }
.centre p.t { margin-inline: auto; font-size: 22px; color: var(--ink-2); max-width: 26em; }
.fan { position: relative; height: clamp(300px, 36vw, 470px); margin: 56px auto 0; width: min(900px, 100%); }
.fan .pr { position: absolute; top: 0; border: 10px solid #fff; border-radius: 3px; box-shadow: var(--shadow-float); overflow: hidden; background: #fff; }
.fan .pr img { width: 100%; height: 100%; object-fit: cover; }
.fan .pr.l { left: 3%; width: 30%; aspect-ratio: 4/5; transform: rotate(-6deg); top: 40px; }
.fan .pr.c { left: 50%; width: 38%; aspect-ratio: 4/5; transform: translateX(-50%); z-index: 2; top: 0; }
.fan .pr.r { right: 3%; width: 30%; aspect-ratio: 4/5; transform: rotate(5deg); top: 56px; }
.fan .float { left: 50%; bottom: -22px; transform: translateX(-50%); display: flex; gap: 16px; align-items: center; white-space: nowrap; z-index: 3; }

.stonebg { background: var(--stone); }
.quiet { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: center; max-width: 1200px; margin: 0 auto; }
.facts { list-style: none; margin: 0; padding: 0; }
.facts li { font-weight: 700; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.12; letter-spacing: -.025em; padding: 26px 0; border-top: 1px solid #cdd6d3; }
.facts li:last-child { border-bottom: 1px solid #cdd6d3; }
.facts li span { display: block; font-weight: 400; letter-spacing: 0; font-size: 20px; color: var(--ink-2); margin-top: 8px; line-height: 1.5; }
.pile { position: relative; aspect-ratio: 1 / 1.05; }
.pile .pr { position: absolute; border: 8px solid #fff; border-radius: 3px; box-shadow: var(--shadow-float); overflow: hidden; background: #fff; aspect-ratio: 4/5; }
.pile .pr img { width: 100%; height: 100%; object-fit: cover; }

.closer { position: relative; color: #fff; overflow: hidden; isolation: isolate; background: var(--night); }
.closer > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; object-position: 50% 40%; }
.closer .scrim { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 70% 110% at 0% 55%, rgb(8 34 30 / .94) 0%, rgb(8 34 30 / .86) 60%, rgb(8 34 30 / 0) 100%); }
.closer .inner { padding: clamp(80px, 11vw, 150px) var(--gutter); max-width: 760px; }
.closer h2 { font-weight: 800; font-size: clamp(40px, 5.4vw, 76px); line-height: 1; letter-spacing: -.04em; }
.closer p { font-size: 22px; margin-top: 22px; max-width: 24em; }
.closer .cta { margin-top: 32px; display: flex; gap: 14px 22px; flex-wrap: wrap; align-items: center; }
footer.foot { padding: 36px var(--gutter) 48px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; font-size: 18px; }
footer.foot a { display: inline-flex; align-items: center; min-height: 52px; }
footer.foot .brand { margin-right: auto; }

/* ---------- signed-in shell ---------- */
body.app { background: linear-gradient(180deg, #f1f8f6 0, #fff 420px); min-height: 100vh; }
body.app::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 560px; z-index: -1; background: radial-gradient(50% 60% at 78% 0%, rgb(143 224 204 / .45), transparent 70%); pointer-events: none; }
.top { position: sticky; top: 0; z-index: 20; background: rgb(255 255 255 / .96); border-bottom: 1px solid rgb(220 228 225 / .7); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 16px; }
.tabs { display: flex; gap: 6px; }
.tabs a { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 18px; border-radius: 16px; color: var(--ink-2); font-weight: 700; text-decoration: none; }
.tabs a svg { width: 24px; height: 24px; }
.tabs a[aria-current=page] { background: var(--deep); color: #fff; }
.tabs a:not([aria-current]):hover { background: var(--mint); color: var(--deep); }
.me { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; font-weight: 700; color: var(--ink-2); text-decoration: none; }
.me img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.app-main { padding: 40px 0 120px; }
.hello { font-size: clamp(38px, 4.6vw, 56px); line-height: 1; letter-spacing: -.04em; font-weight: 800; }
.hello-sub { margin-top: 12px; font-size: 22px; color: var(--ink-2); }
.app-grid { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.stack-col { display: grid; gap: 24px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 30px; box-shadow: var(--shadow-md); padding: 28px; }
.panel h2 { font-size: 30px; line-height: 1.05; letter-spacing: -.035em; font-weight: 800; }
.panel .meta { margin-top: 6px; font-size: 18px; color: var(--ink-3); }
.panel .btn { margin-top: 16px; }
.note-line { margin-top: 32px; font-size: 18px; color: var(--ink-3); }

/* the family tree: HTML nodes, lines drawn from their measured positions, no sideways scroll */
.tree-panel { position: relative; background: linear-gradient(165deg, #fff, #f1f8f6); overflow: hidden; padding: 28px 28px 20px; }
.tree { position: relative; margin-top: 12px; width: 100%; height: calc(var(--pitch) * 4 + 8px); --pitch: 178px; --nw: 92px; }
.tree svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.tree path { fill: none; stroke: var(--spruce); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.tnode { position: absolute; width: var(--nw); left: calc(var(--x) * 1%); top: calc(var(--r) * var(--pitch)); transform: translateX(-50%); text-align: center; text-decoration: none; color: inherit; display: block; }
.tnode .face { display: grid; place-items: center; width: var(--nw); height: var(--nw); border-radius: 50%; overflow: hidden; border: 3px solid #fff; background: var(--mint); box-shadow: 0 0 0 3px var(--spruce), 0 8px 20px -8px rgb(10 74 64 / .5); font-weight: 800; font-size: 28px; color: var(--deep); }
.tnode .face img { width: 100%; height: 100%; object-fit: cover; }
.tnode.noimg .face { background: var(--mint-2); box-shadow: 0 0 0 3px var(--spruce); }
.tnode.lit .face { box-shadow: 0 0 0 3px var(--spruce), 0 0 0 8px rgb(143 224 204 / .6), 0 0 44px 8px rgb(143 224 204 / .85); }
.tnode .who { display: block; margin: 8px -20px 0; font-weight: 700; font-size: 19px; line-height: 1.1; white-space: nowrap; }
.tnode .role { display: block; margin: 0 -20px; font-size: 18px; line-height: 1.15; color: var(--ink-3); white-space: nowrap; }
.tnode:hover .who { text-decoration: underline; }
.tree-foot { margin-top: 6px; font-size: 18px; color: var(--ink-3); }

.talk { background: linear-gradient(160deg, var(--spruce) 0%, var(--deeper) 100%); color: #fff; border: 0; position: relative; overflow: hidden; isolation: isolate; }
.talk::before { content: ""; position: absolute; right: -40%; top: -50%; width: 80%; aspect-ratio: 1; z-index: -1; background: radial-gradient(closest-side, rgb(143 224 204 / .16), transparent); }
.talk h2, .talk p { color: #fff; }
.talk p { margin-top: 10px; font-size: 20px; }
.talk .next { margin-top: 18px; background: rgb(255 255 255 / .13); border: 1px solid rgb(255 255 255 / .3); border-radius: 18px; padding: 14px 16px; font-size: 20px; line-height: 1.35; font-weight: 600; }
.talk .next small { display: block; font-size: 18px; font-weight: 500; margin-bottom: 4px; }
.mic { margin-top: 22px; display: flex; align-items: center; gap: 18px; }
.btn-mic { width: 84px; height: 84px; border-radius: 50%; background: #fff; color: var(--deep); border: 0; display: grid; place-items: center; cursor: pointer; box-shadow: 0 0 0 10px rgb(255 255 255 / .18), 0 16px 30px -10px rgb(0 0 0 / .5); flex: none; }
.btn-mic svg { width: 36px; height: 36px; }
.mic span { font-size: 22px; font-weight: 700; line-height: 1.2; }
.thumbs { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.slist { margin-top: 14px; display: grid; gap: 10px; }
.srow { display: grid; grid-template-columns: 72px 1fr 56px; gap: 14px; align-items: center; padding: 8px; border-radius: 20px; text-decoration: none; color: inherit; }
.srow:hover { background: var(--band); }
.srow img { width: 72px; height: 72px; border-radius: 16px; object-fit: cover; }
.srow b { display: block; font-size: 20px; line-height: 1.2; }
.srow small { font-size: 18px; color: var(--ink-3); }
.srow .play { width: 56px; height: 56px; border-radius: 50%; background: var(--mint); color: var(--deep); display: grid; place-items: center; }
.srow .play svg { width: 24px; height: 24px; }

.botbar { display: none; }

/* ---------- rewatch ---------- */
.rw { padding: 28px 0 100px; }
.back { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 18px 0 12px; margin-left: -12px; font-weight: 700; text-decoration: none; color: var(--deep); border-radius: 16px; }
.back:hover { background: var(--mint); }
.back svg { width: 24px; height: 24px; }
.rw-grid { margin-top: 12px; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.rw h1 { font-size: clamp(38px, 4.6vw, 60px); line-height: 1; letter-spacing: -.045em; font-weight: 800; }
.rw .by { margin-top: 12px; display: flex; align-items: center; gap: 14px; font-size: 20px; color: var(--ink-2); }
.rw .by img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--spruce), 0 0 26px 6px rgb(143 224 204 / .8); }
.player { margin-top: 24px; border-radius: 32px; overflow: hidden; background: var(--deeper); box-shadow: var(--shadow-lg); }
.shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; isolation: isolate; background: #0b1512; color: #fff; }
.shot .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; z-index: -2; }
.shot .slide.on { opacity: 1; }
.shot .slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.shot .slide.on img { animation: kb 20s ease-out forwards; }
.player.paused .slide.on img { animation-play-state: paused; }
@keyframes kb { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.2%, -1%); } }
.shot::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(7 41 35 / .95) 0%, rgb(7 41 35 / .9) 28%, rgb(7 41 35 / .55) 52%, rgb(7 41 35 / 0) 76%); }
.shot .yr { position: absolute; left: 28px; top: 20px; background: #fff; color: var(--ink); font-weight: 700; font-size: 18px; padding: 6px 12px; border-radius: 10px; }
.sub-line { position: absolute; left: 28px; right: 28px; bottom: 22px; color: #fff; font-size: 30px; line-height: 1.25; font-weight: 700; letter-spacing: -.015em; }
.ctrl { background: #fff; padding: 18px 24px 22px; }
.prog { display: flex; align-items: center; gap: 14px; font-size: 18px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.track { position: relative; flex: 1; height: 56px; display: flex; align-items: center; cursor: pointer; }
.bars2 { flex: 1; display: flex; align-items: center; gap: 3px; height: 48px; }
.bars2 i { flex: 1; border-radius: 2px; background: var(--mint-2); height: var(--h); }
.bars2 i.on { background: var(--spruce); }
.btnrow { margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.skip { min-width: 56px; min-height: 56px; border-radius: 18px; border: 2px solid var(--line); background: #fff; color: var(--deep); font: 700 18px var(--font); display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; padding: 0 14px; }
.skip:hover { border-color: var(--spruce); }
.skip svg { width: 22px; height: 22px; }
.big-play { width: 76px; height: 76px; border-radius: 50%; border: 0; background: var(--spruce); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 14px 28px -10px rgb(15 107 92 / .8); }
.big-play:hover { background: var(--deep); }
.big-play svg { width: 34px; height: 34px; }
.side .panel + .panel { margin-top: 20px; }
.side h2 { font-size: 28px; line-height: 1.05; letter-spacing: -.03em; font-weight: 800; }
.faces-row { margin-top: 14px; display: flex; gap: 12px 14px; flex-wrap: wrap; }
.fp { text-align: center; font-size: 18px; font-weight: 700; width: 72px; }
.fp img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin: 0 auto 6px; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--mint-2); filter: grayscale(.9) brightness(1.1); opacity: .6; transition: all .8s ease; }
.fp.lit img { filter: none; opacity: 1; box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--spruce), 0 0 28px 6px rgb(143 224 204 / .9); }
.strip { margin-top: 16px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.strip button { padding: 0; border: 0; background: none; cursor: pointer; border-radius: 12px; min-height: 56px; }
.strip img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.strip button[aria-current="true"] img { outline: 4px solid var(--spruce); outline-offset: 2px; }
.tr { margin-top: 14px; display: grid; gap: 6px; }
.tr button { text-align: left; min-height: 56px; padding: 10px 16px; border-radius: 16px; border: 0; background: transparent; font: 500 20px/1.35 var(--font); color: var(--ink-2); cursor: pointer; }
.tr button:hover { background: var(--band); }
.tr button.now { background: var(--mint); color: var(--ink); font-weight: 700; }

/* ---------- sign in ---------- */
body.signin { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; background: #fff; }
.si-photo { position: relative; overflow: hidden; background: var(--night); isolation: isolate; }
.si-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; z-index: -2; }
.si-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(8 34 30 / .88) 0%, rgb(8 34 30 / .62) 80px, rgb(8 34 30 / 0) 180px); }
.si-photo .brand { position: absolute; left: var(--gutter); top: 18px; z-index: 2; }
.si-form { display: flex; flex-direction: column; justify-content: center; padding: 64px clamp(24px, 7vw, 110px); gap: 0; background: linear-gradient(180deg, #f1f8f6 0, #fff 380px); }
.si-form h1 { font-weight: 800; font-size: clamp(38px, 4vw, 56px); line-height: 1; letter-spacing: -.04em; }
.si-form .hint { margin-top: 14px; font-size: 22px; color: var(--ink-2); max-width: 22em; }
.si-form form { margin-top: 32px; display: grid; gap: 12px; max-width: 460px; }
.si-form .btn { width: 100%; margin-top: 8px; }
.si-form .fine { margin-top: 28px; font-size: 18px; color: var(--ink-3); max-width: 26em; }
.si-form .link { margin-top: 12px; align-self: flex-start; }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .app-grid, .rw-grid { grid-template-columns: 1fr; }
  .tabs a span { display: none; }
  .tabs a { padding: 0; width: 56px; justify-content: center; }
  .me span { display: none; }
}
@media (max-width: 900px) {
  .hero .bg { inset: 0 0 auto 0; height: 440px; }
  .hero .bg img { object-position: 38% 50%; }
  .hero .scrim { background: linear-gradient(180deg, rgb(8 34 30 / .8) 0%, rgb(8 34 30 / .35) 80px, rgb(8 34 30 / .78) 235px, rgb(8 34 30 / .95) 400px, var(--night) 460px); }
  .hero-inner { grid-template-columns: 1fr; padding-top: 250px; padding-bottom: 48px; min-height: 0; gap: 40px; }
  .stagewrap { justify-self: center; width: min(420px, 100%); }
  .intro, .quiet, .coll { grid-template-columns: 1fr; }
  .coll .colB { margin-top: 40px; }
  .colA .fig { width: 100%; margin-top: 28px; }
  .colB .fig { margin-left: 0; width: 100%; margin-bottom: 28px; }
  .bleed { display: block; min-height: 0; background: #fff; }
  .bleed > img { position: static; height: 300px; z-index: 0; object-position: 85% 50%; transform: none; }
  .bleed .step { max-width: none; padding: 36px var(--gutter) 28px; }
  .bleed .float { position: relative; right: auto; bottom: auto; margin: 0 var(--gutter) 40px; max-width: none; }
  .closer .scrim { background: linear-gradient(0deg, rgb(8 34 30 / .93) 0%, rgb(8 34 30 / .85) 60%, rgb(8 34 30 / .5) 100%); }
  body.signin { grid-template-columns: 1fr; grid-template-rows: 230px 1fr; }
  .si-photo > img { object-position: 78% 40%; }
  .si-form { padding: 36px 24px 56px; justify-content: flex-start; }
  .bar a.navlink.hide-sm { display: none; }
}
@media (max-width: 640px) {
  .tabs, .me { display: none; }
  .app-main { padding: 28px 0 40px; }
  .panel { padding: 22px 18px; border-radius: 26px; }
  .tree-panel { padding: 22px 12px 16px; }
  .tree { --pitch: 150px; --nw: 66px; margin-top: 8px; }
  .tnode .face { font-size: 22px; }
  .tnode .who { font-size: 15px; margin: 6px -20px 0; }
  .tnode .role { font-size: 14px; margin: 0 -20px; }
  .tree-foot { padding: 0 6px; }
  .btn-mic { width: 76px; height: 76px; }
  .botbar { display: flex; position: sticky; bottom: 0; z-index: 30; background: #fff; border-top: 1px solid var(--line); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); gap: 4px; box-shadow: 0 -10px 30px -16px rgb(10 74 64 / .35); }
  .botbar a { flex: 1; min-height: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 16px; text-decoration: none; color: var(--ink-2); font-weight: 700; font-size: 18px; }
  .botbar a svg { width: 26px; height: 26px; }
  .botbar a[aria-current=page] { background: var(--deep); color: #fff; }
  .rw { padding: 16px 0 60px; }
  .sub-line { font-size: 22px; left: 16px; right: 16px; bottom: 14px; }
  .shot { aspect-ratio: 4 / 3; }
  .shot .yr { left: 16px; top: 14px; }
  .ctrl { padding: 14px 14px 18px; }
  .btnrow { gap: 8px; }
  .rw h1 { font-size: 40px; }
  .hero .cta .btn { width: 100%; }
  .hero .cta .link { margin: 0 auto; }
  .float { font-size: 19px; }
  .coll .float { position: relative !important; margin: -30px 12px 0 !important; right: auto !important; left: auto !important; bottom: auto !important; max-width: none !important; }
  .colB .fig .frame { transform: none; }
  .fan .pr { aspect-ratio: 16/10 !important; }
  .fan { height: auto; margin-top: 36px; display: grid; gap: 20px; }
  .fan .pr { position: relative; transform: none !important; width: 100% !important; left: auto !important; right: auto !important; top: auto !important; }
  .fan .float { position: relative; left: auto; bottom: auto; transform: none; margin: -50px 12px 0; white-space: normal; }
  .closer .cta .btn { width: 100%; }
  .si-form .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .bg img, .bars i, .shot .slide.on img { animation: none !important; }
  .shot .slide { transition: none; }
  * { scroll-behavior: auto !important; }
}

.opening { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.4; }
.sample-line { margin: 16px 0 8px; padding: 14px 16px; font-size: 18px; line-height: 1.5; background: #fff; border: 2px solid var(--spruce, #0f6b5c); border-radius: 12px; }
