/* ==========================================================
   The Next Cut Barbershop — thenextcut.lv
   Dark monochrome. Tokens first; change the look here.
   ========================================================== */
:root {
  --bg:      #0d0d0d;   /* page / hero / footer */
  --bg-2:    #151515;   /* alternating sections */
  --bg-3:    #1c1c1c;   /* cards */
  --line:    #2b2b2b;
  --line-2:  #3a3a3a;
  --text:    #ececec;
  --muted:   #8f8f8f;
  --btn:     #e8e8e8;
  --btn-ink: #0d0d0d;

  /* Neon orange, sampled from the shop's lit sign in the hero video */
  --accent:      #ff8c1a;
  --accent-core: #ffd9a8;   /* hot centre of the tube */
  --accent-deep: #e46a00;
  --bloom-text:  0 0 1px rgba(255,226,180,.95), 0 0 3px rgba(255,160,50,1), 0 0 8px rgba(255,130,20,.9), 0 0 16px rgba(240,100,0,.55);
  --bloom-box:   0 0 0 1px rgba(255,190,110,1), 0 0 3px 1px rgba(255,150,40,.95), 0 0 10px rgba(255,120,10,.75), 0 0 20px rgba(240,100,0,.4), inset 0 0 6px rgba(255,140,26,.45);
  --bloom-soft:  0 0 3px rgba(255,160,50,.95), 0 0 9px rgba(255,120,10,.65);
  --bloom-line:  0 0 2px rgba(255,210,150,1), 0 0 5px rgba(255,150,40,1), 0 0 12px rgba(240,100,0,.6);

  --f-display: "Oswald", "Arial Narrow", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 12vw, 160px) 0; }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.muted { color: var(--muted); }
.display {
  font: 600 clamp(46px, 8vw, 112px)/1.32 var(--f-display);
  text-transform: uppercase; letter-spacing: -.005em; margin: 0;
}
.display-sm { font: 600 clamp(40px, 5vw, 64px)/1.14 var(--f-display); text-transform: uppercase; margin: 0; }
.stars { letter-spacing: .15em; margin-right: .5em; }

