/* Northside Fade Studio — demo site. Mobile-first; no framework. */
:root {
  --ink: #121212;
  --coal: #1b1a19;
  --coal-2: #24221f;
  --line: #3a3631;
  --brass: #c8a253;
  --brass-hi: #dcb866;
  --cream: #f3eee4;
  --muted: #bdb5a7;
  --danger: #ff8a7a;
  --radius: 14px;
  --display: "Anton", Impact, "Haettenschweiler", "Arial Narrow Bold", sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: 16px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font: 400 1rem/1.6 var(--body);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brass-hi); }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--brass-hi); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--brass); color: var(--ink); padding: 10px 14px; border-radius: 8px;
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 8px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.95;
}
.h2 { font-size: clamp(2.4rem, 9vw, 4.2rem); }
.h3 { font-size: clamp(1.9rem, 7vw, 2.8rem); }
.brass { color: var(--brass); }
.eyebrow {
  color: var(--brass);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.lede, .section-lede { color: var(--muted); font-size: 1.05rem; max-width: 60ch; }
.section-lede { margin-top: 14px; }
.tag {
  display: inline-block; vertical-align: 1px;
  border: 1px solid var(--brass); color: var(--brass);
  border-radius: 999px; padding: 1px 10px; margin-right: 6px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1 var(--body); letter-spacing: 0.02em;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-brass { background: var(--brass); color: var(--ink); }
.btn-brass:hover { background: var(--brass-hi); }
.btn-ghost { background: transparent; color: var(--cream); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brass); color: var(--brass-hi); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--coal-2); }
.btn-sm { min-height: 44px; padding: 10px 16px; font-size: 0.92rem; }
.btn-block { width: 100%; }

/* ---------- Demo strip + header ---------- */
.demo-strip {
  background: var(--brass); color: var(--ink);
  font-size: 0.8rem; line-height: 1.4; text-align: center;
  padding: 7px var(--gutter);
}
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 18, 18, 0.94);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(18, 18, 18, 0.82); backdrop-filter: blur(8px); }
}
.header-row {
  display: flex; align-items: center; gap: 10px;
  min-height: 64px; flex-wrap: wrap;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--cream); text-decoration: none; margin-right: auto;
}
.brand-mark { width: 38px; height: 38px; color: var(--brass); flex: none; }
.brand-text {
  font-family: var(--display); text-transform: uppercase;
  font-size: 1.15rem; line-height: 1; letter-spacing: 0.04em;
  display: flex; flex-direction: column;
}
.brand-text span:last-child { color: var(--brass); font-size: 0.78rem; letter-spacing: 0.2em; margin-top: 3px; }
.menu-toggle {
  order: 3;
  width: 44px; height: 44px; display: grid; place-items: center;
  background: transparent; color: var(--cream);
  border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }
.header-cta { order: 2; }
.site-nav { order: 4; width: 100%; display: none; padding-bottom: 12px; }
.site-nav.is-open { display: block; }
.site-nav ul { display: grid; gap: 2px; }
.site-nav a {
  display: block; padding: 12px 4px; color: var(--cream);
  text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line);
}
.site-nav a:hover { color: var(--brass-hi); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 44px 0 56px;
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(200, 162, 83, 0.16), transparent 60%),
    var(--ink);
}
.hero::after {
  content: ""; position: absolute; inset: auto -20% -40px auto; width: 70%; height: 140px;
  background: repeating-linear-gradient(-35deg, rgba(200,162,83,.12) 0 14px, transparent 14px 34px);
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 36px; }
.hero h1 { font-size: clamp(3.6rem, 17vw, 8.2rem); }
.hero .lede { margin-top: 20px; font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin-top: 32px; border-top: 1px solid var(--line); padding-top: 20px;
}
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong { font-family: var(--display); font-weight: 400; font-size: 1.6rem; line-height: 1.1; color: var(--cream); }
.hero-facts span { color: var(--muted); font-size: 0.85rem; }

