/* ─────────────────────────────
   LUDIX — site.css
   Company-level homepage (Ludix = the venture; products, starting with Ludrop, are
   listed dynamically from /api/products — see CLAUDE.md "Ludix vs Ludrop").
   Light-forward palette (warm cream) with balanced, premium motion (2026-07-16 redesign,
   docs/plans/ui-ux-redesign-report.md). Hero + CTA opt into a dramatic dark band via
   .band-dark. All motion has a prefers-reduced-motion fallback at the bottom of this file.
   ───────────────────────────── */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--line) var(--bg);
  scrollbar-width: thin;
  /* Decorative elements (hero glow, brand-aura) intentionally bleed off the right edge; clip
     them at the root so they never create horizontal scroll on narrow screens. `clip` (not
     `hidden`) avoids making <html> a scroll container, so the sticky nav + smooth scroll stay. */
  overflow-x: clip;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ─────────────────────────────
   AMBIENT PAGE BACKGROUND — the light surfaces were reading as one flat cream. Two fixed
   layers behind all content give warm depth + a fine grain, so the page feels crafted, not
   blank. Opaque .band-dark sections (hero/CTA) paint over these, so they show only on the
   light areas. Layer 1 (washes) drifts very slowly on its own; layer 2 (grain) is static.
   ───────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: -10%;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(58rem 46rem at 6% -8%, rgba(200,169,110,0.20), transparent 58%),
    radial-gradient(52rem 44rem at 106% 14%, rgba(216,189,135,0.16), transparent 56%),
    radial-gradient(60rem 52rem at 88% 108%, rgba(200,169,110,0.14), transparent 60%),
    radial-gradient(50rem 46rem at 14% 96%, rgba(191,161,110,0.10), transparent 60%);
  animation: bg-drift 38s var(--ease-in-out) infinite alternate;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url(/img/grain.svg);
  background-size: 180px 180px;
  opacity: 0.4;
  mix-blend-mode: multiply;
}
@keyframes bg-drift {
  from { transform: translate3d(-1.4%, -1%, 0) scale(1); }
  to   { transform: translate3d(1.6%, 1.4%, 0) scale(1.06); }
}

button { cursor: pointer; font: inherit; }
a { color: inherit; }

/* brief content cross-fade on language switch (site.js toggles .lang-fading) */
main { transition: opacity 140ms var(--ease-out); }
main.lang-fading { opacity: 0; }

::selection { background: var(--gold); color: #14110c; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-dim); }

.skip-link {
  position: absolute;
  top: -100px; left: 16px;
  background: var(--gold);
  color: #14110c;
  padding: 12px 20px;
  font-family: var(--mono);
  font-size: 12px;
  text-decoration: none;
  border-radius: var(--radius-sm);
  z-index: 9999;
}
.skip-link:focus { top: 16px; }
/* the skip link targets <main id="main-content" tabindex="-1"> so focus actually lands in the
   content; suppress the focus ring on the programmatic target itself (the visible focus is the
   viewport jump), while keeping it for genuinely interactive elements. */
main[tabindex]:focus { outline: none; }

.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

section[id] { scroll-margin-top: clamp(76px, 9vw, 104px); }

/* ─────────────────────────────
   DARK BAND — hero/CTA opt in; tokens flip locally so shared components adapt.
   ───────────────────────────── */
.band-dark {
  --bg: var(--band-bg);
  --bg-2: var(--band-bg-2);
  --ink: var(--band-ink);
  --ink-body: var(--band-ink-body);
  /* --ink-mute/--ink-dim were previously left unmapped here, so muted text (e.g. contact
     form labels) fell back to the light-surface values (#675E4B/#998E71) — ~3:1 on
     --band-bg, below WCAG AA. Remap to band-specific tones tuned for contrast instead. */
  --ink-mute: var(--band-ink-mute);
  --ink-dim: var(--band-ink-dim);
  --line: var(--band-line);
  --gold-ink: var(--gold);
  background: var(--band-bg);
  color: var(--band-ink);
}

/* ─────────────────────────────
   MOTION UTILITIES
   ───────────────────────────── */
/* Entrance is an animation (not a transition) so it never fights an element's own hover
   transition. `backwards` holds the hidden state during the stagger delay; because we do NOT
   use `forwards`, the final transform reverts to none, so hover lifts on cards still work. */
[data-reveal] { opacity: 0; }
[data-reveal].is-in { opacity: 1; animation: reveal-in var(--dur-slow) var(--ease-out) backwards; }
@keyframes reveal-in {
  from { opacity: 0; transform: translateY(var(--reveal-rise)) scale(0.985); }
  to   { opacity: 1; transform: none; }
}

.lift { transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out); }
.lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* ─────────────────────────────
   ANIMATED LOGO
   Nav/footer marks use a single fill path (hover: scale + gold sheen). The hero mark
   adds a stroke path (draw-on) + a clipped sheen sweep + idle float + pointer tilt.
   ───────────────────────────── */
