/* Ironside Barber Co. — fictional demo site
   Concept: the shop's front counter. Barber-pole band, chair plates, ticket stubs,
   a filmstrip of the work and notes pinned by the mirror. */
:root {
  --ink: #0f0e0d;
  --char: #171615;
  --char-2: #1f1d1b;
  --char-3: #2a2724;
  --line-d: rgba(233, 225, 211, .13);
  --paper: #f3eee5;
  --paper-2: #e6ddcc;
  --card: #fbf8f2;
  --line-l: rgba(22, 21, 20, .15);
  --text-d: #ece5d8;
  --muted-d: #a69d8f;
  --text-l: #1a1816;
  --muted-l: #5f574d;
  --brass: #c9974f;
  --brass-2: #e2bb78;
  --brass-3: #8a5a2b;
  --copper: #a6582f;
  --ribbon-h: 34px;
  --header-h: 68px;
  --pole-w: 92px;
  --display: "Anton", "Oswald", Impact, "Arial Narrow", sans-serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --pole: repeating-linear-gradient(-45deg, var(--copper) 0 12px, var(--paper) 12px 24px, var(--char-3) 24px 36px, var(--paper) 36px 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--ribbon-h) + var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-d);
  background: var(--char);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brass-2); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }
.mono { font-family: var(--mono); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--brass); color: var(--ink); padding: 10px 14px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 32px; } }

/* ---------- Ribbon ---------- */
.ribbon {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  min-height: var(--ribbon-h);
  display: flex; align-items: center; justify-content: center;
  padding: 6px 16px;
  background: var(--brass);
  color: #160f07;
  font-size: 12.5px; font-weight: 600; letter-spacing: .01em; line-height: 1.35;
  text-align: center;
}
.ribbon p { margin: 0; }
.ribbon a { color: #160f07; text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1.5px; }
.ribbon a:hover { text-decoration-thickness: 2.5px; }
.ribbon a:focus-visible { outline-color: #160f07; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; left: 0; right: 0; top: var(--ribbon-h); z-index: 50;
  height: var(--header-h);
  background: var(--ink);
  border-bottom: 1px solid var(--line-d);
  transition: background .3s;
}
.site-header.scrolled { background: rgba(15, 14, 13, .96); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--brass-2); }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: .95; }
.brand-name { font-family: var(--display); font-size: 25px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-d); }
.brand-sub { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--brass); margin-top: 4px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav a { display: block; padding: 8px 14px; text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-d); transition: color .2s; }
.nav a:hover { color: var(--brass-2); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-d); border-radius: 3px; background: transparent; cursor: pointer; padding: 0; position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text-d); transition: transform .25s var(--ease), opacity .2s; }
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; left: 0; right: 0; top: calc(var(--ribbon-h) + var(--header-h));
    background: rgba(15, 14, 13, .99); border-bottom: 1px solid var(--line-d);
    padding: 8px 16px 20px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .25s var(--ease), visibility .2s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { font-family: var(--display); font-size: 30px; font-weight: 400; letter-spacing: .04em; color: var(--text-d); padding: 12px 4px; border-bottom: 1px solid var(--line-d); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px;
  border-radius: 3px; border: 1px solid transparent;
  font-weight: 700; font-size: 13.5px; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 12.5px; }
.btn-brass { background: var(--brass); color: #170f06; }
.btn-brass:hover { background: var(--brass-2); }
.btn-ghost { background: transparent; border-color: rgba(233, 225, 211, .3); color: var(--text-d); }
.btn-ghost:hover { border-color: var(--brass); color: var(--brass-2); }
.btn[disabled] { opacity: .4; cursor: not-allowed; transform: none; }

/* ---------- Hero: the counter ---------- */
.counter {
  position: relative; overflow: hidden;
  padding: calc(var(--ribbon-h) + var(--header-h)) 0 0 var(--pole-w);
  background:
    radial-gradient(70% 60% at 85% 0%, rgba(201, 151, 79, .13), transparent 70%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.022) 0 1px, transparent 1px 44px),
    var(--ink);
}
.pole {
  position: absolute; left: 0; bottom: 0; top: calc(var(--ribbon-h) + var(--header-h));
  width: var(--pole-w);
  display: flex;
  border-right: 1px solid var(--line-d);
  background: var(--char);
}
.pole-stripes {
  width: 26px; flex: none;
  background: var(--pole);
  background-size: 68px 68px;
  animation: poleTurn 5s linear infinite;
  box-shadow: inset -6px 0 10px rgba(0,0,0,.35), inset 4px 0 6px rgba(255,255,255,.18);
}
@keyframes poleTurn { from { background-position: 0 0; } to { background-position: 0 -68px; } }
.pole-name {
  flex: 1; margin: 0; display: flex; align-items: center; justify-content: center;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--display); font-size: 40px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(236, 229, 216, .22); white-space: nowrap;
}
.pole-name span { color: var(--brass); margin-bottom: .4em; }

