/* ============================================================
   Moroccan Berber Carpets — Storefront design system (v3)
   Palette + typo + animations mirroring test.html brief.
============================================================ */

/* ── Fonts ─────────────────────────────────────────────── */
/* Century Gothic: use the installed system font when present (Mac/Windows with Office),
   fall back to Jost (Google, geometric sans) loaded locally for parity. */

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/jost-v16-latin-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/jost-v16-latin-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-v13-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-v13-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-v13-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/inter-v13-latin-700.woff2') format('woff2');
}

:root {
  --screen-height: 100dvh;
  --announcement-height: 44px;
  --header-height: 92px;

  /* Palette — warm ivory + camel + deep ink */
  --bg: #f3ebde;
  --bg-soft: #fbf7f0;
  --bg-2: #efe3cf;
  --panel: rgba(255, 250, 243, 0.78);
  --panel-strong: rgba(255, 250, 243, 0.92);
  --camel: #af8d61;
  --camel-deep: #8f714c;
  --camel-dark: #755937;
  --sand: #d8c4a0;
  --ink: #16120f;
  --ink-soft: rgba(22, 18, 15, 0.72);
  --line: rgba(117, 89, 55, 0.16);
  --line-strong: rgba(117, 89, 55, 0.28);
  --white: #fffaf3;
  --success: #3e7a4a;
  --danger: #b93b3b;
  --warning: #c78a1e;

  --shadow-soft: 0 20px 60px rgba(60, 42, 22, 0.08);
  --shadow-medium: 0 30px 80px rgba(60, 42, 22, 0.12);
  --shadow-strong: 0 40px 120px rgba(60, 42, 22, 0.18);

  --radius-btn: 10px;
  --radius-pill: 999px;
  --container: min(1380px, calc(100vw - 48px));

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --section-space: clamp(88px, 10vw, 150px);
  --hero-height: calc(var(--screen-height) - var(--announcement-height));

  --font-display: 'Century Gothic', 'Jost', 'ITC Avant Garde Gothic Std', 'URW Gothic', 'Avenir Next', 'Futura', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --font-serif: 'PT Serif', Georgia, 'Times New Roman', serif;
}

@supports (height: 100svh) { :root { --screen-height: 100svh; } }
@supports (height: 100dvh) { :root { --screen-height: 100dvh; } }

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
*:focus-visible { outline: 2px solid var(--camel); outline-offset: 3px; }

html { scroll-behavior: smooth; background: var(--bg); }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 0%, rgba(216, 196, 160, 0.26), transparent 30%),
    radial-gradient(circle at 100% 10%, rgba(175, 141, 97, 0.08), transparent 24%),
    linear-gradient(180deg, #f8f2e8 0%, #f3ebde 100%);
  overflow-x: hidden;
  line-height: 1.55;
}

img, video { display: block; max-width: 100%; height: auto; border-radius: 0; }
a { color: inherit; text-decoration: none; transition: color 0.3s var(--ease); }
button { border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }

