/* ==========================================================================
   Eddie's Barber Shop — 1410 W Pinhook Rd, Lafayette, LA

   Direction: the shop is a black building with a bright checkerboard floor and
   gold baroque chairs. The type carries that duality — a high-contrast serif
   for the elegance the slogan promises, condensed signage caps for the
   barbershop itself. Gold stays hardware-only, exactly as it is in the shop.
   ========================================================================== */

:root {
  /* Brand */
  --charcoal-black: #0d0d0f;
  --pure-white:     #f7f7f5;
  --royal-navy:     #16234a;
  --barber-red:     #b5252d;
  --steel-silver:   #c7c9cc;
  --vintage-gold:   #c9a24b;

  /* Derived */
  --surface:    #121218;
  --surface-2:  #17171f;
  --hairline:   rgba(199, 201, 204, .13);
  --hairline-2: rgba(199, 201, 204, .28);
  --muted:      rgba(247, 247, 245, .66);
  --muted-dim:  rgba(247, 247, 245, .42);

  /* Type */
  --serif:  "Instrument Serif", "Times New Roman", serif;
  --sans:   "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --signal: "Archivo", "Helvetica Neue", Arial, sans-serif;

  /* Rhythm */
  --gutter:  clamp(1.25rem, 5vw, 4rem);
  --section: clamp(4.5rem, 9vw, 7.5rem);
  --maxw:    1240px;

  --ease:    cubic-bezier(.22, .61, .36, 1);
  --ease-io: cubic-bezier(.65, .05, .36, 1);
}

/* --------------------------------------------------------------- base ---- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--charcoal-black);
  color: var(--pure-white);
  font-family: var(--sans);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.66;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video, svg { max-width: 100%; display: block; }
img, video { height: auto; }
a { color: inherit; }

h1, h2, h3 { margin: 0; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }

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

/* Expensive-feeling details cost nothing: brand-toned text selection and a
   scrollbar that belongs to the page instead of the OS default. */
::selection { background: rgba(201, 162, 75, .85); color: var(--charcoal-black); }

html {
  scrollbar-width: thin;
  scrollbar-color: rgba(199, 201, 204, .35) var(--charcoal-black);
}
body::-webkit-scrollbar { width: 10px; }
body::-webkit-scrollbar-track { background: var(--charcoal-black); }
body::-webkit-scrollbar-thumb {
  background: rgba(199, 201, 204, .28);
  border-radius: 99px;
  border: 2px solid var(--charcoal-black);
}
body::-webkit-scrollbar-thumb:hover { background: rgba(201, 162, 75, .55); }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 300;
  background: var(--vintage-gold);
  color: var(--charcoal-black);
  padding: .75rem 1.25rem;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* -------------------------------------------------------- type system ---- */

/* Statements: high-contrast serif, set large and tight. The italic half of
   each headline is the "elegance" voice from the slogan. */
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 1.6rem + 3.9vw, 4.6rem);
  line-height: .98;
  letter-spacing: -.02em;
}
.display em {
  font-style: italic;
  color: var(--steel-silver);
}

/* Labels: the shop's signage voice. */
.eyebrow {
  font-family: var(--signal);
  font-weight: 700;
  font-stretch: 80%;
  text-transform: uppercase;
  letter-spacing: .26em;
  font-size: .7rem;
  color: var(--vintage-gold);
  margin-bottom: 1.5rem;
}

.lede {
  color: var(--muted);
  font-size: clamp(1.02rem, .97rem + .34vw, 1.16rem);
  line-height: 1.7;
  max-width: 52ch;
  margin-top: 1.75rem;
}

.star { color: var(--vintage-gold); }

.secthead { margin-bottom: clamp(3rem, 6vw, 5rem); }
.secthead__sub {
  color: var(--muted);
  max-width: 40ch;
  font-size: 1rem;
}

/* ------------------------------------------------------------- buttons --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--signal);
  font-weight: 700;
  font-stretch: 86%;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  padding: 1.05rem 1.9rem;
  border: 1px solid transparent;
  border-radius: 1px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease), transform .3s var(--ease);
}
.btn--sm { padding: .62rem 1.1rem; font-size: .72rem; }

.btn--gold {
  background: linear-gradient(180deg, #d4ad58 0%, var(--vintage-gold) 55%, #b8923f 100%);
  color: var(--charcoal-black);
  box-shadow: inset 0 1px 0 rgba(247, 247, 245, .32), 0 10px 26px -12px rgba(201, 162, 75, .55);
}
.btn--gold:hover {
  background: linear-gradient(180deg, #e0bc68 0%, #d2ab54 55%, #c09a45 100%);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(247, 247, 245, .38), 0 16px 34px -14px rgba(201, 162, 75, .7);
}

.btn--ghost { border-color: var(--hairline-2); color: var(--pure-white); }
.btn--ghost:hover { border-color: var(--vintage-gold); color: var(--vintage-gold); transform: translateY(-2px); }

.btnrow { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.75rem; }

/* ----------------------------------------------------------------- nav --- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 160;   /* above .mmenu so the close button stays reachable */
  background: rgba(13, 13, 15, .82);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--hairline);
  transform: translateY(-102%);
  transition: transform .5s var(--ease);
}
.nav.is-stuck,
body.is-menu-open .nav { transform: translateY(0); }

