/* Visionary Barber & Tattoo Studio
   Palette: black lacquer, brass (the chair and the old price board), bone, and the rose red of the script logo. */

:root {
  --ink: #0b0908;
  --ink-2: #120f0d;
  --ink-3: #1a1613;
  --bone: #eee6d8;
  --bone-dim: #cfc6b7;
  --mute: #a89f90;
  --brass: #c9a96a;
  --brass-hi: #f1dcaa;
  --brass-lo: #8a7045;
  --rule: rgba(201, 169, 106, 0.28);
  --rule-strong: rgba(201, 169, 106, 0.6);
  --rose: #b3202b;
  --rose-hi: #e0646c;
  --violet: #6d2fd6;

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(88px, 12vw, 168px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }
h1 em, h2 em { color: var(--brass); }
::selection { background: var(--brass); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brass-hi); outline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--brass); color: var(--ink); padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--mute); }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: 0.7; }
.eyebrow--rose { color: var(--rose-hi); }
h2 { text-wrap: balance; font-family: var(--serif); font-size: clamp(2.6rem, 5.4vw, 4.8rem); line-height: 0.98; letter-spacing: -0.01em; }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); max-width: 720px; }
.section-head__note { color: var(--mute); margin-top: 22px; max-width: 52ch; font-size: 0.98rem; }
.section-head__note a { color: var(--brass); }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; max-width: none; flex-wrap: wrap; }
.section-head--split .section-head__note { margin: 0; max-width: 36ch; }

