/* MODE3 v6 · task 052: ONE DAY, the offer strip, the hero's first line, the terms at the form, the skip link. */

/* ONE DAY: one sticky stage over two screens of scroll */
.oneday { height: 220svh; padding: 0; background: #06070a; }
.od-stick { position: sticky; top: 0; height: 100svh; overflow: clip; color: #ede9e3; --c: #9fe6d3;
  background: color-mix(in srgb, var(--c) 13%, #06070a); transition: background-color 0.6s cubic-bezier(0.4, 0, 0.6, 1); isolation: isolate; }
.od-photos, .od-ph, .od-flood { position: absolute; inset: 0; }
/* 053: the photos (B/W, 4:5, the top 30 percent is the text zone) cover the stage under a dark scrim, so the clock, the line and the yellow stone line stay readable */
.od-ph { display: block; opacity: 0; transition: opacity 0.5s cubic-bezier(0.4, 0, 0.6, 1); }
.od-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; filter: grayscale(1); }
.od-ph.on { opacity: 0.5; }
.od-stick.od-photo .od-rit { opacity: 0; }
.od-photos::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 7, 10, 0.55), rgba(6, 7, 10, 0.2) 40%, rgba(6, 7, 10, 0.75)); }
.od-flood { background: radial-gradient(70% 55% at 50% 58%, var(--c), transparent 70%); opacity: 0; pointer-events: none; mix-blend-mode: screen; }
.od-stick.flood .od-flood { animation: odFlood 1.2s cubic-bezier(0.4, 0, 0.6, 1); }
@keyframes odFlood { 0% { opacity: 0; transform: scale(0.6); } 30% { opacity: 0.55; } 100% { opacity: 0.12; transform: scale(1.25); } }
.od-eyebrow { position: absolute; z-index: 3; left: 16px; right: 16px; top: max(5.6rem, 11svh); margin: 0; text-align: center; color: rgba(237, 233, 227, 0.86); }
.od-clock { position: absolute; z-index: 3; left: 0; right: 0; top: calc(max(5.6rem, 11svh) + 1.8rem); margin: 0; display: flex; justify-content: center; align-items: flex-start;
  font-size: min(29vw, 30svh); font-weight: 900; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; scale: 1 1.4; transform-origin: 50% 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.6, 1); }
