/* =====================================================================
   JPB STUDIO — barbershop
   Design: dark editorial. Bold condensed display type (Rudy's-inspired),
   brass accent, full-bleed portfolio photography, bracketed mono labels
   + marquee ticker (Parallel Society-inspired). One disciplined accent.
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink:        #0c0c0d;   /* base near-black background            */
  --ink-2:      #141416;   /* raised panels                        */
  --ink-3:      #1b1b1f;   /* hover / inset                        */
  --paper:      #f2ede2;   /* warm off-white — primary text        */
  --paper-dim:  #cbc5b8;   /* secondary text                       */
  --muted:      #8b877e;   /* tertiary / captions                  */
  --gold:       #cba043;   /* brass accent — the single accent     */
  --gold-hi:    #e2b954;   /* accent hover                         */
  --line:       rgba(242, 237, 226, 0.14);
  --line-soft:  rgba(242, 237, 226, 0.08);

  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-body:    "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --wrap: 1240px;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }

/* subtle film-grain atmosphere over the whole page */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Type scale ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.eyebrow--muted { color: var(--muted); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  font-weight: 800;
}

p { text-wrap: pretty; }

/* bracket helper — the [ label ] motif */
.brk::before { content: "[ "; color: var(--gold); }
.brk::after  { content: " ]"; color: var(--gold); }

/* ---------- Layout helpers ---------- */
.wrap { width: min(100% - (var(--gutter) * 2), var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(4.5rem, 10vw, 9rem); position: relative; }

/* star divider echoing the 5-star crest */
.stars {
  display: flex;
  gap: 0.55rem;
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  align-items: center;
}
.stars::before, .stars::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}
.stars span { letter-spacing: 0.4em; }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  padding: var(--pad-y) 1.6rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
              border-color 0.35s var(--ease), transform 0.35s var(--ease);
  min-height: 44px;
}
.btn:active { transform: translateY(1px); }

.btn--solid { background: var(--gold); color: #17130a; }
.btn--solid:hover { background: var(--gold-hi); }

.btn--outline { border-color: var(--line); color: var(--paper); }
.btn--outline:hover { border-color: var(--gold); color: var(--gold); }

.btn--ghost { color: var(--paper-dim); padding-inline: 0; }
.btn--ghost:hover { color: var(--gold); }

.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

:where(a, button, input, [tabindex]):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--radius);
}

/* =====================================================================
   Header
   ===================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1rem, 2vw, 1.5rem) var(--gutter);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
              padding 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(12, 12, 13, 0.82);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line-soft);
  padding-block: 0.85rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.brand img { width: 38px; height: 38px; border-radius: 2px; }
.brand small {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  color: var(--gold);
  display: block;
  font-weight: 500;
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.4vw, 2.4rem);
}
.nav a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--paper-dim);
  text-transform: lowercase;
  transition: color 0.3s var(--ease);
  position: relative;
}
.nav a::before { content: "["; color: var(--gold); opacity: 0; margin-right: 2px; transition: opacity 0.3s var(--ease); }
.nav a::after  { content: "]"; color: var(--gold); opacity: 0; margin-left: 2px; transition: opacity 0.3s var(--ease); }
.nav a:hover { color: var(--paper); }
.nav a:hover::before, .nav a:hover::after { opacity: 1; }

.nav-book { color: var(--paper) !important; }
.nav-cta { display: inline-flex; }

.nav-toggle { display: none; }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  padding: var(--gutter);
  transform: translateY(-100%);
  transition: transform 0.55s var(--ease);
  visibility: hidden;
}
.mobile-menu.is-open { transform: translateY(0); visibility: visible; }
.mobile-menu a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 12vw, 3.6rem);
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--paper);
  border-bottom: 1px solid var(--line-soft);
  padding: 0.5rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
}
.mobile-menu a span { font-family: var(--font-mono); font-size: 0.85rem; color: var(--gold); }
.mobile-menu .m-book { color: var(--gold); }

/* =====================================================================
   Hero
   ===================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: var(--gutter);
  padding-top: 8rem;
  overflow: hidden;
}
/* Textured, image-free hero backdrop: warm glow + vignette + fine pinstripe
   over a deep charcoal gradient, with a ghosted crest watermark. */