.next-chair { position: relative; display: flex; align-items: center; justify-content: center; }
.ticket {
  position: relative; z-index: 1; width: 100%; max-width: 360px;
  background: var(--coal); border: 1px solid var(--line); border-radius: 20px;
  padding: 24px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8);
}
.ticket::before, .ticket::after {
  content: ""; position: absolute; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  background: var(--ink); border-radius: 50%; border: 1px solid var(--line);
}
.ticket::before { left: -12px; clip-path: inset(0 0 0 50%); }
.ticket::after { right: -12px; clip-path: inset(0 50% 0 0); }
.ticket-label { color: var(--brass); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; }
.ticket-time { font-family: var(--display); font-size: 2.4rem; line-height: 1.05; text-transform: uppercase; margin: 10px 0 4px; }
.ticket-sub { color: var(--muted); margin-bottom: 20px; }
.ticket-note { color: var(--muted); font-size: 0.78rem; margin-top: 12px; text-align: center; }
.pole { display: none; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; border-top: 1px solid var(--line); }
.section-head { margin-bottom: 32px; }

/* Services */
.service-grid { display: grid; gap: 14px; }
.service-card {
  display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 4px 16px;
  background: var(--coal); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px;
}
.service-card h3 { font-size: 1.15rem; line-height: 1.3; }
.service-card .price {
  grid-column: 2; grid-row: 1 / span 2;
  font-family: var(--display); font-size: 2.1rem; line-height: 1; color: var(--brass);
}
.service-meta { color: var(--muted); font-size: 0.88rem; }
.service-desc { grid-column: 1 / -1; color: var(--muted); margin-top: 8px; font-size: 0.95rem; }
.service-card .btn { grid-column: 1 / -1; margin-top: 14px; justify-self: start; }

/* Booking */
.section-book { background: linear-gradient(180deg, var(--coal) 0%, var(--ink) 100%); }
.booker { background: var(--ink); border: 1px solid var(--line); border-radius: 20px; padding: 18px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 22px; }
.steps li {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  padding: 10px 6px; border-radius: 999px; border: 1px solid var(--line);
  color: var(--muted); font-weight: 600; font-size: 0.85rem;
}
.steps li span {
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--coal-2); color: var(--cream); font-size: 0.75rem;
}
.steps li[aria-current="step"] { border-color: var(--brass); color: var(--cream); }
.steps li[aria-current="step"] span, .steps li.is-done span { background: var(--brass); color: var(--ink); }
.steps li.is-done { color: var(--cream); }

.booker-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.booking-form { min-width: 0; }
.step { border: 0; padding: 0; margin: 0; min-width: 0; }
.step-title { font-family: var(--display); text-transform: uppercase; font-size: 1.7rem; line-height: 1; padding: 0; margin-bottom: 16px; }
.step-title:focus { outline: none; }
.field-label { font-weight: 700; margin: 18px 0 10px; font-size: 0.95rem; }
.field-hint { color: var(--muted); font-weight: 400; font-size: 0.85rem; }

/* Radio "cards", chips, slots share one pattern: a visually hidden input + styled label */
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt label { cursor: pointer; }
.opt input:focus-visible + label { outline: 3px solid var(--brass-hi); outline-offset: 2px; }
.opt input:disabled + label { cursor: not-allowed; }

.choice-list { display: grid; gap: 10px; }
.choice-list label {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center;
  padding: 14px 16px; border-radius: 12px; border: 2px solid var(--line); background: var(--coal);
}
.choice-list .c-name { font-weight: 700; }
.choice-list .c-meta { color: var(--muted); font-size: 0.85rem; grid-column: 1; }
.choice-list .c-price { grid-column: 2; grid-row: 1 / span 2; font-family: var(--display); font-size: 1.5rem; color: var(--brass); }
.choice-list input:checked + label { border-color: var(--brass); background: var(--coal-2); }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-row label, .slot-grid label {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 8px 16px; border-radius: 999px;
  border: 2px solid var(--line); background: var(--coal); font-weight: 600;
}
.chip-row input:checked + label, .slot-grid input:checked + label {
  background: var(--brass); border-color: var(--brass); color: var(--ink);
}

