/* BOOKING-06: the "Studio" look (Sin chose it 2026-11-02). Black, icy white, crimson kept for the one action (Book) and
   the razor line. One memorable thing: the pinned opening scene (motion.js); the rest stays quiet. */
:root {
  --ink: #08080a;
  --ink-2: #121216;
  --line: #24242b;
  --ice: #eef3f7;
  --ice-2: #b9c2ca;
  --dim: #8e979f;
  --crimson: #e8194a;
  --crimson-hi: #ff3b66;
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --gutter: clamp(18px, 5vw, 64px);
  --measure: 68ch;
  /* the left edge every section's content shares (sections are 1240px wide, centred) */
  --edge: max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter)));
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); color: var(--ice); color-scheme: dark; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--ice); font: 400 17px/1.55 var(--body); font-feature-settings: "ss01", "cv11"; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--crimson-hi); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip { position: absolute; left: 12px; top: -60px; padding: 10px 14px; background: var(--ice); color: var(--ink); border-radius: 8px; z-index: 20; }
.skip:focus { top: 12px; }

/* Header: a slim bar that floats over the page and lets it show through. */
.bar {
  position: fixed; inset: 12px var(--gutter) auto; z-index: 10; height: 56px; padding: 0 8px 0 18px;
  display: flex; align-items: center; gap: 20px; border-radius: 16px;
  background: rgb(8 8 10 / 0.62); border: 1px solid rgb(238 243 247 / 0.08);
  backdrop-filter: saturate(140%) blur(18px); -webkit-backdrop-filter: saturate(140%) blur(18px);
}
.mark { font: 700 18px/1 var(--display); letter-spacing: -0.02em; text-decoration: none; margin-right: auto; }
.bar nav { display: flex; gap: 22px; }
.bar nav a { text-decoration: none; color: var(--ice-2); font-size: 15px; padding: 12px 0; }
.bar nav a:hover, .bar nav a[aria-current] { color: var(--ice); }
.book-btn, .dock-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px;
  border-radius: 12px; background: var(--crimson); color: #fff; font-weight: 600; text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}
.book-btn:hover, .dock-btn:hover { background: var(--crimson-hi); }
.book-btn:active, .dock-btn:active { transform: scale(0.97); }
.dock { display: none; }

