/* ==========================================================================
   Made By Stories: Design Tokens
   ========================================================================== */
:root {
  /* Colour */
  --navy-950: #070f1c;
  --navy-900: #0d1c33;
  --navy-800: #142a4a;
  --navy-700: #1d3a63;
  --navy-600: #2c4f83;
  --gold-300: #ecd9a8;
  --gold-400: #ddc077;
  --gold-500: #c9a24b;
  --gold-600: #a67f2e;
  --cream-100: #faf6ee;
  --cream-200: #f2ece0;
  --cream-300: #e8dfcd;
  --ink-900: #141210;
  --ink-700: #3a352c;
  --white: #ffffff;

  /* Semantic */
  --bg-page: var(--cream-100);
  --bg-surface: var(--white);
  --text-body: var(--ink-900);
  --text-muted: #6b6455;
  --border-soft: rgba(20, 18, 16, 0.1);

  /* Type */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-script: "Dancing Script", cursive;

  /* Scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --shadow-card: 0 12px 32px -12px rgba(13, 28, 51, 0.35);
  --shadow-lift: 0 20px 48px -16px rgba(13, 28, 51, 0.45);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur-med: 320ms;

  --z-header: 100;
  --z-lightbox: 1000;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg-page);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0; color: var(--navy-900); }
p { margin: 0; }
ul { margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }

.script {
  font-family: var(--font-script);
  font-weight: 700;
  color: var(--gold-500);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-900);
  color: var(--white);
  padding: var(--space-2) var(--space-3);
  z-index: 2000;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 2px;
}

.wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: var(--space-2);
}
.eyebrow-light { color: var(--gold-400); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.badge-gold {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: var(--navy-950);
  box-shadow: 0 4px 14px -4px rgba(166, 127, 46, 0.6);
}

.badge-link {
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.badge-link:hover, .badge-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(166, 127, 46, 0.75);
}
/* Expand the tappable area well past the visible pill (which is only
   ~30px tall) so it clears the 44px touch-target minimum even though it
   sits on top of the much larger lightbox-trigger button underneath. */
.badge-link::before {
  content: "";
  position: absolute;
  inset: -12px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
  min-height: 44px;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: var(--navy-950);
  box-shadow: var(--shadow-card);
}
.btn-gold:hover { box-shadow: var(--shadow-lift); }

.btn-navy {
  background: var(--navy-900);
  color: var(--cream-100);
  box-shadow: var(--shadow-card);
}
.btn-navy:hover { background: var(--navy-800); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--navy-900);
  border: 1.5px solid var(--border-soft);
  padding: 10px 22px;
}
.btn-ghost:hover { background: var(--navy-900); color: var(--cream-100); border-color: var(--navy-900); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: var(--z-header);
  padding-block: var(--space-3);
  transition: padding var(--dur-med) var(--ease-out);
}
/* The scrolled-state background/blur lives on a pseudo-element rather than
   directly on .site-header. A `backdrop-filter` on the header itself would
   create a new CSS containing block for any position:fixed descendants
   (like the mobile nav drawer), which breaks their full-viewport sizing
   the moment the page is scrolled. Keeping the filter on a leaf pseudo
   avoids that entirely. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transition: background var(--dur-med) var(--ease-out), backdrop-filter var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.site-header.is-scrolled {
  padding-block: var(--space-2);
}
.site-header.is-scrolled::before {
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px -12px rgba(13, 28, 51, 0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.brand { flex-shrink: 0; }
.brand-mark {
  height: 64px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter var(--dur-med) var(--ease-out), height var(--dur-med) var(--ease-out);
}
.is-scrolled .brand-mark { height: 52px; }
.is-scrolled .brand-mark { filter: none; }

.main-nav {
  display: none;
  gap: var(--space-5);
  margin-inline-start: var(--space-4);
  flex: 1;
}
.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  position: relative;
  padding-block: 4px;
  transition: color var(--dur-med) var(--ease-out);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1.5px;
  background: var(--gold-500);
  transition: right var(--dur-fast) var(--ease-out);
}
.main-nav a:hover::after { right: 0; }

.header-cta { display: none; margin-inline-start: auto; }
.is-scrolled .header-cta { border-color: var(--border-soft); }

.nav-toggle {
  margin-inline-start: auto;
  color: var(--white);
  display: inline-flex;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.is-scrolled .nav-toggle { color: var(--navy-900); }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-burger { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] { color: var(--cream-100); }

@media (min-width: 900px) {
  .main-nav { display: flex; align-items: center; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  /* Scoped to desktop only: the scrolled header switches to a light
     background here, so nav text needs to switch to dark to stay
     readable. The mobile drawer's background is always dark navy
     regardless of scroll state, so it must never pick this up. */
  .is-scrolled .main-nav a { color: var(--navy-900); }
}