.nav__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: .7rem var(--gutter);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav__brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; margin-right: auto; }
.nav__brand img { width: 36px; }

.nav__brand-text {
  font-family: var(--signal);
  font-weight: 800;
  font-stretch: 92%;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .95rem;
  line-height: 1;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.nav__brand-text em {
  font-style: normal;
  font-size: .56rem;
  font-stretch: 78%;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--steel-silver);
}

.nav__links { display: none; gap: 2rem; }
.nav__links a {
  position: relative;
  font-family: var(--signal);
  font-weight: 600;
  font-stretch: 82%;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .74rem;
  text-decoration: none;
  color: var(--muted);
  padding-block: .35rem;
  transition: color .25s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--vintage-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__links a:hover { color: var(--pure-white); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: 1rem; }

/* Scroll progress as a barber-pole hairline — the pole reduced to a detail
   rather than a border running down the page. */
.nav__progress { height: 2px; background: rgba(199, 201, 204, .07); }
.nav__progress span {
  display: block;
  height: 100%;
  width: var(--p, 0%);
  opacity: .8;
  background: repeating-linear-gradient(
    118deg,
    var(--barber-red)   0 3px,
    var(--steel-silver) 3px 6px,
    var(--royal-navy)   6px 9px,
    var(--steel-silver) 9px 12px
  );
  background-size: 17px 100%;
  animation: pole-turn 1.6s linear infinite;
  transition: width .1s linear;
}
@keyframes pole-turn { to { background-position: -17px 0; } }

.socials { display: flex; align-items: center; gap: .3rem; }
.socials a {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  color: var(--steel-silver);
  transition: color .25s var(--ease), background-color .25s var(--ease);
}
.socials svg { width: 16px; height: 16px; fill: currentColor; }
.socials a:hover { color: var(--vintage-gold); background: rgba(201, 162, 75, .1); }
.socials--nav { display: none; }

/* ------------------------------------------------------- mobile menu ----- */

.burger {
  display: grid;
  align-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 0 8px;
  background: none;
  border: 0;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 1.5px;
  background: var(--pure-white);
  transition: transform .4s var(--ease), width .4s var(--ease);
}
.burger span:first-child { width: 24px; }
.burger span:last-child  { width: 16px; margin-left: auto; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child  { width: 24px; transform: translateY(-3.25px) rotate(-45deg); }

.mmenu {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--charcoal-black);
  display: grid;
  grid-template-rows: 1fr auto;
  padding: clamp(5rem, 13vh, 7rem) var(--gutter) clamp(2rem, 5vh, 3rem);
  overflow-y: auto;
}
.mmenu[hidden] { display: none; }

.mmenu__nav { display: grid; align-content: center; gap: .35rem; }
.mmenu__nav a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-block: .45rem;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 1.3rem + 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  text-decoration: none;
  border-bottom: 1px solid var(--hairline);
  opacity: 0;
  transform: translateY(16px);
}
.mmenu__nav a em {
  font-family: var(--signal);
  font-style: normal;
  font-weight: 700;
  font-stretch: 78%;
  font-size: .68rem;
  letter-spacing: .16em;
  color: var(--vintage-gold);
}
.mmenu.is-open .mmenu__nav a { animation: mm-in .55s var(--ease) forwards; }
.mmenu.is-open .mmenu__nav a:nth-child(1) { animation-delay: .06s; }
.mmenu.is-open .mmenu__nav a:nth-child(2) { animation-delay: .12s; }
.mmenu.is-open .mmenu__nav a:nth-child(3) { animation-delay: .18s; }
.mmenu.is-open .mmenu__nav a:nth-child(4) { animation-delay: .24s; }
.mmenu.is-open .mmenu__nav a:nth-child(5) { animation-delay: .30s; }
@keyframes mm-in { to { opacity: 1; transform: none; } }

.mmenu__foot { display: grid; gap: .75rem; padding-top: 2rem; border-top: 1px solid var(--hairline); }
.mmenu__tel {
  font-family: var(--serif);
  font-size: 1.7rem;
  letter-spacing: -.015em;
  text-decoration: none;
  color: var(--vintage-gold);
}
.mmenu__addr { font-size: .84rem; color: var(--muted); line-height: 1.6; }
.mmenu__addr span { color: var(--muted-dim); }
.socials--mmenu { gap: .5rem; margin-top: .35rem; }
.socials--mmenu a { border: 1px solid var(--hairline); width: 40px; height: 40px; }

@media (min-width: 940px) {
  .nav__links { display: flex; }
  .socials--nav { display: flex; }
  .burger { display: none; }
  .mmenu { display: none !important; }
}

