/* ============================================================
   ROBERT BROWN PHOTOGRAPHY — styles.css
   High-end editorial astrophotography portfolio & print shop
   ============================================================ */

/* --- TOKENS ------------------------------------------------ */
:root {
  /* Brand — Cinematic Night Sky */
  --accent:        #c9a84c;
  --accent-alt:    #a8872e;
  --accent-dark:   #8b6f1f;
  --accent-light:  #e5d08a;
  --accent-glow:   rgba(201,168,76,0.15);
  --nova:          #7dd3fc;
  --nebula:        #a78bfa;

  /* Darks */
  --void:          #050510;
  --deep:          #0a0a1a;
  --ink:           #0d0d20;
  --slate:         #141428;
  --charcoal:      #1c1c35;
  --deep-space:    var(--ink);

  /* Lights */
  --cream:         #f8f6f0;
  --warm-white:    #faf9f6;
  --ivory:         #f0ede4;
  --sand:          #e8e4d8;

  /* Neutrals */
  --gray-100:      #f5f5f5;
  --gray-200:      #e5e5e5;
  --gray-300:      #d4d4d4;
  --gray-400:      #a3a3a3;
  --gray-500:      #737373;
  --gray-600:      #525252;
  --gray-700:      #404040;
  --gray-800:      #262626;
  --gray-900:      #171717;

  /* Semantic */
  --bg-dark:       var(--void);
  --bg-dark-alt:   var(--ink);
  --bg-light:      var(--cream);
  --bg-light-alt:  var(--warm-white);
  --fg-on-dark:    rgba(255,255,255,0.92);
  --fg-muted-dark: rgba(255,255,255,0.55);
  --fg-on-light:   #1a1a2e;
  --fg-muted-light:#6b6b7b;
  --border-dark:   rgba(255,255,255,0.06);
  --border-light:  rgba(0,0,0,0.08);

  /* Glass */
  --glass-dark:    rgba(10,10,26,0.88);
  --glass-light:   rgba(248,246,240,0.92);

  /* 4px Spacing Engine */
  --space-2xs:  0.125rem;  /*  2px */
  --space-xs:   0.25rem;   /*  4px */
  --space-sm:   0.5rem;    /*  8px */
  --space-md:   1rem;      /* 16px */
  --space-lg:   1.5rem;    /* 24px */
  --space-xl:   2rem;      /* 32px */
  --space-2xl:  3rem;      /* 48px */
  --space-3xl:  4rem;      /* 64px */
  --space-4xl:  6rem;      /* 96px */
  --space-5xl:  8rem;      /* 128px */
  --space-6xl:  12rem;     /* 192px */

  /* Typography — modern geometric (Syne + Outfit) */
  --font-body:    'Outfit', system-ui, sans-serif;
  --font-display: 'Syne', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', monospace;
  --tracking-tight:  -0.02em;
  --tracking-wide:    0.08em;

  --text-xs:   clamp(0.7rem,   0.65rem + 0.25vw, 0.8rem);
  --text-sm:   clamp(0.8rem,   0.75rem + 0.3vw,  0.9rem);
  --text-base: clamp(0.95rem,  0.88rem + 0.4vw,  1.05rem);
  --text-lg:   clamp(1.05rem,  0.95rem + 0.5vw,  1.2rem);
  --text-xl:   clamp(1.2rem,   1.05rem + 0.7vw,  1.5rem);
  --text-2xl:  clamp(1.5rem,   1.2rem + 1.2vw,   2.2rem);
  --text-3xl:  clamp(2rem,     1.5rem + 2vw,     3.2rem);
  --text-4xl:  clamp(2.5rem,   1.8rem + 3vw,     4.5rem);
  --text-5xl:  clamp(3.2rem,   2.2rem + 4vw,     6rem);

  /* Misc */
  --radius-sm:     4px;
  --radius-md:     8px;
  --radius-lg:     12px;
  --radius-xl:     20px;
  --radius-full:   9999px;

  --shadow-subtle: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-card:   0 4px 24px rgba(0,0,0,0.12);
  --shadow-elevated: 0 12px 48px rgba(0,0,0,0.2);
  --shadow-glow:   0 0 40px var(--accent-glow);

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* --- RESET ------------------------------------------------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; }
ul, ol { list-style: none; }

/* --- BASE -------------------------------------------------- */
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--fg-on-dark);
  background: var(--bg-dark);
  line-height: 1.65;
  min-height: 100vh;
  letter-spacing: 0.01em;
}

/* --- A11Y -------------------------------------------------- */
.skip-link {
  position: absolute; top: -100px; left: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: var(--accent); color: var(--void);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 700; z-index: 9999; transition: top 0.2s;
}
.skip-link:focus { top: 0; }
#main-content { scroll-margin-top: 80px; }

/* --- BACK TO TOP (fixed, bottom-right) --------------------- */
.back-to-top {
  position: fixed;
  right: calc(var(--space-md) + env(safe-area-inset-right, 0px));
  bottom: calc(var(--space-md) + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  width: 48px;
  height: 48px;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  background: rgba(5, 5, 16, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.35s var(--ease-out-expo), transform 0.35s var(--ease-out-expo), visibility 0.35s,
    background 0.25s, color 0.25s, border-color 0.25s;
}
.back-to-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: rgba(201, 168, 76, 0.18);
  color: var(--accent-light);
  border-color: rgba(201, 168, 76, 0.45);
}
.back-to-top:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.back-to-top svg {
  width: 22px;
  height: 22px;
  display: block;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- NAVBAR ------------------------------------------------ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  transition: background 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}
.navbar--scrolled {
  background: rgba(5,5,16,0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border-dark);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  max-width: 1400px; margin: 0 auto;
}
.navbar-brand {
  display: flex; align-items: center;
}
.navbar-logo {
  height: clamp(52px, 6vw, 68px);
  width: auto;
  max-width: 80px;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.5)) drop-shadow(0 1px 3px rgba(0,0,0,0.3));
}
.navbar-logo-text {
  font-family: var(--font-display);
  font-size: var(--text-lg); font-weight: 500;
  color: var(--cream); letter-spacing: 0.02em;
}
.navbar-brand--text {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.03em;
}
.navbar-brand--text:hover {
  color: var(--accent);
}
.navbar-toggle {
  display: block; background: none; border: none;
  font-size: 1.4rem; padding: var(--space-sm);
  color: var(--fg-on-dark);
}
.navbar-mobile { display: none; margin-left: auto; }
.navbar .navbar-brand { flex-shrink: 0; }
.navbar-mobile a {
  padding: var(--space-sm) var(--space-md);
  font-weight: 400; font-size: var(--text-sm);
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--fg-muted-dark);
  transition: color 0.3s;
}
.navbar-mobile a:hover,
.navbar-mobile a[aria-current="page"] { color: var(--accent); }
@media (min-width: 768px) {
  .navbar-toggle { display: none; }
  .navbar-mobile { display: flex; gap: var(--space-xs); align-items: center; }
}
.navbar-mobile.active {
  display: flex; flex-direction: column;
  position: absolute; top: 100%; left: 0; right: 0;
  background: rgba(5,5,16,0.97);
  backdrop-filter: blur(20px);
  padding: var(--space-lg) var(--space-xl);
  border-bottom: 1px solid var(--border-dark);
}

