/* Barber Munim — dark grey walls, cool blue shelf light, square edges. */

@font-face {
  font-family: "Big Shoulders";
  src: url("fonts/big-shoulders-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("fonts/public-sans-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* colour */
  --bg: #141619;          /* the wall, lights off */
  --surface: #1d2024;     /* one step up */
  --field: #262a2f;       /* the wall under light */
  --ink: #eef1f4;
  --muted: #a7b0ba;
  --accent: #3fb8ff;      /* LED shelf light */
  --accent-press: #1fa3f0;
  --on-accent: #04121c;
  --led-field: #0c2a3f;   /* a wall washed in blue light */
  --led-ink: #e6f3fc;
  --led-muted: #a9c6dc;
  --paper: #dde2e7;
  --paper-ink: #111316;
  --paper-accent: #075c90;
  --photo-tint: #2f5876;

  /* type: five sizes, no more */
  --display: "Big Shoulders", "Arial Narrow", sans-serif;
  --text: "Public Sans", system-ui, sans-serif;
  --t-display: clamp(4.25rem, 18vw, 6.5rem);
  --t-head: clamp(2.5rem, 1.2rem + 5vw, 5.5rem);
  --t-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --t-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --t-small: clamp(0.9375rem, 0.9rem + 0.15vw, 1rem);

  /* space */
  --margin: clamp(16px, 2.6vw, 40px);
  --gap: clamp(12px, 1.6vw, 24px);
  --section: clamp(96px, 12vw, 200px);

  /* motion */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  color-scheme: dark;
}

@media (min-width: 1000px) {
  :root { --t-display: min(8.8vw, 11rem); }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--t-body)/1.55 var(--text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, blockquote, ul, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 2px; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
html { scrollbar-color: var(--field) var(--bg); }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--margin); top: -100px; z-index: 10;
  background: var(--accent); color: var(--on-accent); padding: 12px 16px; font-weight: 600;
}
.skip:focus { top: 12px; }

.head {
  font-family: var(--display);
  font-weight: 800;
  font-size: var(--t-head);
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}
.lead { font-size: var(--t-lead); line-height: 1.35; max-width: 34ch; text-wrap: balance; }
p, blockquote p, dd { text-wrap: pretty; }
.small { font-size: var(--t-small); line-height: 1.45; color: var(--muted); }

/* photographs: one treatment for every picture — monochrome under blue light */
.tint, .frame, .ticket-photo, .gallery figure, .dropcap-wrap { background: var(--photo-tint); }
.frame img, .ticket-photo img, .gallery img, .dropcap {
  mix-blend-mode: luminosity;
  filter: contrast(1.08) brightness(0.95);
}

/* buttons: square, one fill */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  background: var(--accent); color: var(--on-accent);
  font: 600 var(--t-body)/1 var(--text);
  text-decoration: none; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 160ms ease;
}
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--accent-press); }
}
.btn-small { min-height: 44px; padding: 0 18px; font-size: var(--t-small); }
.btn-wide { width: 100%; }
.btn-dark { background: var(--paper-ink); color: var(--paper); }
@media (hover: hover) and (pointer: fine) {
  .btn-dark:hover { background: var(--paper-accent); }
}
.link { font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .link:hover, .bar nav a:hover { color: var(--accent); }
}

/* ---------- bar ---------- */
.bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px var(--margin);
}
.wordmark {
  font: 800 var(--t-lead)/1 var(--display);
  text-transform: uppercase; letter-spacing: 0.01em; text-decoration: none;
}
.bar nav, .bar-cta { display: none; }
.bar nav ul { display: flex; gap: clamp(20px, 2.6vw, 40px); }
.bar nav a { font-size: var(--t-small); font-weight: 600; text-decoration: none; transition: color 160ms ease; }
@media (min-width: 900px) {
  .bar { display: grid; grid-template-columns: 1fr auto auto; gap: clamp(24px, 3vw, 48px); padding-block: 24px; }
  .bar nav { display: block; }
  .bar-cta { display: inline-flex; }
}