/* =============================================================== 1. HOOK == */

.hook {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 33rem;
  overflow: hidden;
  isolation: isolate;
  background: var(--charcoal-black);
}

.hook__video, .hook__scrim, .hook__grain {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.hook__video { object-fit: cover; z-index: -3; }

/* The hero clip is native-vertical (420x746). object-fit: cover on a portrait
   source inside a wide landscape hero forces a ~3x crop — it stops reading as
   the actual footage and starts reading as a random zoomed-in slice. Full
   object-fit: contain fixes the crop but (at typical desktop widths) leaves a
   small video adrift in a lot of empty charcoal, which undersells it.

   The middle ground: size the video's own box to the source's aspect ratio at
   full viewport height, rather than stretching it to 100% width first. That
   makes it a large, full-height panel — object-fit: cover inside that box then
   has almost nothing to crop, since the box already matches the footage's
   shape, so the whole frame reads clearly at a real size instead of either
   extreme. */
@media (min-width: 900px) {
  .hook__video {
    width: min(100%, calc(100svh * 420 / 746));
    left: 50%;
    transform: translateX(-50%);
  }
}

/* A steady overlay, not a reveal that clears — matching the onestepsolutionsla.com
   reference: one confident looping video, dimmed evenly enough that minimal text
   reads against any frame of it, the whole time it plays. */
.hook__scrim {
  z-index: -2;
  background:
    linear-gradient(to bottom,
      rgba(13, 13, 15, .72) 0%,
      rgba(13, 13, 15, .58) 30%,
      rgba(13, 13, 15, .6) 65%,
      rgba(13, 13, 15, .82) 88%,
      var(--charcoal-black) 100%);
}

.hook__grain {
  z-index: -1;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Corner meta — small, tracked, at the extremes of the frame. */
.hook__meta {
  position: absolute;
  top: clamp(1.25rem, 4vh, 2.5rem);
  display: grid;
  gap: .3rem;
  font-family: var(--signal);
  font-weight: 600;
  font-stretch: 80%;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .62rem;
  line-height: 1.4;
  color: var(--pure-white);
  opacity: 0;
  animation: fade-up 1s var(--ease) 1.1s forwards;
}
.hook__meta b { font-weight: 700; }
.hook__meta span { color: var(--muted-dim); }
.hook__meta--tl { left: var(--gutter); }
.hook__meta--tr { right: var(--gutter); text-align: right; display: none; }

@media (min-width: 720px) { .hook__meta--tr { display: grid; } }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

.hook__copy {
  position: absolute;
  left: 0; right: 0;
  bottom: clamp(4rem, 9vh, 5.5rem);
  padding-inline: var(--gutter);
  max-width: var(--maxw);
  margin-inline: auto;
}

.hook__slogan {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 1.15rem + 3.1vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -.015em;
  max-width: 30ch;
  /* Local pool of shadow so the clip's own burnt-in wordmark never shows
     through the letterforms. */
  text-shadow: 0 2px 10px rgba(13, 13, 15, .95), 0 6px 40px rgba(13, 13, 15, .85);
}
.hook__slogan em { font-style: italic; color: var(--vintage-gold); }

.hook__cta { margin-top: 1.9rem; }

.hook__scroll {
  position: absolute;
  bottom: 1.5rem;
  right: var(--gutter);
  display: grid;
  justify-items: center;
  gap: .3rem;
  text-decoration: none;
  font-family: var(--signal);
  font-weight: 600;
  font-stretch: 80%;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .62rem;
  color: var(--muted);
  opacity: 0;
  animation: fade-up 1s var(--ease) 2.4s forwards;
}
.hook__scroll svg {
  width: 22px; height: 22px;
  color: var(--vintage-gold);
  animation: chev 2.2s var(--ease) infinite;
}

/* Pause/play control for the background video — quiet until needed. */
.hook__pause {
  position: absolute;
  bottom: 1.4rem;
  left: var(--gutter);
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(247, 247, 245, .28);
  background: rgba(13, 13, 15, .45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--pure-white);
  cursor: pointer;
  opacity: .55;
  transition: opacity .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.hook__pause:hover,
.hook__pause:focus-visible { opacity: 1; border-color: var(--vintage-gold); color: var(--vintage-gold); }
.hook__pause-ico { width: 16px; height: 16px; }
.hook__pause-ico--play { display: none; }
.hook__pause.is-paused .hook__pause-ico--pause { display: none; }
.hook__pause.is-paused .hook__pause-ico--play { display: block; }
.hook__pause.is-paused { opacity: .9; }
@keyframes chev {
  0%, 100% { transform: translateY(0);   opacity: .7; }
  50%      { transform: translateY(6px); opacity: 1; }
}

/* =============================================================== 2. SHOP == */

.shop { padding-block: var(--section); position: relative; }

.shop__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  padding-inline: var(--gutter);
}

.shop__figure { margin: 0; position: relative; }

.shop__figure-mask {
  position: relative;
  overflow: hidden;
  background: var(--royal-navy);
}
.shop__figure-mask img {
  width: 100%;
  will-change: transform;
}
/* Melt the photo into the page instead of framing it. */
.shop__figure-mask::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(13, 13, 15, .35) 0%, transparent 22%, transparent 62%, rgba(13, 13, 15, .85) 100%);
  pointer-events: none;
}

