/*
  barbershop-street styles. Graffiti / street look: black, red, cream.
  Mobile first: base styles are for phones; @media (min-width: ...) adds bigger layouts.

  CHANGE THE LOOK HERE: these tokens control the whole site.
*/

:root {
  --ink: #0b0b0b;           /* page background */
  --ink-2: #141414;         /* cards */
  --ink-3: #1d1d1d;
  --paper: #f2ebdd;         /* cream "white" */
  --paper-dim: rgba(242, 235, 221, 0.66);
  --paper-faint: rgba(242, 235, 221, 0.14);
  --red: #e3202f;
  --red-hot: #ff3443;
  --red-deep: #a8101c;
  --line: rgba(242, 235, 221, 0.14);
  --glass: rgba(11, 11, 11, 0.38);
  --open: #3ddc84;

  --f-display: "Archivo", "Arial Black", sans-serif;      /* giant words (use with font-stretch) */
  --f-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-marker: "Permanent Marker", "Comic Sans MS", cursive;
  --f-body: "Source Sans 3", system-ui, sans-serif;
  --f-mono: "Space Mono", ui-monospace, monospace;

  --top-h: 104px;           /* offer bar + nav height (main.js measures the real value) */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --container: 1240px;

  /* Set by main.js: hero scroll progress (0 to 1) and mouse position (-1 to 1). */
  --p: 0;
  --mx: 0;
  --my: 0;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 78px; /* room for the mobile bar */
}

/* Nothing may push the page wider than the screen (the photo and the tilted marquee
   stick out on purpose). "clip" instead of "hidden" keeps the sticky hero working. */
html, body { overflow-x: clip; }

/* Fine film grain over everything: the "printed on a wall" grit. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
/* Full-bleed sections use the whole screen width, with a gutter that grows with it. */
.container-wide { width: 100%; padding: 0 max(16px, 4vw); }

.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

:focus-visible { outline: 2px solid var(--red-hot); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: fixed; left: 12px; top: -80px; z-index: 300;
  background: var(--red); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red-hot);
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--f-head); font-weight: 800; font-size: 1.06rem;
  letter-spacing: 0.08em; text-transform: uppercase; line-height: 1;
  transition: background-color .25s, border-color .25s, box-shadow .3s, color .25s, translate .35s var(--ease-out);
  white-space: nowrap;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-hot); box-shadow: 0 12px 34px rgba(227, 32, 47, 0.45); }
