/* Xyncema Sharp — dark and tactile. Warm near-black, brass accents, heavy condensed headings, and a
   chair-by-time board that reads like the timetable on a shop wall. */

[data-theme="barber"] body { background: var(--bg); color: var(--text); font-family: var(--font-body); }
.sh-wrap { width: min(100% - 2.5rem, 76rem); margin-inline: auto; }
.sh-muted { color: var(--muted); }
.sh-h1, .sh-h2, .sh-h3 { font-family: var(--font-heading); font-weight: 400; line-height: 0.98; margin: 0; text-transform: uppercase; letter-spacing: 0.01em; }
.sh-h1 { font-size: clamp(3rem, 1.6rem + 6vw, 6.4rem); line-height: 0.9; }
.sh-h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); }
.sh-h3 { font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.7rem); }
.sh-h4 { font: 900 1rem/1.3 var(--font-body); margin: 0; }
.sh-eyebrow { font: 900 0.75rem/1.3 var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--primary-ink); margin: 0 0 1rem; }
.sh-lead { font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.15rem); line-height: 1.65; color: var(--muted); }

/* ---------- Header ---------- */
.sh-notice { background: var(--surface); border-bottom: 1px solid var(--border); font-size: 0.8125rem; line-height: 1.45; padding: 0.55rem 0; color: var(--muted); }
.sh-notice p { margin: 0; }
.sh-header { position: sticky; top: 0; z-index: 30; background: rgba(20, 18, 16, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.sh-header__row { display: flex; align-items: center; gap: 1.25rem; min-height: 4.25rem; }
.sh-logo { display: flex; align-items: baseline; gap: 0.5rem; text-decoration: none; color: var(--text); margin-right: auto; }
.sh-logo b { font-family: var(--font-heading); font-weight: 400; font-size: 1.9rem; line-height: 1; text-transform: uppercase; letter-spacing: 0.03em; }
.sh-logo small { font: 700 0.6875rem/1 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--primary-ink); }
.sh-nav { display: flex; gap: 1.4rem; }
.sh-nav a { color: var(--text); text-decoration: none; font: 700 0.875rem/1 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; padding: 0.4rem 0; border-bottom: 2px solid transparent; }
.sh-nav a:hover, .sh-nav a[aria-current="page"] { border-bottom-color: var(--primary); }
.sh-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: var(--radius); width: 2.75rem; height: 2.75rem; padding: 0.6rem; color: var(--text); cursor: pointer; }
.sh-toggle svg { width: 100%; height: 100%; }
.sh-mobile { display: none; flex-direction: column; padding-bottom: 1rem; }
.sh-mobile a { padding: 0.85rem 0; border-top: 1px solid var(--border); color: var(--text); text-decoration: none; font-weight: 700; }
.sh-mobile[data-open] { display: flex; }
@media (max-width: 900px) { .sh-nav, .sh-header .sh-btn { display: none; } .sh-toggle { display: block; } }

/* ---------- Buttons ---------- */
.sh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 2.9rem; padding: 0 1.3rem; border-radius: var(--radius-btn); border: 1px solid var(--primary); background: var(--primary); color: var(--on-primary); font: 900 0.875rem/1 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.sh-btn:hover { background: var(--primary-ink); border-color: var(--primary-ink); }
.sh-btn--line { background: transparent; color: var(--text); border-color: var(--border); }
.sh-btn--line:hover { background: transparent; border-color: var(--text); }
.sh-btn svg { width: 1.05rem; height: 1.05rem; }
.sh-link { color: var(--primary-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Sections ---------- */
.sh-section { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); border-top: 1px solid var(--border); }
.sh-section--light { background: var(--surface-2); color: var(--on-surface-2); border-top: 0; }
.sh-section--light .sh-muted, .sh-section--light .sh-lead { color: #4E463C; }
.sh-section--light .sh-eyebrow { color: var(--primary-on-dark); }
.sh-head { display: grid; gap: 0.85rem; margin-bottom: 2.25rem; max-width: 46rem; }

/* ---------- Hero ---------- */
/* Photo and copy share one grid cell, so the hero grows with its text instead of clipping it on short screens. */
.sh-hero { position: relative; overflow: hidden; display: grid; }
.sh-hero__media, .sh-hero__inner { grid-area: 1 / 1; }
.sh-hero__media { position: relative; min-height: min(78vh, 720px); }
.sh-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.55; }
.sh-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,16,.25) 0%, rgba(20,18,16,.6) 55%, var(--bg) 100%); }
.sh-hero__inner { position: relative; z-index: 1; display: grid; align-content: end; padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 4rem); }
.sh-hero h1 { max-width: 12ch; }
.sh-hero__copy { max-width: 46ch; line-height: 1.7; margin: 1.2rem 0 1.6rem; color: var(--text); opacity: 0.88; }
.sh-hero__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

