/* Nonda's Barber Shop: concept site for a fictional barbershop
   Palette of a classic barbershop: walnut shadows, oxblood leather,
   worn wood, bronze fittings, cream walls. Single dark theme on purpose. */

:root {
  color-scheme: dark;
  --walnut: #120e0b;
  --walnut-2: #1a1410;
  --walnut-3: #241b15;
  --walnut-4: #2f241c;
  --cream: #f1e8d8;
  --cream-2: #d6cab5;
  --muted: #a3957f;
  --faint: #958771;
  --oxblood: #6b2c2a;
  --oxblood-2: #4e1f1d;
  --oxblood-3: #381514;
  --bronze: #b58a58;
  --bronze-2: #dcb683;
  --wood: #7a4a2d;
  --line: rgba(241, 232, 216, .12);
  --line-2: rgba(241, 232, 216, .24);
  --ok: #8dbb86;
  --no: #d0766c;

  --f-display: "Noto Serif Display", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-sign: "Sofia Sans Extra Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --f-body: "Commissioner", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  --header-h: 64px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; background: var(--walnut); scroll-behavior: smooth; scrollbar-color: var(--walnut-4) var(--walnut); caret-color: var(--bronze-2); }
html.lock { overflow: hidden; }
body {
  margin: 0;
  background: var(--walnut);
  color: var(--cream);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
:focus-visible { outline: 2px solid var(--bronze-2); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--oxblood); color: var(--cream); }

.skip { position: absolute; left: -9999px; top: 12px; z-index: 200; background: var(--cream); color: var(--walnut); padding: .6rem 1rem; border-radius: 8px; }
.skip:focus { left: 12px; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.grain {
  position: fixed; inset: 0; z-index: 120; pointer-events: none; opacity: .075;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 .95  0 0 0 0 .88  0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Type ---------- */
.hero-title, .h2, .h3, .statement-text {
  font-family: var(--f-display);
  font-weight: 400;
  font-variation-settings: "wdth" 90;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.hero-title em, .h2 em, .h3 em, .statement-text em, .hero-quote em, .pull em {
  font-style: italic; font-weight: 300; color: var(--bronze-2);
}
.h2 { font-size: clamp(2.2rem, 4.8vw, 4.4rem); line-height: 1.02; }
.h3 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.05; }
.lede { font-size: clamp(1.02rem, 1.25vw, 1.16rem); line-height: 1.65; color: var(--cream-2); max-width: 34em; }
mark { background: none; color: var(--bronze-2); box-shadow: inset 0 -1px 0 var(--bronze); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: 0 1.45rem;
  border: 1px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: .98rem; letter-spacing: .005em; text-decoration: none; white-space: nowrap;
  cursor: pointer; background: none;
  transition: transform .5s var(--ease), color .35s, border-color .35s, background-color .35s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(.97); }
.btn-cream { background: var(--cream); color: var(--walnut); }
.btn-cream::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--bronze-2); transform: translateY(102%); transition: transform .55s var(--ease);
}
.btn-cream:hover::before, .btn-cream:focus-visible::before { transform: none; }
.btn-ghost { border-color: var(--line-2); color: var(--cream); }
.btn-ghost:hover { border-color: var(--cream); background: rgba(241, 232, 216, .05); }
.btn-sm { min-height: 44px; padding: 0 1.1rem; font-size: .9rem; }
.btn-block { width: 100%; }
.linklike { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.icon-btn {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none;
  border-radius: 50%; border: 1px solid var(--line-2); background: none; cursor: pointer;
  transition: border-color .3s, transform .5s var(--ease);
}
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.icon-btn:hover { border-color: var(--cream); transform: rotate(90deg); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid transparent;
  transition: background-color .45s, border-color .45s, backdrop-filter .45s;
}
.site-header.is-scrolled {
  background: rgba(18, 14, 11, .74);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  backdrop-filter: blur(16px) saturate(1.25);
  border-bottom-color: var(--line);
}
.ribbon {
  display: flex; justify-content: center; align-items: center; gap: 1rem;
  height: 34px; overflow: hidden;
  font-size: .76rem; color: var(--muted); letter-spacing: .02em;
  background: rgba(0, 0, 0, .38);
  transition: height .45s var(--ease), opacity .3s;
}
.site-header.is-scrolled .ribbon { height: 0; opacity: 0; }
.ribbon { padding-inline: var(--gutter); }
.ribbon-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
a.ribbon-text { text-decoration: none; }
a.ribbon-text:hover { color: var(--cream-2); text-decoration: underline; text-underline-offset: 3px; }
.ribbon-demo {
  display: inline-flex; align-items: center; gap: .35rem; flex: none; height: 100%; padding: 0 .2rem;
  border: 0; background: none; cursor: pointer; font-size: .76rem; font-weight: 600; color: var(--bronze-2);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(220, 182, 131, .45);
}
.ribbon-demo svg { width: 13px; height: 13px; transition: transform .4s var(--ease); }
.ribbon-demo:hover svg { transform: translateX(3px); }
.bar {
  display: flex; align-items: center; gap: 1.5rem;
  height: var(--header-h); max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter);
}
.brand { display: flex; align-items: center; gap: .7rem; min-height: 44px; text-decoration: none; flex: none; }
.brand img { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line-2); }
.brand-word { display: flex; flex-direction: column; font-family: var(--f-display); font-style: italic; font-size: 1.4rem; line-height: 1; }
.brand-word small { margin-top: .22rem; font-family: var(--f-sign); font-style: normal; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; gap: 1.8rem; margin-inline: auto; }
.nav a { position: relative; text-decoration: none; font-size: .92rem; color: var(--cream-2); padding-block: .3rem; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--bronze-2); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover { color: var(--cream); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.bar-end { display: flex; align-items: center; gap: .9rem; margin-left: auto; }
.bar-phone { font-family: var(--f-sign); font-size: 1.12rem; letter-spacing: .08em; text-decoration: none; color: var(--cream-2); }
.bar-phone:hover { color: var(--cream); }
.lang { display: flex; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; }
.lang button {
  border: 0; background: none; cursor: pointer; border-radius: 999px;
  min-width: 44px; min-height: 40px; padding: 0 .6rem; font-family: var(--f-sign); font-size: .95rem; letter-spacing: .1em; color: var(--muted);
  transition: background-color .3s, color .3s;
}
.lang button[aria-pressed="true"] { background: var(--cream); color: var(--walnut); }
/* compact menu below 1061px */
.menu-btn { display: none; }
.menu-btn svg { width: 20px; height: 20px; }
.menu {
  border-top: 1px solid var(--line); background: rgba(18, 14, 11, .97);
  padding: 1rem var(--gutter) 1.4rem; display: grid; gap: 1.2rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
}
.menu-nav { display: grid; }
.menu-nav a { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--f-display); font-size: 1.6rem; letter-spacing: -.01em; }
.menu-foot { display: grid; gap: .6rem; }
.menu-foot .status { justify-self: start; margin: 0 0 .4rem; }
@media (max-width: 1060px) { .nav { display: none; } .menu-btn { display: grid; } }
@media (min-width: 1061px) { .menu { display: none !important; } }
@media (max-width: 760px) {
  .bar { gap: .6rem; }
  .bar-phone, .bar-book { display: none; }
  .brand-word small { display: none; }
  .ribbon { justify-content: space-between; gap: .6rem; }
  .ribbon-text, .ribbon-demo { font-size: .7rem; }
  .ribbon-text { white-space: normal; line-height: 1.2; }
}
@media (max-width: 389px) {
  .ribbon { height: auto; min-height: 34px; padding-block: 3px; }
  .site-header.is-scrolled .ribbon { min-height: 0; padding-block: 0; }
}
@media (max-width: 380px) { .brand-word { font-size: 1.2rem; } .lang button { min-width: 40px; } }

/* ---------- Hero ---------- */
.hero { position: relative; height: 290vh; height: 290svh; }
.hero-pin {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center; gap: clamp(24px, 5vw, 80px);
  padding: calc(var(--header-h) + 30px + 3vh) var(--edge) 6vh;
  overflow: hidden;
}
.hero-copy { position: relative; z-index: 3; }
.hero-title { font-size: clamp(2.7rem, 6.3vw, 6.2rem); line-height: .98; margin-bottom: 1.6rem; }
.hero-title .ln { display: block; overflow: hidden; padding: 0 .12em .16em 0; margin-bottom: -.16em; }
.hero-title .ln > span { display: inline-block; }
.hero-sub { font-size: clamp(1.02rem, 1.3vw, 1.18rem); color: var(--cream-2); max-width: 30em; margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem 1.4rem; }
.cta-short { display: none; }
@media (max-width: 480px) { .cta-long { display: none; } .cta-short { display: inline; } }
.proof { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; text-decoration: none; color: var(--cream-2); font-size: .95rem; }
.stars { display: inline-flex; gap: .14em; color: var(--bronze-2); line-height: 1; }
.stars svg { width: 1em; height: 1em; fill: currentColor; flex: none; }
.proof .stars { font-size: .95rem; }
.proof strong { color: var(--cream); font-weight: 600; }
.proof:hover span:last-child { text-decoration: underline; text-underline-offset: 3px; }

