/* ==========================================================================
   NEW ERA BARBERSHOP — Naugatuck · Beacon Falls · Ansonia, CT
   Brand palette sampled directly from the shop's own logo artwork:
     white #FFFFFF   red #ED2024   indigo #343092   black
   No external requests, no build step, no font CDN. Ships as static files.
   ========================================================================== */

:root {
  --ink:      #08080A;   /* page black                        */
  --ink2:     #0E0E12;   /* raised black                      */
  --panel:    #15151A;   /* card                              */
  --panel2:   #1D1D24;   /* card hover / inset                */
  --line:     rgba(255,255,255,.10);
  --line2:    rgba(255,255,255,.18);

  --red:      #ED2024;   /* from logo                          */
  --red-dk:   #B8161A;
  --red-lt:   #FF4A4E;
  --blue:     #343092;   /* from logo                          */
  --blue-lt:  #4E48C8;
  --white:    #FFFFFF;
  --bone:     #F3F3F5;
  --muted:    #9A9AA6;
  --muted2:   #6E6E7A;
  --green:    #34C759;   /* open-now only                      */

  --display: 'Impact', 'Haettenschweiler', 'Franklin Gothic Bold', 'Arial Narrow', 'Oswald', sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --shell: 1200px;
  --pad: 22px;
  --r: 14px;
  --head-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* The logo <img>s carry width/height attributes (good — they reserve space and
   stop layout shift), but any rule that then sets only `width` in CSS leaves the
   attribute height in force and stretches the image. `height: auto` restores the
   aspect ratio. Rules that deliberately set a height — the cropped photos — are
   class-scoped and still win. */
img { max-width: 100%; height: auto; display: block; }
svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--red); color: #fff; }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--red); color: #fff; padding: 12px 18px; font-weight: 700;
}
.skip:focus { left: 12px; top: 12px; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 var(--pad); }

/* ------------------------------------------------------------- TYPE ----- */
h1, h2, h3, h4 { color: var(--white); margin: 0 0 .5em; line-height: 1.04; }
.dsp {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .012em;
  font-weight: 400;
  color: var(--white);
}
h1.dsp { font-size: clamp(2.6rem, 8.2vw, 5.4rem); }
h2.dsp { font-size: clamp(2rem, 5.6vw, 3.5rem); }
h3.dsp { font-size: clamp(1.35rem, 3vw, 1.85rem); }
p { margin: 0 0 1.1em; }
.lede { font-size: clamp(1.05rem, 2.1vw, 1.24rem); color: #C6C6D0; }
.red { color: var(--red); }
.wht { color: var(--white); }

/* eyebrow: small red rule + caps label */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .72rem; font-weight: 800; letter-spacing: .22em;
  text-transform: uppercase; color: var(--red); margin: 0 0 16px;
}
.eyebrow::before { content: ""; width: 30px; height: 3px; background: var(--red); }
.eyebrow--c { justify-content: center; }

/* the logo's red-bar / blue-wedge device, reused as a section flag */
.flag { display: inline-flex; height: 10px; gap: 3px; margin-bottom: 14px; }
.flag i { display: block; height: 100%; }
.flag i:nth-child(1) { width: 34px; background: var(--red); }
.flag i:nth-child(2) { width: 16px; background: var(--blue); transform: skewX(-22deg); }
.flag i:nth-child(3) { width: 8px; background: var(--white); transform: skewX(-22deg); }

/* ---------------------------------------------------------- BUTTONS ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 800; font-size: .94rem; letter-spacing: .04em; text-transform: uppercase;
  cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 30px -12px rgba(237,32,36,.9); }
.btn--red:hover { background: var(--red-lt); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line2); color: var(--white); background: rgba(255,255,255,.03); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.09); transform: translateY(-2px); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-lt); transform: translateY(-2px); }
.btn--sm { padding: 11px 18px; font-size: .82rem; }
.btn--wide { width: 100%; }

/* ----------------------------------------------------------- HEADER ----- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 120;
  background: rgba(8,8,10,.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.top.is-stuck {
  background: rgba(8,8,10,.96);
  border-bottom-color: var(--line);
  box-shadow: 0 14px 40px -22px #000;
}
.top__in {
  height: var(--head-h);
  display: flex; align-items: center; gap: 14px;
  max-width: var(--shell); margin: 0 auto; padding: 0 var(--pad);
  transition: height .25s ease;
}
.top.is-stuck .top__in { height: 64px; }
.brand { display: flex; align-items: center; margin-right: auto; }
.brand img { height: 52px; width: auto; transition: height .25s ease; }
.top.is-stuck .brand img { height: 42px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 9px; border-radius: 8px; white-space: nowrap;
  font-size: .76rem; font-weight: 800; letter-spacing: .085em; text-transform: uppercase;
  color: #CFCFD8; transition: color .16s ease, background .16s ease;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav a.is-active { color: var(--red); }

/* live open/closed pill */
.pill {
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px 7px 10px; border-radius: 999px;
  border: 1px solid var(--line2); background: rgba(255,255,255,.04);
  font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--white);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted2); flex: none; }