/* ---------- hero ---------- */
.hero {
  min-height: calc(100svh - 76px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  padding: clamp(24px, 6vh, 72px) var(--margin) clamp(24px, 4vh, 48px);
}
.hero-line {
  font-family: var(--display);
  font-weight: 800;
  font-size: var(--t-display);
  line-height: 0.88;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  display: flex; flex-wrap: wrap; align-items: baseline;
  column-gap: 0.18em; row-gap: 0.1em;
  margin-block: auto;
}
.hero-line .w1 { flex-basis: 100%; }
.frame {
  display: block; flex-basis: 100%; order: 0;
  aspect-ratio: 3 / 2; overflow: hidden;
  margin-block: 0.08em 0.06em;
}
.frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%;
  animation: shutter-img 1100ms var(--ease-out) both;
}
.frame { animation: shutter 1100ms var(--ease-in-out) both; }
@keyframes shutter { from { clip-path: inset(0 38% 0 38%); } to { clip-path: inset(0 0 0 0); } }
@keyframes shutter-img { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-line .w2 { order: 1; }
.hero-line .w3 { order: 2; }

.hero-foot { display: grid; gap: 24px; }
.hero-lead { font-size: var(--t-lead); line-height: 1.35; max-width: 30ch; }
.hero-proof { font-size: var(--t-small); color: var(--muted); }
.hero-proof strong { color: var(--ink); }
.hero-foot .btn { justify-self: stretch; }
.hero-foot > * { animation: rise 600ms var(--ease-out) both; }
.hero-foot > :nth-child(2) { animation-delay: 70ms; }
.hero-foot > :nth-child(3) { animation-delay: 140ms; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (min-width: 1000px) {
  .hero-line { flex-wrap: nowrap; column-gap: 0.2em; }
  .hero-line .w1 { flex-basis: auto; }
  .frame {
    flex: 1 1 1.2em; min-width: 1.2em; order: 1;
    height: 0.74em; aspect-ratio: auto; margin: 0;
    align-self: baseline;
  }
  .hero-line .w2 { order: 0; }
  .hero-line .w3 { order: 2; }
}
@media (min-width: 1000px) {
  .hero-foot {
    grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end;
  }
  .hero-lead { grid-column: 1 / span 6; }
  .hero-proof { grid-column: 7 / span 3; }
  .hero-foot .btn { grid-column: 10 / span 3; justify-self: end; }
}

/* ---------- services ---------- */
.services {
  padding: var(--section) var(--margin) 0;
  display: grid; gap: 48px;
}
.price-block {
  display: inline-block;
  background: var(--accent); color: var(--on-accent);
  padding: 0.04em 0.14em 0;
  line-height: 0.92;
}
.services-head { display: grid; gap: 24px; align-content: start; }
.menu { display: grid; gap: 4px; }
.menu li {
  display: grid; grid-template-columns: 1fr auto; column-gap: 16px; row-gap: 4px;
  background: var(--surface); padding: 18px 20px;
}
.menu-name { font-weight: 600; }
.menu-note { grid-column: 1; grid-row: 2; font-size: var(--t-small); color: var(--muted); }
.menu-price { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (min-width: 900px) {
  .services { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
  .services-head { grid-column: 1 / span 6; position: sticky; top: 32px; }
  .menu { grid-column: 8 / span 5; }
}

/* ---------- picker ---------- */
.picker {
  margin-top: var(--section);
  padding: clamp(56px, 7vw, 112px) var(--margin);
  background: var(--surface);
  display: grid; gap: 40px;
}
.picker-intro { display: grid; gap: 20px; }
.picker-form { display: grid; gap: 28px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 12px; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px;
  background: var(--field); color: var(--ink); font-weight: 600;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms var(--ease-out);
}
.chip span em { font-style: normal; font-weight: 400; color: var(--muted); margin-left: 0.4em; }
.chip input:checked + span { background: var(--led-field); color: var(--led-ink); outline: 2px solid var(--accent); outline-offset: -2px; }
.chip input:checked + span em { color: var(--led-muted); }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }
.chip input:checked:focus-visible + span { outline-offset: 3px; }
.chip:active span { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .chip:hover input:not(:checked) + span { background: #31363c; }
}
.field { display: grid; gap: 8px; max-width: 360px; }
.field label { font-weight: 600; }
.opt { font-weight: 400; color: var(--muted); }
.field input {
  min-height: 48px; padding: 0 14px;
  font: inherit; color: var(--ink); caret-color: var(--accent);
  background: var(--bg); border: 2px solid #3d444c; border-radius: 0;
}
.field input:focus-visible { outline: none; border-color: var(--accent); }

.ticket { background: var(--bg); display: grid; }
.ticket-photo { aspect-ratio: 4 / 3; overflow: hidden; }
.ticket-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%;
  transition: opacity 220ms ease, filter 220ms ease;
}
.ticket-photo img.is-swapping { opacity: 0; filter: contrast(1.08) brightness(0.95) blur(4px); }
.ticket-body { padding: 24px 20px 28px; display: grid; gap: 20px; }
.ticket-title { font: 800 var(--t-lead)/1 var(--display); text-transform: uppercase; letter-spacing: 0.01em; }
.ticket-list { display: grid; gap: 10px; }
.ticket-list div { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; }
.ticket-list dt { color: var(--muted); }
.ticket-list dd { font-weight: 600; }
.ticket-price { display: grid; gap: 6px; }
.ticket-price-label { font-size: var(--t-small); color: var(--muted); }
#ticket-total {
  font: 800 var(--t-head)/0.95 var(--display); text-transform: uppercase;
  color: var(--ink); font-variant-numeric: tabular-nums;
  display: inline-block; transition: opacity 200ms ease, filter 200ms ease, transform 200ms var(--ease-out);
}
#ticket-total.is-changing { opacity: 0.4; filter: blur(2px); transform: translateY(4px); }

@media (max-width: 759px) {
  .picker { gap: 28px; }
  .ticket { grid-template-columns: 96px 1fr; grid-template-rows: auto 1fr; }
  .ticket-photo { grid-column: 1; grid-row: 1; aspect-ratio: 1; margin: 20px 0 0 20px; }
  .ticket-body { display: contents; }
  .ticket-title { display: none; }
  .ticket-price { grid-column: 2; grid-row: 1; align-self: center; padding: 20px 20px 0 16px; }
  .ticket-list, .ticket-body > .btn, .ticket-body > .small { grid-column: 1 / -1; margin-inline: 20px; }
  .ticket-list { margin-top: 20px; }
  .ticket-body > .btn { margin-top: 20px; width: auto; }
  .ticket-body > .small { margin-block: 12px 24px; }
}
@media (min-width: 760px) {
  .ticket { grid-template-columns: 1fr 1fr; }
  .ticket-photo { aspect-ratio: auto; min-height: 100%; }
}
@media (min-width: 1100px) {
  .picker { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: 56px; }
  .picker-intro { grid-column: 1 / -1; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; }
  .picker-intro .head { grid-column: 1 / span 6; }
  .picker-intro .lead { grid-column: 8 / span 5; }
  .picker-form { grid-column: 1 / span 5; align-content: start; }
  .ticket { grid-column: 7 / span 6; align-self: start; }
}

/* ---------- about ---------- */
.about {
  padding: var(--section) var(--margin) 0;
  display: grid; gap: 32px;
}
.about-text { display: grid; gap: 1.2em; }
.about-text .lead { max-width: 46ch; line-height: 1.4; }
.about-text .soft { color: var(--muted); }
.dropcap {
  float: left; width: 4.2em; height: 4.2em; object-fit: cover;
  margin: 0.25em 0.6em 0.2em 0;
  background: var(--photo-tint);
}
.about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; order: 3; }
.about-facts li:last-child { grid-column: 1 / -1; }
.about-facts li { display: grid; gap: 4px; font-size: var(--t-small); font-weight: 600; }
.about-facts .small { font-weight: 400; }
@media (min-width: 900px) {
  .about { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: 56px; }
  .about-title { grid-column: 1 / -1; }
  .about-facts { grid-column: 1 / span 2; grid-template-columns: 1fr; gap: 24px; order: 0; align-content: start; }
  .about-facts li:last-child { grid-column: auto; }
  .about-text { grid-column: 4 / span 9; }
  .dropcap { width: 4.1em; height: 4.1em; }
}

/* ---------- gallery ---------- */
.gallery { padding-top: var(--section); }
.gallery-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 0 var(--margin); margin-bottom: 32px;
}
.row {
  --h: 62svh;
  display: flex; gap: 8px;
  height: var(--h); min-height: 380px; max-height: 760px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; scroll-padding-inline: var(--margin);
  padding-inline: var(--margin);
  scrollbar-width: none; cursor: grab;
}
.row::-webkit-scrollbar { display: none; }
.row.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.row:focus-visible { outline-offset: -3px; }
.m { flex: 0 0 auto; height: 100%; scroll-snap-align: start; overflow: hidden; }
.m img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform 600ms var(--ease-out); }
.m-tall { width: 72vw; }
.m-pair { width: 64vw; display: grid; grid-template-rows: 1fr 1fr; gap: 8px; }
.m-pair figure { overflow: hidden; min-height: 0; }
.m-wide { width: 88vw; height: 70%; align-self: center; }
@media (hover: hover) and (pointer: fine) {
  .gallery figure:hover img { transform: scale(1.04); }
}
@media (min-width: 760px) {
  .row { --h: 68svh; gap: 12px; padding-left: 6vw; scroll-padding-inline: 6vw; }
  .m-pair { gap: 12px; }
  .m-tall { width: auto; aspect-ratio: 3 / 4; }
  .m-pair { width: auto; aspect-ratio: 2 / 3; }
  .m-wide { width: auto; height: 100%; aspect-ratio: 16 / 10; }
}