.hero-slot { position: static; justify-self: end; width: 100%; max-width: 540px; height: min(76svh, 760px); }
.hero-media {
  margin: 0; overflow: hidden; z-index: 1;
  width: 100%; height: 100%; position: relative;
  border-radius: 270px 270px 16px 16px;
  background: var(--walnut-3);
}
.js:not(.no-scrub) .hero-media { position: absolute; inset: 0; width: auto; height: auto; border-radius: 0; }
.js:not(.no-scrub) .hero-media img { position: absolute; left: 0; top: 0; max-width: none; object-fit: fill; transform-origin: 0 0; will-change: transform; }
.js:not(.no-scrub) .hero-frame { inset: auto; transform-origin: 0 0; }
.hero-media-in { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 5% 50%; filter: saturate(.92) contrast(1.04); }
.hero-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(10, 7, 5, .55) 100%),
    linear-gradient(180deg, rgba(18, 14, 11, .22), transparent 30%, transparent 55%, rgba(18, 14, 11, .82));
}
.hero-frame { position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; }
.hero-frame::before {
  content: ""; position: absolute; inset: 10px; border-radius: inherit;
  border: 1px solid rgba(220, 182, 131, .6);
}
.hero-caption {
  position: absolute; z-index: 3; left: var(--edge); right: var(--edge); bottom: 9vh;
  display: grid; gap: .6rem; opacity: 0; pointer-events: none;
}
.hero-cite { font-family: var(--f-sign); font-size: 1rem; letter-spacing: .18em; text-transform: uppercase; color: var(--bronze-2); }
.demo-pill { justify-self: start; padding: .3rem .8rem; border: 1px solid rgba(220, 182, 131, .45); border-radius: 999px; font-family: var(--f-sign); font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze-2); }
.hero-quote { font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: clamp(2rem, 5.2vw, 4.8rem); line-height: 1.02; letter-spacing: -.02em; max-width: 13em; text-wrap: balance; }
.scroll-hint {
  position: absolute; left: 50%; bottom: 2.2vh; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-family: var(--f-sign); font-size: .9rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.scroll-hint i { display: block; width: 1px; height: 38px; background: linear-gradient(var(--bronze-2), transparent); transform-origin: top; animation: drip 2.2s var(--ease-in-out) infinite; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* load choreography (runs once fonts are ready) */
.js .hero-title .ln > span { transform: translateY(108%); }
.js.is-ready .hero-title .ln > span { animation: rise 1.15s var(--ease) forwards; }
.js.is-ready .hero-title .ln:nth-child(2) > span { animation-delay: .08s; }
.js.is-ready .hero-title .ln:nth-child(3) > span { animation-delay: .16s; }
.js.is-ready .hero-title .ln:nth-child(4) > span { animation-delay: .24s; }
@keyframes rise { to { transform: none; } }
.js .load { opacity: 0; transform: translateY(16px); }
.js.is-ready .load { animation: fadeUp 1s var(--ease) forwards; animation-delay: calc(.25s + var(--d, 0) * .09s); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.js .hero-media-in { clip-path: inset(100% 0 0 0); scale: 1.12; }
.js.is-ready .hero-media-in { animation: curtain 1.5s var(--ease-in-out) .15s forwards, settle 2.2s var(--ease) .15s forwards; }
@keyframes curtain { to { clip-path: inset(0 0 0 0); } }
@keyframes settle { to { scale: 1; } }
.js .hero-frame::before { opacity: 0; }
.js.is-ready .hero-frame::before { animation: frameIn 1.2s var(--ease) 1.1s forwards; }
.js.no-scrub .hero-media { position: relative; }
@keyframes frameIn { from { opacity: 0; inset: 24px; } to { opacity: 1; inset: 10px; } }

@media (max-width: 860px) {
  .hero { height: 250svh; }
  .hero-pin {
    grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr);
    align-items: stretch; gap: 22px;
    padding: calc(var(--header-h) + 30px + 18px) var(--gutter) calc(18px + env(safe-area-inset-bottom, 0px));
  }
  .hero-title { font-size: clamp(2.5rem, 11vw, 3.6rem); margin-bottom: 1rem; }
  .hero-sub { margin-bottom: 1.2rem; font-size: 1rem; }
  .hero-ctas { margin-bottom: .8rem; }
  .hero-ctas { flex-wrap: nowrap; }
  .hero-ctas .btn { flex: 1 1 auto; min-height: 48px; padding-inline: 1.1rem; }
  .hero-ctas .btn-ghost { flex: 0 0 auto; }
  .hero-meta { gap: 0 1rem; }
  .proof { font-size: .88rem; }
  .hero-slot { justify-self: stretch; max-width: none; height: auto; min-height: 150px; }
  .hero-caption { bottom: 13vh; }
  .scroll-hint { display: none; }
}
@media (max-width: 860px) and (max-height: 700px) {
  .hero-sub { display: none; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--walnut-2); padding-block: clamp(14px, 2vw, 22px); }
.marquee-track { display: flex; width: max-content; animation: marq 46s linear infinite; }
.marquee-group { display: flex; align-items: center; }
.marquee-item {
  display: flex; align-items: center; gap: .55em; padding-right: .55em;
  font-family: var(--f-sign); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.4rem, 6.2vw, 5.6rem); line-height: 1; letter-spacing: .01em; white-space: nowrap;
  color: var(--cream);
}
.marquee-item.outline { color: transparent; -webkit-text-stroke: 1.2px rgba(241, 232, 216, .55); }
.marquee-item svg { width: .42em; height: .42em; flex: none; fill: none; stroke: var(--bronze-2); stroke-width: 1.6; }
@keyframes marq { to { transform: translateX(-50%); } }
.is-off .marquee-track, .is-off .rev-track, .is-off .medallion-ring { animation-play-state: paused; }

/* ---------- Statement ---------- */
.statement { padding-block: clamp(120px, 20vh, 240px); }
.statement-text { font-size: clamp(2.6rem, 7.4vw, 7.6rem); line-height: 1; letter-spacing: -.028em; max-width: 11.5em; }
.statement-text .w { opacity: .18; transition: opacity .25s linear; }
.no-scrub .statement-text .w { opacity: 1; }
.statement-sub { margin-top: clamp(2rem, 5vh, 3.5rem); margin-left: auto; max-width: 26em; font-size: clamp(1.08rem, 1.5vw, 1.3rem); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: calc(var(--d, 0) * .1s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .leather.reveal { transform: translateY(40px) scale(.965); transition-duration: 1.1s, 1.4s; }
.js .leather.reveal.is-in { transform: none; }
.js .svc.reveal:nth-child(2) { --d: 1; }
.js .svc.reveal:nth-child(3) { --d: 2; }

/* ---------- Services ---------- */
.services { padding-block: clamp(80px, 12vh, 160px); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: end; gap: 2rem 4vw; margin-bottom: clamp(40px, 7vh, 80px); }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc { border-bottom: 1px solid var(--line); }
.svc-row {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 56px minmax(0, 1.05fr) minmax(0, 1fr) auto;
  align-items: center; gap: clamp(1rem, 3vw, 3rem);
  width: 100%; padding: clamp(1.6rem, 3.4vh, 2.5rem) 0;
  border: 0; background: none; text-align: left; cursor: pointer;
}
.svc-row::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1;
  background: linear-gradient(100deg, var(--oxblood) 0%, var(--oxblood-2) 100%);
  transform: scaleY(0); transform-origin: 50% 100%; transition: transform .7s var(--ease);
}
.svc-row:hover::before, .svc-row:focus-visible::before { transform: scaleY(1); }
.svc-icon svg { width: 46px; height: 46px; fill: none; stroke: var(--bronze-2); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; transition: transform .7s var(--ease); }
.svc-row:hover .svc-icon svg { transform: rotate(-8deg) scale(1.06); }
.svc-name { font-family: var(--f-display); font-variation-settings: "wdth" 90; font-size: clamp(1.9rem, 3.5vw, 3.2rem); line-height: 1.04; letter-spacing: -.018em; transition: transform .7s var(--ease); }
.svc-row:hover .svc-name { transform: translateX(10px); }
.svc-text { display: grid; gap: .55rem; }
.svc-desc { color: var(--cream-2); max-width: 28em; }
.svc-tags { font-family: var(--f-sign); font-size: .92rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.svc-row:hover .svc-tags { color: var(--bronze-2); }
.svc-go {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.15rem; border: 1px solid var(--line-2); border-radius: 999px;
  font-weight: 600; font-size: .9rem; transition: background-color .35s, color .35s, border-color .35s;
}
.svc-go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.svc-row:hover .svc-go { background: var(--cream); color: var(--walnut); border-color: var(--cream); }
.svc-row:hover .svc-go svg { transform: translateX(3px); }
.svc-note { margin-top: 1.4rem; color: var(--muted); font-size: .92rem; }
@media (max-width: 860px) {
  .sec-head { grid-template-columns: minmax(0, 1fr); }
  .svc-row { grid-template-columns: 44px minmax(0, 1fr); row-gap: .8rem; align-items: start; }
  .svc-icon svg { width: 38px; height: 38px; }
  .svc-text, .svc-go { grid-column: 2; }
  .svc-go { justify-self: start; }
  .svc-row:hover .svc-name { transform: none; }
}

/* ---------- Details (calm mosaic, one warm treatment) ---------- */
.details { padding-block: clamp(80px, 12vh, 150px); }
.details-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px) clamp(16px, 2vw, 28px); align-items: start;
}
.details-intro { grid-column: 1 / span 5; align-self: end; display: grid; gap: 1.4rem; justify-items: start; padding-bottom: 1rem; }
.d-cabinet { grid-column: 7 / span 6; }
.d-mirror { grid-column: 1 / span 4; margin-top: 12%; }
.d-clock { grid-column: 5 / span 8; align-self: center; }
.d-chair { grid-column: 3 / span 5; }
.d-chrome { grid-column: 9 / span 4; margin-top: 18%; }
.detail { margin: 0; display: grid; gap: .8rem; }
.detail-img {
  position: relative; overflow: hidden; border-radius: 6px; background: var(--walnut-3);
  aspect-ratio: var(--ar, 1.5); box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.detail-img::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(107, 44, 42, .08), rgba(18, 14, 11, .28));
  box-shadow: inset 0 0 0 1px rgba(241, 232, 216, .06);
}
.detail-img img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.32) saturate(.82) contrast(1.08) brightness(.96); transition: transform 1.4s var(--ease); }
.detail:hover .detail-img img { transform: scale(1.025); }
.d-cabinet .detail-img { --ar: 1.46; }
.d-mirror .detail-img { --ar: .94; }
.d-clock .detail-img { --ar: 2.4; }
.d-chair .detail-img { --ar: 1.75; }
.d-chrome .detail-img { --ar: 1.3; }
.detail figcaption { font-size: .95rem; color: var(--cream-2); }
@media (max-width: 899px) {
  .details-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    scroll-padding-inline: var(--gutter); gap: 14px; align-items: flex-end; padding-bottom: 6px; scrollbar-width: none;
  }
  .details-grid::-webkit-scrollbar { display: none; }
  .details-intro { flex: 0 0 min(84vw, 420px); scroll-snap-align: start; padding-bottom: 2.2rem; }
  .detail { flex: 0 0 auto; width: min(78vw, 340px); margin-top: 0; scroll-snap-align: start; }
}

