/* House of Showgun — recreated from the Claude Design handoff (high fidelity).
   Tokens and values mirror the design reference exactly; see the handoff README. */

/* ── Fonts ─────────────────────────────────────────────────────────────── */
@font-face {
  font-family: "Boska";
  src: url("../fonts/Boska-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("../fonts/Satoshi-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ── Tokens ────────────────────────────────────────────────────────────── */
:root {
  --cream: #f0e9dc;
  --ink: #26221c;
  --dark: #211b14;
  --reel-frame-bg: #171310;
  --gold: #e1ad66;
  --gold-hover: #facb8d;
  --gold-deep: #7d5411;
  --gold-base: #b68235;
  --rust: #9e4f44;
  --wordmark-cream: #f2ead8;
  --parchment: #e8dcc2;
  --hairline-light: rgba(38, 34, 28, .16);
  --hairline-dark: rgba(232, 220, 194, .28);
  --hero-rule: rgba(240, 233, 220, .55);
  --font-display: "Boska", Georgia, serif;
  --font-sans: "Satoshi", system-ui, sans-serif;
  --font-body: "Lora", Georgia, serif;
  --font-btn: "Cormorant Garamond", Georgia, serif;
  --pad-x: clamp(24px, 5vw, 72px);
  --pad-y: clamp(72px, 10vw, 130px);
}

/* ── Base ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  text-wrap: pretty;
}
img { display: block; max-width: 100%; }
a { color: var(--gold-deep); text-underline-offset: 3px; }
a:hover { color: var(--rust); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--gold-base); outline-offset: 2px; }
::selection { background: rgba(182, 130, 53, .3); }
.tnum { font-feature-settings: "tnum" 1; }

@keyframes hosUp   { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes hosRise { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
@keyframes hosPulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.55); opacity: 0; } }
@keyframes hosCue  { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }

/* ── Film grain overlay ────────────────────────────────────────────────── */
.grain {
  position: fixed;
  inset: -40px;
  z-index: 220;
  pointer-events: none;
  opacity: .055;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='280' height='280' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 280px;
}
html[data-grain="off"] .grain { display: none; }

/* ── Unsplash credit chip (placeholder images only — remove with them) ─── */
.credit {
  position: absolute;
  left: 6px;
  bottom: 6px;
  z-index: 6;
  max-width: calc(100% - 12px);
  padding: 3px 7px;
  border-radius: 5px;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font: 10px/1.2 system-ui, -apple-system, sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  backdrop-filter: blur(6px);
}
.credit a { color: inherit; text-decoration: none; }
.credit a:hover, .credit a:focus-visible { color: inherit; text-decoration: underline; }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 660px;
  overflow: hidden;
  background: var(--dark);
}
.hero-still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(33, 27, 20, .58) 0%, rgba(33, 27, 20, .3) 42%, rgba(33, 27, 20, .68) 100%);
}
.hero-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  flex-wrap: wrap;
  padding: 20px var(--pad-x);
  border-bottom: 1px solid rgba(240, 233, 220, .2);
}
.hero-brand {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--cream);
}
.hero-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.hero-nav-link {
  color: var(--cream);
  text-decoration: none;
  font-size: 13.5px;
}
.hero-nav-link:hover { color: var(--gold); }
.hero-nav-pill {
  color: var(--gold);
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: .14em;
  border: 1px solid rgba(225, 173, 102, .7);
  border-radius: 4px;
  padding: 8px 16px;
}
.hero-nav-pill:hover { background: rgba(225, 173, 102, .14); color: var(--gold-hover); }
.hero-center {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(24px, 5vw, 80px);
  pointer-events: none;
}
.hero-lockup {
  display: flex;
  flex-direction: column;
  width: max-content;
  max-width: 100%;
}
.hero-house-row {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  animation: hosUp .9s cubic-bezier(.22, 1, .36, 1) both .15s;
}
.hero-house-rule { height: 1px; flex: 1; background: var(--hero-rule); }
.hero-house {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(17px, 1.75vw, 22px);
  letter-spacing: .38em;
  color: var(--cream);
  padding-left: .38em;
}
.hero-wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(58px, 12.6vw, 196px);
  line-height: 1;
  letter-spacing: .04em;
  color: var(--wordmark-cream);
  margin: 12px 0 0;
  padding-left: .04em;
  white-space: nowrap;
  animation: hosUp 1.1s cubic-bezier(.22, 1, .36, 1) both .3s;
}
.hero-kicker {
  margin: 16px 0 0;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .32em;
  color: var(--gold);
  padding-left: .32em;
  text-align: center;
  animation: hosUp 1s ease both .5s;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  pointer-events: auto;
  animation: hosUp 1s cubic-bezier(.22, 1, .36, 1) both .65s;
}
.cta {
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: .12em;
  border-radius: 4px;
  padding: 12px 24px;
}
.cta-solid {
  color: var(--dark);
  background: var(--gold);
  border: 1px solid var(--gold);
}
.cta-solid:hover { background: var(--gold-hover); border-color: var(--gold-hover); color: var(--dark); }
.cta-ghost {
  color: var(--cream);
  border: 1px solid rgba(240, 233, 220, .55);
}
.cta-ghost:hover { background: rgba(240, 233, 220, .12); color: var(--cream); }
.hero-cue {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  animation: hosCue 3s ease-in-out infinite;
}
.hero-cue-rule { width: 1px; height: 30px; background: rgba(242, 234, 216, .6); }
.hero-cue-label {
  font-size: 9px;
  letter-spacing: .34em;
  color: rgba(242, 234, 216, .7);
  padding-left: .34em;
}