/* The opening scene. Without motion it is a still poster: photo, line, all three words. */
.scene { position: relative; height: 100svh; min-height: 560px; }
.scene-sticky { position: relative; height: 100%; overflow: hidden; display: grid; align-content: end; padding: 0 var(--edge) clamp(40px, 9vh, 96px); }
.scene-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.62) contrast(1.05); }
.scene-blank { background: radial-gradient(120% 80% at 70% 20%, #1c1c22 0%, var(--ink) 70%); }
.razor { position: absolute; top: 0; bottom: 0; left: calc(var(--edge) - 14px); width: 2px; background: var(--crimson); transform-origin: top; }
.scene-words { position: relative; margin: 0; font: 700 clamp(64px, 15vw, 196px)/0.86 var(--display); letter-spacing: -0.055em; display: grid; }
.scene-words span { display: block; }
.scene-sub { position: relative; margin: 18px 0 0; color: var(--ice-2); font-size: clamp(16px, 2vw, 20px); }

/* Sections */
.block { padding: clamp(72px, 12vh, 140px) var(--gutter) 0; max-width: 1240px; margin: 0 auto; }
.block.first { padding-top: 132px; }
.h1 { font: 700 clamp(44px, 8vw, 96px)/0.95 var(--display); letter-spacing: -0.045em; margin: 0 0 18px; }
.h2 { font: 700 clamp(32px, 5vw, 56px)/1 var(--display); letter-spacing: -0.035em; margin: 0 0 28px; }
.h3 { font: 600 22px/1.2 var(--display); margin: 40px 0 14px; color: var(--ice-2); }
.lede { color: var(--ice-2); max-width: var(--measure); margin: 0 0 32px; font-size: 19px; }
.text-link { color: var(--ice); text-underline-offset: 4px; text-decoration-thickness: 1px; padding: 10px 0; display: inline-block; }
.text-link:hover { color: var(--crimson-hi); }

/* The price board: big rows, the name against the price, like the board behind the chair. */
.board { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.row a {
  display: grid; grid-template-columns: 1fr auto; column-gap: 24px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; min-height: 44px;
}
.row-name { font: 600 clamp(22px, 3.2vw, 34px)/1.1 var(--display); letter-spacing: -0.02em; }
.row-price { font: 700 clamp(30px, 4.6vw, 52px)/1 var(--display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.row-meta { grid-column: 1 / -1; color: var(--dim); font-size: 15px; margin-top: 6px; }
.row.lead .row-name { font-size: clamp(30px, 5vw, 56px); }
.row.lead .row-price { font-size: clamp(40px, 7vw, 84px); }
.row a:hover .row-name, .row a:hover .row-price { color: var(--crimson-hi); }
.row a { transition: color 160ms ease; }
.after-board { color: var(--dim); margin: 18px 0 0; font-size: 15px; }

/* Recent work: a filmstrip that slides sideways. */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: min(72vw, 360px); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip figure, .grid figure { margin: 0; scroll-snap-align: start; }
.strip img, .grid img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; border-radius: 6px; background: var(--ink-2); }
figcaption { color: var(--dim); font-size: 14px; margin-top: 8px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.empty { color: var(--dim); border: 1px dashed var(--line); border-radius: 6px; padding: 28px; max-width: var(--measure); }

/* Visit */
.visit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 40px; align-items: start; }
.big-address { font: 600 clamp(24px, 3vw, 32px)/1.2 var(--display); margin: 0 0 6px; letter-spacing: -0.02em; }
.about { color: var(--ice-2); max-width: var(--measure); margin-top: 24px; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours th { font-weight: 500; color: var(--ice-2); width: 40%; }
.hours .late { display: block; color: var(--dim); font-size: 14px; }
.hours tr.today th, .hours tr.today td { color: var(--ice); }
.hours tr.today th::after { content: "Today"; margin-left: 10px; font-size: 13px; color: var(--crimson-hi); }
.faq { margin-top: 48px; max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 0; font: 600 20px/1.3 var(--display); list-style: none; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--dim); transition: transform 200ms ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--ice-2); margin: 0 0 20px; max-width: var(--measure); }

/* Footer */
.foot { margin-top: clamp(96px, 16vh, 180px); padding: 40px var(--gutter) 120px; border-top: 1px solid var(--line); color: var(--ice-2); }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; max-width: 1240px; margin: 0 auto; }
.foot-brand { font: 700 22px/1 var(--display); color: var(--ice); margin: 0 0 10px; }
.foot-links { display: flex; gap: 18px; }
.foot-links a { padding: 10px 0; }
.powered { max-width: 1240px; margin: 32px auto 0; color: var(--dim); font-size: 14px; }

/* Phones: the menu folds away and a Book bar stays at the bottom. */
@media (max-width: 760px) {
  .bar > nav { display: none; }
  .bar .book-btn { display: none; }
  .dock { display: block; position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 10; }
  .dock-btn { width: 100%; min-height: 56px; border-radius: 16px; font-size: 17px; box-shadow: 0 10px 30px rgb(0 0 0 / 0.5); }
}

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

/* BOOKING-10: the booking flow. Each step slides in when it opens (still under reduced motion). */
.book .step { margin-top: 36px; max-width: 760px; }
.book .step.is-in { animation: step-in 320ms cubic-bezier(.2, .7, .2, 1); }
@keyframes step-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.choices { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.choice { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; min-height: 56px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color 160ms ease, background-color 160ms ease; }
.choice:has(input:checked) { border-color: var(--crimson); background: rgb(232 25 74 / 0.08); }
.choice input { accent-color: var(--crimson); width: 20px; height: 20px; }
.choice-name { font: 600 19px/1.2 var(--display); }
.choice-meta { color: var(--ice-2); font-variant-numeric: tabular-nums; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.day, .time, .ghost-btn { min-height: 48px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--ink-2); color: var(--ice); font: 500 15px/1 var(--body); cursor: pointer; white-space: nowrap; }
.day[aria-pressed="true"] { border-color: var(--ice); background: var(--ice); color: var(--ink); }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.time { font-variant-numeric: tabular-nums; display: grid; place-content: center; gap: 2px; }
.time span { font-size: 12px; color: var(--dim); }
.time:hover, .day:hover, .ghost-btn:hover { border-color: var(--ice-2); }
.book form { display: grid; gap: 6px; }
.book form label { color: var(--ice-2); font-size: 14px; margin-top: 10px; }
.book form input:not([type="checkbox"]) { min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--ink-2); color: var(--ice); font: 400 16px var(--body); }
.book form input:focus { border-color: var(--ice-2); outline: none; }
.book .check { display: flex; gap: 10px; align-items: center; color: var(--ice-2); min-height: 44px; }
.book .check input { accent-color: var(--crimson); width: 20px; height: 20px; }
.summary { font: 600 20px/1.35 var(--display); margin: 0 0 6px; }
.book-msg { color: var(--crimson-hi); min-height: 1.3em; margin: 8px 0; }
.actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.muted-note { color: var(--dim); }

/* BOOKING-16: the About page. */
.about .person { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; margin-top: clamp(40px, 7vh, 72px); }
.headshot { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; background: var(--ink-2); }
.headshot-blank { border: 1px dashed var(--line); }
.wip { display: inline-block; margin: 0 0 12px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--crimson); color: var(--crimson-hi); font-size: 14px; }
.goals { margin-top: clamp(48px, 8vh, 88px); max-width: 820px; }
.goals ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.goals li { padding: 18px 0; border-bottom: 1px solid var(--line); font: 600 clamp(20px, 2.6vw, 26px)/1.3 var(--display); letter-spacing: -0.01em; }
@media (max-width: 640px) { .about .person { grid-template-columns: minmax(0, 1fr); } .headshot { max-width: 320px; } }

/* BOOKING-20: the work and the reviews cycle one slide at a time (cycle.js). The current slide is full strength; the
   one leaving dims and settles back as the row slides across. Without the script the row still swipes. */
.cycle { position: relative; }
.cycle-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.cycle-track::-webkit-scrollbar { display: none; }
.cycle-slide { scroll-snap-align: start; padding-right: 2px; opacity: 0.25; transform: scale(0.94); transition: opacity 520ms ease, transform 620ms cubic-bezier(.2, .7, .2, 1); }
.cycle-slide.is-on { opacity: 1; transform: none; }
.cycle-photos { max-width: 560px; }
.cycle-photos figure { margin: 0; }
.cycle-photos img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; border-radius: 6px; background: var(--ink-2); }
.cycle-photos figcaption { color: var(--ice-2); margin-top: 10px; min-height: 1.3em; }
.cycle-controls { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.cycle-btn { width: 48px; height: 48px; display: grid; place-content: center; border-radius: 999px; border: 1px solid var(--line); background: var(--ink-2); color: var(--ice); cursor: pointer; transition: border-color 160ms ease; }
.cycle-btn:hover { border-color: var(--ice-2); }
.cycle-btn:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }
.cycle-btn.is-paused { border-color: var(--crimson); }
.cycle-count { min-width: 4.5em; text-align: center; color: var(--dim); font-variant-numeric: tabular-nums; }
.reviews .score { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 0 0 28px; }
.score-num { font: 700 clamp(56px, 9vw, 96px)/0.9 var(--display); letter-spacing: -0.04em; }
.score-stars, .quote-stars { color: var(--crimson); letter-spacing: 0.12em; }
.score-count { color: var(--ice-2); }
.quote { margin: 0; max-width: 820px; min-height: 9em; }
.quote-stars { margin: 0 0 14px; font-size: 15px; }
.quote-text { margin: 0 0 18px; font: 600 clamp(24px, 3.6vw, 40px)/1.2 var(--display); letter-spacing: -0.015em; }
.quote footer { color: var(--dim); }
@media (prefers-reduced-motion: reduce) { .cycle-slide { transition: none; } }

