/* ==========================================================================
   Razorhead Barbers — Homepage
   Palette:  ink #0b0b0d | panel #131318 | bone #f2f2ef | smoke #a3a3ad
             blue #2fb0f0 (brand electric blue) | blue-deep #0e5e86
   Type:     Bebas Neue (display) / Inter (body)
   ========================================================================== */

:root {
  --ink: #0b0b0d;
  --panel: #131318;
  --bone: #f2f2ef;
  --smoke: #a3a3ad;
  --blue: #2fb0f0;
  --blue-deep: #0e5e86;
  --line: rgba(255, 255, 255, 0.1);

  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-body: "Hanken Grotesk", -apple-system, "Segoe UI", sans-serif;

  --pad-x: clamp(1.25rem, 4vw, 4rem);
  --max-w: 78rem;
}

/* ---------- Reset ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* The header is fixed and roughly 94px tall on a phone, 125px on a wide screen.
   Anchor targets clear it plus a little breathing room, so a jump never lands
   with the nav sitting over the heading. */
#story,
#prices,
#find-us {
  scroll-margin-top: clamp(6.75rem, 14vw, 9rem);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* `hidden` here gets propagated to the viewport, and iOS Safari will still
     let you pan into the clipped strip. `clip` refuses to scroll at all;
     Safari < 16 drops the line and keeps the `hidden` above. */
  overflow-x: clip;
}

/* The tilted tape bar is scaled past 100% on purpose, so its box lands a few
   pixels outside the viewport on both sides and drags the document's scroll
   width with it. Clip that off here rather than on the bar itself, whose own
   `overflow: hidden` only contains the strip moving inside it. `clip` (not
   `hidden`) so the vertical axis stays `visible` and main never becomes a
   scroll container. */
main {
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6, p, ul, figure, blockquote { margin: 0; padding: 0; }

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--blue); color: var(--ink); }

/* ---------- Shared pieces ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.09em;
  line-height: 1;
  padding: 0.85rem 1.6rem 0.7rem;
  border: 1px solid transparent;
  border-radius: 3px;
  white-space: nowrap;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-solid {
  background: var(--blue);
  color: var(--ink);
  box-shadow: 0 4px 24px rgba(47, 176, 240, 0.35);
}

.btn-solid:hover {
  background: #4dbdf5;
  box-shadow: 0 6px 32px rgba(47, 176, 240, 0.5);
}

.btn-ghost {
  border-color: rgba(242, 242, 239, 0.35);
  color: var(--bone);
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-lg {
  font-size: 1.35rem;
  padding: 1rem 2.1rem 0.85rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 6.5vw, 5rem);
  line-height: 0.92;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  text-wrap: balance;
}

/* ---------- Neon top bar ---------- */
/* Rainbow tube light echoing the strip along the shop wall */

.neon-bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: 5px;
  background: linear-gradient(
    90deg,
    #ff3b3b, #ff9e2c, #ffe23b, #3bff6b, #2fb0f0, #a34dff, #ff3b3b
  );
  background-size: 200% 100%;
  animation: neon-flow 8s linear infinite;
  box-shadow: 0 0 10px rgba(47, 176, 240, 0.55), 0 1px 6px rgba(0, 0, 0, 0.4);
}

/* soft bloom underneath so it reads as glowing neon, not a flat line */
.neon-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  background-size: 200% 100%;
  animation: inherit;
  filter: blur(7px);
  opacity: 0.7;
}