.logo-mark { display: block; }
.nav-mark .logo-mark, .footer-mark .logo-mark { transition: filter var(--dur-base) var(--ease-out); }
.nav-mark:hover .logo-mark, .nav-mark:focus-visible .logo-mark { filter: drop-shadow(0 0 10px rgba(200,169,110,0.7)); }

/* Right-side dock slot — the hero mark flies here on scroll (mirrors the static left mark).
   Once docked its outline fills with page-scroll progress and it leans slightly with scroll
   velocity (site.js). Invisible placeholder until the flight arrives; hidden under RM/no-JS. */
.nav-dock { display: block; width: 44px; height: 44px; flex-shrink: 0; opacity: 0; }
.nav-dock .logo-mark { width: 100%; height: 100%; }
/* liquid-gold fill: the group (liquid + lighter surface line) is clipped to the mark and
   slides up from below; site.js lerps it toward the scroll progress so the liquid visibly
   glides and settles after you stop scrolling — motion that catches the eye */
.nav-dock .dock-fill { transform: translateY(158px); will-change: transform; }

/* Draw-on: the outline draws first, then the fill flows in only after the outline is
   mostly complete (so the "self-drawing" motion actually reads). */
.logo-stroke { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; }
/* outline draws, fill flows in, then the outline FADES OUT — leaving a flat gold mark
   with no bright rim (that rim was the lingering "shine"). */
.logo-mark.draw .logo-stroke { opacity: 1; animation: logo-draw 950ms var(--ease-out) forwards, logo-stroke-fade 450ms var(--ease-out) 1250ms forwards; }
.logo-mark.draw .logo-fill { opacity: 0; animation: logo-fill 520ms var(--ease-out) 760ms forwards; }
@keyframes logo-draw { to { stroke-dashoffset: 0; } }
@keyframes logo-fill { to { opacity: 1; } }
@keyframes logo-stroke-fade { to { opacity: 0; } }

/* ─────────────────────────────
   NAV
   ───────────────────────────── */
nav.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: clamp(14px, 2vw, 20px) var(--pad-x);
  background: rgba(16, 13, 9, 0.55);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: padding var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
nav.site-nav.scrolled {
  padding-top: clamp(9px, 1.4vw, 13px);
  padding-bottom: clamp(9px, 1.4vw, 13px);
  background: rgba(14, 11, 7, 0.86);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.25);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-mark { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.nav-mark svg { display: block; width: 30px; height: 30px; }
.nav-mark .name { font-family: var(--brand); font-weight: 600; font-size: clamp(12px, 1.5vw, 14px); letter-spacing: 0.14em; color: var(--band-ink); }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 32px);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-link { position: relative; text-decoration: none; color: rgba(242, 236, 224, 0.72); padding: 4px 0; transition: color var(--dur-fast); }
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--gold); transition: width var(--dur-base) var(--ease-out);
}
.nav-link:hover, .nav-link:focus-visible { color: var(--gold); outline: none; }
.nav-link:hover::after, .nav-link:focus-visible::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--gold); }

.nav-actions { display: flex; align-items: center; gap: 16px; }

.lang {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 100px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}
.lang button {
  background: transparent;
  border: none;
  color: rgba(242, 236, 224, 0.6);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 12px;
  min-height: 44px;
  transition: color var(--dur-fast), background var(--dur-fast);
}
.lang button.active { color: #14110c; background: var(--gold); }
.lang button:not(.active):hover { color: var(--band-ink); }
.lang button:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 2px; }

.nav-burger {
  display: none;
  background: transparent;
  border: 0;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 0;
}
.nav-burger span { display: block; width: 22px; height: 1.5px; background: var(--band-ink); border-radius: 2px; transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast); }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0; top: 64px;
  background: rgba(232, 220, 190, 0.98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  font-family: var(--display);
  font-size: clamp(22px, 6vw, 30px);
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: color var(--dur-fast);
}
.mobile-nav a:hover, .mobile-nav a:focus-visible { color: var(--gold-ink); }
.mobile-lang { display: flex; gap: 12px; margin-top: 8px; }
.mobile-lang button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 18px;
  min-height: 44px;
  border-radius: 8px;
  transition: color var(--dur-fast), background var(--dur-fast), border-color var(--dur-fast);
}
.mobile-lang button.active { color: #14110c; background: var(--gold); border-color: var(--gold); }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}
/* very narrow phones: tighten the nav row so logo + lang + dock + burger always fit */
@media (max-width: 600px) {
  .nav-inner { gap: 10px; }
  .nav-actions { gap: 10px; }
  .lang button { padding: 6px 9px; }
  .nav-dock { width: 34px; height: 34px; }
}
@media (max-width: 380px) {
  .nav-mark .name { font-size: 11px; letter-spacing: 0.08em; }
  .lang button { padding: 6px 7px; }
}

/* ─────────────────────────────
   BUTTONS
   ───────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  /* action buttons are rectangular — pills are reserved for toggles/chips (lang switch,
     contact chips), so a filled CTA can never read as a "selected" state */
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast), box-shadow var(--dur-base), transform var(--dur-fast);
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--gold); color: #171208; }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--gold-soft); box-shadow: var(--shadow-gold); transform: translateY(-2px); }
.btn-primary:active { transform: scale(0.97); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover, .btn-secondary:focus-visible { border-color: var(--gold); color: var(--gold-ink); }
.btn:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 2px; }