/* ---------- buttons ---------- */
.btn {
  --bg: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--brass); background: var(--bg); color: var(--bone);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  cursor: pointer; white-space: nowrap;
}
.btn--lg { min-height: 56px; padding: 0 30px; }
.btn--brass { background: var(--brass); color: var(--ink); }
.btn--brass:hover { background: var(--brass-hi); border-color: var(--brass-hi); box-shadow: 0 10px 40px -12px rgba(241, 220, 170, 0.5); }
.btn--ghost { border-color: var(--rule-strong); }
.btn--ghost:hover { border-color: var(--brass); background: rgba(201, 169, 106, 0.08); }
.btn--rose { background: var(--rose); border-color: var(--rose); color: #fff; }
.btn--rose:hover { background: #c92a36; box-shadow: 0 10px 40px -12px rgba(179, 32, 43, 0.7); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--brass); text-decoration: none; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 0; border-bottom: 1px solid var(--rule);
  transition: gap 0.3s var(--ease), border-color 0.3s;
}
.link-arrow::after { content: "\2192"; }
.link-arrow:hover { gap: 16px; border-color: var(--brass); }

/* ---------- the brass keyline frame (after the gold ruled price board) ---------- */
.frame { position: relative; margin: 0; overflow: hidden; background: var(--ink-3); border: 1px solid var(--rule); }
.frame > img { width: 100%; height: 100%; object-fit: cover; }
.frame::after {
  content: ""; position: absolute; inset: 9px; pointer-events: none; z-index: 2;
  border: 1px solid rgba(241, 220, 170, 0.42);
  box-shadow: inset 0 0 0 1px rgba(11, 9, 8, 0.25);
}

/* ---------- film grain host ---------- */
.grain { position: relative; isolation: isolate; }
.grain > canvas.grain__layer {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 1; mix-blend-mode: plus-lighter; opacity: 0.05;
}
.grain > *:not(canvas):not(.hero__glow) { position: relative; z-index: 2; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(11, 9, 8, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--rule); }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; gap: 28px; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__seal { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 1px var(--rule), 0 6px 20px -6px rgba(0, 0, 0, 0.8); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 1.55rem; letter-spacing: 0.01em; }
.brand__sub { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--brass); margin-top: 5px; }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a { position: relative; text-decoration: none; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone-dim); padding: 8px 0; transition: color 0.3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease); }
.nav__links a:hover { color: var(--bone); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { min-height: 42px; padding: 0 18px; font-size: 0.72rem; }
.nav__toggle { display: none; margin-left: auto; width: 46px; height: 46px; background: none; border: 1px solid var(--rule-strong); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.nav__bar { width: 18px; height: 1px; background: var(--bone); transition: transform 0.35s var(--ease); }
.nav__toggle[aria-expanded="true"] .nav__bar:nth-child(2) { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bar:nth-child(3) { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--nav-h)); height: calc(100dvh - var(--nav-h)); background: var(--ink); padding: 32px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { font-family: var(--serif); font-size: 2.3rem; line-height: 1.2; text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.mobile-menu__foot { display: grid; gap: 12px; margin-top: 32px; }

/* ---------- hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; padding: calc(var(--nav-h) + 40px) 0 72px; display: flex; align-items: center; overflow: hidden; }
.hero__glow {
  position: absolute; inset: -10% -10% auto auto; width: 80vw; height: 110vh; z-index: 0;
  background:
    radial-gradient(40% 36% at 70% 38%, rgba(109, 47, 214, 0.24), transparent 70%),
    radial-gradient(30% 30% at 50% 70%, rgba(179, 32, 43, 0.16), transparent 70%),
    radial-gradient(26% 24% at 82% 14%, rgba(201, 169, 106, 0.1), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__title { font-family: var(--serif); font-size: clamp(3.3rem, 7.6vw, 7.4rem); line-height: 0.92; letter-spacing: -0.02em; margin-bottom: 30px; }
.hero__title em { color: var(--brass); display: inline; }
.hero__lede { color: var(--bone-dim); font-size: clamp(1.02rem, 1.2vw, 1.14rem); max-width: 50ch; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero__proof { display: flex; gap: 0; border-top: 1px solid var(--rule); padding-top: 22px; max-width: 460px; }
.hero__proof li { flex: 1; display: flex; align-items: center; gap: 14px; }
.hero__proof li + li { border-left: 1px solid var(--rule); padding-left: 22px; }
.hero__proof strong { font-family: var(--serif); font-weight: 400; font-size: 2.6rem; line-height: 1; }
.hero__proof span { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); line-height: 1.4; }

.hero__media { position: relative; padding: 0 0 12% 14%; }
.hero__main { aspect-ratio: 4 / 5; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9), 0 0 120px -40px rgba(109, 47, 214, 0.5); }
.hero__main img { object-position: 50% 28%; }
.hero__inset { position: absolute; left: 0; bottom: 0; width: 36%; aspect-ratio: 3 / 5; z-index: 3; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.95); }
.hero__inset img { object-position: 50% 60%; }
.hero__caption {
  position: absolute; right: -6px; top: 8%; writing-mode: vertical-rl; margin: 0;
  font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--mute);
  transform: translateX(100%); padding-left: 14px;
}
.hero__caption span { color: var(--brass); margin-bottom: 12px; display: inline-block; }
.hero__scroll { position: absolute; left: 50%; bottom: 22px; width: 1px; height: 54px; background: var(--rule); overflow: hidden; z-index: 3; }
.hero__scroll span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--brass); animation: drip 2.4s var(--ease) infinite; }
@keyframes drip { to { top: 110%; } }

/* drop text (port of drop-text.tsx: words drop in with a staggered perspective entrance) */
.js [data-drop] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.js [data-drop] .w__i { display: inline-block; transform: translateY(105%) rotate(6deg); transform-origin: 0 100%; opacity: 0; filter: blur(6px); transition: transform 1.1s var(--ease), opacity 0.9s var(--ease), filter 0.9s var(--ease); transition-delay: calc(var(--i) * 70ms + 150ms); }
.js [data-drop].is-in .w__i { transform: none; opacity: 1; filter: none; }

/* sheen: a monochrome brass light sweep (port of shiny-text-animation.tsx, kept to one hue) */
.sheen {
  background: linear-gradient(100deg, var(--brass) 0%, var(--brass) 40%, var(--brass-hi) 50%, var(--brass) 60%, var(--brass) 100%);
  background-size: 300% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 7s ease-in-out infinite;
}
@keyframes sheen { 0%, 55% { background-position: 100% 0; } 85%, 100% { background-position: 0 0; } }

/* generic reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal[data-delay="3"] { transition-delay: 0.55s; }
.js .reveal[data-delay="4"] { transition-delay: 0.7s; }
.js .reveal[data-delay="5"] { transition-delay: 0.85s; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- credential rail ---------- */
.rail { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--ink-2); }
.rail__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.rail__list li { padding: 22px 24px; font-size: 0.86rem; color: var(--bone-dim); line-height: 1.45; border-left: 1px solid var(--rule); }
.rail__list li:first-child { border-left: 0; padding-left: 0; }
.rail__k { display: block; font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--brass); margin-bottom: 2px; }

/* ---------- creed (port of code-scroll-text-reveal.tsx) ---------- */
.creed { padding: var(--section) 0; }
.creed__wrap { max-width: 1180px; }
.creed__text { font-family: var(--serif); font-size: clamp(1.9rem, 4.2vw, 3.7rem); line-height: 1.16; letter-spacing: -0.01em; margin: 0; }
.js .creed__text .cw { opacity: 0.16; transition: opacity 0.35s linear; }
.js .creed__text .cw.on { opacity: 1; }
.creed__pill {
  display: inline-block; vertical-align: middle; width: 2.3em; height: 1.05em; margin: 0 0.12em;
  border: 1px solid var(--rule-strong); padding: 3px; transform: rotate(-3deg) translateY(-0.06em);
}
.creed__pill + .creed__pill, .creed__pill:nth-of-type(2) { transform: rotate(2.5deg) translateY(-0.06em); }
.creed__pill img { width: 100%; height: 100%; object-fit: cover; }
.js .creed__pill { opacity: 0.16; transition: opacity 0.5s; }
.js .creed__pill.on { opacity: 1; }

/* ---------- menu board ---------- */
.menu { padding: 0 0 var(--section); }
.board { position: relative; background: var(--ink-2); border: 1px solid var(--rule); padding: clamp(20px, 3vw, 44px); }
.board::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--rule); pointer-events: none; }
.board__tabs { position: relative; display: flex; flex-wrap: wrap; gap: 4px 34px; border-bottom: 1px solid var(--rule); margin-bottom: clamp(28px, 4vw, 48px); }
.board__tabs button {
  position: relative; background: none; border: 0; padding: 16px 0; cursor: pointer;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); transition: color 0.3s;
}
.board__tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--brass); transform: scaleX(0); transition: transform 0.45s var(--ease); }
.board__tabs button:hover { color: var(--bone); }
.board__tabs button[aria-selected="true"] { color: var(--bone); }
.board__tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.board__body { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.panel:focus-visible { outline-offset: 8px; }
.js .panel:not([hidden]) { animation: panelIn 0.6s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } }
.prices li { padding: 18px 0 16px; border-bottom: 1px solid rgba(201, 169, 106, 0.14); }
.prices li:first-child { padding-top: 0; }
.prices__row { display: flex; align-items: baseline; gap: 14px; }
.prices h3 { font-size: 0.96rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.35; }
.prices__dots { flex: 1; min-width: 20px; border-bottom: 1px dotted rgba(201, 169, 106, 0.5); transform: translateY(-5px); }
.prices__amt { font-family: var(--serif); font-size: 1.85rem; line-height: 1; color: var(--brass); white-space: nowrap; }
.prices li > p { margin: 6px 0 0; color: var(--mute); font-size: 0.95rem; max-width: 56ch; }
.prices__time { display: inline-block; margin-left: 8px; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bone-dim); white-space: nowrap; }
.prices__promo { display: inline-block; margin-top: 10px !important; padding: 4px 10px; border: 1px solid rgba(224, 100, 108, 0.5); color: var(--rose-hi) !important; font-size: 0.72rem !important; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.panel__aside { color: var(--mute); font-size: 0.92rem; margin-top: 22px; font-style: italic; }
.board__media { aspect-ratio: 4 / 5; max-width: 480px; width: 100%; justify-self: end; position: sticky; top: calc(var(--nav-h) + 24px); }
.board__media img { position: absolute; inset: 0; opacity: 0; transform: scale(1.05); transition: opacity 0.8s var(--ease), transform 1.4s var(--ease); }
.board__media img.is-on { opacity: 1; transform: none; }
.board__foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: clamp(28px, 4vw, 48px); padding-top: 26px; border-top: 1px solid var(--rule); }
.board__foot p { margin: 0; color: var(--mute); font-size: 0.95rem; max-width: 64ch; }