.hero__media {
  position: absolute; inset: 0; z-index: -2;
  background:
    repeating-linear-gradient(90deg, rgba(242,237,226,0.016) 0 1px, transparent 1px 8px),
    radial-gradient(135% 95% at 82% 4%, rgba(203,160,67,0.16), transparent 50%),
    radial-gradient(120% 120% at 50% 130%, rgba(0,0,0,0.6), transparent 55%),
    linear-gradient(158deg, #19171c 0%, #0d0d0e 46%, #080809 100%);
}
.hero__media::before {
  content: "";
  position: absolute; inset: 0;
  background: url("assets/logo.jpg") no-repeat;
  background-position: 126% 46%;
  background-size: auto 130%;
  mix-blend-mode: screen;
  opacity: 0.07;
  filter: grayscale(1) contrast(1.15);
}
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(9,9,10,0.84) 0%, rgba(9,9,10,0.48) 44%, rgba(9,9,10,0) 76%),
    linear-gradient(0deg, rgba(9,9,10,0.9) 0%, rgba(9,9,10,0) 48%);
}

.hero__inner { width: 100%; max-width: var(--wrap); margin-inline: auto; }
.hero__eyebrow { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.6rem; }
.hero__eyebrow .dot { width: 7px; height: 7px; background: var(--gold); border-radius: 50%; }

.hero h1 {
  font-size: clamp(3.4rem, 13vw, 10.5rem);
  font-weight: 800;
  line-height: 0.86;
  margin-bottom: 1.4rem;
  letter-spacing: -0.005em;
}
.hero h1 em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--paper);
  text-stroke: 1.4px var(--paper);
}
.hero__lede {
  max-width: 30ch;
  color: var(--paper-dim);
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem);
  line-height: 1.55;
  margin-bottom: 2.2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: calc(var(--gutter) + 0.4rem);
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.hero__scroll::after { content: ""; height: 46px; width: 1px; background: linear-gradient(var(--gold), transparent); }
@media (max-width: 700px) { .hero__scroll { display: none; } }

/* =====================================================================
   Marquee ticker
   ===================================================================== */
.ticker {
  border-block: 1px solid var(--line);
  background: var(--ink-2);
  overflow: hidden;
  padding-block: 1.05rem;
  display: flex;
}
.ticker__track {
  display: flex;
  flex-shrink: 0;
  gap: 0;
  animation: marquee 34s linear infinite;
  will-change: transform;
}
.ticker__track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.4vw, 1.7rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--paper);
  padding-inline: 1.6rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.ticker__track span::after { content: "✦"; color: var(--gold); font-size: 0.7em; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; flex-wrap: wrap; }
}

/* =====================================================================
   Studio statement (asymmetric)
   ===================================================================== */
.studio { background: var(--ink); }
.studio__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.studio__head { max-width: 16ch; }
.studio h2 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  margin: 1.4rem 0 1.8rem;
}
.studio h2 span { color: var(--gold); }
.studio__body p { color: var(--paper-dim); margin-bottom: 1.1rem; max-width: 46ch; }
.studio__body p:first-child { color: var(--paper); font-size: 1.15rem; }

.studio__figure {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
}
.studio__figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.6s var(--ease);
}
.studio__figure:hover img { filter: grayscale(0) contrast(1.03); }
.studio__figure figcaption {
  position: absolute;
  left: 0; bottom: 0;
  padding: 0.7rem 1rem;
  background: var(--gold);
  color: #17130a;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* =====================================================================
   Services — numbered editorial rows
   ===================================================================== */
.services { background: var(--ink-2); border-block: 1px solid var(--line); }
.services__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.services__head p { color: var(--muted); max-width: 34ch; }

.svc {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  padding: clamp(1.6rem, 3.5vw, 2.6rem) 0;
  border-top: 1px solid var(--line);
  position: relative;
  transition: padding-inline 0.4s var(--ease);
}
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc__num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  padding-top: 0.4rem;
}
.svc__name {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 4.2vw, 3rem);
  line-height: 0.95;
  transition: color 0.35s var(--ease), transform 0.4s var(--ease);
}
.svc__desc { color: var(--paper-dim); margin-top: 0.5rem; max-width: 48ch; font-size: 0.98rem; }
.svc__meta {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.9rem;
  flex-wrap: wrap;
}
.svc__meta span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 0.28rem 0.6rem;
  border-radius: 40px;
}
.svc__right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 0.9rem; }
.svc__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--paper);
}
.svc__price small { font-family: var(--font-mono); font-size: 0.62rem; color: var(--muted); display: block; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 400; }
.svc__book {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-dim);
  transition: color 0.3s var(--ease);
}
.svc__book::before { content: "[ "; color: var(--gold); }
.svc__book::after  { content: " ]"; color: var(--gold); }
.svc:hover .svc__name { color: var(--gold); transform: translateX(6px); }
.svc:hover .svc__book { color: var(--paper); }