.container { width: var(--container); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.muted { color: var(--ink-soft); }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* ── Announcement bar ──────────────────────────────────── */
.announcement {
  min-height: var(--announcement-height);
  display: flex; align-items: center; justify-content: center;
  padding: 10px 16px;
  background: var(--camel);
  color: #fffaf3;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.announcement a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ── Site header ──────────────────────────────────────── */
.site-header {
  position: fixed;
  top: var(--announcement-height);
  left: 0; width: 100%;
  z-index: 1200;
  border-bottom: 1px solid transparent;
  transition:
    background 0.45s var(--ease),
    border-color 0.45s var(--ease),
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease),
    top 0.2s linear;
}
.site-header.scrolled,
.site-header.is-solid {
  top: 0;
  background: rgba(251, 247, 240, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: rgba(117, 89, 55, 0.12);
  box-shadow: 0 18px 50px rgba(46, 31, 15, 0.08);
}
.site-header.hidden { transform: translateY(-100%); }

.header-inner {
  width: var(--container);
  margin: 0 auto;
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}
.header-nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); }
.header-nav a {
  position: relative;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 250, 243, 0.96);
  transition: color 0.35s var(--ease);
}
.site-header.scrolled .header-nav a,
.site-header.is-solid .header-nav a { color: var(--ink); }
.header-nav a::after {
  content: '';
  position: absolute; left: 0; bottom: -10px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
  opacity: 0.65;
}
.header-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* Nav dropdowns (Shop / Collections) */
.nav-item.has-dropdown { position: relative; display: inline-flex; align-items: center; }
.nav-trigger {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255, 250, 243, 0.96);
  cursor: pointer;
  padding: 0; background: transparent; border: 0;
  transition: color 0.35s var(--ease);
}
.nav-trigger.is-link { cursor: pointer; }
.site-header.scrolled .nav-trigger,
.site-header.is-solid .nav-trigger { color: var(--ink); }
.nav-trigger::after {
  content: '';
  position: absolute; left: 0; bottom: -10px;
  width: calc(100% - 16px); height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
  opacity: 0.65;
}
.nav-item.has-dropdown:hover .nav-trigger::after,
.nav-item.has-dropdown.open .nav-trigger::after { transform: scaleX(1); transform-origin: left; }
.nav-caret {
  font-size: 9px; opacity: 0.75;
  transition: transform 0.3s var(--ease);
}
.nav-item.has-dropdown:hover .nav-caret,
.nav-item.has-dropdown.open .nav-caret { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translate(-50%, 8px);
  min-width: 260px; padding: 12px;
  background: rgba(255, 250, 243, 0.98);
  border: 1px solid rgba(117, 89, 55, 0.14);
  box-shadow: var(--shadow-medium);
  border-radius: 14px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.28s var(--ease), visibility 0.28s var(--ease), transform 0.28s var(--ease);
  z-index: 20;
}
.nav-dropdown::before {
  content: '';
  position: absolute; top: -16px; left: 0; right: 0; height: 16px;
}
.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown.open .nav-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav-dropdown a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.04em; text-transform: none;
  color: var(--ink);
  border-radius: 10px;
  transition: background 0.28s var(--ease), color 0.28s var(--ease), padding-left 0.28s var(--ease);
}
.nav-dropdown a::after { display: none; }
.nav-dropdown a:hover { background: rgba(175, 141, 97, 0.1); color: var(--camel-dark); padding-left: 18px; }
.nav-dropdown a i { width: 18px; text-align: center; font-size: 13px; color: var(--camel-deep); }
.nav-dropdown-thumb {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 8px;
  background-size: cover; background-position: center;
  background-color: var(--bg-2);
  border: 1px solid var(--line);
}
.nav-dropdown-all {
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px; padding-bottom: 14px !important;
  font-size: 11px !important; font-weight: 700 !important;
  letter-spacing: 0.14em !important; text-transform: uppercase !important;
  color: var(--camel-dark) !important;
  justify-content: space-between !important;
}
.nav-dropdown-all:hover { padding-left: 14px !important; }
.nav-dropdown-all i { margin-left: auto; color: var(--camel) !important; }
.nav-dropdown-empty {
  display: block; padding: 12px 14px;
  font-size: 12px; color: var(--ink-soft); font-style: italic;
}

.header-logo {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 220px; justify-self: center;
  font-family: var(--font-display);
  font-weight: 400; font-size: 18px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255, 250, 243, 0.98);
  line-height: 1;
  transition: color 0.4s var(--ease);
}
.site-header.scrolled .header-logo,
.site-header.is-solid .header-logo { color: var(--ink); }
.header-logo small {
  display: block; margin-top: 4px;
  font-family: var(--font-body);
  font-size: 9px; font-weight: 700; letter-spacing: 0.24em;
  opacity: 0.7;
}
.header-logo img {
  max-height: 48px; width: auto; margin: 0 auto;
  filter: brightness(0) invert(1);
  transition: transform 0.45s var(--ease), filter 0.45s var(--ease);
}
.site-header.scrolled .header-logo img,
.site-header.is-solid .header-logo img { filter: none; }

.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }

.switcher { position: relative; }
.switcher-btn {
  min-width: 96px; height: 48px;
  padding: 0 20px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 250, 243, 0.4);
  background: rgba(255, 250, 243, 0.06);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: #fffaf3;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.site-header.scrolled .switcher-btn,
.site-header.is-solid .switcher-btn {
  color: var(--ink);
  background: rgba(255, 250, 243, 0.92);
  border-color: rgba(117, 89, 55, 0.22);
}
.switcher-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(55, 36, 18, 0.12); }
.switcher-btn i { font-size: 10px; }

.switcher-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0;
  min-width: 140px; padding: 8px;
  background: rgba(255, 250, 243, 0.98);
  border: 1px solid rgba(117, 89, 55, 0.14);
  box-shadow: var(--shadow-soft);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.28s var(--ease), visibility 0.28s var(--ease), transform 0.28s var(--ease);
}
.switcher.open .switcher-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.switcher-dropdown a {
  display: block; padding: 10px 14px;
  font-size: 13px; font-weight: 500; color: var(--ink);
  border-radius: 6px;
  transition: background 0.28s var(--ease), color 0.28s var(--ease);
}
.switcher-dropdown a:hover, .switcher-dropdown a.active {
  background: rgba(175, 141, 97, 0.12); color: var(--camel-dark);
}

.header-icon-btn {
  position: relative;
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fffaf3;
  border-radius: 50%;
  transition: transform 0.35s var(--ease), color 0.35s var(--ease), background 0.35s var(--ease);
}
.site-header.scrolled .header-icon-btn,
.site-header.is-solid .header-icon-btn { color: var(--ink); }
.header-icon-btn:hover { transform: translateY(-2px); background: rgba(255, 250, 243, 0.08); }
.header-icon-btn i { font-size: 1.25rem; }
.header-icon-btn svg { width: 22px; height: 22px; }