/* ── Shared section pieces ─────────────────────────────────────────────── */
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.kicker-row {
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(420px, 100%);
}
.kicker-rule { height: 1px; flex: 1; background: rgba(38, 34, 28, .25); }
.kicker-rule-dark { background: var(--hairline-dark); }
.kicker {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .3em;
  padding-left: .3em;
}
.kicker-light { color: var(--gold-deep); }
.kicker-dark { color: var(--gold-base); }
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 4.6vw, 62px);
  line-height: 1.05;
  letter-spacing: .01em;
  margin: 16px 0 0;
}
/* Only the #work h2 tracks +.01em in the reference; the reel and booking
   h2s inherit the design system's -0.015em heading tracking. */
.section-title-dark { color: var(--parchment); letter-spacing: -0.015em; }
.section-intro {
  margin: 18px 0 0;
  max-width: 52ch;
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(38, 34, 28, .68);
}

/* Scroll-triggered rise/fade. Native scroll-driven animations where
   supported; IntersectionObserver fallback (js/main.js) elsewhere. */
@supports (animation-timeline: view()) {
  .reveal {
    animation: hosRise .9s ease both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }
  .reveal-card {
    animation: hosRise .85s ease both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
  }
  .reveal-frame {
    animation: hosRise .95s ease both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
  }
}
@supports not (animation-timeline: view()) {
  .js .reveal, .js .reveal-card, .js .reveal-frame {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .9s ease, transform .9s ease;
  }
  .js .reveal-card { transition-duration: .85s; }
  .js .reveal-frame { transition-duration: .95s; }
  .js .reveal.is-inview, .js .reveal-card.is-inview, .js .reveal-frame.is-inview {
    opacity: 1;
    transform: none;
  }
}

/* ── Selected Work ─────────────────────────────────────────────────────── */
.work { padding: var(--pad-y) var(--pad-x); }
.work-inner { max-width: 1240px; margin: 0 auto; }
.work-divider {
  width: 100%;
  height: 1px;
  background: var(--hairline-light);
  margin: 40px 0 44px;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 52px 36px;
}
.work-card { margin: 0; }
/* .plate — extracted from the design system (_ds/classical/styles.css) */
.plate {
  filter: sepia(.22) saturate(.82) contrast(1.05);
  box-sizing: border-box;
  border: 6px solid #eae9e9;
  outline: 1px solid rgba(32, 31, 29, .16);
}
.work-plate {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.work-zoom {
  position: absolute;
  inset: 0;
  transition: transform 1.4s cubic-bezier(.19, .62, .23, .99);
}
.work-plate:hover .work-zoom { transform: scale(1.05); }
.work-zoom img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
}
.work-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: .01em;
  color: var(--ink);
}
.work-category {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: .22em;
  color: var(--rust);
  margin-top: 5px;
}
.work-year {
  font-size: 12px;
  color: rgba(38, 34, 28, .55);
  font-feature-settings: "tnum" 1;
}

