/* Origin Barbershop
   Tokens first. All motion uses transform, opacity or clip-path so it stays smooth on phones. */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-var.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/body-var.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  /* Stone palette. --ink is the page, --bone is the text, --signal is the strong action tone. */
  --ink: #d3cfc8;
  --panel: #c6c2ba;
  --raise: #b1ada4;
  --frame: #8f887e;
  --bone: #2e2e2d;
  --mute: #4d4942;
  --em: #6f6a61;
  --line: rgb(46 46 45 / .28);
  --signal: #2e2e2d;
  --signal-hover: #55514a;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(1rem, 4vw, 3.5rem);
  --section: clamp(5rem, 12vw, 10.5rem);
  --head-h: 72px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --t-fast: .2s;
  --t-med: .7s;
  --t-slow: 1.15s;

  --z-pole: 40; --z-head: 50; --z-menu: 44; --z-dock: 46; --z-skip: 100;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 1rem); background: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--bone); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video, picture { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
a, button, summary { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; top: .75rem; left: .75rem; z-index: var(--z-skip); padding: .75rem 1.25rem; background: var(--bone); color: var(--ink); font-weight: 600; transform: translateY(-200%); }
.skip:focus { transform: none; }
.wrap { width: 100%; max-width: 1560px; margin-inline: auto; padding-inline: var(--gutter); }

/* ------- type ------- */
.d1, .d2, .d3, .hero__title, .profile__name, .row__name, .statement, .foot__word, .reviews__num, .menu a, .hero__score strong {
  font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -.025em; line-height: .96;
}
.d1 { font-size: clamp(3rem, 10.5vw, 10.5rem); }
.d2 { font-size: clamp(2.5rem, 6.8vw, 6.75rem); }
.d3 { font-size: clamp(1.75rem, 3vw, 2.75rem); line-height: 1; }
em { font-style: normal; color: var(--em); }
/* Black sections: every component inside picks up the inverted tones. */
.dark { --ink: #0f0f0f; --panel: #1b1b1b; --raise: #2a2a2a; --bone: #efece6; --mute: #b4b1aa; --em: #9b978f; --line: rgb(239 236 230 / .22); --signal: #efece6; --signal-hover: #c9c5bd; background: var(--ink); color: var(--bone); }
.lead { font-size: clamp(1.125rem, 1.7vw, 1.5rem); line-height: 1.4; max-width: 34ch; text-wrap: pretty; }
.eyebrow { font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.ln { display: block; overflow: hidden; padding-block: .04em; margin-block: -.04em; }
.ln > span { display: block; }

/* ------- buttons ------- */
.btn { border-radius: 999px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .625rem; min-height: 52px; padding: .75rem 1.5rem; font-weight: 600; font-size: 1rem; line-height: 1.1; white-space: nowrap; cursor: pointer; transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; transition: transform .35s var(--ease-out); }
.btn:active { transform: scale(.97); }
.btn--signal { background: var(--signal); color: var(--ink); }
.btn--line { border: 1.5px solid var(--line); }
.btn--sm { min-height: 44px; padding: .5rem 1.125rem; font-size: .9375rem; }
@media (hover: hover) {
  .btn--signal:hover { background: var(--signal-hover); }
  .btn--signal:hover svg { transform: translateX(4px); }
  .btn--line:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
}
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.link { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-weight: 600; border-bottom: 1.5px solid currentColor; }
.link svg { width: 1.1em; height: 1.1em; transition: transform .35s var(--ease-out); }
@media (hover: hover) { .link:hover svg { transform: translateX(5px); } }

/* ------- barber pole scroll indicator ------- */
.pole { display: none; }
.js .pole { display: block; position: fixed; inset: 0 0 0 auto; width: 4px; overflow: hidden; z-index: var(--z-pole); pointer-events: none; }
.pole i { position: absolute; inset: 0; transform: translate3d(0, calc((var(--p, 0) - 1) * 100%), 0); will-change: transform; background: repeating-linear-gradient(-45deg, #2e2e2d 0 8px, #efece6 8px 16px, #8f887e 16px 24px); }

/* ------- header ------- */
.head { position: fixed; inset: 0 0 auto; z-index: var(--z-head); transition: transform .45s var(--ease-out), background-color .3s; padding-top: env(safe-area-inset-top); }
.head__in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--head-h); }
.head:not(.is-solid) { padding-top: calc(env(safe-area-inset-top) + clamp(0px, 2vw, 28px)); }
.head.is-solid { background: var(--ink); box-shadow: 0 1px 0 var(--line); }
.head.is-hidden { transform: translateY(-100%); }
.logo { display: block; flex: none; padding-block: .5rem; }
.logo img { width: 112px; height: auto; filter: invert(.84); }
.dark .logo img { filter: none; }
.nav { display: none; }
.head__cta { display: none; }
.nav ul { display: flex; gap: 2.25rem; }
.nav a { position: relative; display: block; padding-block: .75rem; font-weight: 500; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .5rem; height: 2px; background: var(--signal); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out); }
.nav a[aria-current]::after { transform: scaleX(1); }
@media (hover: hover) { .nav a:hover::after { transform: scaleX(1); transform-origin: left; } }

.burger { position: relative; width: 48px; height: 48px; margin-right: -.5rem; z-index: 2; }
.burger i { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--bone); transition: transform .4s var(--ease-out); }
.burger i:first-child { top: 19px; } .burger i:last-child { top: 27px; }
.burger[aria-expanded="true"] i:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { transform: translateY(-4px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: var(--z-menu); display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--head-h) + 2rem + env(safe-area-inset-top)) var(--gutter) calc(6.5rem + env(safe-area-inset-bottom)); background: var(--panel); visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease-in-out), visibility 0s .6s; overflow-y: auto; }
.menu.is-open { visibility: visible; clip-path: inset(0); transition: clip-path .6s var(--ease-in-out), visibility 0s; }
.menu a { display: block; }
.menu li a { font-size: clamp(2.5rem, 12vw, 5rem); padding-block: .1em; opacity: 0; transform: translateY(30px); transition: opacity .3s, transform .3s, color .2s; }
.menu li a[aria-current] { color: var(--signal); }
.menu.is-open li a { opacity: 1; transform: none; transition: opacity .6s var(--ease-out) calc(.15s + var(--i) * 55ms), transform .7s var(--ease-out) calc(.15s + var(--i) * 55ms); }
.menu__foot { color: var(--mute); margin-top: 2rem; }
.menu__foot a { color: var(--bone); display: inline-block; padding-block: .5rem; }