/* Hero CTAs reinstated (2026-07-21 launch-readiness pass) — the earlier "no hero CTA,
   navigation happens via nav links" decision left the hero with no action for the visitor and
   a dead .hero-cta i18n key pair; see .hero-cta below. */

/* ─────────────────────────────
   HERO — full-bleed dark band, two columns (copy + animated logo).
   ───────────────────────────── */
.hero {
  position: relative;
  padding: clamp(128px, 17vw, 190px) var(--pad-x) clamp(64px, 9vw, 104px);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -30% -12% auto auto;
  width: 78%; height: 130%;
  background: radial-gradient(46% 46% at 62% 38%, rgba(200,169,110,0.34), transparent 70%);
  filter: blur(52px);
  z-index: 0;
  pointer-events: none;
  animation: aurora 13s var(--ease-in-out) infinite alternate;
}
@keyframes aurora {
  from { transform: translate(-8%, -4%) scale(1); }
  to   { transform: translate(9%, 7%) scale(1.22); }
}
/* Ambient layer: a soft gold glow-orb that drifts slowly on its own across the hero (NOT
   cursor-following — that read as a cheap gimmick). A smooth blurred glow, in the same visual
   language as the aurora and the social-page orbs (the old version was a dotted spotlight that
   moved too fast and clashed with the site's smooth glows). Sits above the aurora glow
   (z-index 0) and below the content (.hero-inner, z-index 2). Transform-only, no repaint. */