.btn-outline { border-color: rgba(242, 235, 221, 0.55); color: var(--paper); }
.btn-outline:hover { border-color: var(--red); background: rgba(227, 32, 47, 0.14); color: #fff; }
.btn-glass {
  background: rgba(242, 235, 221, 0.07);
  border-color: rgba(242, 235, 221, 0.2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn-glass:hover { border-color: var(--paper); background: rgba(242, 235, 221, 0.12); }
.btn-glass small {
  display: block; font-family: var(--f-mono); font-weight: 400; font-size: 0.62rem;
  letter-spacing: 0.2em; color: var(--paper-dim); margin-bottom: 4px;
}
.btn-glass span { text-align: left; }
.btn-lg { min-height: 64px; padding: 0 34px; font-size: 1.25rem; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 0.95rem; }
.btn .icon-arrow { transition: transform .3s var(--ease-out); }
.btn:hover .icon-arrow { transform: translateX(4px); }

/* ---------- Top: offer bar + glass nav ---------- */

.site-top { position: fixed; top: 0; left: 0; right: 0; z-index: 100; }

.offer {
  position: relative;
  background:
    repeating-linear-gradient(45deg, transparent 0 22px, rgba(0, 0, 0, 0.07) 22px 23px),
    repeating-linear-gradient(-45deg, transparent 0 22px, rgba(0, 0, 0, 0.07) 22px 23px),
    var(--red);
  color: #fff;
  overflow: hidden;
  transition: margin-top .45s var(--ease-out);
}
.offer.is-closed { margin-top: calc(-1 * var(--offer-h, 40px)); }
.offer-inner {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 40px; padding: 8px 46px; font-weight: 600; font-size: 0.84rem; line-height: 1.35; text-align: center;
}
.offer-inner > .icon { width: 20px; height: 20px; }
.offer-messages { display: grid; }
.offer-message { grid-area: 1 / 1; transition: opacity .5s, transform .5s var(--ease-out); }
.js .offer-message:not(.is-active) { opacity: 0; transform: translateY(10px); pointer-events: none; }
.no-js .offer-message:not(:first-child) { display: none; }
.offer-link {
  display: none; align-items: center; gap: 6px;
  font-family: var(--f-head); font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.7);
}
.offer-close {
  position: absolute; right: 10px; top: 50%; translate: 0 -50%;
  width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%;
}
.offer-close:hover { background: rgba(0, 0, 0, 0.18); }

.nav {
  display: flex; align-items: center; gap: 20px;
  height: 64px; padding: 0 20px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--line);
  transition: background-color .3s;
}
.site-top.is-scrolled .nav { background: rgba(11, 11, 11, 0.55); }
.nav-logo img { width: 128px; height: auto; }
.nav-links { display: none; gap: 30px; margin: 0 auto; }
.nav-links a {
  position: relative; font-family: var(--f-head); font-weight: 600; font-size: 1.05rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--paper-dim); transition: color .2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out);
}
.nav-links a:hover { color: var(--paper); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-right { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-social { display: none; place-items: center; width: 40px; height: 40px; border-radius: 50%; transition: background-color .2s, color .2s; }
.nav-social:hover { background: var(--paper-faint); color: #fff; }
.nav-social .icon { width: 20px; height: 20px; }

/* ---------- HERO ---------- */

.hero { position: relative; }

.hero-stage {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  padding: calc(var(--top-h) + 22px) 20px 40px;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 62%, rgba(227, 32, 47, 0.16), transparent 70%),
    url("/pattern.svg") 0 0 / 640px repeat,
    var(--ink);
}
.hero-bg::after { /* vignette: darker edges, fade into the next section */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 85% 75% at 50% 45%, transparent 40%, rgba(11, 11, 11, 0.85) 100%),
    linear-gradient(to bottom, transparent 70%, var(--ink));
}

.hero-label {
  position: relative; z-index: 3;
  font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--paper-dim); line-height: 1.5;
}
.hero-label-center, .hero-label-right { display: none; }

.hero-word { position: relative; z-index: 1; text-align: center; line-height: 1; margin-top: 18px; }
.hero-word-main {
  display: block;
  font-family: var(--f-display); font-stretch: 125%; font-weight: 900;
  font-size: 20vw; line-height: 0.8; letter-spacing: -0.03em; color: var(--paper);
  white-space: nowrap; /* "SHARP" is 4.5x as wide as its font size: 20vw keeps it on screen */
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
.hero-word-sub {
  display: block; margin-top: 10px; text-align: right;
  font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.7em; text-transform: uppercase; color: var(--paper-dim);
}

.hero-person {
  position: relative; z-index: 2;
  width: 132%; max-width: none; margin-top: -16vw;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.55));
}

.hero-script {
  position: absolute; z-index: 3;
  left: 6vw; top: calc(var(--top-h) + 22vw);
  font-family: var(--f-marker); font-size: 12vw; line-height: 1; color: var(--red);
  transform: rotate(-9deg);
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.35);
}
.hero-script span { position: relative; z-index: 1; }
.hero-scribble {
  position: absolute; left: -4%; bottom: -26%; width: 112%; height: 46%;
  fill: none; stroke: var(--red); stroke-width: 3.2; stroke-linecap: round;
  stroke-dasharray: 340; stroke-dashoffset: 0;
}

.hero-left, .hero-right, .hero-hours, .hero-story { position: relative; z-index: 3; width: 100%; max-width: 520px; }

.hero-hours {
  order: 3; margin-top: -48px; text-align: center;
  padding: 14px 20px; border-radius: 16px;
  background: rgba(11, 11, 11, 0.45); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.hero-hours-label { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--red-hot); }
.hero-hours-big { font-family: var(--f-mono); font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.15; letter-spacing: 0.02em; }
.hero-hours-note { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--paper-dim); }
[data-open-status]:empty { display: none; }
[data-open-status]::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  margin-right: 6px; vertical-align: 1px; background: var(--paper-dim);
}
[data-open-status].is-open { color: var(--open); }
[data-open-status].is-open::before { background: var(--open); box-shadow: 0 0 0 3px rgba(61, 220, 132, 0.25); }
[data-open-status].is-closed::before { background: var(--red-hot); }