/* ---------- Reviews ---------- */
.reviews { padding-block: clamp(96px, 14vh, 180px); overflow: hidden; }
.reviews-head { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 110px); align-items: end; margin-bottom: clamp(48px, 8vh, 96px); }
.score { display: grid; justify-items: start; }
.score-num { font-family: var(--f-display); font-weight: 300; font-variation-settings: "wdth" 80; font-size: clamp(7rem, 17vw, 15.5rem); line-height: .78; letter-spacing: -.05em; }
.score-stars { --pct: 96%; position: relative; display: inline-flex; margin-top: 1.2rem; font-size: 1.7rem; }
.score-stars .dim { color: rgba(241, 232, 216, .16); }
.score-stars .fill { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pct)) 0 0); }
.score-meta { margin-top: .4rem; color: var(--cream-2); }
.pull { margin: 2rem 0 0; display: grid; gap: .6rem; }
.pull p { font-family: var(--f-display); font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.25; }
.pull cite { font-style: normal; font-family: var(--f-sign); letter-spacing: .14em; text-transform: uppercase; font-size: .9rem; color: var(--muted); }
.rev-rows { display: grid; gap: 20px; }
.rev-row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.rev-track { display: flex; width: max-content; animation: marq var(--dur, 70s) linear infinite; }
.rev-row--rev .rev-track { animation-direction: reverse; }
.rev-row:hover .rev-track { animation-play-state: paused; }
.rev-set { display: flex; align-items: flex-start; gap: 20px; padding-right: 20px; }
.rev {
  flex: 0 0 clamp(280px, 29vw, 400px);
  display: flex; flex-direction: column; gap: 1rem;
  padding: 1.6rem 1.6rem 1.3rem; border-radius: 16px;
  background: linear-gradient(180deg, var(--walnut-2), rgba(26, 20, 16, .6));
  border: 1px solid var(--line);
  transition: border-color .4s, transform .6s var(--ease);
}
.rev:hover { border-color: rgba(220, 182, 131, .45); transform: translateY(-4px); }
.rev-stars { font-size: .9rem; }
.rev p { font-size: 1.02rem; line-height: 1.55; }
.rev footer { margin-top: auto; display: flex; justify-content: space-between; gap: 1rem; font-size: .84rem; color: var(--muted); }
.rev footer strong { color: var(--cream-2); font-weight: 600; white-space: nowrap; }
.rev footer span { text-align: right; }
.reviews-foot { margin-top: clamp(32px, 5vh, 56px); }
.rev-sample { margin: 0; font-size: .9rem; color: var(--muted); }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line-2); transition: border-color .3s, gap .4s var(--ease); }
.link-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.link-arrow:hover { border-color: var(--bronze-2); gap: .8rem; }
@media (max-width: 860px) {
  .reviews { padding-top: 48px; }
  .reviews-head { grid-template-columns: minmax(0, 1fr); }
  .rev-set, .rev-rows { gap: 14px; }
  .rev-set { padding-right: 14px; }
}

/* ---------- Story ---------- */
.story { position: relative; overflow: hidden; padding-block: clamp(110px, 18vh, 220px); background: radial-gradient(60% 60% at 25% 50%, rgba(107, 44, 42, .22), transparent 70%); }
.story-giant {
  position: absolute; top: 50%; left: 0; z-index: 0; pointer-events: none; user-select: none; white-space: nowrap;
  transform: translate3d(var(--x, 0px), -50%, 0);
  font-family: var(--f-sign); font-weight: 900; font-size: clamp(10rem, 34vw, 34rem); line-height: .8; letter-spacing: -.01em;
  color: transparent; -webkit-text-stroke: 1.2px rgba(241, 232, 216, .2);
}
.story-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.medallion { position: relative; width: min(100%, 440px); aspect-ratio: 1; justify-self: center; }
.medallion img { position: absolute; inset: 15%; width: 70%; height: 70%; border-radius: 50%; box-shadow: 0 40px 90px rgba(0, 0, 0, .6), 0 0 0 1px rgba(220, 182, 131, .4); }
.medallion-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-12deg); }
.medallion-ring text { font-family: var(--f-sign); font-size: 19px; font-weight: 600; fill: var(--bronze-2); }
.story-copy { display: grid; gap: 1.2rem; }
.story-copy > p { color: var(--cream-2); max-width: 33em; font-size: 1.06rem; }
.slogan { margin: 1rem 0 0; padding-top: 1.6rem; border-top: 1px solid var(--line); display: grid; gap: .6rem; }
.slogan blockquote { margin: 0; font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.15; }
.slogan figcaption { font-family: var(--f-sign); letter-spacing: .14em; text-transform: uppercase; font-size: .9rem; color: var(--muted); }
@media (max-width: 860px) {
  .story-grid { grid-template-columns: minmax(0, 1fr); }
  .medallion { width: min(76vw, 340px); }
}

