/* ═══════════════════════════════════════════════════════════════
   FilmTexture — Design System
   Deep black · Large type · Haptic feel · Glass cards
   ═══════════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────
   1. TOKENS
────────────────────────────────────────── */
:root {
  --black:    #000000;
  --surface:  #111111;
  --lift:     #1C1C1E;
  --border:   rgba(255,255,255,0.10);
  --silver:   rgba(255,255,255,0.60);
  --white:    #F5F5F7;
  --gold:     #C9A84C;
  --amber:    #E8890C;
  --red:      #A91101;
  --red-dim:  rgba(169,17,1,0.18);

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --nav-h: calc(52px + env(safe-area-inset-top, 0px));

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);

  --section-pad:    clamp(36px, 4.5vh, 56px);
  --section-pad-lg: clamp(44px, 5.5vh, 68px);

  /* Cool neutral accents */
  --accent-muted:  rgba(255,255,255,0.50);
  --accent-dim:    rgba(255,255,255,0.40);
  --border-hover:  rgba(255,255,255,0.15);
  --surface-hover: rgba(255,255,255,0.05);
  --chip-bg:       rgba(255,255,255,0.05);
  --chip-border:   rgba(255,255,255,0.10);
  --chip-text:     rgba(255,255,255,0.60);
  --code-string:   #8BB8D0;
}

/* ──────────────────────────────────────────
   1b. LIGHT THEME
────────────────────────────────────────── */
html[data-theme="light"] {
  background: #FFFFFF;
  --black:    #FFFFFF;
  --surface:  #EBEBEB;
  --lift:     #DCDCDC;
  --border:   rgba(0,0,0,0.13);
  --silver:   rgba(0,0,0,0.55);
  --white:    #1A1A1A;
  --gold:     #A8872E;
  --amber:    #C47008;
  --red-dim:  rgba(169,17,1,0.10);
  --accent-muted:  rgba(0,0,0,0.50);
  --accent-dim:    rgba(0,0,0,0.40);
  --border-hover:  rgba(0,0,0,0.18);
  --surface-hover: rgba(0,0,0,0.05);
  --chip-bg:       rgba(0,0,0,0.06);
  --chip-border:   rgba(0,0,0,0.12);
  --chip-text:     rgba(0,0,0,0.65);
  --code-string:   #2E6B8A;
}

/* Nav */
html[data-theme="light"] .nav {
  background: rgba(255, 255, 255, 0.72);
  border-bottom-color: rgba(0,0,0,0.08);
}
html[data-theme="light"] .nav-link {
  color: rgba(0,0,0,0.65);
}
html[data-theme="light"] .nav-link:hover {
  color: var(--white);
  background: rgba(0,0,0,0.04);
}
html[data-theme="light"] .nav-link--vault {
  color: rgba(0,0,0,0.45);
}
html[data-theme="light"] .nav-logo-text {
  color: rgba(0,0,0,0.85);
}
html[data-theme="light"] .nav-cart {
  color: rgba(0,0,0,0.60);
}
html[data-theme="light"] .nav-cart:hover {
  color: var(--white);
  background: rgba(0,0,0,0.05);
}
/* i18n disabled — light theme nav-lang
html[data-theme="light"] .nav-lang {
  color: rgba(0,0,0,0.50);
  background: rgba(0,0,0,0.06);
}
html[data-theme="light"] .nav-lang:hover {
  color: var(--white);
  background: rgba(0,0,0,0.10);
}
*/

/* Mobile drawer */
html[data-theme="light"] .nav-drawer {
  background: #fff;
  border-bottom-color: rgba(0,0,0,0.08);
}
html[data-theme="light"] .drawer-vault {
  color: rgba(169,17,1,0.7) !important;
}
html[data-theme="light"] .drawer-divider {
  background: rgba(0,0,0,0.08);
}

/* Chips */
html[data-theme="light"] .chip--silver {
  background: rgba(0,0,0,0.06);
  color: rgba(0,0,0,0.55);
}
html[data-theme="light"] .chip--coming {
  background: rgba(0,0,0,0.05);
  color: rgba(0,0,0,0.45);
  border-color: rgba(0,0,0,0.10);
}

/* CTA buttons */
html[data-theme="light"] .cta-pill--fill {
  background: #1A1A1A;
  color: #FFFFFF;
  border-color: #1A1A1A;
}
html[data-theme="light"] .cta-pill--outline {
  color: #1A1A1A;
  border-color: rgba(0,0,0,0.20);
}
html[data-theme="light"] .cta-pill--outline:hover {
  border-color: rgba(0,0,0,0.45);
}

/* Hero — keep text light on dark video background */
html[data-theme="light"] .hero-title { color: #F5F5F0; }
html[data-theme="light"] .hero-sub { color: rgba(245,245,240,0.65); }
html[data-theme="light"] .hero-chip {
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.18);
}
html[data-theme="light"] .hero .cta-pill--fill {
  background: #F5F5F0;
  color: #111;
  border-color: #F5F5F0;
}
html[data-theme="light"] .hero .cta-pill--fill:hover {
  background: #FFFFFF;
  border-color: #FFFFFF;
}
html[data-theme="light"] .hero .cta-pill--outline {
  color: #F5F5F0;
  border-color: rgba(245,245,240,0.30);
}
html[data-theme="light"] .hero .cta-pill--outline:hover {
  border-color: rgba(245,245,240,0.55);
  background: rgba(245,245,240,0.08);
}

/* Hero glow */
html[data-theme="light"] .glow--gold {
  background: radial-gradient(circle, rgba(0,0,0,0.08), transparent 70%);
}
html[data-theme="light"] .scroll-dot {
  background: rgba(0,0,0,0.5);
}

/* Cards */
html[data-theme="light"] .product-card:hover {
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
}
html[data-theme="light"] .grade-meta-bar {
  background: rgba(0,0,0,0.03);
}
html[data-theme="light"] .showcase--lightroom .lr-panel {
  background: rgba(0,0,0,0.02);
  border-color: rgba(0,0,0,0.08);
}
html[data-theme="light"] .lr-tab {
  background: rgba(0,0,0,0.02);
  border-color: rgba(0,0,0,0.06);
}
html[data-theme="light"] .lr-tab:hover {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.10);
}
html[data-theme="light"] .lr-tab--active {
  background: rgba(126,200,227,0.08);
  border-color: rgba(126,200,227,0.25);
}
html[data-theme="light"] .lr-dot {
  background: rgba(0,0,0,0.25);
}
html[data-theme="light"] .lr-dot:hover {
  background: rgba(0,0,0,0.45);
}
html[data-theme="light"] .lr-dot--active {
  background: rgba(0,0,0,0.7);
}
html[data-theme="light"] .lr-arrow {
  background: rgba(255,255,255,0.7);
  border-color: rgba(0,0,0,0.1);
  color: rgba(0,0,0,0.7);
}
html[data-theme="light"] .lr-arrow:hover {
  background: rgba(255,255,255,0.9);
  color: #000;
}
html[data-theme="light"] .fuji-recipe {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.07);
}
html[data-theme="light"] .fuji-recipe-tags span {
  background: rgba(0,0,0,0.05);
}
html[data-theme="light"] .fuji-tab {
  border-color: rgba(0,0,0,0.08);
}
html[data-theme="light"] .fuji-tab:hover {
  background: rgba(0,0,0,0.03);
}
html[data-theme="light"] .fuji-dot {
  background: rgba(0,0,0,0.25);
}
html[data-theme="light"] .fuji-dot:hover {
  background: rgba(0,0,0,0.45);
}
html[data-theme="light"] .fuji-dot--active {
  background: rgba(0,0,0,0.7);
}
html[data-theme="light"] .fuji-arrow {
  background: rgba(255,255,255,0.7);
  border-color: rgba(0,0,0,0.1);
  color: rgba(0,0,0,0.7);
}
html[data-theme="light"] .fuji-arrow:hover {
  background: rgba(255,255,255,0.9);
  color: #000;
}

/* Feature grid */
html[data-theme="light"] .feature-item {
  background: rgba(0,0,0,0.02);
}

/* Code window */
html[data-theme="light"] .code-window {
  border-color: rgba(0,0,0,0.12);
  box-shadow: 0 32px 80px rgba(0,0,0,0.10);
}
html[data-theme="light"] .code-window-bar {
  background: #DCDCDC;
  border-bottom-color: rgba(0,0,0,0.08);
}
html[data-theme="light"] .window-title {
  color: rgba(0,0,0,0.35);
}
html[data-theme="light"] .c-comment {
  color: rgba(0,0,0,0.35);
}
html[data-theme="light"] .code-window-footer {
  background: rgba(0,0,0,0.02);
  border-top-color: rgba(0,0,0,0.06);
}
html[data-theme="light"] .code-time {
  color: rgba(0,0,0,0.35);
}

/* Reviews */
html[data-theme="light"] .review-card {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.08);
}
html[data-theme="light"] .review-card:hover {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.12);
}
html[data-theme="light"] .review-author {
  border-color: rgba(0,0,0,0.08);
}

/* Vault */
html[data-theme="light"] .vault-glow {
  background: radial-gradient(circle, rgba(0,0,0,0.03), transparent 70%);
}
html[data-theme="light"] .vault-star {
  color: rgba(0,0,0,0.30);
}