.shop__figure figcaption {
  margin-top: 1rem;
  padding-inline: var(--gutter);
  font-family: var(--signal);
  font-weight: 600;
  font-stretch: 84%;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .64rem;
  color: var(--muted-dim);
}
.shop__figure figcaption span { color: var(--vintage-gold); }
@media (min-width: 940px) { .shop__figure figcaption { padding-inline: var(--gutter) 0; } }

.shop__body { align-self: center; }

.trust {
  display: grid;
  gap: 1.6rem;
  margin-top: 3rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--hairline);
}
.trust li { display: grid; gap: .25rem; }
.trust strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
  line-height: 1;
  letter-spacing: -.02em;
}
.trust li span:last-child {
  font-size: .82rem;
  line-height: 1.5;
  color: var(--muted-dim);
}

@media (min-width: 620px) {
  .trust { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
}

@media (min-width: 940px) {
  .shop__grid {
    grid-template-columns: minmax(0, 44%) minmax(0, 56%);
    align-items: center;
    gap: clamp(3rem, 5vw, 5.5rem);
    padding-left: 0;          /* photo bleeds off the left edge */
    padding-right: 0;
  }
  .shop__figure-mask::after {
    background:
      linear-gradient(to right, transparent 55%, rgba(13, 13, 15, .9) 100%),
      linear-gradient(to bottom, transparent 70%, rgba(13, 13, 15, .8) 100%);
  }
  .shop__body {
    max-width: 38rem;
    padding-right: var(--gutter);
  }
}

/* =============================================== FACES — real snapshots === */
/* The five source stills are small (~140px shot on a phone) — rather than
   blow them up past what they can hold, they're treated as what they are:
   real snapshots pinned up, white-bordered and slightly askew. Authenticity
   over polish is the point here. */

.faces { padding-block: var(--section); background: var(--charcoal-black); }
.faces__head { margin-top: .25rem; }
.faces__sub { max-width: 46ch; }

.snaps {
  display: flex;
  gap: clamp(1rem, 3vw, 1.75rem);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding-block: clamp(2.5rem, 5vw, 3.5rem) 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--hairline-2) transparent;
  list-style: none;
}
.snaps::-webkit-scrollbar { height: 5px; }
.snaps::-webkit-scrollbar-thumb { background: var(--hairline-2); border-radius: 99px; }

.snap {
  flex: 0 0 auto;
  scroll-snap-align: center;
  display: grid;
  gap: .6rem;
  justify-items: center;
  padding: 10px 10px 16px;
  width: clamp(132px, 30vw, 168px);
  background: var(--pure-white);
  border-radius: 2px;
  box-shadow: 0 18px 34px -16px rgba(0, 0, 0, .65);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.snap img {
  width: 100%;
  border-radius: 1px;
  filter: saturate(1.03) contrast(1.02);
}
.snap__cap {
  font-family: var(--signal);
  font-weight: 600;
  font-stretch: 84%;
  font-size: .66rem;
  letter-spacing: .04em;
  color: var(--charcoal-black);
  text-align: center;
  line-height: 1.4;
}

/* Alternating tilt so the row reads as pinned-up rather than machine-aligned. */
.snap--r1 { transform: rotate(-3deg); }
.snap--r2 { transform: rotate(2deg);  margin-top: 1.25rem; }
.snap--r3 { transform: rotate(-1.5deg); }
.snap--r4 { transform: rotate(2.5deg); margin-top: .75rem; }
.snap--r5 { transform: rotate(-2deg); }
.snap--r6 { transform: rotate(1.5deg); margin-top: .4rem; }
.snap--r7 { transform: rotate(-2.5deg); }

.snap--r1:hover { transform: rotate(-3deg)   translateY(-6px); }
.snap--r2:hover { transform: rotate(2deg)    translateY(-6px); }
.snap--r3:hover { transform: rotate(-1.5deg) translateY(-6px); }
.snap--r4:hover { transform: rotate(2.5deg)  translateY(-6px); }
.snap--r5:hover { transform: rotate(-2deg)   translateY(-6px); }
.snap--r6:hover { transform: rotate(1.5deg)  translateY(-6px); }
.snap--r7:hover { transform: rotate(-2.5deg) translateY(-6px); }
.snap--r8 { transform: rotate(1deg); margin-top: .9rem; }
.snap--r8:hover { transform: rotate(1deg) translateY(-6px); }
.snap:hover { box-shadow: 0 26px 48px -18px rgba(0, 0, 0, .78); }

@media (min-width: 860px) {
  .snaps { overflow: visible; flex-wrap: wrap; padding-inline: var(--gutter); }
}

/* ============================================ THE ROOM — interior tour ==== */
/* Mirrors the Shop section's split but reversed, so the page alternates
   left/right as you scroll. The vertical clip keeps its native 9:16 in a
   framed panel rather than being cropped into a wide band. */

.room {
  padding-block: var(--section);
  background:
    radial-gradient(90% 60% at 85% 15%, rgba(22, 35, 74, .38) 0%, transparent 60%),
    var(--charcoal-black);
  border-top: 1px solid var(--hairline);
}

.room__grid { display: grid; gap: clamp(2.25rem, 5vw, 4rem); align-items: center; }

.room__media { margin: 0; }
.room__frame {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  border: 1px solid var(--hairline);
  background: var(--surface);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9);
  max-width: 26rem;
}
.room__video {
  display: block;
  width: 100%;
  aspect-ratio: 478 / 850;
  object-fit: cover;
  background: var(--surface);
}
/* Warm the footage slightly and seat it into the page's dark palette. */
.room__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(13, 13, 15, .22) 0%, transparent 18%,
                    transparent 72%, rgba(13, 13, 15, .5) 100%);
}

