/* Desire Hair Salon II — "8 to 9"
   The palette is a time of day: JS moves --bg/--ink/--accent from 8 AM cream to 9 PM plum as you scroll the hero.
   Everything after the hero lives in the night palette (the CSS defaults below). */
:root {
  --bg: #0b0c0e;
  --ink: #ece7de;
  --accent: #ff9f1c;
  --glow: rgba(255, 159, 28, .16);
  --sunx: 78%;
  --suny: 22%;
  --mute: color-mix(in srgb, var(--ink) 60%, var(--bg));
  --line: color-mix(in srgb, var(--ink) 13%, transparent);
  --line-2: color-mix(in srgb, var(--ink) 26%, transparent);
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --g: max(20px, env(safe-area-inset-left, 0px));
  --ease: cubic-bezier(.2, .8, .2, 1);
}
/* Registered so the ink color can fade (over time) when the day flips from light to dark. */
@property --ink { syntax: '<color>'; inherits: true; initial-value: #ece7de; }
html.js { transition: --ink .25s ease; }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--bg); }

.wrap { width: 100%; max-width: 1380px; margin: 0 auto; padding-left: var(--g); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.kicker { font: 500 12px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.small { font: 500 12px/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.display { font: 400 clamp(44px, 5.8vw, 92px)/.98 var(--serif); letter-spacing: -.02em; margin-top: 20px; text-wrap: balance; }
.display em, .statement em { color: var(--accent); }
.statement { font: 400 clamp(36px, 4.4vw, 68px)/1.04 var(--serif); letter-spacing: -.015em; text-wrap: balance; }
.sub { color: var(--mute); max-width: 48ch; margin-top: 20px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); font: 500 15px var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .18s var(--ease), border-color .25s, background-color .25s; }
.btn:hover { border-color: var(--ink); }
.btn:active { transform: scale(.97); }
.btn.solid { background: var(--accent); border-color: var(--accent); color: var(--bg); font-weight: 600; }
.btn.solid:hover { filter: brightness(1.06); }
.btn.sm { height: 40px; padding: 0 18px; font-size: 14px; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

.status { display: inline-flex; align-items: center; gap: 8px; font: 500 13px var(--sans); color: var(--mute); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--mute); flex: none; }
.status.open i { background: #4ade80; box-shadow: 0 0 10px #4ade80; }
.status.closed i { background: #f87171; }
.status.big { font-size: 16px; color: var(--ink); margin-bottom: 14px; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 40; padding-top: env(safe-area-inset-top, 0px); border-bottom: 1px solid transparent; transition: background-color .4s, border-color .4s; }
.nav.scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 74px; }
.brand { display: flex; align-items: baseline; gap: 6px; text-decoration: none; }
.brand-word { font: italic 500 30px/1 var(--serif); letter-spacing: -.02em; }
.brand-two { font: 500 13px var(--sans); letter-spacing: .2em; color: var(--accent); }
.links { display: flex; gap: 30px; font-size: 14px; }
.links a { text-decoration: none; color: var(--mute); transition: color .2s; }
.links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 16px; }

/* HERO: the day */
.day-track { position: relative; }
.day { position: relative; height: 100svh; min-height: 640px; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; }
html.js:not(.reduced) .day-track { height: 330vh; }
html.js:not(.reduced) .day { position: sticky; top: 0; }
.sky { position: absolute; inset: 0; z-index: -1; background: radial-gradient(46% 58% at var(--sunx) var(--suny), var(--glow), transparent 72%); }
.day-in { flex: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-top: 96px; }
.day-copy { min-width: 0; }
.lines { position: relative; height: 2.05em; margin-top: 26px; font: 400 clamp(54px, 7.2vw, 122px)/.98 var(--serif); letter-spacing: -.025em; }
.line { position: absolute; inset: 0 0 auto 0; }
.line span, .line em { display: block; }
.line em { color: var(--accent); font-style: italic; }
html.js:not(.reduced) .line:not(.is-on) { visibility: hidden; }
html:not(.js) .line:not(.is-on), .reduced .line:not(.is-on) { display: none; }
.line .mask { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line .mask > * { display: block; }
.lede { color: var(--mute); max-width: 46ch; margin-top: 26px; font-size: 18px; }
.day-dial { display: grid; place-items: center; min-width: 0; }
#heroDial { width: min(100%, 64vh, 580px); height: auto; aspect-ratio: 1; overflow: visible; }
.day-foot { display: flex; gap: 36px; align-items: center; border-top: 1px solid var(--line); padding-top: 16px; padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
.day-foot b { color: var(--ink); font-weight: 600; }
.cue { margin-left: auto; display: inline-flex; align-items: center; gap: 12px; }
.cue i { width: 1px; height: 26px; background: linear-gradient(var(--accent), transparent); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.reduced .cue, html:not(.js) .cue { display: none; }

/* dial */
.dial-svg { touch-action: none; user-select: none; -webkit-user-select: none; }
.d-track { fill: none; stroke: var(--line-2); stroke-width: 1.4; }
.d-fill { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; }
.d-ticks line { stroke: var(--mute); stroke-width: .9; opacity: .55; }
.d-ticks line.major { stroke: var(--ink); stroke-width: 1.6; opacity: 1; }
.d-labels text { font: 500 13px var(--sans); fill: var(--mute); letter-spacing: .04em; }
#bookDial .d-labels text { transition: opacity .3s; }
.d-labels text.off { opacity: .22; }
.d-hand { transform-box: view-box; transform-origin: 200px 200px; }
.d-needle { stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; }
.d-tip { fill: var(--accent); filter: drop-shadow(0 0 10px var(--accent)); }
.d-hub { fill: var(--ink); }
.d-now { fill: var(--bg); stroke: var(--ink); stroke-width: 2; }
.d-time { font: 400 46px var(--serif); fill: var(--ink); letter-spacing: -.02em; }
.d-sub { font: 500 11px var(--sans); fill: var(--mute); letter-spacing: .2em; text-transform: uppercase; }
html:not(.js) .day-dial, html:not(.js) .book-dial { display: none; }

/* sections */
.sec { padding-block: clamp(100px, 12vw, 170px); border-top: 1px solid var(--line); position: relative; }
.sec-head { max-width: 900px; margin-bottom: 60px; }

/* book */
.book-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.seg { display: inline-flex; margin-top: 34px; border: 1px solid var(--line-2); border-radius: 999px; padding: 4px; }
.seg-btn { all: unset; cursor: pointer; padding: 10px 22px; border-radius: 999px; font: 500 14px var(--sans); color: var(--mute); transition: background-color .25s, color .25s; }
.seg-btn[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.seg-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.book-note { margin-top: 12px; min-height: 18px; color: var(--accent); }
.cuts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip { height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); font: 500 15px var(--sans); cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, transform .18s var(--ease); }
.chip:hover { border-color: var(--ink); }
.chip:active { transform: scale(.97); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.summary { margin-top: 30px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 20px 22px; border: 1px solid var(--line-2); border-radius: 20px; }
.summary p { display: grid; gap: 4px; }
.summary strong { font: 400 28px/1.15 var(--serif); }
.fallback { margin-top: 14px; }
.fallback a { color: var(--ink); }
.book-dial { display: grid; justify-items: center; gap: 14px; }
/* Sized to the window height too, so the booking bar under the clock always fits on screen. */
#bookDial { width: min(100%, 520px, max(240px, 100svh - 330px)); aspect-ratio: 1; height: auto; overflow: visible; cursor: grab; }
#bookDial.dragging { cursor: grabbing; }
#bookDial:focus, #bookDial:focus-visible { outline: none; }
#bookDial:focus-visible .d-track { stroke: var(--accent); stroke-width: 2.4; }
#bookDial .d-hand { transition: transform .45s cubic-bezier(.34, 1.4, .5, 1); }
#bookDial.dragging .d-hand { transition: transform .08s linear; }
#bookDial .d-labels text:not(.off) { fill: var(--ink); }

/* booking bar under the clock */
.dial-bar { width: min(100%, 520px); display: grid; justify-items: center; gap: 12px; text-align: center; margin-top: -6px; }
.day-step { display: inline-flex; align-items: center; gap: 14px; font: 500 13px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.day-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--ink); font: 400 22px/1 var(--serif); cursor: pointer; display: grid; place-items: center; padding-bottom: 3px; transition: border-color .2s, background-color .2s, transform .18s var(--ease); }
.day-arrow:hover:not(:disabled) { border-color: var(--accent); }
.day-arrow:active:not(:disabled) { transform: scale(.94); }
.day-arrow:disabled { opacity: .25; cursor: not-allowed; }
.dial-pick { display: grid; gap: 4px; }
.dial-pick strong { font: 400 26px/1.15 var(--serif); letter-spacing: -.01em; }
.dial-book { min-width: 220px; height: 54px; font-size: 16px; }
.dial-bar .dial-help { max-width: 40ch; line-height: 1.6; }
.dial-bar .dial-help a { color: var(--accent); }

/* appointment request form */
.book-grid { align-items: start; }
.book-dial { position: sticky; top: 96px; }
.book-form { margin-top: 34px; display: grid; gap: 26px; }
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step[hidden] { display: none; }
.step legend { padding: 0; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.step legend b { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--accent); color: var(--bg); font-size: 11px; letter-spacing: 0; }
.hint-inline { text-transform: none; letter-spacing: 0; font-size: 12px; opacity: .8; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-price { opacity: .65; margin-left: 4px; font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] .chip-price { opacity: .85; }
.dates { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.date { display: grid; justify-items: center; gap: 2px; padding: 10px 0 12px; border-radius: 14px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); cursor: pointer; font: 500 11px var(--sans); letter-spacing: .1em; text-transform: uppercase; transition: background-color .25s, color .25s, border-color .25s; }
.date b { font: 400 26px/1 var(--serif); letter-spacing: -.01em; text-transform: none; }
.date:hover:not(:disabled) { border-color: var(--ink); }
.date[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.date:disabled { opacity: .3; cursor: not-allowed; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; max-height: 196px; overflow-y: auto; padding-right: 4px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.time { height: 42px; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); font: 500 14px var(--sans); cursor: pointer; font-variant-numeric: tabular-nums; transition: background-color .2s, color .2s, border-color .2s; }
.time:hover { border-color: var(--ink); }
.time[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.field { display: grid; gap: 6px; }
.field.wide { grid-column: 1 / -1; }
.field input { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); color: var(--ink); font: 17px var(--sans); padding: 10px 0; border-radius: 0; transition: border-color .25s; }
.field input:focus { outline: none; border-bottom-color: var(--accent); }
.field input::placeholder { color: color-mix(in srgb, var(--ink) 35%, transparent); }
.summary strong { font-size: 24px; }
.summary p { gap: 6px; }
.form-note.ok { color: var(--ink); }
.form-note a { color: var(--accent); }
.hp { position: absolute; left: -9999px; }

/* menu */
.menu-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.item { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.2fr) 120px 110px; gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); position: relative; transition: padding .45s var(--ease); }
.item::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%); opacity: 0; transition: opacity .35s; pointer-events: none; }
.item:hover::before { opacity: 1; }
.item:hover { padding-left: 14px; }
.n { font: italic 400 18px var(--serif); color: var(--mute); }
.item h3 { font: 400 clamp(30px, 3vw, 46px)/1 var(--serif); letter-spacing: -.015em; }
.item p { color: var(--mute); font-size: 16px; }
.price { font: italic 400 clamp(32px, 3vw, 46px)/1 var(--serif); color: var(--accent); text-align: right; }
.book-this { all: unset; cursor: pointer; justify-self: end; font: 500 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); padding: 10px 0 6px; border-bottom: 1px solid var(--accent); opacity: .55; transition: opacity .25s; }
.item:hover .book-this, .book-this:focus-visible { opacity: 1; }
.note { margin-top: 22px; }

/* shop rail */
.shop-head { display: grid; gap: 22px; margin-bottom: 48px; max-width: 1100px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 27vw, 400px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 max(20px, env(safe-area-inset-right, 0px)) 24px max(var(--g), calc((100vw - 1380px) / 2 + 20px)); scroll-padding-left: max(var(--g), calc((100vw - 1380px) / 2 + 20px)); scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; cursor: grab; }
.rail.drag { cursor: grabbing; scroll-snap-type: none; }
.shot { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; scroll-snap-align: start; border-radius: 3px; background: color-mix(in srgb, var(--ink) 6%, var(--bg)); }
.shot img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) contrast(1.04); transform: scale(1.04); transition: transform 1.1s var(--ease), filter .6s; user-select: none; -webkit-user-drag: none; }
.shot:hover img { transform: scale(1.1); filter: saturate(1); }
.shot figcaption { position: absolute; left: 12px; bottom: 12px; font: 500 10px var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.rail-help { margin-top: 6px; }

/* reviews */
.rev-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.score { position: sticky; top: 110px; display: grid; gap: 12px; justify-items: start; }
.big-num { font: 500 clamp(130px, 16vw, 240px)/.8 var(--sans); letter-spacing: -.05em; margin-top: 18px; color: var(--accent); }
.quotes { display: grid; gap: 40px; }
.quotes blockquote { margin: 0; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.quotes blockquote p { font: 400 clamp(24px, 2.2vw, 32px)/1.2 var(--serif); }
.quotes .q-lead p { font-size: clamp(34px, 3.6vw, 56px); line-height: 1.06; letter-spacing: -.015em; }

/* visit */
.visit-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.hours-card { border: 1px solid var(--line-2); border-radius: 24px; padding: 28px; }
.hours { list-style: none; margin: 0 0 16px; padding: 0; font-size: 15px; color: var(--mute); }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.hours li.today { color: var(--ink); }
.hours li.today span:first-child::after { content: " · today"; color: var(--accent); }

/* faq */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 100px); }
.faq details { border-top: 1px solid var(--line); padding: 22px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font: 400 24px/1.25 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); color: var(--accent); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--mute); margin-top: 12px; max-width: 60ch; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: clamp(80px, 10vw, 140px) 0 calc(40px + env(safe-area-inset-bottom, 0px)); overflow: hidden; }
.foot-cta { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }
.wordmark { font: italic 400 clamp(110px, 24vw, 380px)/.82 var(--serif); letter-spacing: -.04em; margin: clamp(60px, 8vw, 110px) 0 40px; white-space: nowrap; }
.wordmark span { font: 500 .16em var(--sans); letter-spacing: .2em; color: var(--accent); vertical-align: top; }
.foot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.foot-grid p { color: var(--mute); margin-top: 10px; font-size: 15px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--accent); }
.fine { margin-top: 28px; font-size: 10px; line-height: 1.8; }
.fine + .fine { margin-top: 4px; }