/* Newsletter */
html[data-theme="light"] .newsletter-input {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.12);
}
html[data-theme="light"] .newsletter-input::placeholder {
  color: rgba(0,0,0,0.30);
}
html[data-theme="light"] .newsletter-input:focus {
  border-color: rgba(0,0,0,0.25);
  background: rgba(0,0,0,0.02);
}
html[data-theme="light"] .newsletter-fine {
  color: rgba(0,0,0,0.30);
}

/* Footer */
html[data-theme="light"] .footer {
  border-top-color: rgba(0,0,0,0.08);
}
html[data-theme="light"] .footer-top {
  border-bottom-color: rgba(0,0,0,0.08);
}
html[data-theme="light"] .footer-col h3 {
  color: rgba(0,0,0,0.40);
}
html[data-theme="light"] .footer-col a {
  color: rgba(0,0,0,0.50);
}
html[data-theme="light"] .footer-copy {
  color: rgba(0,0,0,0.30);
}
html[data-theme="light"] .footer-bottom-links a {
  color: rgba(0,0,0,0.35);
}
html[data-theme="light"] .footer-socials a {
  color: rgba(0,0,0,0.30);
}

/* Visual panel */
html[data-theme="light"] .visual-panel {
  box-shadow: 0 24px 80px rgba(0,0,0,0.08);
}
html[data-theme="light"] .product-card--fuji {
  background: linear-gradient(135deg, #e4ebe8 0%, #EBEBEB 50%, #e4ebe4 100%);
}

/* Theme toggle button */
.nav-theme-toggle {
  display: flex;
  align-items: center;
  padding: 8px;
  color: rgba(255,255,255,0.60);
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-theme-toggle:hover {
  color: var(--white);
  background: rgba(255,255,255,0.05);
}
html[data-theme="light"] .nav-theme-toggle {
  color: rgba(0,0,0,0.55);
}
html[data-theme="light"] .nav-theme-toggle:hover {
  color: var(--white);
  background: rgba(0,0,0,0.05);
}
.theme-icon--moon { display: none; }
html[data-theme="light"] .theme-icon--sun { display: none; }
html[data-theme="light"] .theme-icon--moon { display: block; }

/* Logo SVG color override */
html[data-theme="light"] .nav-logo svg rect { stroke: var(--gold); }
html[data-theme="light"] .nav-logo svg circle { fill: var(--gold); }

/* ──────────────────────────────────────────
   2. RESET & BASE
────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
  background: #0A0A0A;
}

html, body {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  isolation: isolate;
  transition: background 0.3s ease, color 0.3s ease;
}

/* iPhone Dynamic Island / notch — opaque cover injected by JS */
.safe-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: env(safe-area-inset-top, 0px);
  background: #0A0A0A;
  z-index: 10000;
  pointer-events: none;
}
html[data-theme="light"] .safe-top {
  background: #FFFFFF;
}

/* Dither overlay — animated film grain
   z-index: -1 keeps grain below all content (images, videos, text)
   but above body background. Requires body { isolation: isolate } */
body::after {
  content: '';
  position: fixed;
  inset: -100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  animation: grainShift 0.3s steps(4) infinite;
}

@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-80px, 40px); }
  50%  { transform: translate(60px, -30px); }
  75%  { transform: translate(-40px, -60px); }
  100% { transform: translate(50px, 70px); }
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }

/* ──────────────────────────────────────────
   3. CHIPS
────────────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.chip--amber  { background: var(--chip-bg); color: var(--chip-text); }
.chip--silver { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.6); }
.chip--red    { background: rgba(169,17,1,0.15); color: #D94030; border: 1px solid rgba(169,17,1,0.3); }
.chip--blue   { background: rgba(60,120,220,0.15); color: #7EC8E3; }
.chip--green  { background: rgba(60,180,100,0.12); color: #6DC98A; }
.chip--coming { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.45); border: 1px solid rgba(255,255,255,0.1); }

/* ──────────────────────────────────────────
   4. CTA BUTTONS
────────────────────────────────────────── */
.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 48px;
  padding: 0 24px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: filter 0.2s ease-out, border-color 0.2s ease-out, background 0.2s ease-out, transform 0.2s ease-out, box-shadow 0.2s ease-out;
  border: 1px solid transparent;
  white-space: nowrap;
  user-select: none;
}

.cta-pill--fill {
  background: #fff;
  color: #0A0A0A;
  border-color: #fff;
  font-weight: 600;
}
.cta-pill--fill:hover {
  filter: brightness(0.95);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.cta-pill--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}
.cta-pill--outline:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.04);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.cta-pill--sm {
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
}

.cta-arrow {
  display: inline-block;
  transition: transform 0.2s var(--ease-smooth);
}
.cta-pill--fill:hover .cta-arrow {
  transform: translateX(3px);
}

/* Text link CTA */
.cta-link {
  font-size: 15px;
  font-weight: 400;
  color: var(--gold);
  transition: color 0.2s ease-out;
}
.cta-link:hover {
  color: var(--amber);
}

/* ──────────────────────────────────────────
   5. NAV
────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  padding-top: env(safe-area-inset-top, 0px);
  z-index: 1000;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
  transition: background 0.3s ease;
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 0 24px;
  gap: 0;
}

/* Left nav (legacy — hidden, replaced by nav-center) */
.nav-left {
  display: none;
}

/* Center nav — all category links */
.nav-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

/* Right nav — utilities */
.nav-right {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: flex-end;
}

/* Lang + theme toggle group — separated from cart by a subtle divider */
.nav-utils {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-right: 6px;
  padding-right: 8px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
html[data-theme="light"] .nav-utils {
  border-right-color: rgba(0,0,0,0.08);
}

.nav-link {
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.80);
  border-radius: 8px;
  transition: color 0.2s ease-out, background 0.2s ease-out;
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.04);
}
.nav-link--vault {
  font-style: italic;
  color: rgba(255,255,255,0.5);
  position: relative;
}
.nav-link--vault::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--red);
  opacity: 0.6;
  border-radius: 1px;
}
.nav-link--vault:hover {
  color: var(--red) !important;
  opacity: 1;
}

.nav-logo {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.15s ease;
}
.nav-logo:hover { opacity: 0.75; }

.nav-logo-text {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.9);
  line-height: 1;
}
.nav-logo-text .gold {
  color: var(--gold);
}

/* Cart badge */
.nav-cart {
  position: relative;
}
.nav-cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background: var(--gold);
  color: #000;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 600;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
}

.nav-cart {
  display: flex;
  align-items: center;
  padding: 8px;
  color: rgba(255,255,255,0.72);
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-cart:hover {
  color: var(--white);
  background: rgba(255,255,255,0.05);
}

/* ── Account nav button ── */
.nav-account {
  display: flex;
  align-items: center;
  padding: 8px;
  color: rgba(255,255,255,0.72);
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
  position: relative;
  text-decoration: none;
}
.nav-account:hover {
  color: var(--white);
  background: rgba(255,255,255,0.05);
}
/* Logged-in dot indicator */
.nav-account-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  display: none;
}
.nav-account.is-logged-in .nav-account-dot { display: block; }
html[data-theme="light"] .nav-account { color: rgba(0,0,0,0.55); }
html[data-theme="light"] .nav-account:hover { color: #000; background: rgba(0,0,0,0.05); }

/* i18n disabled — Language toggle
.nav-lang {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.06);
  border: none;
  border-radius: 6px;
  padding: 5px 8px;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
  font-family: inherit;
  margin-right: 2px;
}
.nav-lang:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
*/

/* i18n disabled — FOUC prevention
[data-i18n],
[data-i18n-placeholder] {
  visibility: hidden;
}
.i18n-ready [data-i18n],
.i18n-ready [data-i18n-placeholder] {
  visibility: visible;
}
*/

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border-radius: 8px;
}
.nav-hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.22s ease, opacity 0.22s ease, width 0.22s ease;
  transform-origin: center;
}
.nav-hamburger.is-open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nav-hamburger.is-open span:nth-child(2) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile drawer */
.nav-drawer {
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
  padding: 12px 0 24px;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.nav-drawer.is-open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.nav-drawer-inner {
  display: flex;
  flex-direction: column;
}
.nav-drawer-inner a {
  padding: 13px 22px;
  font-size: 17px;
  font-weight: 300;
  color: var(--white);
  transition: color 0.15s ease;
}
.nav-drawer-inner a:hover { color: var(--white); }
.drawer-vault { font-style: italic; color: rgba(255,255,255,0.55) !important; border-left: 2px solid var(--red); padding-left: 10px; }
.drawer-divider {
  height: 0.5px;
  background: rgba(255,255,255,0.08);
  margin: 8px 22px;
}

/* ──────────────────────────────────────────
   6. HERO
────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(85vh + 100px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 48px) 24px 64px;
  overflow: hidden;
  background: var(--black);
}

/* Vimeo video background */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s var(--ease-out);
}
.hero-video-wrap.is-visible {
  opacity: 1;
}