.hero-right { order: 4; margin-top: 34px; }
.hero-right-label {
  font-family: var(--f-head); font-weight: 800; font-size: 1rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--red-hot); margin-bottom: 10px;
}
.hero-services { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hero-services a {
  position: relative; display: inline-block; padding: 4px 0;
  font-family: var(--f-head); font-weight: 600; font-size: 1.2rem; letter-spacing: 0.06em; text-transform: uppercase;
}
/* The "progress line": grows a little on hover, all the way when clicked. */
.hero-services a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.hero-services a:hover::after { transform: scaleX(0.3); }
.hero-services a.is-loading::after { transform: scaleX(1); transition: transform .65s linear; }
.hero-book { margin-top: 24px; }
.hero-spark { display: none; }

.hero-left {
  order: 5; margin-top: 34px;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px;
}
.hero-tagline {
  grid-column: 1 / -1;
  display: flex; flex-direction: column;
  font-family: var(--f-mono); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase;
  border-left: 2px solid var(--red); padding-left: 14px;
}
.hero-barcode img { width: 210px; }
.hero-barcode figcaption { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.32em; color: var(--paper-dim); margin-top: 6px; }

.sticker { position: relative; width: 118px; height: 118px; display: grid; place-items: center; }
.sticker::before { /* the sticker itself: a slightly rough cream disc */
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid rgba(242, 235, 221, 0.55);
  background: radial-gradient(circle, rgba(242, 235, 221, 0.06), transparent 70%);
}
.sticker-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.sticker-ring text { font-family: var(--f-mono); font-weight: 700; font-size: 9.6px; letter-spacing: 0.22em; fill: var(--paper); }
.sticker-center { color: var(--red); }
.sticker-center .icon { width: 34px; height: 34px; }

.hero-story {
  order: 6; margin-top: 40px; padding: 26px;
  border-radius: 22px; border: 1px solid var(--line);
  background: rgba(20, 20, 20, 0.6);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.hero-story h2 { font-family: var(--f-head); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 2.3rem; line-height: 0.95; margin-bottom: 12px; }
.hero-story p:not(.eyebrow) { color: var(--paper-dim); }
.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 18px; margin-top: 22px; }
.hero-stats div { display: flex; flex-direction: column-reverse; border-top: 1px solid var(--line); padding-top: 10px; }
.hero-stats dt { font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--paper-dim); }
.hero-stats dd { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: 1.7rem; line-height: 1; color: var(--paper); }

.hero-cross, .hero-ruler, .hero-scroll { display: none; }

/* ---------- Trust bar ---------- */