/* ---------- Awards ---------- */
.awards { position: relative; height: 230vh; height: 230svh; background: linear-gradient(180deg, var(--walnut) 0%, var(--walnut-2) 12%, var(--walnut-2) 88%, var(--walnut) 100%); }
.awards-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; padding-top: var(--header-h); }
.awards-grid {
  width: 100%;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  grid-template-areas: "head stage" "index stage" "sum stage";
  gap: 1.6rem clamp(24px, 5vw, 80px); align-items: center;
}
.awards-head { grid-area: head; }
.awards-head .lede { margin-top: 1.2rem; }
.year-index { grid-area: index; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .2rem 1.5rem; font-family: var(--f-sign); }
.year-index li { display: flex; align-items: baseline; gap: .7rem; font-size: 1.12rem; letter-spacing: .12em; color: var(--faint); transition: color .4s; }
.year-index li i { display: inline-block; width: 16px; height: 1px; background: currentColor; transform: translateY(-.3em); transition: width .5s var(--ease), background-color .4s; }
.year-index li small { font-size: .82rem; letter-spacing: .08em; color: var(--bronze-2); }
.year-index li { font-variant-numeric: tabular-nums; }
.year-index li.is-past { color: var(--muted); }
.year-index li.is-on { color: var(--cream); }
.year-index li.is-on i { width: 36px; background: var(--bronze-2); }
.awards-sum { grid-area: sum; font-family: var(--f-sign); font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze-2); }
.year-stage { grid-area: stage; position: relative; display: grid; justify-items: center; gap: 1.4rem; }
.roller { --lh: clamp(8rem, 22vw, 21rem); height: var(--lh); overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); }
.roller-track { display: flex; flex-direction: column; will-change: transform; }
.roller-track span {
  display: block; height: var(--lh); line-height: var(--lh);
  font-family: var(--f-sign); font-weight: 800; font-size: calc(var(--lh) * 1.04); letter-spacing: -.015em;
  font-variant-numeric: tabular-nums; text-align: center; color: var(--cream);
}
.medal { position: absolute; top: -26%; right: 2%; width: clamp(88px, 9vw, 124px); transform: rotate(var(--rot, -8deg)); transition: transform .9s var(--ease); filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .5)); }
.medal svg { width: 100%; height: auto; display: block; }
.medal-disc { fill: url(#g-gold); transition: fill .4s; }
.medal.is-silver .medal-disc { fill: url(#g-silver); }
.medal-word { font-family: var(--f-sign); font-weight: 800; font-size: 15px; letter-spacing: 2px; fill: #2a1d12; }
.medal-year { font-family: var(--f-sign); font-weight: 600; font-size: 13px; letter-spacing: 2px; fill: rgba(42, 29, 18, .8); }
.medal.pop { animation: pop .6s var(--ease); }
@keyframes pop { 0% { transform: rotate(var(--rot)) scale(.86); } 60% { transform: rotate(var(--rot)) scale(1.06); } 100% { transform: rotate(var(--rot)) scale(1); } }
.year-label { min-height: 3.2em; text-align: center; display: grid; gap: .2rem; font-size: 1.08rem; color: var(--cream-2); }
.year-label strong { color: var(--cream); font-weight: 600; }
.year-label span { color: var(--bronze-2); font-size: .95rem; }
.roller-track span.is-sum { font-size: calc(var(--lh) * 1.04); color: var(--bronze-2); }
.awards.is-final .year-index li { color: var(--cream); }
@media (max-width: 860px) {
  .awards-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "stage" "index"; gap: 1rem; }
  .awards-head .lede { display: none; }
  .year-index { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .1rem .6rem; }
  .year-index li { font-size: .98rem; gap: .35rem; }
  .year-index li i, .year-index li small { display: none; }
  .awards-sum { display: none; }
  .roller { --lh: clamp(6.5rem, 34vw, 11rem); }
  .awards { height: 210svh; }
  .medal { display: none; }
  .year-label { min-height: 3.4em; font-size: 1rem; }
  .year-label strong::before { content: ""; display: inline-block; width: .7em; height: .7em; margin-right: .45em; border-radius: 50%; vertical-align: -.02em; background: radial-gradient(circle at 35% 30%, #fbe7b8, #d8ae66 45%, #8c6130); }
  .awards.is-silver .year-label strong::before { background: radial-gradient(circle at 35% 30%, #fff, #c9c6bf 45%, #77746e); }
}
.no-scrub .awards { height: auto; }
.no-scrub .awards-pin { position: static; height: auto; padding-block: 96px; }

/* ---------- Book (leather) ---------- */
.book { padding-block: clamp(80px, 12vh, 150px); }
.leather {
  position: relative; overflow: hidden; border-radius: 30px; padding: clamp(12px, 1.6vw, 20px);
  background:
    radial-gradient(120% 90% at 15% 0%, #83393a 0%, transparent 55%),
    radial-gradient(90% 90% at 100% 100%, #2c0f0e 0%, transparent 60%),
    linear-gradient(135deg, var(--oxblood) 0%, var(--oxblood-2) 60%, var(--oxblood-3) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), inset 0 -30px 60px rgba(0, 0, 0, .25), 0 50px 120px rgba(0, 0, 0, .5);
}
.leather::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='l'><feTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='4' seed='7'/><feColorMatrix values='0 0 0 0 .3  0 0 0 0 .12  0 0 0 0 .1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23l)'/></svg>");
}
.leather-in {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 2.4rem clamp(24px, 5vw, 80px); align-items: end;
  padding: clamp(28px, 6vw, 90px);
  border: 2px dashed rgba(241, 232, 216, .3); border-radius: 20px;
}
.leather .h2 em { color: #f3d6a8; }
.leather .lede { color: rgba(241, 232, 216, .82); margin-top: 1.2rem; }
.quick { display: grid; gap: .65rem; }
.quick-label { font-family: var(--f-sign); letter-spacing: .14em; text-transform: uppercase; font-size: .95rem; color: rgba(241, 232, 216, .7); margin-bottom: .2rem; }
.quick button {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%;
  padding: 1.05rem 1.25rem; border-radius: 14px; cursor: pointer; text-align: left;
  border: 1px solid rgba(241, 232, 216, .26); background: rgba(18, 14, 11, .24);
  font-size: 1.04rem; font-weight: 500;
  transition: background-color .35s, color .35s, border-color .35s, transform .5s var(--ease);
}
.quick button svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.quick button:hover { background: var(--cream); color: var(--oxblood-2); border-color: var(--cream); transform: translateX(6px); }
.quick button:hover svg { transform: translateX(3px); }
.book-alt { grid-column: 1 / -1; padding-top: 1.6rem; border-top: 1px solid rgba(241, 232, 216, .18); color: rgba(241, 232, 216, .78); }
.book-alt a { color: var(--cream); font-weight: 600; text-underline-offset: 4px; }
@media (max-width: 860px) {
  .leather-in { grid-template-columns: minmax(0, 1fr); }
  .leather { border-radius: 22px; }
  .leather-in { border-radius: 14px; }
}

/* ---------- Visit ---------- */
.visit { padding-block: clamp(90px, 13vh, 170px); border-top: 1px solid var(--line); }
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.addr-sub { color: var(--muted); margin-top: .6rem; }
.status {
  display: inline-flex; align-items: center; gap: .65rem; margin-top: 1.6rem;
  padding: .5rem 1rem; border-radius: 999px; background: var(--walnut-2); border: 1px solid var(--line); font-size: .95rem;
}
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; }
.status.is-closed i { background: var(--no); }
.status strong { font-weight: 600; }
.status-hero { margin: 0; min-height: 44px; padding: 0; border: 0; background: none; text-decoration: none; color: var(--cream-2); font-size: .95rem; }
.status-hero:hover span { text-decoration: underline; text-underline-offset: 3px; }
.status-sm { font-size: .88rem; }
.visit-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.8rem; }
.visit-actions .num { font-family: var(--f-sign); letter-spacing: .06em; font-size: 1.05rem; color: var(--cream-2); }
.hours-title { margin-top: 2.6rem; font-family: var(--f-sign); font-weight: 500; font-size: 1rem; letter-spacing: .18em; text-transform: uppercase; color: var(--bronze-2); }
.hours { width: 100%; margin-top: .8rem; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: .78rem 0; border-bottom: 1px solid var(--line); font-weight: 400; text-align: left; }
.hours td { text-align: right; color: var(--cream-2); }
.hours td.closed { color: var(--faint); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--cream); font-weight: 600; }
.hours .today-pill { margin-left: .6rem; font-family: var(--f-sign); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--walnut); background: var(--bronze-2); border-radius: 999px; padding: .08rem .5rem; font-weight: 600; vertical-align: .1em; }
.visit-side { display: grid; gap: 20px; }
.clock-card {
  margin: 0; display: grid; grid-template-columns: minmax(150px, 210px) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: center;
  padding: clamp(20px, 3vw, 34px); border-radius: 22px; background: var(--walnut-2); border: 1px solid var(--line);
}
.clock { width: 100%; height: auto; display: block; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .5)); }
.clock-card figcaption { display: grid; gap: .3rem; }
.clock-label { font-family: var(--f-sign); font-size: 1rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze-2); }
.clock-time { font-family: var(--f-sign); font-weight: 700; font-size: clamp(3rem, 5vw, 4.4rem); line-height: 1; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.clock-note { color: var(--cream-2); font-size: .95rem; }
.map { position: relative; height: 320px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--walnut-3); }
.map-canvas { position: absolute; inset: 0; z-index: 1; background: var(--walnut-3); }
.map-canvas:not(.is-live) { display: none; }
.map-fallback {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .6rem; text-decoration: none;
  background: repeating-linear-gradient(0deg, transparent 0 39px, var(--line) 39px 40px), repeating-linear-gradient(90deg, transparent 0 39px, var(--line) 39px 40px), var(--walnut-3);
}
.map-coords { font-family: var(--f-sign); font-size: 1.4rem; letter-spacing: .12em; color: var(--bronze-2); }
.leaflet-container { background: var(--walnut-3); font-family: var(--f-body); }
.leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.82) contrast(.92) sepia(.45) saturate(.75); }
.leaflet-control-attribution { background: rgba(18, 14, 11, .7) !important; color: var(--muted) !important; font-size: 10px; }
.leaflet-control-attribution a { color: var(--cream-2) !important; }
.leaflet-bar a { background: var(--walnut-2) !important; color: var(--cream) !important; border-color: var(--line) !important; width: 40px !important; height: 40px !important; line-height: 40px !important; }
.pin { position: relative; }
.pin-dot { position: absolute; left: 0; top: 0; width: 56px; height: 56px; border-radius: 50%; padding: 3px; background: var(--cream); box-shadow: 0 12px 28px rgba(0, 0, 0, .6); }
.pin-dot img { width: 100%; height: 100%; border-radius: 50%; }
.pin-dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(220, 182, 131, .7); opacity: 0; animation: ping 2.4s var(--ease) 1s 3; }
/* three pings, then rest */
@keyframes ping { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }
@media (max-width: 960px) {
  .visit-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .clock-card { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .clock { width: min(64vw, 240px); }
  .visit-actions .btn { flex: 1 1 auto; }
  .map { height: 260px; }
}

/* ---------- Footer ---------- */
.footer { padding: clamp(72px, 12vh, 130px) 0 calc(36px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); overflow: hidden; }
.foot-word { font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: clamp(6rem, 23vw, 21rem); line-height: .82; letter-spacing: -.045em; margin-left: -.04em; color: var(--cream); }
.foot-slogan { margin-top: 1.4rem; font-family: var(--f-display); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.6rem); color: var(--cream-2); }
.foot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-top: clamp(40px, 7vh, 80px); padding-top: 2rem; border-top: 1px solid var(--line); color: var(--cream-2); line-height: 2.75; }
.foot-grid a, .foot-grid .linklike { color: var(--cream-2); text-decoration: none; }
.foot-grid a:hover, .foot-grid .linklike:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.foot-grid em { font-style: normal; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem 2rem; margin-top: 3rem; font-size: .84rem; color: var(--faint); }
.foot-legal .linklike { min-height: 44px; color: var(--muted); }
@media (max-width: 760px) {
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Mobile dock ---------- */
.dock {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 55;
  display: none; grid-template-columns: auto minmax(0, 1fr); gap: 8px; padding: 7px;
  border-radius: 999px; border: 1px solid var(--line-2);
  background: rgba(26, 20, 16, .97);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
  transform: translateY(160%); transition: transform .7s var(--ease);
}
.dock.is-on { transform: none; }
.dock-call { display: inline-flex; align-items: center; gap: .45rem; padding: 0 1.1rem; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; font-weight: 600; font-size: .92rem; }
.dock-call svg { width: 18px; height: 18px; }
.dock .btn { min-height: 48px; justify-content: space-between; padding-inline: 1.2rem; }
.dock-rating { display: inline-flex; align-items: center; gap: .25rem; font-family: var(--f-sign); font-size: 1rem; letter-spacing: .06em; opacity: .75; }
.dock-rating svg { width: .9em; height: .9em; fill: currentColor; }
@media (max-width: 760px) { .dock { display: grid; } }

/* ---------- Booking sheet ---------- */
.sheet { position: fixed; inset: 0; z-index: 90; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(8, 6, 5, .62); opacity: 0; transition: opacity .45s; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.sheet.is-open .sheet-backdrop { opacity: 1; }
.sheet-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(540px, 100%);
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--walnut-2); border-left: 1px solid var(--line-2);
  box-shadow: -40px 0 100px rgba(0, 0, 0, .5);
  transform: translateX(104%); transition: transform .7s var(--ease);
}
.sheet.is-open .sheet-panel { transform: none; }
.sheet-grab { display: none; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: calc(1.3rem + env(safe-area-inset-top, 0px)) 1.6rem 1.2rem; border-bottom: 1px solid var(--line); }
.sheet-head h2 { font-family: var(--f-display); font-weight: 400; font-size: 1.9rem; line-height: 1.1; letter-spacing: -.01em; }
.sheet-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 1.5rem 1.6rem calc(1.8rem + env(safe-area-inset-bottom, 0px)); }
fieldset { border: 0; padding: 0; margin: 0 0 1.6rem; min-width: 0; }
legend { padding: 0; margin-bottom: .75rem; font-family: var(--f-sign); font-size: .95rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze-2); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; display: block; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.chip input:disabled { cursor: not-allowed; }
.chip span {
  display: grid; gap: .1rem; min-width: 64px; min-height: 48px; align-content: center; padding: .6rem 1rem; white-space: nowrap; font-variant-numeric: tabular-nums;
  border: 1px solid var(--line-2); border-radius: 12px; font-size: .96rem; line-height: 1.25;
  transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--ease);
}
.chip small { font-size: .76rem; color: var(--muted); }
.chip:hover input:not(:disabled) + span { border-color: var(--cream-2); }
.chip input:checked + span { background: var(--cream); color: var(--walnut); border-color: var(--cream); }
.chip input:checked + span small { color: #6a5b49; }
.chip input:disabled + span { opacity: .38; }
.chip input:disabled + span small { text-decoration: none; }
.chip input:focus-visible + span { outline: 2px solid var(--bronze-2); outline-offset: 2px; }
.chip input:active:not(:disabled) + span { transform: scale(.96); }
.chips-days { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -1.6rem; padding-inline: 1.6rem; padding-bottom: 4px; }
.chips-days::-webkit-scrollbar { display: none; }
.chips-days .chip span { min-width: 76px; text-align: center; }
.chips-periods .chip { flex: 1 1 0; }
.chips-periods .chip span { text-align: center; }
.field { display: grid; gap: .4rem; margin-bottom: .9rem; }
.field label { font-size: .88rem; color: var(--cream-2); }
.field input, .field textarea {
  width: 100%; padding: .9rem 1rem; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--walnut); color: var(--cream); font: inherit; font-size: 16px; resize: vertical;
  transition: border-color .25s, box-shadow .25s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--bronze-2); box-shadow: 0 0 0 3px rgba(220, 182, 131, .18); }