.hero-video {
  width: 100vw;
  height: 100vh;
  min-width: 177.78vh;   /* 16:9 = 100 * 16/9 */
  min-height: 56.25vw;   /* 16:9 = 100 * 9/16 */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: none;
}

.hero-video-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.5) 0%,
    rgba(0,0,0,0.3) 50%,
    rgba(0,0,0,0.7) 100%
  );
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video-wrap iframe { display: none; }
}

/* Ambient glow */
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
}

.glow--gold {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.5), transparent 70%);
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.06;
}
.glow--red {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #A91101, transparent 70%);
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
}

.glow--blue {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #1a3a8a, transparent 70%);
  bottom: 0;
  right: 10%;
  opacity: 0.12;
}

/* Hero loader — animated logo while Vimeo loads */
.hero-loader {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s var(--ease-out);
}
.hero-loader svg {
  filter: drop-shadow(0 0 24px rgba(201, 168, 76, 0.15));
}
.hero-loader .logo-dot {
  opacity: 0;
  transform-origin: center;
  transform-box: fill-box;
}
/* 1st cycle: appear + disappear */
.hero-loader .logo-dot[data-pos="mc"] {
  animation: ft-loader-center 3.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-loader .logo-dot[data-pos="tc"],
.hero-loader .logo-dot[data-pos="ml"],
.hero-loader .logo-dot[data-pos="mr"],
.hero-loader .logo-dot[data-pos="bc"] {
  animation: ft-loader-edge 3.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-loader .logo-dot[data-pos="tl"],
.hero-loader .logo-dot[data-pos="tr"],
.hero-loader .logo-dot[data-pos="bl"],
.hero-loader .logo-dot[data-pos="br"] {
  animation: ft-loader-corner 3.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-loader .logo-frame {
  stroke-dasharray: 80;
  animation: ft-loader-frame 3.6s cubic-bezier(0.16, 1, 0.3, 1);
}
/* 2nd cycle: appear + stay (no fade-out) */
.hero-loader--hold .logo-dot[data-pos="mc"] {
  animation: ft-dot-appear 833ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0ms;
}
.hero-loader--hold .logo-dot[data-pos="tc"],
.hero-loader--hold .logo-dot[data-pos="ml"],
.hero-loader--hold .logo-dot[data-pos="mr"],
.hero-loader--hold .logo-dot[data-pos="bc"] {
  animation: ft-dot-appear 833ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 200ms;
}
.hero-loader--hold .logo-dot[data-pos="tl"],
.hero-loader--hold .logo-dot[data-pos="tr"],
.hero-loader--hold .logo-dot[data-pos="bl"],
.hero-loader--hold .logo-dot[data-pos="br"] {
  animation: ft-dot-appear 833ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 400ms;
}
.hero-loader--hold .logo-frame {
  animation: ft-frame-appear 600ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Hero loaded state */
.hero--loaded .hero-content {
  opacity: 1;
  transform: none;
}
.hero--loaded .hero-loader {
  opacity: 0;
  pointer-events: none;
}

/* Content — hidden until video ready */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 920px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s var(--ease-out) 0.15s, transform 0.7s var(--ease-out) 0.15s;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--chip-text);
  background: var(--chip-bg);
  border: 1px solid var(--chip-border);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.hero-title {
  font-weight: 600;
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-title-line {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.hero-title-line.is-visible {
  opacity: 1;
  transform: none;
}

.hero-title-line[data-line="1"] {
  transition-delay: 0.1s;
}

.hero-sub {
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 400;
  color: var(--silver);
  line-height: 1.5;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll dot cascade indicator */
.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: scrollHintIn 0.6s ease forwards;
  animation-delay: 2s;
}

.scroll-dots {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.scroll-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #C9A84C;
  opacity: 0.2;
  animation: scrollDotCascade 2s ease-in-out infinite;
}

.scroll-dot:nth-child(1) { animation-delay: 2s; }
.scroll-dot:nth-child(2) { animation-delay: 2.2s; }
.scroll-dot:nth-child(3) { animation-delay: 2.4s; }

@keyframes scrollHintIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scrollDotCascade {
  0%, 100% { opacity: 0.2; transform: translateY(0); }
  40%      { opacity: 1; transform: translateY(2px); }
  80%      { opacity: 0.2; transform: translateY(0); }
}

/* ──────────────────────────────────────────
   7. STATEMENT
────────────────────────────────────────── */
.statement {
  padding: calc(var(--section-pad) + 100px) 24px;
  text-align: center;
  background: var(--black);
}

.statement-inner {
  max-width: 720px;
  margin: 0 auto;
}

.statement-text {
  font-weight: 500;
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 24px;
}

.statement-sub {
  font-size: 17px;
  font-weight: 400;
  color: var(--silver);
  line-height: 1.6;
  margin: 0 auto;
}

/* ──────────────────────────────────────────
   8. PRODUCT CARDS
────────────────────────────────────────── */
.products {
  padding: 0 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
}

/* Base card */
.product-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.3s ease-out, box-shadow 0.3s ease-out, transform 0.3s ease-out;
}

.product-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 6px 32px rgba(0,0,0,0.35);
  transform: translateY(-3px) scale(1.005);
}

/* Hero card (full width, horizontal) */
.product-card--hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  align-items: center;
}

/* Half card */
.product-card--half {
  display: flex;
  flex-direction: column;
  min-height: 420px;
}

.product-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Card inner (text) */
.product-card-inner {
  padding: clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.product-card-label {
  margin-bottom: 18px;
}

.product-card-title {
  font-weight: 600;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 16px;
}

.product-card-body {
  font-size: 17px;
  font-weight: 400;
  color: var(--silver);
  line-height: 1.6;
  max-width: 42ch;
  margin-bottom: 28px;
}

.product-card-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Card visual area */
.product-card-visual {
  padding: 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Power grades visual */
.grade-palette {
  width: 100%;
  max-width: 360px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(0,0,0,0.5);
}

.grade-swatch {
  height: 64px;
  display: flex;
  align-items: flex-end;
  padding: 10px 16px;
  position: relative;
  transition: height 0.2s ease;
}
.grade-swatch:hover { height: 80px; }

.grade-swatch span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(245,245,247,0.6);
  text-transform: uppercase;
}

.grade-meta-bar {
  background: rgba(255,255,255,0.04);
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--silver);
  border-top: 1px solid var(--border);
}

/* Grain visual */
.product-card-visual--grain {
  padding: 24px;
  align-items: stretch;
}

.grain-visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  max-width: 400px;
}

.grain-cell {
  border-radius: 12px;
  aspect-ratio: 1;
  display: flex;
  align-items: flex-end;
  padding: 10px 12px;
  position: relative;
  overflow: hidden;
  transition: brightness 0.4s ease, box-shadow 0.4s ease;
}
.grain-cell:hover {
  filter: brightness(1.15);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
}

/* 35mm — fine silver grain on dark gray */
.grain-cell--1 {
  background: linear-gradient(135deg, #3a3a3a 0%, #1c1c1c 100%);
}
/* 16mm — coarser warm grain */
.grain-cell--2 {
  background: linear-gradient(135deg, #2e2a22 0%, #141208 100%);
}
/* Film Burns — warm ember glow from corners */
.grain-cell--3 {
  background:
    radial-gradient(ellipse at 15% 85%, rgba(255,60,0,0.45), transparent 55%),
    radial-gradient(ellipse at 85% 20%, rgba(255,100,10,0.30), transparent 50%),
    #0a0604;
}
/* Light Leaks — warm amber streaks */
.grain-cell--4 {
  background:
    radial-gradient(ellipse at 25% 30%, rgba(255,210,100,0.35), transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(255,140,40,0.25), transparent 50%),
    #0c0804;
}

/* SVG noise texture on grain cells (35mm & 16mm only) */
.grain-cell--1::after,
.grain-cell--2::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  pointer-events: none;
}
/* 16mm — coarser grain pattern */
.grain-cell--2::after {
  background-size: 80px 80px;
  opacity: 0.65;
}

.grain-cell span {
  position: relative;
  z-index: 3;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(245,245,247,0.65);
  text-transform: uppercase;
}

/* ── Section overlay: grain/burn/leak videos ── */
.grain-overlay-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
}
/* Grain videos: screen blend on section background */
.grain-overlay-video[data-grain="35mm"],
.grain-overlay-video[data-grain="16mm"] {
  mix-blend-mode: screen;
}


/* Presets visual */
.product-card-visual--presets {
  padding: 24px 32px;
  align-items: stretch;
  flex: 1;
}

.preset-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.preset-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.preset-item:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
}

.preset-swatch {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
}

.preset-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.preset-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
}

.preset-desc {
  font-size: 11px;
  color: var(--silver);
}

/* ──────────────────────────────────────────
   8b. SFX AUDIO CARDS (full-width with waveforms)
────────────────────────────────────────── */