/* --- HERO — CINEMATIC FULL-BLEED --------------------------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
/* Film grain texture overlay */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}
/* Vignette + bottom fade */
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, transparent 0%, rgba(5,5,16,0.3) 100%),
    linear-gradient(to bottom,
      rgba(5,5,16,0.1) 0%,
      transparent 25%,
      transparent 50%,
      rgba(5,5,16,0.6) 75%,
      rgba(5,5,16,0.95) 100%
    );
}
/* Planetarium fallback when no hero image — layered depth */
.hero-bg.planetarium-bg {
  background:
    radial-gradient(ellipse 100% 60% at 70% 30%, rgba(126,34,206,0.15) 0%, transparent 50%),
    radial-gradient(ellipse 120% 80% at 30% 60%, rgba(30,58,138,0.2) 0%, transparent 45%),
    radial-gradient(ellipse 140% 100% at 50% 20%,
      #1e1b4b 0%, #0f172a 30%, #0d0d20 55%, var(--void) 100%);
}
.hero-bg.planetarium-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 15% 25%, rgba(255,255,255,0.5) 0%, transparent 50%),
    radial-gradient(1.5px 1.5px at 55% 65%, rgba(255,255,255,0.35) 0%, transparent 50%),
    radial-gradient(1px 1px at 78% 18%, rgba(201,168,76,0.3) 0%, transparent 50%),
    radial-gradient(1px 1px at 35% 82%, rgba(255,255,255,0.25) 0%, transparent 50%);
  background-size: 180px 180px, 250px 250px, 200px 200px, 300px 300px;
  pointer-events: none; opacity: 0.7;
}

.hero-inner {
  position: relative; z-index: 2;
  max-width: 700px;
  padding: 0 var(--space-xl) var(--space-5xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-logo {
  width: clamp(140px, 18vw, 200px);
  height: auto;
  margin-bottom: var(--space-xl);
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.5)) drop-shadow(0 2px 8px rgba(0,0,0,0.4));
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .hero-inner { padding: 0 var(--space-3xl) var(--space-5xl); }
}
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-lg);
  display: block;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.hero-headline {
  font-family: var(--font-display); color: var(--cream);
  font-size: var(--text-5xl); line-height: 1.0;
  font-weight: 600;
  margin-bottom: var(--space-xl);
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6), 0 1px 4px rgba(0,0,0,0.4);
}
.hero-sub {
  color: rgba(255,255,255,0.85);
  font-size: var(--text-lg);
  margin-bottom: var(--space-2xl);
  max-width: 480px;
  margin-left: auto;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
  margin-right: auto;
  line-height: 1.75;
  font-weight: 300;
}
.hero-ctas,
.landing-ctas {
  display: flex; gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}
.landing-download-footnote {
  margin-top: var(--space-lg);
  text-align: center;
  font-size: var(--text-xs);
}
.landing-download-footnote a {
  color: var(--accent);
  text-decoration: none;
}
.landing-download-footnote a:hover { text-decoration: underline; }
.hero .btn--outline {
  border-color: rgba(255,255,255,0.25); color: rgba(255,255,255,0.85);
}
.hero .btn--outline:hover {
  background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.4);
}
.hero-scroll-hint {
  position: absolute; bottom: var(--space-xl); left: 50%;
  transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: var(--space-sm);
  color: rgba(255,255,255,0.3);
  font-size: var(--text-xs); letter-spacing: 3px; text-transform: uppercase;
}
.hero-scroll-hint::after {
  content: ''; width: 1px; height: 32px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scroll-line 2s ease infinite;
}
@keyframes scroll-line {
  0% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.5); }
  100% { opacity: 1; transform: scaleY(1); }
}

/* --- LANDING: FULL-PAGE BG + FLOATING SECTIONS ------------ */
.landing-main {
  position: relative;
  min-height: 100vh;
}
.landing-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--void);
}
.landing-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* Background image shown clean — no overlays for clarity */
.landing-bg::before,
.landing-bg::after {
  display: none;
}
.hero--overlay {
  background: none;
  position: relative;
  z-index: 1;
}
.hero--overlay::before,
.hero--overlay::after {
  display: none;
}

/* --- HOME PAGE — contrast over bright photo (nav + hero text) --------- */
.page-home .navbar:not(.navbar--scrolled) {
  background: linear-gradient(
    180deg,
    rgba(5, 5, 16, 0.92) 0%,
    rgba(5, 5, 16, 0.55) 45%,
    rgba(5, 5, 16, 0) 100%
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.page-home .navbar-mobile a {
  color: rgba(255, 255, 255, 0.96);
  text-shadow:
    0 0 1px rgba(0, 0, 0, 1),
    0 1px 4px rgba(0, 0, 0, 0.9),
    0 0 18px rgba(0, 0, 0, 0.55);
}
.page-home .navbar-mobile a:hover,
.page-home .navbar-mobile a[aria-current="page"] {
  color: var(--accent-light);
  text-shadow:
    0 0 1px rgba(0, 0, 0, 1),
    0 1px 4px rgba(0, 0, 0, 0.85);
}
.page-home .navbar-toggle {
  color: var(--cream);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 12px rgba(0, 0, 0, 0.45));
}

/* Readability scrim: darkens top + center (headline vs bright sky / flag) */
.landing-main .hero.hero--overlay::after {
  display: block;
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(5, 5, 16, 0.5) 0%,
      rgba(5, 5, 16, 0.22) 22%,
      rgba(5, 5, 16, 0.08) 42%,
      transparent 58%
    ),
    radial-gradient(
      ellipse 100% 75% at 50% 38%,
      rgba(5, 5, 16, 0.42) 0%,
      rgba(5, 5, 16, 0.12) 52%,
      transparent 72%
    );
}

/* Landing home hero — primary CTAs under eyebrow, top-aligned (mobile-first) */
.landing-main .hero.hero--overlay {
  align-items: flex-start;
  justify-content: center;
}
.landing-main .hero.hero--overlay .hero-inner {
  position: relative;
  z-index: 2;
  padding-top: calc(80px + env(safe-area-inset-top, 0px));
  padding-bottom: var(--space-4xl);
}
@media (min-width: 768px) {
  .landing-main .hero.hero--overlay .hero-inner {
    padding-top: calc(88px + env(safe-area-inset-top, 0px));
    padding-bottom: var(--space-5xl);
  }
}
.hero-ctas--hero-top {
  margin-bottom: var(--space-xl);
}
.landing-main .hero.hero--overlay .hero-eyebrow {
  margin-bottom: var(--space-md);
  color: var(--accent-light);
  text-shadow:
    0 0 1px rgba(0, 0, 0, 1),
    0 1px 3px rgba(0, 0, 0, 1),
    0 2px 12px rgba(0, 0, 0, 0.85);
}
.landing-main .hero.hero--overlay .hero-headline {
  text-shadow:
    0 0 1px rgba(0, 0, 0, 1),
    0 1px 2px rgba(0, 0, 0, 1),
    0 2px 8px rgba(0, 0, 0, 1),
    0 6px 28px rgba(0, 0, 0, 0.85),
    0 12px 48px rgba(0, 0, 0, 0.45);
}
.landing-main .hero.hero--overlay .hero-sub {
  text-shadow:
    0 0 1px rgba(0, 0, 0, 0.9),
    0 2px 10px rgba(0, 0, 0, 0.75),
    0 4px 24px rgba(0, 0, 0, 0.4);
}
.landing-main .hero.hero--overlay .btn--primary {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}
.landing-main .hero.hero--overlay .btn--outline {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}
.landing-main .hero.hero--overlay .btn--outline:hover {
  color: var(--void);
  text-shadow: none;
}
/* Centered workspace column — GVEC-style (55–65% width) */
.landing-sections {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4xl);
  max-width: 860px;
  margin: 0 auto;
  padding: var(--space-4xl) var(--space-xl) var(--space-5xl);
}
@media (min-width: 768px) {
  .landing-sections {
    gap: var(--space-5xl);
    padding: var(--space-5xl) var(--space-2xl) var(--space-6xl);
  }
}