.field input[aria-invalid="true"] { border-color: var(--no); }
.form-error { min-height: 1.4em; margin-bottom: .6rem; color: #e79b91; font-size: .92rem; }
.fine { margin-top: .9rem; text-align: center; font-size: .8rem; color: var(--faint); }
.fine .linklike { color: var(--muted); display: inline-flex; align-items: center; min-height: 44px; }
.done { display: grid; gap: 1rem; justify-items: center; text-align: center; padding-top: 1.5rem; }
.done > p { color: var(--cream-2); max-width: 26em; }
.done-mark { width: 96px; height: 96px; fill: none; stroke: var(--bronze-2); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.done-mark circle { stroke-dasharray: 340; stroke-dashoffset: 340; stroke-width: 2; }
.done-mark path { stroke-dasharray: 80; stroke-dashoffset: 80; }
.done:not([hidden]) .done-mark circle { animation: draw 1s var(--ease) forwards; }
.done:not([hidden]) .done-mark path { animation: draw .7s var(--ease) .55s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done-sum { width: 100%; margin: .6rem 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .6rem 1rem; padding: 1.2rem 1.3rem; border-radius: 16px; background: var(--walnut); border: 1px solid var(--line); text-align: left; }
.done-sum dt { color: var(--muted); font-size: .9rem; }
.done-sum dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .sheet-panel {
    top: auto; left: 0; width: 100%; max-height: 94svh;
    border-left: 0; border-top: 1px solid var(--line-2); border-radius: 24px 24px 0 0;
    transform: translateY(104%);
  }
  .sheet-grab { display: block; width: 44px; height: 5px; border-radius: 99px; background: var(--line-2); margin: 10px auto 0; }
  .sheet-head { padding: .8rem 1.25rem 1rem; }
  .sheet-body { padding-inline: 1.25rem; }
  .chips-days { margin-inline: -1.25rem; padding-inline: 1.25rem; }
}

/* ---------- Demo layer: owner notification + phone ---------- */
.notif { position: fixed; top: calc(14px + env(safe-area-inset-top, 0px)); right: 16px; z-index: 110; width: min(390px, calc(100% - 32px)); transform: translateY(calc(-100% - 40px)); transition: transform .8s var(--ease); }
.notif.is-on { transform: none; }
.notif-tag { margin: 0 0 .45rem .5rem; font-family: var(--f-sign); font-size: .86rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze-2); text-shadow: 0 1px 12px rgba(0, 0, 0, .8); }
.notif-card-wrap { position: relative; }
.notif-card {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: .8rem; align-items: start; width: 100%;
  padding: .85rem 1rem .9rem; border: 0; border-radius: 24px; text-align: left; cursor: pointer;
  background: rgba(246, 241, 233, .94); color: #1b1613;
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
  font-family: -apple-system, "SF Pro Text", system-ui, sans-serif;
  transition: transform .4s var(--ease);
}
.notif-card:hover { transform: scale(1.015); }
.notif-card img { width: 40px; height: 40px; border-radius: 10px; }
.notif-text { display: grid; gap: .1rem; min-width: 0; }
.notif-app { display: flex; justify-content: space-between; font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; color: #665d56; }
@media (min-width: 761px) { .notif { right: calc(min(540px, 100vw) + 20px); } }
.notif-title { font-weight: 650; font-size: .95rem; }
.notif-body { font-size: .9rem; color: #3a322d; }
.notif-x { position: absolute; top: -12px; left: -12px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 0; background: #3a322d; color: #fff; cursor: pointer; opacity: 0; transition: opacity .3s; }
.notif-x svg { width: 14px; height: 14px; }
.notif-card-wrap:hover .notif-x, .notif-x:focus-visible { opacity: 1; }
@media (hover: none) { .notif-x { opacity: 1; } }

.owner { position: fixed; inset: 0; z-index: 115; display: grid; place-items: center; padding: 20px; }
.owner-backdrop { position: absolute; inset: 0; background: rgba(8, 6, 5, .8); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .5s; }
.owner.is-open .owner-backdrop { opacity: 1; }
.owner-wrap { position: relative; display: grid; grid-template-columns: minmax(0, 400px) auto; gap: clamp(32px, 5vw, 72px); align-items: center; opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.owner.is-open .owner-wrap { opacity: 1; transform: none; }
.owner-copy { display: grid; gap: 1.2rem; justify-items: start; }
.owner-copy .h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.owner-x { position: absolute; top: -8px; right: -8px; display: none; background: var(--walnut-2); }
.phone {
  width: 340px; height: min(700px, calc(100svh - 40px)); padding: 11px; border-radius: 54px; background: #0b0908;
  box-shadow: 0 0 0 1.5px #40352d, 0 0 0 7px #17120f, 0 50px 120px rgba(0, 0, 0, .65);
}
.phone-screen {
  position: relative; height: 100%; border-radius: 44px; overflow: hidden; overflow-y: auto; scrollbar-width: none;
  background: #f4efe7; color: #1d1714; display: flex; flex-direction: column;
  font-family: -apple-system, "SF Pro Text", system-ui, sans-serif;
}
.phone-screen::-webkit-scrollbar { display: none; }
.ph-status { display: flex; justify-content: space-between; align-items: center; padding: 16px 28px 6px; font-size: .82rem; font-weight: 600; }
.ph-island { width: 96px; height: 28px; border-radius: 20px; background: #0b0908; }
.ph-signal { display: inline-flex; align-items: center; gap: 4px; }
.ph-signal svg { width: 17px; height: 11px; fill: currentColor; }
.ph-app { display: flex; align-items: center; gap: .6rem; padding: 12px 20px 10px; border-bottom: 1px solid rgba(29, 23, 20, .08); }
.ph-app img { width: 34px; height: 34px; border-radius: 50%; }
.ph-app strong { font-size: 1.05rem; }
.ph-app span { margin-left: auto; font-size: .78rem; color: #665d56; }
.ph-body { padding: 16px 16px 22px; display: grid; gap: 12px; }
.ph-badge { justify-self: start; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: #6b2c2a; border-radius: 999px; padding: .2rem .6rem; }
.ph-card { background: #fff; border-radius: 18px; padding: 14px 16px; box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 8px 24px rgba(60, 40, 20, .08); display: grid; gap: 10px; }
.ph-name { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
.ph-rows { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; font-size: .88rem; }
.ph-rows dt { color: #665d56; }
.ph-rows dd { margin: 0; text-align: right; font-weight: 550; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.ph-label { font-size: .78rem; font-weight: 600; color: #665d56; text-transform: uppercase; letter-spacing: .05em; }
.ph-times { display: flex; gap: 8px; }
.ph-times button { flex: 1; padding: .6rem 0; border-radius: 12px; border: 1px solid rgba(29, 23, 20, .16); background: #fff; font-weight: 600; font-size: .92rem; cursor: pointer; color: #1d1714; transition: background-color .2s, color .2s; }
.ph-times button[aria-pressed="true"] { background: #1d1714; color: #fff; border-color: #1d1714; }
.ph-btn { width: 100%; padding: .95rem; border-radius: 14px; border: 0; font-weight: 700; font-size: .98rem; cursor: pointer; transition: transform .3s var(--ease), filter .2s; }
.ph-btn:active { transform: scale(.97); }
.ph-btn.primary { background: #6b2c2a; color: #fff; }
.ph-btn.primary:hover { filter: brightness(1.1); }
.ph-btn.secondary { background: transparent; color: #1d1714; border: 1px solid rgba(29, 23, 20, .18); }
.ph-earlier { display: grid; gap: 6px; margin-top: 4px; }
.ph-earlier-row { display: flex; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 12px; background: rgba(29, 23, 20, .05); font-size: .82rem; font-variant-numeric: tabular-nums; }
.ph-earlier-row span:last-child { color: #2f7a4a; font-weight: 600; }
.ph-toast { font-size: .82rem; color: #6b2c2a; text-align: center; min-height: 1.2em; }
.ph-ok { display: grid; justify-items: center; gap: 8px; padding: 10px 0 4px; text-align: center; }
.ph-ok svg { width: 64px; height: 64px; fill: none; stroke: #2f7a4a; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ph-ok svg circle { stroke-dasharray: 190; stroke-dashoffset: 190; animation: draw .8s var(--ease) forwards; stroke-width: 2; }
.ph-ok svg path { stroke-dasharray: 50; stroke-dashoffset: 50; animation: draw .5s var(--ease) .45s forwards; }
.ph-ok strong { font-size: 1.2rem; }
.ph-sms { justify-self: end; max-width: 88%; background: #34a853; background: #3b8b58; color: #fff; padding: 10px 14px; border-radius: 18px 18px 4px 18px; font-size: .88rem; line-height: 1.4; animation: fadeUp .6s var(--ease) .8s both; }
.ph-sms-label { justify-self: end; font-size: .74rem; color: #665d56; animation: fadeUp .6s var(--ease) .7s both; }
@media (max-width: 860px) {
  .owner { padding: 0; place-items: stretch; }
  .owner-wrap { display: flex; flex-direction: column; gap: 0; height: 100svh; }
  .owner-copy { gap: .5rem; padding: calc(14px + env(safe-area-inset-top, 0px)) 64px 14px var(--gutter); }
  .owner-copy .h2 { font-size: 1.45rem; }
  .owner-copy .lede { font-size: .88rem; line-height: 1.5; }
  .owner-copy .btn, .owner-copy .demo-pill { display: none; }
  .phone { flex: 1; width: 100%; height: auto; min-height: 0; padding: 0; border-radius: 26px 26px 0 0; box-shadow: 0 -20px 50px rgba(0, 0, 0, .5); }
  .phone-screen { border-radius: 26px 26px 0 0; }
  .ph-status { display: none; }
  .owner-x { display: grid; top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; }
}


/* ---------- Lookbook (styles) ---------- */
.styles { padding-block: clamp(80px, 12vh, 150px); border-top: 1px solid var(--line); }
.how {
  list-style: none; margin: 0 0 clamp(36px, 6vh, 64px); padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
}
.how li { display: grid; gap: .5rem; align-content: start; padding: 1.3rem 1.4rem 1.45rem; background: var(--walnut); }
.how li:nth-child(2) { --d: 1; }
.how li:nth-child(3) { --d: 2; }
.how-n { font-family: var(--f-sign); font-size: 1.05rem; letter-spacing: .14em; color: var(--bronze-2); }
.how-t { font-family: var(--f-display); font-variation-settings: "wdth" 90; font-size: clamp(1.15rem, 1.6vw, 1.42rem); line-height: 1.2; letter-spacing: -.01em; }

.lb-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .9rem 1.2rem; margin-bottom: .9rem; }
.lb-cats { display: flex; flex-wrap: wrap; gap: .45rem; }
.pill {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: 0 1rem;
  border-radius: 999px; border: 1px solid var(--line-2); background: none; cursor: pointer;
  font-weight: 550; font-size: .94rem; white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--ease);
}
.pill small { font-size: .74rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.pill:hover { border-color: var(--cream-2); }
.pill:active { transform: scale(.96); }
.pill[aria-pressed="true"] { background: var(--cream); color: var(--walnut); border-color: var(--cream); }
.pill[aria-pressed="true"] small { color: #6a5b49; }
.pill-sm { min-height: 38px; padding: 0 .85rem; font-size: .86rem; flex: none; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--walnut-2); }
.seg button {
  min-height: 38px; padding: 0 .95rem; border: 0; border-radius: 999px; background: none; cursor: pointer;
  font-size: .88rem; font-weight: 550; color: var(--cream-2); white-space: nowrap; transition: background-color .25s, color .25s;
}
.seg button:hover { color: var(--cream); }
.seg button[aria-pressed="true"] { background: var(--walnut-4); color: var(--cream); box-shadow: inset 0 0 0 1px var(--line-2); }
.lb-count { font-family: var(--f-sign); letter-spacing: .14em; text-transform: uppercase; font-size: .9rem; color: var(--muted); margin-bottom: 1.1rem; }

.lb-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); }
.lk {
  position: relative; isolation: isolate; display: block; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 18px; border: 1px solid var(--line); background: var(--walnut-3);
  padding: 0; margin: 0; text-align: left; cursor: pointer; color: var(--cream); font: inherit;
}
.lk-img { position: absolute; inset: 0; z-index: -2; }
.lk-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.86) contrast(1.02); transition: transform 1.1s var(--ease), filter .6s; }
.lk::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18, 14, 11, 0) 42%, rgba(18, 14, 11, .9) 100%); }
.lk:hover .lk-img img, .lk:focus-visible .lk-img img { transform: scale(1.05); filter: saturate(1) contrast(1.04); }
.lk-len {
  position: absolute; top: 10px; left: 10px; padding: .18rem .6rem; border-radius: 999px;
  background: rgba(18, 14, 11, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-family: var(--f-sign); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
}
.lk-cap { position: absolute; left: 14px; right: 14px; bottom: 13px; display: grid; gap: .2rem; }
.lk-cap strong { font-family: var(--f-display); font-weight: 400; font-variation-settings: "wdth" 90; font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.1; letter-spacing: -.01em; }
.lk-cap span { font-size: .82rem; line-height: 1.4; color: rgba(241, 232, 216, .8); }
.lk-cap small { font-size: .68rem; color: rgba(241, 232, 216, .5); margin-top: .15rem; }
.lk-go {
  position: absolute; right: 10px; top: 10px; display: inline-flex; align-items: center; gap: .35rem;
  min-height: 30px; padding: 0 .75rem; border-radius: 999px; background: var(--cream); color: var(--walnut);
  font-size: .8rem; font-weight: 650; opacity: 0; transform: translateY(-6px); transition: opacity .35s, transform .5s var(--ease);
}
.lk-go svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lk:hover .lk-go, .lk:focus-visible .lk-go { opacity: 1; transform: none; }
@media (hover: none) {
  .lk-go { opacity: 1; transform: none; width: 32px; height: 32px; min-height: 0; padding: 0; justify-content: center; }
  .lk-go > span { display: none; }
}

.lk-up {
  display: grid; align-content: center; justify-items: center; gap: .55rem; padding: 1.2rem 1rem; text-align: center; border: 0;
  background:
    radial-gradient(120% 90% at 15% 0%, #83393a 0%, transparent 55%),
    linear-gradient(135deg, var(--oxblood) 0%, var(--oxblood-2) 60%, var(--oxblood-3) 100%);
  transition: transform .5s var(--ease);
}
.lk-up::after { inset: 8px; border: 2px dashed rgba(241, 232, 216, .32); border-radius: 12px; background: none; }
.lk-up input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.lk-up:focus-within { outline: 2px solid var(--bronze-2); outline-offset: 3px; }
.lk-up:hover { transform: translateY(-3px); }
.lk-up-icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(241, 232, 216, .12); }
.lk-up-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--cream); stroke-width: 1.5; stroke-linejoin: round; }
.lk-up strong { font-family: var(--f-display); font-weight: 400; font-variation-settings: "wdth" 90; font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.1; text-wrap: balance; }
.lk-up > span:not(.lk-up-icon):not(.lk-up-cta) { font-size: .85rem; line-height: 1.45; color: rgba(241, 232, 216, .8); max-width: 18em; }
.lk-up-cta { margin-top: .35rem; display: inline-flex; align-items: center; gap: .4rem; min-height: 36px; padding: 0 .95rem; border-radius: 999px; background: var(--cream); color: var(--oxblood-2); font-weight: 650; font-size: .86rem; }
.lk-up-cta .cta-short { display: none; }
.lk-up-cta { white-space: nowrap; }
.lk-up-cta svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-empty { grid-column: 2 / -1; display: grid; place-content: center; justify-items: center; gap: .6rem; padding: 2rem; border: 1px dashed var(--line-2); border-radius: 18px; color: var(--cream-2); text-align: center; }
.lb-empty .linklike { color: var(--bronze-2); min-height: 44px; }
.lb-more { display: flex; justify-content: center; margin-top: 1.6rem; }
.lb-more .btn[hidden] { display: none !important; }
.lb-credit { margin-top: 1.2rem; text-align: center; font-size: .8rem; color: var(--faint); }
@media (max-width: 1060px) { .lb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .how { grid-template-columns: minmax(0, 1fr); }
  .how li { grid-template-columns: 2.6rem minmax(0, 1fr); align-items: baseline; padding: 1rem 1.1rem; }
  .lb-cats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 2px; }
  .lb-cats::-webkit-scrollbar { display: none; }
  .lb-cats .pill { flex: none; }
  .lb-bar .seg { width: 100%; }
  .seg button { flex: 1; padding: 0 .3rem; }
}
@media (max-width: 640px) {
  .lb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lk { border-radius: 14px; }
  .lk-cap { left: 10px; right: 10px; bottom: 10px; }
  .lk-cap span, .lk-cap small { display: none; }
  .lk-up-cta .cta-long { display: none; }
  .lk-up-cta .cta-short { display: inline; }
  .lk-up > span:not(.lk-up-icon):not(.lk-up-cta) { display: none; }
  .lk-up-icon { width: 46px; height: 46px; }
  .lb-empty { grid-column: 1 / -1; }
}

/* ---------- Team ---------- */
.team { padding-block: clamp(80px, 12vh, 150px); background: linear-gradient(180deg, var(--walnut) 0%, var(--walnut-2) 100%); }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.barber {
  display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 1.1rem; align-content: start;
  padding: clamp(20px, 2.4vw, 30px); border-radius: 22px; border: 1px solid var(--line); background: var(--walnut);
}
.barber.is-owner { border-color: rgba(220, 182, 131, .34); background: radial-gradient(120% 80% at 0% 0%, rgba(181, 138, 88, .13), transparent 60%), var(--walnut); }
.barber-top { display: flex; align-items: center; gap: 1.1rem; }
.barber-id { min-width: 0; }
.barber-id h3 { font-family: var(--f-display); font-weight: 400; font-variation-settings: "wdth" 90; font-size: 1.8rem; line-height: 1.05; letter-spacing: -.01em; }
.barber-id p { color: var(--muted); font-size: .9rem; margin-top: .2rem; }
.barber-sample { margin-left: auto; align-self: flex-start; font-family: var(--f-sign); letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; color: var(--faint); border: 1px dashed var(--line-2); border-radius: 999px; padding: .1rem .55rem; }
.barber-bio { color: var(--cream-2); font-size: .96rem; }
.barber-skills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.barber-skills li { font-family: var(--f-sign); letter-spacing: .12em; text-transform: uppercase; font-size: .84rem; color: var(--bronze-2); border: 1px solid rgba(220, 182, 131, .28); border-radius: 999px; padding: .12rem .6rem; }
.barber-free { display: grid; gap: .65rem; align-content: start; padding-top: 1rem; border-top: 1px solid var(--line); }
.barber-when { display: flex; align-items: center; gap: .55rem; font-size: .9rem; color: var(--cream-2); }
.barber-when i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.barber-when i.on { background: var(--ok); box-shadow: 0 0 0 4px rgba(141, 187, 134, .18); }
.barber-slots { display: flex; flex-wrap: wrap; gap: .4rem; }
.barber-slots button {
  min-height: 44px; min-width: 66px; padding: 0 .8rem; border-radius: 12px; border: 1px solid var(--line-2); background: var(--walnut-2);
  font-variant-numeric: tabular-nums; font-weight: 600; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--ease);
}
.barber-slots button:hover { background: var(--cream); color: var(--walnut); border-color: var(--cream); }
.barber-slots button:active { transform: scale(.96); }
.barber-cta { justify-self: start; }
.barber-cta svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.team-note { margin-top: 1.2rem; font-size: .82rem; color: var(--faint); }
@media (max-width: 960px) { .team-grid { grid-template-columns: minmax(0, 1fr); } .barber { grid-template-rows: none; } }

/* Avatars: initials on the shop's leather and bronze, no photos */
.avatar {
  --tone: #7d552a; --tone-2: #d4a76a;
  position: relative; flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  color: #fff7ea; font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: 1.45rem; line-height: 1;
  background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .3), transparent 52%), linear-gradient(145deg, var(--tone-2), var(--tone));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 0 0 3px var(--walnut), 0 0 0 4px rgba(220, 182, 131, .45);
}
.avatar > span { transform: translateY(-.04em); }
.av-lg { width: 76px; height: 76px; font-size: 2.2rem; }
.av-sm { width: 34px; height: 34px; font-size: 1rem; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 0 0 2px var(--walnut-2), 0 0 0 3px rgba(220, 182, 131, .4); }
.av-bronze { --tone: #7d552a; --tone-2: #d4a76a; }
.av-oxblood { --tone: #3f1716; --tone-2: #9a4642; }
.av-wood { --tone: #33200f; --tone-2: #8f6340; }
.av-badge { position: absolute; right: -3px; bottom: -3px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--bronze-2); color: var(--walnut); box-shadow: 0 0 0 3px var(--walnut); }
.av-badge svg { width: 12px; height: 12px; fill: currentColor; }
.av-sm .av-badge { display: none; }
.av-any { background: none; box-shadow: none; }
.av-mini {
  position: absolute; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: .9rem;
  background: linear-gradient(145deg, var(--tone-2), var(--tone)); box-shadow: 0 0 0 2px var(--walnut-2);
}
.av-mini:nth-child(1) { left: 0; top: 2px; }
.av-mini:nth-child(2) { right: 0; top: 2px; }
.av-mini:nth-child(3) { left: 11px; bottom: 0; }

/* ---------- Booking wizard ---------- */
.sheet-panel { width: min(600px, 100%); }
.sheet-head { padding-bottom: .9rem; }
.sheet-titles { display: grid; gap: .1rem; min-width: 0; }
.sheet-kicker { font-family: var(--f-sign); letter-spacing: .16em; text-transform: uppercase; font-size: .86rem; color: var(--bronze-2); min-height: 1.2em; }
.steps { list-style: none; margin: 0; padding: .75rem 1.6rem .85rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .45rem; border-bottom: 1px solid var(--line); }
.steps button { width: 100%; display: grid; gap: .45rem; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; font-size: .8rem; font-weight: 550; color: var(--faint); min-height: 32px; align-content: center; }
.steps button::before { content: ""; height: 3px; border-radius: 3px; background: var(--line-2); transition: background-color .4s; }
.steps li.is-done button { color: var(--cream-2); }
.steps li.is-done button::before { background: var(--bronze); }
.steps li.is-on button { color: var(--cream); }
.steps li.is-on button::before { background: var(--cream); }
.step-help { font-size: .9rem; color: var(--cream-2); margin: -.2rem 0 .9rem; }
.opt-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin-bottom: .7rem; }
.opt {
  position: relative; display: flex; align-items: center; gap: .6rem; min-height: 54px; padding: .6rem .9rem;
  border-radius: 14px; border: 1px dashed var(--line-2); cursor: pointer; font-size: .92rem; font-weight: 550; line-height: 1.25;
  transition: border-color .25s, background-color .25s;
}
.opt svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--bronze-2); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.opt input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.opt:hover { border-color: var(--cream-2); }
.opt:has(input:checked) { border-style: solid; border-color: var(--cream); background: rgba(241, 232, 216, .06); }
.opt:focus-within { outline: 2px solid var(--bronze-2); outline-offset: 2px; }
.upload-note { font-size: .86rem; color: var(--ok); margin-bottom: .7rem; }
.upload-note:empty { display: none; }
.upload-note.is-bad { color: #e79b91; }
.chips-scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: .2rem -1.6rem .8rem; padding: 0 1.6rem 2px; }
.chips-scroll::-webkit-scrollbar { display: none; }
.pick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.pk { position: relative; display: block; border-radius: 12px; overflow: hidden; cursor: pointer; background: var(--walnut-3); transition: box-shadow .25s; }
.pk input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.pk-img { display: block; aspect-ratio: 4 / 5; }
.pk-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pk:hover .pk-img img { transform: scale(1.04); }
.pk::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(18, 14, 11, .88)); pointer-events: none; }
.pk-name { position: absolute; left: 8px; right: 8px; bottom: 7px; z-index: 1; font-size: .8rem; font-weight: 600; line-height: 1.2; pointer-events: none; }
.pk-check { position: absolute; top: 7px; right: 7px; z-index: 1; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid rgba(241, 232, 216, .75); background: rgba(18, 14, 11, .35) center / 13px no-repeat; pointer-events: none; transition: background-color .2s, border-color .2s; }
.pk input:checked ~ .pk-check { background-color: var(--cream); border-color: var(--cream); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23120e0b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.pk:has(input:checked) { box-shadow: 0 0 0 2px var(--cream); }
.pk input:focus-visible ~ .pk-check { outline: 2px solid var(--bronze-2); outline-offset: 2px; }
.pk-x { position: absolute; top: 6px; left: 6px; z-index: 2; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(18, 14, 11, .72); color: var(--cream); display: grid; place-items: center; cursor: pointer; }
.pk-x svg { width: 12px; height: 12px; }

.bcards { display: grid; gap: .55rem; }
.bc { position: relative; display: block; cursor: pointer; }
.bc input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.bc-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .95rem; padding: .9rem 1rem; border-radius: 16px; border: 1px solid var(--line-2); transition: border-color .25s, background-color .25s; }
.bc:hover .bc-in { border-color: var(--cream-2); }
.bc input:checked + .bc-in { border-color: var(--cream); background: rgba(241, 232, 216, .06); box-shadow: inset 0 0 0 1px var(--cream); }
.bc input:focus-visible + .bc-in { outline: 2px solid var(--bronze-2); outline-offset: 2px; }
.bc-txt { display: grid; gap: .1rem; min-width: 0; }
.bc-txt strong { font-size: 1.02rem; }
.bc-txt small { font-size: .82rem; color: var(--muted); }
.bc-match { justify-self: start; margin-top: .3rem; font-style: normal; font-size: .74rem; font-weight: 650; color: var(--walnut); background: var(--bronze-2); border-radius: 999px; padding: .1rem .55rem; }
.bc-next { display: grid; text-align: right; }
.bc-next small { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.bc-next b { font-size: .9rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

.legend-sub { font-family: var(--f-body); text-transform: none; letter-spacing: 0; font-size: .86rem; color: var(--muted); }
.slot-group + .slot-group { margin-top: 1rem; }
.slot-label { font-size: .8rem; color: var(--muted); margin-bottom: .45rem; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: .45rem; }
.slot span { min-width: 0; text-align: center; padding: .5rem .3rem; }
.slots-empty { padding: 1rem; border-radius: 12px; border: 1px dashed var(--line-2); color: var(--cream-2); font-size: .92rem; }

.bsum { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 1rem; align-items: start; padding: 1rem; margin-bottom: 1.4rem; border-radius: 16px; background: var(--walnut); border: 1px solid var(--line); }
.bsum-img { aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--walnut-3); display: grid; place-items: center; }
.bsum-img img { width: 100%; height: 100%; object-fit: cover; }
.bsum-chair { font-size: .78rem; color: var(--muted); text-align: center; padding: .4rem; }
.bsum dl { margin: 0; display: grid; gap: .5rem; }
.bsum dl > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "k b" "v b"; column-gap: .6rem; }
.bsum dt { grid-area: k; font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.bsum dd { grid-area: v; margin: 0; font-size: .95rem; overflow-wrap: anywhere; }
.bsum .linklike { grid-area: b; align-self: center; font-size: .8rem; color: var(--muted); min-height: 36px; }

.sheet-foot { border-top: 1px solid var(--line); padding: .7rem 1.6rem calc(.9rem + env(safe-area-inset-bottom, 0px)); background: var(--walnut-2); }
.sheet-foot .form-error { margin: 0 0 .55rem; min-height: 0; }
.sheet-foot .form-error:empty { display: none; }
.foot-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: .8rem; }
.foot-back:hover { transform: translateX(-2px); }
.foot-sum { display: flex; align-items: center; gap: .65rem; min-width: 0; font-size: .92rem; font-weight: 550; }
.foot-sum img { width: 36px; height: 45px; object-fit: cover; border-radius: 6px; flex: none; }
.foot-sum > span:last-child { display: grid; min-width: 0; }
.foot-sum > span:last-child, .foot-sum small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.foot-sum small { font-size: .7rem; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.foot-sum .av-any { width: 40px; height: 36px; }
.foot-sum .av-any .av-mini { width: 22px; height: 22px; font-size: .68rem; }
.foot-sum .av-any .av-mini:nth-child(3) { left: 9px; }
.foot-next { padding-inline: 1.2rem; }
.foot-next.is-wait { opacity: .55; }

.done-sum { grid-template-columns: auto minmax(0, 1fr); gap: 1rem; align-items: start; padding: 1.1rem; }
.done-sum:not(:has(img)) { grid-template-columns: minmax(0, 1fr); }
.done-img { width: 84px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; }
.done-sum dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .5rem .9rem; }
.done-sum dt { color: var(--muted); font-size: .88rem; }
.done-sum dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

@media (max-width: 760px) {
  .steps { padding-inline: 1.25rem; }
  .chips-scroll { margin-inline: -1.25rem; padding-inline: 1.25rem; }
  .sheet-foot { padding-inline: 1.25rem; }
  .foot-row { gap: .6rem; }
  .bsum { grid-template-columns: 76px minmax(0, 1fr); }
}
@media (max-width: 380px) {
  .pick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opt { font-size: .86rem; padding-inline: .7rem; }
}

/* Demo layer additions: the style photo travels with the request */
.notif-card { grid-template-columns: 40px minmax(0, 1fr) auto; }
.notif-thumb { width: 44px; height: 55px; object-fit: cover; border-radius: 8px; align-self: center; }
.ph-style { position: relative; margin: -4px -6px 2px; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3.3; background: #e9e1d5; }
.ph-style img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.ph-style figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 1px; padding: 30px 12px 10px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .72)); color: #fff; }
.ph-style figcaption span { font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
.ph-style figcaption strong { font-size: 1.02rem; }
.ph-earlier-row > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.ph-earlier-row img { width: 22px; height: 27px; border-radius: 5px; object-fit: cover; }

/* ---------- Reduced motion ----------
   Keep state changes and hierarchy; swap travel for quick fades. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero { height: auto; }
  .hero-pin { position: relative; height: auto; min-height: 100svh; }
  .js .hero-title .ln > span, .js .load { transform: none !important; opacity: 1 !important; animation: none !important; }
  .js .hero-media-in { clip-path: none !important; scale: 1 !important; animation: none !important; }
  .js .hero-frame::before { opacity: 1; animation: none !important; }
  .marquee-track, .rev-track, .scroll-hint i, .pin-dot::after, .medal.pop { animation: none !important; }
  .rev-row { overflow-x: auto; }
  .js .reveal, .js .leather.reveal { opacity: 1; transform: none; transition: none; }
  .svc-row::before { transform: none; opacity: 0; transition: opacity .2s linear; }
  .svc-row:hover::before, .svc-row:focus-visible::before { opacity: 1; }
  .svc-row:hover .svc-name, .svc-row:hover .svc-icon svg, .quick button:hover { transform: none; }
  .sheet-panel { transform: none !important; opacity: 0; transition: opacity .2s linear; }
  .sheet.is-open .sheet-panel { opacity: 1; }
  .notif { transform: none !important; opacity: 0; transition: opacity .2s linear; }
  .notif.is-on { opacity: 1; }
  .dock { transform: none; opacity: 0; pointer-events: none; transition: opacity .2s linear; }
  .dock.is-on { opacity: 1; pointer-events: auto; }
  .owner-wrap { transform: none !important; transition: opacity .2s linear; }
  .lk:hover .lk-img img, .lk:focus-visible .lk-img img, .pk:hover .pk-img img, .lk-up:hover { transform: none; }
  .lk-go { transition: opacity .2s linear; transform: none; }
}
