/* ============================================================
   NOVA HAIR — Est. 1982 · Levenshulme, Manchester
   Heritage "neighbourhood institution" concept
   v 1.0
   ============================================================ */

/* ---------- Fonts (self-hosted, no CDN) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-italic-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #f5f0e6;
  --paper-2: #ece4d2;
  --card: #fffdf6;
  --ink: #26190e;
  --ink-soft: rgba(38, 25, 14, 0.64);
  --ink-faint: rgba(38, 25, 14, 0.42);
  --line: rgba(38, 25, 14, 0.16);
  --line-strong: rgba(38, 25, 14, 0.32);
  --brick: #a03b1e;
  --brick-deep: #7c2c13;
  --brick-light: #e08663;
  --brass: #c99a3f;
  --dark: #241a10;
  --dark-card: #2f2317;
  --cream: #f5f0e6;
  --cream-soft: rgba(245, 240, 230, 0.66);
  --cream-line: rgba(245, 240, 230, 0.16);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --shadow-photo: 0 30px 60px -30px rgba(38, 25, 14, 0.45);
  --r-card: 14px;
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, figure, blockquote, dl, dd, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--brick); color: var(--cream); }
:focus-visible { outline: 2px solid var(--brick); outline-offset: 3px; border-radius: 2px; }
section[id] { scroll-margin-top: 110px; }

/* Paper grain over everything (subtle film) */
html::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 5000;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container { width: min(1180px, 100% - 48px); margin-inline: auto; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 6000;
  background: var(--ink); color: var(--cream);
  padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Type helpers ---------- */
h1, h2, h3 { font-family: var(--serif); font-optical-sizing: auto; font-weight: 590; letter-spacing: -0.015em; line-height: 1.06; }
h1 em, h2 em { font-style: italic; font-weight: 480; color: var(--brick); }
h2 { font-size: clamp(2.1rem, 3.8vw, 3.3rem); }

.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.17em;
  text-transform: uppercase; color: var(--ink-soft);
  margin-bottom: 18px;
}
.eyebrow .sq { width: 9px; height: 9px; background: var(--brick); flex: none; }
.eyebrow-light { color: var(--cream-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px;
  border-radius: 10px;
  font-weight: 600; font-size: 15px; line-height: 1;
  text-decoration: none; white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.btn-primary { background: var(--brick); color: var(--cream); box-shadow: 0 2px 0 var(--brick-deep); }
.btn-primary:hover { background: var(--brick-deep); transform: translateY(-1px); box-shadow: 0 4px 14px -6px rgba(124, 44, 19, 0.6); }
.btn-ghost { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn:active { transform: translateY(0); }

/* ---------- Topbar ---------- */
.topbar { background: var(--ink); color: var(--cream); font-size: 12.5px; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 0; }
.topbar-note { color: var(--cream-soft); letter-spacing: 0.02em; }
.topbar-links { display: flex; gap: 10px; align-items: center; }
.topbar-links a { color: var(--cream); text-decoration: none; font-weight: 600; }
.topbar-links a:hover { color: var(--brick-light); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.header.scrolled { box-shadow: 0 10px 30px -18px rgba(38, 25, 14, 0.4); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  background: var(--brick); color: var(--cream);
  font-family: var(--serif); font-size: 26px; font-weight: 600; font-style: italic;
  border-radius: 12px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--serif); font-weight: 640; font-size: 21px; letter-spacing: 0.01em; }
.brand-sub { font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav > a:not(.nav-call) {
  font-size: 14.5px; font-weight: 600; text-decoration: none; color: var(--ink);
  padding: 6px 0; border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.nav > a:not(.nav-call):hover { border-bottom-color: var(--brick); color: var(--brick-deep); }
.nav-call { padding: 10px 16px; font-size: 14px; }
@media (min-width: 901px) { .nav-call { display: none; } }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn { padding: 11px 16px; font-size: 14px; }
.burger { display: none; width: 42px; height: 42px; border: 1.5px solid var(--ink); border-radius: 10px; place-items: center; align-content: center; gap: 5px; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform 0.2s ease, opacity 0.2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 78px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 5vw, 4.35rem); max-width: 13ch; }
.lede { margin-top: 22px; font-size: 18px; color: var(--ink-soft); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 44px;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line);
}
.hero-stats dt { font-size: 11px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-faint); }
.hero-stats dd { font-family: var(--serif); font-size: 34px; font-weight: 590; line-height: 1.15; margin-top: 2px; }

.hero-side { position: relative; }
.hero-photo img { aspect-ratio: 4 / 3; object-fit: cover; }
.stamp {
  position: absolute; width: 138px; height: 138px;
  left: -30px; bottom: -26px;
  filter: drop-shadow(0 10px 16px rgba(38, 25, 14, 0.28));
}
.stamp-ring { fill: var(--paper); stroke: var(--brick); stroke-width: 1.5; }
.stamp-inner { fill: var(--paper); stroke: var(--brick); stroke-width: 1; }
.stamp-text {
  font-family: var(--sans); font-size: 9.6px; font-weight: 700;
  letter-spacing: 0.19em; text-transform: uppercase; fill: var(--brick);
  transform-origin: 60px 60px;
  animation: stamp-spin 26s linear infinite;
}
.stamp-mid { font-family: var(--serif); font-style: italic; font-size: 9.5px; font-weight: 500; fill: var(--ink); letter-spacing: 0.08em; }
.stamp-year { font-size: 14px; font-weight: 640; }
@keyframes stamp-spin { to { transform: rotate(360deg); } }

/* Photo frame (album style) */
.photo-frame {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 10px 10px 12px;
  box-shadow: var(--shadow-photo);
}
.photo-frame img { border-radius: 2px; }
.photo-frame figcaption {
  padding-top: 10px; text-align: center;
  font-family: var(--serif); font-style: italic; font-size: 13.5px; color: var(--ink-soft);
}

/* Photo placeholders — real client photos pending (see README shot list) */
.photo-slot {
  display: grid; place-content: center; justify-items: center; gap: 5px;
  width: 100%; padding: 16px; text-align: center;
  background:
    repeating-linear-gradient(-45deg, transparent 0 13px, var(--line) 13px 14px),
    var(--paper-2);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
}
.photo-slot::before {
  content: ""; width: 9px; height: 9px; background: var(--brick); margin-bottom: 3px;
}
.ps-label { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.ps-sub { font-family: var(--serif); font-style: italic; font-size: 12.5px; color: var(--ink-faint); }
.r43 { aspect-ratio: 4 / 3; }
.r-archive { aspect-ratio: 4 / 4.2; }
.photo-slot.fill {
  height: 100%; border: 0; border-radius: 0; aspect-ratio: auto;
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  background: var(--brick);
  color: var(--cream);
  border-block: 1px solid var(--brick-deep);
  padding: 13px 0;
}
.marquee-track {
  display: flex; width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--serif); font-style: italic; font-weight: 480;
  font-size: 16px; letter-spacing: 0.04em; white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 106px 0; }
.section-tint { background: var(--paper-2); border-block: 1px solid var(--line); }
.section-dark { background: var(--dark); color: var(--cream); }
.section-dark h2 em { color: var(--brick-light); }
.section-head { max-width: 780px; margin-bottom: 54px; }
.section-sub { margin-top: 18px; font-size: 17px; color: var(--ink-soft); max-width: 62ch; }
.section-sub-light { color: var(--cream-soft); }

/* ---------- Philosophy ---------- */
.philo-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; }
.philo-copy p { font-size: 17.5px; color: var(--ink); max-width: 58ch; }
.philo-copy p + p { margin-top: 18px; }
.philo-copy p + p, .philo-copy .philo-sign { color: var(--ink-soft); }
.philo-sign { margin-top: 26px !important; font-family: var(--serif); font-style: italic; font-size: 16.5px !important; color: var(--brick-deep) !important; }
.album { transform: rotate(-1.4deg); }
.album img { aspect-ratio: 4 / 4.2; object-fit: cover; }

.timeline {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 34px;
  margin: 76px 0 0; padding: 30px 0 0;
  border-top: 1px solid var(--line-strong);
  counter-reset: tl;
}
.timeline li { position: relative; }
.timeline li::before {
  content: ""; position: absolute; top: -34px; left: 1px;
  width: 9px; height: 9px; background: var(--brick); border-radius: 50%;
}
.tl-year { font-family: var(--serif); font-size: 34px; font-weight: 620; letter-spacing: -0.01em; }
.tl-now .tl-year { color: var(--brick); }
.timeline p { margin-top: 10px; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.svc-card {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-card);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: 0 26px 44px -26px rgba(38, 25, 14, 0.45); }
.svc-photo { aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1px solid var(--line); }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.svc-card:hover .svc-photo img { transform: scale(1.045); }
.svc-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { font-size: 24px; }
.svc-body > p { margin-top: 10px; font-size: 14.5px; color: var(--ink-soft); }
.svc-body ul { margin-top: 14px; }
.svc-body li {
  position: relative; padding-left: 16px;
  font-size: 14px; font-weight: 500; line-height: 1.45;
}
.svc-body li + li { margin-top: 6px; }
.svc-body li::before { content: "—"; position: absolute; left: 0; color: var(--brick); font-size: 12px; top: 1px; }
.svc-from {
  margin-top: auto; padding-top: 16px; margin-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px; color: var(--ink-faint); letter-spacing: 0.04em; text-transform: uppercase;
}
.svc-from strong { font-family: var(--serif); font-size: 21px; font-weight: 620; color: var(--ink); letter-spacing: 0; margin-left: 4px; }

.svc-wide { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
.wide-card {
  border-radius: var(--r-card);
  padding: 30px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 26px;
  border: 1px solid var(--line-strong);
  background: var(--ink); color: var(--cream);
}
.wide-card h3 { font-size: 26px; }
.wide-card p { margin-top: 10px; font-size: 15px; color: var(--cream-soft); max-width: 46ch; }
.wide-card p a { color: var(--cream); text-underline-offset: 3px; }
.wide-card .btn-ghost { border-color: var(--cream); color: var(--cream); flex: none; }
.wide-card .btn-ghost:hover { background: var(--cream); color: var(--ink); }
.wide-alt { background: var(--card); color: var(--ink); border-style: dashed; border-color: var(--line-strong); }
.wide-alt p { color: var(--ink-soft); }
.wide-alt .btn-ghost { border-color: var(--ink); color: var(--ink); }
.wide-alt .btn-ghost:hover { background: var(--ink); color: var(--cream); }

/* ---------- Prices ---------- */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.price-title { font-size: 27px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.price-title-gap { margin-top: 44px; }
.price-list { margin-top: 8px; }
.price-list .row { padding: 13px 0; border-bottom: 1px solid var(--line); }
.row { display: flex; align-items: baseline; gap: 14px; }
.row dt { flex: 1; font-size: 15.5px; font-weight: 500; }
.row dt::after { content: ""; display: block; }
.price-list .row dt::after, .hours .row dt::after {
  content: ""; display: inline-block; vertical-align: baseline;
  width: 100%; border-bottom: 2px dotted var(--line);
  transform: translateY(-4px); margin-left: 10px;
}
.price-list .row dd, .hours .row dd {
  flex: none; font-family: var(--serif); font-weight: 620; font-size: 17.5px; white-space: nowrap;
}
.price-note { margin-top: 26px; font-size: 14px; color: var(--ink-soft); max-width: 44ch; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card { text-align: left; }
.team-photo {
  aspect-ratio: 4 / 4.7; overflow: hidden;
  border-radius: 12px; border: 1px solid var(--line-strong);
  background: var(--card);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-card h3 { margin-top: 16px; font-size: 22.5px; }
.team-role {
  margin-top: 5px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--brick);
}
.team-line { margin-top: 9px; font-size: 14.5px; color: var(--ink-soft); }

.gwen {
  margin-top: 34px;
  display: flex; align-items: center; gap: 18px;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--r-card);
  padding: 20px 26px;
  background: var(--card);
}
.gwen p { font-size: 15px; color: var(--ink-soft); }
.gwen p strong { color: var(--ink); }
.gwen-badge {
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center;
  background: var(--brick); color: var(--cream);
  font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 24px;
  border-radius: 50%;
}

/* ---------- Reviews (dark) ---------- */
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rev-card {
  background: var(--dark-card);
  border: 1px solid var(--cream-line);
  border-radius: var(--r-card);
  padding: 28px 28px 30px;
  display: flex; flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.rev-card:hover { transform: translateY(-5px); border-color: rgba(224, 134, 99, 0.5); }
.rev-stars { color: var(--brass); letter-spacing: 5px; font-size: 13px; }
.rev-card blockquote {
  margin-top: 16px;
  font-family: var(--serif); font-weight: 430;
  font-size: 18.5px; line-height: 1.5; color: var(--cream);
}
.rev-card figcaption { margin-top: auto; padding-top: 22px; display: flex; flex-direction: column; gap: 2px; }
.rev-card figcaption strong { font-size: 15px; }
.rev-card figcaption span { font-size: 11.5px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--cream-soft); }
.rev-follow { margin-top: 40px; text-align: center; color: var(--cream-soft); font-size: 15px; }
.rev-follow a { color: var(--brick-light); text-underline-offset: 3px; }

/* ---------- Visit / ticket ---------- */
.ticket {
  display: grid; grid-template-columns: 1fr 1.12fr 1.16fr;
  background: var(--paper-2);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  overflow: hidden;
}
.ticket-col { padding: 34px 36px 38px; }
.ticket-divide { border-left: 2px dashed var(--line-strong); position: relative; }
.ticket-divide::before, .ticket-divide::after {
  content: ""; position: absolute; left: -12px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line-strong);
}
.ticket-divide::before { top: -12px; }
.ticket-divide::after { bottom: -12px; }
.ticket-h {
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 16px;
}
.hours .row { padding: 9px 0; }
.hours .row dt { font-size: 15px; }
.hours .row dd { font-family: var(--sans); font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }
.ticket address { font-style: normal; font-family: var(--serif); font-size: 21px; font-weight: 560; line-height: 1.4; }
.ticket-note { margin-top: 14px; font-size: 14px; color: var(--ink-soft); }
.ticket-cta { display: flex; flex-direction: column; align-items: flex-start; }
.ticket-phone {
  font-family: var(--serif); font-weight: 640; font-size: clamp(1.9rem, 3vw, 2.6rem);
  text-decoration: none; letter-spacing: -0.01em; line-height: 1.1;
  border-bottom: 2px solid var(--brick);
  transition: color 0.15s ease;
}
.ticket-phone:hover { color: var(--brick); }
.ticket-cta .btn { margin-top: 22px; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: var(--cream); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 44px; padding-bottom: 44px; border-bottom: 1px solid var(--cream-line); }
.footer-brand { font-family: var(--serif); font-size: 30px; font-weight: 640; }
.footer-tag { margin-top: 10px; font-size: 14.5px; color: var(--cream-soft); }
.footer-nav { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 34px; align-content: start; }
.footer-nav a { font-size: 14.5px; color: var(--cream-soft); text-decoration: none; }
.footer-nav a:hover { color: var(--brick-light); }
.footer-contact { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer-contact a { font-size: 15px; font-weight: 600; text-decoration: none; color: var(--cream); }
.footer-contact a:hover { color: var(--brick-light); }
.footer-contact p { font-size: 13.5px; color: var(--cream-soft); }
.footer-base { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: 13px; color: var(--cream-soft); }
.footer-ver { color: var(--brick-light); font-weight: 700; letter-spacing: 0.06em; }

/* ---------- Cookie modal ---------- */
.cookie { position: fixed; inset: 0; z-index: 4000; display: grid; place-items: center; padding: 20px; }
.cookie[hidden] { display: none; }
.cookie-backdrop { position: absolute; inset: 0; background: rgba(24, 15, 8, 0.5); backdrop-filter: blur(3px); }
.cookie-box {
  position: relative;
  width: min(460px, 100%);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 6px;
  box-shadow: 12px 12px 0 var(--brick);
  padding: 30px 30px 28px;
  animation: cookie-pop 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.cookie-box h2 { font-size: 27px; }
.cookie-box p { margin-top: 12px; font-size: 15px; color: var(--ink-soft); }
.cookie-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
@keyframes cookie-pop { from { opacity: 0; transform: translateY(14px) scale(0.97); } }

/* ---------- Reveal (only when JS is confirmed present) ---------- */
html.js .rv {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
  transition-delay: var(--d, 0s);
}
html.js .rv.in { opacity: 1; transform: none; }
/* Fail-safe belt & braces (fallback.js) */
html.rv-failsafe .rv { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 22px; }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .timeline li:nth-child(4)::before, .timeline li:nth-child(5)::before { top: -34px; }
  .rev-grid { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; }
  .hero-grid { gap: 44px; }
}

@media (max-width: 900px) {
  .nav {
    position: fixed; inset: 0; z-index: 900;
    flex-direction: column; justify-content: center; gap: 26px;
    background: var(--paper);
    opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
  }
  .nav.nav-open { opacity: 1; pointer-events: auto; }
  .nav > a:not(.nav-call) { font-size: 22px; font-family: var(--serif); font-weight: 560; }
  .nav-call { padding: 14px 24px; font-size: 16px; }
  .burger { display: grid; position: relative; z-index: 1100; }
  .header-cta .btn { display: none; }
  .hero { padding: 52px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 16ch; }
  .hero-side { max-width: 560px; }
  .stamp { width: 118px; height: 118px; left: auto; right: -14px; bottom: -20px; }
  .philo-grid { grid-template-columns: 1fr; gap: 44px; }
  .album { max-width: 480px; }
  .price-grid { grid-template-columns: 1fr; gap: 48px; }
  .svc-wide { grid-template-columns: 1fr; }
  .wide-card { flex-direction: column; align-items: flex-start; }
  .ticket { grid-template-columns: 1fr; }
  .ticket-divide { border-left: 0; border-top: 2px dashed var(--line-strong); }
  .ticket-divide::before { top: -12px; left: -36px; }
  .ticket-divide::after { top: -12px; bottom: auto; left: auto; right: -36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-base { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
  .container { width: min(1180px, 100% - 40px); }
  .topbar-note { display: none; }
  .topbar-in { justify-content: center; }
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 40px; }
  .hero-stats { gap: 18px; grid-template-columns: repeat(3, 1fr); justify-content: stretch; }
  .hero-stats dt { font-size: 10px; letter-spacing: 0.08em; }
  .hero-stats dd { font-size: 24px; }
  .svc-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; padding-top: 12px; border-top: 0; gap: 30px; }
  .timeline li { padding-left: 26px; border-left: 2px solid var(--line-strong); padding-bottom: 4px; }
  .timeline li::before { top: 6px; left: -6.5px; }
  .ticket-col { padding: 28px 24px 32px; }
  .cookie-box { padding: 24px 22px; box-shadow: 8px 8px 0 var(--brick); }
  .hero-actions .btn { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .rv { opacity: 1; transform: none; transition: none; }
  .marquee-track, .stamp-text { animation: none; }
  .svc-photo img, .team-photo img, .svc-card, .rev-card { transition: none; }
}

.delay-06{--d:.06s}
.delay-07{--d:.07s}
.delay-08{--d:.08s}
.delay-1{--d:.1s}
.delay-12{--d:.12s}
.delay-14{--d:.14s}
.delay-16{--d:.16s}
.delay-18{--d:.18s}
.delay-2{--d:.2s}
.delay-21{--d:.21s}
.delay-24{--d:.24s}
.delay-28{--d:.28s}
.demo-disclosure{margin:0;padding:8px;text-align:center;background:#1e160f;color:#fff;font-size:12px}