.cart-count {
  position: absolute; top: 2px; right: 2px;
  min-width: 24px; height: 24px; padding: 0 6px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--camel); color: white;
  font-size: 11px; font-weight: 700; line-height: 1;
  box-shadow: 0 12px 28px rgba(55, 36, 18, 0.18);
}
.cart-count.hidden { display: none; }

/* Mobile */
.mobile-toggle {
  display: none;
  width: 52px; height: 52px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  color: #fffaf3;
  border: 1px solid rgba(255, 250, 243, 0.3);
  background: rgba(255, 250, 243, 0.06);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.site-header.scrolled .mobile-toggle,
.site-header.is-solid .mobile-toggle {
  color: var(--ink);
  background: rgba(255, 250, 243, 0.92);
  border-color: rgba(117, 89, 55, 0.22);
}

.mobile-drawer {
  position: fixed; inset: 0; z-index: 1400;
  background: rgba(18, 14, 10, 0.42);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}
.mobile-drawer.open { opacity: 1; visibility: visible; }
.mobile-drawer-inner {
  width: min(420px, calc(100vw - 18px)); height: 100%;
  margin-left: auto;
  background: linear-gradient(180deg, rgba(255, 250, 243, 0.98), rgba(245, 237, 225, 0.98));
  border-left: 1px solid rgba(117, 89, 55, 0.12);
  display: flex; flex-direction: column;
  padding: 22px;
  transform: translateX(100%);
  transition: transform 0.42s var(--ease);
}
.mobile-drawer.open .mobile-drawer-inner { transform: translateX(0); }
.mobile-close {
  align-self: flex-end;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(117, 89, 55, 0.16);
  color: var(--ink);
}
.mobile-nav { display: flex; flex-direction: column; gap: 6px; margin-top: 34px; }
.mobile-nav > a,
.mobile-nav-trigger {
  padding: 16px 0;
  border-bottom: 1px solid rgba(117, 89, 55, 0.1);
  color: var(--ink);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  background: transparent; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer;
}
.mobile-nav-trigger i {
  font-size: 11px; opacity: 0.6;
  transition: transform 0.3s var(--ease);
}
.mobile-nav-group.open .mobile-nav-trigger i { transform: rotate(180deg); }
.mobile-nav-sub {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
  overflow: hidden;
}
.mobile-nav-sub > * { min-height: 0; }
.mobile-nav-group.open .mobile-nav-sub { grid-template-rows: 1fr; }
.mobile-nav-sub a {
  display: block;
  padding: 12px 14px;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: none;
  color: var(--ink-soft);
  border-left: 1px solid var(--line);
  margin-left: 4px;
}
.mobile-nav-sub a:hover { color: var(--camel-dark); background: rgba(175, 141, 97, 0.06); }
.mobile-nav-sub .mobile-nav-all {
  text-transform: uppercase; font-weight: 700;
  letter-spacing: 0.14em; color: var(--camel-dark);
  font-size: 11px;
}
.mobile-nav-empty { display: block; padding: 12px 14px; font-size: 11px; color: var(--ink-soft); font-style: italic; }
.mobile-meta { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; padding-top: 24px; border-top: 1px solid rgba(117, 89, 55, 0.1); }
.mobile-chip {
  min-height: 46px; padding: 0 18px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(117, 89, 55, 0.16);
  color: var(--ink);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
}

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: var(--hero-height); height: var(--hero-height); max-height: var(--hero-height);
  overflow: clip; isolation: isolate;
  background: #17120f;
}
.hero-media, .hero-media video, .hero-media img, .hero-media::before, .hero-media::after {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero-media video, .hero-media > img {
  object-fit: cover;
  transform: scale(1.05);
  filter: saturate(0.9) brightness(0.76) contrast(1.04);
  animation: heroZoom 18s var(--ease) infinite alternate;
}
.hero-media::before {
  content: ''; z-index: 1;
  background:
    linear-gradient(180deg, rgba(15, 11, 8, 0.36) 0%, rgba(15, 11, 8, 0.12) 24%, rgba(15, 11, 8, 0.5) 100%),
    linear-gradient(90deg, rgba(122, 91, 49, 0.24) 0%, rgba(122, 91, 49, 0.06) 38%, rgba(122, 91, 49, 0.14) 100%);
}
.hero-media::after {
  content: ''; z-index: 2;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 244, 225, 0.16), transparent 24%),
    radial-gradient(circle at 78% 30%, rgba(216, 196, 160, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,0) 48%, rgba(0,0,0,0.18) 100%);
  mix-blend-mode: screen;
  animation: lightFloat 14s linear infinite;
  pointer-events: none;
}
.hero-grain {
  position: absolute; inset: -14%; z-index: 2;
  opacity: 0.06;
  background-image:
    radial-gradient(circle at 20% 20%, #fff 0.8px, transparent 1px),
    radial-gradient(circle at 70% 45%, #fff 0.8px, transparent 1px),
    radial-gradient(circle at 42% 82%, #fff 0.8px, transparent 1px);
  background-size: 180px 180px, 220px 220px, 260px 260px;
  animation: grainMove 18s linear infinite;
  pointer-events: none;
}
.hero-gradient-edge {
  position: absolute; inset: auto 0 0 0; height: 180px; z-index: 3;
  background: linear-gradient(180deg, rgba(243, 235, 222, 0) 0%, rgba(243, 235, 222, 0.92) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 5;
  width: var(--container); margin: 0 auto; height: 100%;
  display: grid; align-items: center;
  padding-top: calc(var(--header-height) + clamp(18px, 4vw, 36px));
  padding-bottom: clamp(110px, 14vw, 150px);
}
.hero-copy { max-width: 980px; }

.hero-eyebrow, .section-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 22px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  overflow: hidden;
}
.hero-eyebrow { color: rgba(255, 250, 243, 0.82); }
.section-eyebrow { color: var(--camel-dark); }
.hero-eyebrow::before, .section-eyebrow::before {
  content: ''; width: 48px; height: 1px;
  background: currentColor; opacity: 0.5;
}

.hero-title {
  max-width: 11ch;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--white);
  font-size: clamp(3rem, 8vw, 8.6rem);
}
.hero-title em { font-style: normal; color: var(--camel); }
.hero-title-line { display: block; overflow: hidden; }
.hero-title-line span { display: block; transform: translateY(112%); opacity: 0; will-change: transform, opacity; }
body.is-loaded .hero-title-line:nth-child(1) span { animation: revealLine 1s 0.18s var(--ease) forwards; }
body.is-loaded .hero-title-line:nth-child(2) span { animation: revealLine 1s 0.34s var(--ease) forwards; }

.hero-sub {
  margin-top: 26px; max-width: 700px;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.9;
  color: rgba(255, 250, 243, 0.82);
  opacity: 0; transform: translateY(26px);
}
body.is-loaded .hero-sub { animation: fadeRise 0.95s 0.55s var(--ease) forwards; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; opacity: 0; transform: translateY(30px); }
body.is-loaded .hero-actions { animation: fadeRise 0.95s 0.72s var(--ease) forwards; }

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  position: relative;
  min-height: 56px;
  padding: 0 28px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  border-radius: var(--radius-btn);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.17em; text-transform: uppercase;
  font-family: var(--font-body);
  overflow: hidden;
  border: 1px solid transparent;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    color 0.35s var(--ease);
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.18) 45%, transparent 78%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease);
  pointer-events: none;
}
.btn:hover::before { transform: translateX(120%); }
.btn:hover { transform: translateY(-3px); }
.btn[disabled], .btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none !important; }