.pill.is-open .dot { background: var(--green); box-shadow: 0 0 0 0 rgba(52,199,89,.7); animation: pulse 2.2s infinite; }
.pill.is-shut .dot { background: var(--red); }
@keyframes pulse {
  70%  { box-shadow: 0 0 0 9px rgba(52,199,89,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,199,89,0); }
}

.burger {
  display: none; width: 46px; height: 42px; border-radius: 10px;
  border: 1px solid var(--line2); background: rgba(255,255,255,.04);
  cursor: pointer; padding: 0; place-items: center;
}
.burger span { display: block; width: 20px; height: 2px; background: #fff; margin: 4px auto; transition: transform .25s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.drawer {
  position: fixed; inset: var(--head-h) 0 auto 0; z-index: 119;
  background: rgba(8,8,10,.985); border-bottom: 1px solid var(--line);
  padding: 10px var(--pad) 24px;
  transform: translateY(-14px); opacity: 0; pointer-events: none;
  transition: transform .24s ease, opacity .24s ease;
  max-height: calc(100dvh - var(--head-h)); overflow-y: auto;
}
.drawer.is-open { transform: none; opacity: 1; pointer-events: auto; }
.drawer a {
  display: block; padding: 15px 4px; border-bottom: 1px solid var(--line);
  font-family: var(--display); font-size: 1.5rem; text-transform: uppercase;
  color: #fff; letter-spacing: .02em;
}
.drawer a:last-of-type { border-bottom: 0; }
.drawer .btn { margin-top: 18px; }

/* ------------------------------------------------------------- HERO ----- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: calc(var(--head-h) + 40px) 0 60px; }
/* inner-page hero: shorter, and the art sits closer to the copy */
.hero--sub { min-height: 0; padding: calc(var(--head-h) + 78px) 0 78px; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; transform: scale(1.06); animation: kenburns 26s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.06) translate3d(0,0,0); } to { transform: scale(1.16) translate3d(-2%,-1.5%,0); } }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(115% 78% at 50% 0%, rgba(8,8,10,.25) 0%, rgba(8,8,10,.86) 62%, var(--ink) 100%),
    linear-gradient(180deg, rgba(8,8,10,.72) 0%, rgba(8,8,10,.35) 40%, var(--ink) 100%);
}
.hero__in { position: relative; z-index: 2; text-align: center; }
.hero__logo { width: min(760px, 88vw); margin: 0 auto 6px; filter: drop-shadow(0 18px 40px rgba(0,0,0,.85)); }
.hero__tag {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .3em;
  font-size: clamp(.72rem, 1.8vw, 1rem); color: #D8D8E2; margin: 0 0 26px;
}
.hero__h1 { margin: 0 0 6px; }
.hero__h1 .l2 { display: block; color: var(--red); }
.hero__sub { max-width: 640px; margin: 0 auto 26px; color: #CFCFD8; font-size: clamp(1rem, 2.2vw, 1.18rem); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero__status {
  display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px;
  margin: 0 0 22px;
}
.hero__scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3;
  font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted2);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero__scroll i { display: block; width: 1px; height: 34px; background: linear-gradient(var(--red), transparent); animation: drop 1.9s ease-in-out infinite; }
@keyframes drop { 0%,100% { opacity: .25; transform: scaleY(.5); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); transform-origin: top; } }