/* ---------- the perm (port of sticky-content-wrapper.tsx: pinned text steps with crossfading media) ---------- */
.perm { padding: var(--section) 0 0; background: linear-gradient(180deg, var(--ink) 0%, #100b12 30%, #100b12 70%, var(--ink) 100%); }
.perm__intro { max-width: 1320px; }
.perm__intro h2 { max-width: 12ch; }
.perm__intro p { color: var(--bone-dim); max-width: 58ch; margin-top: 26px; font-size: 1.08rem; }
.perm__stage { position: relative; height: 380vh; margin-top: 40px; }
.perm__sticky { position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); display: flex; align-items: center; }
.perm__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.perm__steps { counter-reset: s; }
.perm__step { padding: clamp(10px, 2.2vh, 20px) 0 clamp(10px, 2.2vh, 20px) 28px; border-left: 1px solid var(--rule); opacity: 0.32; transition: opacity 0.6s var(--ease), border-color 0.6s; position: relative; }
.perm__step::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 1px; background: var(--brass); transform: scaleY(0); transform-origin: top; transition: transform 0.7s var(--ease); }
.perm__step.is-active { opacity: 1; }
.perm__step.is-active::before { transform: scaleY(1); }
.perm__num { font-family: var(--serif); font-style: italic; color: var(--brass); font-size: 1.1rem; }
.perm__step h3 { font-family: var(--serif); font-size: clamp(1.5rem, min(2.6vw, 4.4vh), 2.4rem); line-height: 1.1; margin: 2px 0 8px; }
.perm__step p { margin: 0; color: var(--bone-dim); max-width: 44ch; font-size: 0.98rem; }
.perm__media { aspect-ratio: 4 / 5; max-height: calc(100vh - var(--nav-h) - 64px); width: 100%; max-width: 540px; justify-self: end; box-shadow: 0 0 140px -40px rgba(109, 47, 214, 0.55); }
.perm__media img { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity 0.9s var(--ease), transform 1.6s var(--ease); }
.perm__media img.is-on { opacity: 1; transform: none; }
.perm__counter { position: absolute; right: 22px; bottom: 20px; z-index: 3; font-size: 0.72rem; letter-spacing: 0.2em; color: var(--bone); background: rgba(11, 9, 8, 0.6); padding: 6px 10px; backdrop-filter: blur(6px); }
.perm__current { color: var(--brass); }
.perm__note { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding-top: 40px; padding-bottom: var(--section); border-bottom: 0; }
.perm__note p { color: var(--bone-dim); max-width: 60ch; margin: 0; }
.perm__note strong { color: var(--bone); font-weight: 600; }
.perm__price { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute); white-space: nowrap; }
.perm__price span { font-family: var(--serif); font-size: 3.6rem; letter-spacing: 0; text-transform: none; color: var(--brass); margin-left: 10px; vertical-align: -0.12em; }