/* ------- hero ------- */
.hero-frame { background: var(--frame); padding: clamp(0px, 2vw, 28px); }
.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: clamp(1.75rem, 5vw, 2.5rem); padding: calc(var(--head-h) + 1rem + env(safe-area-inset-top)) var(--gutter) 2.25rem; overflow: hidden; border-radius: clamp(0px, 1.5vw, 22px); background: linear-gradient(120deg, #dedbd5, #c6c2ba); }
.hero__mark { display: flex; justify-content: center; }
.hero__lockup { display: inline-flex; flex-direction: column; align-items: flex-end; will-change: transform; }
/* The word is painted with a gradient so a soft band of light can sweep across it. */
/* Fuzzy-to-sharp: a rough copy sits on top of a sharp copy. As --sweep moves left to right,
   the rough copy is cut away and a soft line of light rides the edge of the sharp copy. */
@property --sweep { syntax: '<percentage>'; inherits: true; initial-value: 112%; }
.hero__fx { position: absolute; width: 0; height: 0; overflow: hidden; }
.hero__word { --sweep: 112%; position: relative; display: block; font: 500 25vw/.86 var(--display); letter-spacing: -.035em; white-space: nowrap; color: var(--raise); }
.hero__sharp { display: block; clip-path: inset(-10% calc(100% - var(--sweep)) -10% 0); background: linear-gradient(90deg, var(--raise) calc(var(--sweep) - 14%), #f6f4f0 calc(var(--sweep) - 1%), var(--raise) var(--sweep)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__rough { position: absolute; inset: 0; display: block; clip-path: inset(-10% 0 -10% var(--sweep)); filter: url(#rough); opacity: .85; visibility: hidden; }
.hero__sub { display: block; margin-top: .35em; font: 500 clamp(.875rem, 4.2vw, 2.75rem)/1 var(--display); letter-spacing: .42em; margin-right: -.42em; text-transform: uppercase; color: var(--raise); }
.hero__title { position: relative; z-index: 3; font-size: clamp(2.5rem, 11vw, 4rem); line-height: .96; }
.hero__disc { position: absolute; z-index: 4; right: var(--gutter); bottom: 6rem; display: none; place-items: center; width: 92px; aspect-ratio: 1; border-radius: 50%; background: var(--signal); color: var(--ink); font-weight: 600; font-size: .875rem; text-align: center; transition: background-color var(--t-fast), transform .4s var(--ease-out); }
@media (hover: hover) { .hero__disc:hover { background: var(--signal-hover); transform: scale(1.05); } }
.hero__disc:active { transform: scale(.96); }
.hero__side { position: relative; z-index: 3; max-width: 32ch; margin-top: calc(clamp(1.75rem, 5vw, 2.5rem) * -.5); font-size: 1rem; line-height: 1.4; }
.hero__side p + p { margin-top: .375rem; }
.hero__score strong { font-weight: 700; }

/* ------- ticker ------- */
.ticker { position: relative; z-index: 3; overflow: hidden; background: #2e2e2d; color: #efece6; }
.ticker__track { display: flex; width: max-content; animation: slide 34s linear infinite; }
.ticker__track > div { display: flex; align-items: center; }
.ticker span { font: 700 clamp(1rem, 1.8vw, 1.5rem)/1 var(--display); text-transform: uppercase; letter-spacing: -.01em; padding-block: .9em; white-space: nowrap; }
.ticker b { width: .9em; height: .18em; margin-inline: 1.25rem; background: #8f887e; transform: skewX(-35deg); }
@keyframes slide { to { transform: translate3d(-50%, 0, 0); } }

/* ------- sections ------- */
.section { position: relative; padding-block: var(--section); }
.section--tight { padding-top: clamp(1rem, 3vw, 3rem); }
.section--flush { padding-bottom: clamp(4rem, 8vw, 7rem); }
.section--panel { background: var(--panel); }
.section--bone { background: var(--panel); }
.split-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.split-head__side { display: flex; flex-direction: column; align-items: flex-start; gap: .875rem; color: var(--mute); }

.ethos { display: grid; gap: 2rem; }
.statement { font-size: clamp(2.25rem, 5.6vw, 5.75rem); line-height: 1; max-width: 21ch; text-wrap: balance; }
.statement .w { display: inline-block; }
.steps { display: grid; gap: 2rem; margin-top: clamp(2.5rem, 6vw, 5rem); }
.steps li { padding-top: 1.25rem; border-top: 1.5px solid var(--line); }
.steps span { color: var(--signal); font-weight: 600; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.steps h3 { font: 800 clamp(1.5rem, 2.2vw, 2rem)/1 var(--display); letter-spacing: -.02em; text-transform: uppercase; margin: .75rem 0 .625rem; }
.steps p { color: var(--mute); max-width: 36ch; }

/* ------- reels ------- */
.reels { display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x proximity; padding-inline: var(--gutter); padding-bottom: 1rem; scrollbar-width: thin; scrollbar-color: var(--raise) transparent; scroll-padding-inline: var(--gutter); }
.reel { flex: 0 0 min(72vw, 330px); scroll-snap-align: start; }
.reel video { border-radius: 14px; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; background: var(--panel); }
.reel figcaption { margin-top: .625rem; font-size: .9375rem; line-height: 1.35; color: var(--mute); }

/* ------- rows ------- */
.rows { border-top: 1.5px solid var(--line); }
.row { position: relative; display: grid; grid-template-columns: 1fr auto; gap: .375rem 1.5rem; align-items: baseline; padding-block: clamp(1.125rem, 2.2vw, 1.875rem); border-bottom: 1.5px solid var(--line); isolation: isolate; }
a.row::before { content: ""; position: absolute; z-index: -1; inset: 0 calc(var(--gutter) * -1); background: var(--signal); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease-out); }
.row__name { font-size: clamp(1.625rem, 3.8vw, 3.5rem); line-height: 1; transition: transform .45s var(--ease-out); }
.row__price { font: 800 clamp(1.5rem, 3vw, 2.75rem)/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--bone); white-space: nowrap; text-align: right; transition: color .2s; }
.row__price small { display: block; font: 500 .8125rem/1.3 var(--body); color: var(--mute); text-transform: none; transition: color .2s; }
.plus { margin-left: .02em; }
.row__meta { grid-column: 1 / -1; color: var(--mute); transition: color .2s; }
.row__tiers { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin-top: .375rem; }
.row__tiers li { display: flex; gap: .625rem; font-size: .9375rem; color: var(--mute); }
.row__tiers b { color: var(--bone); font-weight: 600; font-variant-numeric: tabular-nums; }
@media (hover: hover) {
  a.row:hover::before { transform: scaleY(1); }
  a.row:hover { color: var(--ink); }
  a.row:hover .row__name { transform: translateX(.75rem); }
  a.row:hover .row__price, a.row:hover .row__price small, a.row:hover .row__meta { color: var(--ink); }
  a.row:hover .row__tiers li, a.row:hover .row__tiers b { color: var(--ink); }
}

/* ------- shop (image grows to full width as you scroll) ------- */
.shop { position: relative; background: var(--ink); }
.shop__pin { position: relative; height: clamp(520px, 100svh, 1100px); overflow: hidden; }
.shop__frame { position: absolute; inset: 0; clip-path: inset(var(--inset, 0%) var(--inset, 0%) var(--inset, 0%) var(--inset, 0%)); }
.shop__frame picture, .shop__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 72%; }
.shop__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(17 18 20 / .92) 8%, rgb(17 18 20 / .55) 45%, rgb(17 18 20 / .05) 75%); }
.shop__copy { position: absolute; left: 0; right: 0; bottom: clamp(1.75rem, 5vw, 4.5rem); margin-inline: auto; }
.shop__copy .d1 { font-size: clamp(2.5rem, 7.4vw, 7.5rem); color: #f1eee8; }

/* ------- team (black and white, everyone the same size) ------- */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem .75rem; }
.team a { display: block; }
.team__ph, .profile__ph { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 14px; background: var(--panel); }
.team__ph picture, .profile__ph picture { display: block; width: 100%; height: 100%; }
.team__ph img, .profile__ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); transition: transform .9s var(--ease-out); }
.team__name { display: block; margin-top: .75rem; font: 800 clamp(1.25rem, 2vw, 1.75rem)/1.1 var(--display); letter-spacing: -.02em; text-transform: uppercase; }
.team__role { color: var(--mute); font-size: .9375rem; }
@media (hover: hover) { .team a:hover img { transform: scale(1.04); } }