.services__foot {
  margin-top: 2.4rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* =====================================================================
   Gallery — the work
   ===================================================================== */
.work { background: var(--ink); }
.work__head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.work__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(0.6rem, 1.5vw, 1rem);
}
.work__item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-2);
}
.work__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
  filter: grayscale(1) contrast(1.06) brightness(0.92);
  transition: filter 0.6s var(--ease), transform 0.9s var(--ease);
}
.work__item:hover img { filter: grayscale(0) contrast(1.02) brightness(1); transform: scale(1.04); }
.work__item figcaption {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  padding: 1.4rem 1.2rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  background: linear-gradient(0deg, rgba(8,8,9,0.9), transparent);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateY(6px);
  opacity: 0.85;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.work__item:hover figcaption { transform: translateY(0); opacity: 1; }
.work__item figcaption b { color: var(--gold); font-weight: 500; }

/* editorial spans — alternating 7/5 · 5/7 pinwheel, aligned row heights */
.work__item.wide, .work__item.wide2 { grid-column: span 7; }
.work__item.tall, .work__item.tall2 { grid-column: span 5; }
.work__item.wide, .work__item.tall,
.work__item.tall2, .work__item.wide2 { height: clamp(320px, 40vw, 540px); }

/* =====================================================================
   Visit / Studio info
   ===================================================================== */
.visit { background: var(--ink-2); border-top: 1px solid var(--line); }
.visit__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.visit h2 { font-size: clamp(2.2rem, 5.5vw, 4rem); margin: 1.2rem 0 1.6rem; }
.info-list { border-top: 1px solid var(--line); }
.info-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.info-row dt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.info-row dd { color: var(--paper); }
.info-row dd small { display: block; color: var(--muted); font-size: 0.85rem; margin-top: 0.15rem; }
.info-row dd a { color: var(--paper); text-underline-offset: 3px; transition: color 0.3s var(--ease); }
.info-row dd a:hover { color: var(--gold); }
.visit__note {
  margin-top: 1.8rem;
  color: var(--paper-dim);
  font-size: 0.95rem;
}

/* =====================================================================
   Booking — Squire widget
   ===================================================================== */
.book {
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(203,160,67,0.10), transparent 55%),
    var(--ink);
  border-top: 1px solid var(--line);
  text-align: center;
}
.book__head { margin-inline: auto; margin-bottom: 2.6rem; }
.book h2 { font-size: clamp(2.8rem, 8vw, 6rem); margin: 1.1rem 0 1.3rem; text-wrap: balance; }
/* keep the supporting copy readable & centered, but let the big heading use full width */
.book__head p { color: var(--paper-dim); max-width: 42ch; margin-inline: auto; }
/* ---- Squire booking container ---- */
.booking-container {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin-inline: auto;
  border-radius: 16px;
  overflow: hidden;
  background: var(--ink-2);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.75), 0 0 0 1px var(--line);
  min-height: 900px;            /* desktop embed height */
  transition: min-height 0.4s var(--ease);
}
/* the live Squire iframe (injected by JS) */
.booking-container .booking-frame {
  display: block;
  width: 100%;
  height: 900px;
  min-height: 900px;
  border: 0;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.booking-container.is-embedded .booking-frame { opacity: 1; }

/* overlay states (loading + fallback) */
.booking-state {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  color: var(--paper-dim);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(203, 160, 67, 0.10), transparent 55%),
    var(--ink-2);
}
.booking-state .stars { width: min(240px, 62%); }

.booking-loading p {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  animation: bookingPulse 1.6s ease-in-out infinite;
}
@keyframes bookingPulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .booking-loading p { animation: none; } }