/* ---------- Queue ---------- */
.sh-queue { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.sh-board { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.1rem, 2.5vw, 1.5rem); display: grid; gap: 1rem; }
.sh-wait { display: grid; gap: 0.25rem; }
.sh-wait b { font-family: var(--font-heading); font-weight: 400; font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); line-height: 1; color: var(--primary-ink); }
.sh-wait span { color: var(--muted); }
.sh-qlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; counter-reset: q; }
.sh-qlist li { counter-increment: q; display: grid; grid-template-columns: 2rem minmax(0, 1fr) auto; gap: 0.75rem; align-items: center; padding: 0.6rem 0.75rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.9375rem; }
.sh-qlist li::before { content: counter(q); font-family: var(--font-heading); font-size: 1.2rem; color: var(--primary-ink); }
.sh-qlist small { color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .sh-queue { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Booking ---------- */
.sh-book { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); gap: clamp(1.25rem, 3vw, 2rem); align-items: start; }
.sh-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.1rem, 2.5vw, 1.5rem); }
.sh-bform { display: grid; gap: 1.6rem; }
.sh-set { border: 0; margin: 0; padding: 0; min-width: 0; min-inline-size: 0; }
.sh-set > legend { font: 900 0.75rem/1 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--primary-ink); padding: 0; margin-bottom: 0.8rem; }
.sh-svcs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
.sh-svcs label { display: grid; gap: 0.2rem; padding: 0.8rem 0.9rem; border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer; background: var(--bg); }
.sh-svcs label:hover { border-color: var(--muted); }
.sh-svcs input { position: absolute; opacity: 0; width: 0; height: 0; }
.sh-svcs b { font-family: var(--font-heading); font-weight: 400; font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.02em; }
.sh-svcs span { font-size: 0.8375rem; color: var(--muted); }
.sh-svcs label:has(input:checked) { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.sh-svcs label:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.sh-days { display: flex; gap: 0.4rem; overflow-x: auto; padding: 5px 5px calc(5px + 0.3rem); margin: -5px -5px calc(-5px); }
.sh-day { flex: none; display: grid; gap: 0.1rem; justify-items: center; min-width: 3.5rem; padding: 0.55rem 0.4rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); color: var(--text); cursor: pointer; font: inherit; }
.sh-day small { font-size: 0.6875rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.sh-day b { font-family: var(--font-heading); font-weight: 400; font-size: 1.35rem; line-height: 1; }
.sh-day[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.sh-day[aria-pressed="true"] small { color: var(--on-primary); }

/* The board: time rows × chair columns. Every free start is a real button. */
.sh-grid { display: grid; grid-template-columns: 3.4rem repeat(4, minmax(0, 1fr)); gap: 3px; }
.sh-grid__head { font: 900 0.6875rem/1.25 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; text-align: center; padding: 0.3rem 0.15rem 0.5rem; color: var(--muted); }
.sh-grid__head b { display: block; color: var(--text); font-size: 0.8125rem; }
.sh-grid__time { font: 700 0.8125rem/1 var(--font-body); font-variant-numeric: tabular-nums; color: var(--muted); display: grid; align-items: center; }
.sh-cell { min-height: 2.35rem; border-radius: 3px; border: 1px solid var(--border); background: var(--bg); color: var(--text); font: 700 0.75rem/1 var(--font-body); cursor: pointer; padding: 0 0.2rem; }
.sh-cell:hover:not(:disabled) { border-color: var(--primary); }
.sh-cell[aria-pressed="true"] { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.sh-cell--span { background: rgba(201, 163, 106, 0.35); border-color: var(--primary); cursor: default; }
.sh-cell:disabled { cursor: not-allowed; background: repeating-linear-gradient(45deg, #1D1A17 0 4px, #25211D 4px 8px); color: #6D655B; border-color: #2A2520; }
.sh-legend { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; font-size: 0.8125rem; color: var(--muted); margin-top: 0.7rem; }
.sh-legend i { display: inline-block; width: 0.85rem; height: 0.85rem; border-radius: 2px; vertical-align: -0.1rem; margin-right: 0.35rem; border: 1px solid var(--border); background: var(--bg); }
.sh-legend i.is-sel { background: var(--primary); border-color: var(--primary); }
.sh-legend i.is-off { background: repeating-linear-gradient(45deg, #1D1A17 0 3px, #2A2520 3px 6px); }
.sh-msg { font-size: 0.9125rem; line-height: 1.55; padding: 0.7rem 0.85rem; border-left: 3px solid var(--primary); background: var(--bg); margin: 0.75rem 0 0; }
.sh-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.sh-sum { position: sticky; top: 5.5rem; display: grid; gap: 1rem; }
.sh-sumlist { list-style: none; margin: 0; padding: 0; display: grid; }
.sh-sumlist li { display: grid; grid-template-columns: minmax(0, 5.5rem) minmax(0, 1fr); gap: 0.75rem; padding: 0.55rem 0; border-bottom: 1px solid var(--border); font-size: 0.9125rem; line-height: 1.5; }
.sh-sumlist .sh-k { color: var(--muted); font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.06em; }
.sh-total { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 1rem; }
.sh-total b { font: 900 0.75rem/1 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.sh-total span { font-family: var(--font-heading); font-size: 2rem; line-height: 1; color: var(--primary-ink); font-variant-numeric: tabular-nums; }
.sh-ok { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; align-items: start; font-weight: 900; margin: 0 0 1rem; }
.sh-ok svg { width: 1.25rem; height: 1.25rem; color: var(--primary-ink); }
@media (max-width: 980px) { .sh-book { grid-template-columns: minmax(0, 1fr); } .sh-sum { position: static; } }
@media (max-width: 560px) { .sh-svcs, .sh-fields { grid-template-columns: minmax(0, 1fr); } .sh-grid { grid-template-columns: 2.8rem repeat(4, minmax(0, 1fr)); gap: 2px; } .sh-grid__head { font-size: 0.625rem; } .sh-cell { font-size: 0.6875rem; min-height: 2.75rem; } }

/* ---------- Chairs + services ---------- */
.sh-chairs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.sh-chair { border-top: 3px solid var(--primary-on-dark); padding-top: 0.9rem; display: grid; gap: 0.35rem; }
.sh-chair p { margin: 0; line-height: 1.6; font-size: 0.9375rem; }
.sh-chair .sh-mult { font-weight: 900; }
.sh-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.sh-svc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); }
.sh-svc img { width: 100%; height: 100%; min-height: 12rem; object-fit: cover; }
.sh-svc__body { padding: 1.15rem; display: grid; gap: 0.55rem; align-content: start; }
.sh-svc h3 a { color: inherit; text-decoration: none; }
.sh-svc h3 a:hover { color: var(--primary-ink); }
.sh-svc p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 0.9375rem; }
.sh-price { font-family: var(--font-heading); font-size: 1.35rem; color: var(--primary-ink) !important; }
@media (max-width: 980px) { .sh-chairs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .sh-services { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .sh-chairs { grid-template-columns: minmax(0, 1fr); } .sh-svc { grid-template-columns: minmax(0, 1fr); } .sh-svc img { min-height: 0; aspect-ratio: 16 / 9; } }
.sh-does { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; }
.sh-does li { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; padding: 0.9rem 0; border-top: 1px solid var(--border); line-height: 1.6; }
.sh-does li::before { content: "×"; color: var(--primary-ink); font-weight: 900; }
@media (max-width: 760px) { .sh-does { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Collection / detail ---------- */
.sh-pagehead { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.sh-tablewrap { overflow-x: auto; min-width: 0; position: relative; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.sh-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; min-width: 34rem; }
.sh-table th, .sh-table td { text-align: left; padding: 0.8rem 0.95rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.sh-table thead th { font: 900 0.6875rem/1.35 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary-ink); }
.sh-table thead th small { display: block; color: var(--muted); letter-spacing: 0; text-transform: none; font-weight: 400; }
.sh-table tbody tr:last-child th, .sh-table tbody tr:last-child td { border-bottom: 0; }
.sh-table td { font-variant-numeric: tabular-nums; }
.sh-dhead { padding-block: clamp(2rem, 1.5rem + 2.5vw, 3.25rem); }
.sh-crumb { font-size: 0.875rem; color: var(--muted); margin: 0 0 1rem; }
.sh-crumb a { color: var(--muted); }
.sh-dgrid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: center; }
.sh-dgrid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.sh-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2rem; }
.sh-list { list-style: none; margin: 0.9rem 0 0; padding: 0; display: grid; }
.sh-list li { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; padding: 0.7rem 0; border-top: 1px solid var(--border); line-height: 1.6; }
.sh-list--yes li::before { content: "+"; color: var(--primary-ink); font-weight: 900; }
.sh-list--no li::before { content: "−"; color: var(--muted); font-weight: 900; }
.sh-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin-top: 1.1rem; }
.sh-thumb { padding: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: none; cursor: pointer; }
.sh-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.sh-thumb:hover { border-color: var(--primary); }
@media (max-width: 860px) { .sh-dgrid, .sh-cols { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .sh-thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- FAQ + footer ---------- */
.sh-faq details { border-top: 1px solid var(--border); }
.sh-faq details:last-of-type { border-bottom: 1px solid var(--border); }
.sh-faq summary { cursor: pointer; padding: 1.05rem 0; font: 900 1rem/1.4 var(--font-body); list-style: none; display: grid; grid-template-columns: 1fr auto; gap: 1rem; }
.sh-faq summary::-webkit-details-marker { display: none; }
.sh-faq summary::after { content: "+"; color: var(--primary-ink); font-size: 1.3rem; line-height: 1; }
.sh-faq details[open] summary::after { content: "–"; }
.sh-faq p { margin: 0 0 1.15rem; color: var(--muted); line-height: 1.7; max-width: 46rem; }
.sh-footer { background: var(--surface); border-top: 1px solid var(--border); padding-block: clamp(2.5rem, 2rem + 3vw, 3.75rem) 2rem; }
.sh-footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
.sh-footer p { color: var(--muted); line-height: 1.7; font-size: 0.9rem; margin: 0.8rem 0 0; }
.sh-footer h3 { font: 900 0.75rem/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary-ink); margin: 0 0 0.9rem; }
.sh-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.sh-footer a { color: var(--text); text-decoration: none; font-size: 0.9rem; }
.sh-footer a:hover { color: var(--primary-ink); }
.sh-footer__note { margin-top: 2.25rem; padding-top: 1.4rem; border-top: 1px solid var(--border); font-size: 0.8125rem; line-height: 1.7; color: var(--muted); }
@media (max-width: 820px) { .sh-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .sh-footer__grid { grid-template-columns: minmax(0, 1fr); } }