/* spinning barber poles flanking the hero */
.pole { position: absolute; z-index: 1; width: 74px; opacity: .95; }
.pole--l { left: 3vw;  top: 50%; transform: translateY(-50%); }
.pole--r { right: 3vw; top: 50%; transform: translateY(-50%); }
.pole__glass {
  height: 210px; border-radius: 40px; overflow: hidden; position: relative;
  border: 2px solid #2A2A33;
  background: repeating-linear-gradient(115deg, var(--red) 0 14px, var(--white) 14px 28px, var(--blue) 28px 42px, var(--white) 42px 56px);
  background-size: auto 62px;
  animation: spin 2.6s linear infinite;
  box-shadow: inset -14px 0 26px rgba(0,0,0,.55), inset 12px 0 18px rgba(255,255,255,.28);
}
@keyframes spin { to { background-position: 0 -62px; } }
.pole__cap { height: 16px; border-radius: 6px; background: linear-gradient(180deg,#E8E8ED,#8D8D98); margin: 5px 0; }
@media (max-width: 1080px) { .pole { display: none; } }

/* ----------------------------------------------------------- TICKER ----- */
.ticker {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--red); color: #fff; overflow: hidden; padding: 13px 0;
}
.ticker__track { display: flex; width: max-content; animation: slide 34s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.ticker__set { display: flex; align-items: center; flex: none; }
.ticker span {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .1em;
  font-size: 1.02rem; padding: 0 26px; display: inline-flex; align-items: center; gap: 26px;
}
.ticker span::after { content: "✂"; font-family: var(--sans); opacity: .65; font-size: .9em; }

/* --------------------------------------------------------- SECTIONS ----- */
.sec { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.sec--alt { background: var(--ink2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec__head { max-width: 780px; margin: 0 0 clamp(34px, 5vw, 54px); }
.sec__head--c { margin-inline: auto; text-align: center; }

/* checkerboard band — lifted from the shop's own floor */
.checks { height: 26px; background-image:
  linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%),
  linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%);
  background-size: 26px 26px; background-position: 0 0, 13px 13px;
  background-color: #0B0B0E; opacity: .9;
}

/* ------------------------------------------------------------ STATS ----- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.stat { background: var(--ink2); padding: 30px 20px; text-align: center; }
.stat__n { font-family: var(--display); font-size: clamp(2.4rem, 6vw, 3.6rem); color: var(--white); line-height: 1; }
.stat__n .u { color: var(--red); }
.stat__l { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* -------------------------------------------------------- LOCATIONS ----- */
.loc__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.loc__tab {
  border: 1px solid var(--line2); background: rgba(255,255,255,.03); color: #CFCFD8;
  padding: 12px 20px; border-radius: 999px; cursor: pointer;
  font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; font-size: 1.02rem;
  display: inline-flex; align-items: center; gap: 9px;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.loc__tab .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted2); }
.loc__tab.is-open .dot { background: var(--green); }
.loc__tab.is-shut .dot { background: var(--red); }
.loc__tab[aria-selected="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.loc__tab[aria-selected="true"] .dot { background: #fff; }

/* With JS off every panel stays visible — all three addresses and hours print.
   JS adds .is-tabbed, and only then do the inactive panels hide. */
.loc__panel + .loc__panel { margin-top: 18px; }
.loc__panels.is-tabbed .loc__panel { display: none; margin-top: 0; }
.loc__panels.is-tabbed .loc__panel.is-on { display: block; animation: fadeUp .4s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.loc__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 26px; align-items: start; }
@media (max-width: 900px) { .loc__grid { grid-template-columns: 1fr; } }

.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(22px, 3.4vw, 34px);
}
.card--edge { position: relative; overflow: hidden; }
.card--edge::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--red), var(--blue)); }

/* one photo slot per shop — the site should show all three doors, not one */
.loc__shot {
  aspect-ratio: 16/7; border-radius: 10px; margin: 0 0 18px;
  border: 1px dashed var(--line2); background: var(--panel2);
  display: grid; place-items: center; overflow: hidden;
}
.loc__shot img { width: 100%; height: 100%; object-fit: cover; }
.loc__shot span {
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted2); text-align: center; line-height: 1.7; padding: 10px;
}
.loc__city { font-family: var(--display); font-size: clamp(2.2rem, 6vw, 3.4rem); color: var(--red); text-transform: uppercase; line-height: .95; margin: 0 0 6px; }
.loc__addr { color: var(--white); font-weight: 700; font-size: 1.05rem; margin: 0 0 4px; }
.loc__meta { color: var(--muted); font-size: .95rem; margin: 0 0 20px; }
.loc__now { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-weight: 700; color: var(--white); }
.loc__now small { display: block; font-weight: 500; color: var(--muted); font-size: .84rem; letter-spacing: 0; text-transform: none; }
.loc__acts { display: flex; flex-wrap: wrap; gap: 10px; }