.btn-primary {
  background: linear-gradient(135deg, var(--camel) 0%, var(--camel-deep) 100%);
  color: #fff;
  box-shadow: 0 18px 40px rgba(55, 36, 18, 0.22);
}
.btn-primary:hover { box-shadow: 0 28px 54px rgba(55, 36, 18, 0.28); }

.btn-ghost-light {
  color: var(--white);
  border-color: rgba(255, 250, 243, 0.26);
  background: rgba(255, 250, 243, 0.06);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.btn-outline {
  color: var(--ink);
  border-color: var(--ink);
  background: transparent;
}
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-dark:hover { background: var(--camel); border-color: var(--camel); color: var(--white); }
.btn-lg { min-height: 62px; padding: 0 34px; font-size: 13px; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 11px; }
.btn-block { width: 100%; }

/* ── Hero meta (stats) ─────────────────────────────────── */
.hero-meta { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 5; }
.hero-meta-inner {
  width: var(--container); margin: 0 auto;
  display: flex; align-items: end; justify-content: space-between; gap: 28px;
  color: rgba(255, 250, 243, 0.85);
  opacity: 0; transform: translateY(40px);
}
body.is-loaded .hero-meta-inner { animation: fadeRise 1s 0.9s var(--ease) forwards; }
.hero-stats { width: min(780px, 100%); display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.hero-stat {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 250, 243, 0.22);
  font-size: 13px; line-height: 1.7;
}
.hero-stat strong {
  display: block; margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 22px; font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--white);
}
.hero-since { padding-bottom: 8px; white-space: nowrap; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 116px;
  transform: translateX(-50%); z-index: 5;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 250, 243, 0.22);
  background: rgba(255, 250, 243, 0.05);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  animation: scrollPulse 2.8s ease-in-out infinite;
}

/* ── Sections ─────────────────────────────────────────── */
.section { position: relative; padding: var(--section-space) 0; }
.section-header { max-width: 780px; margin-bottom: 46px; }
.section-header h2, .story-text h2, .feature-card h3, .value-card h4, .footer-col h4, .footer-brand h4 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.section-header h2, .story-text h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.6vw, 4.2rem);
  line-height: 0.98;
  color: var(--ink);
}
.section-header p, .story-text p, .feature-card p, .value-card p, .footer-brand p, .footer-col a {
  font-size: 15px; line-height: 1.9; color: var(--ink-soft);
}

