/* The daily-routine story keeps the existing graphite, porcelain and champagne materials. */
.hero-routine { min-height: min(900px, 100svh); padding: calc(var(--top-h) + 28px) 0 40px; align-items: center; }
.hero-routine .hero-plate img { animation: none; transform: none; opacity: .5; }
.hero-routine::after { background: linear-gradient(90deg, rgba(14,14,16,.85), rgba(14,14,16,.2)), linear-gradient(0deg, var(--night), transparent 42%); }
.hero-routine .hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "copy stage" "actions stage"; align-items: center; gap: 0 clamp(24px, 5vw, 76px); }
.hero-routine .hero-copy { grid-area: copy; align-self: end; }
.hero-routine .display { font-size: clamp(58px, 6.5vw, 90px); line-height: 1.02; letter-spacing: -.025em; }
.hero-routine .lead { max-width: 27em; margin-top: 24px; font-size: 19px; line-height: 1.55; opacity: 1; animation: none; }
.hero-actions { grid-area: actions; align-self: start; }
.hero-routine .store-row { margin-top: 30px; opacity: 1; animation: none; }
.hero-routine .hero-note { opacity: 1; animation: none; }
.js .hero-routine .lead, .js .hero-routine .store-row, .js .hero-routine .hero-note { opacity: 1; animation: none; }
.hero-tour-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 18px; color: var(--ash); font-size: 14px; text-decoration: none; }
.hero-tour-link svg { width: 18px; height: 18px; }
.hero-tour-link:hover { color: var(--ivory); }

