/* ============================================================
   SAUMON DE FRANCE — Design System
   Fresh oceanic palette · premium gastronomy · marine nature
   ============================================================ */

:root {
  /* Oceanic palette (HSL components) */
  --background: 200 30% 98%;
  --foreground: 205 45% 14%;
  --card: 0 0% 100%;
  --card-foreground: 205 45% 14%;
  --primary: 205 60% 22%;
  --primary-foreground: 200 30% 98%;
  --secondary: 195 35% 92%;
  --muted: 200 25% 90%;
  --muted-foreground: 205 18% 42%;
  --accent: 12 78% 64%;
  --accent-foreground: 0 0% 100%;
  --ocean-deep: 208 70% 16%;
  --ocean-mid: 198 55% 38%;
  --foam: 190 40% 96%;
  --border: 200 20% 86%;
  --ring: 12 78% 64%;

  /* Convenience tokens */
  --bg: hsl(var(--background));
  --fg: hsl(var(--foreground));
  --coral: hsl(var(--accent));
  --coral-soft: hsl(12 78% 64% / 0.14);
  --ink: hsl(var(--foreground));
  --ink-60: hsl(205 18% 42%);

  /* Type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "DM Mono", ui-monospace, monospace;

  /* Layout */
  --pad-x: clamp(1.25rem, 5vw, 6rem);
  --maxw: 1320px;

  --ease-water: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
::selection { background: var(--coral); color: #fff; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Typography helpers ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 380;
  font-optical-sizing: auto;
  line-height: 0.98;
  letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 0, "WONK" 0;
}
.serif-italic { font-family: var(--font-display); font-style: italic; }
.coral { color: var(--coral); }

.eyebrow,
.pill-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}
.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.5em 0.95em;
  border: 1px solid hsl(var(--border));
  border-radius: 100px;
  color: var(--ink-60);
  background: hsl(var(--card) / 0.6);
  backdrop-filter: blur(6px);
}
.pill-tag::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--coral);
  flex: none;
}
.pill-tag--ghost {
  background: transparent;
  border-color: hsl(0 0% 100% / 0.28);
  color: hsl(0 0% 100% / 0.8);
}
.pill-tag--ghost::before { box-shadow: 0 0 10px 1px var(--coral); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  color: var(--coral);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--coral);
  display: inline-block;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad-x); }
.section { position: relative; padding-block: clamp(5rem, 11vh, 9rem); }

/* ---------- Buttons ---------- */
.btn {
  --bh: 0;
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 0.95em 1.6em;
  border-radius: 100px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease-water), box-shadow 0.5s var(--ease-water), color 0.4s ease;
  will-change: transform;
}
.btn svg { width: 1.05em; height: 1.05em; transition: transform 0.45s var(--ease-water); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }

.btn--coral {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 10px 30px -12px hsl(12 78% 50% / 0.7);
}
.btn--coral:hover { box-shadow: 0 16px 40px -12px hsl(12 78% 50% / 0.85); }

.btn--ghost {
  border: 1px solid hsl(var(--border));
  color: var(--fg);
}
.btn--ghost.on-dark { border-color: hsl(0 0% 100% / 0.3); color: hsl(0 0% 100% / 0.92); }
.btn--ghost:hover { border-color: var(--coral); color: var(--coral); }
.btn--ghost.on-dark:hover { background: hsl(0 0% 100% / 0.06); color: #fff; border-color: hsl(0 0% 100% / 0.6); }

/* ============================================================
   GLOBAL OVERLAYS — caustics, grain, current line
   ============================================================ */

.water-caustics {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.water-caustics::before,
.water-caustics::after {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(38% 28% at 30% 30%, hsl(190 80% 70% / 0.18), transparent 60%),
    radial-gradient(30% 22% at 70% 45%, hsl(180 70% 75% / 0.14), transparent 60%),
    radial-gradient(44% 30% at 55% 75%, hsl(200 80% 72% / 0.16), transparent 62%);
  filter: blur(20px);
  animation: causticsDrift 26s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}
.water-caustics::after {
  animation-duration: 34s;
  animation-direction: alternate-reverse;
  opacity: 0.7;
}
@keyframes causticsDrift {
  0%   { transform: translate3d(-4%, -2%, 0) scale(1.05) rotate(0deg); }
  50%  { transform: translate3d(3%, 2%, 0) scale(1.15) rotate(2deg); }
  100% { transform: translate3d(5%, -3%, 0) scale(1.08) rotate(-1.5deg); }
}

.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, hsl(12 78% 70%), var(--coral));
  z-index: 9500;
}