/* ------- reviews ------- */
.reviews { display: grid; gap: 3rem; }
.reviews__num { font-size: clamp(6.5rem, 19vw, 17rem); line-height: .9; margin-top: 1rem; }
.reviews__h { font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 500; line-height: 1.25; margin: 1.25rem 0 .75rem; max-width: 22ch; }
.quotes li { padding-block: clamp(1.5rem, 3vw, 2.5rem); border-top: 1.5px solid var(--line); }
.quotes li:last-child { border-bottom: 1.5px solid var(--line); }
blockquote { font-size: clamp(1.375rem, 2.5vw, 2.25rem); line-height: 1.2; font-weight: 500; letter-spacing: -.01em; text-wrap: pretty; }
.quotes p { margin-top: .875rem; color: var(--mute); font-size: .9375rem; }

/* ------- visit ------- */
.visit { display: grid; gap: 3rem; }
.visit .eyebrow { margin-bottom: 1.25rem; }
.visit__copy > * + * { margin-top: 2.25rem; }
.facts > div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding-block: 1rem; border-top: 1.5px solid var(--line); }
.facts > div:last-child { border-bottom: 1.5px solid var(--line); }
.facts dt { color: var(--mute); }
.facts a { display: inline-block; font-weight: 500; }
@media (hover: hover) { .facts a:hover { color: var(--signal); } }
.status { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; }
.status i { width: .625rem; height: .625rem; border-radius: 50%; background: var(--mute); flex: none; }
.status.is-open i { background: #1f7a45; }
.status.is-closed i { background: var(--mute); }
.hours th { text-align: left; font-weight: 400; padding-block: .3125rem; color: var(--mute); }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--bone); font-weight: 600; }
.visit__media { display: grid; gap: .75rem; align-content: start; }
.frame { overflow: hidden; background: var(--panel); border-radius: 14px; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame picture, .frame img { width: 100%; height: 100%; object-fit: cover; }
.map { border-radius: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem; background: var(--panel); color: var(--mute); font-size: .9375rem; }
.map p { flex: 1 1 14rem; }
.map.is-loaded { padding: 0; aspect-ratio: 4 / 3; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }

/* ------- cta ------- */
.cta { position: relative; padding-block: clamp(5rem, 11vw, 10rem); background: var(--panel); overflow: hidden; }
.stripes { position: absolute; inset: 0 0 auto; height: 10px; overflow: hidden; }
.stripes i { position: absolute; inset: 0 -60px; background: repeating-linear-gradient(-45deg, #efece6 0 14px, #8f887e 14px 28px, #2e2e2d 28px 42px); animation: pole 2.4s linear infinite; will-change: transform; }
@keyframes pole { to { transform: translate3d(59.4px, 0, 0); } }
.cta__row { display: grid; gap: 1.75rem; margin-top: clamp(2rem, 4vw, 3.5rem); }

/* ------- inner pages ------- */
.phero { padding-top: calc(var(--head-h) + clamp(3rem, 8vw, 7rem) + env(safe-area-inset-top)); padding-bottom: clamp(3rem, 6vw, 5rem); }
.phero__title { margin-top: 1.25rem; }
.phero__row { display: grid; gap: 1.75rem; margin-top: clamp(1.75rem, 3vw, 3rem); }
.phero--404 { min-height: 90svh; }
.group { display: grid; gap: 2rem; padding-block: clamp(2.5rem, 5vw, 5rem); scroll-margin-top: var(--head-h); }
.group__head p { color: var(--mute); margin-top: .75rem; max-width: 30ch; }
.group__head h2 { margin-top: .75rem; }
.note { display: grid; gap: .75rem; padding: 1.5rem; background: var(--panel); margin-top: 2rem; color: var(--mute); }
.note strong { color: var(--bone); font-weight: 600; }

.profile { padding-block: clamp(2.5rem, 6vw, 6rem); border-top: 1.5px solid var(--line); scroll-margin-top: var(--head-h); }
.profile__name { font-size: clamp(3.5rem, 13vw, 11rem); margin-top: .75rem; }
.profile__body { display: grid; gap: 2rem; margin-top: clamp(1.5rem, 3vw, 3rem); }
.profile__bio { font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.45; max-width: 40ch; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.chips li { padding: .3125rem .75rem; border: 1.5px solid var(--line); font-size: .875rem; }
.prices { margin-bottom: 1.5rem; }
.prices th { text-align: left; font-weight: 400; color: var(--mute); padding-block: .625rem; border-top: 1.5px solid var(--line); }
.prices td { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; border-top: 1.5px solid var(--line); }
.prices tr:last-child th, .prices tr:last-child td { border-bottom: 1.5px solid var(--line); }

.gal-h { margin: clamp(1.5rem, 4vw, 3.5rem) 0 1.5rem; }
.masonry { columns: 2; column-gap: .625rem; }
.tile { border-radius: 14px; display: block; margin-bottom: .625rem; overflow: hidden; break-inside: avoid; background: var(--panel); }
.tile img { width: 100%; transition: transform .9s var(--ease-out); }
@media (hover: hover) { .tile:hover img { transform: scale(1.04); } }
.lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(15 15 15 / .97); color: var(--bone); }
.lb[open] { display: grid; grid-template-rows: auto 1fr auto auto; animation: fade .3s; }
.lb::backdrop { background: transparent; }
.lb__bar, .lb__nav { display: flex; justify-content: space-between; align-items: center; padding: .5rem var(--gutter); }
.lb__nav { padding-bottom: calc(.75rem + env(safe-area-inset-bottom)); }
.lb__stage { min-height: 0; display: grid; place-items: center; padding-inline: var(--gutter); }
.lb__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; min-height: 0; }
.lb__cap { padding: .5rem var(--gutter) 0; text-align: center; color: var(--mute); font-size: .9375rem; }
.lb__count { font-variant-numeric: tabular-nums; color: var(--mute); }
.icon { display: grid; place-items: center; width: 48px; height: 48px; border: 1.5px solid var(--line); }
.icon svg { width: 22px; height: 22px; }
@keyframes fade { from { opacity: 0; } }

.faq { display: grid; gap: 2.5rem; }
details { border-top: 1.5px solid var(--line); }
details:last-child { border-bottom: 1.5px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; padding-block: 1rem; font-size: clamp(1.125rem, 1.6vw, 1.375rem); font-weight: 500; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary i { position: relative; flex: none; width: 18px; height: 18px; }
summary i::before, summary i::after { content: ""; position: absolute; inset: 8px 0 auto; height: 2px; background: var(--signal); transition: transform .35s var(--ease-out); }
summary i::after { transform: rotate(90deg); }
details[open] summary i::after { transform: rotate(0); }
details p { padding-bottom: 1.25rem; color: var(--mute); max-width: 52ch; }

/* ------- footer + dock ------- */
.foot { padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); overflow: hidden; }
.foot__grid { display: grid; gap: 2.25rem; color: var(--mute); }
.foot__grid a { color: var(--bone); display: inline-block; padding-block: .1875rem; }
@media (hover: hover) { .foot__grid a:hover { color: var(--signal); } }
.foot__grid p + p { margin-top: .5rem; }
.logo--foot img { width: 150px; }
.foot__tag { margin-top: 1rem; max-width: 30ch; }
.foot__h { font: 600 .8125rem/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: .75rem; }
.foot__word { font-size: 22vw; letter-spacing: -.03em; line-height: .86; text-align: center; margin-top: clamp(2.5rem, 6vw, 5rem); color: var(--panel); user-select: none; }
.foot__legal { margin-top: 1.5rem; font-size: .875rem; color: var(--mute); }
.dock { position: fixed; z-index: var(--z-dock); inset: auto 0 0; display: grid; grid-template-columns: 52px 1fr; gap: .5rem; padding: .5rem .75rem calc(.5rem + env(safe-area-inset-bottom)); background: var(--ink); box-shadow: 0 -1px 0 var(--line); transition: transform .4s var(--ease-out); }
.dock__call { padding: 0; }

/* ------- breakpoints ------- */
@media (min-width: 600px) {
  .masonry { columns: 2; column-gap: .875rem; } .tile { margin-bottom: .875rem; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .row { grid-template-columns: minmax(0, 1fr) minmax(12rem, 22rem) auto; align-items: center; }
  .row__meta { grid-column: 2; grid-row: 1; }
  .row__price { grid-column: 3; grid-row: 1; min-width: 7rem; }
  .row__tiers { grid-column: 1 / -1; }
  .cta__row, .phero__row { grid-template-columns: 1fr auto; align-items: end; }
  .reel { flex-basis: 300px; }
  .reel:nth-child(even) { margin-top: 3.5rem; }
}
@media (min-width: 960px) {
  :root { --head-h: 88px; }
  .logo img { width: 128px; }
  .nav { display: block; position: absolute; left: 50%; translate: -50% 0; }
  .head__cta { display: block; }
  .burger, .menu { display: none; }
  /* Desktop: a small floating Book pill once the header button has scrolled away. */
  .dock { display: block; inset: auto clamp(1.25rem, 2.5vw, 2rem) clamp(1.25rem, 2.5vw, 2rem) auto; padding: 0; background: none; box-shadow: none; opacity: 0; visibility: hidden; transform: translate3d(0, 16px, 0); transition: opacity .35s var(--ease-out), transform .45s var(--ease-out), visibility 0s .45s; }
  .dock.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease-out), transform .45s var(--ease-out), visibility 0s; }
  .dock__call { display: none; }
  .dock .btn--signal { min-height: 48px; padding: .625rem 1.375rem; font-size: .9375rem; box-shadow: 0 8px 24px rgb(0 0 0 / .18), 0 0 0 1px rgb(239 236 230 / .28); }
  .foot { padding-bottom: 2rem; }
  .js .pole { width: 8px; }

  .hero { display: block; min-height: calc(100svh - clamp(0px, 4vw, 56px)); padding: 0; }
  .hero__mark { position: absolute; z-index: 1; inset: calc(var(--head-h) + clamp(.5rem, 3svh, 3rem)) 0 auto; }
  /* --ws: as wide as the mockup, but capped by height so short screens keep a gap above the headline. */
  .hero { --ws: min(25.5vw, calc(48svh - 70px)); }
  .hero__word { font-size: var(--ws); }
  .hero__sub { font-size: calc(var(--ws) * .13); margin-top: .4em; }
  .hero__title { position: absolute; left: var(--gutter); bottom: clamp(1.5rem, 3vw, 2.5rem); font-size: clamp(2.5rem, min(5.4vw, 9svh), 5.75rem); max-width: 50%; }
  /* The circle sits in the same block as the text above it, so the two can never overlap. */
  .hero__disc { display: grid; position: relative; right: auto; bottom: auto; width: clamp(88px, min(8.5vw, 15svh), 128px); margin-bottom: clamp(.75rem, 2.5vh, 1.75rem); font-size: clamp(.9375rem, 1.1vw, 1.0625rem); }
  .hero__side { position: absolute; margin-top: 0; left: auto; top: auto; right: var(--gutter); bottom: clamp(1.5rem, 3vw, 2.5rem); max-width: 19ch; font-size: .9375rem; line-height: 1.4; }
  .hero__side p + p { margin-top: .625rem; }
  .hero__lead { font-size: 1.25rem; }

  .team { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
  .ethos { grid-template-columns: 1fr 5fr; }
  .steps { grid-column: 2; }
  .reels { gap: 1rem; }
  .reel { flex: 1 1 0; min-width: 236px; max-width: 420px; }
  .reviews { grid-template-columns: 5fr 6fr; gap: 4rem; align-items: end; }
  .visit { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 7rem); }
  .group { grid-template-columns: 1fr 3fr; gap: 3rem; }
  .profile { display: grid; grid-template-columns: minmax(16rem, 24rem) 1fr; column-gap: clamp(2rem, 5vw, 5rem); align-items: start; }
  .profile__top { grid-column: 2; }
  .profile__body { display: contents; }
  .profile__ph { grid-column: 1; grid-row: 1 / span 3; }
  .profile__body > div:not(.profile__ph) { grid-column: 2; margin-top: 1.5rem; }
  .masonry { columns: 3; column-gap: 1rem; } .tile { margin-bottom: 1rem; }
  .faq { grid-template-columns: 1fr 1fr; }
  .foot__grid { grid-template-columns: 1.4fr 1fr 1.2fr .8fr; }
}
/* Shorter laptop screens: the circle sits beside the text so the big wordmark keeps room above. */
@media (min-width: 960px) and (max-height: 820px) {
  .hero__side { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1.25rem; align-items: center; max-width: 34ch; }
  .hero__disc { grid-row: 1 / span 2; margin-bottom: 0; }
  .hero__side p + p { margin-top: .375rem; }
}
@media (min-width: 600px) and (max-width: 959px) and (min-height: 521px) {
  .hero__title { font-size: clamp(3rem, 9vw, 5.5rem); }
  .hero__side { font-size: 1.125rem; }
}
@media (max-height: 520px) and (orientation: landscape) and (max-width: 959px) {
  .hero__title { font-size: 2.75rem; }
  .hero__word { font-size: 18vw; }
}

/* ------- motion. Everything is visible by default; these only apply once JS is confirmed running. ------- */
@media (prefers-reduced-motion: no-preference) {
  /* Hero plays from CSS alone, so it never waits on a script. */
  .hero__title .ln > span { animation: rise var(--t-slow) var(--ease-out) both; }
  .hero__title .ln:nth-child(2) > span { animation-delay: .08s; }
  .hero__title .ln:nth-child(3) > span { animation-delay: .16s; }
  .hero__word { animation: sweep 1.7s cubic-bezier(.45, 0, .2, 1) .3s both; }
  .hero__rough { visibility: visible; animation: rough-in .3s ease-out both, rough-done 0s linear 2s forwards; }
  .hero__sub { animation: fade-in 1s var(--ease-out) .45s both; }
  .hero__side { animation: up .9s var(--ease-out) .55s both; }
  .phero__eye, .phero__row { animation: up .9s var(--ease-out) .3s both; }
  .phero__title .ln > span { animation: rise var(--t-slow) var(--ease-out) both; }
  .phero__title .ln:nth-child(2) > span { animation-delay: .08s; }

  .js [data-reveal] { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity var(--t-med) var(--ease-out) var(--d, 0s), transform var(--t-med) var(--ease-out) var(--d, 0s); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js [data-lines] .ln > span { transform: translate3d(0, 104%, 0); transition: transform var(--t-slow) var(--ease-out); }
  .js [data-lines] .ln:nth-child(2) > span { transition-delay: .09s; }
  .js [data-lines].is-in .ln > span { transform: none; }
  .js [data-wipe] > picture { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease-in-out); }
  .js [data-wipe] img { transform: scale(1.14); transition: transform 1.6s var(--ease-out); }
  .js [data-wipe].is-in > picture { clip-path: inset(0); }
  .js [data-wipe].is-in img { transform: none; }
  .js .w { opacity: .16; transition: opacity .6s linear calc(var(--i) * 55ms); }
  .js [data-words].is-in .w { opacity: 1; }
  .js .foot__word { transform: translate3d(0, 12%, 0); transition: transform 1.4s var(--ease-out); }
  .js .foot__word.is-in { transform: none; }

  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: .22s ease-in both fade-out; }
  ::view-transition-new(root) { animation: .55s var(--ease-out) both page-in; }
}
@keyframes rise { from { transform: translate3d(0, 104%, 0); } to { transform: none; } }
@keyframes up { from { opacity: 0; transform: translate3d(0, 22px, 0); } to { opacity: 1; transform: none; } }
@keyframes sweep { from { --sweep: -12%; } to { --sweep: 112%; } }
@keyframes rough-in { from { opacity: 0; } to { opacity: .85; } }
@keyframes rough-done { to { visibility: hidden; } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes cut-in { from { opacity: 0; transform: translate3d(0, 7%, 0) scale(1.03); } to { opacity: 1; transform: none; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes page-in { from { opacity: 0; transform: translate3d(0, 18px, 0); } }

.is-paused .ticker__track { animation-play-state: paused; }
@media (hover: hover) { .ticker:hover .ticker__track { animation-play-state: paused; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .pole i { will-change: auto; }
}