.hero-field { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.hero-spot {
  position: absolute; left: 0; top: 0; width: 480px; height: 480px; margin: -240px 0 0 -240px;
  transform: translate3d(var(--x, 55vw), var(--y, 40vh), 0); will-change: transform;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,169,110,0.16), rgba(200,169,110,0.05) 45%, transparent 72%);
  filter: blur(16px);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
}
.hero-copy { min-width: 0; }
.hero-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: clamp(18px, 2.4vw, 24px);
}
.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(32px, 5.2vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 620px;
  margin-bottom: clamp(20px, 3vw, 28px);
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-sub {
  font-family: var(--body);
  font-weight: 400;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.68;
  color: var(--ink-body);
  max-width: 540px;
  margin-bottom: clamp(30px, 4vw, 42px);
  white-space: pre-line; /* preserves the \n\n paragraph break in hero.sub */
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* hero logo centerpiece — a slow 3D turn + gentle float, no shine. Nested elements so the
   pointer-tilt and the idle 3D turn each own their own transform and never fight. */
.hero-logo { perspective: 1100px; display: flex; align-items: center; justify-content: center; }
/* travel wrapper — site.js flies it (translate+scale from the hero into the nav slot) as you
   scroll; origin top-left keeps the FLIP math simple */
.hero-logo .logo-fly { width: min(340px, 78%); transform-origin: 0 0; will-change: transform, opacity; transform-style: preserve-3d; }
.hero-logo .logo-tilt {
  /* tilt + a physical lean toward the pointer — the lean is what makes the "following"
     unmistakable; rotation alone flattens to near-invisible on a flat mark */
  transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
}
.hero-logo .logo-spin {
  animation: logo-idle 6.5s var(--ease-in-out) infinite;
  transform-style: preserve-3d;
  filter: drop-shadow(0 22px 42px rgba(0,0,0,0.42));
}
.hero-logo .logo-mark { width: 100%; height: auto; }
/* Organic drift: floats up/down while gently swaying (rotateZ) and breathing (scale) —
   like a charm on a string. No spin, no shine. Pointer-tilt (on .logo-tilt) composes on top. */
@keyframes logo-idle {
  0%   { transform: translateY(0)     rotate(-2deg)  scale(1); }
  25%  { transform: translateY(-10px) rotate(1.5deg) scale(1.015); }
  50%  { transform: translateY(-16px) rotate(2.4deg) scale(1.03); }
  75%  { transform: translateY(-8px)  rotate(-1deg)  scale(1.015); }
  100% { transform: translateY(0)     rotate(-2deg)  scale(1); }
}

/* first-paint stagger of the hero copy (driven by [data-loading] on <body>) */
.hero-eyebrow, .hero h1, .hero-sub, .hero-cta {
  opacity: 1; transform: none;
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
body[data-loading] .hero-eyebrow, body[data-loading] .hero h1,
body[data-loading] .hero-sub, body[data-loading] .hero-cta {
  opacity: 0; transform: translateY(16px);
}
.hero h1 { transition-delay: 90ms; }
.hero-sub { transition-delay: 170ms; }
.hero-cta { transition-delay: 230ms; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: clamp(28px, 6vw, 44px); }
  .hero-copy { order: 2; }
  .hero-logo { order: 1; }
  .hero h1, .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-logo .logo-fly { width: min(200px, 52vw); }
}

/* ─────────────────────────────
   SECTIONS (general)
   ───────────────────────────── */
section { position: relative; z-index: 1; padding-top: var(--pad-y-sec); padding-bottom: var(--pad-y-sec); }

/* ─────────────────────────────
   BRAND AURA — the quiet cream stretch between the dramatic hero and the content was
   reading as flat/empty. An oversized ghost of the D-mark, bled off the page edge, fills
   it with brand presence without shouting: outline-led (echoing the stroke-icon language,
   §8) over a soft gold bloom, tilted off-grid, drifting almost imperceptibly on its own —
   never a solid silhouette (that reads cheap). Lives only inside light sections (never a
   .band-dark). aria-hidden decoration; each host section is a z-index:1 stacking context,
   so aura z-index:-1 sits above the page washes/grain but BEHIND the cards (which keep
   opaque --bg-2 fills). No pointer events, no layout cost. Motion is on the inner <svg>
   so the per-variant orientation (rotate/mirror) on the container is never overridden. */
.brand-aura {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  width: min(620px, 64vw);
  aspect-ratio: 1 / 1;
  transform: rotate(-7deg);
}
/* soft gold bloom behind the mark — the hero's "premium light" carried onto the cream so
   the mark reads as radiance, not a pasted-in glyph. Stays put while the mark drifts in it. */
.brand-aura::before {
  content: '';
  position: absolute;
  inset: -20%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 46%, rgba(200,169,110,0.22), rgba(200,169,110,0.07) 44%, transparent 68%);
}
.brand-aura svg {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible; /* let the stroke + drift-scale breathe past the viewBox without clipping */
  animation: aura-drift 36s var(--ease-in-out) infinite alternate;
}
/* Balance tuned 2026-07-21: fill up, ring down. The previous fill:0.09 / ring:0.5 read as a
   disconnected wireframe fragment (a "half-finished doodle") when the mark bleeds off-edge —
   letting the outline dominate a barely-there fill. Leading with the soft filled silhouette
   instead makes it a recognizable brand ghost, not stray line work. */
.brand-aura .aura-fill { fill: var(--gold); opacity: 0.14; }
.brand-aura .aura-ring { fill: none; stroke: var(--gold-ink); stroke-width: 1.2; opacity: 0.28; stroke-linejoin: round; }

/* Anchor points: top-right of the products region (right after the hero), a mirrored,
   smaller, fainter echo lower-left in the approach region, and the right void of a
   product detail page. Negative insets bleed the mark off-edge (body has overflow-x:hidden,
   so no horizontal scroll). */
.brand-aura--products { top: clamp(-64px, -5vw, -24px); right: clamp(-140px, -5vw, -40px); }
.brand-aura--approach { width: min(430px, 52vw); bottom: -10%; left: clamp(-140px, -6vw, -48px); transform: rotate(6deg) scaleX(-1); }
.brand-aura--approach .aura-ring { opacity: 0.22; }
.brand-aura--product  { top: clamp(-32px, -2vw, 8px); right: clamp(-150px, -6vw, -48px); }

/* On tablet the auras were oversized enough to dominate rather than accent — rein them in. */
@media (max-width: 768px) { .brand-aura { width: min(430px, 56vw); } }

/* Gentle autonomous drift + wobble, composed on top of each container's base orientation.
   Transform-only (compositor), no per-frame repaint. Off under prefers-reduced-motion. */
@keyframes aura-drift {
  from { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
  to   { transform: translate3d(-12px, 11px, 0) scale(1.05) rotate(3deg); }
}

/* ─────────────────────────────
   SECTION SEAM — the quiet geometric divider that fills the gap between Products and
   Principles. Pure line work in the logo's own vocabulary (arc + straight line): two
   overlapping thin circles — the digital and the physical — meeting in a lens, threaded by
   a single hairline axis that dissolves into the cream at both ends. No fills, no 3D, no
   perpetual motion; minimal by intent. Nests into the surrounding section paddings so it
   fills dead space without adding a tall band. aria-hidden; uses only the site's one
   standard entrance (data-reveal — handled globally, incl. its reduced-motion fallback). */
.section-seam {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding: 0 var(--pad-x);
  margin: clamp(-72px, -5vw, -28px) 0;
}
.seam-svg { display: block; width: min(560px, 86vw); height: auto; overflow: visible; }
.seam-axis { stroke-width: 1.4; }
.seam-ring { fill: none; stroke: var(--gold-ink); stroke-width: 1.6; opacity: 0.55; }
/* the Ludix mark, solid, seated in the ring — a brand seal, so the divider is unmistakably
   ours rather than a generic pair of circles. Matches the solid gold nav/footer mark. */
.seam-mark { fill: var(--gold-ink); }

.section-mark { margin-bottom: clamp(40px, 6vw, 64px); max-width: 640px; }
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 16px;
  display: block;
}
.section-mark h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.015em;
}