/* Open landing layout — no stacked glass cards */
.landing-sections--open {
  gap: var(--space-3xl);
  max-width: 1100px;
  padding-top: var(--space-3xl);
}
@media (min-width: 768px) {
  .landing-sections--open {
    gap: var(--space-4xl);
    padding-top: var(--space-4xl);
  }
}

.landing-band {
  width: 100%;
  padding: 0 var(--space-sm);
}
.landing-band__inner {
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
}
.landing-band__eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--space-sm);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}
.landing-band__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.05rem + 1.2vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--cream);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}
.landing-band__lede {
  margin-top: var(--space-md);
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--text-base);
  line-height: 1.75;
  font-weight: 300;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}
.landing-band__actions {
  margin-top: var(--space-xl);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-md);
  justify-content: center;
  align-items: center;
}
.landing-band__meta {
  margin-top: var(--space-lg);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}
.landing-band__meta a {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.landing-band__meta a:hover {
  color: var(--cream);
}
.landing-band__dot {
  display: inline-block;
  margin: 0 var(--space-sm);
  opacity: 0.5;
  user-select: none;
}
.landing-band .btn--outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.92);
}
.landing-band .btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
  color: var(--accent);
}

.landing-divider {
  width: 100%;
  max-width: 12rem;
  height: 2px;
  margin: 0;
  border: none;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.45), transparent);
  opacity: 0.85;
}

.landing-spotlight {
  width: 100%;
  padding: 0;
}
.landing-spotlight--categories {
  padding-bottom: var(--space-2xl);
}
.landing-section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto var(--space-xl);
  padding: 0 var(--space-sm);
}
.landing-section-head .section-eyebrow {
  color: var(--accent);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}
.landing-section-head .section-heading {
  color: var(--cream);
  margin-bottom: var(--space-sm);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}
.landing-section-head .section-subtitle {
  color: rgba(255, 255, 255, 0.78);
  max-width: 36rem;
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}
.landing-spotlight .featured-grid {
  gap: var(--space-md);
}
.landing-spotlight .category-bento {
  margin-top: 0;
}
.landing-float {
  position: relative;
  width: 100%;
}
.landing-glass {
  background: rgba(5,5,16,0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-xl);
  color: var(--cream);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.landing-glass .section-heading {
  color: var(--cream);
  margin-bottom: var(--space-lg);
}
.landing-glass .section-subtitle,
.landing-glass p {
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--space-xl);
  line-height: 1.75;
  font-weight: 300;
}
.landing-glass .btn--outline {
  border-color: rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.95);
}
.landing-glass .btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--accent);
  color: var(--accent);
}
.landing-glass .section-eyebrow {
  color: var(--accent);
}
.landing-glass--wide {
  padding: var(--space-2xl) var(--space-xl);
}
.landing-glass--wide .featured-grid,
.landing-glass--wide .bento-container {
  margin-top: var(--space-xl);
}
.landing-glass--form {
  max-width: 560px;
  margin: 0 auto;
}
.landing-glass--form .form-group label {
  color: rgba(255,255,255,0.9);
}
.landing-glass--form input,
.landing-glass--form select,
.landing-glass--form textarea {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--cream);
}
.landing-glass--form input::placeholder,
.landing-glass--form textarea::placeholder {
  color: rgba(255,255,255,0.4);
}
.landing-glass--form input:focus,
.landing-glass--form select:focus,
.landing-glass--form textarea:focus {
  border-color: var(--accent);
  outline: none;
}
/* Featured/Category grids inside workspace — fit column */
.landing-glass--wide .featured-grid { gap: var(--space-md); }
/* Footer solid over landing bg */
main.landing-main ~ .site-footer {
  position: relative;
  z-index: 2;
}

/* --- SECTION DIVIDERS — varied, non-parallel -------------- */
.section-divider {
  height: 2px;
  margin: 0;
  padding: 0;
  border: none;
  background: linear-gradient(95deg, transparent 0%, rgba(201,168,76,0.15) 20%, var(--accent) 50%, rgba(201,168,76,0.15) 80%, transparent 100%);
  opacity: 0.6;
}
.section-divider--diagonal {
  height: 4px;
  background: linear-gradient(105deg, transparent 10%, var(--accent) 50%, transparent 90%);
  opacity: 0.4;
}
.section-divider--soft {
  height: 1px;
  background: radial-gradient(ellipse 80% 1px at 50% 0%, var(--accent), transparent);
  opacity: 0.35;
}
.section-divider--thick {
  height: 3px;
  opacity: 0.5;
}

/* --- DECORATIVE SILHOUETTES -------------------------------- */
.section-silhouette {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  pointer-events: none;
  opacity: 0.06;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath fill='%23050510' d='M0 120 L0 80 Q200 40 400 80 T800 60 T1200 100 L1200 120 Z'/%3E%3Cpath fill='%23050510' d='M0 120 L0 100 Q300 60 600 90 T1200 110 L1200 120 Z' opacity='0.7'/%3E%3C/svg%3E") bottom center no-repeat;
  background-size: 100% 120px;
}
.s-light .section-silhouette,
.s-light-alt .section-silhouette {
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath fill='%231a1a2e' d='M0 120 L0 80 Q200 40 400 80 T800 60 T1200 100 L1200 120 Z'/%3E%3C/svg%3E");
}
.divider-rule {
  width: 48px;
  height: 2px;
  background: var(--accent);
  border: none;
  margin: var(--space-2xl) 0;
}
.s-light .divider-rule,
.s-light-alt .divider-rule {
  background: var(--accent-dark);
}

/* --- SECTION SYSTEM — varied gradients, depth --------------- */
.s-dark {
  background:
    radial-gradient(ellipse 120% 80% at 20% 20%, rgba(30,27,75,0.4) 0%, transparent 50%),
    linear-gradient(165deg, var(--void) 0%, var(--ink) 50%, var(--charcoal) 100%);
  color: var(--fg-on-dark);
  --section-muted: var(--fg-muted-dark);
  --section-border: var(--border-dark);
  --section-card-bg: rgba(255,255,255,0.03);
  --section-card-border: rgba(255,255,255,0.06);
  --section-card-hover: rgba(255,255,255,0.08);
}
.s-dark-alt {
  background:
    radial-gradient(ellipse 100% 60% at 80% 80%, rgba(139,111,31,0.08) 0%, transparent 45%),
    linear-gradient(15deg, var(--ink) 0%, var(--charcoal) 40%, var(--slate) 100%);
  color: var(--fg-on-dark);
  --section-muted: var(--fg-muted-dark);
  --section-border: var(--border-dark);
  --section-card-bg: rgba(255,255,255,0.03);
  --section-card-border: rgba(255,255,255,0.06);
  --section-card-hover: rgba(255,255,255,0.08);
}
.s-light {
  background:
    linear-gradient(145deg, var(--cream) 0%, var(--warm-white) 60%, var(--ivory) 100%);
  color: var(--fg-on-light);
  --section-muted: var(--fg-muted-light);
  --section-border: var(--border-light);
  --section-card-bg: var(--warm-white);
  --section-card-border: rgba(0,0,0,0.06);
  --section-card-hover: var(--ivory);
}
.s-light-alt {
  background:
    radial-gradient(ellipse 90% 70% at 70% 30%, rgba(201,168,76,0.04) 0%, transparent 50%),
    linear-gradient(195deg, var(--warm-white) 0%, var(--sand) 100%);
  color: var(--fg-on-light);
  --section-muted: var(--fg-muted-light);
  --section-border: var(--border-light);
  --section-card-bg: white;
  --section-card-border: rgba(0,0,0,0.06);
  --section-card-hover: var(--cream);
}