.day-scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: 74px; gap: 8px;
  overflow-x: auto; padding: 2px 2px 10px; scroll-snap-type: x proximity;
  scrollbar-color: var(--line) transparent;
}
.day-scroller .opt { scroll-snap-align: start; }
.day-scroller label {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 78px; border-radius: 14px; border: 2px solid var(--line); background: var(--coal);
  line-height: 1.15;
}
.day-scroller .d-dow { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.day-scroller .d-num { font-family: var(--display); font-size: 1.7rem; }
.day-scroller .d-mon { font-size: 0.72rem; color: var(--muted); }
.day-scroller input:checked + label { border-color: var(--brass); background: var(--brass); color: var(--ink); }
.day-scroller input:checked + label .d-dow, .day-scroller input:checked + label .d-mon { color: var(--ink); }
.day-scroller input:disabled + label { opacity: 0.55; border-style: dashed; }
.day-scroller input:disabled + label .d-mon::after { content: " · closed"; }

.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.slot-grid label { display: flex; width: 100%; border-radius: 10px; padding: 8px 6px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.slot-grid input:disabled + label {
  color: #8f877b; text-decoration: line-through; border-style: dashed; background: transparent;
}
.slot-empty { color: var(--muted); grid-column: 1 / -1; padding: 12px 0; }

.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 700; font-size: 0.95rem; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--cream);
  background: var(--coal); border: 2px solid var(--line); border-radius: 12px;
  padding: 12px 14px; min-height: 48px;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--brass); outline: none; }