.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours th { text-align: left; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted2); font-weight: 800; padding: 0 0 12px; }
.hours td { padding: 11px 0; border-top: 1px solid var(--line); color: #C6C6D0; }
.hours td:last-child { text-align: right; color: var(--white); font-variant-numeric: tabular-nums; }
.hours tr.is-today td { color: #fff; font-weight: 800; }
.hours tr.is-today td:first-child::before { content: "▸ "; color: var(--red); }
.hours tr.is-shut td:last-child { color: var(--muted2); }

/* stylized route map — three towns down the Naugatuck valley */
.mapwrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* Below ~640px the town labels scale down to a few pixels and become unreadable,
   so the map scrolls in its own lane instead of shrinking. */
.map { width: 100%; min-width: 640px; height: auto; }
.map .town { fill: var(--white); }
.map .town--on { fill: var(--red); }
.map .route { stroke: var(--line2); stroke-width: 2; fill: none; stroke-dasharray: 6 6; }
.map .label { font-family: var(--sans); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; fill: var(--muted); font-weight: 700; }
.map .label--on { fill: #fff; }

/* --------------------------------------------------------- BARBERS ----- */
.chairs-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.chair {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px 20px; text-align: center; transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.chair:hover { transform: translateY(-4px); border-color: var(--line2); background: var(--panel2); }
.chair__ph {
  width: 92px; height: 92px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--panel2); border: 1px solid var(--line2);
  display: grid; place-items: center; overflow: hidden;
}
.chair__ph img { width: 100%; height: 100%; object-fit: cover; }
.chair__ph svg { width: 44px; height: 44px; stroke: var(--muted2); }
.chair__n { font-family: var(--display); font-size: 1.3rem; color: #fff; text-transform: uppercase; letter-spacing: .04em; }
.chair__r { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-top: 4px; }
.chair__t { font-size: .9rem; color: var(--muted); margin-top: 10px; }

/* -------------------------------------------------------- HOW / STEP ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 30px 26px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); }
.step::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  font-family: var(--display); font-size: 3.2rem; color: rgba(237,32,36,.22);
  position: absolute; right: 18px; top: 8px; line-height: 1;
}
.step h3 { font-family: var(--display); text-transform: uppercase; font-size: 1.4rem; margin-bottom: 8px; }
.step p { margin: 0; font-size: .97rem; }

/* -------------------------------------------------------- SERVICES ----- */
.svcs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 44px; }
@media (max-width: 760px) { .svcs { grid-template-columns: 1fr; } }
.svc { display: flex; align-items: baseline; gap: 12px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.svc__n { color: var(--white); font-weight: 700; }
.svc__d { flex: 1; border-bottom: 1px dotted rgba(255,255,255,.16); transform: translateY(-4px); }
.svc__p { font-family: var(--display); color: var(--red); font-size: 1.3rem; white-space: nowrap; }
.svc__p--tbc { color: var(--muted2); }
.svc__n small { display: block; font-weight: 400; font-size: .8rem; color: var(--muted); letter-spacing: 0; }
.note {
  margin-top: 22px; padding: 14px 18px; border-radius: 10px;
  background: rgba(237,32,36,.08); border: 1px solid rgba(237,32,36,.3);
  color: #F0C9CA; font-size: .87rem;
}
.note strong { color: #fff; }

/* --------------------------------------------------------- GALLERY ----- */
.gal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 900px) { .gal { grid-template-columns: repeat(2, 1fr); } }
.gal__i {
  position: relative; aspect-ratio: 4/5; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); background: var(--panel); cursor: zoom-in; padding: 0;
}
.gal__i img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s ease; }
.gal__i:hover img { transform: scale(1.07); }
.gal__i--ph { display: grid; place-items: center; cursor: default; }
.gal__i--ph span {
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted2);
  border: 1px dashed var(--line2); padding: 8px 12px; border-radius: 6px; text-align: center;
}

.lb { position: fixed; inset: 0; z-index: 200; background: rgba(4,4,6,.95); display: none; place-items: center; padding: 24px; }
.lb.is-on { display: grid; }
.lb img { max-width: min(1000px, 92vw); max-height: 86vh; width: auto; border-radius: 10px; }
.lb__x { position: absolute; top: 18px; right: 20px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line2); background: rgba(255,255,255,.06); color: #fff; font-size: 1.4rem; cursor: pointer; }

/* --------------------------------------------------------- QUOTES ------ */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }
.quote { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 26px; position: relative; }
.quote::before { content: "“"; font-family: var(--display); font-size: 4.4rem; color: rgba(52,48,146,.5); position: absolute; top: 2px; left: 18px; line-height: 1; }
.quote p { color: #DCDCE4; font-size: 1.02rem; position: relative; z-index: 1; margin: 14px 0 14px; }
.quote cite { font-style: normal; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); font-weight: 800; }

/* ---------------------------------------------------------- SPLITS ----- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 5vw, 60px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split--stretch { align-items: stretch; }
.split__img { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.split__img img { width: 100%; height: 100%; object-fit: cover; }

.promo {
  position: relative; overflow: hidden; border-radius: var(--r);
  border: 1px solid var(--line); background: var(--panel);
  padding: clamp(30px, 5vw, 56px);
}
.promo--blue { background: linear-gradient(135deg, #211E63 0%, #15132F 60%, #0F0F16 100%); border-color: rgba(78,72,200,.35); }
.promo--red  { background: linear-gradient(135deg, #6E0F12 0%, #2A0A0C 60%, #120A0B 100%); border-color: rgba(237,32,36,.32); }
.promo__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Artwork drawn in dark navy needs a light plate to sit on. */
.plate { background: var(--bone); }
.plate img { mix-blend-mode: multiply; }