.section {
  padding: var(--space-6xl) var(--space-xl);
  position: relative;
}
@media (min-width: 768px) {
  .section {
    padding: var(--space-6xl) var(--space-2xl);
  }
}
@media (min-width: 1024px) {
  .section {
    padding: var(--space-6xl) var(--space-3xl);
  }
}
.section--compact { padding: var(--space-4xl) var(--space-xl); }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-inner--narrow { max-width: 640px; }
.section-inner--wide { max-width: 1400px; }

/* Section headers — editorial style */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-md);
  display: block;
}
.s-light .section-eyebrow,
.s-light-alt .section-eyebrow {
  color: var(--accent-dark);
}
.section-heading {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: var(--space-md);
}
.section-subtitle {
  color: var(--section-muted);
  max-width: 520px;
  font-size: var(--text-base);
  line-height: 1.7;
  margin-bottom: var(--space-3xl);
  font-weight: 300;
}
.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }
.gallery-planetarium-cta {
  margin-bottom: var(--space-3xl);
}
.gallery-planetarium-cta .btn { margin-top: var(--space-sm); }

/* Horizontal rule divider */
.section-rule {
  width: 48px; height: 1px;
  background: var(--accent);
  border: none;
  margin-bottom: var(--space-2xl);
}
.text-center .section-rule { margin-left: auto; margin-right: auto; }

/* --- BUTTONS ----------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  font-family: var(--font-body); font-size: var(--text-sm);
  font-weight: 500; letter-spacing: 1px; text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
  text-align: center;
}
.btn--primary {
  background: var(--accent); color: var(--void);
  border-color: var(--accent);
}
.btn--primary:hover {
  background: var(--accent-alt); border-color: var(--accent-alt);
  box-shadow: var(--shadow-glow);
}
.btn--outline {
  background: transparent; color: var(--accent);
  border-color: var(--accent);
}
.btn--outline:hover {
  background: var(--accent); color: var(--void);
}
.btn--ghost {
  background: transparent;
  color: var(--section-muted);
  border-color: var(--section-border);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--full { width: 100%; }
.btn--sm { padding: 10px 20px; font-size: var(--text-xs); }

/* --- FEATURED WORK GRID ----------------------------------- */
.featured-grid {
  display: grid; gap: 2px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .featured-grid { grid-template-columns: repeat(4, 1fr); }
}
.featured-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  display: block;
  background: var(--slate);
}
.featured-card__fallback {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(145deg, var(--charcoal) 0%, var(--ink) 100%);
}
.featured-card img { position: absolute; inset: 0; z-index: 1; }
.featured-card__overlay { z-index: 2; }
.featured-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo), opacity 0.6s;
}
.featured-card:hover img { transform: scale(1.08); }
.featured-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,5,16,0.85) 0%, rgba(5,5,16,0.1) 50%, transparent 100%);
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-xl);
  transition: background 0.4s;
}
.featured-card:hover .featured-card__overlay {
  background: linear-gradient(to top, rgba(5,5,16,0.9) 0%, rgba(5,5,16,0.2) 60%, transparent 100%);
}
.featured-card__category {
  font-size: var(--text-xs);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: var(--space-xs);
}
.featured-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl); font-weight: 600;
  color: var(--cream);
}

/* --- SPLIT ROW (About teaser) ------------------------------ */
.split-row {
  display: grid; gap: var(--space-3xl); align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .split-row { grid-template-columns: 1fr 1fr; }
}
.split-row__image {
  position: relative;
  min-height: 320px;
  background:
    linear-gradient(135deg, rgba(201,168,76,0.08) 0%, transparent 50%),
    linear-gradient(180deg, var(--charcoal) 0%, var(--slate) 50%, var(--ink) 100%);
}
.s-light .split-row__image,
.s-light-alt .split-row__image {
  background:
    linear-gradient(135deg, rgba(139,111,31,0.06) 0%, transparent 50%),
    linear-gradient(180deg, var(--ivory) 0%, var(--sand) 100%);
}
.split-row__image img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  min-height: 320px;
}
.split-row__image img[src=""],
.split-row__image img[style*="display: none"] {
  display: none;
}
/* Gold accent border on image */
.split-row__image::after {
  content: ''; position: absolute;
  top: var(--space-lg); left: var(--space-lg);
  right: calc(var(--space-lg) * -1); bottom: calc(var(--space-lg) * -1);
  border: 1px solid var(--accent);
  pointer-events: none; z-index: -1;
}
.split-row__content .section-heading { text-align: left; }
.split-row__content .section-rule { margin-left: 0; }
.split-row__content p {
  color: var(--section-muted);
  line-height: 1.8; font-weight: 300;
  margin-bottom: var(--space-xl);
}

/* --- CATEGORY / BENTO GRID -------------------------------- */
.bento-grid {
  display: grid; gap: 2px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(3, 1fr); }
}
.bento-card {
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--space-2xl) var(--space-xl);
  min-height: 200px;
  background: var(--section-card-bg);
  border: 1px solid var(--section-card-border);
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}
.bento-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--accent-glow), transparent 60%);
  opacity: 0; transition: opacity 0.4s;
}
.bento-card:hover::before { opacity: 1; }
.bento-card:hover { border-color: rgba(201,168,76,0.2); }
.bento-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl); font-weight: 600;
  color: var(--accent);
  margin-bottom: var(--space-sm);
  position: relative;
}
.bento-card p {
  color: var(--section-muted);
  font-size: var(--text-sm); line-height: 1.6;
  position: relative;
}

/* Bento aliases for index (bento-container / bento-item) */
.bento-container {
  display: grid; gap: var(--space-lg);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .bento-container { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .bento-container { grid-template-columns: repeat(3, 1fr); } }

/* Category bento — asymmetric grid */
.category-bento {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
  margin-top: var(--space-xl);
}
@media (min-width: 640px) {
  .category-bento { grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
}
@media (min-width: 1024px) {
  .category-bento {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: var(--space-lg);
  }
  .category-card--hero { grid-column: span 2; grid-row: span 2; }
  .category-card--large { grid-column: span 2; }
  .category-card--wide { grid-column: span 2; }
}

/* Category cards — image-forward, modern */
.category-card {
  position: relative; overflow: hidden;
  display: block;
  aspect-ratio: 4/3;
  min-height: 160px;
  background: var(--charcoal);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s, border-color 0.3s;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
  border-color: rgba(201,168,76,0.2);
}
.category-card--hero { aspect-ratio: 4/3; }
@media (min-width: 1024px) {
  .category-card--hero { aspect-ratio: auto; min-height: 320px; }
}
.category-card--large { aspect-ratio: 3/2; }
.category-card--wide { aspect-ratio: 2/1; }
.category-card img {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}
.category-card:hover img { transform: scale(1.04); }
.category-card__img-fallback {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--ink) 100%);
}
.category-card__overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to top, rgba(5,5,16,0.88) 0%, rgba(5,5,16,0.2) 45%, transparent 70%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--space-lg);
  transition: background 0.4s;
}
.category-card:hover .category-card__overlay {
  background: linear-gradient(to top, rgba(5,5,16,0.92) 0%, rgba(5,5,16,0.25) 55%, transparent 75%);
}
.category-card__overlay { z-index: 2; }
.category-card__badge {
  display: inline-block; align-self: flex-start;
  font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; color: var(--accent);
  background: rgba(201,168,76,0.15);
  padding: var(--space-xs) var(--space-sm); border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
}
.category-card__cat { font-size: var(--text-xs); color: var(--accent); text-transform: uppercase; letter-spacing: 2px; margin-bottom: var(--space-xs); font-weight: 600; }
.category-card__title { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600; color: var(--cream); }
.category-card__desc { font-family: var(--font-body); font-size: var(--text-sm); color: rgba(255,255,255,0.7); margin-top: var(--space-xs); line-height: 1.5; }
.category-card--hero .category-card__title { font-size: var(--text-2xl); }