/* CLIENTS-07: the account page. Lists are quiet rows; the referral code is the one thing set large. */
.account > div, .account > form { max-width: 760px; }
.acct-list { list-style: none; margin: 0 0 12px; padding: 0; border-top: 1px solid var(--line); }
.acct-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.acct-code { font: 700 28px/1 var(--display); letter-spacing: 0.12em; }
.account .stars { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.account .stars legend { color: var(--ice-2); font-size: 14px; margin-bottom: 8px; }
.account .star { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.account .star:has(input:checked) { border-color: var(--crimson); background: rgb(232 25 74 / 0.08); }
.account .star input { accent-color: var(--crimson); }
.account textarea { min-height: 96px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--ink-2); color: var(--ice); font: 400 16px/1.4 var(--body); }
.account form { display: grid; gap: 6px; }
.account label { color: var(--ice-2); font-size: 14px; margin-top: 10px; }
.account input:not([type="radio"]) { min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--ink-2); color: var(--ice); font: 400 16px var(--body); }
.acct-end { margin-top: 40px; }
#acct-msg.bad { color: var(--crimson-hi); }
.account [hidden] { display: none; }

/* BOOKING-22: the phone menu. Hidden on wide screens, where the links sit in the bar. */
.menu { display: none; position: relative; }
.menu summary { list-style: none; display: flex; align-items: center; min-height: 44px; min-width: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); color: var(--ice); font-weight: 600; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { border-color: var(--ice-2); }
.menu summary:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }
.bar .menu-links { position: absolute; right: 0; top: calc(100% + 10px); width: min(78vw, 300px); display: grid; gap: 2px; padding: 8px; border-radius: 16px; background: var(--ink-2); border: 1px solid var(--line); box-shadow: 0 18px 40px rgb(0 0 0 / 0.55); }
.bar .menu-links a { display: flex; align-items: center; min-height: 48px; padding: 0 12px; border-radius: 10px; color: var(--ice); font-size: 17px; text-decoration: none; }
.bar .menu-links a[aria-current] { background: rgb(238 243 247 / 0.07); }
.bar .menu-links .book-btn { justify-content: center; margin-top: 6px; color: #fff; }
@media (max-width: 760px) { .menu { display: block; } }