.od-d { display: block; height: 1em; overflow: hidden; width: 0.66em; text-align: center; }
.od-reel { display: flex; flex-direction: column; transform: translateY(calc(var(--d, 0) * -1em)); transition: transform 0.7s cubic-bezier(0.65, 0.05, 0, 1); }
.od-reel i { display: block; height: 1em; font-style: normal; }
.od-colon { display: block; width: 0.28em; text-align: center; color: var(--c); transition: color 0.5s; }
.od-rit { position: absolute; z-index: 2; left: 50%; bottom: 23svh; width: min(52vw, 26svh); aspect-ratio: 900 / 1300; transform: translateX(-50%); mix-blend-mode: screen; transition: opacity 0.4s; }
.od-beats { position: absolute; z-index: 3; left: 16px; right: 16px; bottom: calc(5.5rem + env(safe-area-inset-bottom)); height: 6.2rem; }
.od-beat { position: absolute; inset: auto 0 0 0; margin: 0 auto; max-width: 30ch; text-align: center; opacity: 0; transform: translateY(0.6rem); transition: opacity 0.35s cubic-bezier(0.4, 0, 0.6, 1), transform 0.5s cubic-bezier(0.65, 0.05, 0, 1); }
.od-beat.on { opacity: 1; transform: none; }
.od-tag { display: block; margin-bottom: 0.5rem; color: var(--c); letter-spacing: 0.22em; }
.od-line { display: block; font-size: clamp(1.15rem, 5vw, 1.6rem); font-weight: 800; line-height: 1.22; letter-spacing: -0.02em; text-wrap: balance; }
.od-stone { position: absolute; z-index: 4; left: 0; right: 0; bottom: calc(3.4rem + env(safe-area-inset-bottom)); height: 3px; background: #ffd400; box-shadow: 0 0 14px rgba(255, 212, 0, 0.7); transform-origin: left; transform: scaleX(var(--s, 0)); }
.od-end { position: absolute; z-index: 3; left: 16px; right: 16px; top: 50%; translate: 0 -50%; margin: 0; text-align: center; font-size: var(--t-huge); font-weight: 900; line-height: 0.92; letter-spacing: -0.04em; opacity: 0; transition: opacity 0.5s cubic-bezier(0.4, 0, 0.6, 1); }
.oneday.od-end-on .od-end { opacity: 1; }
.oneday.od-end-on :is(.od-clock, .od-rit, .od-beats, .od-eyebrow) { opacity: 0; }
.od-list { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); margin: 0; padding: 0; }
/* desktop: the clock and the line on the left, the bottle on the right */
@media (min-width: 900px) {
  .od-eyebrow { left: 6vw; right: auto; text-align: left; top: 17svh; }
  .od-clock { left: 6vw; right: auto; top: calc(17svh + 2.2rem); justify-content: flex-start; font-size: min(17vw, 31svh); transform-origin: 0 0; }
  .od-rit { left: auto; right: 9vw; bottom: 11svh; width: min(24vw, 36svh); transform: none; }
  .od-beats { left: 6vw; right: auto; width: min(46vw, 40rem); top: calc(17svh + 2.2rem + 31svh * 1.4 + 3svh); bottom: auto; height: 9rem; }
  .od-beat { inset: 0 auto auto 0; margin: 0; text-align: left; max-width: none; }
  .od-line { font-size: clamp(1.6rem, 2.2vw, 2.2rem); max-width: 22ch; }
}
@media (prefers-reduced-motion: reduce) {
  .oneday { height: auto; }
  .od-stick { position: relative; height: auto; padding: 5rem 16px 4rem; background: #06070a; }
  .od-photos, .od-flood, .od-clock, .od-rit, .od-beats, .od-end, .od-stone { display: none; }
  .od-eyebrow { position: static; text-align: left; margin-bottom: 1.5rem; }
  .od-list { position: static; width: auto; height: auto; overflow: visible; clip-path: none; display: grid; gap: 1.1rem; list-style: none; max-width: 34ch; }
  .od-list li { font-size: 1.05rem; font-weight: 700; line-height: 1.35; }
  .od-list b { display: block; color: var(--c); letter-spacing: 0.22em; margin-bottom: 0.25rem; }
  .od-list-end { font-size: 1.6rem !important; font-weight: 900 !important; letter-spacing: -0.03em; }
}

/* the offer strip: one screen */
.strip { background: #0b0d14; color: #ede9e3; min-height: 100svh; display: flex; align-items: center; padding: 5.5rem 0 4rem; }
.strip-in { display: grid; gap: 1.6rem; align-items: center; }
.strip-kit { order: 2; width: 100%; max-width: 420px; height: auto; aspect-ratio: 1080 / 1350; object-fit: cover; border-radius: 6px; margin: 0 auto; max-height: 40svh; }
.strip-txt { order: 1; }
.strip-txt { max-width: 36ch; }
.strip-txt .eyebrow { color: rgba(237, 233, 227, 0.86); margin: 0 0 0.8rem; }
.strip-h { margin: 0; font-size: clamp(1.5rem, 6.4vw, 2.6rem); font-weight: 900; line-height: 1.05; letter-spacing: -0.03em; }
.strip-price { margin: 0.9rem 0 0; font-size: var(--t-body); line-height: 1.5; color: rgba(237, 233, 227, 0.9); }
.strip-price b { font-weight: 900; color: #ede9e3; }
.strip-cta { margin: 1.3rem 0 0; }
.strip .btn-primary { background: #ede9e3; color: #0b0d10; }
.strip-g { margin: 0.9rem 0 0; }
.strip-g a { color: rgba(237, 233, 227, 0.86); }
@media (min-width: 900px) { .strip-kit { order: 0; } .strip-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; } .strip-kit { max-height: 72svh; } .strip-h { font-size: 2.8rem; } }

/* the hero, from frame 1: what it is and a way in */
.moon-intro { position: absolute; z-index: 6; left: 16px; right: 16px; bottom: calc(clamp(1.4rem, 4svh, 2.4rem) + 4.4rem); display: flex; flex-direction: column; align-items: center; gap: 0.8rem; text-align: center; transition: opacity 0.4s cubic-bezier(0.4, 0, 0.6, 1); }
.moon-intro-line { margin: 0; font-size: var(--t-body); font-weight: 700; line-height: 1.4; color: #ede9e3; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8); }
.moon-pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.2rem; border-radius: 100px; background: rgba(237, 233, 227, 0.94); color: #0b0d10; text-decoration: none; font-size: var(--t-micro); font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.hero10.moving .moon-intro { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .moon-intro { display: none; } }

/* the header Reserve stays on phones (compact) */
@media (max-width: 720px) {
  .hud-reserve { display: inline-flex; align-items: center; min-height: 34px; padding: 0 0.75em; letter-spacing: 0.12em; }
}
@media (max-width: 359px) { .hud-chip #chipState, .hud-chip > span:nth-child(3) { display: none; } }

/* the terms at the form, the no-JS line */
.reserve-terms { margin: 0.9rem 0 0; max-width: 46ch; font-size: 0.875rem; line-height: 1.5; color: inherit; opacity: 0.92; }
.reserve-nojs { margin: 0 0 1rem; font-size: var(--t-body); line-height: 1.5; }
.reserve-nojs a { color: inherit; }

/* skip link */
.skip-link { position: fixed; z-index: 1000; left: 12px; top: 12px; padding: 0.7rem 1rem; border-radius: 6px; background: #ede9e3; color: #0b0d10; font-weight: 800; text-decoration: none; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

/* the Huddle strip is focusable now: a visible focus ring */
.hud-phones:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; border-radius: 8px; }

/* the header chip is the scroll clock; ONE DAY has its own clock, so the chip steps aside there */
html.od-on .hud-chip { opacity: 0; transition: opacity 0.3s; }

/* 052 · P1-06: small functional text reads at 4.5:1 or more in its real scroll context, and at 12 px or more on phones */
@media (max-width: 720px) { :root { --t-micro: 0.75rem; } }
.eyebrow, .kit-cap-name, .why-eyebrow, .scene-time, .rit-tag, .state-time { opacity: 0.9; }
.state-time { color: var(--ink); }
.state-time::first-letter { color: inherit; }
.reserve-label, .footer > .micro, .footer-links, .footer-links a, .app-try-cap { color: color-mix(in srgb, var(--ink) 80%, transparent); }
.guarantee-micro { opacity: 1; }
@media (max-width: 720px) { .guarantee-micro, .offer .risk .guarantee-micro { font-size: 0.75rem; letter-spacing: 0.06em; } }
@media (max-height: 700px) and (max-width: 899px) { .od-rit { width: min(46vw, 21svh); bottom: 25svh; } }

/* 053 · desktop: the photo stands uncropped (4:5) in the right column where the bottle was; the ending keeps the full-bleed frame */
@media (min-width: 900px) {
  .od-ph:not([data-i="6"]) { inset: auto; right: 7vw; top: 15svh; height: 72svh; width: auto; aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden; }
  .od-ph.on:not([data-i="6"]) { opacity: 0.88; }
  .od-ph[data-i="6"] img { object-position: 50% 78%; }
  .od-stick:not(.od-end-host) .od-photos::after { background: linear-gradient(180deg, rgba(6, 7, 10, 0.35), rgba(6, 7, 10, 0) 30%, rgba(6, 7, 10, 0.5)); }
  .oneday.od-end-on .od-photos::after { background: rgba(6, 7, 10, 0.45); }
}

/* 055 · per-photo framing on phones: the hallway photo framed left so the UNWIND bottle stays in view */
@media (max-width: 899px) {
  .od-ph[data-i="5"] img { object-position: 0% 50%; }
}

/* 057 · the headline above the clock and the small line under it */
.od-head { position: absolute; z-index: 3; left: 16px; right: 16px; top: calc(max(5.6rem, 11svh) + 1.5rem); margin: 0; text-align: center; font-size: clamp(1.05rem, 4.6vw, 1.5rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; color: #ede9e3; text-wrap: balance; transition: opacity 0.4s; }
.od-clock { top: calc(max(5.6rem, 11svh) + 4.4rem); }
.od-sub { position: absolute; z-index: 3; left: 16px; right: 16px; top: calc(max(5.6rem, 11svh) + 4.4rem + min(29vw, 30svh) * 1.4 + 0.6rem); margin: 0; text-align: center; color: rgba(237, 233, 227, 0.86); letter-spacing: 0.14em; transition: opacity 0.4s; }
.oneday.od-end-on :is(.od-head, .od-sub) { opacity: 0; }
@media (max-height: 700px) and (max-width: 899px) { .od-clock { font-size: min(26vw, 24svh); } .od-sub { top: calc(max(5.6rem, 11svh) + 4.4rem + min(26vw, 24svh) * 1.4 + 0.5rem); } .od-rit { bottom: 22svh; width: min(40vw, 18svh); } }
@media (min-width: 900px) {
  .od-head { left: 6vw; right: auto; text-align: left; top: calc(17svh + 1.8rem); font-size: clamp(1.4rem, 2vw, 2rem); max-width: 30ch; }
  .od-clock { top: calc(17svh + 5.4rem); }
  .od-sub { left: 6vw; right: auto; text-align: left; top: calc(17svh + 5.4rem + min(17vw, 31svh) * 1.4 + 0.8rem); }
  .od-beats { top: calc(17svh + 5.4rem + min(17vw, 31svh) * 1.4 + 3.6rem); }
}
@media (prefers-reduced-motion: reduce) { .od-head, .od-sub { position: static; text-align: left; margin: 0 0 1.2rem; } }
.od-head, .od-sub { text-shadow: 0 1px 14px rgba(6, 7, 10, 0.85); }

/* 060 · the founders set on the exact page black: no card, no edge */
.strip { background: #000; }
.strip-kit { border-radius: 0; }

/* 060 · three beats: a shorter stage; the per-photo phone framing now comes from data-pos in the data block */
.od-ph[data-i="5"] img { object-position: unset; }


/* 064b · data-fit="bottom" (phones): the whole photo at full width, sitting at the bottom of the stage, so its action (the
   UNWIND mist) is clear of the clock; the top edge fades into the stage. Desktop keeps the 4:5 frame in the right column. */
@media (max-width: 899px) {
  .od-ph--bottom img { position: absolute; left: 0; right: 0; top: auto; bottom: 0; width: 100%; height: auto; aspect-ratio: 4 / 5; object-position: 50% 50%; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%); mask-image: linear-gradient(180deg, transparent 0, #000 14%); }
}

/* 066 · pacing: the section height and the beat segments come from v6/oneday.js (one segment per beat, 90/120/90/40svh, PERFORM the longest);
   without JS the old 220svh stays. Every change between beats is opacity or transform, 0.4 s at most. */
.oneday { position: relative; }
.od-seg { position: absolute; left: 0; width: 1px; opacity: 0; pointer-events: none; }
.od-stick { background: #06070a; transition: none; }
.od-tint { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity 0.35s cubic-bezier(0.4, 0, 0.6, 1); }
.od-tint[data-s="prime"] { background: color-mix(in srgb, #9fe6d3 13%, #06070a); }
.od-tint[data-s="perform"] { background: color-mix(in srgb, #ffd400 13%, #06070a); }
.od-tint[data-s="unwind"] { background: color-mix(in srgb, #c58cf2 13%, #06070a); }
.od-tint.on { opacity: 1; }
.od-ph { transition: opacity 0.35s cubic-bezier(0.4, 0, 0.6, 1); }
.od-reel { transition: transform 0.4s cubic-bezier(0.65, 0.05, 0, 1); }
.od-beat { transition: opacity 0.35s cubic-bezier(0.4, 0, 0.6, 1), transform 0.35s cubic-bezier(0.65, 0.05, 0, 1); }
.od-colon { transition: none; }
.od-end { transition: opacity 0.35s cubic-bezier(0.4, 0, 0.6, 1); }
.od-stick.flood .od-flood { animation-duration: 0.4s; }
@media (prefers-reduced-motion: reduce) { .od-seg, .od-tint { display: none; } }
/* 065 · day one by email, under the strip: one line, one field, one quiet button; the success replaces nothing, one line below */
.dayone { order: 3; grid-column: 1 / -1; margin: 1rem 0 0; padding-top: 1.6rem; border-top: 1px solid rgba(237, 233, 227, 0.14); max-width: 40rem; }
.dayone-h { margin: 0 0 0.8rem; font-size: var(--t-body); font-weight: 700; line-height: 1.4; color: #ede9e3; }
.dayone-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.dayone .wait-input { color: #ede9e3; background: rgba(237, 233, 227, 0.05); border-color: rgba(237, 233, 227, 0.24); }
.dayone .wait-input::placeholder { color: rgba(237, 233, 227, 0.55); }
.dayone .wait-input:focus { border-color: #ede9e3; }
.dayone-btn { flex: 0 0 auto; min-height: 44px; padding: 1.1rem 1.4rem; font: inherit; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: #ede9e3; background: transparent; border: 1px solid rgba(237, 233, 227, 0.6); border-radius: 3px; cursor: pointer; }
.dayone-btn:hover, .dayone-btn:focus-visible { border-color: #ede9e3; }
.dayone-btn:disabled { opacity: 0.5; cursor: default; }
.dayone-terms { margin: 0.8rem 0 0; color: rgba(237, 233, 227, 0.72); text-transform: none; letter-spacing: 0.02em; }
.dayone-terms a { color: inherit; }
.dayone-msg { margin: 0.6rem 0 0; min-height: 1.5em; font-size: var(--t-body); color: #ede9e3; }
.dayone.sent .dayone-row, .dayone.sent .dayone-terms { display: none; }
@media (max-width: 520px) { .dayone-btn { width: 100%; } }
@media (min-width: 900px) { .dayone { margin-top: 0; } }
.dayone .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