/* ─────────────────────────────
   WHAT WE DO — editorial prose: a lead statement, a hairline rule, a supporting note.
   ───────────────────────────── */
.approach-prose { max-width: 760px; }
.approach-lead {
  font-family: var(--body);
  font-size: clamp(20px, 2.5vw, 27px);
  line-height: 1.48;
  color: var(--ink);
  font-weight: 500;
}
.approach-rule {
  display: block;
  width: 56px;
  height: 1px;
  background: var(--gold-ink);
  opacity: 0.5;
  margin: clamp(28px, 3.5vw, 40px) 0;
}
.approach-note {
  font-family: var(--body);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.72;
  color: var(--ink-mute);
  max-width: 640px;
}

/* ─────────────────────────────
   PRODUCTS — horizontal scroll, one card per product, click-through.
   ───────────────────────────── */
.products-viewport { position: relative; }
.products-grid {
  display: flex;
  gap: clamp(14px, 2vw, 20px);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  /* Vertical padding is clip-room: overflow-x:auto also clips the Y axis, so the hover
     lift+scale+glow got cut off at the top. Padding gives it room; negative margins pull the
     row back so section rhythm and card-to-wrap alignment stay put. */
  padding: 20px 6px 12px;
  margin: -14px -6px -8px;
}
.product-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(24px, 3vw, 32px);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
  display: block;
  text-decoration: none;
  min-width: min(320px, 84vw);
  flex-shrink: 0;
  scroll-snap-align: start;
}
.product-card:hover, .product-card:focus-visible {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(200,169,110,0.6);
  box-shadow: var(--shadow-md), var(--shadow-gold);
  outline: none;
}
.product-card .tagline { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 12px; }
.product-card h3 { font-family: var(--display); font-weight: 600; font-size: 20px; color: var(--ink); margin-bottom: 10px; }
/* Homepage cards are teasers: description clamps to a few lines and the feature list is capped
   in site.js, so a card's height stays bounded however long a product's copy grows. The full
   copy lives on /products/{slug}, which every card links to. */
.product-card p {
  font-family: var(--body); font-size: 15px; line-height: 1.62; color: var(--ink-body); margin-bottom: 16px;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;
}
.product-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.product-card li { font-family: var(--body); font-size: 14px; color: var(--ink-mute); display: flex; align-items: baseline; gap: 8px; }
.product-card li::before { content: '—'; color: var(--gold-ink); flex-shrink: 0; }
.products-empty { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); }

/* Shown while /api/products is still in flight (see site.js renderProducts) — a card-level
   shimmer rather than per-line placeholders, kept cheap since it's only ever on screen briefly. */
.product-card--skeleton {
  min-height: 230px;
  pointer-events: none;
  background: linear-gradient(100deg, var(--bg-2) 38%, var(--line) 50%, var(--bg-2) 62%);
  background-size: 250% 100%;
  animation: skeleton-shimmer 1.6s ease-in-out infinite;
}
@keyframes skeleton-shimmer {
  0% { background-position: 150% 0; }
  100% { background-position: -50% 0; }
}

/* Count-adaptive layouts (site.js toggles .is-single / .is-pair) so the section never looks
   empty with few products. Both opt out of the scroll row's overflow/clip padding. */
.products-grid.is-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.2vw, 24px);
  overflow: visible;
  padding: 6px; margin: -6px;
}
.products-grid.is-pair .product-card { min-width: 0; width: 100%; }
@media (max-width: 620px) { .products-grid.is-pair { grid-template-columns: 1fr; } }

.products-grid.is-single { display: block; overflow: visible; padding: 6px; margin: -6px; }
.product-card--featured {
  min-width: 0; width: 100%;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
}
.product-card--featured:hover, .product-card--featured:focus-visible { transform: translateY(-4px); }
.product-card--featured .tagline { margin-bottom: 14px; }
.product-card--featured h3 { font-size: clamp(24px, 3.2vw, 36px); margin-bottom: 14px; }
.product-card--featured p { font-size: clamp(15px, 1.5vw, 17px); line-height: 1.66; max-width: 54ch; margin-bottom: 22px; -webkit-line-clamp: 4; line-clamp: 4; }
.product-card--featured .pf-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-text);
}
.product-card--featured .pf-cta .pf-arrow { width: 16px; height: 16px; transition: transform var(--dur-base) var(--ease-out); }
.product-card--featured:hover .pf-cta .pf-arrow { transform: translateX(4px); }
.product-card--featured .pf-aside { border-left: 1px solid var(--line); padding-left: clamp(20px, 3vw, 40px); }
.product-card--featured .pf-aside ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.product-card--featured .pf-aside li { font-family: var(--body); font-size: 15px; color: var(--ink-mute); display: flex; align-items: baseline; gap: 8px; }
.product-card--featured .pf-aside li::before { content: '—'; color: var(--gold-ink); flex-shrink: 0; }
@media (max-width: 720px) {
  .product-card--featured { grid-template-columns: 1fr; gap: 24px; }
  .product-card--featured .pf-aside { border-left: none; border-top: 1px solid var(--line); padding-left: 0; padding-top: 22px; }
}