/* ── Story ────────────────────────────────────────────── */
.story { background: linear-gradient(180deg, rgba(255, 250, 243, 0.45) 0%, rgba(255, 250, 243, 0) 100%); }
.story-inner { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.story-highlight {
  margin: 26px 0 24px;
  padding-left: 24px;
  border-left: 1px solid rgba(117, 89, 55, 0.28);
  color: var(--camel-dark);
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 14px; line-height: 1.75; letter-spacing: 0.08em;
}
.story-visual {
  position: relative;
  min-height: clamp(500px, 58vw, 780px);
  overflow: hidden;
  background: var(--sand);
  box-shadow: var(--shadow-strong);
}
.parallax-inner { position: absolute; inset: -12% 0; will-change: transform; }
.story-visual img, .feature-card img { width: 100%; height: 124%; object-fit: cover; }
.story-panel {
  position: absolute; left: 30px; right: 30px; bottom: 30px;
  padding: 22px 24px;
  background: rgba(255, 250, 243, 0.9);
  border: 1px solid rgba(117, 89, 55, 0.14);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 14px 34px rgba(55, 36, 18, 0.08);
}
.story-panel small {
  display: block; margin-bottom: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--camel-dark);
}
.story-panel strong {
  display: block; margin-bottom: 8px;
  font-family: var(--font-display); font-size: 22px; font-weight: 400;
  text-transform: uppercase; color: var(--ink);
}

/* ── Feature section ──────────────────────────────────── */
.feature-section { overflow: hidden; background: linear-gradient(180deg, rgba(216, 196, 160, 0.16), rgba(216, 196, 160, 0) 56%); }
.feature-grid { display: grid; grid-template-columns: 1.16fr 0.84fr; gap: 20px; min-height: 780px; }
.feature-card { position: relative; overflow: hidden; min-height: 320px; background: var(--sand); box-shadow: var(--shadow-soft); }
.feature-card.tall { min-height: 100%; }
.feature-stack { display: grid; grid-template-columns: 1fr; gap: 20px; }
.feature-copy {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px;
  background: linear-gradient(180deg, rgba(15, 11, 8, 0) 0%, rgba(15, 11, 8, 0.72) 100%);
  color: var(--white);
}
.feature-copy h3 { margin-bottom: 10px; font-size: clamp(1.25rem, 2vw, 1.8rem); color: var(--white); }
.feature-copy p { max-width: 34ch; color: rgba(255, 250, 243, 0.82); }
.feature-note { padding: 26px; background: var(--panel-strong); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.feature-note p { margin-bottom: 16px; color: var(--ink-soft); line-height: 1.85; font-size: 15px; }

/* ── Value cards ──────────────────────────────────────── */
.value-wrap { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
.value-card {
  padding: 30px 24px;
  border-top: 1px solid var(--line-strong);
  background: rgba(255, 250, 243, 0.5);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}
.value-card:hover { transform: translateY(-8px); background: rgba(255, 250, 243, 0.8); box-shadow: var(--shadow-soft); }
.value-icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  margin-bottom: 18px;
  color: var(--camel-dark);
  border: 1px solid rgba(117, 89, 55, 0.22);
  background: rgba(255, 250, 243, 0.55);
  font-size: 1rem;
}
.value-card h4 { margin-bottom: 8px; font-size: 19px; color: var(--ink); }

/* ── Product grid ─────────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(24px, 3vw, 40px); }
.product-card {
  position: relative;
  transition: transform 0.4s var(--ease);
}
.product-card:hover { transform: translateY(-4px); }
.product-card-img {
  aspect-ratio: 4/5;
  background: var(--sand);
  overflow: hidden; position: relative;
  margin-bottom: 18px;
  box-shadow: var(--shadow-soft);
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.product-card:hover .product-card-img img { transform: scale(1.06); }
.product-badge {
  position: absolute; top: 16px; left: 16px;
  padding: 6px 14px;
  background: rgba(15, 11, 8, 0.82); color: var(--white);
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  border-radius: 100px;
  backdrop-filter: blur(6px);
}
.product-badge.sale { background: var(--camel); }
.product-sub {
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--camel-dark); margin-bottom: 8px;
}
.product-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 19px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}
.product-price {
  font-family: var(--font-body);
  font-size: 16px; font-weight: 600; color: var(--ink);
}
.product-price del { color: var(--ink-soft); margin-right: 8px; font-weight: 400; font-size: 14px; }

/* ── Collections index grid ──────────────────────────── */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  gap: clamp(28px, 3vw, 46px);
}
.collection-card {
  display: grid;
  grid-template-columns: 1fr;
  background: rgba(255, 250, 243, 0.86);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  border-radius: 4px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.collection-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-medium);
}
.collection-card-media {
  position: relative; aspect-ratio: 5/3;
  overflow: hidden; background: var(--sand);
}
.collection-card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.collection-card:hover .collection-card-media img { transform: scale(1.05); }
.collection-card-count {
  position: absolute; top: 18px; right: 18px;
  padding: 8px 14px;
  background: rgba(15, 11, 8, 0.78); color: var(--white);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  border-radius: var(--radius-pill);
}
.collection-card-body {
  padding: 32px clamp(24px, 3vw, 40px) 36px;
}
.collection-card-eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--camel-dark);
  margin-bottom: 12px;
}
.collection-card-body h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 2.4vw, 34px);
  letter-spacing: 0.03em; text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.1;
}
.collection-card-body p {
  font-family: var(--font-serif);
  font-size: 15px; color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 20px;
}
.collection-card-previews {
  display: flex; gap: 10px; margin-bottom: 22px;
}
.cc-thumb {
  width: 56px; height: 56px;
  border-radius: 6px;
  background-size: cover; background-position: center;
  background-color: var(--bg-2);
  border: 1px solid var(--line);
}
.collection-card-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--camel-dark);
  border-bottom: 1px solid var(--camel);
  padding-bottom: 4px;
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.collection-card:hover .collection-card-link { gap: 18px; color: var(--ink); }
@media (max-width: 720px) {
  .collections-grid { grid-template-columns: 1fr; gap: 28px; }
  .collection-card-body { padding: 26px 22px 30px; }
}