/* ------------------------------------------------------------ LIST ----- */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: #C6C6D0; }
.ticks svg { width: 20px; height: 20px; flex: none; margin-top: 3px; stroke: var(--red); }
.ticks strong { color: #fff; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .grid3 { grid-template-columns: 1fr; } }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 760px) { .grid2 { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ FORM ----- */
.form { display: grid; gap: 16px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .f-row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 800; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 10px;
  background: var(--ink); border: 1px solid var(--line2); color: #fff;
  font-family: var(--sans); font-size: 1rem;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); outline: none; }
.field.has-err input, .field.has-err select, .field.has-err textarea { border-color: var(--red); }
.err { display: none; color: var(--red-lt); font-size: .82rem; margin-top: 6px; }
.field.has-err .err { display: block; }
.form__ok {
  display: none; padding: 16px 18px; border-radius: 10px;
  background: rgba(52,199,89,.1); border: 1px solid rgba(52,199,89,.35); color: #BFEFCC;
}
.form__ok.is-on { display: block; }

/* --------------------------------------------------------- ACCORDION --- */
.acc { border-top: 1px solid var(--line); }
.acc__i { border-bottom: 1px solid var(--line); }
.acc__b {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 22px 44px 22px 0; position: relative; color: #fff;
  font-size: 1.06rem; font-weight: 700;
}
.acc__b::after {
  content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-family: var(--display); font-size: 1.6rem; color: var(--red); transition: transform .22s ease;
}
.acc__i.is-open .acc__b::after { content: "−"; }
.acc__p { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc__p div { padding: 0 0 22px; color: var(--muted); }

/* ----------------------------------------------------------- FOOTER ---- */
.foot { background: #060608; border-top: 1px solid var(--line); padding: clamp(50px, 7vw, 82px) 0 30px; }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 34px; }
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot__grid { grid-template-columns: 1fr; } }
.foot__logo { width: 220px; margin-bottom: 18px; }
.foot h4 { font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; font-size: 1.05rem; margin-bottom: 14px; }
.foot a:hover { color: var(--white); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .94rem; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line2); display: grid; place-items: center; transition: background .18s ease, border-color .18s ease; }
.socials a:hover { background: var(--red); border-color: var(--red); }
.socials svg { width: 19px; height: 19px; fill: #fff; }
.foot__bot {
  margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: .8rem; color: var(--muted2);
}

/* sticky mobile call bar */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 118; display: none;
  background: rgba(8,8,10,.96); border-top: 1px solid var(--line);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 8px;
}
.callbar .btn { flex: 1; padding: 13px 10px; font-size: .8rem; }

.totop {
  position: fixed; right: 18px; bottom: 18px; z-index: 117;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  background: var(--red); border: 0; color: #fff; display: grid; place-items: center;
  opacity: 0; pointer-events: none; transform: translateY(10px); transition: all .25s ease;
}
.totop.is-on { opacity: 1; pointer-events: auto; transform: none; }
.totop svg { width: 20px; height: 20px; stroke: #fff; }

/* --------------------------------------------------------- REVEALS ----- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.rv.is-in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------- BREAKPOINTS --- */
@media (max-width: 1240px) { .top .pill { display: none; } }
@media (max-width: 940px) {
  .nav { display: none; }
  .burger { display: grid; }
  .callbar { display: flex; }
  body { padding-bottom: 68px; }
  .totop { bottom: 82px; }
}
@media (max-width: 560px) {
  /* the sticky call bar already covers calling — give the logo the room */
  .top__in > .btn { display: none; }
  .brand img { height: 46px; }
  .top.is-stuck .brand img { height: 38px; }
}
@media (max-width: 620px) {
  /* On a phone the wordmark is the loudest thing on screen — rein it in so the
     status pills and the call button still clear the fold. */
  .hero__logo { width: min(360px, 66vw); margin-bottom: 14px; }
  .hero__status { gap: 8px; margin-bottom: 16px; }
  .hero__status .pill { font-size: .64rem; letter-spacing: .08em; padding: 6px 11px 6px 9px; }
  /* the second pill just repeats what the paragraph already says */
  .hero__status .pill + .pill { display: none; }
  .hero__sub { font-size: .96rem; margin-bottom: 20px; }
  .hero__cta { gap: 10px; }
  .hero__cta .btn { width: 100%; }
  h1.dsp { font-size: clamp(2.1rem, 10.5vw, 3.2rem); }
  .hero__scroll { display: none; }
}
@media (max-width: 520px) {
  .btn { padding: 14px 20px; font-size: .86rem; }
  .hero { min-height: 88svh; padding-bottom: 40px; }
}

/* ==========================================================================
   MOTION PASS — added 2026-08-26
   Everything below is drawn from the shop's own props: the pole stripes, the
   scissors in the logo, the checkerboard floor, the red/blue flag device.
   No new assets, no libraries. All of it collapses under prefers-reduced-motion.
   ========================================================================== */

/* ------------------------------------------------- scroll progress rail -- */
.rail {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 130;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 55%, var(--blue) 100%);
  will-change: transform;
}