/* Full-width sound showcase */
.showcase--sound {
  flex-direction: column;
  align-items: stretch;
  padding: var(--section-pad-lg) 0 48px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Two-column layout: left text + CTA, right players */
.sound-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.showcase-sound-header {
  text-align: left;
  padding: 0;
}
.showcase-sound-header .showcase-eyebrow {
  display: block;
  margin-bottom: 14px;
}
.showcase-sound-header .showcase-title {
  margin-bottom: 14px;
}
.showcase-sound-header .showcase-body {
  color: var(--silver);
}

/* Player stack */
.sfx-players {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
}

/* Card layout: play button | info | waveform | time */
.sfx-card {
  display: grid;
  grid-template-columns: 44px auto 1fr auto;
  gap: 0 16px;
  align-items: center;
  padding: 16px 20px;
  background: rgba(255,255,255,0.03);
  border-radius: 14px;
  border: 1px solid var(--border);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.sfx-card:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.sfx-card.is-playing {
  border-color: rgba(126,200,227,0.3);
  background: rgba(126,200,227,0.05);
}

.sfx-play {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
  flex-shrink: 0;
}
.sfx-play:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}
.sfx-play:active {
  transform: scale(0.94);
}
.sfx-card.is-playing .sfx-play {
  background: rgba(126,200,227,0.15);
  color: #7EC8E3;
}

.sfx-icon-pause { display: none; }
.sfx-card.is-playing .sfx-icon-play { display: none; }
.sfx-card.is-playing .sfx-icon-pause { display: block; }

.sfx-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  justify-content: center;
  min-width: 130px;
}

.sfx-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
}

.sfx-desc {
  font-size: 12px;
  color: var(--silver);
}

/* Waveform bars */
.sfx-wave {
  position: relative;
  height: 36px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  cursor: pointer;
  border-radius: 4px;
}

.sfx-wave-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 100%;
  width: 100%;
}

.sfx-wave-bar {
  flex: 1;
  min-width: 2px;
  background: rgba(255,255,255,0.10);
  border-radius: 1px;
  transition: background 0.08s ease;
}
.sfx-wave-bar.is-played {
  background: rgba(126,200,227,0.6);
}
.sfx-card.is-playing .sfx-wave-bar.is-played {
  background: #7EC8E3;
}

.sfx-wave-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  pointer-events: none;
}

.sfx-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  flex-shrink: 0;
  min-width: 36px;
  text-align: right;
}

/* Explore more CTA */
.sfx-more {
  margin-top: 32px;
}

/* Responsive: stack info above waveform on small screens */
@media (max-width: 560px) {
  .sfx-card {
    grid-template-columns: 44px 1fr auto;
    grid-template-rows: auto auto;
  }
  .sfx-wave {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 12px;
  }
}

@media (max-width: 768px) {
  .sound-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 24px;
  }
  .showcase-sound-header {
    text-align: center;
  }
  .sfx-more {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .showcase--sound {
    padding: 48px 0 32px;
  }
  .sound-layout {
    padding: 0 16px;
    gap: 24px;
  }
  .showcase-sound-header .showcase-title {
    font-size: 24px;
  }
  .showcase-sound-header .showcase-body {
    font-size: 13px;
  }
  .sfx-players {
    gap: 8px;
  }
  .sfx-card {
    padding: 12px 14px;
    gap: 0 12px;
  }
  .sfx-info {
    min-width: 80px;
  }
  .sfx-name {
    font-size: 13px;
  }
  .sfx-desc {
    font-size: 11px;
  }
  .sfx-wave {
    min-width: 50px;
  }
  .sfx-play {
    width: 36px;
    height: 36px;
  }
  .sfx-time {
    font-size: 10px;
    min-width: 30px;
  }
  .sfx-more {
    margin-top: 20px;
  }
}

/* Light theme */
html[data-theme="light"] .sfx-card {
  background: rgba(0,0,0,0.02);
}
html[data-theme="light"] .sfx-card.is-playing {
  border-color: rgba(46,107,138,0.25);
  background: rgba(46,107,138,0.04);
}
html[data-theme="light"] .sfx-play {
  background: rgba(0,0,0,0.05);
  color: rgba(0,0,0,0.5);
}
html[data-theme="light"] .sfx-card.is-playing .sfx-play {
  background: rgba(46,107,138,0.12);
  color: #2E6B8A;
}
html[data-theme="light"] .sfx-wave-bar {
  background: rgba(0,0,0,0.1);
}
html[data-theme="light"] .sfx-wave-bar.is-played {
  background: rgba(46,107,138,0.4);
}
html[data-theme="light"] .sfx-card.is-playing .sfx-wave-bar.is-played {
  background: #2E6B8A;
}
html[data-theme="light"] .sfx-time {
  color: rgba(0,0,0,0.3);
}

/* Fujifilm card */
.product-card--fuji {
  background: linear-gradient(135deg, #080e0c 0%, #111111 50%, #090d09 100%);
}

.fuji-recipes {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 380px;
}

.fuji-recipe {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 16px 20px;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.fuji-recipe:hover {
  background: rgba(110,200,140,0.05);
  border-color: rgba(110,200,140,0.18);
  transform: translateX(4px);
}

.fuji-recipe-sim {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #6DC98A;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.fuji-recipe-name {
  font-size: 15px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 8px;
}

.fuji-recipe-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.fuji-recipe-tags span {
  font-size: 10px;
  color: var(--silver);
  background: rgba(255,255,255,0.05);
  padding: 2px 8px;
  border-radius: 100px;
}

/* ──────────────────────────────────────────
   8d. BEST SELLERS CAROUSEL
────────────────────────────────────────── */
.bestsellers {
  padding: var(--section-pad) 0;
  overflow: hidden;
}

.bestsellers-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto 28px;
  padding: 0 24px;
}

.bestsellers-title {
  font-weight: 600;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.02em;
  color: var(--white);
  margin-top: 8px;
}

.bestsellers-arrows {
  display: flex;
  gap: 8px;
}

.bs-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.bs-arrow:hover:not(:disabled) {
  background: rgba(255,255,255,0.1);
  border-color: var(--border-hover);
  color: var(--white);
}
.bs-arrow:disabled {
  opacity: 0.25;
  cursor: default;
}

.bestsellers-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* Left aligns with site content grid, right bleeds to viewport edge */
  padding: 4px max(20px, calc((100vw - 1120px) / 2 + 24px)) 8px max(24px, calc((100vw - 1120px) / 2 + 24px));
  scroll-padding-left: max(24px, calc((100vw - 1120px) / 2 + 24px));
}
.bestsellers-track::-webkit-scrollbar { display: none; }

.bs-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.10);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.3s ease-out, box-shadow 0.3s ease-out, transform 0.3s ease-out;
}
.bs-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  transform: translateY(-4px);
}

.bs-card-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.bs-card-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}
.bs-card:hover .bs-card-thumb-img {
  transform: none;
}

.bs-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.04em;
}
.bs-card-badge--new {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.7);
}

.bs-card-body {
  padding: 28px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bs-card-category {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.40);
  margin-bottom: 8px;
}

.bs-card-name {
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.bs-card-desc {
  font-size: 13px;
  color: var(--silver);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 12px;
}

.bs-card-formats {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 18px;
}

.bs-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 16px;
  margin-top: auto;
}

.bs-card-price {
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
}
.bs-card-price sup {
  font-size: 11px;
  font-weight: 400;
  vertical-align: top;
  margin-top: 3px;
}

.bs-card-cta {
  font-size: 13px;
  color: var(--gold);
  transition: color 0.15s ease;
}
.bs-card:hover .bs-card-cta { color: var(--amber); }

/* Light theme */
html[data-theme="light"] .bs-arrow {
  background: rgba(0,0,0,0.04);
  color: rgba(0,0,0,0.5);
}
html[data-theme="light"] .bs-arrow:hover:not(:disabled) {
  background: rgba(0,0,0,0.08);
  color: var(--white);
}
html[data-theme="light"] .bs-card {
  border-color: rgba(0,0,0,0.10);
}
html[data-theme="light"] .bs-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
html[data-theme="light"] .bs-card-category {
  color: rgba(0,0,0,0.40);
}
html[data-theme="light"] .bs-card-formats {
  color: rgba(0,0,0,0.35);
}
html[data-theme="light"] .bs-card-footer {
  border-top-color: rgba(0,0,0,0.10);
}
html[data-theme="light"] .bs-card-badge {
  background: rgba(255,255,255,0.75);
  border-color: rgba(0,0,0,0.10);
  color: rgba(0,0,0,0.60);
}
html[data-theme="light"] .bs-card-badge--new {
  background: rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.12);
  color: rgba(0,0,0,0.65);
}

@media (max-width: 900px) {
  .bestsellers-track {
    padding: 4px calc(100vw - 340px - 24px) 8px 24px;
    scroll-padding-left: 24px;
  }
}

@media (max-width: 660px) {
  .bs-card { flex: 0 0 280px; }
  .bestsellers-track { padding-right: calc(100vw - 280px - 24px); }
  .bs-arrow { width: 36px; height: 36px; }
}


/* ──────────────────────────────────────────
   9. FEATURE GRID
────────────────────────────────────────── */
.features {
  padding: var(--section-pad) 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.features-header {
  text-align: center;
  margin-bottom: 40px;
}

.features-title {
  font-weight: 600;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 12px;
}

.features-sub {
  font-size: 17px;
  color: var(--silver);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  padding: 40px 32px;
  border-radius: 12px;
  transition: background 0.3s ease-out, border-color 0.3s ease-out;
}

.feature-item:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
}