/* ── Product detail ───────────────────────────────────── */
.product-detail { padding: calc(var(--header-height) + var(--announcement-height) + 60px) 0 100px; }
.product-detail-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; }
.pd-gallery { position: sticky; top: calc(var(--header-height) + var(--announcement-height) + 20px); align-self: start; }
.pd-main-img {
  aspect-ratio: 4/5; background: var(--sand);
  overflow: hidden; margin-bottom: 16px;
  box-shadow: var(--shadow-medium);
  cursor: zoom-in; position: relative;
}
.pd-main-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.pd-main-img:hover img { transform: scale(1.03); }
.pd-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.pd-thumb {
  aspect-ratio: 1; overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb.active { border-color: var(--camel); }

.pd-info { padding-top: 12px; }
.pd-breadcrumb { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 20px; }
.pd-breadcrumb a { color: var(--ink-soft); }
.pd-info h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.pd-short { font-family: var(--font-serif); font-style: italic; font-size: 17px; color: var(--ink-soft); margin-bottom: 28px; line-height: 1.75; }
.pd-price { font-family: var(--font-display); font-size: 28px; color: var(--ink); font-weight: 400; margin-bottom: 28px; letter-spacing: 0.02em; }
.pd-price del { color: var(--ink-soft); font-size: 20px; margin-right: 12px; }

.pd-section { padding: 22px 0; border-top: 1px solid var(--line); }
.pd-section h4 { font-family: var(--font-body); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; color: var(--ink-soft); margin-bottom: 14px; }

.pd-variants { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-variant {
  padding: 12px 20px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink); cursor: pointer;
  transition: all 0.25s var(--ease);
}
.pd-variant:hover:not(.disabled) { border-color: var(--camel); color: var(--camel-dark); }
.pd-variant.active { border-color: var(--ink); background: var(--ink); color: var(--white); }
.pd-variant.disabled { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }

.pd-qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); overflow: hidden; background: var(--white); }
.pd-qty button { width: 44px; height: 48px; cursor: pointer; font-size: 18px; color: var(--ink-soft); transition: background 0.2s var(--ease); }
.pd-qty button:hover { background: var(--bg); color: var(--ink); }
.pd-qty input { width: 60px; height: 48px; border: none; text-align: center; font-weight: 600; font-size: 14px; background: transparent; color: var(--ink); }

.pd-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.pd-actions .btn { flex: 1; min-width: 180px; }

.pd-description { margin-top: 16px; font-family: var(--font-serif); font-size: 15px; line-height: 1.85; color: var(--ink-soft); }
.pd-specs { list-style: none; padding: 0; margin-top: 6px; }
.pd-specs li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.pd-specs li strong { color: var(--ink); font-weight: 600; font-family: var(--font-body); }
.pd-specs li span { color: var(--ink-soft); letter-spacing: 0.08em; text-transform: uppercase; font-size: 11px; font-weight: 700; }