/* Cards cascade in when the products row scrolls into view. Parent-driven (the viewport
   carries [data-reveal]) so it works regardless of when the cards are fetched/injected. */
.products-viewport[data-reveal] { opacity: 1; }
.products-viewport.is-in { animation: none; }
.products-viewport .product-card { opacity: 0; }
.products-viewport.is-in .product-card { opacity: 1; animation: reveal-in var(--dur-slow) var(--ease-out) backwards; }
.products-viewport.is-in .product-card:nth-child(2) { animation-delay: 90ms; }
.products-viewport.is-in .product-card:nth-child(3) { animation-delay: 180ms; }
.products-viewport.is-in .product-card:nth-child(4) { animation-delay: 270ms; }
.products-viewport.is-in .product-card:nth-child(n+5) { animation-delay: 340ms; }

/* ─────────────────────────────
   PRODUCT DETAIL PAGE (/products/{slug})
   ───────────────────────────── */
.product-hero {
  padding-top: clamp(120px, 16vw, 160px);
  padding-bottom: clamp(24px, 4vw, 40px);
}
/* Two columns: copy left, first product image right. Copy stays readable-width; the image
   takes the space the brand-aura used to fill on its own. */
.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.product-hero-copy { max-width: 640px; min-width: 0; }
.product-hero-media {
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-3);
  box-shadow: var(--shadow-md);
}
.product-hero-media img { display: block; width: 100%; height: auto; }
/* With a hero image in the right column, the brand-aura ghost is redundant — hide it so the two
   don't collide; it comes back (see product.js toggling has-hero-media) only when there's no image. */
.product-hero.has-hero-media .brand-aura { display: none; }
@media (max-width: 820px) {
  .product-hero-grid { grid-template-columns: 1fr; gap: clamp(24px, 5vw, 36px); }
  .product-hero-copy { max-width: none; }
  .product-hero-media { max-width: 560px; }
}
/* hero content fades in once loaded (site.js removes [data-loading] after fetch) */
.product-hero-copy > *, .product-hero-media { transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
body[data-loading] .product-hero-copy > *, body[data-loading] .product-hero-media { opacity: 0; transform: translateY(14px); }
.product-hero > .brand-aura { transform: rotate(-7deg); }
/* copy children: back(1), tagline(2), h1(3), description(4) */
.product-hero-copy > *:nth-child(3) { transition-delay: 70ms; }
.product-hero-copy > *:nth-child(4) { transition-delay: 140ms; }
.product-hero-media { transition-delay: 110ms; }
.product-back {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-decoration: none;
  /* inline-flex + min-height gives a ≥44px touch target (WCAG 2.5.5) without enlarging the
     visible text; negative left margin keeps the label optically flush with the column. */
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: clamp(16px, 3vw, 28px);
  margin-left: -6px;
  padding: 0 6px;
  transition: color var(--dur-fast), transform var(--dur-fast);
  /* also rendered as a <button> on product pages (history.back) — reset the UA chrome */
  background: none;
  border: 0;
  cursor: pointer;
}
.product-back:hover, .product-back:focus-visible { color: var(--gold-ink); transform: translateX(-3px); }
.product-tagline {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 16px;
}
.product-hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(30px, 4.6vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 20px;
}
.product-description {
  font-family: var(--body);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.68;
  color: var(--ink-body);
  max-width: 640px;
}
.product-features-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.product-features-list li {
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-body);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}
.product-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(14px, 2vw, 20px);
}
.product-media-figure {
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: var(--bg-3); /* placeholder tone shown while the image loads (no blank flash) */
  min-height: 180px;
}
.product-media-grid img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--dur-slow) var(--ease-out);
}
.product-media-figure:hover img { transform: scale(1.04); }
.product-not-found {
  text-align: center;
  padding-top: clamp(140px, 18vw, 200px);
}
.product-not-found p {
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink-mute);
  margin-bottom: 24px;
}

/* ─────────────────────────────
   LEGAL PAGES (/privacy, /cookie-policy) — same shell as product detail,
   just a long-form reading column instead of product data.
   ───────────────────────────── */