/* ---------- Buttons ---------- */
.btn, .book-float {
  display: inline-flex; align-items: center; gap: 0;
  font: 600 15px/1 var(--f-display); letter-spacing: .06em; text-transform: uppercase;
  background: var(--btn); color: var(--btn-ink);
  border: 1px solid var(--btn);
  transition: background .2s, color .2s;
}
.btn > span:last-child, .book-float > span:last-child { padding: 13px 18px 12px; }
.btn-mark {
  display: grid; place-items: center; align-self: stretch;
  width: 40px; background: var(--btn-ink); color: var(--btn); font-size: 13px;
  border-right: 1px solid var(--btn);
}
.btn:hover { background: transparent; color: var(--btn); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost .btn-mark { background: var(--btn); color: var(--btn-ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--btn); color: var(--btn-ink); }

.book-float {
  position: fixed; left: 50%; bottom: 20px; z-index: 40;
  transform: translate(-50%, 140%); opacity: 0;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), opacity .3s, background .2s, color .2s;
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
}
.book-float.show { transform: translate(-50%, 0); opacity: 1; }
.book-float:hover { background: var(--bg); color: var(--btn); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--gutter);
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.solid { background: rgba(13,13,13,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: var(--line); }
.nav { display: flex; gap: clamp(20px, 4vw, 56px); align-items: center; }
.nav-right { justify-content: flex-end; }
.nav a, .lang {
  font: 600 15px/1 var(--f-display); letter-spacing: .06em; text-transform: uppercase;
  position: relative; padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav a:hover::after { transform: scaleX(1); }
.lang { border: 1px solid var(--line-2); padding: 7px 10px 6px; font-size: 13px; }
.lang:hover { border-color: var(--text); }
.brand img { height: 46px; width: auto; transition: opacity .4s, transform .4s; }
.site-header:not(.solid) .brand img { opacity: 0; transform: translateY(-6px); pointer-events: none; }

.burger { display: none; width: 44px; height: 44px; justify-self: end; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--text); transition: transform .3s, top .3s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; gap: 18px;
  padding: var(--header-h) var(--gutter) 40px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { font: 600 56px/1.15 var(--f-display); text-transform: uppercase; }
.mobile-menu .lang { align-self: flex-start; margin-top: 16px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 560px;
  overflow: hidden; background: #000;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.4) 22%, rgba(0,0,0,0) 45%),
              linear-gradient(to bottom, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 18%);
}
.hero-content {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0 var(--gutter) clamp(20px, 3vw, 32px);
}
.hero-title {
  margin: 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 4vw;
  font: 600 clamp(52px, 8vw, 140px)/1.12 var(--f-display); text-transform: uppercase;
  opacity: 0; transform: translateY(24px);
  animation: rise 1s cubic-bezier(.2,.8,.2,1) 1.2s forwards;
}
.hero-meta {
  display: flex; justify-content: space-between; margin-top: 18px; color: #bdbdbd;
  border-top: 1px solid rgba(255,255,255,.18); padding-top: 12px;
}
@keyframes rise { to { opacity: 1; transform: none; } }

/* The hero video is a centred logo reveal — never crop it on narrow screens */
@media (max-aspect-ratio: 3/2) {
  .hero-video { object-fit: contain; object-position: center 40%; }
}
@media (max-aspect-ratio: 1/1) {
  .hero { height: auto; min-height: 0; padding-top: var(--header-h); }
  .hero-video { position: relative; height: auto; aspect-ratio: 16 / 9; }
  .hero-scrim { display: none; }
  .hero-content { position: relative; padding-top: 28px; padding-bottom: 36px; }
}

/* ---------- Barbers (intro + booking, right under hero) ---------- */
.barbers { background: var(--bg); }
.barbers-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.barbers-head .lead { margin: 0 0 14px; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; color: #c9c9c9; max-width: 520px; }
.barbers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.barber-card { background: var(--bg-3); border: 1px solid var(--line); display: flex; flex-direction: column; }
.barber-card-photo { aspect-ratio: 4 / 5; overflow: hidden; background: #111; }
.barber-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.16,1,.3,1); }
.barber-card:hover .barber-card-photo img { transform: scale(1.04); }
.barber-card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.barber-card-name { margin: 0; font: 600 clamp(36px, 3.4vw, 48px)/1.3 var(--f-display); text-transform: uppercase; }
.barber-card-body p { margin: 0; }
.barber-card-how { color: #bdbdbd; padding: 12px 0; border-top: 1px solid var(--line); margin-top: 6px !important; }
.barber-card-how { margin-bottom: 0 !important; }
.barber-card-tel { color: var(--text); margin: -4px 0 10px; width: fit-content; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.barber-card-tel:hover { border-color: var(--text); }
.barber-card-ig { color: var(--muted); width: fit-content; }
.barber-card-ig:hover { color: var(--text); }
.footer-ig { margin: 0; color: var(--muted); }
.footer-ig a { color: var(--text); }
.footer-ig a:hover { text-decoration: underline; text-underline-offset: 3px; }
.barber-card .btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 900px) {
  .barbers-head { grid-template-columns: 1fr; }
  .barbers-grid { grid-template-columns: 1fr; }
  .barber-card-photo { aspect-ratio: 4 / 3; }
  .barber-card-body { padding: 20px; }
  .barber-card-name { font-size: 36px; }
}

/* ---------- Booking page (/rezervet/) ---------- */
.book-head { padding: calc(var(--header-h) + clamp(40px, 7vw, 96px)) 0 clamp(32px, 4vw, 56px); background: var(--bg); }
.book-head .lead { max-width: 640px; margin: 18px 0 0; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; color: #c9c9c9; }
.back-link { display: inline-block; margin-bottom: 36px; color: var(--muted); }
.back-link:hover { color: var(--text); }
.book-barbers { background: var(--bg); padding-bottom: clamp(64px, 9vw, 120px); }
.book-shop { background: var(--bg-2); }
.book-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; border-top: 1px solid var(--line); padding-top: 28px; }
.book-info p { margin: 0 0 8px; }
.book-info a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 700px) { .book-info { grid-template-columns: 1fr; } }

/* ---------- Courses ---------- */
.courses { background: var(--bg-2); }
.courses-head { max-width: none; }
.academy-name { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px; padding: 10px 16px 9px; border: 1px solid var(--line-2);
  font: 600 clamp(18px, 1.8vw, 24px)/1.3 var(--f-display); text-transform: uppercase; letter-spacing: .06em; }
.academy-mark { color: var(--accent-core); text-shadow: var(--bloom-text); font-size: .8em; }
.courses-head .lead { font-size: clamp(19px, 1.8vw, 24px); line-height: 1.45; color: #c9c9c9; margin: 24px 0 0; max-width: 640px; }
.course-facts {
  list-style: none; margin: clamp(40px, 6vw, 72px) 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.course-facts li { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 26px 0; }
.course-facts li + li { border-left: 1px solid var(--line); padding-left: 24px; }
.fact-big { font: 600 clamp(24px, 2.6vw, 36px)/1.2 var(--f-display); text-transform: uppercase; }
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.program {
  background: var(--bg-3); border: 1px solid var(--line);
  padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 24px;
}
.program-pro { border-color: #6a6a6a; background: #202020; }
.program-top { display: flex; flex-direction: column; gap: 10px; }
.program-top p { margin: 0; }
.program-name { margin: 0; font: 600 clamp(34px, 4vw, 52px)/1.18 var(--f-display); text-transform: uppercase; }
.program-key {
  display: grid; grid-template-columns: auto 1fr; align-items: end;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.program-duration { display: flex; align-items: flex-end; gap: 12px; padding: 20px 28px 20px 0; border-right: 1px solid var(--line); }
.dur-num { font: 600 clamp(64px, 7vw, 104px)/1 var(--f-display); color: #fff; }
.dur-unit { display: flex; flex-direction: column; gap: 6px; padding-bottom: .45em; }
.dur-unit > span:last-child { font: 600 clamp(22px, 2.2vw, 30px)/1 var(--f-display); text-transform: uppercase; }
.program-cost { display: flex; flex-direction: column; gap: 10px; padding: 20px 0 20px 28px; }
.program-price { margin: 0; font: 600 clamp(48px, 5.4vw, 80px)/1.05 var(--f-display); letter-spacing: -.01em; white-space: nowrap; }
.program-list { list-style: none; margin: 0; padding: 0; flex: 1; }
.program-list li { padding: 13px 0 13px 26px; border-bottom: 1px solid var(--line); position: relative; color: #d4d4d4; }
.program-list li::before { content: "✦"; position: absolute; left: 0; top: 13px; font-size: 11px; color: var(--muted); }
.program .btn { align-self: flex-start; }
.apply {
  margin-top: 16px; padding: clamp(24px, 3vw, 36px) clamp(28px, 4vw, 48px);
  border: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.apply-contact { display: flex; flex-direction: column; gap: 10px; }
.apply-contact > p { margin: 0; }
.apply-phone { font: 600 clamp(36px, 4.4vw, 60px)/1.2 var(--f-display); letter-spacing: .01em; color: var(--text); width: fit-content; }
.apply-phone:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.apply-text { margin: 0; font-size: 17px; max-width: 560px; color: #c9c9c9; }
/* "Pieteikties" pressed → the number lights up so people see where to go */
.apply { transition: border-color .4s, box-shadow .4s; }
.apply.flash { border-color: transparent; box-shadow: var(--bloom-box); }
.apply.flash .apply-phone { animation: phone-glow 2.6s ease-out both; }
@keyframes phone-glow {
  0%   { color: var(--text); text-shadow: none; }
  8%   { color: var(--accent-core); text-shadow: var(--bloom-text); }
  14%  { color: var(--text); text-shadow: none; }
  22%  { color: var(--accent-core); text-shadow: var(--bloom-text); }
  28%  { color: var(--text); text-shadow: none; }
  38%, 75% { color: var(--accent-core); text-shadow: var(--bloom-text); }
  100% { color: var(--text); text-shadow: none; }
}
.apply-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* three programme cards: stack duration above price so it fits */
/* subgrid keeps title / duration+price / list / button rows level across the cards */
.programs > .program { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 24px; align-content: start; }
.programs .program-name { font-size: clamp(32px, 3.2vw, 46px); }
.program-desc { margin: 4px 0 0; color: #bdbdbd; font-size: 15px; line-height: 1.5; }
.programs .program-key { grid-template-columns: 1fr; }
.programs .program-duration { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 0; }
.programs .program-cost { padding: 18px 0; flex-direction: row; align-items: baseline; justify-content: space-between; gap: 16px; }
.programs .dur-num { font-size: clamp(56px, 5vw, 84px); }
.programs .program-price { font-size: clamp(44px, 4vw, 68px); }
.courses-note { margin: 24px 0 0; max-width: 760px; color: var(--muted); font-size: 15px; }
@media (max-width: 1100px) { .programs { grid-template-columns: 1fr; } }

/* ---------- Teacher block inside courses ---------- */
.teacher { margin-top: clamp(40px, 6vw, 72px); }
.teacher-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.teacher-head .eyebrow { margin: 0; }
.teacher-ig { color: var(--muted); }
.teacher-ig:hover { color: var(--text); }
.teacher .barber { background: var(--bg-3); border: 1px solid var(--line); }

/* ---------- Atmosphere mosaic (under "Par mums") ---------- */
.atmos { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: clamp(180px, 22vw, 320px); gap: 10px; margin-top: clamp(48px, 7vw, 96px); }
.atmos .shot { aspect-ratio: auto; height: 100%; }
.atmos .shot-big { grid-row: span 2; }
.atmos .shot:hover img { transform: scale(1.05); }
@media (max-width: 700px) {
  .atmos { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; gap: 6px; }
  .atmos .shot-big { grid-column: span 2; grid-row: span 2; }
}

/* ---------- Gallery ---------- */
.gallery { background: var(--bg); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.shot { display: block; position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: var(--bg-3); cursor: zoom-in; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out, ease), filter .5s; filter: saturate(.9); }
.gallery-grid .shot:hover img, .battle-strip .shot:hover img { transform: scale(1.06); filter: saturate(1.05); }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; } }

/* ---------- Barber (rebuilt) ---------- */
.barber-photo img { aspect-ratio: 4 / 5; filter: none; object-position: center 40%; }
.awards { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--line); }
.awards li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.award-year { color: var(--muted); padding-top: 3px; }
.award-body { display: flex; flex-direction: column; gap: 4px; color: #c9c9c9; }
.award-body strong { font: 600 22px/1.3 var(--f-display); text-transform: uppercase; color: var(--text); letter-spacing: .01em; }
.barber-links { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; margin: 4px 0 0; }
.barber-links a { color: var(--text); border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.barber-links a:hover { border-color: var(--text); }
.barber-info { justify-content: center; }
.battle-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.battle-strip .shot { aspect-ratio: 4 / 3; }
@media (max-width: 900px) { .battle-strip { grid-template-columns: repeat(2, 1fr); gap: 6px; } }

/* ---------- Celebrity clients ---------- */
.celebs { background: var(--bg); }
.celebs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.celeb { margin: 0; position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: var(--bg-3); }
.celeb img { width: 100%; height: 100%; object-fit: cover; }
.celeb figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px;
  background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,0)); color: #fff;
}
@media (max-width: 900px) { .celebs-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5,5,5,.94); display: grid; place-items: center; padding: 56px 16px 16px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 1px solid var(--line-2); font-size: 18px; }
.lightbox-close:hover { border-color: var(--text); }

/* ---------- Intro ---------- */
.intro { background: var(--bg); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 120px); align-items: start; }
.eyebrow { color: var(--muted); margin: 0 0 14px; }
.provide { list-style: none; margin: 0; padding: 0; }
.provide li { font: 600 clamp(32px, 4.2vw, 56px)/1.24 var(--f-display); text-transform: uppercase; }
.provide li:nth-child(even) { color: var(--muted); }
.intro-text { max-width: 560px; }
.intro-text p { margin: 0 0 1.1em; color: #c9c9c9; }
.intro-text .lead { font-size: clamp(20px, 2vw, 26px); line-height: 1.4; color: var(--text); }
.rating { margin: 28px 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Section heads ---------- */
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.section-head .mono { margin: 0 0 10px; }

/* ---------- Services ---------- */
.services { background: var(--bg-2); }
.services-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.price-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.price-list li { border-bottom: 1px solid var(--line); }
.price-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 0; transition: padding .3s, background .3s;
}
.price-list a:hover { padding-left: 14px; padding-right: 14px; background: var(--bg-3); }
.svc { display: flex; flex-direction: column; gap: 8px; }
.svc-name { font: 600 clamp(28px, 3.4vw, 44px)/1.15 var(--f-display); text-transform: uppercase; }
.svc-note { color: var(--muted); }
.svc-price { font: 600 clamp(28px, 3.4vw, 44px)/1 var(--f-display); white-space: nowrap; }
.svc-price::after { content: " →"; font-size: .55em; vertical-align: middle; color: var(--muted); transition: color .3s; }
.price-list a:hover .svc-price::after { color: var(--text); }
.services-media { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.services-media video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--bg-3); }

/* ---------- Barber ---------- */
.team { background: var(--bg-2); }
.barber { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-3); }
.barber-photo img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(.85) contrast(1.05); }
.barber-info { padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; }
.barber-info p { margin: 0; color: #c9c9c9; max-width: 460px; }

/* ---------- Reviews ---------- */
.reviews { background: var(--bg-2); }
.slider-btns { display: flex; gap: 10px; }
.arrow {
  width: 48px; height: 48px; border: 1px solid var(--line-2); font-size: 18px;
  transition: background .2s, color .2s, border-color .2s;
}
.arrow:hover { background: var(--btn); color: var(--btn-ink); border-color: var(--btn); }
.review-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr);
  gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.review-track::-webkit-scrollbar { display: none; }
.review {
  margin: 0; scroll-snap-align: start;
  background: var(--bg-3); border: 1px solid var(--line);
  padding: 32px; min-height: 260px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
}
.review p { margin: 0; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; }
.review footer { color: var(--muted); }

/* ---------- Contact ---------- */
.contact { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: stretch; }
.info { margin: 40px 0; }
.info > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.info > div:last-child { border-bottom: 1px solid var(--line); }
.info dt { color: var(--muted); padding-top: 4px; }
.info dd { margin: 0; font-size: 18px; }
.info dd a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hours { border-collapse: collapse; }
.hours td { padding: 2px 24px 2px 0; }
.map { min-height: 420px; background: var(--bg-3); }
.map iframe {
  width: 100%; height: 100%; min-height: 420px; border: 0; display: block;
  filter: grayscale(1) invert(.92) contrast(.9);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--bg); padding: clamp(64px, 9vw, 120px) 0 110px; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.footer-logo { width: 100%; max-width: 560px; height: auto; }
.footer-blurb p { margin: 0 0 24px; color: #c9c9c9; max-width: 420px; }
.footer-nav { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px 32px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.footer-nav nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav nav a { font: 600 15px/1 var(--f-display); letter-spacing: .06em; text-transform: uppercase; }
.footer-nav nav a:hover { color: var(--muted); }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); }
.socials a:hover { background: var(--btn); color: var(--btn-ink); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; color: var(--muted); }

/* ==========================================================
   Neon accents — orange with bloom
   ========================================================== */
::selection { background: var(--accent); color: #111; }

/* Buttons: the ✦ block becomes a lit neon tube */
.btn-mark {
  background: var(--accent); color: #1a0d00; border-color: var(--accent);
  box-shadow: var(--bloom-soft);
  transition: box-shadow .3s, background .3s;
}
.btn-ghost .btn-mark { background: var(--btn); color: var(--btn-ink); border-color: var(--line-2); box-shadow: none; }
.btn:not(.btn-ghost):hover .btn-mark, .book-float:hover .btn-mark { background: var(--accent-core); box-shadow: 0 0 4px rgba(255,200,130,1), 0 0 10px rgba(255,140,26,1), 0 0 20px rgba(240,100,0,.6); }
.btn-ghost:hover { border-color: var(--text); background: transparent; color: var(--text); }
.book-float { box-shadow: 0 10px 30px rgba(0,0,0,.5), 0 0 10px rgba(255,120,10,.4); }

.nav a:hover { color: #fff; }

/* Prices glow like the sign */
.program-price, .svc-price { color: var(--accent-core); text-shadow: var(--bloom-text); }
.svc-price::after { color: var(--accent); }
.price-list a:hover { background: linear-gradient(90deg, rgba(255,140,26,.08), rgba(255,140,26,0) 70%); }
.price-list a:hover .svc-name { color: #fff; }

/* Pro programme: lit neon frame, flickers on when it scrolls in */
.program-pro { border-color: transparent; box-shadow: var(--bloom-box); background: #1d1914; }
.program-pro.in { animation: neon-on 1.6s steps(1, end) .2s both; }
@keyframes neon-on {
  0%   { box-shadow: none; }
  8%   { box-shadow: var(--bloom-box); }
  12%  { box-shadow: none; }
  20%  { box-shadow: var(--bloom-box); }
  24%  { box-shadow: none; }
  40%, 100% { box-shadow: var(--bloom-box); }
}

/* ---------- Scroll animations ---------- */
:root { --ease-out: cubic-bezier(.16,1,.3,1); }
.reveal {
  opacity: 0; transform: translateY(70px);
  transition: opacity 1s ease, transform 1.2s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
/* headings rise in with a slight skew */
.reveal-head { opacity: 0; transform: translateY(90px) skewY(5deg); transform-origin: left top;
  transition: opacity 1s ease, transform 1.3s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
/* media wipes up from the bottom while the picture settles from a zoom */
.reveal-media { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-out); overflow: hidden; }
.reveal-media > img, .reveal-media > video, .reveal-media > iframe { transform: scale(1.25); transition: transform 1.8s var(--ease-out); }
/* list rows slide in from the left */
.reveal-row { opacity: 0; transform: translateX(-50px);
  transition: opacity .9s ease, transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.in, .reveal-head.in, .reveal-row.in { opacity: 1; transform: none; }
.reveal-media.in { clip-path: inset(0 0 0 0); }
.reveal-media.in > img, .reveal-media.in > video, .reveal-media.in > iframe { transform: none; }

/* neon prices flicker on as they arrive */
.in .svc-price, .in.program .program-price { animation: tube-on 1.3s steps(1, end) both; animation-delay: calc(var(--i, 0) * 90ms + .35s); }
@keyframes tube-on {
  0%   { text-shadow: none; color: #5a4a3a; }
  10%  { text-shadow: var(--bloom-text); color: var(--accent-core); }
  16%  { text-shadow: none; color: #5a4a3a; }
  28%  { text-shadow: var(--bloom-text); color: var(--accent-core); }
  34%  { text-shadow: none; color: #6a5440; }
  50%, 100% { text-shadow: var(--bloom-text); color: var(--accent-core); }
}

/* hero parallax is driven from JS via these vars */
.hero-video { transform: translate3d(0, var(--hero-shift, 0px), 0) scale(var(--hero-zoom, 1)); will-change: transform; }
.hero-content { transform: translate3d(0, var(--hero-lift, 0px), 0); opacity: var(--hero-fade, 1); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .site-header { grid-template-columns: auto 1fr; }
  .nav { display: none; }
  .brand img { height: 36px; }
  .burger { display: block; }
  .intro-grid, .services-grid, .barber, .contact-grid, .footer-top { grid-template-columns: 1fr; }
  .services-media { position: static; order: -1; }
  .services-media video { aspect-ratio: 16 / 10; }
  .hero-title { flex-direction: column; align-items: flex-start; gap: 0; }
  .footer-nav { flex-direction: column; align-items: flex-start; gap: 24px; }
}
@media (max-width: 520px) {
  .program-duration { padding-right: 18px; }
  .program-cost { padding-left: 18px; }
  .course-facts { grid-template-columns: 1fr; }
  .course-facts li { padding: 18px 0; }
  .course-facts li + li { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .info > div { grid-template-columns: 1fr; gap: 6px; }
  .review-track { grid-auto-columns: 86%; }
  .review { padding: 24px; min-height: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .reveal, .reveal-head, .reveal-row { opacity: 1; transform: none; }
  .reveal-media { clip-path: none; }
  .reveal-media > * { transform: none; }
}