.counter-inner { padding-top: 56px; padding-bottom: 64px; }
.counter-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); align-items: end; gap: 12px 48px; }
.tagline { grid-column: 1 / -1; margin: 0 0 6px; font-size: 12.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.tagline span[aria-hidden] { color: var(--muted-d); margin: 0 .5em; }
.counter h1 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(60px, 8.4vw, 132px); line-height: .9; letter-spacing: .005em;
  color: var(--paper);
}
.counter-lede { margin: 0 0 8px; font-size: 17px; color: var(--muted-d); border-left: 2px solid var(--copper); padding-left: 18px; }

.chairs { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.chair-btn {
  width: 100%; height: 100%; text-align: left; cursor: pointer;
  display: flex; flex-direction: column; gap: 16px;
  padding: 18px 22px 0; border: 0; border-radius: 4px;
  background: var(--card); color: var(--text-l); text-decoration: none;
  box-shadow: 0 22px 44px -26px rgba(0,0,0,.9);
  overflow: hidden; position: relative;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.chair-btn:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -24px rgba(0,0,0,.95); }
.chair-btn:focus-visible { outline: 3px solid var(--brass-2); outline-offset: 4px; }
.chair-top { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 1px dashed var(--line-l); }
.chair-no, .chair-yrs { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-l); }
.chair-yrs { color: var(--copper); }
.chair-id { display: flex; align-items: center; gap: 16px; }
.chair-id .avatar { width: 72px; height: 72px; }
.chair-txt { display: flex; flex-direction: column; min-width: 0; }
.chair-name { font-family: var(--display); font-size: 50px; line-height: .95; text-transform: uppercase; letter-spacing: .02em; }
.chair-spec { font-size: 14.5px; color: var(--muted-l); line-height: 1.35; margin-top: 4px; }
.chair-next { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; background: var(--paper); border-left: 3px solid var(--brass); font-size: 15px; }
.chair-next .mono { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-l); }
.chair-next strong { font-weight: 700; }
.chair-cta {
  margin: auto -22px 0; padding: 15px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--char); color: var(--brass-2);
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  position: relative;
}
.chair-cta::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--pole); background-size: 34px 34px; }
.chair-cta svg { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.chair-btn:hover .chair-cta svg { transform: translateX(4px); }

.counter-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; margin-top: 22px; }
.any-chair {
  display: inline-flex; align-items: center; gap: 12px; cursor: pointer;
  padding: 14px 18px; border-radius: 3px;
  background: transparent; border: 1px dashed rgba(201, 151, 79, .6); color: var(--text-d);
  font-size: 15px; text-align: left; transition: background .2s, border-color .2s;
}
.any-chair strong { color: var(--brass-2); font-weight: 700; }
.any-chair svg { width: 18px; height: 18px; flex: none; color: var(--brass-2); }
.any-chair:hover { background: rgba(201,151,79,.1); border-style: solid; }
.any-dots { display: inline-flex; gap: 3px; flex: none; }
.any-dots i { width: 7px; height: 12px; border-radius: 1px; background: var(--brass); }
.any-dots i:nth-child(2) { background: var(--brass-2); }
.any-dots i:nth-child(3) { opacity: .55; }
.text-link { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-d); text-decoration: underline; text-decoration-color: var(--brass-3); text-underline-offset: 5px; }
.text-link:hover { color: var(--brass-2); }