/* ---------- gallery ---------- */
.work { padding: 0 0 var(--section); }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(70px, 7.4vw, 104px); gap: clamp(10px, 1.4vw, 18px); }
.g { position: relative; }
.g--a { grid-column: 1 / 5; grid-row: 1 / 6; }
.g--f { grid-column: 1 / 5; grid-row: 6 / 9; }
.g--b { grid-column: 5 / 9; grid-row: 1 / 5; }
.g--e { grid-column: 5 / 9; grid-row: 5 / 9; }
.g--c { grid-column: 9 / 13; grid-row: 1 / 4; }
.g--d { grid-column: 9 / 13; grid-row: 4 / 9; }
.g--g { grid-column: 1 / 4; grid-row: 9 / 13; }
.g--i { grid-column: 4 / 7; grid-row: 9 / 13; }
.g--j { grid-column: 7 / 13; grid-row: 9 / 13; }
.g__btn { position: absolute; inset: 0; padding: 0; border: 1px solid var(--rule); background: var(--ink-3); cursor: zoom-in; overflow: hidden; display: block; width: 100%; }
.g__btn::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(241, 220, 170, 0); transition: border-color 0.5s var(--ease), inset 0.5s var(--ease); pointer-events: none; }
.g__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 0.8s; filter: saturate(0.92); }
.g__cap {
  position: absolute; left: 18px; bottom: 16px; z-index: 2;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bone);
  background: rgba(11, 9, 8, 0.72); padding: 6px 10px; backdrop-filter: blur(6px);
  transform: translateY(8px); opacity: 0; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.g__btn:hover img, .g__btn:focus-visible img { transform: scale(1.05); filter: saturate(1.05); }