.trust {
  position: relative; padding: 90px 0 100px;
  background:
    linear-gradient(to bottom, var(--ink), rgba(11, 11, 11, 0.82) 25%, rgba(11, 11, 11, 0.82) 75%, var(--ink)),
    url("/pattern.svg") 0 0 / 640px repeat;
}
.badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.badges > li:nth-child(n+4) { display: none; } /* phones: three seals in one row */
.badge { display: flex; flex-direction: column; align-items: center; text-align: center; }
.seal {
  width: min(120px, 100%); height: auto; aspect-ratio: 1;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.5));
  transition: transform .5s var(--ease-spring);
}
.badge:hover .seal { transform: rotate(-10deg) scale(1.08); }
.seal-img { object-fit: contain; }
.seal-ring { font-family: var(--f-head); font-weight: 800; font-size: 8.8px; letter-spacing: 0.12em; fill: #fff; }
.seal-word { font-family: var(--f-head); font-weight: 900; font-style: italic; font-size: 16px; letter-spacing: 0.05em; fill: #fff; }
.badge p {
  margin-top: 12px; max-width: 16ch;
  font-family: var(--f-head); font-weight: 800; font-style: italic; font-size: 0.92rem;
  line-height: 1.1; text-transform: uppercase; letter-spacing: 0.02em;
}
.trust-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 60px; }

/* ---------- Marquee ---------- */

.marquee {
  position: relative; z-index: 2;
  background: var(--red); color: var(--ink);
  transform: rotate(-2deg); margin: -8px -20px;
  padding: 14px 0; overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee p { display: flex; align-items: center; gap: 28px; padding-right: 28px; }
.marquee span { font-family: var(--f-head); font-weight: 900; font-style: italic; font-size: 2rem; text-transform: uppercase; letter-spacing: 0.02em; white-space: nowrap; }
.marquee .icon { width: 26px; height: 26px; stroke-width: 2.4; }

/* ---------- Section headings ---------- */

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0 18px; margin-bottom: 48px; }
.section-title {
  font-family: var(--f-head); font-weight: 900; font-style: italic; text-transform: uppercase;
  font-size: clamp(3.6rem, 11vw, 10rem); line-height: 0.85; letter-spacing: -0.01em;
}
.section-script {
  font-family: var(--f-marker); color: var(--red); font-size: clamp(1.8rem, 4vw, 3.4rem);
  transform: rotate(-7deg) translateY(-0.3em);
}

/* ---------- Services: spray-paint cards ---------- */

.services { padding: 120px 0 110px; }
.cards { display: grid; gap: 18px; }
.card {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 310px; border-radius: 24px;
  background: var(--ink-2); border: 1px solid var(--line);
  transition: transform .5s var(--ease-out), border-color .3s, box-shadow .5s;
}
.card:hover { transform: translateY(-6px) rotate(-0.6deg); border-color: rgba(227, 32, 47, 0.6); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); }
.card-paint { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; transition: opacity .7s; }
.card.is-fading .card-paint { opacity: 0; }
.card-body { position: relative; z-index: 1; display: flex; flex-direction: column; height: 100%; padding: 28px; }
.card-num { font-family: var(--f-mono); font-size: 0.85rem; color: var(--red-hot); transition: color .3s; }
.card h3 {
  font-family: var(--f-head); font-weight: 900; font-style: italic; text-transform: uppercase;
  font-size: 2.6rem; line-height: 0.9; margin: 16px 0 12px;
}
.card-desc { color: var(--paper-dim); transition: color .3s; }
.card-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--line);
}
.card-time { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 0.85rem; color: var(--paper-dim); transition: color .3s; }
.card-price { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: 2rem; line-height: 1; }
.card-book {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; align-self: flex-start;
  font-family: var(--f-head); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red-hot);
  transition: color .3s, gap .3s;
}
.card-book:hover { gap: 12px; }
/* Once the card is painted red, switch details to white so they stay readable. */
.card.is-sprayed .card-num,
.card.is-sprayed .card-desc,
.card.is-sprayed .card-time,
.card.is-sprayed .card-book { color: #fff; }
.card.is-sprayed .card-body { text-shadow: 0 1px 12px rgba(120, 0, 10, 0.45); }
.card.is-sprayed .card-foot { border-top-color: rgba(255, 255, 255, 0.45); }
/* Reduced motion: no spraying, just a quick colour change. */
.reduce-motion .card:hover, .reduce-motion .card.is-sprayed { background: var(--red); }

/* ---------- Shops: circular map + text ---------- */

.shops {
  position: relative; padding: 110px 0 120px;
  background: radial-gradient(ellipse 50% 40% at 25% 50%, rgba(227, 32, 47, 0.1), transparent 70%);
}
.shops-grid { display: grid; gap: 64px; align-items: center; }
/* Phones: the map circle spans the whole screen width. */
.map-wrap { position: relative; width: calc(100vw - 8px); margin-left: calc(50% - 50vw + 4px); aspect-ratio: 1; }
.map-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 50s linear infinite; }
.map-ring text { font-family: var(--f-mono); font-weight: 700; font-size: 7.4px; letter-spacing: 0.3em; fill: var(--paper-dim); }
.map-circle {
  position: absolute; inset: 9%; border-radius: 50%; overflow: hidden;
  background: #121212;
  box-shadow: 0 0 0 2px var(--red), 0 0 0 12px rgba(227, 32, 47, 0.1), 0 40px 90px rgba(0, 0, 0, 0.65);
  transform: translateZ(0); /* keeps the iframe clipped to the circle in Safari */
}
.map-placeholder { position: absolute; inset: 0; }
.map-streets { /* a stylised street grid */
  position: absolute; inset: -30%;
  background:
    linear-gradient(90deg, transparent 49.4%, rgba(227, 32, 47, 0.45) 49.4% 50.6%, transparent 50.6%),
    repeating-linear-gradient(0deg, transparent 0 40px, rgba(242, 235, 221, 0.09) 40px 43px),
    repeating-linear-gradient(90deg, transparent 0 58px, rgba(242, 235, 221, 0.09) 58px 61px);
  transform: rotate(29deg);
}
.map-radar { position: absolute; inset: 0; background: repeating-radial-gradient(circle at 50% 50%, transparent 0 48px, rgba(227, 32, 47, 0.2) 48px 49px); }
.map-radar::after { /* the sweeping radar beam */
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(227, 32, 47, 0.42), transparent 22%);
  animation: spin 4.5s linear infinite;
}
.map-pin {
  position: absolute; left: 50%; top: 50%; translate: -50% -100%;
  color: var(--red-hot); filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.6));
  animation: pin-bob 2.4s var(--ease-out) infinite;
}
.map-pin .icon { width: 52px; height: 52px; fill: rgba(227, 32, 47, 0.25); stroke-width: 2; }
.map-pin::before { /* pulse on the ground under the pin */
  content: ""; position: absolute; left: 50%; bottom: -6px; width: 22px; height: 8px; margin-left: -11px;
  border-radius: 50%; background: rgba(227, 32, 47, 0.6); animation: pulse 2.4s ease-out infinite;
}
.map-load { position: absolute; left: 50%; bottom: 15%; translate: -50% 0; }
.map-load { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  background: rgba(11, 11, 11, 0.7); border: 1px solid var(--line);
  font-family: var(--f-head); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: border-color .2s, background-color .2s;
  white-space: nowrap; }