@media (max-width: 1100px) {
  .chair-name { font-size: 42px; }
  .chair-id .avatar { width: 60px; height: 60px; }
}
@media (max-width: 860px) {
  .counter { padding-left: 0; }
  .pole { position: relative; top: auto; width: auto; height: 46px; border-right: 0; border-bottom: 1px solid var(--line-d); }
  .pole-stripes { position: absolute; left: 0; right: 0; bottom: 0; width: auto; height: 8px; background-size: 68px 68px; animation-name: poleSlide; box-shadow: none; }
  @keyframes poleSlide { from { background-position: 0 0; } to { background-position: 68px 0; } }
  .pole-name { writing-mode: horizontal-tb; transform: none; font-size: 22px; letter-spacing: .2em; padding-bottom: 8px; }
  .pole-name span { margin: 0 .4em 0 0; }
  .counter-inner { padding-top: 34px; padding-bottom: 48px; }
  .counter-head { grid-template-columns: 1fr; }
  .chairs { grid-template-columns: 1fr; gap: 12px; margin-top: 30px; }
  .chair-btn { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 14px; padding: 14px 16px 0; }
  .chair-top { grid-column: 1 / -1; padding-bottom: 10px; }
  .chair-id { grid-column: 1 / -1; gap: 14px; }
  .chair-next { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 8px 10px; font-size: 14px; }
  .chair-cta { grid-column: 1 / -1; margin: 0 -16px; padding: 13px 16px; }
}
@media (max-width: 480px) {
  .counter h1 { font-size: 58px; }
  .counter-lede { font-size: 16px; }
  .tagline { font-size: 11px; letter-spacing: .08em; }
  .tagline span[aria-hidden] { margin: 0 .25em; }
  .tg-est { display: none; }
  .chair-name { font-size: 36px; }
  .chair-id .avatar { width: 54px; height: 54px; }
  .chair-spec { font-size: 13.5px; }
  .any-chair { width: 100%; font-size: 14.5px; }
}

/* ---------- Sections ---------- */
.section { padding: 104px 0; position: relative; }
.section.paper { background: var(--paper); color: var(--text-l); }
.section.dark { background: var(--char); color: var(--text-d); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 48px; flex-wrap: wrap; }
.section-head.split .section-intro { max-width: 420px; margin: 0; }
.kicker { display: flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--copper); margin-bottom: 12px; }
.kicker::after { content: ""; flex: 0 0 48px; height: 1px; background: currentColor; opacity: .6; }
.dark .kicker, .on-dark .kicker { color: var(--brass); }
h2 { font-family: var(--display); font-size: clamp(46px, 5.6vw, 80px); line-height: .95; text-transform: uppercase; letter-spacing: .01em; margin-bottom: 16px; text-wrap: balance; }
.section-intro { font-size: 17px; color: var(--muted-l); max-width: 560px; }
.dark .section-intro { color: var(--muted-d); }
@media (max-width: 700px) { .section { padding: 76px 0; } .section-head { margin-bottom: 32px; } }