.legal-doc { padding-top: clamp(120px, 16vw, 160px); padding-bottom: clamp(48px, 6vw, 72px); max-width: 720px; }
.legal-back {
  text-decoration: none;
  transition: color var(--dur-fast), transform var(--dur-fast);
  background: none; border: 0; padding: 0; width: fit-content;
}
.legal-back:hover, .legal-back:focus-visible { color: var(--gold); transform: translateX(-3px); outline: none; }
.legal-doc h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 10px;
}
.legal-updated { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--ink-dim); margin: 0; }
.legal-body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-body);
  max-width: 680px;
}
.legal-body h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(19px, 2.2vw, 22px);
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 2.2em 0 0.6em;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { margin: 0 0 1.1em; }
.legal-body ul { margin: 0 0 1.1em; padding-left: 1.3em; }
.legal-body li { margin-bottom: 0.5em; }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-body a { color: var(--gold-text); text-decoration: underline; text-underline-offset: 2px; }
.legal-body a:hover, .legal-body a:focus-visible { color: var(--gold); }

/* ─────────────────────────────
   STATS (hidden until there is real public fleet data)
   ───────────────────────────── */
.stats-section[hidden] { display: none; }
.stats-row { display: flex; flex-wrap: wrap; gap: clamp(32px, 6vw, 64px); justify-content: center; text-align: center; }
.stat-num { font-family: var(--display); font-weight: 700; font-size: clamp(36px, 5vw, 52px); color: var(--gold-ink); }
.stat-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); margin-top: 8px; }

/* ─────────────────────────────
   CTA — dark band card on the cream page.
   ───────────────────────────── */
.cta-section { padding-top: 0; padding-bottom: clamp(48px, 6vw, 72px); }
.cta-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 56px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  inset: auto auto -40% -10%;
  width: 60%; height: 100%;
  background: radial-gradient(45% 45% at 40% 60%, rgba(200,169,110,0.18), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.015em;
}

/* Two-column contact layout: info (eyebrow + heading + copy + stacked chips) on the left,
   the form on the right — same two-column rhythm as the hero, everything on one grid. */
.cta-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  text-align: left;
}
.cta-grid .eyebrow { color: var(--gold); margin-bottom: 14px; }
.cta-grid h2 { margin-bottom: 14px; font-size: clamp(24px, 3.4vw, 34px); }
.cta-grid p { margin: 0 0 26px; max-width: none; }
.cta-grid .contact-methods { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 10px; margin-bottom: 0; }
.cta-grid .contact-chip { justify-content: flex-start; }
.cta-grid .contact-form { max-width: none; margin: 0; }
.cta-grid .contact-form .btn { align-self: stretch; }
@media (max-width: 820px) {
  .cta-grid { grid-template-columns: 1fr; gap: 32px; }
}
.cta-card h2 em { font-style: normal; color: var(--gold); }
.cta-card p {
  font-family: var(--body);
  font-size: clamp(16px, 1.7vw, 18px);
  color: var(--ink-body);
  max-width: 480px;
  margin: 0 auto 32px;
}
.contact-methods { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.contact-chip {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.03em;
  color: var(--ink); text-decoration: none;
  transition: border-color var(--dur-fast), background var(--dur-fast), transform var(--dur-fast);
}
.contact-chip svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }
.contact-chip:hover {
  border-color: var(--gold); background: rgba(200, 169, 110, 0.1); transform: translateY(-1px);
}
/* Real focus ring (not just a border tint) — on the near-black band the border-color change
   alone was hard to see for keyboard users. */
.contact-chip:focus-visible {
  border-color: var(--gold); background: rgba(200, 169, 110, 0.1);
  outline: 2px solid var(--gold); outline-offset: 2px;
}
/* Obfuscated email button: not selectable/copyable, address assembled in JS on click. The
   parts render as info @ ludix.com.tr with the "@" as an SVG glyph. */
.email-obf { -webkit-user-select: none; user-select: none; }
.email-obf .eo-parts { display: inline-flex; align-items: center; gap: 5px; }
.email-obf .eo-at { width: 14px; height: 14px; color: var(--gold); flex-shrink: 0; }

.contact-form {
  text-align: left;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 8px;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  min-height: 44px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: var(--body);
  font-size: 15px;
  color: var(--ink);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
/* On the dark contact band the field bg (=--band-bg, near-black) sat flush with the band and
   the hairline border was nearly invisible, so empty fields read as flat voids rather than
   inputs. Lift the surface a step and give the border real edge so they afford "type here". */
.band-dark .contact-form input, .band-dark .contact-form textarea {
  background: var(--band-bg-2);
  border-color: rgba(255, 255, 255, 0.16);
}
.contact-form input:focus-visible, .contact-form textarea:focus-visible {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,169,110,0.18);
}
.contact-form textarea { min-height: 110px; resize: vertical; }
.contact-consent { font-family: var(--body); font-size: 12.5px; line-height: 1.5; color: var(--ink-mute); margin: -4px 0 0; }
.contact-consent a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.contact-consent a:hover, .contact-consent a:focus-visible { color: var(--gold); }
.contact-form .btn { align-self: flex-start; }
.contact-status { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; min-height: 16px; margin: 0; }
.contact-status.ok { color: var(--ok); }
.contact-status.err { color: var(--err); }
/* success check that draws in when the message is sent (toggled by site.js) */
.contact-check { display: inline-block; vertical-align: middle; width: 16px; height: 16px; margin-right: 6px; }
.contact-check path { stroke: var(--ok); stroke-width: 2.5; fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; }
.contact-status.ok .contact-check path { animation: logo-draw 420ms var(--ease-out) forwards; }