.map-load:hover { border-color: var(--red); background: rgba(227, 32, 47, 0.3); }
.map-circle iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: invert(0.92) hue-rotate(180deg) saturate(0.8) contrast(0.95); /* dark map to match the site */
}
.map-circle.is-live .map-placeholder, .map-circle.is-live .map-load { display: none; }
.map-note { margin-top: 14px; padding: 0 20px; text-align: center; font-family: var(--f-mono); font-size: 0.68rem; color: var(--paper-dim); }

.shops-text { max-width: 760px; }
.shops-text .section-title { font-size: clamp(3.4rem, 8vw, 8.6rem); margin-bottom: 30px; }
.shop-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.shop-tab {
  display: inline-flex; flex-direction: column; align-items: flex-start; padding: 10px 18px; border-radius: 16px;
  border: 1.5px solid var(--line);
  font-family: var(--f-head); font-weight: 800; font-size: 1.08rem; letter-spacing: 0.06em; text-transform: uppercase;
  transition: border-color .2s, background-color .2s;
}
.shop-tab small { font-family: var(--f-mono); font-weight: 400; font-size: 0.62rem; letter-spacing: 0.14em; color: var(--paper-dim); }
.shop-tab:hover { border-color: var(--paper-dim); }
.shop-tab.is-active { background: var(--red); border-color: var(--red); }
.shop-tab.is-active small { color: rgba(255, 255, 255, 0.85); }
.shop-card {
  padding: 24px; border-radius: 22px; border: 1px solid var(--line);
  background: rgba(20, 20, 20, 0.7); margin-bottom: 34px;
}
.shop-line { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.shop-line .icon { color: var(--red-hot); margin-top: 4px; }
.shop-line strong { font-family: var(--f-head); font-weight: 800; font-size: 1.3rem; letter-spacing: 0.04em; text-transform: uppercase; }
.shop-line a { border-bottom: 1px solid var(--line); }
.shop-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.faq { padding: 22px 0; border-top: 1px solid var(--line); }
.faq h3 { font-family: var(--f-head); font-weight: 800; font-size: 1.6rem; line-height: 1.05; text-transform: uppercase; margin-bottom: 8px; }
.faq p { color: var(--paper-dim); }

/* ---------- Final call to action ---------- */

.cta {
  position: relative; padding: 130px 0 150px; text-align: center; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 50% 100%, rgba(227, 32, 47, 0.22), transparent 70%),
    linear-gradient(to bottom, var(--ink), rgba(11, 11, 11, 0.86) 40%),
    url("/pattern.svg") 0 0 / 640px repeat;
}
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-script { font-family: var(--f-marker); color: var(--red); font-size: clamp(2.6rem, 7vw, 5.5rem); transform: rotate(-6deg); line-height: 1; }
.cta-title {
  font-family: var(--f-display); font-stretch: 125%; font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.6rem, 8vw, 7.6rem); line-height: 0.9; letter-spacing: -0.02em; margin-top: 10px; max-width: 14ch;
}

/* ---------- Footer: full width, big type, giant logo ---------- */