.g__btn:hover::after, .g__btn:focus-visible::after { border-color: rgba(241, 220, 170, 0.5); inset: 10px; }
.g__btn:hover .g__cap, .g__btn:focus-visible .g__cap { opacity: 1; transform: none; }
.g--g img { object-position: 50% 30%; }
.g--d img { object-position: 45% 35%; }
.g--i img { object-position: 50% 30%; }
.g--j img { object-position: 60% 40%; }
@media (hover: none) { .g__cap { opacity: 1; transform: none; } }

/* ---------- studio (depth parallax, after Grainient-images-sect.tsx tile logic) ---------- */
.studio { padding: var(--section) 0; background: var(--ink-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); overflow: hidden; }
.studio__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.studio__copy > p { color: var(--bone-dim); max-width: 50ch; margin-top: 26px; }
.amenities { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin-top: 34px; border-top: 1px solid var(--rule); }
.amenities li { padding: 13px 0 13px 22px; border-bottom: 1px solid rgba(201, 169, 106, 0.14); font-size: 0.92rem; color: var(--bone-dim); position: relative; }
.amenities li::before { content: ""; position: absolute; left: 2px; top: 50%; width: 6px; height: 6px; border: 1px solid var(--brass); transform: translateY(-50%) rotate(45deg); }
.studio__stack { position: relative; height: clamp(520px, 52vw, 640px); max-width: 640px; width: 100%; justify-self: end; }
.studio__stack .frame { position: absolute; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.95); }
.studio__a { width: 52%; aspect-ratio: 471 / 568; left: 0; top: 4%; z-index: 1; }
.studio__b { width: 50%; aspect-ratio: 632 / 604; right: 0; top: 0; z-index: 2; }
.studio__c { width: 38%; aspect-ratio: 473 / 558; right: 16%; bottom: 0; z-index: 3; }

/* ---------- tattoo ---------- */
.tattoo { position: relative; padding: var(--section) 0; overflow: hidden; }
.tattoo__bg { position: absolute; inset: 0; z-index: 0; }
.tattoo__bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(34px) saturate(1.2) brightness(0.32); transform: scale(1.2); }
.tattoo__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 9, 8, 0.5), rgba(40, 6, 12, 0.72) 60%, rgba(11, 9, 8, 0.92)); }
.tattoo__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.tattoo__img { aspect-ratio: 4 / 5; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 1), 0 0 120px -50px rgba(179, 32, 43, 0.8); }
.tattoo__img img { object-position: 40% 40%; }
.tattoo__copy h2 em { color: var(--rose-hi); }
.tattoo__copy > p { color: var(--bone-dim); max-width: 52ch; margin-top: 26px; }
.tattoo__quote { margin: 34px 0; padding: 4px 0 4px 26px; border-left: 1px solid var(--rose-hi); }
.tattoo__quote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.25; margin: 0 0 10px; }
.tattoo__quote cite { font-style: normal; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); }
.tattoo__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 30px; }
.tattoo__actions .link-arrow { color: var(--rose-hi); border-color: rgba(224, 100, 108, 0.35); }