/* Invisible filler items */
.feature-item:nth-child(7),
.feature-item:nth-child(8) {
  /* If grid is 3-col and has 6 items, this won't apply */
}

.feature-icon {
  color: var(--accent-muted);
  margin-bottom: 20px;
  opacity: 0.8;
}

.feature-name {
  font-size: 17px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 14px;
  color: var(--silver);
  line-height: 1.6;
}

/* Stagger animation for feature items */
.feature-item[data-stagger] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.feature-item[data-stagger].is-visible {
  opacity: 1;
  transform: none;
}

/* ──────────────────────────────────────────
   10. API SECTION
────────────────────────────────────────── */
.api {
  padding: var(--section-pad) 24px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.api-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.api-title {
  font-weight: 600;
  font-size: clamp(28px, 3.8vw, 48px);
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.1;
}

.api-body {
  font-size: 17px;
  color: var(--silver);
  line-height: 1.6;
  max-width: 42ch;
  margin-bottom: 28px;
}

/* Specs table */
.api-specs {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 32px;
  border-top: 0.5px solid var(--border);
}

.api-specs li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  border-bottom: 0.5px solid var(--border);
}

.spec-label {
  font-size: 13px;
  color: var(--silver);
}

.spec-value {
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
}

/* Code window */
.code-window {
  background: var(--black);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}

.code-window-bar {
  background: #1C1C1E;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.dot-red    { background: #FF5F57; }
.dot-yellow { background: #FFBD2E; }
.dot-green  { background: #28C840; }

.window-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  margin: 0 auto;
}

.code-body {
  padding: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  line-height: 1.85;
  color: var(--white);
  overflow-x: auto;
}

/* Syntax */
.c-comment { color: rgba(255,255,255,0.3); }
.c-kw      { color: #7EC8E3; }
.c-str     { color: var(--code-string); }
.c-num     { color: #E8890C; }

.code-window-footer {
  padding: 10px 20px;
  background: rgba(255,255,255,0.02);
  border-top: 0.5px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.code-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 100px;
}

.code-badge--ok {
  background: rgba(40,200,64,0.1);
  color: #28C840;
}

.code-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.3);
}

/* ──────────────────────────────────────────
   11. REVIEWS (card grid)
────────────────────────────────────────── */
.reviews-section {
  padding: var(--section-pad) 24px;
  background: var(--black);
}

.reviews-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}
.reviews-header .showcase-eyebrow {
  display: block;
  margin-bottom: 14px;
}
.reviews-header .showcase-title {
  margin-bottom: 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.review-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.10);
}

.review-stars {
  display: flex;
  gap: 2px;
}

.review-quote {
  font-size: 14px;
  line-height: 1.6;
  color: var(--emulsion, #F5F5F0);
  font-weight: 400;
  margin: 0;
  flex: 1;
}

.review-author {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.review-author-avatar {
  flex-shrink: 0;
}

.review-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.review-avatar-fallback {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-author-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.review-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.01em;
}

.review-role {
  font-size: 12px;
  color: var(--silver);
}

.review-ig-link {
  font-size: 11px;
  color: var(--gold);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.review-ig-link:hover {
  opacity: 1;
}

.review-media-row {
  display: flex;
  gap: 6px;
}

.review-media-thumb {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.06);
}

/* Responsive: reviews grid */
@media (max-width: 1000px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .reviews-section {
    padding: 56px 16px;
  }
  .reviews-header {
    margin-bottom: 28px;
  }
  .reviews-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .review-card {
    padding: 14px;
    gap: 10px;
    border-radius: 12px;
  }
  .review-stars svg {
    width: 11px;
    height: 11px;
  }
  .review-quote {
    font-size: 11px;
    line-height: 1.5;
  }
  .review-author {
    padding-top: 10px;
  }
  .review-name {
    font-size: 11px;
  }
  .review-role {
    font-size: 10px;
  }
}

/* ──────────────────────────────────────────
   12. VAULT TEASER
────────────────────────────────────────── */
.vault-teaser {
  padding: var(--section-pad) 24px;
  text-align: center;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.vault-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.03), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border-radius: 50%;
}

.vault-teaser-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.vault-teaser-inner .chip { margin-bottom: 20px; }

.vault-title {
  font-weight: 600;
  font-size: clamp(48px, 7vw, 88px);
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1;
}

.vault-star {
  color: rgba(255,255,255,0.4);
}

.vault-sub {
  font-size: 17px;
  color: var(--silver);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 44ch;
}

/* ──────────────────────────────────────────
   13. NEWSLETTER
────────────────────────────────────────── */
.newsletter {
  padding: var(--section-pad) 24px;
  text-align: center;
  background: var(--black);
}

.newsletter-inner {
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-title {
  font-weight: 600;
  font-size: clamp(22px, 3vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 12px;
}

.newsletter-sub {
  font-size: 16px;
  color: var(--silver);
  margin-bottom: 32px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-input {
  flex: 1;
  height: 44px;
  padding: 0 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  min-width: 0;
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-input:focus {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.03);
}

.newsletter-fine {
  margin-top: 14px;
  font-size: 11px;
  color: rgba(255,255,255,0.25);
}

/* ──────────────────────────────────────────
   14. FOOTER
────────────────────────────────────────── */
.footer {
  background: var(--surface);
  border-top: 0.5px solid rgba(255,255,255,0.1);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: 64px;
  padding: 56px 0 48px;
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
}

.gold { color: var(--gold); }

.footer-tagline {
  font-size: 12px;
  color: var(--silver);
  line-height: 1.5;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.footer-col h3 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--white); }
.italic-link { font-style: italic; color: rgba(169,17,1,0.7); }
.italic-link:hover { color: var(--red) !important; }
.vault-link { font-style: italic; color: rgba(169,17,1,0.7); }
.vault-link:hover { color: var(--red) !important; }

.footer-bottom {
  padding: 18px 0;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  flex: 1;
}

.footer-bottom-links {
  display: flex;
  gap: 16px;
}

.footer-bottom-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  transition: color 0.15s ease;
}
.footer-bottom-links a:hover { color: var(--white); }

.footer-socials {
  display: flex;
  gap: 14px;
}

.footer-socials a {
  color: rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  transition: color 0.15s ease;
}
.footer-socials a:hover { color: var(--white); }

/* ──────────────────────────────────────────
   14b. PRODUCT SHOWCASE
────────────────────────────────────────── */
.showcase {
  display: flex;
  align-items: center;
  padding: var(--section-pad-lg) 24px;
  position: relative;
  overflow: hidden;
}

.showcase--alt {
  background: var(--surface);
}

.showcase-inner {
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
}

.showcase-inner--reverse {
  direction: rtl;
}
.showcase-inner--reverse > * {
  direction: ltr;
}

.showcase-text {
  display: flex;
  flex-direction: column;
}

.showcase-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-muted);
  margin-bottom: 16px;
}
#products .showcase-eyebrow {
  color: #A91101;
}
.showcase--lightroom .showcase-eyebrow {
  color: var(--gold);
}

.showcase-title {
  font-weight: 600;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 20px;
}

.showcase-body {
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 400;
  color: var(--silver);
  line-height: 1.6;
  max-width: 42ch;
  margin-bottom: 28px;
}

.showcase-cta {
  display: flex;
  gap: 14px;
  align-items: center;
}

.showcase-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.showcase-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.12;
  pointer-events: none;
}

.visual-panel {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
  width: 100%;
}

.showcase--alt .visual-panel {
  background: var(--black);
}

/* === FUJIFILM SHOWCASE PANEL === */
.showcase--fuji {
  position: relative;
}

.fuji-ambient-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.6s ease, background 0.6s ease;
  background: transparent;
}

.showcase--fuji .showcase-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  grid-template-columns: 5fr 7fr;
  gap: clamp(36px, 5vw, 72px);
}

.fuji-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg, 20px);
}
.fuji-preview {
  position: relative;
  border-radius: var(--radius-md, 14px);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: #0A0A0A;
}
.fuji-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fuji-preview-img--next {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  will-change: opacity;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.fuji-preview-img--next.is-visible {
  opacity: 1;
}
/* ── Dot indicators overlaid on preview ── */
.fuji-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
}

.fuji-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, transform 0.25s ease;
}

.fuji-dot:hover {
  background: rgba(255,255,255,0.6);
}

.fuji-dot--active {
  background: rgba(255,255,255,0.9);
  transform: scale(1.2);
}

/* ── Small navigation arrows ── */
.fuji-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.15s ease;
  padding: 0;
}

.fuji-preview:hover .fuji-arrow {
  opacity: 1;
}

.fuji-arrow--prev { left: 8px; }
.fuji-arrow--next { right: 8px; }

.fuji-arrow:hover {
  background: rgba(0,0,0,0.65);
}