/* ---------- Services: ticket stubs ---------- */
#services { background: var(--paper-2); }
.tickets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
.ticket {
  --stub: 132px;
  display: grid; grid-template-columns: minmax(0, 1fr) var(--stub);
  background: var(--card);
  -webkit-mask:
    radial-gradient(circle 11px at calc(100% - var(--stub)) 0, #0000 97%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 11px at calc(100% - var(--stub)) 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
          mask:
    radial-gradient(circle 11px at calc(100% - var(--stub)) 0, #0000 97%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 11px at calc(100% - var(--stub)) 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
}
.tk-main { padding: 20px 22px 18px; min-width: 0; border: 1px solid var(--line-l); border-right: 0; }
.tk-no { margin: 0 0 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-l); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tk-tag { font-family: var(--sans); font-size: 10.5px; font-weight: 700; letter-spacing: .12em; background: var(--copper); color: #fff7ec; padding: 2px 8px; }
.tk-name { font-family: var(--display); font-size: 32px; line-height: 1; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 8px; }
.tk-desc { margin: 0 0 12px; color: var(--muted-l); font-size: 15px; line-height: 1.5; }
.tk-dur { margin: 0; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-l); }
.tk-dur svg { width: 14px; height: 14px; color: var(--copper); }
.tk-stub {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 10px; background: var(--char); color: var(--brass-2);
  border-left: 2px dashed var(--paper-2);
}
.tk-price { margin: 0; font-family: var(--display); font-size: 56px; line-height: 1; letter-spacing: .01em; }
.tk-price sup { font-size: .42em; vertical-align: top; position: relative; top: .25em; margin-right: 2px; color: var(--brass); }
.tk-book {
  cursor: pointer; padding: 7px 16px; border-radius: 2px;
  background: transparent; border: 1px solid var(--brass); color: var(--brass-2);
  font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  transition: background .2s, color .2s;
}
.tk-book:hover { background: var(--brass); color: var(--ink); }
.menu-note { margin: 30px 0 0; font-style: italic; font-weight: 500; font-size: 17px; color: var(--muted-l); }
@media (max-width: 860px) { .tickets { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .ticket { --stub: 100px; }
  .tk-main { padding: 16px 16px 14px; }
  .tk-name { font-size: 27px; }
  .tk-desc { font-size: 14px; }
  .tk-price { font-size: 44px; }
  .tk-book { padding: 7px 12px; }
}

/* ---------- Booking ---------- */
.booking { border-top: 8px solid transparent; border-image: var(--pole) 1; }
.bk { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.bk-main { background: var(--char-2); border: 1px solid var(--line-d); border-radius: 4px; padding: 28px; min-width: 0; }
.bk-steps { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.bk-steps button {
  width: 100%; display: flex; align-items: center; gap: 10px;
  background: transparent; border: 1px solid var(--line-d); border-radius: 3px;
  padding: 10px 12px; text-align: left; color: var(--muted-d); cursor: pointer;
  font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.bk-steps button:disabled { cursor: default; }
.bk-steps .n { font-family: var(--mono); font-size: 12px; color: inherit; flex: none; }
.bk-steps .n::before { content: "0"; }
.bk-steps li.done button { border-color: var(--brass-3); color: var(--text-d); }
.bk-steps li.done .n { color: var(--brass); }
.bk-steps li.current button { background: var(--brass); border-color: var(--brass); color: #170f06; }

.bk-panel h3 { font-family: var(--display); font-size: 38px; line-height: 1; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 18px; outline: none; }
.panel-sub { color: var(--muted-d); margin: -8px 0 18px; font-size: 15px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.bk-panel:not([hidden]) { animation: panelIn .35s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice label {
  display: flex; gap: 14px; align-items: flex-start; height: 100%;
  padding: 15px 16px; border-radius: 4px; cursor: pointer;
  background: var(--char-3); border: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.choice label:hover { border-color: rgba(201,151,79,.45); }
.choice input:focus-visible + label { outline: 2px solid var(--brass-2); outline-offset: 2px; }
.choice input:checked + label { border-color: var(--brass); background: rgba(201,151,79,.12); }
.c-body { flex: 1; min-width: 0; }
.c-title { display: flex; justify-content: space-between; gap: 10px; font-weight: 700; font-size: 16px; color: var(--text-d); }
.c-price { font-family: var(--mono); color: var(--brass-2); font-weight: 600; }
.c-sub { display: block; font-size: 13.5px; color: var(--muted-d); margin-top: 3px; line-height: 1.45; }
.c-check { width: 18px; height: 18px; flex: none; border-radius: 2px; border: 1.5px solid rgba(233,225,211,.3); margin-top: 3px; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.choice input:checked + label .c-check { background: var(--brass); border-color: var(--brass); }
.choice input:checked + label .c-check::after { content: ""; width: 8px; height: 5px; border: 2px solid #170f06; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.avatar { width: 48px; height: 48px; flex: none; }

.date-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.date-grid .choice label { flex-direction: column; align-items: center; gap: 0; padding: 10px 2px; text-align: center; }
.d-dow { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-d); }
.d-num { font-family: var(--display); font-size: 30px; line-height: 1.1; color: var(--text-d); }
.d-mon { font-size: 11px; color: var(--muted-d); }
.d-flag { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brass); margin-top: 2px; min-height: 14px; }
.choice input:disabled + label { opacity: .35; cursor: not-allowed; background: transparent; border: 1px dashed rgba(233,225,211,.2); }
.choice input:disabled + label:hover { border-color: rgba(233,225,211,.2); }
.choice input:disabled + label .d-flag { color: var(--muted-d); }

.t-group + .t-group { margin-top: 18px; }
.t-group-title { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-d); margin: 0 0 10px; }
.time-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; }
.time-grid .choice label { justify-content: center; padding: 11px 6px; font-family: var(--mono); font-weight: 600; font-size: 14px; }
.time-grid .choice input:disabled + label { text-decoration: line-through; text-decoration-color: rgba(233,225,211,.4); }
.t-empty { padding: 22px; border-radius: 4px; border: 1px dashed rgba(233,225,211,.2); color: var(--muted-d); }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; color: var(--text-d); }
.opt { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--muted-d); }
.field input, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 3px;
  background: var(--char); border: 1px solid rgba(233,225,211,.2); color: var(--text-d);
  font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 88px; }
.field input::placeholder, .field textarea::placeholder { color: #6d655a; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(201,151,79,.25); }
.field input[aria-invalid="true"] { border-color: #d0735a; }
.hint { font-size: 12.5px; color: var(--muted-d); margin: 6px 0 0; }
.err { font-size: 13px; color: #f0957c; margin: 4px 0 0; min-height: 1.3em; }

.bk-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px dashed var(--line-d); }
.bk-nav .btn { min-width: 120px; }
.bk-nav[hidden] { display: none; }

.bk-done { text-align: center; padding: 8px 0; }
.done-stamp {
  display: inline-block; margin: 0 0 18px; padding: 6px 16px;
  border: 2px solid var(--brass); color: var(--brass-2);
  font-size: 13px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  transform: rotate(-4deg);
}
.bk-done h3 { font-size: 52px; }
.done-code { color: var(--muted-d); margin-bottom: 20px; }
.done-code strong { display: inline-block; margin-left: 6px; font-family: var(--mono); font-size: 24px; font-weight: 600; letter-spacing: .14em; color: var(--brass-2); background: var(--char); border: 1px dashed var(--brass-3); padding: 2px 14px; vertical-align: middle; }
.done-list { max-width: 420px; margin: 0 auto 20px; text-align: left; display: grid; gap: 0; }
.done-list div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line-d); }
.done-list dt { color: var(--muted-d); }
.done-list dd { margin: 0; font-weight: 600; text-align: right; }
.demo-note { max-width: 460px; margin: 0 auto 22px; font-size: 14px; color: var(--text-d); background: rgba(201,151,79,.1); border: 1px solid rgba(201,151,79,.35); padding: 12px 16px; border-radius: 3px; }
.done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* summary = a shop receipt */
.bk-summary {
  position: sticky; top: calc(var(--ribbon-h) + var(--header-h) + 20px);
  background: var(--paper); color: var(--text-l);
  padding: 24px 24px 38px;
  --z: 9px;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--z)) 100%;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--z)) 100%;
}
.sum-kicker { font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; text-align: center; color: var(--muted-l); padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px dashed rgba(22,21,20,.3); }
.sum-list { margin: 0; }
.sum-list div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dotted var(--line-l); font-size: 14px; }
.sum-list dt { color: var(--muted-l); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; padding-top: 2px; }
.sum-list dd { margin: 0; font-family: var(--mono); font-weight: 500; text-align: right; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 26px; padding-top: 14px; border-top: 2px solid var(--text-l); }
.sum-total span { font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; }
.sum-total strong { font-family: var(--display); font-size: 46px; font-weight: 400; line-height: 1; color: var(--copper); }
.sum-fine { margin: 12px 0 0; font-size: 12.5px; color: var(--muted-l); }