@keyframes neon-flow {
  from { background-position: 0% 50%; }
  to   { background-position: 200% 50%; }
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 4px 0 auto 0;
  z-index: 50;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(11, 11, 13, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.8rem var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: none;
}

.brand-mark {
  width: clamp(64px, 7vw, 96px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(47, 176, 240, 0.35));
}

.brand-word {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-word em {
  font-style: normal;
  color: var(--blue);
  margin-left: 0.35rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: none;
}

.nav-cta {
  flex: none;
  gap: 0.5rem;
}

.nav-cta-icon {
  display: none;
  width: 20px;
  height: 20px;
}

/* ---------- Mobile menu ---------- */

/* the burger only exists on small screens; the desktop header has no nav */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--bone);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.nav-toggle:hover { border-color: var(--blue); }

.nav-toggle-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* three bars drawn from one element: the middle one is the box itself */
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.24s ease, opacity 0.18s ease;
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after  { top: 6px; }

.nav-toggle[aria-expanded="true"] { border-color: var(--blue); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* full-screen panel, sitting under the header so the close button stays put */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: rgba(11, 11, 13, 0.97);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  opacity: 0;
  transition: opacity 0.26s ease;
}

.mobile-nav[hidden] { display: none; }
.mobile-nav.is-open { opacity: 1; }

/* freeze the page behind the panel */
body.nav-open { overflow: hidden; }

.mobile-nav-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  padding: 7.25rem var(--pad-x) 2.5rem;
  text-align: center;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.mobile-nav-links a {
  display: block;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 0;
  transition: color 0.18s ease;
}

.mobile-nav-links a:active { color: var(--blue); }

/* hours sit in their own panel at the foot of the menu */
.mobile-nav-hours {
  width: 100%;
  margin-top: auto;
  padding: 1.35rem 1.35rem 1.5rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: left;
}

/* walk-in line under the hero CTAs: bone, not blue, since blue washes out
   against the brighter frames of the video */
.walk-in-note {
  margin-top: 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.75);
}

/* NUS lockup sitting under the walk-in note */
.hero-nus {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.05rem;
}

.hero-nus img {
  width: auto;
  height: 46px;
  opacity: 0.92;
  filter: drop-shadow(0 1px 10px rgba(0, 0, 0, 0.7));
}

.hero-nus span {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.75);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-bg img,
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

/* scrim: lighter now, so the video reads through clearly */
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(11, 11, 13, 0.5) 0%, rgba(11, 11, 13, 0.12) 34%, rgba(11, 11, 13, 0.34) 72%, rgba(11, 11, 13, 0.42) 100%),
    linear-gradient(90deg, rgba(11, 11, 13, 0.72) 0%, rgba(11, 11, 13, 0.32) 55%, rgba(11, 11, 13, 0.1) 100%);
}

/* blue light shards drifting across the video */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(110deg, transparent 11%, rgba(47, 176, 240, 0.24) 18%, transparent 26%),
    linear-gradient(110deg, transparent 37%, rgba(120, 205, 245, 0.16) 46%, transparent 56%),
    linear-gradient(110deg, transparent 61%, rgba(47, 176, 240, 0.22) 70%, transparent 80%),
    linear-gradient(110deg, transparent 84%, rgba(120, 205, 245, 0.14) 91%, transparent 98%);
  background-size: 200% 100%;
  mix-blend-mode: screen;
  animation: hero-shimmer 9s ease-in-out infinite alternate;
}

@keyframes hero-shimmer {
  0%   { background-position: 0% 0;  opacity: 0.6; }
  50%  { opacity: 1; }
  100% { background-position: 12% 0; opacity: 0.78; }
}

.hero-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 9rem var(--pad-x) 7.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(1.5rem, 4vw, 4rem);
}

/* dominant headline, anchored bottom-left */
.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(3.4rem, 9.5vw, 8.5rem);
  line-height: 0.85;
  letter-spacing: 0.005em;
  margin: 0;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.5);
}

.hero-title .line { display: block; }

