/* KINETIC · a busy shop run on time. Warm paper, ink type, one cobalt accent, a moving barber-pole line.
   Bricolage Grotesque (display) + Instrument Sans (text). The live element is the chair board:
   who's cutting, who's free next, updating like a departures board. */
@font-face { font-family: "Bricolage"; src: url(fonts/bricolage.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url(fonts/instrument-sans.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --paper: #f3f1ec; --card: #fbfaf7; --ink: #121212; --muted: #625e57; --line: rgba(18,18,18,.12);
  --cobalt: #2a44e8; --free: #18794e; --busy: #a3540b; --focus: #2a44e8;
  --display: "Bricolage", system-ui, sans-serif; --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
body { background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -.035em; line-height: 1; text-wrap: balance; }
p { margin: 0; }
.w-full { width: 100%; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 15px/1 var(--sans); text-decoration: none; border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--cobalt); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--paper); }

/* Header */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(243,241,236,.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.hdr.scrolled { border-color: var(--line); }
.hdr-in { display: flex; align-items: center; gap: 26px; height: 68px; }
.brand { font: 800 22px/1 var(--display); letter-spacing: -.04em; text-decoration: none; }
.nav { display: flex; gap: 24px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: transform .3s; }
.menu-btn span:first-child { top: 17px; } .menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero { padding-top: 56px; padding-bottom: 40px; }
.hero h1 { font-size: clamp(56px, 10.4vw, 156px); font-weight: 800; line-height: .92; }
.hero h1 span { display: block; }
.hero .l2 { color: var(--cobalt); }
.hero-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 40px; align-items: end; }
.lede { font-size: 19px; max-width: 30em; color: #2b2925; }
.next { border-top: 2px solid var(--ink); padding-top: 16px; }
.next-k { font-size: 13px; font-weight: 600; color: var(--muted); }
.next-v { font: 700 clamp(24px, 2.6vw, 34px)/1.15 var(--display); letter-spacing: -.03em; margin-top: 6px; overflow: hidden; height: 1.2em; }
.next-v span { display: block; transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .45s; }
.next-v span.out { transform: translateY(-100%); opacity: 0; }
.next-v span.in { transform: translateY(100%); opacity: 0; transition: none; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hero-strip { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; margin-top: 48px; height: clamp(180px, 24vw, 340px); position: relative; }
.hero-strip img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
/* the barber pole: one thin moving stripe line under the photos */
.hero-strip::after { content: ""; position: absolute; left: 0; right: 0; bottom: -22px; height: 6px; border-radius: 6px;
  background: repeating-linear-gradient(-45deg, var(--cobalt) 0 10px, var(--paper) 10px 20px, #c8312c 20px 30px, var(--paper) 30px 40px); background-size: 56.57px 100%; opacity: .9; }
@media (prefers-reduced-motion: no-preference) { .hero-strip::after { animation: pole 2.4s linear infinite; } }
@keyframes pole { to { background-position: 56.57px 0; } }

/* Section heads */
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; margin-bottom: 32px; }
.sec-head h2 { font-size: clamp(38px, 5vw, 64px); font-weight: 800; }
.sec-head p { color: var(--muted); max-width: 30em; }
.note { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* Chair board */
.chairs { padding: 110px 0 90px; }
.board { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.chair { display: grid; grid-template-columns: 64px 1.2fr 1fr auto; align-items: center; gap: 22px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.chair img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.chair h3 { font-size: 24px; font-weight: 700; }
.chair div p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.st { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; overflow: hidden; height: 1.6em; }
.st [data-st] { display: block; transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .45s; }
.st [data-st].out { transform: translateY(-110%); opacity: 0; }
.st [data-st].in { transform: translateY(110%); opacity: 0; transition: none; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); flex: none; transition: background .3s; }
.chair[data-state="free"] .dot { background: var(--free); }
.chair[data-state="free"] .st { color: var(--free); }
.chair[data-state="busy"] .dot { background: var(--busy); }
.chair[data-state="busy"] .st { color: var(--busy); }

/* Prices */
.services { padding-top: 40px; padding-bottom: 100px; }
.svc { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.svc button { width: 100%; display: grid; grid-template-columns: 1.1fr 1.4fr 90px 80px; align-items: baseline; gap: 18px; padding: 22px 0; background: none; border: 0; border-bottom: 1px solid var(--line); text-align: left; transition: padding .3s ease, background .3s ease; }
.svc button:hover { padding-left: 14px; padding-right: 14px; background: var(--card); }
.svc .n { font: 700 24px/1.1 var(--display); letter-spacing: -.03em; }
.svc .d { color: var(--muted); font-size: 15px; }
.svc .t { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.svc .p { font: 700 24px/1 var(--display); text-align: right; font-variant-numeric: tabular-nums; }
.svc .feat .n, .svc .feat .p { color: var(--cobalt); }

/* Work rail */
.work { padding-bottom: 100px; }
.rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(20px, calc((100vw - 1180px) / 2 + 20px)) 18px; scrollbar-width: thin; }
.rail figure { flex: 0 0 clamp(240px, 30vw, 380px); margin: 0; scroll-snap-align: start; }
.rail img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; }
.rail figcaption { margin-top: 10px; font-weight: 600; }

/* Reviews */
.quotes { display: grid; grid-template-columns: .8fr repeat(3, 1fr); gap: 28px; padding-bottom: 110px; align-items: start; }
.score b { display: block; font: 800 96px/.9 var(--display); letter-spacing: -.05em; color: var(--cobalt); }
.score span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }
.quotes figure { margin: 0; border-top: 2px solid var(--ink); padding-top: 16px; }
.quotes blockquote { margin: 0; font: 600 20px/1.35 var(--display); letter-spacing: -.02em; }

/* Visit */
.visit { background: var(--ink); color: var(--paper); padding: 90px 0; }
.visit-in { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 48px; align-items: end; }
.visit h2 { font-size: clamp(36px, 4.4vw, 56px); font-weight: 800; }
.addr { margin-top: 14px; color: #c9c5bd; }
.addr a { color: var(--paper); }
.hours { border-collapse: collapse; width: 100%; }
.hours th, .hours td { padding: 10px 0; border-bottom: 1px solid rgba(243,241,236,.18); text-align: left; font-weight: 500; }
.hours td { text-align: right; color: #c9c5bd; }
.hours tr.today th, .hours tr.today td { color: #fff; font-weight: 700; }
.hours tr.today th::after { content: "Today"; margin-left: 10px; font-size: 12px; color: var(--ink); background: var(--paper); border-radius: 999px; padding: 2px 8px; }
.visit .btn-ink { background: var(--paper); color: var(--ink); }
.visit .btn-ink:hover { background: #fff; }

.ftr { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 28px; padding-bottom: 36px; font-size: 14px; color: var(--muted); }

/* Dialog */
dialog { background: var(--card); color: var(--ink); }
.dlg { padding: 32px 28px 26px; position: relative; }
.dlg h3 { font-size: 32px; font-weight: 800; }
.dlg-x { background: rgba(18,18,18,.07); }
.picked { margin-top: 8px; font-weight: 600; color: var(--cobalt); }
.lbl { margin: 18px 0 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips [data-choice] { min-height: 42px; }
.chips [data-choice][aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.fld { display: grid; gap: 8px; margin: 18px 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.fld input { min-height: 48px; border-radius: 12px; border: 1.5px solid var(--line); padding: 0 14px; font: 500 16px var(--sans); background: #fff; }
.done h3 { font-size: 32px; } .done p { margin-top: 10px; color: var(--muted); }
.demo-note { color: var(--muted); opacity: 1; }
.callbar { background: rgba(251,250,247,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line); }

@media (max-width: 900px) {
  .nav { position: fixed; inset: 68px 0 auto; flex-direction: column; gap: 0; padding: 8px 20px 18px; background: var(--paper); border-bottom: 1px solid var(--line); transform: translateY(-130%); transition: transform .35s ease; }
  .nav.open { transform: none; }
  .nav a { padding: 14px 0; font-size: 18px; color: var(--ink); border-bottom: 1px solid var(--line); }
  .menu-btn { display: block; }
  .hdr .btn-sm { margin-left: auto; }
  .hero-row, .visit-in { grid-template-columns: 1fr; gap: 32px; }
  .hero-strip { grid-template-columns: 1fr 1fr; } .hero-strip img:last-child { display: none; }
  .chair { grid-template-columns: 52px 1fr; row-gap: 10px; }
  .chair img { width: 52px; height: 52px; }
  .chair .st, .chair .btn { grid-column: 2; justify-self: start; }
  .svc button { grid-template-columns: 1fr auto; row-gap: 4px; }
  .svc .d { grid-column: 1; } .svc .t { grid-column: 2; grid-row: 2; text-align: right; }
  .quotes { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .hdr .btn-sm { display: none; } .menu-btn { margin-left: auto; } }