/* ── Showreel ──────────────────────────────────────────────────────────── */
.reel {
  background: var(--dark);
  padding: var(--pad-y) var(--pad-x);
  position: relative;
  overflow: hidden;
}
.reel-ghost {
  position: absolute;
  right: clamp(8px, 3vw, 48px);
  top: -30px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(160px, 22vw, 320px);
  line-height: 1;
  color: rgba(182, 130, 53, .09);
  font-feature-settings: "tnum" 1;
  pointer-events: none;
}
.reel-inner { max-width: 1080px; margin: 0 auto; position: relative; }
.reel-body { margin-top: 44px; }
.reel-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--reel-frame-bg);
  border: 6px solid rgba(232, 220, 194, .08);
  outline: 1px solid rgba(232, 220, 194, .18);
}
.reel-frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reel-frame > iframe,
.reel-frame > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.reel-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(23, 19, 16, .28);
}
.reel-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.reel-play-pulse {
  position: absolute;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 1px solid rgba(225, 173, 102, .55);
  animation: hosPulse 2.8s ease-out infinite;
}
.reel-play-disc {
  position: relative;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 1px solid var(--gold-base);
  background: rgba(33, 27, 20, .45);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
}
.reel-play-tri {
  width: 0;
  height: 0;
  border-left: 22px solid var(--gold);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 6px;
}
.reel-play-hit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.reel-play-hit[hidden] { display: none; }
.reel-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}
.reel-meta-label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: .22em;
  color: rgba(232, 220, 194, .6);
  font-feature-settings: "tnum" 1;
}
.reel-meta-tagline {
  font-style: italic;
  font-size: 13.5px;
  color: rgba(232, 220, 194, .55);
}

/* ── Booking ───────────────────────────────────────────────────────────── */
.booking { padding: var(--pad-y) var(--pad-x); }
.booking-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 64px;
}
.booking-title { margin: 14px 0 0; letter-spacing: -0.015em; }
/* The .3em padding on .kicker optically re-centers the ruled kickers;
   the booking kicker is left-aligned and sits flush. */
.booking-info .kicker { padding-left: 0; }
.booking-copy {
  margin: 22px 0 0;
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(38, 34, 28, .72);
  text-align: justify;
  hyphens: auto;
}
.booking-facts { margin-top: 36px; display: grid; gap: 0; }
.booking-fact {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--hairline-light);
  font-size: 13.5px;
}
.booking-fact:last-child { border-bottom: 1px solid var(--hairline-light); }
.booking-fact-label { color: rgba(38, 34, 28, .6); }
.booking-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 16px;
  align-content: start;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field-wide { grid-column: 1 / -1; }
.field-label {
  font-size: 11px;
  letter-spacing: .16em;
  color: rgba(38, 34, 28, .65);
}
/* .input — extracted from the design system (_ds/classical/styles.css) */
.input {
  width: 100%;
  min-height: 36px;
  padding: 6px 10px;
  font: inherit;
  font-size: 14px;
  color: #201f1d;
  caret-color: var(--gold-base);
  background: transparent;
  border: 1px solid rgba(32, 31, 29, .16);
  border-radius: 4px;
}
.input:hover { border-color: rgba(32, 31, 29, .45); }
.input:focus-visible { border-color: var(--gold-base); outline-offset: 0; }
textarea.input {
  min-height: 90px;
  resize: vertical;
  font-family: var(--font-body);
}
/* .btn / .btn-primary — extracted from the design system */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-btn);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  color: #201f1d;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 12px 26px;
  letter-spacing: .08em;
}
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary { color: var(--gold-base); border-color: var(--gold-base); }
.btn-primary:hover { background: rgba(182, 130, 53, .12); }
.btn-primary:active { background: rgba(182, 130, 53, .22); }
.booking-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
/* Rendered (empty) from load so the role="status" live region exists in
   the accessibility tree before its text arrives — hiding it would keep
   screen readers from announcing the confirmation. */
.form-success {
  font-style: italic;
  font-size: 13.5px;
  color: var(--gold-deep);
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer { padding: 0 var(--pad-x) 40px; }
.footer-inner { max-width: 1240px; margin: 0 auto; }
.footer-rule { width: 100%; height: 1px; background: var(--hairline-light); }
.footer-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 26px;
}
.footer-copyright, .footer-place { font-size: 12.5px; color: rgba(38, 34, 28, .6); }
.footer-tagline { font-style: italic; font-size: 14px; color: rgba(38, 34, 28, .55); }

/* ── Reduced motion ────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal, .js .reveal-card, .js .reveal-frame { opacity: 1; transform: none; }
}