/* animated blue gradient fill (shifting blend of brand blue + lighter/darker) */
.hero-title .line-fill {
  display: inline-block;
  color: transparent;
  background:
    radial-gradient(circle at 30% 30%, #8fd8ff, transparent 45%),
    radial-gradient(circle at 72% 62%, #1683c0, transparent 52%),
    radial-gradient(circle at 48% 88%, #2fb0f0, transparent 55%),
    var(--blue);
  background-size: 200% 200%, 190% 190%, 220% 220%, 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 26px rgba(47, 176, 240, 0.4));
  animation: hero-fill 10s ease-in-out infinite;
}

@keyframes hero-fill {
  0%   { background-position: 0% 0%, 100% 0%, 50% 100%, 0 0; }
  50%  { background-position: 100% 100%, 0% 100%, 100% 0%, 0 0; }
  100% { background-position: 0% 0%, 100% 0%, 50% 100%, 0 0; }
}

/* "since 1994" set smaller for type contrast */
.hero-title .line-sub {
  font-size: 0.5em;
  letter-spacing: 0.04em;
  margin-top: 0.12em;
}

/* thin supporting column, right of the headline */
.hero-aside {
  min-width: 0;
  max-width: 24rem;
  justify-self: end;
  padding-bottom: 0.4rem;
}

.hero-tagline {
  font-family: var(--font-display);
  /* single row at every width, so it has to scale with the aside column */
  white-space: nowrap;
  font-size: clamp(1.15rem, 1.9vw, 1.8rem);
  line-height: 1;
  letter-spacing: 0.05em;
  color: var(--blue);
  margin-bottom: 1.4rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}

.hero-lede {
  color: #cfcfd4;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

/* ---------- Tape marquee ---------- */

.tape {
  position: relative;
  z-index: 3;
  background: var(--blue);
  transform: rotate(-1deg) scale(1.03);
  /* Bar is ~3.6rem tall and pulled up by ~half its height, so the video's
     straight bottom edge lands inside the bar body: no black triangle above
     it, and no video peeking out below it, at any screen width. */
  margin: -1.8rem 0 2.5rem;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(47, 176, 240, 0.25);
}

.tape-track {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  width: max-content;
  padding: 1rem 0;
  /* duration tracks the strip's length, so the scroll speed stays put when
     items are added or removed */
  animation: tape-scroll 32s linear infinite;
}

.tape-track span {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
  padding-top: 0.15em;
}

.tape-track i {
  font-style: normal;
  font-size: 0.6rem;
  color: rgba(11, 11, 13, 0.55);
}

@keyframes tape-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-25%); }
}

/* Menu copy of the bar. These have to sit after .tape to win on equal
   specificity, so keep the two blocks together. */
.tape--menu {
  /* full-bleed: breaks back out through the panel's side padding. The bigger
     scale hides the corners the -1deg tilt would otherwise expose. */
  margin: 2.5rem calc(-1 * var(--pad-x)) 0.6rem;
  transform: rotate(-1deg) scale(1.08);
  box-shadow: 0 8px 30px rgba(47, 176, 240, 0.2);
}

.tape--menu .tape-track {
  padding: 0.7rem 0;
  gap: 1.6rem;
  /* smaller text covers less ground per loop, so the duration comes down with
     it to hold the hero bar's scroll speed */
  animation-duration: 23s;
}

.tape--menu .tape-track span { font-size: 1.15rem; }

/* ---------- Record video band ---------- */

.record-band {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(24rem, 60vh, 34rem);
  padding: clamp(3.5rem, 8vw, 6rem) var(--pad-x);
  overflow: hidden;
}

.record-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.record-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.record-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 11, 13, 0.94) 0%, rgba(11, 11, 13, 0.72) 45%, rgba(11, 11, 13, 0.45) 100%),
    linear-gradient(180deg, var(--ink) 0%, rgba(11, 11, 13, 0.3) 30%, rgba(11, 11, 13, 0.3) 70%, var(--ink) 100%);
}

.record-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
}

.record-title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 6vw, 4.75rem);
  line-height: 0.92;
  letter-spacing: 0.015em;
  text-wrap: balance;
  margin: 0 0 1.3rem;
}

.record-lede {
  max-width: 34rem;
  color: #cfcfd4;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
}

/* ---------- Story ---------- */
/* vertical padding only; the carousel below runs full width */
/* the tape already contributes 2.5rem below the hero, so keep this tighter */
.story {
  padding: clamp(3rem, 6vw, 5.5rem) 0 0;
}