/* ---------- about ---------- */
.about { padding: var(--section) 0; }
.about__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.about__copy > p { color: var(--bone-dim); max-width: 56ch; }
.about__copy h2 { margin-bottom: 30px; }
.creds { margin: 34px 0 34px; border-top: 1px solid var(--rule); }
.creds div { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 15px 0; border-bottom: 1px solid rgba(201, 169, 106, 0.14); }
.creds dt { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--brass); line-height: 1.3; }
.creds dd { margin: 0; color: var(--bone-dim); font-size: 0.95rem; }
.about__img { aspect-ratio: 4 / 5; max-width: 520px; justify-self: end; width: 100%; }
.about__img img { object-position: 50% 0%; }
.about__img figcaption { position: absolute; left: 22px; bottom: 20px; z-index: 3; font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--bone); text-shadow: 0 2px 16px rgba(0, 0, 0, 0.8); }
.about__img::before { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(11, 9, 8, 0.75)); z-index: 1; }

/* ---------- reviews (port of infinite-moving-cards.tsx, real quotes only) ---------- */
.reviews { padding: var(--section) 0; background: var(--ink-2); border-top: 1px solid var(--rule); overflow: hidden; }
.reviews__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: clamp(40px, 6vw, 72px); }
.reviews__head h2 { max-width: 14ch; }
.scores { display: flex; gap: 0; }
.score { display: flex; align-items: center; gap: 16px; padding: 0 30px; border-left: 1px solid var(--rule); }
.score:first-child { border-left: 0; padding-left: 0; }
.score__n { font-family: var(--serif); font-size: clamp(3.4rem, 6vw, 5rem); line-height: 1; }
.score__l { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); line-height: 1.5; }
.marquee { --dur: 70s; position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee + .marquee { margin-top: 18px; }
.marquee__track { display: flex; gap: 18px; width: max-content; padding: 4px 0; }
.js .marquee.is-ready .marquee__track { animation: marquee var(--dur) linear infinite; }
.js .marquee--rev.is-ready .marquee__track { animation-direction: reverse; animation-duration: 84s; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 9px)); } }
.quote { width: min(420px, 78vw); flex: none; background: var(--ink); border: 1px solid var(--rule); padding: 28px 30px 24px; position: relative; display: flex; flex-direction: column; justify-content: space-between; }
.quote::before { content: "\201C"; position: absolute; right: 22px; top: 6px; font-family: var(--serif); font-size: 4.4rem; line-height: 1; color: rgba(201, 169, 106, 0.22); }
.quote p { font-family: var(--serif); font-size: 1.28rem; line-height: 1.32; margin: 0 0 20px; }
.quote cite { font-style: normal; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone-dim); }
.quote cite span { color: var(--brass); margin-left: 8px; font-weight: 500; }
.quote cite::before { content: "\2605\2605\2605\2605\2605"; display: block; color: var(--brass); letter-spacing: 0.2em; margin-bottom: 6px; font-size: 0.7rem; }

/* ---------- faq ---------- */
.faq { padding: var(--section) 0; }
.faq__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.faq .section-head { position: sticky; top: calc(var(--nav-h) + 30px); }
.faq__list { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.2; transition: color 0.3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--brass), var(--brass)) center / 100% 1px no-repeat, linear-gradient(var(--brass), var(--brass)) center / 1px 100% no-repeat; transition: transform 0.4s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq summary:hover { color: var(--brass-hi); }
.faq details p { color: var(--bone-dim); max-width: 60ch; margin: -6px 0 26px; }
.faq details a { color: var(--brass); }