/* fallback card — hidden until JS confirms the embed is blocked */
.booking-fallback { display: none; }
.booking-fallback h3 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--paper);
}
.booking-fallback p { max-width: 46ch; color: var(--paper-dim); }
.booking-fallback .btn { margin-top: 0.6rem; }
.btn--lg { --pad-y: 1.3rem; font-size: 0.86rem; padding-inline: 2.6rem; letter-spacing: 0.16em; }

/* state switching */
.booking-container.is-embedded .booking-state { opacity: 0; visibility: hidden; pointer-events: none; }
.booking-container.is-fallback { min-height: 0; box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--line); }
.booking-container.is-fallback .booking-frame,
.booking-container.is-fallback .booking-loading { display: none; }
.booking-container.is-fallback .booking-fallback {
  display: flex;
  position: relative;      /* back in flow so the card defines the height */
  inset: auto;
  padding-block: clamp(3.5rem, 8vw, 6rem);
}

.book__powered {
  margin-top: 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer { background: #08080a; border-top: 1px solid var(--line); padding-block: clamp(3.5rem, 7vw, 6rem) 2rem; }
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-soft);
}
.footer__brand { display: flex; gap: 1rem; align-items: flex-start; }
.footer__brand img { width: 76px; height: 76px; border-radius: 2px; }
.footer__brand h3 { font-size: 2rem; letter-spacing: 0.04em; }
.footer__brand p { color: var(--muted); font-size: 0.9rem; margin-top: 0.5rem; max-width: 28ch; }
.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1.1rem;
}
.footer__col a, .footer__col address {
  display: block;
  color: var(--paper-dim);
  font-style: normal;
  padding: 0.35rem 0;
  transition: color 0.3s var(--ease);
  font-size: 0.95rem;
}
.footer__col a:hover { color: var(--gold); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.8rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
}
.footer__bottom a:hover { color: var(--gold); }

/* =====================================================================
   Reveal animation
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 960px) {
  .booking-container:not(.is-fallback),
  .booking-container .booking-frame { min-height: 820px; }
  .booking-container .booking-frame { height: 820px; }

  .nav .nav-link, .nav-cta { display: none; }
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    z-index: 101;
  }
  .nav-toggle span { width: 26px; height: 2px; background: var(--paper); transition: transform 0.4s var(--ease), opacity 0.3s var(--ease); }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .studio__grid { grid-template-columns: 1fr; }
  .studio__figure { max-width: 460px; }
  .visit__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .hero__eyebrow { flex-wrap: wrap; }
  .hero__eyebrow .eyebrow { font-size: 0.66rem; letter-spacing: 0.1em; }
  .hero__media::before { background-position: 50% 16%; background-size: auto 38%; opacity: 0.06; }

  .svc { grid-template-columns: 3rem 1fr; }
  .svc__right { grid-column: 2; align-items: flex-start; text-align: left; flex-direction: row; justify-content: space-between; width: 100%; margin-top: 0.6rem; }
  .svc:hover .svc__name { transform: none; }

  .work__grid { grid-template-columns: 1fr; }
  .work__item.wide, .work__item.tall, .work__item.tall2, .work__item.wide2 { grid-column: 1 / -1; aspect-ratio: 4 / 5; }

  .info-row { grid-template-columns: 1fr; gap: 0.3rem; }
  .footer__top { grid-template-columns: 1fr; }
  .booking-container:not(.is-fallback),
  .booking-container .booking-frame { min-height: 680px; }
  .booking-container .booking-frame { height: 680px; }
}

@media (max-width: 520px) {
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* =====================================================================
   Lightbox (click-to-preview for The Work)
   ===================================================================== */
.work__item { cursor: zoom-in; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(6, 6, 7, 0.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox__fig {
  position: relative;
  max-width: min(92vw, 720px);
  max-height: 88vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.96);
  transition: transform 0.45s var(--ease);
}
.lightbox.is-open .lightbox__fig { transform: none; }

.lightbox__img {
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--line);
}
.lightbox__cap {
  margin-top: 1rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-dim);
}
.lightbox__close {
  position: absolute;
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink-2);
  border: 1px solid var(--line);
  color: var(--paper);
  font-size: 1rem;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.lightbox__close:hover { background: var(--gold); color: #17130a; transform: rotate(90deg); }

@media (prefers-reduced-motion: reduce) {
  .lightbox, .lightbox__fig, .lightbox__close { transition: none; }
  .lightbox__close:hover { transform: none; }
}