.fuji-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.fuji-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px 10px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  text-align: left;
  overflow: hidden;
  min-width: 0;
}
.fuji-tab:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.10);
}
.fuji-tab--active {
  background: rgba(109,201,138,0.06);
  border-color: rgba(109,201,138,0.20);
}
.fuji-tab-accent {
  width: 16px;
  height: 3px;
  border-radius: 2px;
  display: block;
}
.fuji-tab-sim {
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.fuji-tab-name {
  font-size: 10px;
  color: var(--silver);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.fuji-tab-detail {
  display: none;
  font-size: 10px;
  color: #6DC98A;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.fuji-tab--selected .fuji-tab-name {
  display: none;
}

.fuji-tab--selected .fuji-tab-detail {
  display: block;
}
.fuji-specs {
  display: flex;
  gap: 24px;
  margin: 20px 0 8px;
}
.fuji-spec {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fuji-spec-value {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
}
.fuji-spec-label {
  font-size: 11px;
  color: var(--silver);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Fujifilm mobile */
@media (max-width: 660px) {
  .fuji-tabs {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .fuji-panel {
    padding: 16px;
    gap: 12px;
  }
  .fuji-tab {
    padding: 8px 6px;
  }
  .fuji-tab-sim { font-size: 11px; }
  .fuji-tab-name { font-size: 9px; }
  .fuji-specs { gap: 16px; }
  .fuji-spec-value { font-size: 15px; }
}

/* ──────────────────────────────────────────
   14c. DaVinci Resolve NODE GRAPH
────────────────────────────────────────── */

/* Panel — clean dark surface, no grid */
.visual-panel--nodegraph {
  background: var(--surface) !important;
  padding: 0 !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Grade preview image above node graph */
.dv-preview {
  position: relative;
  width: 100%;
  background: var(--black);
  overflow: hidden;
}

.dv-preview-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

/* Crossfade: second image layered on top */
.dv-preview-img--next {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  will-change: opacity;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.dv-preview-img--next.is-visible {
  opacity: 1;
}

/* Separator between preview and graph */
.dv-graph {
  display: flex;
  align-items: center;
  padding: 28px 20px;
  gap: 0;
  min-height: 240px;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}

/* I/O dots and wires */
.dv-io {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.dv-io-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.7;
  flex-shrink: 0;
}

.dv-io-wire {
  width: 20px;
  height: 1px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* Node lanes container */
.dv-lanes {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
  min-width: 0;
}

/* Single lane (row of nodes) */
.dv-lane {
  --node-gap: 20px;
  display: flex;
  align-items: flex-end;
  gap: var(--node-gap);
}

/* Individual node */
.dv-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  cursor: default;
  transition: opacity 0.25s ease;
}
.dv-node[data-node] {
  cursor: pointer;
}

/* Label above node */
.dv-node-label {
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 9px;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.03em;
  margin-bottom: 5px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

/* Node card body */
.dv-node-body {
  position: relative;
  width: 72px;
  height: 52px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: visible;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.dv-node:hover .dv-node-body {
  border-color: rgba(201,168,76,0.45);
  box-shadow: 0 0 16px rgba(201,168,76,0.08);
  background: rgba(255,255,255,0.06);
}
.dv-node:hover .dv-node-label {
  color: rgba(255,255,255,0.6);
}

/* Selected node (the clicked one) */
.dv-node--selected .dv-node-body {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(201,168,76,0.15);
  background: rgba(201,168,76,0.06);
}
.dv-node--selected .dv-node-label {
  color: var(--gold);
}

/* Active node (cumulative: all nodes up to selected) */
.dv-node--active .dv-node-body {
  border-color: rgba(201,168,76,0.5);
  box-shadow: 0 0 12px rgba(201,168,76,0.06);
}
.dv-node--active .dv-node-label {
  color: rgba(255,255,255,0.7);
}

/* Inactive node (after the selected point) */
.dv-node--inactive {
  opacity: 0.3;
}
.dv-node--inactive .dv-node-body {
  border-color: rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
}

/* Thumbnail area */
.dv-node-thumb {
  width: 100%;
  height: 34px;
  background: rgba(255,255,255,0.03);
  border-radius: 7px 7px 0 0;
}

/* Footer with node number */
.dv-node-footer {
  display: flex;
  align-items: center;
  padding: 0 8px;
  height: 17px;
  background: rgba(0,0,0,0.15);
  border-radius: 0 0 7px 7px;
}

.dv-node-num {
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 9px;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
}

/* Connection ports — gold accent */
.dv-port {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  transition: opacity 0.2s ease;
}

.dv-port--in {
  left: -3px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gold);
  opacity: 0.5;
}

.dv-port--out {
  right: -3px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gold);
  opacity: 0.5;
}

/* Wire drawn from out-port to next node's in-port */
.dv-port--out::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  width: calc(var(--node-gap) - 6px);
  height: 1px;
  background: rgba(255,255,255,0.12);
  pointer-events: none;
}
/* No wire after last node in lane */
.dv-node:last-child .dv-port--out::after {
  display: none;
}

.dv-port--key {
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.3);
}

.dv-node:hover .dv-port--in,
.dv-node:hover .dv-port--out {
  opacity: 0.8;
}
.dv-node--active .dv-port--in,
.dv-node--active .dv-port--out {
  opacity: 0.7;
}
.dv-node--selected .dv-port--in,
.dv-node--selected .dv-port--out {
  opacity: 1;
}

/* Light theme */
html[data-theme="light"] .visual-panel--nodegraph {
  box-shadow: 0 24px 80px rgba(0,0,0,0.12) !important;
}

/* ──────────────────────────────────────────
   14d. LIGHTROOM PRESET SHOWCASE (tab-based)
────────────────────────────────────────── */
.showcase--lightroom {
  position: relative;
}

.preset-ambient-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.6s ease, background 0.6s ease;
  background: transparent;
}

.showcase--lightroom .showcase-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  grid-template-columns: 5fr 7fr;
  gap: clamp(36px, 5vw, 72px);
}

/* Spec pills next to text */
.lr-specs {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
}

.lr-spec {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.lr-spec-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.01em;
}

.lr-spec-label {
  font-size: 11px;
  color: var(--silver);
  letter-spacing: 0.02em;
}

/* Visual panel — image + tabs layout (specificity override for .showcase--alt .visual-panel) */
.showcase--lightroom .lr-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg, 20px);
  box-shadow: none;
  overflow: visible;
}

/* ── Large preview image ── */
.lr-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #0a0a0a;
  border-radius: var(--radius-md, 14px);
}

.lr-preview-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lr-preview-img--next {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  will-change: opacity;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.lr-preview-img--next.is-visible {
  opacity: 1;
}

/* ── Dot indicators overlaid on preview ── */
.lr-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
}

.lr-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, transform 0.25s ease;
}

.lr-dot:hover {
  background: rgba(255,255,255,0.6);
}

.lr-dot--active {
  background: rgba(255,255,255,0.9);
  transform: scale(1.2);
}

/* ── Small navigation arrows ── */
.lr-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.15s ease;
  padding: 0;
}

.lr-preview:hover .lr-arrow {
  opacity: 1;
}

.lr-arrow--prev { left: 8px; }
.lr-arrow--next { right: 8px; }

.lr-arrow:hover {
  background: rgba(0,0,0,0.65);
}

/* ── Film stock tab selector ── */
.lr-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.lr-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px 10px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  text-align: left;
  overflow: hidden;
  min-width: 0;
}

.lr-tab:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.10);
}

.lr-tab--active {
  background: rgba(126,200,227,0.06);
  border-color: rgba(126,200,227,0.20);
}

/* Color accent dot in tab */
.lr-tab-accent {
  width: 16px;
  height: 3px;
  border-radius: 2px;
  display: block;
}

.lr-tab-stock {
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.lr-tab-trait {
  font-size: 10px;
  color: var(--silver);
  letter-spacing: 0.02em;
  transition: opacity 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* View Details state — shown on first click */
.lr-tab-detail {
  display: none;
  font-size: 10px;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.lr-tab--selected .lr-tab-trait {
  display: none;
}

.lr-tab--selected .lr-tab-detail {
  display: block;
}

/* ──────────────────────────────────────────
   14e. GRAIN SECTION OVERLAY (Texture showcase)
────────────────────────────────────────── */
.showcase--texture {
  position: relative;
}

.grain-section-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.5s ease;
  overflow: hidden;
}

.grain-overlay-base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Visible state — driven by JS class on section */
.showcase--texture.grain-fx-active .grain-section-overlay {
  opacity: 1;
}

/* CSS gradient fallbacks per effect type */
.grain-section-overlay[data-fx="35mm"] {
  background: radial-gradient(ellipse at 50% 50%, rgba(200,200,200,0.06), transparent 70%);
}

.grain-section-overlay[data-fx="16mm"] {
  background: radial-gradient(ellipse at 50% 50%, rgba(180,160,120,0.08), transparent 70%);
}

.grain-section-overlay[data-fx="burns"] {
  background:
    radial-gradient(ellipse at 10% 90%, rgba(255,60,0,0.30), transparent 50%),
    radial-gradient(ellipse at 90% 10%, rgba(255,120,10,0.20), transparent 45%);
}

.grain-section-overlay[data-fx="leaks"] {
  background:
    radial-gradient(ellipse at 20% 30%, rgba(255,220,120,0.25), transparent 55%),
    radial-gradient(ellipse at 75% 60%, rgba(255,140,40,0.20), transparent 50%);
}

.showcase--texture .showcase-inner {
  position: relative;
  z-index: 3;
}

.showcase--texture .grain-cell {
  cursor: pointer;
}

/* Hover grain cell highlight */
.grain-cell.grain-cell--hover {
  filter: brightness(1.2);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15);
}

/* Active grain cell (click-toggled) */
.grain-cell.grain-cell--active {
  filter: brightness(1.25);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.20);
}