/* Custom cursor */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: normal;
  will-change: transform;
}
.cursor-dot { width: 8px; height: 8px; background: var(--coral); margin: -4px 0 0 -4px; }
.cursor-ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 1px solid hsl(12 78% 64% / 0.55);
  transition: width 0.3s var(--ease-water), height 0.3s var(--ease-water),
              margin 0.3s var(--ease-water), background 0.3s ease, border-color 0.3s ease;
}
.cursor-ring.is-active {
  width: 64px; height: 64px; margin: -32px 0 0 -32px;
  background: hsl(12 78% 64% / 0.12);
  border-color: transparent;
}
body.has-cursor { cursor: none; }
body.has-cursor a, body.has-cursor button { cursor: none; }
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 8000;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
  padding: 1.4rem var(--pad-x);
  transition: padding 0.5s var(--ease-water), background 0.5s ease, box-shadow 0.5s ease, backdrop-filter 0.5s ease;
}
.nav.is-stuck {
  padding-block: 0.85rem;
  background: hsl(var(--background) / 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 hsl(var(--border) / 0.8), 0 8px 30px -22px hsl(205 60% 22% / 0.6);
}
.nav.on-hero { color: #fff; }
.nav.on-hero.is-stuck { color: var(--fg); }
.nav.is-stuck .nav__link { opacity: 1; color: var(--fg); }
.nav.is-stuck .btn--coral {
  box-shadow: 0 4px 14px -5px hsl(12 78% 50% / 0.28);
}
.nav.is-stuck .btn--coral:hover {
  box-shadow: 0 8px 24px -8px hsl(12 78% 50% / 0.45);
}

.nav__brand {
  font-family: var(--font-display);
  font-weight: 420;
  font-size: 1.32rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  display: flex; align-items: baseline; gap: 0.5ch;
}
.nav__brand .dot { color: var(--coral); }

.nav__links { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.6rem); }
.nav__link {
  position: relative;
  font-size: 0.86rem;
  letter-spacing: 0.01em;
  padding-block: 0.4rem;
  opacity: 0.86;
  transition: opacity 0.3s ease;
}
.nav__link::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  height: 1.5px; width: 100%;
  background: var(--coral);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 0.45s var(--ease-water);
}
.nav__link:hover { opacity: 1; }
.nav__link:hover::after { transform: scaleX(1); }

.nav__right { display: flex; align-items: center; gap: 1.3rem; }
.nav__cart { position: relative; display: flex; align-items: center; }
.nav__cart svg { width: 21px; height: 21px; }
.nav__cart .count {
  position: absolute; top: -7px; right: -9px;
  min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 100px;
  background: var(--coral); color: #fff;
  font-family: var(--font-mono); font-size: 0.62rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.nav__burger { display: none; }

@media (max-width: 940px) {
  .nav__links { display: none; }
  .nav__burger {
    display: flex; flex-direction: column; gap: 5px;
    width: 28px;
  }
  .nav__burger span { height: 1.5px; background: currentColor; display: block; }
}

/* ---------- Enhanced burger ---------- */
.nav__burger { position: relative; z-index: 8100; }
.nav__burger span {
  transform-origin: center;
  transition:
    transform 0.52s var(--ease-water),
    opacity 0.32s ease,
    width 0.42s var(--ease-water);
}
.nav__burger span:nth-child(1) { width: 100%; }
.nav__burger span:nth-child(2) { width: 68%; margin-left: auto; }
.nav__burger span:nth-child(3) { width: 85%; }

.nav__burger.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
  width: 100%;
}
.nav__burger.is-open span:nth-child(2) {
  transform: scaleX(0);
  opacity: 0;
}
.nav__burger.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
  width: 100%;
}

/* Nav state when mobile menu is open */
.nav.menu-open {
  color: #fff;
  background: transparent !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}

/* Active nav link (section tracking) */
.nav__link.is-active { opacity: 1; }
.nav__link.is-active::after { transform: scaleX(1); }

/* Hide CTA in nav__right on very small screens (available in mobile menu) */
@media (max-width: 480px) {
  .nav__right .btn--coral { display: none; }
}