/* below the carousel, match the gap that sits above it */
.story + .services {
  padding-top: clamp(3rem, 6vw, 5.5rem);
}

/* heading left, copy pulled up into the right column */
.story-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  column-gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.story-head { min-width: 0; }

/* eyebrows are half the size of the section title they sit above */
.story-kicker {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.2vw, 2.75rem);
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 0.5rem;
}

.story-title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.8rem, 6.4vw, 5.5rem);
  line-height: 0.88;
  letter-spacing: 0.01em;
  margin: 0;
}

.story-body {
  min-width: 0;
  max-width: 32rem;
  justify-self: end;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  color: var(--smoke);
  font-size: 0.97rem;
}

.story-lead {
  color: var(--bone);
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.5;
}

.story-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1rem;
}

/* full-width auto-scrolling image strip */
.story-carousel {
  width: 100%;
  margin-top: clamp(3rem, 6vw, 5.5rem);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
}

.carousel-track {
  display: flex;
  width: max-content;
  gap: clamp(0.75rem, 1.4vw, 1.15rem);
  animation: carousel-scroll 55s linear infinite;
  /* the mask on .story-carousel stops Safari promoting this on its own, so it
     repaints the whole ~4800px strip on the main thread every frame */
  will-change: transform;
}

.carousel-track img {
  height: clamp(190px, 24vw, 340px);
  width: auto;
  flex: none;
  border-radius: 6px;
  border: 1px solid var(--line);
  object-fit: cover;
}

@keyframes carousel-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Services & pricing ---------- */

.services {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.services-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.services-intro { min-width: 0; }

.services-kicker {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.25vw, 2.5rem);
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 0.5rem;
}

.services-intro .section-title { margin: 0 0 1.6rem; }

.services-copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--smoke);
  font-size: 0.97rem;
  max-width: 34rem;
}

.services-note { color: #cfcfd4; }

.services-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

/* pricing cards */
.price-col { min-width: 0; }

/* grouped rows: haircuts, beard & shave, students */
.price-group + .price-group { margin-top: 1.9rem; }

.price-group-title {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--smoke);
  margin-bottom: 0.8rem;
}

.price-group-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.price-group-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.price-card--wide { grid-column: 1 / -1; }

.price-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
  padding: 1.1rem 1.3rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.price-card-body { min-width: 0; }

.price-card h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.32rem;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--bone);
}

.price-card p {
  margin-top: 0.4rem;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--smoke);
}

.price-amount {
  flex: none;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1;
  color: var(--blue);
}

/* featured £17 card */
.price-card--feature {
  background: var(--blue);
  border-color: var(--blue);
  padding: 1.4rem 1.45rem;
  box-shadow: 0 22px 50px rgba(47, 176, 240, 0.28);
}

.price-card--feature h4 {
  font-size: 1.7rem;
  color: var(--ink);
}

.price-card--feature p {
  color: rgba(11, 11, 13, 0.72);
  font-size: 0.86rem;
}

.price-card--feature .price-amount {
  font-size: 2.5rem;
  color: var(--ink);
}

/* freshers leads the student group: blue like the featured haircut, slightly smaller type */
.price-card--fresher {
  padding: 1.4rem 1.35rem;
}

.price-card--fresher h4 { font-size: 1.5rem; }
.price-card--fresher p { font-size: 0.84rem; }
.price-card--fresher .price-amount { font-size: 2.2rem; }