@media (max-width: 980px) {
  .bk { grid-template-columns: 1fr; }
  .bk-summary { position: static; order: -1; padding: 16px 18px 26px; }
  .sum-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .sum-list div { padding: 8px 0; font-size: 13.5px; }
  .sum-total { margin-top: 10px; padding-top: 8px; }
  .sum-total strong { font-size: 34px; }
  .sum-fine { display: none; }
}
@media (max-width: 600px) {
  .bk-main { padding: 18px 14px; }
  .bk-steps { gap: 4px; margin-bottom: 22px; }
  .bk-steps button { flex-direction: column; align-items: flex-start; gap: 2px; padding: 8px 6px; font-size: 10px; letter-spacing: .04em; }
  .bk-panel h3 { font-size: 32px; }
  .choice-grid { grid-template-columns: 1fr; gap: 8px; }
  .date-grid { gap: 4px; }
  .date-grid .choice label { padding: 8px 0; }
  .d-num { font-size: 24px; }
  .d-dow, .d-mon { font-size: 9.5px; letter-spacing: .02em; }
  .d-flag { font-size: 8.5px; letter-spacing: 0; }
  .time-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fields { grid-template-columns: 1fr; }
  .bk-nav .btn { flex: 1; min-width: 0; }
  .sum-list div { flex-direction: column; gap: 0; }
  .sum-list dd { text-align: left; }
  .bk-done h3 { font-size: 40px; }
  .done-code strong { display: block; margin: 8px auto 0; width: fit-content; }
}