/* --------------------------------------------------- barber-pole divider -- */
/* The real thing: white/red/blue helix, travelling. Works at every width,
   which the two flanking poles never did — they hide below 1080px. */
.poles {
  height: 22px; overflow: hidden; position: relative;
  border-top: 1px solid rgba(255,255,255,.14);
  border-bottom: 1px solid rgba(255,255,255,.14);
  background:
    repeating-linear-gradient(115deg,
      var(--red)   0 22px,
      #FFFFFF     22px 44px,
      var(--blue) 44px 66px,
      #FFFFFF     66px 88px);
  background-size: 88px 100%;
  animation: poleslide 3.4s linear infinite;
}
.poles::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.42) 0%, rgba(0,0,0,0) 38%, rgba(0,0,0,.5) 100%);
}
@keyframes poleslide { to { background-position: -88px 0; } }

/* --------------------------------------------------------- scissors cut -- */
/* One signature moment: the scissors from the wordmark runs the width of the
   page and the line it crosses opens behind it. Fires once, on scroll-in. */
.cut { position: relative; height: 96px; margin: 0; overflow: hidden; }
.cut__line {
  position: absolute; left: 0; right: 0; top: 50%; height: 1px;
  background: repeating-linear-gradient(90deg, var(--line2) 0 7px, transparent 7px 14px);
}
.cut__seam {
  position: absolute; left: 0; top: 50%; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--red), var(--blue));
  transform: scaleX(0); transform-origin: 0 50%;
}
.cut__blade {
  position: absolute; top: 50%; left: 0; width: 46px; height: 46px;
  margin-top: -23px; margin-left: -23px;
  fill: none; stroke: var(--red); stroke-width: 1.6;
  filter: drop-shadow(0 0 14px rgba(237,32,36,.55));
  opacity: 0;
}
.cut.is-in .cut__seam { animation: seam 1.9s cubic-bezier(.5,.05,.2,1) forwards; }
.cut.is-in .cut__blade { animation: blade 1.5s cubic-bezier(.5,.05,.2,1) forwards; }
@keyframes seam  { 0% { transform: scaleX(0); } 100% { transform: scaleX(1); } }
@keyframes blade {
  0%   { opacity: 0; transform: translateX(0) rotate(-8deg); }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { opacity: 0; transform: translateX(calc(100vw - 20px)) rotate(8deg); }
}

/* ---------------------------------------------------------- hero intro --- */
/* A short orchestrated load: the logo's own red-bar/blue-wedge device wipes in,
   then the wordmark, then the line. Runs once, on load. */
.hero__logo { animation: riseIn .9s cubic-bezier(.2,.7,.3,1) both .1s; }
.hero__status { animation: riseIn .8s cubic-bezier(.2,.7,.3,1) both .45s; }
.hero__h1 .l1 { display: block; animation: riseIn .85s cubic-bezier(.2,.7,.3,1) both .6s; }
.hero__h1 .l2 { animation: riseIn .85s cubic-bezier(.2,.7,.3,1) both .74s; }
.hero:not(.hero--sub) .hero__sub { animation: riseIn .8s cubic-bezier(.2,.7,.3,1) both .9s; }
.hero:not(.hero--sub) .hero__cta { animation: riseIn .8s cubic-bezier(.2,.7,.3,1) both 1.02s; }
/* inner pages: one short, shared entrance instead */
.hero--sub .hero__sub, .hero--sub .hero__cta { animation: riseIn .7s cubic-bezier(.2,.7,.3,1) both .25s; }
@keyframes riseIn {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

/* A red highlighter bar swipes under the white line. Under the red line it
   would be invisible, which is where it started. */
.hero__h1 .l1 { position: relative; display: inline-block; }
.hero__h1 .l1::after {
  content: ""; position: absolute; left: -.06em; right: -.06em; bottom: -.01em; height: 5px;
  background: var(--red); transform: scaleX(0); transform-origin: 0 50%;
  animation: swipe .75s cubic-bezier(.5,.05,.2,1) both 1.3s;
  opacity: .85; z-index: -1;
}
@keyframes swipe { to { transform: scaleX(1); } }

/* -------------------------------------------------------- location shot -- */
.loc__shot { position: relative; }
.loc__shot::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(237,32,36,.10) 0%, rgba(0,0,0,0) 45%, rgba(8,8,10,.55) 100%);
}
.loc__panel.is-on .loc__shot img { animation: shotIn 1.1s cubic-bezier(.2,.7,.3,1) both; }
@keyframes shotIn {
  from { transform: scale(1.09); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* -------------------------------------------------------------- the map -- */
.map .route { stroke-dasharray: 6 6; }
.map__draw {
  stroke: var(--red); stroke-width: 2.5; fill: none; stroke-linecap: round;
  stroke-dasharray: 720; stroke-dashoffset: 720;
}
.rv.is-in .map__draw { animation: drawRoute 1.9s cubic-bezier(.4,0,.2,1) both .2s; }
@keyframes drawRoute { to { stroke-dashoffset: 0; } }

.map .town { transition: r .35s cubic-bezier(.2,1.4,.4,1), fill .35s ease; }
.map .town--on { r: 14; }
.map .halo { fill: none; stroke: var(--red); stroke-width: 2; opacity: 0; }
.map .halo.halo--on { animation: halo 2s ease-out infinite; }
@keyframes halo {
  0%   { r: 12; opacity: .75; stroke-width: 2.4; }
  100% { r: 34; opacity: 0;   stroke-width: .4; }
}
.map .label { transition: fill .3s ease; }

/* ---------------------------------------------------------- stat shimmer -- */
.stat { position: relative; overflow: hidden; }
.stat::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.055), transparent);
  transform: skewX(-18deg);
}
.stats.is-in .stat::after { animation: sheen 1.5s ease-out both; }
.stats.is-in .stat:nth-child(2)::after { animation-delay: .12s; }
.stats.is-in .stat:nth-child(3)::after { animation-delay: .24s; }
.stats.is-in .stat:nth-child(4)::after { animation-delay: .36s; }
@keyframes sheen { to { left: 115%; } }