/* ============================================================
   MOBILE FULL-SCREEN MENU
   ============================================================ */
.nav__mobile {
  position: fixed;
  inset: 0;
  z-index: 7900;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem var(--pad-x) 3.5rem;
  background:
    radial-gradient(110% 80% at 8% 18%, hsl(198 68% 22%) 0%, transparent 55%),
    linear-gradient(158deg, hsl(var(--ocean-deep)) 0%, hsl(206 68% 11%) 100%);
  pointer-events: none;
  clip-path: circle(0% at 85% 40px);
  overflow: hidden;
  will-change: clip-path;
}

/* Top accent line */
.nav__mobile::before {
  content: "";
  position: absolute;
  top: 0; left: var(--pad-x); right: var(--pad-x);
  height: 1px;
  background: linear-gradient(90deg, var(--coral), transparent 70%);
  opacity: 0.45;
}

.nav__mobile-caustics {
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(42% 30% at 12% 22%, hsl(190 80% 70% / 0.07), transparent 60%),
    radial-gradient(36% 28% at 82% 60%, hsl(180 70% 75% / 0.05), transparent 60%),
    radial-gradient(52% 36% at 48% 82%, hsl(200 80% 72% / 0.07), transparent 62%);
  filter: blur(38px);
  animation: causticsDrift 32s ease-in-out infinite alternate;
  pointer-events: none;
}

.nav__mobile-nav {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center;
  border-top: 1px solid hsl(0 0% 100% / 0.07);
}

.nav__mobile-link {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-block: 0.6rem;
  border-bottom: 1px solid hsl(0 0% 100% / 0.07);
  position: relative;
  color: hsl(190 35% 94%);
  text-decoration: none;
  overflow: hidden;
  opacity: 0;
  transform: translateY(44px);
}

.nav__mobile-link::before {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  height: 1px; width: 0;
  background: var(--coral);
  transition: width 0.55s var(--ease-water);
}

.nav__mobile-link:hover::before,
.nav__mobile-link.is-active::before { width: 100%; }

.nav__mobile-num {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--coral);
  opacity: 0.6;
  flex-shrink: 0;
  min-width: 2.8rem;
  padding-top: 0.4em;
  transition: opacity 0.35s ease, transform 0.45s var(--ease-water);
}

.nav__mobile-label {
  font-family: var(--font-display);
  font-weight: 360;
  font-size: clamp(2rem, 7.5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  transition: color 0.4s ease;
}

.nav__mobile-link:hover .nav__mobile-num { opacity: 1; transform: translateX(5px); }
.nav__mobile-link:hover .nav__mobile-label,
.nav__mobile-link.is-active .nav__mobile-label { color: var(--coral); }
.nav__mobile-link.is-active .nav__mobile-num { opacity: 1; }

.nav__mobile-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding-top: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
}

.nav__mobile-deco {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: hsl(190 40% 92% / 0.2);
  padding-top: 1.5rem;
  opacity: 0;
  transform: translateY(12px);
}

/* Reduced motion: swap clip-path for opacity */
@media (prefers-reduced-motion: reduce) {
  .nav__mobile {
    clip-path: none !important;
    opacity: 0;
    transition: opacity 0.25s ease !important;
  }
  .nav__mobile[aria-hidden="false"] { opacity: 1; }
  .nav__mobile-link,
  .nav__mobile-foot,
  .nav__mobile-deco {
    opacity: 1 !important;
    transform: none !important;
  }
  .nav__burger span { transition: none !important; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(120% 90% at 50% -10%, hsl(198 60% 30%) 0%, transparent 55%),
    linear-gradient(180deg, hsl(var(--ocean-mid)) 0%, hsl(206 64% 19%) 42%, hsl(var(--ocean-deep)) 100%);
  isolation: isolate;
}
/* Light shafts from surface */
.hero__shafts {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(110deg, transparent 30%, hsl(190 80% 80% / 0.07) 42%, transparent 52%),
    linear-gradient(75deg, transparent 55%, hsl(190 80% 80% / 0.05) 66%, transparent 74%);
  mix-blend-mode: screen;
  animation: shaftSway 18s ease-in-out infinite alternate;
}
@keyframes shaftSway {
  0% { transform: translateX(-3%) skewX(-2deg); }
  100% { transform: translateX(3%) skewX(2deg); }
}
.hero__caustics { z-index: 1; opacity: 0.9; }

/* bubbles / particles */
.hero__particles { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.bubble {
  position: absolute;
  bottom: -40px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, hsl(190 90% 95% / 0.9), hsl(190 80% 80% / 0.15) 60%, transparent 72%);
  border: 1px solid hsl(190 90% 95% / 0.18);
  animation: rise linear infinite;
  opacity: 0;
}
@keyframes rise {
  0%   { transform: translateY(0) translateX(0) scale(0.8); opacity: 0; }
  8%   { opacity: 0.8; }
  92%  { opacity: 0.55; }
  100% { transform: translateY(-112svh) translateX(var(--drift, 20px)) scale(1.05); opacity: 0; }
}

/* surface fade into the foam-white page */
.hero__floor {
  position: absolute; left: 0; right: 0; bottom: 0; height: 28%;
  z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, transparent, hsl(var(--ocean-deep) / 0.0) 35%, hsl(206 64% 14% / 0.55));
}