/* Bento — text-only and image-driven */
.bento-item {
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--space-2xl) var(--space-xl);
  min-height: 180px;
  background: var(--section-card-bg);
  border: 1px solid var(--section-card-border);
  transition: all 0.4s var(--ease-out-expo);
  position: relative; overflow: hidden;
  text-decoration: none; color: inherit;
}
/* Image-driven bento cards with overlay */
.bento-item--img {
  min-height: 220px;
  background-color: var(--charcoal);
  background-size: cover;
  background-position: center;
}
.bento-item--img .bento-item__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,5,16,0.9) 0%, rgba(5,5,16,0.4) 40%, transparent 70%);
  transition: background 0.4s;
}
.bento-item--img:hover .bento-item__overlay {
  background: linear-gradient(to top, rgba(5,5,16,0.92) 0%, rgba(5,5,16,0.5) 50%, transparent 80%);
}
.bento-item--img h3,
.bento-item--img p {
  position: relative; z-index: 1;
  color: var(--cream);
}
.bento-item--img h3 { color: var(--accent); }
.bento-item--img:hover {
  transform: translateY(-2px);
  border-color: rgba(201,168,76,0.3);
}
.bento-item::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--accent-glow), transparent 60%);
  opacity: 0; transition: opacity 0.4s;
}
.bento-item:hover { border-color: rgba(201,168,76,0.25); }
.bento-item:hover::before { opacity: 1; }
.bento-item h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl); font-weight: 600;
  color: var(--accent);
  margin-bottom: var(--space-sm);
  position: relative;
}
.bento-item p { color: var(--section-muted); font-size: var(--text-sm); line-height: 1.6; position: relative; }

/* --- CTA BANNER -------------------------------------------- */
/* Page heroes — shop, about */
.shop-hero, .about-hero {
  padding: var(--space-5xl) var(--space-xl);
  min-height: 40vh;
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
}
/* Cinematic hero — planetarium gradient + film grain + vignette */
.shop-hero--cinematic,
.about-hero--cinematic {
  background:
    radial-gradient(ellipse 100% 60% at 70% 30%, rgba(126,34,206,0.12) 0%, transparent 50%),
    radial-gradient(ellipse 120% 80% at 30% 60%, rgba(30,58,138,0.18) 0%, transparent 45%),
    radial-gradient(ellipse 140% 100% at 50% 20%,
      #1e1b4b 0%, #0f172a 30%, #0d0d20 55%, var(--void) 100%);
}
.shop-hero--cinematic::before,
.about-hero--cinematic::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g2'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g2)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
}
.shop-hero--cinematic::after,
.about-hero--cinematic::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, transparent 40%, rgba(5,5,16,0.6) 100%);
  pointer-events: none;
}
.shop-hero .section-inner,
.about-hero .section-inner {
  position: relative; z-index: 1;
  max-width: 720px;
}
.shop-hero h1, .about-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--cream);
}
.shop-hero p, .about-hero p {
  color: var(--fg-muted-dark);
  font-size: var(--text-lg);
  line-height: 1.7;
  font-weight: 300;
}

.cta-banner {
  padding: var(--space-6xl) var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, var(--accent-glow), transparent);
  pointer-events: none;
}
.cta-inner {
  max-width: 560px; margin: 0 auto;
  position: relative;
}
.cta-banner .section-heading { margin-bottom: var(--space-md); }
.cta-banner p {
  color: var(--fg-muted-dark);
  margin-bottom: var(--space-2xl);
  font-weight: 300; line-height: 1.75;
}

/* --- PLANETARIUM GALLERY ----------------------------------- */
#starfield-canvas {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.navbar, .gallery-page, .gallery-planetarium, .site-footer {
  position: relative; z-index: 1;
}
.gallery-page,
.gallery-planetarium {
  background: rgba(5, 5, 16, 0.5);
  padding: var(--space-5xl) var(--space-xl) var(--space-4xl);
  min-height: 80vh;
}

/* Masonry gallery grid — with hierarchy: first card larger */
.gallery-masonry {
  columns: 1; column-gap: 12px;
  max-width: 1400px; margin: 0 auto;
}
@media (min-width: 640px)  { .gallery-masonry { columns: 2; } }
@media (min-width: 1024px) { .gallery-masonry { columns: 3; } }
@media (min-width: 1600px) { .gallery-masonry { columns: 4; } }

.gallery-featured {
  margin-bottom: var(--space-3xl);
  position: relative;
}
.gallery-card--featured {
  display: block;
  aspect-ratio: 21/9;
  max-height: 55vh;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(201,168,76,0.2);
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}
.gallery-card--featured::before {
  content: '';
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
  pointer-events: none;
}
.gallery-card--featured img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.gallery-card--featured .gallery-card__overlay {
  background: linear-gradient(to top, rgba(5,5,16,0.92) 0%, rgba(5,5,16,0.2) 40%, transparent 70%);
}

.gallery-card {
  position: relative; overflow: hidden;
  display: block; break-inside: avoid;
  margin-bottom: 8px;
  background: var(--slate);
  cursor: pointer;
}
.gallery-card img {
  width: 100%; height: auto; display: block;
  transition: transform 0.7s var(--ease-out-expo);
}
.gallery-card:hover img { transform: scale(1.04); }
.gallery-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,5,16,0.85) 0%, transparent 50%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--space-lg);
  opacity: 0; transition: opacity 0.4s;
}
.gallery-card:hover .gallery-card__overlay,
.gallery-card:focus-visible .gallery-card__overlay { opacity: 1; }
.gallery-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg); font-weight: 600;
  color: var(--cream);
}
.gallery-card__category {
  font-size: var(--text-xs); color: var(--accent);
  text-transform: uppercase; letter-spacing: 3px;
  margin-top: var(--space-xs);
}
.gallery-card:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}

/* Gallery filters */
.gallery-filters {
  display: flex; gap: var(--space-sm);
  flex-wrap: wrap; justify-content: center;
  margin-bottom: var(--space-3xl);
}
.gallery-filters button {
  padding: 8px 20px;
  background: transparent;
  border: 1px solid var(--border-dark);
  border-radius: 0;
  color: var(--fg-muted-dark);
  font-size: var(--text-xs); font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase;
  font-family: var(--font-body);
  transition: all 0.3s;
}
.gallery-filters button:hover { border-color: var(--accent); color: var(--accent); }
.gallery-filters button[aria-pressed="true"] {
  background: var(--accent); color: var(--void);
  border-color: var(--accent);
}

/* Gallery — topic / keyword search */
.gallery-search-banner {
  max-width: 720px;
  margin: 0 auto var(--space-xl);
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  text-align: center;
}
.gallery-search-banner__text {
  margin: 0 0 var(--space-md);
  font-size: var(--text-sm);
  color: var(--fg-muted-dark);
  line-height: 1.5;
}
.gallery-search-banner__actions {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}
.gallery-search {
  max-width: 560px;
  margin: 0 auto var(--space-md);
}
.gallery-search__label {
  display: block;
  font-size: var(--text-xs);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-sm);
  text-align: center;
}
.gallery-search__row {
  display: flex;
  gap: var(--space-sm);
  align-items: stretch;
}
.gallery-search__row input[type="search"] {
  flex: 1;
  min-width: 0;
  padding: var(--space-sm) var(--space-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: var(--text-sm);
}
.gallery-search__row input[type="search"]::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.gallery-search__row input[type="search"]:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.gallery-search-hint {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--fg-muted-dark);
  margin: 0 0 var(--space-3xl);
  line-height: 1.6;
}
.gallery-search-hint a {
  color: var(--accent);
  text-decoration: none;
}
.gallery-search-hint a:hover { text-decoration: underline; }