/* --------------------------------------------------------- card lift ----- */
.card--edge, .step, .quote, .chair { transition: transform .25s cubic-bezier(.2,.7,.3,1), border-color .25s ease; }
.step:hover, .quote:hover { transform: translateY(-3px); border-color: var(--line2); }

/* the red/blue seam on an edge card grows on hover */
.card--edge::before { transition: transform .35s cubic-bezier(.2,.7,.3,1); transform-origin: 50% 0; }
.card--edge:hover::before { transform: scaleY(1.02) scaleX(1.8); }

@media (prefers-reduced-motion: reduce) {
  .rail { display: none; }
  .poles { animation: none; }
  .cut__blade { display: none; }
  .cut__seam { transform: scaleX(1); animation: none; }
  .hero__logo, .hero__status, .hero__h1 .l1, .hero__h1 .l2, .hero__sub, .hero__cta,
  .loc__panel.is-on .loc__shot img, .stats.is-in .stat::after, .rv.is-in .map__draw {
    animation: none !important;
  }
  .hero__h1 .l1::after { transform: scaleX(1); animation: none; }
  .map__draw { stroke-dashoffset: 0; }
}

/* ==========================================================================
   THE PRICE BOARD
   The nine services came off the sign hanging on the Naugatuck wall, so the
   section is built as that sign: a bone plate screwed to the dark room, the
   shop's own black wordmark at the top, and the walk-ins line along the bottom
   exactly where it sits on the real one. Prices are blank slots, because an
   unpainted sign has blank slots — not zeroes, not guesses.
   ========================================================================== */

.board { position: relative; padding-top: 16px; }

/* two screws holding it to the wall */
.board__hang { display: flex; justify-content: space-between; padding: 0 34px; margin-bottom: -9px; position: relative; z-index: 3; }
.board__hang i {
  width: 13px; height: 13px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #E9E9EE, #6E6E7A 60%, #3A3A44);
  box-shadow: 0 2px 5px rgba(0,0,0,.75);
}

.board__plate {
  position: relative; overflow: hidden;
  background: linear-gradient(178deg, #FCFBF9 0%, #F0EEE9 62%, #E6E3DC 100%);
  border-radius: 6px;
  padding: clamp(20px, 2.8vw, 28px) clamp(20px, 3.2vw, 34px) clamp(18px, 2.6vw, 26px);
  box-shadow:
    0 34px 60px -26px rgba(0,0,0,.95),
    0 2px 0 rgba(255,255,255,.5) inset,
    0 -14px 26px -18px rgba(0,0,0,.35) inset;
  transform-origin: 50% 0;
}
/* it swings down onto the wall and settles */
.board.is-in .board__plate { animation: hangDown 1.05s cubic-bezier(.22,.9,.28,1.02) both; }
@keyframes hangDown {
  0%   { opacity: 0; transform: perspective(1100px) rotateX(-13deg) translateY(-26px); }
  60%  { opacity: 1; transform: perspective(1100px) rotateX(2.6deg)  translateY(0); }
  80%  { transform: perspective(1100px) rotateX(-1.1deg); }
  100% { opacity: 1; transform: perspective(1100px) rotateX(0deg); }
}

/* one light sweep across the plate, once */
.board__sheen {
  position: absolute; top: -20%; bottom: -20%; left: -35%; width: 26%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.85), transparent);
  transform: skewX(-16deg); pointer-events: none; opacity: 0;
}
.board.is-in .board__sheen { animation: boardSheen 1.5s cubic-bezier(.4,0,.2,1) .75s both; }
@keyframes boardSheen {
  0%   { left: -35%; opacity: 0; }
  18%  { opacity: 1; }
  82%  { opacity: 1; }
  100% { left: 118%; opacity: 0; }
}

