:root {
  --bg: #0a0a0a;
  --bg-2: #101010;
  --fg: #f1ede6;
  --fg-dim: rgba(241, 237, 230, .62);
  --fg-faint: rgba(241, 237, 230, .4);
  --hair: rgba(241, 237, 230, .12);
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter Tight", Inter, system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1360px;
  --radius: 6px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: 17px; line-height: 1.55; overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
/* a whisper of grain so the blacks read like film, not a flat fill */
body::after { content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; background: url("/assets/photo/noise.png") repeat; background-size: 160px; opacity: .035; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: .95; letter-spacing: -.015em; margin: 0; }
h1 em, h2 em { font-style: italic; color: var(--fg); }
::selection { background: var(--fg); color: var(--bg); }
:focus-visible { outline: 1.5px solid var(--fg); outline-offset: 3px; }

.label { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-dim); margin: 0; }
.label span { color: var(--fg-faint); margin: 0 .35em; }

/* buttons: quiet pills, sentence case, no shouting */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px; font-size: 15px; font-weight: 500; letter-spacing: .005em; white-space: nowrap; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.btn-solid { background: var(--fg); color: var(--bg); box-shadow: 0 1px 0 rgba(255,255,255,.3) inset; }
.btn-solid:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 10px 30px rgba(255,255,255,.08); }
.btn-ghost { border: 1px solid rgba(241, 237, 230, .28); color: var(--fg); background: rgba(10,10,10,.2); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--fg); background: rgba(241, 237, 230, .06); }
.btn-block { width: 100%; }
.btn-icon { width: 50px; padding: 0; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* nav: the badge alone, then one button */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 14px var(--gutter); transition: background .35s, border-color .35s, padding .35s; border-bottom: 1px solid transparent; }
.nav.is-solid { background: rgba(10, 10, 10, .72); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); border-bottom-color: var(--hair); padding-top: 10px; padding-bottom: 10px; }
.brand img { width: 72px; height: auto; filter: drop-shadow(0 6px 18px rgba(0,0,0,.6)); transition: width .35s var(--ease); }
.nav.is-solid .brand img { width: 56px; }
.nav-cta { min-height: 44px; padding: 0 22px; font-size: 14px; }

/* hero: one real photograph, lit by the shop, type sitting low and left */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: -6% 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; animation: settle 10s var(--ease) both; }
@keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(180deg, rgba(10,10,10,.5) 0%, rgba(10,10,10,0) 28%),
  linear-gradient(180deg, rgba(10,10,10,0) 38%, rgba(10,10,10,.55) 70%, rgba(10,10,10,.98) 100%),
  radial-gradient(120% 70% at 50% 100%, rgba(10,10,10,.5), transparent 70%); }
.hero-copy { position: relative; z-index: 2; width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(48px, 8vh, 96px); }
.eyebrow { display: inline-flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-dim); margin: 0 0 22px; }
.eyebrow i { width: 28px; height: 1px; background: var(--fg-faint); }
.hero h1 { font-size: clamp(58px, 9.2vw, 152px); max-width: 17ch; color: #fff; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero h1 .line > span { display: block; transform: translateY(108%); animation: lift 1.1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .1s; }
@keyframes lift { to { transform: none; } }
.lede { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.5; color: rgba(241,237,230,.84); max-width: 44ch; margin: 26px 0 34px; }
.rise { opacity: 0; transform: translateY(14px); animation: rise 1s var(--ease) .45s forwards; }
.actions.rise { animation-delay: .6s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.scroll-cue { position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(48px, 8vh, 96px); display: flex; flex-direction: column; align-items: center; gap: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-faint); animation-delay: 1.2s; }
.scroll-cue span { writing-mode: vertical-rl; }
.scroll-cue::after { content: ""; width: 1px; height: 56px; background: linear-gradient(180deg, var(--fg-dim), transparent); animation: drip 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* facts: a hairline strip that reads like the badge text */
.facts { list-style: none; margin: 0; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); background: var(--bg); }
.facts li { padding: 18px 0; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-dim); text-align: center; border-left: 1px solid var(--hair); }
.facts li:first-child { border-left: 0; }
.facts a:hover { color: var(--fg); }

/* section heads */
section { padding: clamp(84px, 11vw, 150px) 0 0; }
.head { max-width: var(--max); margin: 0 auto clamp(32px, 4vw, 56px); padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr auto; column-gap: 32px; align-items: end; }
.head .label { grid-column: 1 / -1; margin-bottom: 22px; }
.head h2 { font-size: clamp(46px, 6.4vw, 104px); }
.head .note { margin: 0 0 .5em; max-width: 30ch; color: var(--fg-dim); font-size: 15px; line-height: 1.5; text-align: right; }