.roomlist {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--hairline);
  display: grid;
  gap: .75rem;
}
.roomlist li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--muted);
  font-size: .93rem;
}
.roomlist li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 7px; height: 7px;
  border: 1px solid var(--vintage-gold);
  transform: rotate(45deg);
}

@media (min-width: 940px) {
  .room__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); }
  .room__media { justify-self: start; }
  .room__body { max-width: 34rem; }
}

/* =========================================================== 3. SERVICES == */

.services {
  position: relative;
  padding-block: var(--section);
  background: var(--charcoal-black);
}

/* Photo-forward cards — four real stills from Eddie's own footage plus one
   atmosphere shot standing in for hot towel shaves (see the SWAP comment in
   the markup). A consistent duotone/vignette treatment unifies the four real
   stills, which come from video frames rather than a camera, into one series. */
.svc {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.9rem, 2.5vw, 1.5rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.svc__card {
  position: relative;
  display: grid;
  gap: .85rem;
}

.svc__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--hairline);
  background: var(--surface);
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.svc__frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: grayscale(.22) saturate(1.1) contrast(1.08) brightness(.86);
  transition: transform .6s var(--ease), filter .4s var(--ease);
}
/* Navy duotone wash + a bottom pool of shadow, consistent across every card. */
.svc__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, transparent 55%, rgba(13, 13, 15, .55) 100%),
    linear-gradient(160deg, rgba(22, 35, 74, .38) 0%, transparent 55%);
  pointer-events: none;
}

.svc__card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.15rem, 1rem + .8vw, 1.5rem);
  letter-spacing: -.015em;
  transition: color .3s var(--ease);
}
.svc__card p {
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.55;
}

/* Gold-border hover glow, per the brief. */
.svc__card:hover .svc__frame {
  border-color: rgba(201, 162, 75, .6);
  box-shadow: 0 0 0 1px rgba(201, 162, 75, .28), 0 24px 46px -22px rgba(201, 162, 75, .5);
}
.svc__card:hover .svc__frame img {
  transform: scale(1.045);
  filter: grayscale(.1) saturate(1.15) contrast(1.06) brightness(.94);
}
.svc__card:hover h3 { color: var(--vintage-gold); }

.svc__card--atmo .svc__frame img { object-position: center 40%; }

@media (min-width: 700px) {
  .svc { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
  .svc { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.1rem; }
  .svc__card h3 { font-size: 1.1rem; }
}

.note {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-left: 1.25rem;
  border-left: 2px solid var(--barber-red);
  color: var(--muted);
  font-size: .92rem;
  max-width: 54ch;
}
.note a { color: var(--vintage-gold); text-underline-offset: 3px; }

/* =============================================== 4. BEFORE & AFTER RAIL === */

.work {
  position: relative;
  padding-block: var(--section);
  isolation: isolate;
}

/* The shop's checkerboard floor, scaled up and almost invisible — atmosphere
   that belongs to this shop and no other. */
.work::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-conic-gradient(
    rgba(199, 201, 204, 1) 0% 25%, transparent 0% 50%);
  background-size: 120px 120px;
  opacity: .028;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 35%, #000 65%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 35%, #000 65%, transparent);
  pointer-events: none;
}

.secthead--work { display: grid; gap: 1.75rem; }
@media (min-width: 900px) {
  .secthead--work {
    grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
    align-items: end;
    gap: 3rem;
  }
}

.rail {
  display: flex;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: .5rem var(--gutter) 2.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--hairline-2) transparent;
}
.rail::-webkit-scrollbar { height: 5px; }
.rail::-webkit-scrollbar-thumb { background: var(--hairline-2); border-radius: 99px; }

.reel { flex: 0 0 clamp(230px, 64vw, 290px); scroll-snap-align: center; }

.reel__btn {
  all: unset;
  display: grid;
  gap: 1.1rem;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}