.board__logo { width: min(186px, 50%); margin: 0 auto 2px; }
.board__kicker {
  text-align: center; margin: 0 0 12px;
  font-size: .64rem; letter-spacing: .34em; text-transform: uppercase;
  color: #9A948A; font-weight: 800;
}
.board__kicker::before, .board__kicker::after { content: "—"; margin: 0 .6em; color: #C9C3B8; }

.board__list { list-style: none; margin: 0; padding: 0; }

.board__row {
  display: flex; align-items: baseline; gap: 10px;
  padding: 12px 8px; margin: 0 -8px; border-radius: 4px;
  transition: background .18s ease;
}
.board.is-in .board__row { animation: rowIn .5s cubic-bezier(.2,.7,.3,1) both; animation-delay: calc(.5s + var(--i) * .062s); }
@keyframes rowIn { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
.board__row:hover { background: rgba(237,32,36,.07); }

.board__svc {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(.98rem, 1.9vw, 1.14rem); letter-spacing: .015em;
  color: #14140F; line-height: 1.12;
}
.board__svc small {
  display: block; font-family: var(--sans); font-weight: 400;
  font-size: .68rem; letter-spacing: .04em; text-transform: none; color: #8C8579;
  margin-top: 1px;
}

/* the leader dots draw themselves left to right */
.board__lead {
  flex: 1; height: 1px; align-self: center; transform: translateY(2px);
  background-image: radial-gradient(circle, #B9B2A6 1px, transparent 1.2px);
  background-size: 7px 2px; background-repeat: repeat-x;
  background-position-x: 0;
  transition: background-image .18s ease;
}
.board.is-in .board__lead { animation: leadIn .55s ease both; animation-delay: calc(.58s + var(--i) * .062s); }
@keyframes leadIn { from { background-size: 0 2px; } to { background-size: 7px 2px; } }
.board__row:hover .board__lead { background-image: radial-gradient(circle, var(--red) 1px, transparent 1.2px); }

.board__price { display: inline-flex; align-items: baseline; gap: 3px; }
.board__cur {
  font-family: var(--display); font-size: 1.16rem; color: var(--red); line-height: 1;
}
/* an unpainted slot on a real sign: a ruled blank, not a zero */
.board__blank {
  display: inline-block; width: 44px; height: 2px; align-self: flex-end;
  margin-bottom: .22em; background: #C4BDB1; border-radius: 2px;
  transition: background .18s ease, box-shadow .18s ease;
}
.board__row:hover .board__blank { background: var(--red); box-shadow: 0 0 9px rgba(237,32,36,.55); }

.board__foot {
  margin: 18px 0 0; padding-top: 14px; border-top: 1px solid #DCD6CA;
  text-align: center; font-family: var(--display); text-transform: uppercase;
  font-size: clamp(.72rem, 1.6vw, .86rem); letter-spacing: .18em; color: #14140F;
}
.board.is-in .board__foot { animation: rowIn .55s cubic-bezier(.2,.7,.3,1) both 1.12s; }

.board .note { margin-top: 20px; }

@media (prefers-reduced-motion: reduce) {
  .board.is-in .board__plate,
  .board.is-in .board__sheen,
  .board.is-in .board__row,
  .board.is-in .board__lead,
  .board.is-in .board__foot { animation: none !important; }
  .board__sheen { display: none; }
}

/* --- real prices on the board ------------------------------------------- */
.board__price { flex-direction: column; align-items: flex-end; gap: 0; }
.board__amt {
  font-family: var(--display); color: var(--red);
  font-size: clamp(1.06rem, 2.1vw, 1.22rem); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.board__cur { font-size: .78em; margin-right: 1px; vertical-align: .06em; }
.board__time {
  font-family: var(--sans); font-size: .64rem; letter-spacing: .1em;
  text-transform: uppercase; color: #9A948A; margin-top: 3px; white-space: nowrap;
}
.board__row:hover .board__time { color: #6E6558; }

/* the note under the board is no longer a warning */
.note--ok {
  background: rgba(52,199,89,.07);
  border-color: rgba(52,199,89,.28);
  color: #BFD9C6;
}
.note--ok strong { color: #fff; }