/* On a successful send, a gold envelope flies in an arc from the submit button to the
   info@ address chip, which then pops — "your message is on its way to us". Built in JS
   (site.js flyLetter) with the Web Animations API; disabled under prefers-reduced-motion. */
.mail-fly {
  position: fixed; left: 0; top: 0; z-index: 500; pointer-events: none;
  will-change: transform, opacity; filter: drop-shadow(0 8px 16px rgba(20,17,12,0.3));
}
.mail-fly svg { display: block; }
.contact-chip.received { animation: chip-receive 640ms var(--ease-out); }
@keyframes chip-receive {
  0% { transform: none; }
  30% { transform: scale(1.14); border-color: var(--gold); box-shadow: 0 0 0 4px rgba(200,169,110,0.3); color: var(--gold); }
  100% { transform: none; }
}

/* ─────────────────────────────
   FOOTER
   ───────────────────────────── */
/* Slim dark band — bookends the page with the dark nav, and the gold mark actually
   reads on it (it was nearly invisible as deep-gold-on-cream). One row: mark left,
   copyright right. */
footer {
  background: var(--band-bg);
  color: var(--band-ink);
  padding: clamp(16px, 2.2vw, 22px) var(--pad-x);
  position: relative;
  z-index: 1;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-mark { display: flex; align-items: center; gap: 12px; }
.footer-mark .logo-mark { width: 28px; height: 28px; }
.footer-mark .name { font-family: var(--brand); font-weight: 600; font-size: 15px; letter-spacing: 0.14em; color: var(--band-ink); }
.footer-mark .logo-fill { fill: var(--gold); }
.footer-meta { font-family: var(--body); font-size: 14px; color: var(--band-ink-body); }
.footer-links { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.footer-legal { display: flex; align-items: center; gap: 14px; }
.footer-legal a, .footer-legal-btn {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
  color: var(--band-ink-mute); text-decoration: none;
  background: none; border: none; padding: 0; cursor: pointer;
  transition: color var(--dur-fast);
}
.footer-legal a:hover, .footer-legal a:focus-visible,
.footer-legal-btn:hover, .footer-legal-btn:focus-visible { color: var(--gold); outline: none; }
@media (max-width: 560px) { .footer-links { align-items: center; } }

/* ─────────────────────────────
   COOKIE BANNER — slides up.
   ───────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(243, 235, 214, 0.97);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-top: 1px solid var(--line);
  padding: clamp(16px, 2.5vw, 22px) clamp(20px, 5vw, 32px);
  display: flex;
  gap: clamp(14px, 3vw, 28px);
  align-items: center;
  justify-content: center;
  transform: translateY(110%);
  transition: transform var(--dur-base) var(--ease-out);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner-text { font-family: var(--body); font-size: clamp(14px, 1.6vw, 15px); line-height: 1.5; color: var(--ink-body); flex: 1 1 auto; max-width: 640px; }
.cookie-banner-text a { color: var(--gold-text); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner-text a:hover, .cookie-banner-text a:focus-visible { color: var(--gold-ink); }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-accept, .cookie-decline {
  flex-shrink: 0;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  transition: border-color var(--dur-fast), color var(--dur-fast);
}
.cookie-accept:hover, .cookie-decline:hover { border-color: var(--gold); color: var(--gold-ink); }
.cookie-accept:focus-visible, .cookie-decline:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 2px; }
@media (max-width: 560px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 12px; text-align: center; }
  .cookie-banner-actions { width: 100%; }
  .cookie-accept, .cookie-decline { flex: 1 1 0; }
}

/* ─────────────────────────────
   REDUCED MOTION — honor the OS setting: cut all motion, land on final state.
   ───────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .products-viewport .product-card { opacity: 1 !important; }
  .hero-field { display: none !important; } /* interactive-only layer */
  body[data-loading] .hero-eyebrow, body[data-loading] .hero h1,
  body[data-loading] .hero-sub,
  body[data-loading] .product-hero > * { opacity: 1 !important; transform: none !important; }
  .logo-mark .logo-fill { opacity: 1 !important; }
  .logo-mark .logo-stroke { opacity: 0 !important; }
  .hero-logo .logo-spin { animation: none !important; }
  .hero-logo .logo-tilt { transform: none !important; }
  .hero::before, .cta-card::before { animation: none !important; }
  body::before { animation: none !important; }
  .brand-aura svg { animation: none !important; }
}