.split-line { padding-bottom: .08em; }
.callbar { display: none; }

/* cursor + grain */
.cursor { position: fixed; left: 0; top: 0; z-index: 90; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; border: 1px solid var(--accent); pointer-events: none; opacity: 0; transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), opacity .3s, background-color .3s; }
.cursor.live { opacity: .9; }
.cursor.link { width: 54px; height: 54px; margin: -27px 0 0 -27px; background: color-mix(in srgb, var(--accent) 14%, transparent); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
.grain { position: fixed; inset: -50%; z-index: 80; pointer-events: none; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(0, 0); } }

/* tablet / portrait: dial above the copy */
@media (max-width: 1000px), (max-aspect-ratio: 1/1) {
  .links { display: none; }
  .day-in { grid-template-columns: 1fr; gap: 10px; align-content: center; padding-top: 84px; }
  .day-dial { order: -1; }
  #heroDial { width: min(78vw, 40vh, 460px); }
  .lines { font-size: clamp(44px, 9vw, 84px); margin-top: 14px; }
  .lede { font-size: 16px; margin-top: 16px; }
  .ctas { margin-top: 20px; }
  .book-grid, .rev-grid, .visit-grid, .faq-grid { grid-template-columns: 1fr; }
  .book-dial { order: -1; position: static; }
  .fields { grid-template-columns: 1fr; }
  .dates { gap: 5px; }
  .date b { font-size: 22px; }
  #bookDial { width: min(86vw, 440px); }
  .score { position: static; }
  .item { grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-areas: "n h price" "n p p" "n b b"; gap: 6px 16px; }
  .item .n { grid-area: n; } .item h3 { grid-area: h; } .item p { grid-area: p; } .item .price { grid-area: price; } .item .book-this { grid-area: b; justify-self: start; opacity: 1; }
}
@media (max-aspect-ratio: 1/1) and (max-height: 760px) {
  .lede { display: none; }
  #heroDial { width: min(70vw, 36vh); }
}

/* phone */
@media (max-width: 760px) {
  .hide-sm { display: none !important; }
  .nav-right .status { display: none; }
  .day { min-height: 560px; }
  .day-foot { gap: 18px; }
  .day-foot .small:not([data-status-text]):not(.cue) { display: none; }
  .day-foot .small:first-child { display: inline; }
  .cue { display: none; }
  .d-time { font-size: 52px; }
  .d-labels text { font-size: 15px; }
  .summary { padding: 18px; }
  .foot-grid { grid-template-columns: 1fr; }
  .wordmark { font-size: 30vw; }
  .callbar { display: flex; position: fixed; inset: auto 0 0; z-index: 45; gap: 8px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .45s var(--ease); }
  .callbar.show, html:not(.js) .callbar { transform: none; }
  .callbar .btn { flex: 1; height: 46px; }
  .foot { padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