.grain-cell.grain-cell--active span {
  color: rgba(245,245,247,0.9);
}

@keyframes grainPulse {
  0%, 100% { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15); }
  50%      { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25); }
}

.grain-cell.grain-cell--active {
  animation: grainPulse 2s ease-in-out infinite;
}


/* ──────────────────────────────────────────
   15. SCROLL REVEAL
────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ──────────────────────────────────────────
   16. RESPONSIVE
────────────────────────────────────────── */
@media (max-width: 1000px) {
  .showcase {
    min-height: auto;
    padding: 80px 24px;
  }

  .showcase-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .showcase-inner--reverse {
    direction: ltr;
  }

  .showcase-text {
    align-items: center;
  }

  .showcase-body {
    margin-left: auto;
    margin-right: auto;
  }

  .showcase-cta {
    justify-content: center;
  }

  /* DaVinci node graph responsive */
  .dv-graph {
    padding: 20px 12px;
    min-height: 190px;
  }
  .dv-io { display: none; }
  .dv-node-body { width: 56px; height: 42px; border-radius: 6px; }
  .dv-node-thumb { height: 26px; border-radius: 5px 5px 0 0; }
  .dv-node-footer { height: 15px; border-radius: 0 0 5px 5px; }
  .dv-node-label { font-size: 8px; }
  .dv-lane { --node-gap: 14px; }
  .dv-lanes { gap: 18px; }

  .nav-center {
    display: none;
  }

  .nav-inner {
    grid-template-columns: 1fr auto auto;
  }

  .nav-logo {
    justify-self: start;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-right {
    gap: 0;
  }

  .product-card--hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .product-card-visual {
    padding: 24px;
    justify-content: flex-start;
  }

  .api-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .showcase--lightroom .showcase-inner,
  .showcase--fuji .showcase-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .lr-tabs {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .lr-specs,
  .fuji-specs {
    justify-content: center;
  }
}

@media (max-width: 660px) {
  .lr-tabs {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .lr-specs {
    gap: 16px;
  }

  .product-grid-2 {
    grid-template-columns: 1fr;
  }

  .newsletter {
    padding: 48px 20px;
  }
  .newsletter-title {
    font-size: clamp(22px, 5.2vw, 30px);
  }
  .newsletter-sub {
    font-size: 14px;
    margin-bottom: 24px;
  }
  .newsletter-form {
    flex-direction: column;
    gap: 10px;
  }
  .newsletter-input {
    width: 100%;
    height: 46px;
    min-height: 46px;
    border-radius: 100px;
    padding: 0 20px;
    font-size: 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
  }
  .newsletter-form .cta-pill {
    width: 100%;
    justify-content: center;
    text-align: center;
    height: 46px;
    min-height: 46px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 0 24px;
    box-sizing: border-box;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .feature-item {
    padding: 16px 14px;
  }
  .feature-icon {
    margin-bottom: 8px;
  }
  .feature-icon svg {
    width: 20px;
    height: 20px;
  }
  .feature-name {
    font-size: 13px;
    margin-bottom: 4px;
  }
  .feature-desc {
    font-size: 11px;
    line-height: 1.5;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
  }

  /* DaVinci node graph — smaller nodes for narrow screens */
  .dv-node-body { width: 44px; height: 36px; border-radius: 5px; }
  .dv-node-thumb { height: 22px; border-radius: 4px 4px 0 0; }
  .dv-lane { --node-gap: 8px; }
  .dv-node-label { font-size: 7px; }
  .dv-node-footer { height: 13px; border-radius: 0 0 4px 4px; }
  .dv-node-num { font-size: 8px; }
  .dv-port { width: 5px; height: 5px; }
  .dv-port--in { left: -3px; }
  .dv-port--out { right: -3px; }
  .dv-port--key { bottom: -3px; }
}

@media (max-width: 380px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .showcase--lightroom .lr-panel {
    padding: 16px;
    gap: 12px;
  }
  .lr-preview {
    border-radius: 10px;
  }
  .lr-tabs {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .lr-tab {
    padding: 8px 6px;
  }
  .lr-tab-stock {
    font-size: 11px;
  }
  .lr-tab-trait {
    font-size: 9px;
  }
}

/* ──────────────────────────────────────────
   16b. CART UPSELL BANNER
   Shown inside #ft-cart-upsell when a single-category
   cart has no bundle yet. Rendered by main.js.
────────────────────────────────────────── */
@keyframes ft-upsell-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

#ft-cart-upsell:not(:empty) {
  padding-bottom: 12px;
}

.cart-upsell-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 16px;
  padding: 12px 14px;
  background: rgba(201,168,76,0.08);
  border: 0.5px solid rgba(201,168,76,0.22);
  border-radius: 10px;
  animation: ft-upsell-in 0.28s cubic-bezier(0.16,1,0.3,1) both;
}

.cart-upsell-banner__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.cart-upsell-banner__label {
  font-size: 12px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-upsell-banner__sub {
  font-size: 11px;
  color: rgba(255,255,255,0.38);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-upsell-banner__btn {
  flex-shrink: 0;
  padding: 7px 13px;
  background: var(--gold);
  color: #000;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: none;
  transition: filter 0.15s ease, transform 0.1s ease;
}

.cart-upsell-banner__btn:hover {
  filter: brightness(1.10);
}

.cart-upsell-banner__btn:active {
  transform: scale(0.96);
}

/* Light theme */
html[data-theme="light"] .cart-upsell-banner {
  background: rgba(168,135,46,0.07);
  border-color: rgba(168,135,46,0.20);
}
html[data-theme="light"] .cart-upsell-banner__sub {
  color: rgba(0,0,0,0.38);
}
html[data-theme="light"] .cart-upsell-banner__btn {
  background: var(--gold);
  color: #fff;
}

/* Narrow drawers / small screens */
@media (max-width: 400px) {
  .cart-upsell-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .cart-upsell-banner__btn {
    align-self: flex-end;
  }
}

/* ──────────────────────────────────────────
   16c. CART PANEL — Side Drawer / Bottom Sheet
────────────────────────────────────────── */
#ft-cart-panel {
  top: 0;
  right: 0;
  bottom: 0;
  width: 360px;
  max-width: 96vw;
  border-left: 0.5px solid rgba(255,255,255,0.08);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
#ft-cart-panel.is-open {
  transform: translateX(0);
}

html[data-theme="light"] #ft-cart-panel {
  background: #fff;
  border-left-color: rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
  #ft-cart-panel {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    max-height: 85vh;
    border-left: none;
    border-top: 0.5px solid rgba(255,255,255,0.10);
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
  }
  #ft-cart-panel.is-open {
    transform: translateY(0);
  }
  /* Drag handle indicator */
  #ft-cart-panel::before {
    content: '';
    display: block;
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.18);
    margin: 10px auto 0;
    flex-shrink: 0;
  }
  html[data-theme="light"] #ft-cart-panel {
    border-left: none;
    border-top-color: rgba(0,0,0,0.10);
  }
  html[data-theme="light"] #ft-cart-panel::before {
    background: rgba(0,0,0,0.15);
  }
}

/* ──────────────────────────────────────────
   17. REDUCED MOTION
────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Touch devices: disable hover transforms ── */
@media (hover: none) {
  .product-card:hover {
    transform: none;
  }
  .bs-card:hover {
    transform: none;
  }
}

/* ──────────────────────────────────────────
   INSTANT SEARCH (Cmd+K)
────────────────────────────────────────── */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: min(20vh, 160px);
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.15s ease;
}
.search-overlay.is-open {
  opacity: 1;
}

.search-modal {
  width: 560px;
  max-width: calc(100vw - 32px);
  max-height: 480px;
  background: #161616;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
  transform: scale(0.96) translateY(-8px);
  transition: transform 0.2s cubic-bezier(0.16,1,0.3,1);
}
.search-overlay.is-open .search-modal {
  transform: scale(1) translateY(0);
}

.search-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.search-icon {
  flex-shrink: 0;
  color: rgba(255,255,255,0.35);
  display: flex;
}

.search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #f5f5f7;
  font-size: 15px;
  font-family: inherit;
  letter-spacing: -0.01em;
}
.search-input::placeholder {
  color: rgba(255,255,255,0.28);
}

.search-esc {
  flex-shrink: 0;
  padding: 3px 7px;
  border-radius: 5px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.35);
  font-size: 10px;
  font-family: inherit;
  cursor: pointer;
}

.search-results {
  flex: 1;
  overflow-y: auto;
  padding: 6px;
}

.search-empty {
  padding: 32px 16px;
  text-align: center;
  color: rgba(255,255,255,0.25);
  font-size: 13px;
}

.search-result {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  transition: background 0.1s ease;
}
.search-result:hover,
.search-result--active {
  background: rgba(255,255,255,0.06);
  color: #f5f5f7;
}

.search-result-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.search-result-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.35);
}
.search-result--active .search-result-icon {
  background: rgba(201,168,76,0.12);
  color: var(--gold);
}