/* Navbar — quick search → gallery */
.site-search {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin: 0;
  padding: 0;
  border: none;
}
.site-search input[type="search"] {
  width: min(200px, 36vw);
  padding: var(--space-xs) var(--space-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: var(--text-xs);
}
.site-search input[type="search"]::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.site-search input[type="search"]:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.site-search__submit {
  padding: var(--space-xs) var(--space-sm);
  background: transparent;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  color: var(--fg-muted-dark);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--font-body);
  transition: border-color 0.2s, color 0.2s;
}
.site-search__submit:hover {
  border-color: var(--accent);
  color: var(--accent);
}
@media (max-width: 767px) {
  .navbar-mobile .site-search {
    width: 100%;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-dark);
  }
  .site-search input[type="search"] {
    flex: 1;
    width: auto;
    min-width: 0;
  }
}

/* Shop — topic banner (from gallery search) */
.shop-topic-banner {
  max-width: 640px;
  margin: 0 auto var(--space-xl);
  padding: var(--space-lg);
  background: rgba(197, 160, 89, 0.08);
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: var(--radius-md);
  text-align: center;
}
.shop-topic-banner__text {
  margin: 0 0 var(--space-md);
  font-size: var(--text-sm);
  color: var(--fg-primary);
  line-height: 1.55;
}
.shop-topic-banner__text strong {
  color: var(--fg-primary);
}

/* --- LIGHTBOX ---------------------------------------------- */
dialog#lightbox {
  padding: 0; border: none; background: transparent;
  color: var(--cream);
  max-width: 100vw; width: 100%;
  height: 100dvh; max-height: 100dvh;
  overflow: hidden;
}
dialog#lightbox::backdrop {
  background: rgba(0, 0, 0, 0.97);
}
.lightbox-inner {
  position: relative; width: 100%; height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-3xl) var(--space-xl);
}
#lightbox-close {
  position: absolute; top: var(--space-lg); right: var(--space-xl);
  background: none; border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; z-index: 10;
  transition: all 0.3s;
}
#lightbox-close:hover { border-color: var(--accent); color: var(--accent); }
.lightbox-nav {
  position: absolute; top: 50%; z-index: 10;
  background: none; border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; transform: translateY(-50%);
  transition: all 0.3s;
}
.lightbox-nav:hover { border-color: var(--accent); color: var(--accent); }
.lightbox-nav--prev { left: var(--space-lg); }
.lightbox-nav--next { right: var(--space-lg); }
.lightbox-figure {
  display: flex; flex-direction: column; align-items: center;
  gap: var(--space-xl);
  max-width: min(90vw, 1200px); width: 100%;
}
#lightbox-img {
  max-height: 65dvh; max-width: 100%;
  width: auto; height: auto; object-fit: contain;
  display: block;
}
.lightbox-caption {
  display: flex; flex-direction: column; align-items: center;
  gap: var(--space-sm); text-align: center;
}
.lightbox-cat {
  font-size: var(--text-xs); color: var(--accent);
  text-transform: uppercase; letter-spacing: 3px;
}
.lightbox-title {
  font-family: var(--font-display);
  font-size: var(--text-xl); color: var(--cream);
  font-weight: 600;
}
.lightbox-actions {
  display: flex; gap: var(--space-md); flex-wrap: wrap;
  justify-content: center; margin-top: var(--space-sm);
}

/* --- FORMS ------------------------------------------------- */
.form-group { margin-bottom: var(--space-xl); }
label {
  display: block; font-weight: 400;
  font-size: var(--text-xs); margin-bottom: var(--space-sm);
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--section-muted);
}
input, textarea, select {
  width: 100%; padding: 14px var(--space-md);
  font-family: var(--font-body); font-size: var(--text-base);
  color: var(--fg-on-dark); background: transparent;
  border: none; border-bottom: 1px solid rgba(255,255,255,0.15);
  border-radius: 0;
  transition: border-color 0.3s;
}
input:focus, textarea:focus, select:focus {
  outline: none; border-bottom-color: var(--accent);
}
input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.2); }

/* Light section form overrides */
.s-light input, .s-light textarea, .s-light select,
.s-light-alt input, .s-light-alt textarea, .s-light-alt select {
  color: var(--fg-on-light);
  border-bottom-color: rgba(0,0,0,0.2);
}
.s-light input::placeholder, .s-light textarea::placeholder,
.s-light-alt input::placeholder, .s-light-alt textarea::placeholder {
  color: rgba(0,0,0,0.35);
}
textarea { resize: vertical; min-height: 100px; }
select { cursor: pointer; }
select option { background: var(--void); color: var(--cream); }
.form-success-message {
  background: rgba(34,197,94,0.1); border-left: 2px solid #22c55e;
  color: #86efac; padding: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-lg);
  font-size: var(--text-sm);
}