/* Mobile nav drawer */
@media (max-width: 899px) {
  .main-nav {
    display: flex;
    position: fixed;
    inset: 0;
    top: 0;
    background: var(--navy-950);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-5);
    transform: translateY(-100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform var(--dur-med) var(--ease-out), visibility 0s linear var(--dur-med);
  }
  .main-nav.is-open {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform var(--dur-med) var(--ease-out), visibility 0s linear 0s;
  }
  .main-nav a { color: var(--cream-100); font-size: 1.4rem; font-family: var(--font-display); }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy-950);
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.55;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 15, 28, 0.55) 0%, rgba(7, 15, 28, 0.4) 40%, rgba(7, 15, 28, 0.92) 100%),
    linear-gradient(90deg, rgba(7, 15, 28, 0.7) 0%, rgba(7, 15, 28, 0.1) 55%);
}
.hero-content {
  position: relative;
  padding-block-end: var(--space-8);
  padding-block-start: calc(var(--space-8) + 60px);
  max-width: 760px;
}
.hero-title {
  font-size: clamp(2.6rem, 7vw, 5rem);
  color: var(--white);
  font-weight: 600;
  margin-bottom: var(--space-4);
}
.hero-sub {
  color: var(--cream-200);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 52ch;
  margin-bottom: var(--space-5);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.scroll-cue {
  position: absolute;
  bottom: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  color: var(--cream-200);
  opacity: 0.85;
}
.scroll-cue-dot { animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.3; }
}

/* ==========================================================================
   Ticker
   ========================================================================== */
.ticker {
  background: var(--navy-900);
  overflow: hidden;
  padding-block: var(--space-3);
  border-block: 1px solid var(--navy-700);
}
.ticker-track {
  display: flex;
  width: max-content;
  gap: var(--space-7);
  white-space: nowrap;
  animation: tickerScroll 32s linear infinite;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold-400);
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   Sections (generic)
   ========================================================================== */
.section { padding-block: var(--space-8); }
.section-head { max-width: 680px; margin-bottom: var(--space-6); }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: var(--space-3); }
.section-lead { color: var(--text-muted); font-size: 1.05rem; }

/* ==========================================================================
   Story / Timeline
   ========================================================================== */
.story { background: var(--bg-page); }

.story-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: end;
  margin-bottom: var(--space-6);
}
.story-intro-media {
  margin: 0;
  max-width: 220px;
  justify-self: start;
}
.story-intro-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  aspect-ratio: 600 / 722;
  object-fit: cover;
}
.story-intro-media figcaption {
  margin-top: var(--space-2);
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}
@media (min-width: 720px) {
  .story-intro { grid-template-columns: 1fr auto; }
  .story-intro-media { justify-self: end; }
}

.timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  border-top: 1px solid var(--border-soft);
  padding-top: var(--space-5);
  margin-bottom: var(--space-7);
}
.timeline-item h3 { font-size: 1.3rem; margin-block: var(--space-2); }
.timeline-item p { color: var(--text-muted); font-size: 0.95rem; }
.timeline-index {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--gold-600);
  font-weight: 700;
}
@media (min-width: 720px) {
  .timeline { grid-template-columns: repeat(4, 1fr); }
}

.style-strip-label {
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: var(--space-4);
}
.style-strip-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
.style-strip-grid figure { margin: 0; }
.style-strip-grid img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  box-shadow: var(--shadow-card);
}
.style-strip-grid figcaption {
  margin-top: var(--space-2);
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}
@media (min-width: 720px) {
  .style-strip-grid { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Featured Drop
   ========================================================================== */
.featured { background: var(--navy-950); color: var(--cream-100); }
.featured h2 { color: var(--white); }
.featured .eyebrow { color: var(--gold-400); }
.featured p:not(.eyebrow) { color: var(--cream-200); margin-block: var(--space-4); max-width: 46ch; }

.featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: center;
}
.featured-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.featured-media img { width: 100%; height: 100%; object-fit: cover; }
.featured-media .badge { position: absolute; top: var(--space-3); right: var(--space-3); }

@media (min-width: 900px) {
  .featured-grid { grid-template-columns: 1.1fr 1fr; }
}

/* ==========================================================================
   Collection Gallery
   ========================================================================== */
.collection { background: var(--bg-page); }

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}
@media (min-width: 640px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

.card-tile {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 5 / 7;
  box-shadow: var(--shadow-card);
  text-align: left;
  display: block;
  width: 100%;
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.card-tile img { width: 100%; height: 100%; object-fit: cover; }
.card-tile:hover, .card-tile:focus-visible, .card-tile:focus-within {
  transform: translateY(-6px) scale(1.015);
  box-shadow: var(--shadow-lift);
}

/* Landscape variant: for pieces whose artwork is wider than it is tall
   (e.g. multi-athlete pieces) so they aren't force-cropped into a portrait box. */
.card-tile--landscape {
  aspect-ratio: 1050 / 750;
  grid-column: span 2;
}

/* Used when the card is a <div> wrapping a separate open-artwork button
   and a sibling "Originals" link, instead of the card itself being the button. */
.card-tile-open {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
}
.card-tile-open img { width: 100%; height: 100%; object-fit: cover; }

.card-tile-badge { position: absolute; top: var(--space-2); right: var(--space-2); z-index: 2; }

/* Fallback if card art fails to load even after the retry in main.js:
   hide the broken-icon/alt-text clutter so the badge sits on a clean
   surface instead of overlapping garbled text. */
.card-tile.img-load-failed,
.featured-media.img-load-failed { background: var(--navy-800); }
.img-load-failed img { opacity: 0; }
.card-tile-info {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: var(--space-4) var(--space-3) var(--space-3);
  background: linear-gradient(0deg, rgba(7, 15, 28, 0.92) 0%, rgba(7, 15, 28, 0) 100%);
  color: var(--white);
  display: flex;
  flex-direction: column;
}
.card-tile-info strong { font-family: var(--font-display); font-size: 1.05rem; }
.card-tile-team {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-top: 2px;
}
.card-tile-info em { font-style: normal; font-size: 0.75rem; color: var(--gold-300); }

.gallery-note {
  margin-top: var(--space-5);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.product-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
.product-shots figure { margin: 0; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); aspect-ratio: 1100 / 1711; }
.product-shots img { width: 100%; height: 100%; object-fit: cover; }
.product-shots-caption {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 60ch;
  margin-inline: auto;
}

/* ==========================================================================
   Social Proof
   ========================================================================== */
.proof { background: var(--cream-200); }
.proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: center;
}
.proof-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}
.proof-media figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 3 / 4;
}
.proof-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.proof-copy p:not(.eyebrow) { color: var(--text-muted); margin-top: var(--space-3); max-width: 46ch; }
@media (min-width: 900px) {
  .proof-grid { grid-template-columns: 0.9fr 1.1fr; }
}