/* two-column layout: tighten everything so the list matches the intro height */
@media (min-width: 601px) {
  .price-group + .price-group { margin-top: 1.25rem; }
  .price-group-title { margin-bottom: 0.6rem; }
  .price-group-grid { gap: 0.7rem; }

  .price-card { padding: 0.8rem 1.1rem; }
  .price-card h4 { font-size: 1.18rem; }
  .price-card p { margin-top: 0.25rem; font-size: 0.78rem; }
  .price-amount { font-size: 1.7rem; }

  .price-card--feature { padding: 1rem 1.2rem; }
  .price-card--feature h4 { font-size: 1.45rem; }
  .price-card--feature p { font-size: 0.8rem; }
  .price-card--feature .price-amount { font-size: 2.1rem; }

  .price-card--fresher { padding: 0.95rem 1.15rem; }
  .price-card--fresher h4 { font-size: 1.28rem; }
  .price-card--fresher p { font-size: 0.79rem; }
  .price-card--fresher .price-amount { font-size: 1.85rem; }
}

@media (max-width: 900px) {
  .services-inner { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .price-group-grid { grid-template-columns: 1fr; }

  .price-card--feature { padding: 1.25rem 1.3rem; }
  .price-card--feature h4 { font-size: 1.55rem; }
  .price-card--feature .price-amount { font-size: 2.3rem; }

  .price-card--fresher { padding: 1.2rem 1.3rem; }
  .price-card--fresher h4 { font-size: 1.4rem; }
  .price-card--fresher .price-amount { font-size: 2.05rem; }
}

/* ---------- Find us ---------- */

.findus {
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid var(--line);
}

.findus-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.findus-info { min-width: 0; }

.findus-kicker {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.25vw, 1.7rem);
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 0.5rem;
}

.findus-title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: 0.015em;
  margin: 0 0 1.1rem;
}

.findus-copy {
  color: var(--smoke);
  font-size: 0.95rem;
  max-width: 32rem;
}

.findus-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin: 1.4rem 0 1.5rem;
}

.findus-address span {
  font-size: 0.95rem;
  color: var(--bone);
}

.findus-phone {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.03em;
  color: var(--blue);
}

.findus-map {
  height: clamp(240px, 32vw, 340px);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--panel);
}

.findus-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  /* dark-mode the standard Google embed (no API key needed) */
  filter: invert(0.92) hue-rotate(180deg) brightness(0.95) contrast(0.9);
}

@media (max-width: 800px) {
  .findus-inner { grid-template-columns: 1fr; }
  .findus-map { height: 300px; }
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  padding: clamp(2.75rem, 5vw, 4rem) 0 1.75rem;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

/* faint blue glow tucked in a corner, not a big centred halo */
.site-footer::before {
  content: "";
  position: absolute;
  top: -9rem;
  left: -7rem;
  width: 34rem;
  aspect-ratio: 1;
  background: radial-gradient(circle at center, rgba(47, 176, 240, 0.13), transparent 62%);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem 3.5rem;
}

.footer-brand-col { max-width: 32rem; }

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.footer-logo {
  width: 52px;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(47, 176, 240, 0.3));
}

.footer-word {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.footer-word em {
  font-style: normal;
  color: var(--blue);
  margin-left: 0.3rem;
}

.footer-copy {
  margin-top: 1rem;
  color: var(--smoke);
  font-size: 0.9rem;
  max-width: 32rem;
}

.footer-contact-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.footer-contact {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-address {
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--bone);
  transition: color 0.18s ease;
}

.footer-address:hover { color: var(--blue); }

.footer-phone {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.03em;
  color: var(--blue);
}

.footer-hours {
  margin-top: 1rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--smoke);
}

/* opening hours table */
/* The footer copy fills its column: the block grows into whatever room is
   left on the row, and once it wraps onto a row of its own the table spans the
   whole container rather than stopping at the table's own 20rem cap. */
.footer-hours-col {
  flex: 1 1 16rem;
  min-width: 16rem;
}

.footer-hours-col .hours-table,
.footer-hours-col .hours-notice { max-width: none; }

.hours-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.9rem;
}