/* --- SCROLL REVEAL ----------------------------------------- */
.scroll-fade-up {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.scroll-fade-up.visible { opacity: 1; transform: translateY(0); }

/* --- SHOP: PREMIUM MATERIALS ------------------------------- */
.medium-grid {
  display: grid; gap: var(--space-xl);
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .medium-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .medium-grid { grid-template-columns: repeat(3, 1fr); } }

.medium-card {
  padding: var(--space-2xl) var(--space-xl);
  background: var(--section-card-bg);
  border: 1px solid var(--section-card-border);
  transition: all 0.4s var(--ease-out-expo);
  text-align: left;
  position: relative;
  overflow: hidden;
}
.medium-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.5;
}
.medium-card:hover::before { opacity: 1; }
.medium-card:hover {
  border-color: rgba(201,168,76,0.3);
  background: var(--section-card-hover);
}
.medium-card__icon {
  font-size: 1.5rem; margin-bottom: var(--space-lg);
  display: block; color: var(--accent);
}
.medium-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl); font-weight: 600;
  color: inherit; margin-bottom: var(--space-md);
}
.medium-card p {
  color: var(--section-muted);
  font-size: var(--text-sm); line-height: 1.7;
  margin-bottom: var(--space-lg);
}
.medium-card__price {
  font-size: var(--text-xs); color: var(--accent);
  letter-spacing: 1px; text-transform: uppercase;
  font-weight: 500;
}
/* Luxe material textures — differentiated cards */
.medium-card--metal {
  background: linear-gradient(135deg, rgba(180,180,190,0.12) 0%, rgba(100,100,110,0.08) 100%);
  border-color: rgba(255,255,255,0.12);
}
.medium-card--metal::before { background: linear-gradient(90deg, #c0c0c8, var(--accent)); }
.medium-card--acrylic {
  background: linear-gradient(135deg, rgba(200,220,255,0.08) 0%, rgba(150,180,220,0.05) 100%);
  border-color: rgba(255,255,255,0.1);
}
.medium-card--acrylic::before { background: linear-gradient(90deg, #a8c8f0, var(--accent)); }
.medium-card--canvas {
  background: linear-gradient(135deg, rgba(245,235,220,0.15) 0%, rgba(220,210,190,0.1) 100%);
  border-color: rgba(255,255,255,0.08);
}
.medium-card--canvas::before { background: linear-gradient(90deg, #d4c4a8, var(--accent)); }
.medium-card--wood {
  background: linear-gradient(135deg, rgba(180,140,90,0.15) 0%, rgba(120,90,60,0.1) 100%);
  border-color: rgba(201,168,76,0.15);
}
.medium-card--wood::before { background: linear-gradient(90deg, #a08050, var(--accent)); }
.medium-card--paper {
  background: linear-gradient(135deg, rgba(255,252,245,0.2) 0%, rgba(240,235,225,0.12) 100%);
  border-color: rgba(255,255,255,0.06);
}
.medium-card--paper::before { background: linear-gradient(90deg, #f5f0e8, var(--accent)); }
.medium-card--stone {
  background: linear-gradient(135deg, rgba(160,155,150,0.15) 0%, rgba(100,98,95,0.1) 100%);
  border-color: rgba(255,255,255,0.08);
}
.medium-card--stone::before { background: linear-gradient(90deg, #909090, var(--accent)); }

/* Medium tabs */
.medium-tabs {
  display: flex; flex-wrap: wrap; gap: 0;
  justify-content: center; margin-bottom: var(--space-2xl);
}
.medium-tab {
  padding: 10px 24px;
  background: transparent;
  border: 1px solid var(--section-card-border);
  color: var(--section-muted);
  font-size: var(--text-xs); font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase;
  font-family: var(--font-body);
  transition: all 0.3s; margin: -0.5px;
}
.medium-tab:hover { color: var(--accent); border-color: var(--accent); }
.medium-tab.active,
.medium-tab[aria-pressed="true"] {
  background: var(--accent); color: var(--void);
  border-color: var(--accent);
}

/* Pricing table */
.pricing-table {
  width: 100%; border-collapse: collapse;
  font-size: var(--text-sm); margin-bottom: var(--space-xl);
}
.pricing-table th {
  text-align: left; padding: var(--space-md);
  border-bottom: 1px solid var(--accent);
  color: var(--accent); font-weight: 500;
  font-size: var(--text-xs); text-transform: uppercase;
  letter-spacing: 1.5px;
}
.pricing-table td {
  padding: var(--space-md);
  border-bottom: 1px solid var(--section-border);
  color: var(--section-muted);
}
.s-light .pricing-table th { color: var(--accent-dark); }
.s-light .pricing-table td { color: var(--fg-muted-light); }
.pricing-table tr:hover td { color: inherit; }
.pricing-table .price-col {
  text-align: right; font-weight: 600;
  color: inherit; font-variant-numeric: tabular-nums;
}

/* Digital downloads */
.download-grid {
  display: grid; gap: var(--space-lg);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .download-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .download-grid { grid-template-columns: repeat(4, 1fr); } }
.download-card {
  padding: var(--space-2xl) var(--space-lg);
  background: var(--section-card-bg);
  border: 1px solid var(--section-card-border);
  transition: all 0.4s var(--ease-out-expo);
}
.download-card:hover { border-color: rgba(201,168,76,0.3); }
.download-card__format {
  font-family: var(--font-display);
  font-size: var(--text-xl); font-weight: 600;
  color: var(--accent); margin-bottom: var(--space-sm);
}
.download-card__desc {
  font-size: var(--text-sm); color: var(--section-muted);
  margin-bottom: var(--space-lg); line-height: 1.6;
  min-height: 48px;
}
.download-card__price {
  font-size: var(--text-lg); font-weight: 600;
  margin-bottom: var(--space-lg);
}

/* Fulfillment grid */
.fulfillment-grid {
  display: grid; gap: var(--space-xl);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .fulfillment-grid { grid-template-columns: 1fr 1fr; } }
.fulfillment-card {
  padding: var(--space-2xl);
  background: var(--section-card-bg);
  border: 1px solid var(--section-card-border);
}
.fulfillment-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl); font-weight: 600;
  color: var(--accent); margin-bottom: var(--space-md);
}
.fulfillment-card ul { margin-bottom: var(--space-lg); }
.fulfillment-card li {
  padding: var(--space-sm) 0;
  color: var(--section-muted); font-size: var(--text-sm);
  border-bottom: 1px solid var(--section-border);
}
.fulfillment-card li::before { content: '— '; color: var(--accent); }

/* --- FAQ ACCORDION ----------------------------------------- */
.faq { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--section-border);
  background: transparent;
}
.faq-question {
  padding: var(--space-lg) 0; font-weight: 400;
  font-size: var(--text-base); cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-question::after {
  content: '+'; font-size: 1.2rem; color: var(--accent);
  transition: transform 0.3s;
}
details[open] .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  padding: 0 0 var(--space-lg);
  color: var(--section-muted); line-height: 1.7;
}

/* --- ABOUT PAGE -------------------------------------------- */
.about-stats {
  display: flex; gap: var(--space-3xl);
  justify-content: center; flex-wrap: wrap;
}
.about-stat { text-align: center; }
.about-stat__number {
  font-family: var(--font-display);
  font-size: var(--text-3xl); font-weight: 600;
  color: var(--accent); display: block;
}
.about-stat__label {
  font-size: var(--text-xs); color: var(--section-muted);
  text-transform: uppercase; letter-spacing: 2px;
  margin-top: var(--space-xs);
}

/* --- FOOTER ------------------------------------------------ */
.site-footer {
  position: relative;
  background: var(--void);
  border-top: 1px solid var(--border-dark);
  color: var(--gray-400);
  padding: var(--space-4xl) var(--space-xl) var(--space-xl);
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/images/stockflagfooter.jpeg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.site-footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,5,16,0.85) 0%, rgba(5,5,16,0.92) 100%);
  z-index: 1;
  pointer-events: none;
}
.footer-inner,
.footer-bottom {
  position: relative;
  z-index: 2;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; gap: var(--space-2xl);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .footer-inner { grid-template-columns: 2fr 1fr 1fr; }
}
.footer-brand img {
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}
.footer-brand p {
  margin-top: var(--space-md); color: var(--gray-500);
  font-size: var(--text-sm); max-width: 280px; line-height: 1.6;
}
.footer-nav { display: flex; flex-direction: column; gap: var(--space-sm); }
.footer-nav a {
  color: var(--gray-500); font-size: var(--text-sm);
  letter-spacing: 0.5px; transition: color 0.3s;
}
.footer-nav a:hover { color: var(--accent); }
.footer-contact { font-size: var(--text-sm); color: var(--gray-500); }
.footer-contact p { margin-bottom: var(--space-sm); }
.footer-contact a { color: var(--accent); transition: opacity 0.3s; }
.footer-contact a:hover { opacity: 0.7; }
.footer-bottom {
  max-width: 1200px; margin: var(--space-3xl) auto 0;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-dark);
  text-align: center; font-size: var(--text-xs);
  color: var(--gray-600); letter-spacing: 0.5px;
}

/* --- SHOP WIZARD — guided order flow ---------------------- */
.shop-hero__sub { margin-top: var(--space-lg); font-size: var(--text-sm); color: var(--fg-muted-dark); }
.shop-hero__link { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.shop-wizard-section .section-subtitle { max-width: 640px; }
.shop-wizard {
  max-width: 720px;
  margin: var(--space-3xl) auto 0;
  padding: var(--space-2xl);
  background: var(--warm-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}
.s-light .shop-wizard { background: white; }
.shop-wizard__progress {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  justify-content: center;
  list-style: none;
  margin-bottom: var(--space-3xl);
  padding: 0;
}
.shop-wizard__progress-item {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray-500);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-full);
  border: 1px solid var(--gray-300);
}
.shop-wizard__progress-item--active,
.shop-wizard__progress-item--done {
  border-color: var(--accent);
  color: var(--accent-dark);
  background: rgba(201,168,76,0.12);
}
.shop-wizard__progress-item--done { opacity: 0.85; }
.shop-step { margin-bottom: var(--space-2xl); }
.shop-step[hidden] { display: none !important; }
.shop-step--active { display: block; }
.shop-step__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--fg-on-light);
  margin-bottom: var(--space-sm);
}
.shop-step__lead {
  color: var(--fg-muted-light);
  font-size: var(--text-base);
  line-height: 1.65;
  margin-bottom: var(--space-xl);
}
.shop-step__hint {
  font-size: var(--text-sm);
  color: var(--gray-500);
  margin-top: var(--space-md);
}
.shop-wizard__field { margin-bottom: 0; }
.shop-choice-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .shop-choice-grid { grid-template-columns: repeat(2, 1fr); }
}
.shop-choice-grid--2 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .shop-choice-grid--2 { grid-template-columns: repeat(3, 1fr); }
}
.shop-choice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: var(--space-lg);
  background: var(--cream);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  font-family: var(--font-body);
  color: var(--fg-on-light);
}
.shop-choice:hover {
  border-color: rgba(201,168,76,0.5);
  transform: translateY(-2px);
}
.shop-choice--selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
  background: rgba(201,168,76,0.06);
}
.shop-choice__icon {
  font-size: var(--text-xl);
  color: var(--accent);
  margin-bottom: var(--space-sm);
}
.shop-choice__label {
  font-weight: 600;
  font-size: var(--text-base);
  margin-bottom: var(--space-xs);
}
.shop-choice__desc {
  font-size: var(--text-sm);
  color: var(--fg-muted-light);
  line-height: 1.5;
}
.shop-format-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .shop-format-grid { grid-template-columns: repeat(2, 1fr); }
}
.shop-format {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: var(--space-lg);
  background: var(--cream);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.25s, transform 0.25s;
  font-family: var(--font-body);
  color: var(--fg-on-light);
}
.shop-format:hover { border-color: var(--accent); transform: translateY(-2px); }
.shop-format--selected { border-color: var(--accent); background: rgba(201,168,76,0.08); }
.shop-format--recommended { position: relative; }
.shop-format--recommended::after {
  content: 'Suggested';
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-dark);
  background: rgba(201,168,76,0.2);
  padding: var(--space-2xs) var(--space-sm);
  border-radius: var(--radius-sm);
}
.shop-format__name { font-weight: 600; font-size: var(--text-base); margin-bottom: var(--space-xs); }
.shop-format__meta { font-size: var(--text-sm); color: var(--fg-muted-light); margin-bottom: var(--space-sm); }
.shop-format__price { font-size: var(--text-sm); font-weight: 600; color: var(--accent-dark); }