/* ---------- visit ---------- */
.visit { padding: 0 0 var(--section); }
.visit__panel {
  position: relative; text-align: center; border: 1px solid var(--rule);
  padding: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 120px);
  background: radial-gradient(60% 70% at 50% 0%, rgba(109, 47, 214, 0.14), transparent 70%), var(--ink-2);
  outline: 1px solid var(--rule); outline-offset: -10px;
}
/* the hatched barber stripe margins from the original price list */
.visit__panel::before, .visit__panel::after {
  content: ""; position: absolute; top: 10px; bottom: 10px; width: clamp(14px, 2vw, 24px); pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(201, 169, 106, 0.34) 0 2px, transparent 2px 9px);
}
.visit__panel::before { left: 10px; border-right: 1px solid var(--rule); }
.visit__panel::after { right: 10px; border-left: 1px solid var(--rule); }
.visit__crest { width: clamp(150px, 16vw, 210px); height: auto; margin: 0 auto 30px; }
.visit__panel h2 { max-width: 14ch; margin: 0 auto; }
.visit__lede { color: var(--bone-dim); max-width: 50ch; margin: 24px auto 34px; }
.visit__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.visit__info { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--rule); text-align: left; }
.visit__info > div { padding: 28px 28px 0; border-left: 1px solid var(--rule); }
.visit__info > div:first-child { border-left: 0; padding-left: 0; }
.visit__info h3 { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass); margin-bottom: 12px; }
.visit__info p { color: var(--bone-dim); margin-bottom: 12px; }
.visit__info p a { color: var(--bone); text-decoration-color: var(--rule-strong); text-underline-offset: 4px; }
.visit__info p a:hover { color: var(--brass-hi); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--rule); padding: 44px 0 48px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__line { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--brass); margin: 0; }
.footer__small { font-size: 0.8rem; color: var(--mute); margin: 0; }

/* ---------- back to top ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 95; width: 50px; height: 50px;
  display: grid; place-items: center; color: var(--brass); text-decoration: none;
  background: rgba(11, 9, 8, 0.82); border: 1px solid var(--rule-strong);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s, border-color 0.3s, color 0.3s, background 0.3s;
}
.to-top::after { content: ""; position: absolute; inset: 4px; border: 1px solid var(--rule); pointer-events: none; }
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--brass); color: var(--ink); background: var(--brass); }
.to-top:hover svg { transform: translateY(-2px); }
.to-top svg { transition: transform 0.3s var(--ease); }

/* ---------- mobile dock ---------- */
.dock { display: none; }

/* ---------- lightbox ---------- */
.lightbox { padding: 0; border: 1px solid var(--rule-strong); background: var(--ink); max-width: min(92vw, 1100px); max-height: 90vh; color: var(--bone); }
.lightbox::backdrop { background: rgba(5, 4, 4, 0.9); backdrop-filter: blur(6px); }
.lightbox img { max-height: 88vh; width: auto; margin: 0 auto; }
.lightbox__close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 44px; height: 44px; border: 1px solid var(--rule-strong); background: rgba(11, 9, 8, 0.75); color: var(--bone); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lightbox__close:hover { border-color: var(--brass); color: var(--brass-hi); }