/* ==========================================================================
   Commission
   ========================================================================== */
.commission { background: var(--navy-950); color: var(--cream-100); }
.commission h2 { color: var(--white); }
.commission-copy p:not(.eyebrow) { color: var(--cream-200); margin-top: var(--space-3); max-width: 46ch; }
.commission-list {
  list-style: none;
  margin-top: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.commission-list li {
  padding-left: 28px;
  position: relative;
  color: var(--cream-200);
  font-size: 0.95rem;
}
.commission-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
}
.commission-direct { margin-top: var(--space-5); font-size: 0.95rem; }
.commission-direct a { color: var(--gold-400); text-decoration: underline; text-underline-offset: 3px; }

.commission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 900px) {
  .commission-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}

.commission-form {
  background: var(--cream-100);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-lift);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-weight: 600; font-size: 0.9rem; color: var(--navy-900); }
.form-row input, .form-row textarea {
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: var(--white);
  min-height: 44px;
  resize: vertical;
  transition: border-color var(--dur-fast) var(--ease-out);
}
.form-row input:focus, .form-row textarea:focus {
  border-color: var(--gold-500);
}
.form-row input:invalid[data-touched="true"],
.form-row textarea:invalid[data-touched="true"] {
  border-color: #b3413b;
}
.form-helper { font-size: 0.8rem; color: var(--text-muted); }
.form-error {
  font-size: 0.8rem;
  color: #b3413b;
  min-height: 1em;
}
.form-submit { width: 100%; margin-top: var(--space-2); }
.form-status {
  text-align: center;
  font-size: 0.9rem;
  color: var(--navy-800);
  min-height: 1.2em;
}
.form-privacy {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-950);
  color: var(--cream-300);
  padding-block: var(--space-6) var(--space-4);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--navy-700);
}
.footer-mark { height: 56px; width: auto; filter: brightness(0) invert(1); margin-bottom: var(--space-2); }
.footer-brand p { font-size: 0.85rem; color: var(--cream-300); opacity: 0.75; }
.footer-nav { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: flex-start; }
.footer-nav a { font-size: 0.9rem; opacity: 0.9; }
.footer-nav a:hover { color: var(--gold-400); }
.footer-contact { display: flex; flex-direction: column; gap: var(--space-2); align-items: flex-start; }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; opacity: 0.9; }
.footer-contact a:hover { color: var(--gold-400); }
.footer-bottom { padding-top: var(--space-4); font-size: 0.8rem; opacity: 0.6; }
.footer-legal { margin-top: 4px; font-size: 0.72rem; opacity: 0.8; }

@media (min-width: 720px) {
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; align-items: start; }
}

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-lightbox);
  background: rgba(7, 15, 28, 0.92);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}
.lightbox[hidden] { display: none; }
.lightbox-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  color: var(--white);
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.18); }
.lightbox-figure {
  margin: 0;
  max-width: min(90vw, 480px);
  text-align: center;
}
.lightbox-figure img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lift);
  max-height: 74dvh;
  width: auto;
  margin-inline: auto;
}
.lightbox-figure figcaption {
  margin-top: var(--space-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--cream-100);
}
.lightbox-figure strong { font-family: var(--font-display); font-size: 1.2rem; }
.lightbox-team {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.lightbox-figure em { font-style: normal; color: var(--gold-300); font-size: 0.85rem; }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