.routine { grid-area: stage; min-width: 0; width: 100%; max-width: 540px; justify-self: end; margin: 0; }
.routine-visual { position: relative; height: 535px; isolation: isolate; }
.routine-phone {
  position: absolute; z-index: 2; top: 4px; left: 12%; width: 244px; aspect-ratio: 1320 / 2868;
  padding: 6px; border-radius: 38px; background: linear-gradient(145deg, #625c50, #242326 24%, #393631 80%, #807461);
  box-shadow: 10px 28px 44px -18px rgba(0,0,0,.72); transform: rotate(-3deg);
  transition: transform 700ms cubic-bezier(.16,1,.3,1);
}
.routine-phone-screen { position: relative; height: 100%; overflow: hidden; border-radius: 32px; background: var(--night); }
.routine-screen { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateX(12px); transition: opacity 400ms ease-out, transform 600ms cubic-bezier(.16,1,.3,1); }
.routine-screen.is-current { opacity: 1; visibility: visible; transform: none; }
.routine-screen > img { width: 100%; height: 100%; object-fit: cover; }
.routine[data-phase="1"] .routine-phone { transform: rotate(1deg) translateY(-6px); }
.routine[data-phase="2"] .routine-phone { transform: rotate(0) translateY(-2px); }
.routine-plinth { position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 70px; border-top: 1px solid rgba(200,169,107,.22); border-radius: 50%; background: radial-gradient(ellipse at top, rgba(200,169,107,.12), transparent 70%); }
.routine-pep { position: absolute; z-index: 3; right: 4%; bottom: 20px; width: 128px; filter: drop-shadow(8px 18px 12px rgba(0,0,0,.4)); transform-origin: 50% 100%; transition: transform 600ms cubic-bezier(.16,1,.3,1); }
.routine[data-phase="1"] .routine-pep { transform: translateY(-8px) rotate(-5deg); }
.routine[data-phase="2"] .routine-pep { transform: rotate(4deg); }
.routine-vial { position: absolute; z-index: 3; left: 0; bottom: 20px; width: 68px; aspect-ratio: 512 / 1280; transform: rotate(-5deg); transition: opacity 400ms, transform 600ms cubic-bezier(.16,1,.3,1); }
.routine[data-phase="2"] .routine-vial { opacity: .5; transform: translateY(8px) rotate(-5deg); z-index: 1; }
.routine-vial > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.routine-vial > span { position: absolute; inset: 48% 7% auto; height: 26%; display: grid; place-items: center; background: var(--ivory); color: var(--night); font: 12px var(--serif); }
.routine-liquid { position: absolute; left: 9%; right: 9%; bottom: 14%; height: 50%; background: linear-gradient(90deg, #9f824b, #dac18a 45%, #ad8d4d); transform-origin: center bottom; transform: scaleY(.82); transition: transform 900ms cubic-bezier(.16,1,.3,1); }
.routine[data-phase="1"] .routine-liquid, .routine[data-phase="2"] .routine-liquid { transform: scaleY(.64); }
.routine-cues { position: absolute; z-index: 3; right: 0; top: 125px; width: 165px; }
.routine-cue { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(10px); transition: opacity 300ms ease, transform 500ms cubic-bezier(.16,1,.3,1); }
.routine-cue.is-current { opacity: 1; transform: none; }
.routine-cue > span { font-size: 13px; color: var(--ash); }
.routine-cue strong { display: block; margin: 8px 0 14px; font: 28px/1.08 var(--serif); color: var(--ivory); }
.routine-cue-line { display: flex; align-items: center; gap: 8px; color: var(--gold); }
.routine-cue-line svg { width: 20px; height: 20px; }
.routine-cue-line i { height: 1px; width: 74px; background: var(--gold-deep); transform: scaleX(.4); transform-origin: left; transition: transform 800ms ease; }
.routine-cue.is-current .routine-cue-line i { transform: scaleX(1); }
.routine-controls { display: flex; gap: 8px; margin-top: 20px; }
.routine-controls[hidden] { display: none; }
.routine-controls button { flex: 1; min-width: 0; min-height: 46px; padding: 8px 4px; border: 0; border-bottom: 1px solid var(--line-up); background: transparent; color: var(--ash); font: 500 14px var(--sans); cursor: pointer; transition: border-color 200ms, color 200ms; }
.routine-controls button:hover, .routine-controls button[aria-pressed="true"] { color: var(--ivory); border-bottom-color: var(--gold); }
.routine-caption { min-height: 88px; padding-top: 16px; }
.routine-caption h2 { font: 27px/1.1 var(--serif); }
.routine-caption p { margin-top: 8px; color: var(--ash); font-size: 14px; line-height: 1.5; max-width: 36em; }
.routine-player { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; color: var(--ash); font-size: 11px; }
.routine-player button { min-height: 44px; min-width: 64px; border: 0; padding: 8px 0 8px 12px; background: transparent; color: var(--gold-text); font: 500 13px var(--sans); cursor: pointer; }
.routine-player button:hover { text-decoration: underline; text-underline-offset: 4px; }
.routine-journal { padding: 30px 16px 20px; background: linear-gradient(160deg, #26231e, var(--night) 45%); }
.routine-journal-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 44px; font: 17px var(--serif); color: var(--ash); }
.routine-journal-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.routine-journal-title { font: 31px/1.05 var(--serif); }
.routine-journal-note { margin-top: 12px; color: var(--ash); font-size: 11px; }
.routine-records { list-style: none; padding: 0; margin: 32px 0 0; }
.routine-records li { display: flex; align-items: center; gap: 8px; padding: 18px 0; border-top: 1px solid var(--line); }
.routine-records strong { display: block; font-size: 12px; font-weight: 500; }
.routine-records small { display: block; margin-top: 4px; font-size: 10px; line-height: 1.4; color: var(--ash); }
.routine-record-icon { color: var(--gold-text); flex: none; }
.routine-record-icon svg { width: 20px; height: 20px; }
.routine-records li > svg { margin-left: auto; width: 14px; flex: none; color: var(--gold-text); }
.routine-journal-foot { margin-top: 30px; font: 18px/1.25 var(--serif); color: var(--ash); }
.routine-journal.is-current .routine-records li { animation: record-arrive 500ms cubic-bezier(.16,1,.3,1) both; }
.routine-journal.is-current .routine-records li:nth-child(2) { animation-delay: 100ms; }
.routine-journal.is-current .routine-records li:nth-child(3) { animation-delay: 200ms; }
@keyframes record-arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* The detailed app tour is selectable, rather than a long forced scroll sequence. */
.tour { padding-top: clamp(64px, 8vw, 108px); }
.tour-select { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0; }
.tour-select button { min-height: 44px; padding: 10px 20px; border: 1px solid var(--line-up); border-radius: 8px; background: transparent; color: var(--ash); font: 500 15px var(--sans); cursor: pointer; }
.tour-select button[aria-pressed="true"] { background: var(--ivory); color: var(--night); border-color: var(--ivory); }
.tour-select button:hover { border-color: var(--gold); }
.is-interactive .tour-grid { align-items: center; }
.is-interactive .tour-stage { position: relative; top: auto; height: 650px; }
.is-interactive .tour-stage .phone { --pw: 270px; }
.is-interactive .tour-step { min-height: 0; padding: 0; }
.is-interactive .tour-step[hidden] { display: none; }
.is-interactive .tour-stage .chip-layer { display: none; }
.is-interactive .tour-progress { bottom: 0; }
.is-interactive .tour-progress span { width: 28px; transition: background-color 200ms; }
.is-interactive .phone-shot { transition: opacity 350ms ease-out, transform 500ms cubic-bezier(.16,1,.3,1); }

@media (max-width: 1100px) and (min-width: 901px) {
  .hero-routine .display { font-size: 64px; }
  .routine-visual { height: 475px; }
  .routine-phone { width: 214px; left: 5%; }
  .routine-cues { width: 130px; top: 100px; }
  .routine-pep { width: 100px; right: 0; }
  .routine-vial { width: 54px; left: -8px; }
  .routine-cue strong { font-size: 24px; }
}
@media (max-width: 900px) {
  .hero-routine { min-height: 0; padding-top: calc(var(--top-h) + 26px); }
  .hero-routine .hero-in { grid-template-columns: 1fr; grid-template-areas: "copy" "stage" "actions"; gap: 28px; max-width: 640px; }
  .hero-routine .hero-copy { text-align: center; }
  .hero-routine .display { font-size: clamp(44px, 7vw, 64px); }
  .hero-routine .lead { margin: 16px auto 0; font-size: 17px; max-width: 30em; }
  .hero-actions { text-align: center; }
  .hero-routine .store-row { justify-content: center; margin-top: 0; }
  .routine { justify-self: center; max-width: 480px; }
  .routine-visual { height: 510px; }
  .routine-phone { width: 232px; }
  .routine-cues { width: 140px; }
  .routine-caption { text-align: center; }
  .routine-player { justify-content: center; }
  .is-interactive .tour-grid { gap: 24px; }
  .is-interactive .tour-stage { display: grid; height: 540px; }
  .is-interactive .tour-stage .phone { --pw: 230px; }
  .is-interactive .tour-shot { display: none; }
  .is-interactive .tour-step { max-width: 32em; justify-self: center; }
  .tour-select { justify-content: center; gap: 6px; }
  .tour-select button { padding: 10px 14px; }
}
@media (max-width: 600px) {
  .hero-routine { padding-bottom: 20px; }
  .hero-routine .hero-in { gap: 20px; }
  .hero-routine .display { font-size: clamp(38px, 10.5vw, 52px); line-height: 1.04; }
  .hero-routine .lead { font-size: 16px; line-height: 1.5; max-width: 24em; }
  .routine-visual { height: clamp(304px, 94vw, 388px); }
  .routine-phone { left: 16%; top: 0; width: 46%; padding: 4px; border-radius: 27px; transform: rotate(-2deg); }
  .routine-phone-screen { border-radius: 23px; }
  .routine-cues { right: 0; top: 80px; width: 34%; }
  .routine-cue > span { font-size: 11px; }
  .routine-cue strong { font-size: 23px; margin: 6px 0 10px; }
  .routine-cue-line i { width: 44px; }
  .routine-pep { width: 24%; right: 4%; bottom: 16px; }
  .routine-vial { width: 14%; left: 0; bottom: 16px; }
  .routine-vial > span { font-size: 10px; }
  .routine-controls { margin-top: 8px; }
  .routine-caption { min-height: 87px; padding-top: 14px; }
  .routine-caption h2 { font-size: 24px; }
  .routine-caption p { font-size: 13px; max-width: 27em; margin: 6px auto 0; }
  .routine-player { min-height: 36px; gap: 8px; font-size: 10px; }
  .routine-player button { font-size: 12px; }
  .routine-journal { padding: 18px 10px 12px; }
  .routine-journal-top { font-size: 12px; margin-bottom: 22px; }
  .routine-journal-title { font-size: 24px; }
  .routine-journal-note { font-size: 9px; margin-top: 7px; }
  .routine-records { margin-top: 16px; }
  .routine-records li { gap: 6px; padding: 12px 0; }
  .routine-records strong { font-size: 10px; }
  .routine-records small { font-size: 8px; }
  .routine-record-icon svg { width: 15px; height: 15px; }
  .routine-records li > svg { width: 10px; }
  .routine-journal-foot { font-size: 13px; margin-top: 18px; }
  .hero-routine .store { min-height: 52px; padding: 8px 12px; gap: 8px; }
  .hero-routine .store strong { font-size: 14px; }
  .hero-routine .store small { font-size: 11px; }
  .hero-routine .store-row { gap: 8px; }
  .hero-routine .hero-note { font-size: 12px; margin-top: 12px; }
  .hero-tour-link { margin-top: 6px; }
}
@media (max-width: 360px) {
  .routine-journal { padding: 14px 8px; }
  .routine-journal-top { margin-bottom: 12px; }
  .routine-journal-title { font-size: 20px; }
  .routine-records li { padding: 10px 0; }
  .routine-journal-foot { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .routine-phone, .routine-screen, .routine-pep, .routine-cue, .routine-liquid, .routine-cue-line i, .is-interactive .phone-shot { transition: none; }
  .routine-journal.is-current .routine-records li { animation: none; }
  .routine-phone, .routine[data-phase] .routine-phone { transform: none; }
}