.hero__inner {
  position: relative; z-index: 4;
  width: 100%; max-width: var(--maxw);
  margin-inline: auto;
  padding: 0 var(--pad-x) clamp(3.5rem, 9vh, 6.5rem);
}
.hero__tag { margin-bottom: 2rem; }
.hero__title {
  font-size: clamp(3.4rem, 11vw, 9.5rem);
  max-width: 14ch;
  margin-bottom: 1.8rem;
  color: #fff;
}
.hero__title .word { display: inline-block; overflow: hidden; vertical-align: top; }
.hero__title .word > span { display: inline-block; }
.hero__sub {
  max-width: 34rem;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: hsl(190 40% 92% / 0.86);
  line-height: 1.65;
  margin-bottom: 2.4rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  z-index: 5;
  display: flex; flex-direction: column; align-items: center; gap: 0.8rem;
  font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.32em;
  color: hsl(190 40% 92% / 0.7);
}
.hero__scroll .line { width: 1px; height: 46px; background: hsl(190 40% 92% / 0.3); position: relative; overflow: hidden; }
.hero__scroll .line::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 40%;
  background: var(--coral);
  animation: scrollCue 2.2s var(--ease-water) infinite;
}
@keyframes scrollCue {
  0% { transform: translateY(-110%); }
  60%, 100% { transform: translateY(260%); }
}

/* ============================================================
   STORY (pinned word reveal)
   ============================================================ */
.story { background: hsl(var(--foam)); }
.story__inner { max-width: 1100px; margin-inline: auto; padding-inline: var(--pad-x); }
.story__text {
  font-family: var(--font-display);
  font-weight: 360;
  font-size: clamp(1.9rem, 4.4vw, 4rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
}
.story__text .w { display: inline-block; opacity: 0.12; transition: opacity 0.2s linear; }
.story__text .hl { color: var(--coral); font-style: italic; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.sec-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head .eyebrow { margin-bottom: 1.3rem; }
.sec-head h2 {
  font-family: var(--font-display);
  font-weight: 370;
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.sec-head p { margin-top: 1.2rem; color: var(--ink-60); font-size: 1.05rem; max-width: 52ch; }
.sec-head.center p { margin-inline: auto; }

/* ============================================================
   DIFFERENTIATORS
   ============================================================ */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.diff-card {
  position: relative;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 20px;
  padding: 2rem 1.7rem 2.2rem;
  overflow: hidden;
  transition: transform 0.6s var(--ease-water), box-shadow 0.6s var(--ease-water), border-color 0.5s ease;
}
.diff-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, var(--coral-soft));
  opacity: 0; transition: opacity 0.6s ease;
  pointer-events: none;
}
.diff-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -34px hsl(205 60% 22% / 0.45);
  border-color: hsl(12 78% 64% / 0.5);
}
.diff-card:hover::after { opacity: 1; }
.diff-card__num {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.2em;
  color: var(--coral); margin-bottom: 2.4rem;
}
.diff-card__icon {
  width: 46px; height: 46px; margin-bottom: 1.4rem;
  color: hsl(var(--primary));
  display: flex; align-items: center; justify-content: center;
}
.diff-card__icon svg { width: 100%; height: 100%; stroke-width: 1.2; }
.diff-card h3 {
  font-family: var(--font-display); font-weight: 420;
  font-size: 1.42rem; line-height: 1.1; margin-bottom: 0.7rem;
  letter-spacing: -0.01em;
}
.diff-card p { font-size: 0.96rem; color: var(--ink-60); line-height: 1.55; }