.footer { padding: 90px 0 36px; border-top: 1px solid var(--line); background: #080808; overflow: hidden; }
.footer-top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  padding-bottom: 56px; margin-bottom: 64px; border-bottom: 1px solid var(--line);
}
.footer-tag { font-family: var(--f-marker); color: var(--red); font-size: clamp(2rem, 4.6vw, 4.4rem); line-height: 1.1; transform: rotate(-3deg); }
.footer-grid { display: grid; gap: 56px; }
.footer-col h3 {
  display: flex; align-items: center; gap: 12px; margin-bottom: 24px;
  font-family: var(--f-head); font-weight: 900; font-style: italic; text-transform: uppercase;
  font-size: clamp(2.2rem, 3.4vw, 3.4rem); line-height: 1;
}
.footer-col h3 .icon { color: var(--red-hot); width: 0.8em; height: 0.8em; }
.footer-hours { width: 100%; border-collapse: collapse; font-family: var(--f-mono); font-size: clamp(1rem, 1.25vw, 1.25rem); }
.footer-hours th, .footer-hours td { padding: 11px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.footer-hours th { text-transform: uppercase; letter-spacing: 0.12em; color: var(--paper-dim); }
.footer-hours td { text-align: right; }
.footer-hours tr.is-today th, .footer-hours tr.is-today td { color: var(--red-hot); font-weight: 700; }
.footer-shops { display: grid; gap: 30px; }
.footer-shops li { display: flex; flex-direction: column; font-size: clamp(1.1rem, 1.3vw, 1.3rem); color: var(--paper-dim); }
.footer-shops small { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red-hot); margin-bottom: 4px; }
.footer-shops strong { font-family: var(--f-head); font-weight: 900; font-style: italic; font-size: clamp(1.8rem, 2.4vw, 2.5rem); line-height: 1; text-transform: uppercase; color: var(--paper); margin-bottom: 6px; }
.footer-shops a { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--red-hot); font-family: var(--f-head); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; font-size: 1rem; }
.footer-contact { display: grid; gap: 18px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 14px; font-size: clamp(1.15rem, 1.45vw, 1.5rem); transition: color .2s; }
.footer-contact a:hover { color: var(--red-hot); }
.footer-contact .icon { width: 1.1em; height: 1.1em; color: var(--red-hot); }
/* The logo runs edge to edge across the bottom of the page. */
.footer-logo { display: block; margin-top: 90px; }
.footer-logo img { width: 100%; height: auto; transition: transform .6s var(--ease-out); }
.footer-logo:hover img { transform: translateY(-6px) rotate(-0.6deg); }
.footer-bottom {
  display: flex; flex-direction: column; gap: 10px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 0.82rem; color: var(--paper-dim);
}
.demo-note a, .footer-up { color: var(--red-hot); }

/* ---------- Mobile bottom bar ---------- */

.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  background: rgba(11, 11, 11, 0.8); border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}

/* ---------- 404 ---------- */

.page-404 { padding-bottom: 0; }
.not-found {
  min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 18px;
  text-align: center; padding: 24px;
  background: radial-gradient(ellipse at 50% 60%, rgba(227, 32, 47, 0.15), transparent 60%), url("/pattern.svg") 0 0 / 640px repeat;
}
.not-found p:not(.cta-script) { color: var(--paper-dim); max-width: 34ch; }

/* ---------- Custom cursor (desktop only, added by main.js) ---------- */

.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
.cursor-dot, .cursor-ring {
  position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none;
  border-radius: 50%; opacity: 0; transition: opacity .3s;
}
.cursor-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--red-hot); }
.cursor-ring {
  width: 42px; height: 42px; margin: -21px 0 0 -21px;
  display: grid; place-items: center;
  border: 1.5px solid rgba(242, 235, 221, 0.7);
  transition: opacity .3s, width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out),
              background-color .3s, border-color .3s;
}
.cursor-ring span {
  font-family: var(--f-head); font-weight: 800; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff; opacity: 0; transition: opacity .2s;
}
.cursor-visible .cursor-dot, .cursor-visible .cursor-ring { opacity: 1; }
.cursor-ring.is-link { width: 62px; height: 62px; margin: -31px 0 0 -31px; border-color: var(--red); }
.cursor-ring.has-label { width: 82px; height: 82px; margin: -41px 0 0 -41px; background: var(--red); border-color: var(--red); }
.cursor-ring.has-label span { opacity: 1; }
.cursor-ring.is-down { width: 32px; height: 32px; margin: -16px 0 0 -16px; }