/* ---------- About + house rules ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.about-copy p { color: var(--muted-l); font-size: 17px; max-width: 520px; }
.rules {
  background: var(--char); color: var(--text-d);
  padding: 30px 30px 18px;
  box-shadow: inset 0 0 0 8px var(--char), inset 0 0 0 9px var(--brass-3), 0 30px 60px -36px rgba(40, 25, 10, .8);
}
.rules-head { margin: 0 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); text-align: center; }
.rules-list { list-style: none; margin: 0; padding: 0; }
.rules-list li { display: grid; grid-template-columns: 58px 1fr; gap: 14px; align-items: center; padding: 16px 0; border-top: 1px dashed var(--line-d); }
.rules-list li:first-child { border-top: 0; }
.r-n { font-family: var(--display); font-size: 42px; line-height: 1; color: var(--brass); }
.rules-list strong { display: block; font-family: var(--display); font-weight: 400; font-size: 25px; line-height: 1.05; letter-spacing: .03em; text-transform: uppercase; }
.rules-list span:not(.r-n) { color: var(--muted-d); font-size: 15px; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 480px) {
  .rules { padding: 24px 20px 10px; }
  .rules-list li { grid-template-columns: 44px 1fr; gap: 10px; }
  .r-n { font-size: 34px; }
}

/* ---------- Gallery: filmstrip ---------- */
#gallery { background: var(--ink); }
.film {
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin; scrollbar-color: var(--brass-3) transparent;
  padding-bottom: 6px;
}
.film:focus-visible { outline-offset: 4px; }
.film-track {
  list-style: none; margin: 0; padding: 34px 16px;
  display: flex; gap: 14px; width: max-content;
  background-color: #080807;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 10px, rgba(243,238,229,.2) 10px 24px, transparent 24px 34px),
    repeating-linear-gradient(90deg, transparent 0 10px, rgba(243,238,229,.2) 10px 24px, transparent 24px 34px);
  background-size: 100% 10px, 100% 10px;
  background-position: 0 12px, 0 calc(100% - 12px);
  background-repeat: no-repeat;
}
.frame { flex: none; scroll-snap-align: start; }
.frame figure { margin: 0; }
.frame svg { height: 300px; width: 400px; border: 1px solid rgba(243,238,229,.12); filter: sepia(.12) contrast(1.02); transition: filter .4s; }
.frame.f-tall svg { width: 250px; }
.frame:hover svg { filter: none; }
.frame figcaption { display: flex; justify-content: space-between; gap: 10px; padding: 10px 2px 0; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--text-d); }
.frame figcaption small { font-size: 11px; color: var(--brass); }
.film-hint { margin: 14px 0 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-d); text-align: right; }
@media (max-width: 600px) {
  .film-track { padding: 30px 12px; gap: 10px; }
  .frame svg { height: 220px; width: 290px; }
  .frame.f-tall svg { width: 180px; }
}