/* ================= responsive ================= */
@media (max-width: 1100px) {
  .nav__links { gap: 20px; }
  .nav__links a { letter-spacing: 0.12em; }
}
@media (max-width: 960px) {
  :root { --nav-h: 68px; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }

  .hero { padding-top: calc(var(--nav-h) + 28px); min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { padding: 0 0 12% 18%; max-width: 560px; width: 100%; margin: 8px auto 0; }
  .hero__inset { width: 34%; }
  .hero__caption { display: none; }
  .hero__scroll { display: none; }

  .rail__list { grid-template-columns: 1fr 1fr; }
  .rail__list li { border-left: 0; padding: 18px 0; border-bottom: 1px solid var(--rule); }
  .rail__list li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--rule); }
  .rail__list li:nth-last-child(-n+2) { border-bottom: 0; }

  .board__body { grid-template-columns: 1fr; }
  .board__media { order: -1; position: relative; top: 0; aspect-ratio: 16 / 10; max-width: none; justify-self: stretch; }
  .board__foot { flex-direction: column; align-items: flex-start; }

  .perm__stage { height: auto; margin-top: 48px; }
  .perm__sticky { position: static; height: auto; display: block; }
  .perm__grid { grid-template-columns: 1fr; }
  .perm__grid { gap: 20px; align-items: start; }
  .perm__media { order: -1; position: sticky; top: calc(var(--nav-h) + 10px); z-index: 3; aspect-ratio: 4 / 3; max-height: 44vh; max-width: none; justify-self: stretch; }
  .perm__step { min-height: 32vh; padding-top: 18px; padding-bottom: 18px; }
  .perm__step:last-child { min-height: 0; }
  .perm__note { flex-direction: column; align-items: flex-start; }

  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; grid-auto-flow: dense; }
  .gallery .g { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 5; }
  .gallery .g--d, .gallery .g--j { grid-column: 1 / -1; aspect-ratio: 16 / 11; }
  .gallery .g--g { grid-column: 1 / -1; aspect-ratio: 1; }
  .studio__grid, .tattoo__grid, .about__grid, .faq__grid { grid-template-columns: 1fr; }
  .studio__stack { height: clamp(420px, 96vw, 640px); justify-self: stretch; max-width: none; }
  .tattoo__img { max-width: 520px; }
  .about__img { max-width: 560px; justify-self: start; }
  .faq .section-head { position: static; }

  .dock {
    display: grid; grid-template-columns: 1fr 1.6fr 1fr; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
    background: rgba(18, 15, 13, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--rule-strong); transform: translateY(140%); transition: transform 0.5s var(--ease);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .dock.is-on { transform: none; }
  .dock { right: 74px; }
  .to-top { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); width: 54px; height: 54px; background: rgba(18, 15, 13, 0.92); }
  .dock a { display: flex; align-items: center; justify-content: center; min-height: 52px; text-decoration: none; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
  .dock a + a { border-left: 1px solid var(--rule); }
  .dock__main { background: var(--brass); color: var(--ink); }
  .footer { padding-bottom: 100px; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .hero__title { font-size: clamp(2.9rem, 13vw, 4rem); }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__proof li + li { padding-left: 16px; }
  .hero__proof strong { font-size: 2.1rem; }
  .rail__list { grid-template-columns: 1fr; }
  .rail__list li, .rail__list li:nth-child(even) { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
  .rail__list li:nth-last-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .rail__list li:last-child { border-bottom: 0; }
  .board { padding: 18px 16px 24px; }
  .board::before { inset: 5px; }
  .board__tabs { gap: 0 20px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -4px; margin-right: -4px; padding: 0 4px; }
  .board__tabs::-webkit-scrollbar { display: none; }
  .board__tabs button { white-space: nowrap; font-size: 0.72rem; letter-spacing: 0.14em; }
  .prices h3 { font-size: 0.86rem; letter-spacing: 0.06em; }
  .prices__amt { font-size: 1.5rem; }
  .prices__time { display: block; margin: 4px 0 0; }
  .amenities { grid-template-columns: 1fr; }
  .studio__stack { height: 118vw; }
  .studio__a { width: 60%; }
  .studio__b { width: 58%; top: 8%; }
  .studio__c { width: 50%; right: 8%; }
  .creds div { grid-template-columns: 1fr; gap: 2px; }
  .scores { width: 100%; }
  .score { padding: 0 18px; }
  .visit__panel { padding-left: 34px; padding-right: 34px; }
  .visit__info { grid-template-columns: 1fr; }
  .visit__info > div { border-left: 0; padding: 22px 0 0; }
  .visit__actions .btn { flex: 1 1 100%; }
  .perm__price span { font-size: 3rem; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal, .js [data-drop] .w__i { opacity: 1; transform: none; filter: none; }
  .js .creed__text .cw, .js .creed__pill { opacity: 1; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .sheen { animation: none; }
}