.search-result-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.search-result-name {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result-cat {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  margin-top: 1px;
}

.search-result-price {
  flex-shrink: 0;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}
.search-result-price--free {
  color: var(--gold);
}

.search-result-arrow {
  flex-shrink: 0;
  font-size: 12px;
  color: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity 0.1s ease;
}
.search-result--active .search-result-arrow {
  opacity: 1;
}

.search-hint {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 11px;
  color: rgba(255,255,255,0.2);
}
.search-hint span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.search-hint kbd {
  padding: 1px 5px;
  border-radius: 3px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  font-size: 10px;
  font-family: inherit;
}

/* ── Search light theme ── */
html[data-theme="light"] .search-overlay {
  background: rgba(255,255,255,0.6);
}
html[data-theme="light"] .search-modal {
  background: #fff;
  border-color: rgba(0,0,0,0.12);
  box-shadow: 0 24px 80px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.06);
}
html[data-theme="light"] .search-header {
  border-bottom-color: rgba(0,0,0,0.08);
}
html[data-theme="light"] .search-icon {
  color: rgba(0,0,0,0.35);
}
html[data-theme="light"] .search-input {
  color: #000;
}
html[data-theme="light"] .search-input::placeholder {
  color: rgba(0,0,0,0.3);
}
html[data-theme="light"] .search-esc {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.1);
  color: rgba(0,0,0,0.4);
}
html[data-theme="light"] .search-empty {
  color: rgba(0,0,0,0.3);
}
html[data-theme="light"] .search-result {
  color: rgba(0,0,0,0.65);
}
html[data-theme="light"] .search-result:hover,
html[data-theme="light"] .search-result--active {
  background: rgba(0,0,0,0.04);
  color: #000;
}
html[data-theme="light"] .search-result-icon {
  background: rgba(0,0,0,0.04);
  color: rgba(0,0,0,0.35);
}
html[data-theme="light"] .search-result--active .search-result-icon {
  background: rgba(201,168,76,0.1);
}
html[data-theme="light"] .search-result-cat {
  color: rgba(0,0,0,0.35);
}
html[data-theme="light"] .search-result-price {
  color: rgba(0,0,0,0.5);
}
html[data-theme="light"] .search-result-arrow {
  color: rgba(0,0,0,0.2);
}
html[data-theme="light"] .search-hint {
  border-top-color: rgba(0,0,0,0.06);
  color: rgba(0,0,0,0.25);
}
html[data-theme="light"] .search-hint kbd {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.08);
}

@media (max-width: 600px) {
  .search-overlay {
    padding-top: 16px;
    align-items: flex-start;
  }
  .search-modal {
    max-height: calc(100vh - 32px);
    border-radius: 12px;
  }
  .search-hint {
    display: none;
  }
}

/* ──────────────────────────────────────────
   LIGHTBOX
────────────────────────────────────────── */
.ft-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.ft-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.ft-lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
  transition: transform 0.3s var(--ease-out);
}
.ft-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}
.ft-lightbox-close:hover {
  background: rgba(255,255,255,0.2);
}
.ft-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}
.ft-lightbox-nav:hover {
  background: rgba(255,255,255,0.18);
}
.ft-lightbox-nav--prev { left: 16px; }
.ft-lightbox-nav--next { right: 16px; }
.ft-lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
}

/* ──────────────────────────────────────────
   STICKY MOBILE CTA BAR (product detail)
────────────────────────────────────────── */
@media (max-width: 768px) {
  .sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(10,10,10,0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    transform: translateY(100%);
    transition: transform 0.3s var(--ease-out);
  }
  .sticky-cta-bar.is-visible {
    transform: translateY(0);
  }
  .sticky-cta-bar__info {
    flex: 1;
    min-width: 0;
  }
  .sticky-cta-bar__name {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
  }
  .sticky-cta-bar__meta {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1px;
    letter-spacing: 0.02em;
  }
  .sticky-cta-bar__price {
    font-size: 13px;
    color: var(--gold);
    font-weight: 500;
    margin-top: 2px;
  }
  .sticky-cta-bar__btn {
    flex-shrink: 0;
    padding: 12px 24px;
    border-radius: 100px;
    background: var(--gold);
    color: #0a0a0a;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
  }
  .sticky-cta-bar__btn:hover {
    background: var(--amber);
  }
  html[data-theme="light"] .sticky-cta-bar {
    background: rgba(255,255,255,0.96);
    border-top-color: rgba(0,0,0,0.08);
  }
  html[data-theme="light"] .sticky-cta-bar__name {
    color: #1a1a1a;
  }
  html[data-theme="light"] .sticky-cta-bar__meta {
    color: rgba(0,0,0,0.4);
  }
  html[data-theme="light"] .sticky-cta-bar__price {
    color: #8B7028;
  }
}

/* ──────────────────────────────────────────
   ANIMATED LOGO LOADER
   Reusable component: <div class="ft-loader"><svg ...></div>
────────────────────────────────────────── */
.ft-loader {
  display: flex;
  align-items: center;
  justify-content: center;
}
.ft-loader svg {
  filter: drop-shadow(0 0 20px rgba(201, 168, 76, 0.12));
}
.ft-loader .logo-dot {
  opacity: 0;
  transform-origin: center;
  transform-box: fill-box;
}
/* Center dot — appears first */
.ft-loader .logo-dot[data-pos="mc"] {
  animation: ft-loader-center 3.6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
/* Edge dots — appear second */
.ft-loader .logo-dot[data-pos="tc"],
.ft-loader .logo-dot[data-pos="ml"],
.ft-loader .logo-dot[data-pos="mr"],
.ft-loader .logo-dot[data-pos="bc"] {
  animation: ft-loader-edge 3.6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
/* Corner dots — appear third */
.ft-loader .logo-dot[data-pos="tl"],
.ft-loader .logo-dot[data-pos="tr"],
.ft-loader .logo-dot[data-pos="bl"],
.ft-loader .logo-dot[data-pos="br"] {
  animation: ft-loader-corner 3.6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
/* Frame draw-on loop */
.ft-loader .logo-frame {
  stroke-dasharray: 80;
  animation: ft-loader-frame 3.6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes ft-loader-center {
  0%        { opacity: 0; transform: scale(0); }
  12%       { opacity: 1; transform: scale(1.05); }
  17%       { opacity: 1; transform: scale(1); }
  62%       { opacity: 1; transform: scale(1); }
  78%       { opacity: 0; transform: scale(0); }
  100%      { opacity: 0; transform: scale(0); }
}
@keyframes ft-loader-edge {
  0%, 8%    { opacity: 0; transform: scale(0); }
  20%       { opacity: 1; transform: scale(1.05); }
  25%       { opacity: 1; transform: scale(1); }
  62%       { opacity: 1; transform: scale(1); }
  78%       { opacity: 0; transform: scale(0); }
  100%      { opacity: 0; transform: scale(0); }
}
@keyframes ft-loader-corner {
  0%, 16%   { opacity: 0; transform: scale(0); }
  28%       { opacity: 1; transform: scale(1.05); }
  33%       { opacity: 1; transform: scale(1); }
  62%       { opacity: 1; transform: scale(1); }
  78%       { opacity: 0; transform: scale(0); }
  100%      { opacity: 0; transform: scale(0); }
}
@keyframes ft-loader-frame {
  0%        { stroke-dashoffset: 80; opacity: 0; }
  5%        { opacity: 1; }
  15%       { stroke-dashoffset: 0; opacity: 1; }
  62%       { stroke-dashoffset: 0; opacity: 1; }
  78%       { stroke-dashoffset: 80; opacity: 0; }
  100%      { stroke-dashoffset: 80; opacity: 0; }
}

/* Single-play appear (success/completion states) */
.ft-appear .logo-dot {
  opacity: 0;
  transform-origin: center;
  transform-box: fill-box;
  animation: ft-dot-appear 833ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.ft-appear .logo-dot[data-pos="mc"] { animation-delay: 0ms; }
.ft-appear .logo-dot[data-pos="tc"],
.ft-appear .logo-dot[data-pos="ml"],
.ft-appear .logo-dot[data-pos="mr"],
.ft-appear .logo-dot[data-pos="bc"] { animation-delay: 200ms; }
.ft-appear .logo-dot[data-pos="tl"],
.ft-appear .logo-dot[data-pos="tr"],
.ft-appear .logo-dot[data-pos="bl"],
.ft-appear .logo-dot[data-pos="br"] { animation-delay: 400ms; }
.ft-appear .logo-frame {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  animation: ft-frame-appear 600ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes ft-dot-appear {
  0%   { opacity: 0; transform: scale(0); }
  70%  { opacity: 1; transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes ft-frame-appear {
  0%   { stroke-dashoffset: 80; opacity: 0; }
  20%  { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}

/* ──────────────────────────────────────────
   MOBILE: showcase swipe (hide arrows), statement, spacing
────────────────────────────────────────── */
@media (max-width: 768px) {
  .lr-arrow, .fuji-arrow { display: none; }
  .statement-sub { display: none; }
  .statement { padding-bottom: 24px; }
  .bestsellers { padding-top: 24px; }
}