/* ── Cart (bag) ───────────────────────────────────────── */
.cart-page { padding: calc(var(--header-height) + var(--announcement-height) + 60px) 0 100px; }
.cart-page h1 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.02em; font-size: clamp(2rem, 4vw, 3rem); }
.cart-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; margin-top: 40px; }
.cart-item { display: grid; grid-template-columns: 110px 1fr auto; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-item-img { aspect-ratio: 1; background: var(--sand); overflow: hidden; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 16px; letter-spacing: 0.04em; margin-bottom: 4px; }
.cart-item-variant { font-size: 12px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 12px; }
.cart-item-price { font-weight: 600; font-size: 15px; color: var(--ink); }
.cart-item-remove {
  background: transparent; border: 0; color: var(--ink-soft); cursor: pointer;
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 700; margin-top: 8px;
}
.cart-item-remove:hover { color: var(--camel); }

.cart-summary {
  background: var(--panel-strong); border: 1px solid var(--line);
  padding: 32px; position: sticky; top: calc(var(--header-height) + 30px); align-self: start;
  box-shadow: var(--shadow-soft);
}
.cart-summary h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 20px; font-size: 18px; }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 14px; }
.summary-total { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 14px; font-size: 16px; font-weight: 600; }
.summary-total strong { font-family: var(--font-display); font-weight: 400; font-size: 22px; letter-spacing: 0.02em; }

.cart-empty { text-align: center; padding: 100px 20px; }
.cart-empty h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 2.4rem; margin-bottom: 14px; }
.cart-empty p { font-family: var(--font-serif); font-size: 17px; color: var(--ink-soft); margin-bottom: 28px; }

/* ── Checkout ─────────────────────────────────────────── */
.checkout-page { padding: calc(var(--header-height) + var(--announcement-height) + 40px) 0 100px; }
.checkout-page h1 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.8rem, 3.2vw, 2.6rem); letter-spacing: 0.02em; }
.checkout-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; margin-top: 32px; }
.checkout-step { background: var(--white); padding: 32px; border: 1px solid var(--line); margin-bottom: 20px; box-shadow: var(--shadow-soft); }
.checkout-step h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 18px; letter-spacing: 0.04em; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.checkout-step .form-row { display: grid; gap: 14px; margin-bottom: 14px; }
.checkout-step .form-row.cols-2 { grid-template-columns: 1fr 1fr; }
.checkout-step label { font-size: 11px; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.16em; display: block; margin-bottom: 8px; }
.checkout-step input, .checkout-step select, .checkout-step textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line-strong);
  font-family: var(--font-body); font-size: 15px; color: var(--ink);
  background: var(--bg-soft);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.checkout-step input:focus, .checkout-step select:focus, .checkout-step textarea:focus {
  outline: none; border-color: var(--camel); box-shadow: 0 0 0 3px rgba(175,141,97,0.12); background: var(--white);
}
.shipping-option {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px;
  border: 1px solid var(--line); margin-bottom: 10px; cursor: pointer;
  transition: all 0.25s var(--ease);
  background: var(--bg-soft);
}
.shipping-option:hover { border-color: var(--camel); }
.shipping-option.selected { border-color: var(--ink); background: var(--white); box-shadow: var(--shadow-soft); }
.shipping-option input[type=radio] { margin-right: 14px; accent-color: var(--camel); width: 18px; height: 18px; }
.shipping-option-info { flex: 1; }
.shipping-option-name { font-weight: 600; font-size: 14px; }
.shipping-option-eta { font-size: 11px; color: var(--ink-soft); margin-top: 2px; text-transform: uppercase; letter-spacing: 0.12em; }
.shipping-option-price { font-family: var(--font-display); font-weight: 400; font-size: 18px; color: var(--ink); }

/* ── Footer ──────────────────────────────────────────── */
.footer, .site-footer {
  margin-top: 30px;
  padding: 92px 0 34px;
  background: linear-gradient(180deg, rgba(20, 15, 11, 0.96), rgba(16, 12, 9, 0.99));
  color: rgba(255, 250, 243, 0.7);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 0.9fr; gap: 36px; }