.reel__btn:focus-visible { outline: 2px solid var(--vintage-gold); outline-offset: 6px; }

.phone {
  position: relative;
  display: block;
  padding: 6px;
  border-radius: 28px;
  background: linear-gradient(150deg, #30303b 0%, #0a0a0d 45%, #26262f 100%);
  box-shadow: 0 0 0 1px rgba(199, 201, 204, .14), 0 34px 64px -32px rgba(0, 0, 0, .95);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.phone::after {
  content: "";
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 54px; height: 4px;
  border-radius: 99px;
  background: rgba(13, 13, 15, .8);
  z-index: 2;
}
.phone__video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 23px;
  background: var(--surface);
}
.phone__glare {
  position: absolute;
  inset: 6px;
  border-radius: 23px;
  background: linear-gradient(118deg, rgba(247, 247, 245, .11) 0%, transparent 36%);
  pointer-events: none;
}
.phone__play {
  position: absolute;
  right: 16px; bottom: 16px;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(13, 13, 15, .6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(247, 247, 245, .25);
  color: var(--pure-white);
  opacity: .9;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.phone__play svg { width: 15px; height: 15px; margin-left: 2px; }

.reel__btn:hover .phone,
.reel__btn:focus-visible .phone {
  transform: translateY(-8px);
  box-shadow: 0 0 0 1px rgba(201, 162, 75, .45), 0 40px 76px -30px rgba(201, 162, 75, .4);
}
.reel__btn:hover .phone__play { background: var(--vintage-gold); color: var(--charcoal-black); }

.reel__meta { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .85rem; padding-inline: .2rem; }
.reel__idx {
  font-family: var(--signal);
  font-weight: 700;
  font-stretch: 78%;
  font-size: .68rem;
  letter-spacing: .12em;
  color: var(--vintage-gold);
  padding-top: .18rem;
}
.reel__text { display: grid; gap: .28rem; }
.reel__title {
  font-family: var(--signal);
  font-weight: 700;
  font-stretch: 82%;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: .78rem;
  line-height: 1.35;
}
.reel__desc { font-size: .8rem; color: var(--muted-dim); line-height: 1.5; }

/* ========================================== REVIEWS — floating Google strip == */

.reviews { padding-block: var(--section) calc(var(--section) * .6); overflow: hidden; }

.reviews__head { max-width: 46ch; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.reviews__head .lede { margin-top: 1rem; }
.reviews__link {
  display: inline-block;
  margin-top: 1.1rem;
  font-family: var(--signal);
  font-weight: 700;
  font-stretch: 84%;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .76rem;
  color: var(--vintage-gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 162, 75, .4);
  padding-bottom: 2px;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.reviews__link:hover { color: #dcb76c; border-color: currentColor; }

/* Google credibility cluster — real multi-colour "G" mark, not a generic
   star icon, so the source reads as unmistakably Google at a glance. */
.reviews__proof {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-top: 1.1rem;
  padding: .6rem .9rem .6rem .6rem;
  width: fit-content;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 99px;
}
.gicon { width: 18px; height: 18px; flex: none; }
.gicon--sm { width: 14px; height: 14px; }
.reviews__stars {
  color: var(--vintage-gold);
  font-size: .82rem;
  letter-spacing: .05em;
  line-height: 1;
}
.reviews__count {
  font-family: var(--signal);
  font-weight: 600;
  font-stretch: 84%;
  font-size: .74rem;
  letter-spacing: .02em;
  color: var(--muted);
  white-space: nowrap;
}
.reviews__count strong { color: var(--pure-white); font-weight: 700; }

/* Edge fade so cards drift in/out of the strip rather than clipping hard. */
.marquee {
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.marquee + .marquee { margin-top: 1.25rem; }

.marquee__track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  padding-inline: var(--gutter);
  animation: marquee-scroll 58s linear infinite;
}
.marquee--b .marquee__track { animation-name: marquee-scroll-rev; animation-duration: 64s; }

.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track { animation-play-state: paused; }

/* JS duplicates each row's cards once, so a 50% translate is exactly one
   full loop — row A drifts left, row B drifts right, opposite directions. */
@keyframes marquee-scroll     { from { transform: translateX(0); }    to { transform: translateX(-50%); } }
@keyframes marquee-scroll-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.rvcard {
  flex: 0 0 min(320px, 80vw);
  padding: 1.4rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 2px;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.rvcard:hover { border-color: rgba(201, 162, 75, .45); transform: translateY(-3px); }

.rvcard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .9rem;
}
.rvcard__stars { color: var(--vintage-gold); font-size: .78rem; letter-spacing: .04em; }

.rvcard p {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.48;
  color: var(--pure-white);
  margin-bottom: 1rem;
}
.rvcard__who {
  display: block;
  font-family: var(--signal);
  font-weight: 600;
  font-stretch: 84%;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .7rem;
  color: var(--muted-dim);
}
.rvcard__who em { font-style: normal; color: var(--vintage-gold); }

/* ============================================================ 5. BOOKING == */

.book {
  padding-block: var(--section);
  background:
    radial-gradient(110% 70% at 50% 0%, rgba(22, 35, 74, .5) 0%, transparent 62%),
    var(--charcoal-black);
  border-top: 1px solid var(--hairline);
}

.book__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }

.callcard {
  display: grid;
  gap: .3rem;
  margin-top: 2.5rem;
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--hairline-2);
  background: var(--surface);
  text-decoration: none;
  transition: border-color .3s var(--ease), background-color .3s var(--ease), transform .3s var(--ease);
  max-width: 26rem;
}
.callcard:hover { border-color: var(--vintage-gold); background: var(--surface-2); transform: translateY(-2px); }
.callcard__label {
  font-family: var(--signal);
  font-weight: 600;
  font-stretch: 80%;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .64rem;
  color: var(--vintage-gold);
}
.callcard__num {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -.02em;
}
.callcard__sub { font-size: .78rem; color: var(--muted-dim); }

.book__widget {
  background: var(--surface);
  border: 1px solid var(--hairline);
  overflow: hidden;
  min-height: 22rem;
}

/* Shown by script.js while the Calendly URL is still the placeholder. */
.book__pending {
  display: grid;
  gap: 1.15rem;
  place-content: center;
  justify-items: start;
  padding: clamp(2rem, 5vw, 3rem);
  min-height: 22rem;
}
.book__pending h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1.1;
  letter-spacing: -.015em;
}
.book__pending p { color: var(--muted); font-size: .95rem; max-width: 34ch; }

@media (min-width: 960px) {
  .book__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); align-items: start; }
}

/* ============================================================= 6. FOOTER == */

.foot { background: var(--surface); border-top: 1px solid var(--hairline); }

.foot__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 3.5rem);
  padding-block: clamp(4rem, 9vw, 6rem) clamp(2rem, 4vw, 3rem);
}