/* tide reveal */
.tide-reveal { clip-path: inset(0 0 100% 0); }

@media (max-width: 980px) { .diff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .diff-grid { grid-template-columns: 1fr; } }

/* ============================================================
   PRODUITS
   ============================================================ */
.products { background: hsl(var(--secondary) / 0.55); }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.product-panel {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  isolation: isolate;
}
.product-panel__media {
  position: relative;
  aspect-ratio: 4 / 3.4;
  overflow: hidden;
}
.product-panel__media .ph { position: absolute; inset: 0; transition: transform 0.9s var(--ease-water); }
.product-panel:hover .product-panel__media .ph { transform: scale(1.06); }
.product-panel__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, hsl(206 64% 14% / 0.55));
}
.product-panel__badge {
  position: absolute; top: 1.1rem; left: 1.1rem; z-index: 3;
}
.product-panel__body {
  padding: 1.6rem 1.7rem 1.9rem;
  display: flex; flex-direction: column; gap: 1.1rem;
}
.product-panel__body h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.02; letter-spacing: -0.015em;
}
.product-panel__body p { color: var(--ink-60); font-size: 0.98rem; }
.spec-strip {
  display: flex; flex-wrap: wrap; gap: 0.55rem;
  border-top: 1px solid hsl(var(--border));
  padding-top: 1.1rem;
}
.spec-strip .spec {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--ink-60);
  padding: 0.42em 0.7em; border-radius: 100px;
  background: hsl(var(--muted) / 0.6);
}
.product-panel__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 0.3rem; }
.product-panel__price { font-family: var(--font-mono); font-size: 0.82rem; color: var(--fg); letter-spacing: 0.04em; }
.product-panel__price b { font-family: var(--font-display); font-weight: 460; font-size: 1.25rem; letter-spacing: 0; }
.voir {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-size: 0.84rem; font-weight: 500; color: var(--coral);
}
.voir svg { width: 1em; height: 1em; transition: transform 0.4s var(--ease-water); }
.product-panel:hover .voir svg { transform: translateX(4px); }

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

/* ============================================================
   PLACEHOLDER IMAGERY (striped, labeled)
   ============================================================ */
.ph {
  background-color: hsl(200 26% 88%);
  background-image: repeating-linear-gradient(
    -45deg,
    hsl(200 24% 84%) 0 14px,
    hsl(200 28% 90%) 14px 28px
  );
  display: flex; align-items: center; justify-content: center;
}
.ph--ocean {
  background-color: hsl(205 40% 28%);
  background-image: repeating-linear-gradient(
    -45deg,
    hsl(205 42% 24%) 0 16px,
    hsl(205 38% 31%) 16px 32px
  );
}
.ph--coral {
  background-color: hsl(12 50% 80%);
  background-image: repeating-linear-gradient(
    -45deg,
    hsl(12 55% 76%) 0 16px,
    hsl(14 58% 84%) 16px 32px
  );
}
.ph__label {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.5em 0.85em; border-radius: 6px;
  background: hsl(0 0% 100% / 0.78);
  color: hsl(205 30% 28%);
  text-align: center; line-height: 1.4;
  box-shadow: 0 2px 8px -3px hsl(205 40% 20% / 0.4);
}
.ph--ocean .ph__label { background: hsl(206 50% 12% / 0.6); color: hsl(190 50% 92%); }

/* current-line motif */
.current-line { position: absolute; left: 0; width: 100%; pointer-events: none; z-index: 0; overflow: visible; }
.current-line path { fill: none; stroke: hsl(12 78% 64% / 0.5); stroke-width: 1.4; stroke-dasharray: 7 9; }

/* reveal base for JS-driven fades */
.reveal { opacity: 0; transform: translateY(28px); }

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .water-caustics::before, .water-caustics::after,
  .hero__shafts, .bubble, .hero__scroll .line::after { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .tide-reveal { clip-path: none !important; }
  .cursor-dot, .cursor-ring { display: none !important; }
  body.has-cursor { cursor: auto; }
  .story__text .w { opacity: 1 !important; }
}