.footer-brand img { max-height: 54px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-brand .logo { display: block; }
.footer-brand .logo-text { font-family: var(--font-display); font-weight: 400; color: var(--white); font-size: 22px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; display: block; }
.footer-brand h4, .footer-col h4 {
  margin-bottom: 18px; font-size: 15px; letter-spacing: 0.16em; color: var(--white);
}
.footer-brand p { max-width: 48ch; color: rgba(255, 250, 243, 0.62); line-height: 1.9; font-size: 14px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: rgba(255, 250, 243, 0.68); font-size: 14px; transition: color 0.3s var(--ease), transform 0.3s var(--ease); }
.footer-col a:hover { color: var(--white); transform: translateX(4px); }
.footer-socials { display: flex; gap: 10px; margin-top: 22px; }
.footer-socials a, .footer-social {
  width: 42px; height: 42px;
  display: inline-grid; place-items: center;
  border: 1px solid rgba(255, 250, 243, 0.16);
  color: var(--white);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.footer-socials a:hover, .footer-social:hover { transform: translateY(-3px); background: rgba(255, 250, 243, 0.08); border-color: rgba(255, 250, 243, 0.3); }
.footer-socials svg, .footer-social svg { width: 18px; height: 18px; fill: currentColor; }

.footer-bottom {
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  margin-top: 38px; padding-top: 24px;
  border-top: 1px solid rgba(255, 250, 243, 0.1);
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255, 250, 243, 0.5);
}
.footer-bottom nav, .footer-bottom-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a { color: rgba(255, 250, 243, 0.7); transition: color 0.3s; }
.footer-bottom a:hover { color: var(--white); }

/* ── Reveal + parallax ────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(44px); transition: opacity 0.95s var(--ease-soft), transform 0.95s var(--ease-soft); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease-soft), transform 0.8s var(--ease-soft); }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Flash / alerts ──────────────────────────────────── */
.flash { padding: 14px 20px; margin-bottom: 20px; font-size: 14px; border-left: 3px solid; }
.flash-success { background: #E2F0E2; color: #1F5A32; border-color: var(--success); }
.flash-error { background: #F5E1E1; color: #7E1F1F; border-color: var(--danger); }
.flash-info { background: var(--panel); color: var(--ink); border-color: var(--camel); }

/* ── Thanks / 404 ──────────────────────────────────── */
.thanks { padding: calc(var(--header-height) + var(--announcement-height) + 80px) 0 100px; text-align: center; min-height: 60vh; }
.thanks h1 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: 0.02em; margin-bottom: 16px; }
.thanks p { font-family: var(--font-serif); font-size: 17px; color: var(--ink-soft); max-width: 560px; margin: 0 auto 28px; line-height: 1.75; }
.thanks-icon { width: 100px; height: 100px; margin: 0 auto 32px; background: var(--panel); border: 1px solid var(--line); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--camel); font-size: 48px; }

/* ── Lightbox ─────────────────────────────────────────── */
.lightbox { position: fixed; inset: 0; background: rgba(15, 11, 8, 0.95); backdrop-filter: blur(6px); z-index: 1800; display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.open { display: flex; animation: fadeRise 0.3s var(--ease) forwards; }
.lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; }
.lightbox-close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; background: rgba(255,250,243,0.12); border: 1px solid rgba(255,250,243,0.2); border-radius: 50%; color: var(--white); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 18px; }

/* ── Keyframes ───────────────────────────────────────── */
@keyframes heroZoom { from { transform: scale(1.05) translate3d(0,0,0); } to { transform: scale(1.15) translate3d(0,-1.8%,0); } }
@keyframes lightFloat {
  0% { transform: translate3d(-2%, -1%, 0) scale(1); }
  50% { transform: translate3d(2%, 1%, 0) scale(1.04); }
  100% { transform: translate3d(-2%, -1%, 0) scale(1); }
}
@keyframes grainMove {
  0% { transform: translate3d(0,0,0); }
  25% { transform: translate3d(-2%,1%,0); }
  50% { transform: translate3d(1%,-2%,0); }
  75% { transform: translate3d(2%,1%,0); }
  100% { transform: translate3d(0,0,0); }
}
@keyframes revealLine { to { transform: translateY(0); opacity: 1; } }
@keyframes fadeRise { to { transform: translateY(0); opacity: 1; } }
@keyframes scrollPulse {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.86; }
  50% { transform: translateX(-50%) translateY(10px); opacity: 1; }
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1180px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  .header-nav { display: none; }
  .mobile-toggle { display: inline-flex; }
  .hero-meta-inner, .story-inner, .feature-grid, .footer-grid, .value-wrap { grid-template-columns: 1fr; display: grid; }
  .hero-meta-inner { gap: 18px; }
  .hero-stats { width: 100%; }
  .feature-stack { grid-template-columns: 1fr; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .pd-gallery { position: static; }
  .cart-grid { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  :root { --header-height: 80px; --container: min(100vw - 26px, 1380px); }
  .announcement { font-size: 10px; letter-spacing: 0.16em; padding-inline: 12px; }
  .header-inner { min-height: var(--header-height); }
  .header-logo { min-width: 0; font-size: 14px; }
  .header-logo img { max-height: 40px; }
  .switcher { display: none; }
  .hero { height: auto; }
  .hero-content { padding-top: calc(var(--header-height) + 22px); padding-bottom: 188px; }
  .hero-title { max-width: 11ch; font-size: clamp(2.6rem, 12vw, 4.9rem); }
  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { grid-template-columns: 1fr; }
  .story-panel { left: 18px; right: 18px; bottom: 18px; }
  .scroll-cue { bottom: 132px; }
  .pd-thumbs { grid-template-columns: repeat(4, 1fr); }
  .cart-item { grid-template-columns: 80px 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 560px) {
  :root { --announcement-height: 40px; }
  .hero-sub, .section-header p, .story-text p, .feature-note p, .feature-card p, .value-card p { font-size: 14px; }
  .story-visual { min-height: 430px; }
  .feature-grid { min-height: auto; }
  .feature-card { min-height: 360px; }
  .footer-bottom { flex-direction: column; }
  .pd-info h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero-title-line span, .hero-sub, .hero-actions, .hero-meta-inner, .reveal, .fade-up { opacity: 1 !important; transform: none !important; }
}