.field input[aria-invalid="true"] { border-color: var(--danger); }
::placeholder { color: #8f877b; }

.privacy-note { color: var(--muted); font-size: 0.85rem; margin-top: 4px; }
.step-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.step-actions .btn-brass { flex: 1 1 auto; }
.form-error { color: var(--danger); font-weight: 600; margin-top: 12px; min-height: 1.6em; }
.form-error:empty { margin-top: 0; min-height: 0; }

.summary {
  background: var(--coal); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; align-self: start;
}
.summary-title { font-family: var(--display); text-transform: uppercase; font-weight: 400; font-size: 1.3rem; margin-bottom: 10px; }
.summary-list div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.summary-list dt { color: var(--muted); }
.summary-list dd { text-align: right; font-weight: 600; }
.summary-total { border-bottom: 0 !important; }
.summary-total dd { font-family: var(--display); font-size: 1.6rem; color: var(--brass); font-weight: 400; }
.summary-note { color: var(--muted); font-size: 0.82rem; margin-top: 6px; }

.confirmation { text-align: center; padding: 12px 4px 4px; }
.confirmation:focus { outline: none; }
.confirm-badge { width: 64px; height: 64px; margin: 0 auto 16px; color: var(--brass); }
.confirm-lede { color: var(--muted); margin: 12px auto 20px; max-width: 46ch; }
.confirm-card {
  max-width: 440px; margin: 0 auto 14px; text-align: left;
  background: var(--coal); border: 1px solid var(--brass); border-radius: var(--radius); padding: 6px 18px;
}
.confirm-card div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.confirm-card div:last-child { border-bottom: 0; }
.confirm-card dt { color: var(--muted); }
.confirm-card dd { font-weight: 700; text-align: right; }
.confirmation .step-actions { justify-content: center; }
.confirmation .step-actions .btn-brass { flex: 0 1 auto; }

/* Team */
.team-grid { display: grid; gap: 18px; }
.barber { background: var(--coal); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.avatar { width: 100%; height: auto; aspect-ratio: 1; border-radius: 12px; margin-bottom: 16px; }
.barber h3 { font-family: var(--display); text-transform: uppercase; font-weight: 400; font-size: 2rem; line-height: 1; }
.barber-role { color: var(--brass); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 6px 0 10px; }
.barber p:last-child { color: var(--muted); }

/* Reviews */
.section-reviews { background: var(--coal); }
.review-grid { display: grid; gap: 14px; }
.review { background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.stars { color: var(--brass); letter-spacing: 0.15em; font-size: 1.1rem; }
.review blockquote p { font-size: 1.08rem; }
.review-by { color: var(--muted); font-size: 0.85rem; margin-top: auto; }

/* Visit */
.visit-grid { display: grid; gap: 28px; }
.good-to-know { display: grid; gap: 10px; margin-top: 22px; }
.good-to-know li { padding-left: 22px; position: relative; color: var(--muted); }
.good-to-know li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; background: var(--brass); transform: rotate(45deg); }
.good-to-know strong { color: var(--cream); }
.hours-card { background: var(--coal); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; align-self: start; }
.hours-title { font-family: var(--display); text-transform: uppercase; font-weight: 400; font-size: 1.5rem; margin-bottom: 8px; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours th { text-align: left; font-weight: 600; }
.hours td { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--brass); }

/* CTA + footer */
.cta-band { background: var(--brass); color: var(--ink); padding: 48px 0; }
.cta-row { display: grid; gap: 22px; justify-items: start; }
.cta-band .h2 { font-size: clamp(2.2rem, 8vw, 3.6rem); max-width: 16ch; }
.site-footer { padding: 36px 0 44px; border-top: 1px solid var(--line); }
.footer-row { display: grid; gap: 8px; }
.footer-brand { font-family: var(--display); text-transform: uppercase; font-size: 1.3rem; letter-spacing: 0.04em; }
.footer-demo { font-weight: 600; }
.footer-small { color: var(--muted); font-size: 0.85rem; }
.notice { background: var(--coal); border: 1px solid var(--brass); padding: 14px; border-radius: 12px; }

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .booker { padding: 26px; }
  .steps li { font-size: 0.95rem; }
}

/* ---------- Desktop ---------- */
@media (min-width: 960px) {
  .menu-toggle { display: none; }
  .site-nav { display: block; order: 1; width: auto; padding: 0; margin-right: 16px; }
  .site-nav ul { display: flex; gap: 26px; }
  .site-nav a { border: 0; padding: 8px 0; font-size: 0.95rem; }
  .header-row { min-height: 76px; flex-wrap: nowrap; }
  .brand-mark { width: 44px; height: 44px; }
  .brand-text { font-size: 1.35rem; }

  .hero { padding: 80px 0 96px; }
  .hero-grid { grid-template-columns: 1.35fr 1fr; align-items: center; gap: 48px; }
  .hero h1 { font-size: clamp(4.5rem, 8.6vw, 8.2rem); }
  .next-chair { min-height: 440px; }
  .pole { display: block; position: absolute; right: -10px; top: 50%; width: 120px; height: 420px; transform: translateY(-50%); opacity: .9; }
  .ticket { margin-right: 70px; }

  .section { padding: 96px 0; }
  .section-head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; column-gap: 48px; margin-bottom: 44px; }
  .section-head .eyebrow { grid-column: 1; }
  .section-head .h2 { grid-column: 1; }
  .section-head .section-lede { grid-column: 2; grid-row: 1 / span 2; align-self: end; margin: 0; }

  .service-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .booker-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; }
  .summary { position: sticky; top: 100px; }
  .visit-grid { grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
  .cta-row { grid-template-columns: 1fr auto; align-items: center; }
  .footer-row { grid-template-columns: auto 1fr; align-items: baseline; column-gap: 32px; }
  .footer-demo { justify-self: end; }
  .footer-small { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: no-preference) {
  .pole-stripes { animation: pole 6s linear infinite; }
  @keyframes pole { from { transform: translateY(0); } to { transform: translateY(80px); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