.shop-step__hint--license {
  margin-top: var(--space-lg);
  text-align: center;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Shop — digital license step */
.shop-license-selected {
  font-size: var(--text-sm);
  color: var(--fg-muted-light);
  margin: 0 0 var(--space-lg);
  padding: var(--space-md);
  background: rgba(0, 0, 0, 0.04);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--accent);
}
.shop-license-type {
  border: none;
  margin: 0 0 var(--space-xl);
  padding: 0;
}
.shop-license-type__legend {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-md);
  padding: 0;
}
.shop-license-type__options {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.shop-license-radio {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-md);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.2s;
}
.shop-license-radio:hover { border-color: var(--accent); }
.shop-license-radio input {
  margin-top: var(--space-xs);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  accent-color: var(--accent-dark);
}
.shop-license-radio__body { flex: 1; min-width: 0; }
.shop-license-radio__title { display: block; margin-bottom: var(--space-xs); }
.shop-license-radio__desc {
  font-size: var(--text-sm);
  color: var(--fg-muted-light);
  line-height: 1.5;
}
.shop-license-accept { margin-bottom: var(--space-lg); }
.shop-license-checkbox-label {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  font-size: var(--text-sm);
  line-height: 1.55;
  cursor: pointer;
}
.shop-license-checkbox-label input {
  margin-top: var(--space-xs);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  accent-color: var(--accent-dark);
}
.shop-license-checkbox-label a { color: var(--accent-dark); }

.shop-summary-license-note {
  max-width: 640px;
  margin: 0 auto var(--space-xl);
  padding: var(--space-md);
  font-size: var(--text-sm);
  color: var(--fg-muted-light);
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(201, 168, 76, 0.08);
}

/* Shop — digital downloads / licenses section */
.shop-digital-licenses__grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
  margin-top: var(--space-2xl);
}
@media (min-width: 640px) {
  .shop-digital-licenses__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .shop-digital-licenses__grid { grid-template-columns: repeat(3, 1fr); }
}
.shop-digital-card {
  padding: var(--space-xl);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
}
.shop-digital-card--accent {
  border-color: rgba(232, 197, 71, 0.4);
  background: rgba(232, 197, 71, 0.06);
}
.shop-digital-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
}
.shop-digital-card__text {
  font-size: var(--text-sm);
  color: var(--fg-muted-dark);
  line-height: 1.55;
  margin-bottom: var(--space-md);
}
.shop-digital-card__meta {
  font-size: var(--text-xs);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
}
.shop-digital-card__cta { margin-top: var(--space-md); }
.shop-digital-licenses__wizard-cta { margin-top: var(--space-3xl); }

/* Standalone license terms page */
.license-page .license-disclaimer {
  padding: var(--space-md);
  margin-bottom: var(--space-2xl);
  background: rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
}
.license-block {
  margin-bottom: var(--space-3xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--border);
}
.license-block:last-of-type { border-bottom: none; }
.license-block__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.5rem);
  margin-bottom: var(--space-md);
}
.license-block__lead {
  font-size: var(--text-sm);
  color: var(--fg-muted-light);
  margin-bottom: var(--space-lg);
  line-height: 1.55;
}
.license-block__list {
  margin: 0;
  padding-left: var(--space-xl);
  font-size: var(--text-sm);
  line-height: 1.65;
}
.license-block__list li { margin-bottom: var(--space-sm); }
.license-block__mono { font-family: ui-monospace, monospace; font-size: 0.9em; }
.license-block__footer {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}
.shop-size-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .shop-size-grid { grid-template-columns: repeat(2, 1fr); }
}
.shop-size {
  padding: var(--space-lg);
  background: var(--cream);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.25s, transform 0.25s;
  font-family: var(--font-body);
  color: var(--fg-on-light);
}
.shop-size:hover { border-color: var(--accent); }
.shop-size--selected { border-color: var(--accent); background: rgba(201,168,76,0.08); }
.shop-size__label { display: block; font-weight: 600; margin-bottom: var(--space-xs); }
.shop-size__dims { font-size: var(--text-sm); color: var(--fg-muted-light); }
.shop-material-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}
.shop-material {
  padding: var(--space-sm) var(--space-md);
  background: transparent;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--fg-on-light);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.shop-material:hover { border-color: var(--accent); }
.shop-material--selected {
  border-color: var(--accent);
  background: rgba(201,168,76,0.12);
  color: var(--accent-dark);
}
.shop-summary {
  padding: var(--space-xl);
  background: var(--cream);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-2xl);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--fg-on-light);
  white-space: pre-line;
}
.shop-checkout-options {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .shop-checkout-options { grid-template-columns: repeat(2, 1fr); }
}
.shop-checkout-card {
  padding: var(--space-xl);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: var(--warm-white);
}
.shop-checkout-card--alt {
  background: linear-gradient(145deg, var(--ivory) 0%, var(--cream) 100%);
}
.shop-checkout-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--fg-on-light);
}
.shop-checkout-card__desc {
  font-size: var(--text-sm);
  color: var(--fg-muted-light);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}
.shop-wizard__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-light);
}
.shop-reference {
  padding: 0;
  border: none;
}
.shop-reference__summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-2xl) var(--space-xl);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--cream);
  text-align: center;
  background: linear-gradient(135deg, var(--ink) 0%, var(--charcoal) 100%);
}
.shop-reference__summary::-webkit-details-marker { display: none; }
.shop-reference__summary::after {
  content: ' +';
  color: var(--accent);
}
.shop-reference[open] .shop-reference__summary::after { content: ' −'; }
.shop-reference .section-inner { padding-top: 0; }

/* --- UTILITIES --------------------------------------------- */
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