/* ---------- Animations ---------- */

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pin-bob { 0%, 100% { translate: -50% -100%; } 50% { translate: -50% -118%; } }
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes scroll-dot { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* Scroll reveals (only when JS runs; see js-flag.js). --i staggers items. */
.js .reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .badge.reveal { transform: scale(0.55) rotate(-16deg); transition-timing-function: var(--ease-spring); }
.js .badge.reveal.is-visible { transform: none; }
.js .section-script.reveal, .js .cta-script.reveal { transform: rotate(-7deg) scale(1.4); }
.js .section-script.reveal.is-visible { transform: rotate(-7deg) translateY(-0.3em); }
.js .cta-script.reveal.is-visible { transform: rotate(-6deg); }

/* Split letters: each letter rises from behind a mask. */
[data-split] .char-mask { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: top; padding-bottom: 0.06em; margin-bottom: -0.06em; }
[data-split] .char { display: inline-block; }
.js [data-split] .char { transform: translateY(105%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--ci, 0) * 45ms); }
.js .is-visible[data-split] .char,
.js .is-visible [data-split] .char,
.js.is-loaded .hero-word-main .char { transform: none; }

/* Hero intro, played once the page has loaded. */
.js .hero-person { opacity: 0; transform: translateY(60px); transition: opacity 1.2s var(--ease-out) .35s, transform 1.4s var(--ease-out) .35s; }
.js.is-loaded .hero-person { opacity: 1; transform: none; }
.js .hero-script span { display: inline-block; clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease-out) .9s; }
.js.is-loaded .hero-script span { clip-path: inset(0 0 0 0); }
.js .hero-scribble path { stroke-dashoffset: 340; transition: stroke-dashoffset 1.2s var(--ease-out) 1.6s; }
.js .hero-scribble path + path { transition-delay: 1.85s; }
.js.is-loaded .hero-scribble path { stroke-dashoffset: 0; }
.js .hero-label, .js .hero-left, .js .hero-right, .js .hero-hours, .js .hero-word-sub {
  opacity: 0; translate: 0 16px; transition: opacity .9s var(--ease-out) 1.2s, translate .9s var(--ease-out) 1.2s;
}
.js.is-loaded .hero-label, .js.is-loaded .hero-left, .js.is-loaded .hero-right,
.js.is-loaded .hero-hours, .js.is-loaded .hero-word-sub { opacity: 1; translate: 0 0; }

/* ---------- Tablet ---------- */