/* ---------- reviews ---------- */
.reviews {
  margin-top: var(--section);
  padding: clamp(80px, 10vw, 160px) var(--margin);
  background: var(--led-field); color: var(--led-ink);
  display: grid; gap: clamp(56px, 7vw, 112px);
}
.reviews .small { color: var(--led-muted); }
.quote-big { display: grid; gap: 24px; }
.quote-big p {
  font: 800 var(--t-display)/0.92 var(--display); text-transform: uppercase; letter-spacing: -0.01em;
  display: grid; gap: 0.18em;
}
.ql { display: flex; justify-content: space-between; gap: 0.3em; }
.phone span, .foot-mark span { display: block; }
@media (max-width: 759px) {
  .quote-big p { font-size: var(--t-head); }
}
@media (min-width: 760px) {
  .phone span, .foot-mark span { display: inline; }
}
.quote-pair { display: grid; gap: 40px; }
.reviews-real { font-size: var(--t-lead); }
.reviews .link { color: var(--led-ink); }
@media (hover: hover) and (pointer: fine) {
  .reviews .link:hover { color: var(--accent); }
}
.hero-proof a { color: var(--ink); }
.quote-pair blockquote p { font-size: var(--t-lead); line-height: 1.35; max-width: 32ch; }
.quote-pair figure { display: grid; gap: 12px; align-content: start; }
@media (min-width: 900px) {
  .quote-pair { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
  .quote-pair figure:first-child { grid-column: 1 / span 5; }
  .quote-pair figure:last-child { grid-column: 8 / span 5; }
}

/* ---------- hours ---------- */
.hours {
  padding: var(--section) var(--margin) 0;
  display: grid; gap: 40px;
}
.hours-text { display: grid; gap: 24px; align-content: start; }
.status { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.status::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: var(--muted);
}
.status.is-open::before { background: var(--accent); }
.hours-table { border-collapse: collapse; width: 100%; max-width: 520px; font-variant-numeric: tabular-nums; }
.hours-table th, .hours-table td { text-align: left; vertical-align: top; padding: 14px 0; border-bottom: 1px solid var(--field); }
.hours-table th { font-weight: 400; color: var(--muted); padding-right: 24px; }
.hours-table td { font-weight: 600; }
.hours-table tr.is-today th, .hours-table tr.is-today td { color: var(--ink); font-weight: 600; }
.addr { font-size: var(--t-lead); line-height: 1.35; }
.map { background: var(--surface); min-height: 360px; }
.map iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; filter: grayscale(0.4) contrast(1.05); }
@media (min-width: 900px) {
  .hours { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
  .hours-text { grid-column: 1 / span 5; }
  .map { grid-column: 7 / span 6; min-height: 560px; }
}

/* ---------- contact ---------- */
.contact {
  margin-top: var(--section);
  padding: clamp(56px, 7vw, 112px) var(--margin);
  background: var(--paper); color: var(--paper-ink);
  display: grid; gap: clamp(32px, 4vw, 56px);
}
.contact ::selection { background: var(--paper-ink); color: var(--paper); }
.contact :focus-visible { outline-color: var(--paper-accent); }
.contact-title { font-weight: 400; }
.phone {
  justify-self: start;
  font: 800 var(--t-display)/0.9 var(--display);
  letter-spacing: -0.01em; text-decoration: none; white-space: nowrap;
  font-variant-numeric: tabular-nums;
  transition: color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .phone:hover { color: var(--paper-accent); }
}
.contact-foot { display: grid; gap: 20px; font-weight: 600; }
@media (min-width: 760px) {
  .contact-foot { grid-template-columns: 1fr auto; align-items: center; }
}

/* ---------- footer ---------- */
.foot {
  padding: clamp(80px, 10vw, 160px) var(--margin) 24px;
  display: grid; gap: 48px;
}
.foot-top { display: grid; gap: 24px; justify-items: start; }
.foot-legal { max-width: 70ch; }
.foot-mark {
  font: 800 var(--t-display)/0.85 var(--display);
  text-transform: uppercase; letter-spacing: -0.01em; color: #30353b;
  white-space: nowrap;
}
@media (min-width: 900px) {
  .foot-top { grid-template-columns: 1fr auto; align-items: end; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .frame, .frame img, .hero-foot > * { animation: none; }
  .m img, .btn, .chip span, #ticket-total { transition: none; }
  #ticket-total.is-changing { transform: none; }
}

/* Section entrances: movement only, never hidden. Content stays fully visible
   at every moment, with or without script. */
.js [data-rise] {
  transform: translateY(20px);
  transition: transform 800ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js [data-rise].in { transform: none; }
.gallery .m img, .gallery .m-pair img { scale: 1.08; }
@media (prefers-reduced-motion: reduce) {
  .js [data-rise] { transform: none; transition: none; }
  .gallery .m img, .gallery .m-pair img { scale: 1; translate: none !important; }
}