.foot__crest { width: 120px; }
.foot__slogan {
  margin-top: 1.35rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--steel-silver);
  max-width: 22ch;
}

/* Scan-to-follow card. Hidden on phones, where the icon link is the faster
   path — you can't usefully scan a QR on the screen you're holding. */
.qrcard {
  display: none;
  margin-top: 1.75rem;
  width: fit-content;
  padding: .55rem;
  background: var(--pure-white);
  border-radius: 3px;
  text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.qrcard img { width: 108px; height: auto; display: block; }
.qrcard__cap {
  display: grid;
  gap: .1rem;
  margin-top: .45rem;
  font-family: var(--signal);
  font-weight: 700;
  font-stretch: 82%;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .58rem;
  color: var(--charcoal-black);
  text-align: center;
}
.qrcard__cap em { font-style: normal; color: #a07f34; letter-spacing: .04em; }
.qrcard:hover { transform: translateY(-3px); box-shadow: 0 20px 38px -18px rgba(0, 0, 0, .8); }

@media (min-width: 900px) { .qrcard { display: block; } }

.socials--foot { margin-top: 1.75rem; gap: .5rem; }
.socials--foot a { width: 40px; height: 40px; border: 1px solid var(--hairline); }
.socials--foot span {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.foot__h {
  font-family: var(--signal);
  font-weight: 700;
  font-stretch: 80%;
  text-transform: uppercase;
  letter-spacing: .24em;
  font-size: .68rem;
  color: var(--vintage-gold);
  margin-bottom: 1.35rem;
}

.foot__addr { font-style: normal; line-height: 1.8; color: var(--muted); }
.foot__tel {
  display: inline-block;
  margin: 1rem 0 1.5rem;
  font-family: var(--serif);
  font-size: 1.6rem;
  letter-spacing: -.015em;
  text-decoration: none;
  transition: color .25s var(--ease);
}
.foot__tel:hover { color: var(--vintage-gold); }

.hours { border-collapse: collapse; width: 100%; max-width: 21rem; font-size: .88rem; }
.hours th, .hours td { padding: .6rem 0; text-align: left; vertical-align: top; }
.hours th {
  font-family: var(--signal);
  font-weight: 600;
  font-stretch: 82%;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .7rem;
  color: var(--steel-silver);
  padding-right: 1.25rem;
  white-space: nowrap;
}
.hours td { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hours tr + tr th, .hours tr + tr td { border-top: 1px solid var(--hairline); }
.hours__closed { color: var(--barber-red); }

.foot__map {
  position: relative;
  display: block;
  border: 1px solid var(--hairline);
  overflow: hidden;
  text-decoration: none;
  transition: border-color .3s var(--ease);
}
.foot__map img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(.8) contrast(1.06) brightness(.9);
  transition: transform .6s var(--ease), filter .4s var(--ease);
}
.foot__map:hover { border-color: var(--vintage-gold); }
.foot__map:hover img { transform: scale(1.04); filter: saturate(1) contrast(1.06) brightness(1); }
.foot__map-label {
  position: absolute;
  left: 1rem; bottom: 1rem;
  background: rgba(13, 13, 15, .82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--hairline-2);
  padding: .5rem .9rem;
  font-family: var(--signal);
  font-weight: 600;
  font-stretch: 80%;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .64rem;
}

.foot__base {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
  padding-block: 1.5rem 6rem;
  border-top: 1px solid var(--hairline);
  font-size: .76rem;
  color: var(--muted-dim);
}
.foot__base a { text-decoration: none; }
.foot__base a:hover { color: var(--vintage-gold); }

@media (min-width: 720px) {
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__map { grid-column: 1 / -1; }
  .foot__base { padding-bottom: 2rem; }
}
@media (min-width: 1040px) {
  .foot__grid { grid-template-columns: 1.1fr .75fr .85fr 1.2fr; align-items: start; }
  .foot__map { grid-column: auto; }
}

/* ---------------------------------------------------- floating book CTA -- */

.fab {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .95rem 1.5rem;
  border-radius: 99px;
  background: var(--vintage-gold);
  color: var(--charcoal-black);
  text-decoration: none;
  font-family: var(--signal);
  font-weight: 700;
  font-stretch: 86%;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .76rem;
  box-shadow: 0 18px 44px -16px rgba(201, 162, 75, .85);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(.96);
  transition: opacity .4s var(--ease), transform .4s var(--ease),
              visibility .4s, background-color .25s var(--ease);
}
.fab.is-shown { opacity: 1; visibility: visible; transform: none; }
.fab:hover { background: #dcb76c; }
.fab svg { width: 16px; height: 16px; }

@media (max-width: 560px) {
  .fab { padding: .8rem 1.2rem; font-size: .7rem; gap: .45rem; }
  .fab svg { width: 14px; height: 14px; }
}

/* ------------------------------------------------------------ lightbox --- */

.lb {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2.5rem);
}
.lb[hidden] { display: none; }

.lb__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 7, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: fade-in .3s var(--ease);
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.lb__panel {
  position: relative;
  display: grid;
  gap: 1rem;
  justify-items: center;
  max-width: min(400px, 100%);
  animation: lb-in .4s var(--ease);
}
@keyframes lb-in {
  from { opacity: 0; transform: translateY(22px) scale(.97); }
  to   { opacity: 1; transform: none; }
}

.lb__video {
  width: 100%;
  max-height: min(70vh, 680px);
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 14px;
  background: #000;
  box-shadow: 0 0 0 1px var(--hairline-2), 0 40px 80px -30px #000;
}
.lb__caption { color: var(--muted); font-size: .86rem; text-align: center; max-width: 40ch; }
.lb__bar { display: flex; gap: .6rem; }

.lb__ctl {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .65rem 1.15rem;
  border-radius: 99px;
  border: 1px solid var(--hairline-2);
  background: rgba(18, 18, 24, .9);
  color: var(--pure-white);
  font-family: var(--signal);
  font-weight: 600;
  font-stretch: 82%;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .68rem;
  cursor: pointer;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.lb__ctl:hover { border-color: var(--vintage-gold); color: var(--vintage-gold); }
.lb__ctl svg { width: 15px; height: 15px; }

body.is-locked { overflow: hidden; }

/* --------------------------------------------------- motion & reveals ---- */

/* Masked line reveal — each authored line rises out of its own clip. */
.stagger .ln { display: block; overflow: hidden; }
.stagger .ln > span {
  display: block;
  transform: translateY(105%);
  transition: transform 1s var(--ease-io);
}
.stagger.is-in .ln > span { transform: none; }
.stagger .ln:nth-child(2) > span { transition-delay: .09s; }
.stagger .ln:nth-child(3) > span { transition-delay: .18s; }
.stagger .ln:nth-child(4) > span { transition-delay: .27s; }

/* The hook headline runs on load rather than on scroll. */
.hook .stagger .ln > span { transition-duration: 1.15s; transition-delay: 1.5s; }
.hook .stagger .ln:nth-child(2) > span { transition-delay: 1.68s; }

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

.svc__card.reveal { transition-delay: calc(var(--i, 0) * 60ms); }

/* -------------------------------------------------- reduced motion ------- */

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

  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .reveal { opacity: 1; transform: none; }
  .stagger .ln > span { transform: none; }
  .hook__meta, .hook__scroll { opacity: 1; animation: none; }
  .svc__card:hover .svc__frame img { transform: none; }

  /* The review strip is exempt from the blanket animation-duration reset
     above — same reasoning as the hero video: this is content someone
     scrolled to on purpose, not unsolicited motion, and hover/focus already
     pauses it. Without this override the universal *{animation-duration:
     .001ms} rule would silently freeze it again even with JS no longer
     gating it. Specificity (one class) beats the universal selector, so this
     wins outright despite both being !important. */
  .marquee__track { animation-duration: 58s !important; }
  .marquee--b .marquee__track { animation-duration: 64s !important; }
}