/* ---------- Reviews: pinned notes ---------- */
.board {
  background-color: var(--paper-2); color: var(--text-l);
  background-image: radial-gradient(rgba(90, 60, 30, .12) 1px, transparent 1.4px);
  background-size: 14px 14px;
}
.sample-flag { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; font-weight: 600; color: var(--copper); background: rgba(251,248,242,.85); border: 1px solid rgba(166,88,47,.35); padding: 8px 14px; border-radius: 3px; }
.sample-flag svg { width: 16px; height: 16px; flex: none; }
.notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-top: 10px; }
.note {
  margin: 0; padding: 38px 26px 22px; position: relative;
  background: #fdf9ef; display: flex; flex-direction: column;
  box-shadow: 0 18px 26px -18px rgba(40, 25, 10, .55), 0 1px 0 rgba(0,0,0,.05);
  transform: rotate(-1.6deg);
}
.note:nth-child(2) { background: #f5e6c8; transform: rotate(1.2deg) translateY(14px); }
.note:nth-child(3) { background: #fbf8f2; transform: rotate(-.7deg); }
.note::before {
  content: ""; position: absolute; top: 12px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f3d39b, var(--brass) 45%, var(--brass-3));
  box-shadow: 0 3px 4px rgba(0,0,0,.35);
}
.stars { color: var(--copper); letter-spacing: .2em; font-size: 14px; margin: 0 0 12px; }
.note blockquote { margin: 0 0 20px; flex: 1; }
.note blockquote p { margin: 0; font-size: 18.5px; font-weight: 500; line-height: 1.5; color: var(--text-l); }
.note figcaption { display: flex; flex-direction: column; padding-top: 14px; border-top: 1px dashed rgba(22,21,20,.25); }
.r-name { font-weight: 700; font-size: 14px; }
.r-meta { font-family: var(--mono); font-size: 12px; color: var(--muted-l); }
@media (max-width: 900px) {
  .notes { grid-template-columns: 1fr; gap: 22px; max-width: 560px; }
  .note:nth-child(2) { transform: rotate(.8deg); }
}

/* ---------- Visit ---------- */
.visit-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.open-status { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding: 7px 14px; border-radius: 3px; border: 1px solid var(--line-d); margin-bottom: 20px; }
.open-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brass); }
.open-status.is-open .dot { background: #57b06f; box-shadow: 0 0 0 4px rgba(87,176,111,.2); }
.open-status.is-closed .dot { background: #8a8175; box-shadow: 0 0 0 4px rgba(138,129,117,.2); }
.addr { font-style: normal; font-family: var(--display); font-size: 34px; line-height: 1.1; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 18px; }
.contact { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 6px; }
.contact a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-d); font-weight: 500; padding: 4px 0; }
.contact a:hover { color: var(--brass-2); }
.contact svg { width: 18px; height: 18px; color: var(--brass); }
.hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours th, .hours td { padding: 11px 0; border-bottom: 1px dashed var(--line-d); text-align: left; font-weight: 500; }
.hours td { text-align: right; font-family: var(--mono); font-size: 14px; color: var(--muted-d); }
.hours th { color: var(--text-d); }
.hours tr.closed td { color: #776f64; }
.hours tr.today th, .hours tr.today td { color: var(--brass-2); font-weight: 700; }
.hours tr.today th::after { content: "Today"; margin-left: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; padding: 2px 7px; background: rgba(201,151,79,.16); vertical-align: 2px; }
.map-card { border-radius: 4px; overflow: hidden; border: 1px solid var(--line-d); background: var(--char-2); }
.map { width: 100%; height: auto; }
.map-note { margin: 0; padding: 14px 18px; font-size: 13.5px; color: var(--muted-d); border-top: 1px solid var(--line-d); }
.map-ping { transform-origin: center; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
@media (max-width: 900px) { .visit-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-d); padding: 56px 0 44px; border-top: 8px solid transparent; border-image: var(--pole) 1; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px 40px; align-items: start; }
.f-brand { font-family: var(--display); font-size: 36px; line-height: 1; color: var(--text-d); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 6px; }
.f-brand span { color: var(--brass); }
.f-tag { margin: 0; font-family: var(--mono); font-size: 12.5px; }
.f-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.f-links a { text-decoration: none; color: var(--text-d); }
.f-links a:hover { color: var(--brass-2); }
.f-meta { text-align: right; }
.f-meta p { margin: 0 0 4px; }
.f-meta a { color: var(--brass-2); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr; } .f-meta { text-align: left; } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .note.reveal.in { transform: rotate(-1.6deg); }
.js .note.reveal.in:nth-child(2) { transform: rotate(1.2deg) translateY(14px); }
.js .note.reveal.in:nth-child(3) { transform: rotate(-.7deg); }
@media (max-width: 900px) { .js .note.reveal.in:nth-child(2) { transform: rotate(.8deg); } }

@media (max-width: 600px) {
  :root { --header-h: 60px; }
  .ribbon { font-size: 11.5px; padding: 5px 12px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-name { font-size: 22px; }
  .brand-sub { font-size: 9.5px; letter-spacing: .2em; }
  .header-actions .btn-sm { padding: 0 12px; min-height: 38px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; }
  .pole-stripes, .map-ping { animation: none; }
}