/* barbers: seven equal cards, each one a doorway to that barber's calendar */
.grid { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(14px, 1.6vw, 22px); }
.card { flex: 0 1 calc((100% - 3 * clamp(14px, 1.6vw, 22px)) / 4); min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.photo { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); border: 1px solid rgba(241,237,230,.06); isolation: isolate; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s var(--ease); }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,.18) 0%, rgba(10,10,10,0) 30%, rgba(10,10,10,0) 55%, rgba(10,10,10,.82) 100%); transition: opacity .6s var(--ease); }
.card:hover .photo img { transform: scale(1.04); }
.idx, .name, .via { position: absolute; z-index: 1; }
.idx { top: 14px; left: 16px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: rgba(241,237,230,.75); text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.name { left: 18px; right: 18px; bottom: 36px; font-family: var(--serif); font-size: clamp(30px, 2.6vw, 40px); line-height: 1; letter-spacing: -.01em; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.4); }
.via { left: 18px; bottom: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(241,237,230,.62); }
.pair { display: grid; grid-template-columns: 1.5fr 1fr; gap: 8px; }

/* the work: real cuts, one of them moving */
.mosaic { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.2vw, 16px); }
.mosaic figure { margin: 0; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); border: 1px solid rgba(241,237,230,.06); position: relative; }
.mosaic img, .mosaic video { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mosaic figure:hover img { transform: scale(1.03); }
.mosaic .live::after { content: ""; position: absolute; left: 16px; top: 16px; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.6), 0 0 14px rgba(255,255,255,.9); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.55), 0 0 14px rgba(255,255,255,.9); } 100% { box-shadow: 0 0 0 10px rgba(255,255,255,0), 0 0 14px rgba(255,255,255,.9); } }

/* visit: the room itself, address over it */
.visit { position: relative; margin-top: clamp(84px, 11vw, 150px); padding: clamp(96px, 14vw, 200px) 0; overflow: hidden; isolation: isolate; border-top: 1px solid var(--hair); }
.visit-media { position: absolute; inset: 0; z-index: 0; }
.visit-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.visit-shade { position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(90deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.7) 45%, rgba(10,10,10,.35) 100%),
  linear-gradient(180deg, rgba(10,10,10,.6), rgba(10,10,10,0) 30%, rgba(10,10,10,0) 70%, rgba(10,10,10,.85)); }
.visit-copy { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.visit-copy .label { margin-bottom: 22px; }
.visit h2 { font-size: clamp(56px, 8vw, 128px); }
.visit address { margin: 28px 0 10px; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.4; color: rgba(241,237,230,.9); }
.visit address a:hover { color: #fff; }
.phone { display: inline-block; font-family: var(--serif); font-size: clamp(34px, 3.6vw, 52px); line-height: 1; letter-spacing: -.01em; margin: 6px 0 34px; }
.phone:hover { color: #fff; }

/* footer */
.footer { padding: 56px var(--gutter) 120px; text-align: center; }
.footer img { width: 112px; height: auto; margin: 0 auto 22px; opacity: .92; }
.footer .label { color: var(--fg-dim); }
.footer .label a:hover { color: var(--fg); }
.fine { margin: 14px 0 0; font-size: 12px; color: var(--fg-faint); }

.mobile-bar { display: none; }

/* quiet entrance */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .card { flex-basis: calc((100% - 2 * clamp(14px, 1.6vw, 22px)) / 3); }
  .mosaic { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 72px; }
  .brand img { width: 56px; }
  .nav.is-solid .brand img { width: 46px; }
  .nav-cta { display: none; }
  .hero { align-items: flex-end; }
  .hero h1 { font-size: clamp(52px, 15.5vw, 72px); }
  .lede { margin: 20px 0 26px; }
  .hero .actions .btn { flex: 1 1 100%; }
  .scroll-cue { display: none; }
  .facts { grid-template-columns: 1fr 1fr; padding: 0; }
  .facts li { font-size: 11px; padding: 14px 10px; border-left: 0; border-top: 1px solid var(--hair); }
  .facts li:nth-child(-n+2) { border-top: 0; }
  .facts li:nth-child(even) { border-left: 1px solid var(--hair); }
  .facts .long { display: none; }
  .head { grid-template-columns: 1fr; row-gap: 14px; }
  .head .note { text-align: left; }
  .grid { gap: 12px; }
  .card { flex-basis: calc((100% - 12px) / 2); gap: 10px; }
  .card .btn { min-height: 44px; padding: 0 12px; font-size: 14px; }
  .name { font-size: 26px; bottom: 32px; left: 14px; right: 14px; }
  .idx { top: 12px; left: 14px; }
  .via { left: 14px; bottom: 14px; font-size: 10px; }
  .pair { grid-template-columns: 1fr 1fr; gap: 6px; }
  .mosaic { grid-template-columns: 1fr 1fr; gap: 8px; }
  .visit-shade { background:
    linear-gradient(180deg, rgba(10,10,10,.75) 0%, rgba(10,10,10,.55) 50%, rgba(10,10,10,.9) 100%); }
  .visit .actions .btn { flex: 1 1 100%; }
  .footer { padding-bottom: 130px; }
  .mobile-bar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(10,10,10,.82); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-top: 1px solid var(--hair); transform: translateY(110%); transition: transform .35s var(--ease); }
  .mobile-bar .btn-solid { flex: 1; }
  .mobile-bar.is-on { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img { animation: none; }
  .hero h1 .line > span, .rise { animation: none; transform: none; opacity: 1; }
  .scroll-cue::after, .mosaic .live::after { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .photo img, .mosaic img, .btn { transition: none; }
}