.hours-table {
  width: 100%;
  max-width: 20rem;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.hours-table th,
.hours-table td {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
  vertical-align: baseline;
}

.hours-table tr:last-child th,
.hours-table tr:last-child td { border-bottom: 0; }

.hours-table th {
  text-align: left;
  padding-right: 1.25rem;
  white-space: nowrap;
  color: var(--smoke);
}

.hours-table td {
  text-align: right;
  white-space: nowrap;
  color: var(--bone);
  font-variant-numeric: tabular-nums;
}

.hours-table .is-closed td { color: var(--smoke); }

@media (max-width: 600px) {
  .hours-table { max-width: none; }
}

/* ---------- Holiday notice ----------
   A lit panel under the hours. Both copies (menu panel and footer) carry a
   data-notice-until date and main.js pulls them once it has passed. */

.hours-notice {
  position: relative;
  max-width: 20rem;
  margin-top: 1.1rem;
  padding: 0.95rem 1.05rem 0.9rem;
  background: rgba(47, 176, 240, 0.06);
  border: 1px solid rgba(47, 176, 240, 0.32);
  border-radius: 3px;
  /* outer haze plus an inner lift, so the panel reads as lit from within
     rather than outlined */
  box-shadow:
    0 0 24px rgba(47, 176, 240, 0.16),
    inset 0 0 20px rgba(47, 176, 240, 0.06);
}

.hours-notice-tag {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--smoke);
}

.hours-notice-dates {
  margin-top: 0.15rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--blue);
}

.hours-notice-dates sup {
  font-size: 0.55em;
  vertical-align: 0.45em;
}

.hours-notice-back {
  margin-top: 0.4rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--smoke);
}

.hours-notice-back i {
  font-style: normal;
  font-size: 0.5rem;
  vertical-align: 0.2em;
  color: var(--blue);
}

.hours-notice-back strong {
  font-weight: 600;
  color: var(--bone);
}

@media (max-width: 600px) {
  .hours-notice { max-width: none; }
}

.footer-social {
  display: flex;
  gap: 0.7rem;
  margin-top: 0.15rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--bone);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.footer-social a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--ink);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 1.5rem;
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--smoke);
}

.footer-bottom p { margin: 0; }

/* ---------- Reveal on scroll ---------- */

/* .js is added by main.js, so content stays visible when JS is unavailable */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* stagger siblings inside the hero */
.hero-title .line:nth-child(2) { transition-delay: 0.1s; }
.hero-title .line:nth-child(3) { transition-delay: 0.2s; }
.hero-tagline { transition-delay: 0.34s; }
.hero-lede    { transition-delay: 0.42s; }
.hero-actions { transition-delay: 0.5s; }
.hero-nus     { transition-delay: 0.58s; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  /* story stacks: heading, then copy, then the full-width carousel */
  .story-inner {
    grid-template-columns: 1fr;
    row-gap: 2rem;
  }

  .story-body {
    justify-self: start;
    max-width: 36rem;
  }

  /* hero collapses to a single column, headline then aside */
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
    padding-bottom: 4.5rem;
  }

  .hero-aside {
    justify-self: start;
    max-width: 34rem;
  }

  /* stacked layout gives the tagline the full width, so it can go bigger */
  .hero-tagline { font-size: clamp(1.15rem, 3.4vw, 1.9rem); }
}

@media (max-width: 760px) {
  /* phone CTA collapses to a rounded-square icon button */
  .nav-cta {
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 12px;
  }

  .nav-cta-text { display: none; }
  .nav-cta-icon { display: block; }

  .nav-toggle { display: inline-flex; }

  .hero-inner { padding-top: 7rem; }

  .brand-word { font-size: 1.3rem; }

  .hero-tagline {
    font-size: clamp(1rem, 5vw, 1.7rem);
  }
}

@media (max-width: 520px) {
  .hero-actions .btn,
  .story-actions .btn { flex: 1 1 auto; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .tape-track { animation: none; }

  /* no animation, so no reason to hold a compositing layer for it */
  .carousel-track { animation: none; will-change: auto; }

  .hero-bg::after,
  .hero-title .line-fill { animation: none; }

  .neon-bar,
  .neon-bar::after { animation: none; }

  .btn:hover { transform: none; }
}