@media (min-width: 640px) {
  .offer-inner { font-size: 0.92rem; }
  .badges { grid-template-columns: repeat(4, 1fr); gap: 34px 18px; }
  .badges > li:nth-child(n+4) { display: flex; }
  .badge p { font-size: 1.12rem; margin-top: 16px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .offer-link { display: inline-flex; }
}

@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .nav { padding: 0 28px; height: 68px; }
  .nav-logo img { width: 150px; }
  .nav-social { display: grid; }
  .container { padding: 0 32px; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
  .footer-shops { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Desktop: the full poster layout + sticky scroll story ---------- */

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .hero-label-center, .hero-label-right { display: block; }
  .footer-grid { grid-template-columns: minmax(260px, 1fr) minmax(0, 2.2fr) minmax(240px, 1fr); gap: 4vw; }
  .badges { max-width: 1000px; margin: 0 auto; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .shops-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 4vw; }
  /* Desktop: the circle fills its half of the screen (capped so it fits the height). */
  .map-wrap { width: min(100%, 86vh); margin: 0 auto 0 0; }
  .map-note { padding: 0; width: min(100%, 86vh); }

  .js .hero { height: 230vh; }               /* extra scroll room = the story */
  .hero-stage {
    position: sticky; top: 0;
    display: block; height: 100vh; min-height: 680px; padding: 0;
  }
  .no-js .hero-stage { position: relative; }

  .hero-label { position: absolute; top: calc(var(--top-h) + 20px); }
  .hero-label-left { left: 4vw; }
  .hero-label-center { left: 50%; translate: -50% 0; }
  .js.is-loaded .hero-label-center { translate: -50% 0; }
  .js .hero-label-center { translate: -50% 16px; }
  .hero-label-right { right: 4vw; text-align: right; }

  .hero-word {
    position: absolute; left: 0; right: 0; top: calc(var(--top-h) + 6.5vh); margin: 0;
    transform: translateY(calc(var(--p) * -9vh)) scale(calc(1 + var(--p) * 0.06));
    translate: calc(var(--mx) * -14px) calc(var(--my) * -8px);
  }
  .hero-word-main { font-size: min(20vw, 40vh); }
  .hero-word-sub { position: absolute; right: 5vw; top: 100%; margin-top: 14px; }

  .hero-person {
    position: absolute; left: 50%; bottom: 0; width: auto; height: min(88vh, 980px); margin: 0;
    transform: translateX(-50%) translateY(calc(var(--p) * 4vh)) scale(calc(1 + var(--p) * 0.05));
    transform-origin: 50% 100%;
    translate: calc(var(--mx) * 12px) calc(var(--my) * 6px);
  }
  .js .hero-person { transform: translateX(-50%) translateY(60px); }
  .js.is-loaded .hero-person { transform: translateX(-50%) translateY(calc(var(--p) * 4vh)) scale(calc(1 + var(--p) * 0.05)); transition: opacity 1.2s var(--ease-out) .35s, transform .2s linear; }

  .hero-script {
    left: 7vw; top: calc(var(--top-h) + 6.5vh + min(11vw, 21vh));
    font-size: min(8.2vw, 15vh);
    translate: calc(var(--mx) * -22px) calc(var(--my) * -12px);
  }

  .hero-left, .hero-right, .hero-hours, .hero-story { position: absolute; margin: 0; max-width: none; }

  .hero-left {
    left: 4vw; bottom: 7vh; width: 250px;
    display: flex; flex-direction: column; align-items: flex-start; gap: 22px;
    opacity: clamp(0, 1 - var(--p) * 3, 1);
  }
  .js.is-loaded .hero-left { opacity: clamp(0, 1 - var(--p) * 3, 1); transition: translate .9s var(--ease-out) 1.2s; }

  .hero-right { right: 4vw; top: 46%; width: 230px; }
  .hero-services { flex-direction: column; gap: 4px; }
  .hero-services a { font-size: 1.15rem; }
  .hero-spark { display: block; position: absolute; left: -34px; bottom: 8px; color: var(--red); }
  .hero-spark .icon { width: 26px; height: 26px; animation: spin 9s linear infinite; }

  .hero-hours {
    left: 50%; bottom: 4.5vh; width: auto; min-width: 280px;
    transform: translateX(-50%);
  }

  .hero-story {
    left: 4vw; top: 50%; width: min(440px, 34vw); padding: 32px;
    transform: translateY(-50%) translateX(calc((1 - clamp(0, (var(--p) - 0.3) * 3.2, 1)) * -60px));
    opacity: clamp(0, (var(--p) - 0.3) * 3.2, 1);
    pointer-events: none;
  }
  .no-js .hero-story { display: none; }

  .hero-cross {
    display: block; position: absolute; right: 4vw; bottom: 6vh; width: 26px; height: 26px; z-index: 3;
    background: linear-gradient(var(--paper-dim), var(--paper-dim)) center / 1px 100% no-repeat,
                linear-gradient(var(--paper-dim), var(--paper-dim)) center / 100% 1px no-repeat;
  }
  .hero-cross::after { content: ""; position: absolute; inset: 6px; border: 1px solid var(--paper-dim); border-radius: 50%; }
  .hero-ruler {
    display: block; position: absolute; right: 1.6vw; top: 38%; width: 10px; height: 150px; z-index: 3;
    background: repeating-linear-gradient(to bottom, var(--paper-dim) 0 1px, transparent 1px 10px);
    opacity: 0.6;
  }
  .hero-scroll {
    display: block; position: absolute; right: calc(4vw + 50px); bottom: 5.4vh; z-index: 3;
    width: 22px; height: 36px; border: 1.5px solid var(--paper-dim); border-radius: 12px;
  }
  .hero-scroll span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--red-hot); animation: scroll-dot 1.8s ease-in-out infinite; }
}

@media (min-width: 1440px) {
  .hero-right { right: 6vw; }
  .hero-left { left: 6vw; }
}

/* ---------- Reduced motion: keep everything, drop the movement ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .marquee-track { animation: none; }
}

/* Seal text colours per style (see partials/seal.j2) */
.seal-ring-gold { fill: #f6e3a8; }
.seal-ring-all { font-size: 9.6px; letter-spacing: 0.1em; fill: #fff; }
.seal-ring-engraved { fill: #6e470d; }
.seal-word-big { font-size: 18px; }
