
/* ─────────────────────────────────────────────────────────
   01. FONT FACE
───────────────────────────────────────────────────────── */

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/Cormorant Garamond.ttf') format('truetype');
  font-display: swap;
}


/* ─────────────────────────────────────────────────────────
   02. DESIGN TOKENS — single unified :root
   (Replaces the 3 separate :root blocks that previously
   conflicted with each other, especially --font-body
   'Inter' vs 'Jost' and --accent vs --color-gold)
───────────────────────────────────────────────────────── */

:root {
  /* Typography */
  --font-heading:       'Cormorant Garamond', serif;
  --font-body:          'Jost', sans-serif;
  --font-display:       'Cormorant Garamond', serif;

  /* Fluid type scale */
  --type-body-fluid:    clamp(0.875rem, 0.82rem + 0.24vw, 0.975rem);
  --type-label-fluid:   clamp(0.625rem, 0.59rem + 0.08vw, 0.70rem);
  --type-title-fluid:   clamp(2rem, 1.55rem + 2vw, 4rem);
  --type-display-fluid: clamp(2.75rem, 2rem + 4vw, 7rem);

  /* Easing */
  --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.4, 0, 1, 1);
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);

  /* Duration */
  --dur-fast: 220ms;
  --dur-slow: 480ms;
  --t-fast:   0.20s;
  --t-mid:    0.45s;
  --t-slow:   0.80s;
  --t-crawl:  1.20s;

  /* Spacing */
  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  28px;
  --space-lg:  48px;
  --space-xl:  72px;
  --space-xxl: 120px;

  /* Raw palette */
  --black:       #050505;
  --black-soft:  #0c0c0c;
  --black-card:  #111111;
  --black-lift:  #181818;
  --black-line:  #1e1e1e;
  --white:       #f5f2ee;
  --white-dim:   #c8c4be;
  --white-muted: #6a6660;
  --gold:        #b8975a;
  --gold-light:  #d4b47a;
  --gold-dim:    #7a6040;

  /* Semantic surface / text tokens */
  --surface-dark:         #080807;
  --surface-elevated:     rgba(12, 12, 12, 0.96);
  --surface-light:        rgba(248, 246, 242, 0.96);
  --surface-border:       rgba(255, 255, 255, 0.08);
  --surface-border-dark:  rgba(8, 8, 7, 0.08);
  --text-on-dark:         rgba(245, 242, 238, 0.88);
  --text-on-dark-muted:   rgba(245, 242, 238, 0.50);
  --text-on-light:        rgba(8, 8, 7, 0.84);
  --text-on-light-muted:  rgba(8, 8, 7, 0.54);

  /* Semantic app tokens (map to raw palette) */
  --bg-primary:    var(--black);
  --bg-secondary:  var(--black-soft);
  --bg-card:       var(--black-card);
  --bg-hover:      var(--black-lift);
  --text-primary:  var(--white);
  --text-secondary: var(--white-dim);
  --text-muted:    var(--white-muted);
  --border:        var(--black-line);
  --accent:        var(--gold);          /* single canonical accent token */
  --accent-light:  var(--gold-light);
  --accent-soft:   rgba(184, 151, 90, 0.18);
  --red:           #e74c3c;
  --radius:        6px;
  --radius-sm:     4px;

  /* Light-page legacy tokens (used in section-level backgrounds) */
  --primary:   #000000;
  --secondary: #f7f3f0;
  --off-white: #f7f4ef;
  --beige:     #e8e0d0;
  --oatmeal:   #d4c9b5;
  --soft-gray: #9b9590;

  /* Layout */
  --app-height:          100vh;
  --nav-height:          72px;
  --nav-h:               72px;          /* alias kept for backwards compat */
  --max-w:               1440px;
  --site-max-width:      1440px;
  --site-content-width:  1280px;
  --site-gutter:         1rem;
  --site-gutter-tight:   0.875rem;
  --pad-x:               clamp(1.5rem, 5vw, 5rem);
  --section-y:           clamp(5rem, 10vw, 10rem);
  --site-section-y:      3.5rem;
  --site-section-y-lg:   5rem;

  /* Shadows */
  --shadow-soft:        0 18px 48px rgba(0, 0, 0, 0.08);
  --shadow-nav:         0 12px 36px rgba(0, 0, 0, 0.08);
  --shadow-nav-strong:  0 18px 52px rgba(0, 0, 0, 0.14);

  /* Button system tokens */
  --btn-font:    'Jost', sans-serif;
  --btn-black:   #080807;
  --btn-white:   #f5f2ee;
  --btn-gold:    #b8975a;
  --btn-ease:    cubic-bezier(0.16, 1, 0.3, 1);
  --btn-t:       0.42s;
  --btn-t-fast:  0.22s;
}

/* Fluid layout token overrides — mobile-first breakpoints */
@media (min-width: 375px)  { :root { --site-gutter: 1.125rem; } }
@media (min-width: 480px)  { :root { --site-gutter: 1.25rem; --site-section-y: 4rem; } }
@media (min-width: 768px)  { :root { --nav-height: 78px; --nav-h: 78px; --site-gutter: 1.75rem; --site-section-y: 4.5rem; --site-section-y-lg: 6rem; } }
@media (min-width: 1024px) { :root { --nav-height: 82px; --nav-h: 82px; --site-gutter: 2.25rem; --site-section-y: 5rem;   --site-section-y-lg: 7rem; } }
@media (min-width: 1280px) { :root { --site-gutter: 2.75rem; } }
@media (min-width: 1440px) { :root { --site-gutter: 3.25rem; } }


/* ─────────────────────────────────────────────────────────
   03. RESET & BASE
   Single canonical body declaration.
   Previously there were 3 conflicting body blocks:
   one dark (#080807), one light (var(--off-white)), and
   one with will-change. All merged here.
───────────────────────────────────────────────────────── */

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

html {
  font-size: 16px;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-text-size-adjust: 100%;
}

body {
  background:  var(--surface-dark);   /* dark default; sections carry their own bg */
  color:       var(--text-on-dark);
  font-family: var(--font-body);
  font-size:   var(--type-body-fluid);
  font-weight: 300;
  line-height: 1.65;
  min-width:   320px;
  overflow-x:  hidden;
  display:     flex;
  flex-direction: column;
  min-height:  100vh;
  -webkit-font-smoothing:  antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* scroll-bg.js animates background; keep transition short */
  will-change: background;
  transition:  background 80ms linear;
}

/* Page-level body states */
body.has-solid-nav      { padding-top: var(--nav-height); }
body.nav-open           { overflow: hidden; touch-action: none; }
body.has-checkout-shell { background: #f7f3f0; color: #111111; }

h1, h2, h3 {
  font-family:    var(--font-heading);
  font-weight:    300;
  letter-spacing: 0.02em;
}

footer { margin-top: auto; }

img, picture, video, canvas, svg, iframe {
  display:   flex;
  max-width: 100%;
}

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

/* Eliminate unwanted minimum widths on form elements */
input, select, textarea, button { min-width: 0; }

/* Accessible tap highlight suppression */
a, button { -webkit-tap-highlight-color: transparent; }

.main-content { padding-top: 80px; }

/* Scrollbar — matches light-bg page sections */
::-webkit-scrollbar       { width: 3px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--oatmeal); }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }


/* ─────────────────────────────────────────────────────────
   04. UTILITIES
───────────────────────────────────────────────────────── */

.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;
}

/* Container system */
.container,
.u-container {
  width: min(100% - (var(--site-gutter) * 2), var(--site-content-width));
  margin-inline: auto;
}

.container--narrow { max-width: 680px; }
.container--story  {
  max-width: var(--max-w);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 8rem);
  align-items: center;
}

.section       { padding-top: 90px; padding-bottom: 60px; }
.u-section     { padding-block: var(--site-section-y); }
.u-section-lg  { padding-block: var(--site-section-y-lg); }
.u-flow > * + * { margin-top: var(--flow-space, 1rem); }
.u-cluster      { display: flex; flex-wrap: wrap; align-items: center; gap: var(--cluster-gap, 0.75rem); }
.u-grid         { display: grid; gap: var(--grid-gap, 1.5rem); }

/* Section label + accent rule */
.section-label { font-family: var(--font-body); font-size: 10px; font-weight: 300; letter-spacing: 0.35em; text-transform: uppercase; color: var(--accent); }
.accent-rule   { display: block; height: 1px; width: 56px; background: var(--accent); margin: 14px auto 0; }

/* Shimmer text */
.shimmer {
  background: linear-gradient(90deg, #b8975a 0%, #e8d5a3 40%, #b8975a 60%, #c9a86b 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

/* Section header component */
.section-header            { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 1.5rem; margin-bottom: clamp(2.5rem, 5vw, 5rem); }
.section-header__meta      { display: flex; align-items: center; gap: 0.8rem; }
.section-header__index     { font-family: var(--font-body); font-size: 0.65rem; letter-spacing: 0.2em; color: var(--gold); font-weight: 400; }
.section-header__rule      { display: block; width: 40px; height: 1px; background: var(--black-line); }
.section-header__title     { font-family: var(--font-display); font-size: clamp(2.8rem, 5vw, 5rem); font-weight: 400; line-height: 0.95; color: var(--white); }
.section-header__title em  { color: var(--gold-light); }
.section-header__link      { font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--white-muted); display: flex; align-items: center; gap: 0.5rem; white-space: nowrap; padding-bottom: 0.2rem; border-bottom: 1px solid transparent; transition: color var(--t-fast) var(--ease); }
.section-header__link:hover { color: var(--white); border-bottom-color: var(--gold); }


/* ─────────────────────────────────────────────────────────
   05. ANIMATIONS & KEYFRAMES
   All keyframes in one place — no duplicates.
───────────────────────────────────────────────────────── */

@keyframes slideUp        { from { opacity: 0; transform: translateY(60px) skewY(2deg); } to { opacity: 1; transform: translateY(0) skewY(0); } }
@keyframes fadeUp         { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn         { from { opacity: 0; } to { opacity: 1; } }
@keyframes hero-fadein    { to   { opacity: 1; transform: translateY(0); } }
@keyframes scrollPulse    { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
@keyframes shimmer        { from { background-position: -200% center; } to { background-position: 200% center; } }
@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes spin           { to   { transform: rotate(360deg); } }
@keyframes btn-spin       { to   { transform: rotate(360deg); } }
@keyframes skeleton-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes footerPulse    { 0%, 100% { opacity: 0.35; transform: scale(0.72); } 50% { opacity: 1; transform: scale(1); } }

/* Reveal utilities */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.on { opacity: 1; transform: translateY(0); }
.rv1 { transition-delay: 0.10s; }
.rv2 { transition-delay: 0.22s; }
.rv3 { transition-delay: 0.36s; }
.rv4 { transition-delay: 0.50s; }

.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.reveal-up.is-visible { opacity: 1; transform: translateY(0); }

/* Entrance animation helpers */
.au { animation: fadeUp  0.9s var(--ease-luxury) both; }
.ai { animation: fadeIn  1.2s ease both; }
.d1 { animation-delay: 0.20s; }
.d2 { animation-delay: 0.50s; }
.d3 { animation-delay: 0.80s; }
.d4 { animation-delay: 1.10s; }
.d5 { animation-delay: 1.40s; }


/* ─────────────────────────────────────────────────────────
   06. SECTION HEADER (see utilities above — no duplicate)
───────────────────────────────────────────────────────── */


/* ─────────────────────────────────────────────────────────
   07. BUTTONS
   Two systems co-exist:
   A. Legacy hero buttons (.btn-ghost / .btn-dark) — standalone,
      no .btn base class, used only in hero section
   B. New button system (.btn base + variants) — used site-wide
   They do NOT conflict: hero buttons never carry .btn class.
───────────────────────────────────────────────────────── */

/* ── A. Legacy hero / WA buttons ── */
.btn-ghost,
.btn-dark {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 13px 38px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease, border-color 0.4s ease;
}

.btn-ghost {
  border: 1px solid rgba(184, 151, 90, 0.6);
  color: rgba(255, 255, 255, 0.85);
}

.btn-ghost::before,
.btn-dark::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--accent);
  transform: translateX(-105%);
  transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
  z-index: 0;
}

.btn-ghost:hover::before,
.btn-dark:hover::before  { transform: translateX(0); }
.btn-ghost:hover         { color: #fff; border-color: var(--accent); }

.btn-dark {
  background: var(--primary);
  color:      var(--secondary);
  border:     1px solid var(--primary);
}
.btn-dark span { position: relative; z-index: 1; }

.btn-ghost--dim {
  border-color: rgba(255, 255, 255, 0.18);
  color:        rgba(255, 255, 255, 0.42);
}
.btn-ghost--dim:hover {
  border-color: rgba(184, 151, 90, 0.6);
  color:        rgba(255, 255, 255, 0.85);
}

.btn-wa {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid #25D366; color: #25D366;
  font-family: var(--font-body); font-size: 10px; font-weight: 300;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding: 12px 26px; text-decoration: none;
  transition: all 0.3s ease;
}
.btn-wa:hover { background: #25D366; color: #fff; }

/* Category filter buttons */
.cat-btn {
  font-family: var(--font-body);
  font-size: 10px; font-weight: 300;
  letter-spacing: 0.25em; text-transform: uppercase;
  padding: 8px 20px;
  border: 1px solid var(--oatmeal);
  background: transparent; color: var(--soft-gray);
  transition: all 0.3s ease;
}
.cat-btn.active,
.cat-btn:hover { border-color: var(--primary); color: var(--primary); }
.cat-btn.active { background: var(--primary); color: var(--secondary); }

/* ── B. New button system ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  position: relative; overflow: hidden;
  text-decoration: none; cursor: pointer;
  -webkit-appearance: none; outline: none; appearance: none;
  font-family: var(--btn-font); font-size: 10px; font-weight: 300;
  letter-spacing: 0.30em; text-transform: uppercase;
  white-space: nowrap; line-height: 1; padding: 14px 36px;
  user-select: none;
  transition:
    color          var(--btn-t-fast) ease,
    border-color   var(--btn-t-fast) ease,
    letter-spacing var(--btn-t) var(--btn-ease),
    transform      0.18s ease;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  transform: translateX(-102%);
  transition: transform var(--btn-t) var(--btn-ease);
  z-index: 0; pointer-events: none;
}
.btn > *, .btn > span, .btn > svg { position: relative; z-index: 1; }

.btn:not(:disabled):not(.is-loading):hover::before  { transform: translateX(0); }
.btn:not(:disabled):not(.is-loading):active         { transform: scale(0.977); }
.btn:not(:disabled):not(.is-loading):hover          { letter-spacing: 0.36em; }
.btn:disabled,
.btn[disabled] { opacity: 0.32; cursor: not-allowed; pointer-events: none; filter: grayscale(0.4); }

/* Loading state */
.btn.is-loading { pointer-events: none; color: transparent !important; }
.btn.is-loading::after {
  content: ''; position: absolute; inset: 0; margin: auto;
  width: 16px; height: 16px;
  border: 1.5px solid currentColor; border-top-color: transparent;
  border-radius: 50%; animation: btn-spin 0.65s linear infinite; z-index: 5;
}
.btn-primary.is-loading::after      { border-color: #f5f2ee; border-top-color: transparent; }
.btn-secondary-lt.is-loading::after { border-color: #080807; border-top-color: transparent; }

/* Variants */
.btn-primary     { background: var(--btn-black); color: var(--btn-white); border: 1px solid var(--btn-black); }
.btn-primary::before { background: var(--btn-gold); }
.btn-primary:not(:disabled):not(.is-loading):hover { color: var(--btn-black); border-color: var(--btn-gold); }

.btn-primary-inv { background: var(--btn-gold); color: var(--btn-black); border: 1px solid var(--btn-gold); }
.btn-primary-inv::before { background: var(--btn-black); }
.btn-primary-inv:not(:disabled):not(.is-loading):hover { color: var(--btn-white); border-color: var(--btn-black); }

.btn-secondary   { background: transparent; color: rgba(245,242,238,0.72); border: 1px solid rgba(245,242,238,0.18); }
.btn-secondary::before { background: rgba(184,151,90,0.10); }
.btn-secondary:not(:disabled):not(.is-loading):hover { color: rgba(245,242,238,0.95); border-color: rgba(184,151,90,0.45); }

.btn-secondary-lt { background: transparent; color: rgba(8,8,7,0.65); border: 1px solid rgba(8,8,7,0.20); }
.btn-secondary-lt::before { background: var(--btn-black); }
.btn-secondary-lt:not(:disabled):not(.is-loading):hover { color: var(--btn-white); border-color: var(--btn-black); }

.btn-text { background: transparent; border: none; color: rgba(245,242,238,0.45); padding: 6px 0; letter-spacing: 0.28em; font-size: 9px; }
.btn-text::before { display: none; }
.btn-text::after  { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: var(--btn-gold); transition: width var(--btn-t) var(--btn-ease); }
.btn-text:not(:disabled):not(.is-loading):hover         { color: rgba(245,242,238,0.85); letter-spacing: 0.32em; }
.btn-text:not(:disabled):not(.is-loading):hover::after  { width: 100%; }
.btn-text--dark   { color: rgba(8,8,7,0.45); }
.btn-text--dark::after { background: var(--btn-black); }
.btn-text--dark:not(:disabled):not(.is-loading):hover { color: rgba(8,8,7,0.85); }

.btn-icon  { width: 44px; height: 44px; padding: 0; border: 1px solid rgba(245,242,238,0.12); background: transparent; color: rgba(245,242,238,0.45); flex-shrink: 0; letter-spacing: 0; }
.btn-icon::before { background: rgba(184,151,90,0.10); }
.btn-icon:not(:disabled):not(.is-loading):hover { color: rgba(245,242,238,0.85); border-color: rgba(184,151,90,0.40); letter-spacing: 0; }

.btn-icon--dark  { border-color: rgba(8,8,7,0.14); color: rgba(8,8,7,0.40); }
.btn-icon--dark::before { background: rgba(8,8,7,0.06); }
.btn-icon--dark:not(:disabled):not(.is-loading):hover { color: rgba(8,8,7,0.80); border-color: var(--btn-black); }

/* Size modifiers */
.btn--sm   { font-size: 9px;  letter-spacing: 0.25em; padding: 10px 24px; }
.btn--sm:not(:disabled):not(.is-loading):hover { letter-spacing: 0.30em; }
.btn--lg   { font-size: 11px; letter-spacing: 0.34em; padding: 18px 52px; }
.btn--lg:not(:disabled):not(.is-loading):hover { letter-spacing: 0.40em; }
.btn--full { width: 100%; }


/* ─────────────────────────────────────────────────────────
   08. NAVBAR
   Single authoritative block. All previous #navbar, .nav,
   #navbar.scrolled, nav--dark, etc. overrides are merged
   here. COS/ZARA polish and luxury polish blocks removed —
   their refinements are folded in.
───────────────────────────────────────────────────────── */

#navbar.nav {
  position: fixed !important;
  inset: 0 0 auto;
  height: var(--nav-height);
  z-index: 1100;
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition:
    background-color 320ms var(--ease-luxury),
    border-color     320ms var(--ease-luxury),
    box-shadow       320ms ease,
    transform        280ms var(--ease-luxury);
}

/* Scrolled / solid states */
#navbar.nav.scrolled,
body.has-solid-nav     #navbar.nav,
body.has-checkout-shell #navbar.nav {
  background:    rgba(252, 251, 249, 0.94);
  border-bottom-color: rgba(0, 0, 0, 0.055);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: var(--shadow-nav);
}

body.has-checkout-shell #navbar.nav,
body.has-checkout-shell #navbar.nav.scrolled {
  background: rgba(247, 243, 240, 0.96);
}

#navbar.nav.nav-hidden {
  transform: translate3d(0, -100%, 0);
  transition-duration: 0.26s;
}

#navbar.nav.is-scrolled-far { box-shadow: var(--shadow-nav-strong); }

/* Nav container */
.nav-container {
  width: min(100% - (var(--site-gutter) * 2), var(--site-max-width));
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 1rem;
}

.nav-left,
.nav-center,
.nav-right { display: flex; align-items: center; min-width: 0; }

.nav-left   { justify-content: flex-start; }
.nav-center { justify-content: center; }
.nav-right  { justify-content: flex-end; gap: 0.25rem; }

/* Logo */
#nav-logo {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 0.98rem + 0.45vw, 1.55rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: lowercase;
  line-height: 1;
  color: var(--text-on-dark);
  transition: color 280ms ease, letter-spacing 280ms ease;
}

#navbar.nav.scrolled #nav-logo,
body.has-solid-nav #nav-logo,
body.has-checkout-shell #nav-logo { color: var(--text-on-light); }

#nav-logo:hover { color: var(--accent) !important; letter-spacing: 0.20em; }

/* Hamburger */
.nav-hamburger-btn {
  display: inline-flex; flex-direction: column; justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem;
  min-width: 44px; min-height: 44px;
  border-radius: var(--radius-sm);
  transition: transform 220ms ease;
}
.nav-hamburger-btn:hover { transform: scale(1.06); }

.hline {
  display: block; height: 1px;
  background: var(--text-on-dark);
  transform-origin: center;
  transition:
    transform        280ms var(--ease-luxury),
    width            280ms var(--ease-luxury),
    background-color 220ms ease;
}
.hline--top { width: 1.5rem; }
.hline--bot { width: 0.95rem; }

/* Hamburger color: dark page */
#navbar.nav.scrolled .hline,
body.has-solid-nav .hline,
body.has-checkout-shell .hline { background: var(--text-on-light); }

/* Hamburger hover — gold accent micro-detail */
.nav-hamburger-btn:hover .hline,
.nav-hamburger-btn:focus-visible .hline { background: var(--accent); }
.nav-hamburger-btn:hover .hline--bot,
.nav-hamburger-btn:focus-visible .hline--bot { width: 1.5rem; }

/* Nav icon buttons */
.nav-icon-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px;
  color: var(--text-on-dark);
  border-radius: 999px;
  transition: color 220ms ease, background-color 220ms ease, transform 220ms ease;
}
.nav-icon-btn:hover,
.nav-icon-btn:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

#navbar.nav.scrolled .nav-icon-btn,
body.has-solid-nav .nav-icon-btn,
body.has-checkout-shell .nav-icon-btn { color: var(--text-on-light-muted); }

#navbar.nav.scrolled .nav-icon-btn:hover,
#navbar.nav.scrolled .nav-icon-btn:focus-visible,
body.has-solid-nav .nav-icon-btn:hover,
body.has-solid-nav .nav-icon-btn:focus-visible,
body.has-checkout-shell .nav-icon-btn:hover,
body.has-checkout-shell .nav-icon-btn:focus-visible {
  color: var(--text-on-light);
  background: rgba(8, 8, 7, 0.05);
}

.nav-icon-btn.is-active { color: var(--accent); }

/* Tooltip */
.nav-icon-tooltip {
  position: absolute; left: 50%; bottom: -1.5rem;
  transform: translateX(-50%) translateY(0.25rem);
  opacity: 0; pointer-events: none;
  white-space: nowrap;
  font-family: var(--font-body); font-size: 0.5rem;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--accent);
  transition: opacity 180ms ease, transform 180ms ease;
}
.nav-icon-btn:hover .nav-icon-tooltip,
.nav-icon-btn:focus-visible .nav-icon-tooltip {
  opacity: 1; transform: translateX(-50%) translateY(0);
}

/* Cart count bubble */
.cart-count {
  position: absolute; top: 0.3rem; right: 0.15rem;
  min-width: 1rem; height: 1rem; padding-inline: 0.2rem;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff;
  font-family: var(--font-body); font-size: 0.475rem; font-weight: 500; line-height: 1;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cart-count.bump { transform: scale(1.5); }


/* ─────────────────────────────────────────────────────────
   09. SIDEBAR
───────────────────────────────────────────────────────── */

#nav-sidebar-overlay {
  position: fixed; inset: 0; z-index: 1080;
  background: rgba(8, 8, 7, 0.32);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: opacity 260ms ease, visibility 260ms ease;
}
#nav-sidebar-overlay.is-open { opacity: 1; visibility: visible; }

#nav-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 1090;

  width: min(100vw, 27rem);
  max-width: 100%;

  padding:
    clamp(5.5rem, 9vw, 7rem)
    clamp(1.25rem, 3vw, 2.25rem)
    clamp(2rem, 4vw, 3rem);

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;

  gap: 2rem;

  overflow-y: auto;
  overflow-x: hidden;

  background: linear-gradient(
    180deg,
    rgba(251,249,244,0.98),
    rgba(246,243,236,0.98)
  );

  color: rgba(8, 8, 7, 0.88);

  border-right: 1px solid rgba(8, 8, 7, 0.08);

  box-shadow: 1.25rem 0 3rem rgba(8, 8, 7, 0.12);

  transform: translate3d(-100%, 0, 0);

  transition: transform 320ms var(--ease-luxury);
}
#nav-sidebar.is-open { transform: translate3d(0, 0, 0); }

.sidebar-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(8, 8, 7, 0.08);
}

.sidebar-close-btn {
  align-self: flex-end; position: absolute; top: 0; z-index: 2;
  width: 2.75rem; height: 2.75rem; min-width: 44px; min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; background: rgba(8, 8, 7, 0.04);
  transition: opacity 0.25s ease, transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
  top: 1.25rem;right: 1.25rem;
}
.sidebar-close-btn:hover { opacity: 0.88; transform: rotate(90deg) scale(1.1); }

.sclose-line     { position: absolute; width: 1rem; height: 1px; background: currentColor; }
.sclose-line--a  { transform: rotate(45deg); }
.sclose-line--b  { transform: rotate(-45deg); }

.sidebar-brand {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 1.1rem + 1vw, 2.2rem);
  line-height: 1; letter-spacing: 0.12em;
  color: rgba(8, 8, 7, 0.92);
}

.sidebar-nav { display: grid; gap: 0.9rem; }

.sidebar-nav a,
.sidebar-link {
  display: inline-flex; align-items: center;
  min-height: 44px; width: fit-content; max-width: 100%;
  padding: 0.45rem 0;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 1.55vw, 1.75rem);
  line-height: 1.08;
  color: rgba(8, 8, 7, 0.82);
  border-bottom: 1px solid transparent;
  position: relative;
  transition: color 220ms ease, transform 220ms ease, border-color 220ms ease;
  letter-spacing: -0.01em;
}
.sidebar-link::before {
  content: '';
  position: absolute; left: 0; top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 1px; height: 60%;
  background: var(--accent); transform-origin: center;
  transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.28s ease;
  opacity: 0;
}
.sidebar-link:hover,
.sidebar-link:focus-visible {
  color: rgba(8, 8, 7, 1);
  transform: translateX(0.25rem);
  border-bottom-color: rgba(184, 151, 90, 0.45);
}
.sidebar-link:hover::before,
.sidebar-link:focus-visible::before { transform: translateY(-50%) scaleY(1); opacity: 1; }

.sidebar-link--active { color: rgba(8, 8, 7, 0.88) !important; }
.sidebar-link--active::after {
  content: ''; display: inline-block; margin-left: 10px;
  width: 18px; height: 1px;
  background: var(--accent); vertical-align: middle;
  opacity: 0.7; transform: translateY(-2px);
}

.sidebar-link--admin {
  font-size: 0.85rem;
  letter-spacing: 0.28em;
}

.sidebar-footer   { display: grid; gap: 1rem; padding-top: 1rem; }
.sidebar-rule     { width: 100%; height: 1px; background: rgba(8, 8, 7, 0.08); }
.sidebar-tagline  { font-family: var(--font-heading); font-size: 1rem; line-height: 1.45; color: rgba(8, 8, 7, 0.52); }
.sidebar-socials  { display: grid; gap: 0.65rem; }

.sidebar-social-link {
  display: inline-flex; align-items: center;
  min-height: 44px; width: fit-content; max-width: 100%;
  font-family: var(--font-body); font-size: 0.625rem;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(8, 8, 7, 0.58);
  transition: color 0.28s ease, letter-spacing 0.38s var(--ease-luxury);
}
.sidebar-social-link:hover,
.sidebar-social-link:focus-visible { color: rgba(8, 8, 7, 0.88); letter-spacing: 0.34em; }


/* ─────────────────────────────────────────────────────────
   10. HERO
───────────────────────────────────────────────────────── */

#hero {
  position: relative;
  width: 100%; height: 100vh; min-height: 100svh;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
#hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  transform: scale(1.02);
  transition: transform 1.8s var(--ease-luxury);
}
#hero.loaded #hero-img { transform: scale(1); }

#hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.28),
      rgba(0,0,0,0.45)
    );

  z-index: 1;
}

#hero-content {
  position: relative;
  z-index: 3;

  width: 100%;

  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  text-align: center;

  margin: 0 auto;

  transform: translateY(-1vh);
}

#hero-brand {
  font-family: var(--font-heading);
  font-size: clamp(6rem, 13vw, 11rem);
  font-weight: 300; letter-spacing: 0.01em;
   color: rgba(255,255,255,0.96);
  line-height: 0.88; margin-bottom: 10px; margin: 0 auto 0.8rem;
  opacity: 0; transform: translateY(24px);
  animation: hero-fadein 1.1s var(--ease-luxury) 0.3s forwards;
  text-align: center;
}

#hero-sub {
  font-size: 0.72rem;

  letter-spacing: 0.32em;

  text-transform: uppercase;

  color: rgba(255,255,255,0.72);

  margin: 0 auto 2.2rem;

  text-align: center;
}

#hero-actions {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 1rem;

  flex-wrap: wrap;
}

/* Corner ornaments */
.c-tl { top: 28px;  left:  28px;  border-width: 1px 0 0 1px; }
.c-tr { top: 28px;  right: 28px;  border-width: 1px 1px 0 0; }
.c-bl { bottom: 28px; left: 28px;  border-width: 0 0 1px 1px; }
.c-br { bottom: 28px; right: 28px; border-width: 0 1px 1px 0; }


/* ─────────────────────────────────────────────────────────
   11. MARQUEE
───────────────────────────────────────────────────────── */

.marquee-strip         { border-top: 1px solid var(--black-line); border-bottom: 1px solid var(--black-line); padding: 1rem 0; overflow: hidden; background: var(--black-soft); }
.marquee-strip__track  {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  animation: marqueeScroll 42s linear infinite;
  white-space: nowrap;
}
.marquee-strip__track span {
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    color: rgba(245,242,238,0.38);
}
.marquee-strip__dot    { color: var(--gold); font-size: 0.4rem; }

.marquee-wrap {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
}
.marquee-track {
    display: flex;
    width: max-content;
    max-width: none;
    will-change: transform;
    animation: marqueeScroll 42s linear infinite;
    white-space: nowrap;
}

/* MOBILE SAFETY */
@media (max-width: 768px) {

    .marquee-wrap {
        overflow-x: hidden;
    }

    .marquee-track {
        min-width: max-content;
    }
}


/* ─────────────────────────────────────────────────────────
   12. PRODUCT CARDS
───────────────────────────────────────────────────────── */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.product-card {
  position: relative; background: #fff;
  overflow: visible; display: flex; flex-direction: column;
  transition: box-shadow 0.5s ease;
}
.product-card:hover { box-shadow: 0 24px 64px rgba(0,0,0,0.09); }

/* Image wrapper */
.card-img-wrap {
  position: relative; width: 100%; aspect-ratio: 3 / 4;
  overflow: hidden; background: #e8e0d0; flex-shrink: 0;
}

/* Front / back swap */
.img-front,
.img-back {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top; display: block;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.img-front { opacity: 1; transform: scale(1); z-index: 1; }
.img-back  { opacity: 0; z-index: 2; }
.product-card:hover .img-front { opacity: 0; transform: scale(1.04); }
.product-card:hover .img-back  { opacity: 1; transform: scale(1.04); }

.img-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: #e8e0d0; color: #9b9590;
}

/* Overlay */
.card-overlay {
  position: absolute; inset: 0; z-index: 3;
  background: rgba(0,0,0,0.28);
  opacity: 0; transition: opacity 0.4s ease;
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end;
  padding: 24px; gap: 10px;
}
.product-card:hover .card-overlay { opacity: 1; }

.overlay-btn {
  width: 100%;
  font-family: var(--font-body); font-size: 10px; font-weight: 300;
  letter-spacing: 0.25em; text-transform: uppercase;
  padding: 11px 0; border: none; cursor: pointer;
  transition: all 0.3s ease;
  transform: translateY(10px); pointer-events: auto;
}
.product-card:hover .overlay-btn { transform: translateY(0); }

.overlay-btn.qv  { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.25); transition-delay: 0.04s; }
.overlay-btn.qv:hover { background: rgba(255,255,255,0.22); }
.overlay-btn.atc { background: #fff; color: #000; transition-delay: 0.09s; }
.overlay-btn.atc:hover   { background: var(--accent); color: #fff; }
.overlay-btn.atc.loading { opacity: 0.7; pointer-events: none; }

/* Badges */
.card-badge { position: absolute; top: 14px; left: 14px; font-family: var(--font-body); font-size: 9px; font-weight: 300; letter-spacing: 0.2em; text-transform: uppercase; padding: 4px 10px; z-index: 4; pointer-events: none; }
.badge-new  { background: var(--accent); color: #fff; }
.badge-sale { background: rgba(184,151,90,0.15); color: rgba(184,151,90,0.9); border: 1px solid rgba(184,151,90,0.3); }

/* Badge percent */
.badge-percent { display: inline-block; background: rgba(184,151,90,0.12); color: var(--accent); font-family: var(--font-body); font-size: 9px; font-weight: 400; letter-spacing: 0.15em; text-transform: uppercase; padding: 3px 8px; border: 1px solid rgba(184,151,90,0.3); vertical-align: middle; margin-left: 6px; }

/* Card info section */
.card-info  { padding: 14px 16px 18px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.card-cat   { font-family: var(--font-body); font-size: 9px; font-weight: 300; letter-spacing: 0.28em; text-transform: uppercase; color: #9b9590; margin-bottom: 3px; }
.card-name  { font-family: var(--font-heading); font-size: 18px; font-weight: 400; line-height: 1.25; color: #000; margin-bottom: 3px; }
.card-name a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
.card-name a:hover { color: var(--accent); }
.card-price { font-family: var(--font-body); font-size: 12px; font-weight: 300; color: var(--accent); }
.card-price .old-price { text-decoration: line-through; color: #9b9590; margin-right: 8px; }

/* Price states — used across cards and product detail */
.old-price,
.price-original    { text-decoration: line-through; opacity: 0.45; font-size: 0.8125rem; color: #9b9590; margin-right: 6px; font-weight: 300; }
.price-sale        { font-family: var(--font-heading); font-size: 1rem; font-weight: 400; color: rgba(184,151,90,0.85); letter-spacing: 0.04em; }
.price-normal {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 400;
    color: #2c2c2c;
    letter-spacing: 0.04em;
}
.product-price-wrap { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin: 0.6rem 0 1.2rem; }
.product-price-wrap .price-sale,
.product-price-wrap .price-normal { font-size: 20px; display: flex; align-items: center; gap: 8px; }

/* Skeleton loader */
.skeleton      { background: linear-gradient(90deg, var(--beige) 25%, var(--oatmeal) 50%, var(--beige) 75%); background-size: 200% 100%; animation: skeleton-shimmer 1.4s ease infinite; }
.skeleton-card { background: var(--secondary); overflow: hidden; }
.empty-state   { grid-column: 1 / -1; text-align: center; padding: 80px 20px; }


/* ─────────────────────────────────────────────────────────
   13. QUICK VIEW MODAL
───────────────────────────────────────────────────────── */

#qv-overlay {
  position: fixed; inset: 0; z-index: 5000;
  background: rgba(0,0,0,0.65);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease; backdrop-filter: blur(4px); padding: 20px;
}
#qv-overlay.open { opacity: 1; pointer-events: all; }

#qv-modal {
  background: var(--secondary); max-width: 860px; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr;
  position: relative; transform: scale(0.96); opacity: 0;
  transition: transform 0.35s var(--ease-luxury), opacity 0.35s ease;
  max-height: 90vh; overflow: hidden;
}
#qv-overlay.open #qv-modal { transform: scale(1); opacity: 1; }

#qv-close       { position: absolute; top: 16px; right: 16px; background: none; border: none; cursor: pointer; font-size: 18px; color: var(--soft-gray); transition: color 0.2s; z-index: 10; line-height: 1; }
#qv-close:hover { color: var(--primary); }

#qv-img-wrap          { position: relative; overflow: hidden; aspect-ratio: 3/4; max-height: 90vh; }
#qv-img               { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
#qv-img-wrap:hover #qv-img { transform: scale(1.04); }

#qv-body    { padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; overflow-y: auto; }
#qv-cat     { font-family: var(--font-body); font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--soft-gray); margin-bottom: 10px; }
#qv-name    { font-family: var(--font-heading); font-size: 32px; font-weight: 300; line-height: 1.15; margin-bottom: 16px; }
#qv-price   { font-family: var(--font-body); font-size: 15px; font-weight: 300; color: var(--accent); margin-bottom: 24px; }
#qv-divider { height: 1px; background: var(--beige); margin-bottom: 24px; }
#qv-desc    { font-family: var(--font-body); font-size: 13px; font-weight: 300; line-height: 1.9; color: #555; margin-bottom: 32px; }

#qv-atc {
  font-family: var(--font-body); font-size: 11px; font-weight: 300;
  letter-spacing: 0.25em; text-transform: uppercase;
  padding: 14px 0; border: 1px solid var(--primary);
  background: var(--primary); color: var(--secondary);
  cursor: pointer; position: relative; overflow: hidden;
  transition: all 0.3s ease; width: 100%;
}
#qv-atc::before { content: ''; position: absolute; inset: 0; background: var(--accent); transform: translateX(-105%); transition: transform 0.4s cubic-bezier(0.76,0,0.24,1); z-index: 0; }
#qv-atc span    { position: relative; z-index: 1; }
#qv-atc:hover::before { transform: translateX(0); }
#qv-atc.loading { opacity: 0.7; pointer-events: none; }

.qv-spinner { width: 32px; height: 32px; border: 2px solid var(--beige); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.7s linear infinite; margin: 80px auto; }


/* ─────────────────────────────────────────────────────────
   14. TOAST / LIGHTBOX / BACK-TO-TOP
───────────────────────────────────────────────────────── */

#toast-wrap {
  position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 8000; display: flex; flex-direction: column;
  align-items: center; gap: 10px; pointer-events: none;
}
.toast {
  font-family: var(--font-body); font-size: 11px; font-weight: 300;
  letter-spacing: 0.15em; text-transform: uppercase;
  background: var(--primary); color: var(--secondary);
  padding: 12px 28px; opacity: 0; transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease; white-space: nowrap;
}
.toast.show    { opacity: 1; transform: translateY(0); }
.toast.error   { background: #8b2020; }
.toast.success { border-left: 2px solid var(--accent); }

.lb-item { overflow: hidden; position: relative; }
.lb-inner { width: 100%; height: 100%; transition: transform 0.7s var(--ease-luxury); }
.lb-item:hover .lb-inner { transform: scale(1.05); }
.lb-item::after {
  content: '*'; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.8); font-size: 18px;
  background: rgba(0,0,0,0.32); opacity: 0; transition: opacity 0.4s ease;
}
.lb-item:hover::after { opacity: 1; }

#lightbox         { position: fixed; inset: 0; z-index: 7000; background: rgba(0,0,0,0.92); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.35s ease; backdrop-filter: blur(4px); }
#lightbox.open    { opacity: 1; pointer-events: all; }
#lb-content       { position: relative; max-width: 580px; width: 90%; }
#lb-close         { position: absolute; top: -38px; right: 0; background: none; border: none; cursor: pointer; color: rgba(255,255,255,0.6); font-size: 18px; transition: color 0.2s; }
#lb-close:hover   { color: var(--accent); }
#lb-img           { width: 100%; aspect-ratio: 1; object-fit: cover; }
#lb-cap           { text-align: center; margin-top: 14px; font-family: var(--font-body); font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(255,255,255,0.35); }

#btt              { position: fixed; bottom: 24px; right: 24px; width: 42px; height: 42px; background: var(--primary); color: var(--secondary); border: none; cursor: pointer; font-size: 15px; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(10px); transition: all 0.3s ease; z-index: 800; }
#btt.on           { opacity: 1; transform: translateY(0); }
#btt:hover        { background: var(--accent); }


/* ─────────────────────────────────────────────────────────
   15. CONTACT FORM
───────────────────────────────────────────────────────── */

.field             { position: relative; margin-bottom: 30px; }
.field input,
.field textarea    { width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--oatmeal); padding: 12px 0; font-family: var(--font-body); font-size: 13px; font-weight: 300; color: var(--primary); outline: none; transition: border-color 0.3s; resize: none; }
.field input:focus,
.field textarea:focus { border-bottom-color: var(--accent); }
.field label       { position: absolute; top: 12px; left: 0; font-family: var(--font-body); font-size: 10px; font-weight: 300; letter-spacing: 0.2em; text-transform: uppercase; color: var(--soft-gray); pointer-events: none; transition: all 0.3s ease; }

.field input:focus ~ label,
.field input:not(:placeholder-shown) ~ label,
.field textarea:focus ~ label,
.field textarea:not(:placeholder-shown) ~ label { top: -13px; font-size: 9px; color: var(--accent); letter-spacing: 0.3em; }

.field input::placeholder,
.field textarea::placeholder { color: transparent; }
.field-err { position: absolute; bottom: -17px; left: 0; font-size: 10px; color: #b03030; font-family: var(--font-body); }

/* Contact section on dark background */
#contact .field input,
#contact .field textarea { color: #fff; border-bottom-color: rgba(255,255,255,0.3); }
#contact .field label    { color: rgba(255,255,255,0.5); }
#contact .field input:focus,
#contact .field textarea:focus { border-bottom-color: var(--accent); }


/* ─────────────────────────────────────────────────────────
   16. EDITORIAL / STORY / QUOTE
───────────────────────────────────────────────────────── */

.editorial           { position: relative; background: var(--black-soft); border-top: 1px solid var(--black-line); border-bottom: 1px solid var(--black-line); overflow: hidden; }
.editorial__inner    { max-width: var(--max-w); margin: 0 auto; padding: clamp(5rem, 10vw, 10rem) var(--pad-x); display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 1; }
.editorial__bg       { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(184,151,90,0.04) 0%, transparent 70%); pointer-events: none; }
.editorial__meta     { display: flex; align-items: center; gap: 1rem; font-family: var(--font-body); font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 2rem; }
.editorial__meta-line { display: block; width: 30px; height: 1px; background: var(--gold-dim); }
.editorial__title    { font-family: var(--font-display); font-size: clamp(5rem, 10vw, 10rem); font-weight: 300; line-height: 0.88; margin-bottom: 2.5rem; display: flex; flex-direction: column; }
.editorial__title--outline { -webkit-text-stroke: 1px var(--white); color: transparent; font-style: italic; }
.editorial__desc     { font-family: var(--font-body); font-size: clamp(0.85rem, 1.2vw, 1rem); color: var(--white-muted); line-height: 1.9; margin-bottom: 3rem; font-weight: 200; }
.editorial__visual   { display: flex; justify-content: flex-end; }
.editorial__frame    { position: relative; width: min(380px, 100%); }
.editorial__frame-img  { aspect-ratio: 9/14; overflow: hidden; border: 1px solid var(--black-line); }
.editorial__frame-label { position: absolute; bottom: -2rem; right: 0; font-family: var(--font-body); font-size: 0.58rem; letter-spacing: 0.22em; color: var(--white-muted); text-transform: uppercase; }

.story              { background: var(--black-soft); border-top: 1px solid var(--black-line); }
.story__frame > svg,
.story__frame-img   { border: 1px solid var(--black-line); display: block; }
.story__frame-caption { position: absolute; bottom: -2rem; left: 0; font-family: var(--font-body); font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white-muted); }
.story__accent-card   { position: absolute; top: 2rem; right: -1.5rem; background: var(--gold); color: var(--black); padding: 1.5rem; width: 90px; text-align: center; }
.story__accent-label  { font-family: var(--font-body); font-size: 0.55rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 0.3rem; }
.story__accent-year   { font-family: var(--font-display); font-size: 1.8rem; font-weight: 500; line-height: 1; }
.story__content  { display: flex; flex-direction: column; justify-content: center; padding: 2rem 0; }
.story__title    { font-family: var(--font-display); font-size: clamp(3.5rem, 6vw, 6rem); font-weight: 300; line-height: 0.9; margin: 1.5rem 0 2.5rem; }
.story__title em { color: var(--gold-light); }
.story__body     { display: flex; flex-direction: column; gap: 1.2rem; margin-bottom: 3rem; }
.story__lead     { font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 300; line-height: 1.5; color: var(--white); font-style: italic; }
.story__text     { font-family: var(--font-body); font-size: 0.88rem; color: var(--white-muted); line-height: 1.9; font-weight: 200; }
.story__stats    { display: flex; gap: 3rem; margin-bottom: 3rem; padding: 2rem 0; border-top: 1px solid var(--black-line); border-bottom: 1px solid var(--black-line); }
.story__stat     { display: flex; flex-direction: column; gap: 0.3rem; }
.story__stat-num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 400; color: var(--gold); line-height: 1; }
.story__stat-label { font-family: var(--font-body); font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white-muted); }

.quote-section           { padding: clamp(4rem, 8vw, 8rem) var(--pad-x); background: var(--black); border-top: 1px solid var(--black-line); border-bottom: 1px solid var(--black-line); }
.quote-section__inner    { max-width: 800px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 2.5rem; }
.quote-section__line     { width: 1px; height: 60px; background: linear-gradient(to bottom, transparent, var(--gold), transparent); }
.quote-section__text     { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 3.5rem); font-weight: 300; line-height: 1.3; color: var(--white); }
.quote-section__text em  { color: var(--gold-light); display: block; }

/* Section-level overrides */
#about, #contact       { background: transparent !important; }
#collection h2,
#lookbook h2           { color: var(--accent); }


/* ─────────────────────────────────────────────────────────
   17. NEWSLETTER
   Two variants: .newsletter (dark standalone section)
   and .newsletter-section (alternate light version)
───────────────────────────────────────────────────────── */

.newsletter              { background: var(--black-soft); border-top: 1px solid var(--black-line); }
.newsletter .container--narrow { text-align: center; margin: 0 auto; padding: 0 var(--pad-x); }
.newsletter__title       { font-family: var(--font-display); font-size: clamp(2.8rem, 6vw, 5.5rem); font-weight: 300; line-height: 0.95; margin: 1.5rem 0 1.2rem; }
.newsletter__title em    { color: var(--gold-light); }
.newsletter__sub         { font-family: var(--font-body); font-size: 0.82rem; color: var(--white-muted); letter-spacing: 0.08em; margin-bottom: 3rem; font-weight: 200; }
.newsletter__form        { display: flex; max-width: 480px; margin: 0 auto 1.5rem; border: 1px solid var(--black-line); transition: border-color var(--t-mid) var(--ease); }
.newsletter__form:focus-within { border-color: var(--gold); }
.newsletter__field       { flex: 1; position: relative; }
.newsletter__input       { width: 100%; height: 56px; padding: 0 1.2rem; background: transparent; border: none; outline: none; color: var(--white); font-family: var(--font-body); font-size: 0.82rem; font-weight: 300; }
.newsletter__input::placeholder { color: transparent; }
.newsletter__label       { position: absolute; top: 50%; left: 1.2rem; transform: translateY(-50%); font-family: var(--font-body); font-size: 0.72rem; color: var(--white-muted); letter-spacing: 0.1em; pointer-events: none; transition: all var(--t-mid) var(--ease-out); }
.newsletter__input:focus ~ .newsletter__label,
.newsletter__input:not(:placeholder-shown) ~ .newsletter__label { top: 30%; font-size: 0.56rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.newsletter__btn         { padding: 0 2rem; background: var(--white); color: var(--black); font-size: 0.65rem; border: none; letter-spacing: 0.2em; white-space: nowrap; display: flex; align-items: center; gap: 0.6rem; transition: background var(--t-fast), color var(--t-fast); }
.newsletter__btn:hover   { background: var(--gold); }
.newsletter__privacy     { font-family: var(--font-body); font-size: 0.62rem; letter-spacing: 0.08em; color: var(--white-muted); }
.newsletter__success     { display: none; font-family: var(--font-display); font-size: 1.2rem; font-style: italic; color: var(--gold-light); margin-top: 1.5rem; }
.newsletter__success.is-visible { display: block; }

/* Alt section variant */
.newsletter-section { padding: 80px 40px; text-align: center; background: #0c0c0c; border-top: 1px solid rgba(184,151,90,0.15); }
.newsletter-label   { font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.newsletter-heading { font-family: var(--font-heading); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 300; letter-spacing: 0.04em; color: var(--text-on-dark); margin-bottom: 32px; }
.newsletter-form    { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 480px; margin: 0 auto; }
.newsletter-input-group { display: flex; width: 100%; border: 1px solid rgba(184,151,90,0.35); transition: border-color 200ms ease; }
.newsletter-input-group:focus-within { border-color: var(--accent); }
.newsletter-input-group input[type="email"] { flex: 1; background: transparent; border: none; outline: none; padding: 14px 18px; font-family: var(--font-body); font-size: 0.875rem; letter-spacing: 0.04em; color: var(--text-on-dark); }
.newsletter-input-group input[type="email"]::placeholder { color: rgba(240,236,228,0.35); }
.newsletter-input-group button { background: var(--accent); border: none; padding: 14px 24px; font-family: var(--font-body); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: #0c0c0c; cursor: pointer; transition: background 200ms ease, opacity 200ms ease; white-space: nowrap; }
.newsletter-input-group button:hover:not(:disabled) { background: #cba96a; }
.newsletter-input-group button:disabled { opacity: 0.6; cursor: default; }
.newsletter-message           { font-size: 0.8125rem; letter-spacing: 0.04em; min-height: 20px; }
.newsletter-message--success  { color: #7fba8a; }
.newsletter-message--error    { color: #c97a7a; }
.newsletter-message--info     { color: var(--accent); }


/* ─────────────────────────────────────────────────────────
   18. FOOTER — single authoritative block
   All previous footer blocks (old grid, footer-premium,
   FHEERA v1, FHEERA v2, inline resets) are removed.
   This is the only footer CSS in the entire file.
───────────────────────────────────────────────────────── */

/* Scoped reset — prevents cascade bleed */
.footer *,
.footer *::before,
.footer *::after { box-sizing: border-box; margin: 0; padding: 0; }

.footer {
  position: relative; overflow: clip;
  background:
    radial-gradient(circle at top left, rgba(184,151,90,0.08), transparent 34%),
    linear-gradient(180deg, #0b0b0b 0%, #090909 100%);
  color: rgba(245,242,238,0.32);
  border-top: 1px solid rgba(255,255,255,0.06);
  font-family: var(--font-body); font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

/* Watermark background letterform */
.footer-bg-text {
  position: absolute;
  left: max(-1rem, calc(var(--site-gutter) * -0.35));
  bottom: -1.25rem; z-index: 1;
  pointer-events: none; user-select: none; white-space: nowrap;
  font-family: var(--font-heading);
  font-size: clamp(6rem, 22vw, 18rem);
  line-height: 0.82; letter-spacing: 0.02em;
  color: rgba(184,151,90,0.05);
}

/* Content wrapper */
.footer-inner {
  position: relative; z-index: 2;
  width: min(100% - (var(--site-gutter) * 2), var(--site-content-width));
  margin-inline: auto;
  padding-block: clamp(3.5rem, 7vw, 6rem) clamp(2rem, 4vw, 3rem);
}

/* Italic statement */
.footer-statement { margin-bottom: clamp(2.25rem, 5vw, 4rem); }
.footer-statement-text {
  max-width: 30rem;
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 1.15rem + 1.7vw, 2.8rem);
  line-height: 1.2; letter-spacing: 0.035em;
  font-style: italic; color: rgba(245,242,238,0.55);
}

/* 3-column grid */
.footer-container {
  display: grid;
  grid-template-columns: 1fr;          /* mobile: stack */
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* Column structural defaults */
.footer-brand,
.footer-newsletter { display: grid; gap: 0.9rem; }

/* Nav column — vertical stack (different from social/links which flow horizontal) */
.footer-nav { display: flex; flex-direction: column; gap: 0.25rem; }

/* Logo */
.footer-logo {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 0.98rem + 0.45vw, 1.55rem);
  letter-spacing: 0.01em; text-transform: lowercase;
  line-height: 0.88; color: rgba(245,242,238,0.92);
}

/* Tagline */
.footer-tagline {
  font-family: var(--font-body); font-size: 0.625rem;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(245,242,238,0.28);
}

/* Section label (shared across columns) */
.footer-title {
  font-family: var(--font-body); font-size: 0.625rem;
  letter-spacing: 0.34em; text-transform: uppercase;
  color: rgba(184,151,90,0.60);
}

/* Social links — horizontal flow */
.footer-social {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem;
}

/* Social + nav + legal links — shared base */
.footer-social a,
.footer-nav a,
.footer-links a {
  display: inline-flex; align-items: center; gap: 0.35rem;
  min-height: 44px; width: fit-content; max-width: 100%;
  color: rgba(245,242,238,0.55);
  transition: color 220ms ease, transform 220ms ease;
}
.footer-social a { font-family: var(--font-heading); font-size: 0.9rem;  letter-spacing: 0.04em; }
.footer-nav a    { font-family: var(--font-heading); font-size: 0.95rem; letter-spacing: 0.04em; min-height: 36px; }

.footer-social a:hover, .footer-social a:focus-visible,
.footer-nav a:hover,    .footer-nav a:focus-visible,
.footer-links a:hover,  .footer-links a:focus-visible {
  color: var(--text-on-dark); transform: translateY(-1px);
}

/* Newsletter area (state-driven) */
.footer-newsletter-area     { display: grid; gap: 0.9rem; }
.footer-newsletter-desc     { max-width: 20rem; font-family: var(--font-heading); font-size: 0.95rem; line-height: 1.55; letter-spacing: 0.03em; color: rgba(245,242,238,0.40); }

.footer-newsletter-form {
  display: flex; align-items: center; gap: 0.875rem;
  width: min(100%, 25rem);
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(245,242,238,0.14);
  transition: border-color 220ms ease;
}
.footer-newsletter-form:focus-within { border-bottom-color: rgba(184,151,90,0.45); }

.footer-newsletter-input {
  flex: 1 1 auto; min-width: 0;
  background: transparent; border: 0; outline: none; padding: 0;
  color: rgba(255,255,255,0.9);
  font-family: var(--font-body); font-size: 0.76rem;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.footer-newsletter-input::placeholder { color: rgba(212, 186, 142, 0.55); }

.footer-newsletter-btn {
  position: relative; flex: 0 0 auto;
  width: 2.75rem; height: 2.75rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  color: rgba(245,242,238,0.74); background: rgba(255,255,255,0.04);
  transition: transform 220ms ease, color 220ms ease, background-color 220ms ease;
}
.footer-newsletter-btn:hover,
.footer-newsletter-btn:focus-visible {
  color: #fff; background: rgba(184,151,90,0.16); transform: translateX(0.125rem);
}

/* Loading icon animation */
.nl-icon           { position: absolute; display: inline-flex; align-items: center; justify-content: center; transition: opacity 180ms ease, transform 180ms ease; }
.nl-icon--arrow    { opacity: 1; transform: scale(1); }
.nl-icon--loading  { width: 0.6rem; height: 0.6rem; border-radius: 999px; background: currentColor; opacity: 0; transform: scale(0.65); animation: footerPulse 880ms ease-in-out infinite; }

.footer-newsletter-area[data-state="loading"] .nl-icon--arrow   { opacity: 0; transform: scale(0.65); }
.footer-newsletter-area[data-state="loading"] .nl-icon--loading { opacity: 1; transform: scale(1); }

.footer-newsletter-area[data-state="success"] .footer-newsletter-form { display: none; }
.footer-newsletter-area[data-state="success"] .footer-newsletter-desc { display: none; }
.footer-newsletter-area[data-state="success"] .footer-newsletter-success-msg { display: block; opacity: 1; }

/* Status messages */
.footer-newsletter-status,
.footer-newsletter-success-msg { min-height: 1.2rem; font-family: var(--font-body); font-size: 0.65rem; letter-spacing: 0.12em; }
.footer-newsletter-status { color: rgba(245,242,238,0.70); }
.footer-newsletter-status[data-type="error"] { color: #d8a6a6; }
.footer-newsletter-status[data-type="info"]  { color: rgba(184,151,90,0.95); }
.footer-newsletter-success-msg { display: none; color: rgba(245,242,238,0.90); opacity: 0; }

/* Bottom bar */
.footer-bottom {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-bottom > p {
  font-family: var(--font-body); font-size: 0.6rem;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(245,242,238,0.22); line-height: 1;
}

/* Legal links (footer-links is horizontal flex) */
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }
.footer-links a {
  font-family: var(--font-body); font-size: 0.6rem;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(245,242,238,0.26);
}


/* ─────────────────────────────────────────────────────────
   19. RELATED PRODUCTS (product detail page)
───────────────────────────────────────────────────────── */

.related-products {
  background: #080807;
  padding: clamp(60px, 8vw, 100px) 0 clamp(60px, 8vw, 120px);
}
.related-products__inner   { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1.5rem, 5vw, 5rem); }
.related-products__heading { font-family: var(--font-heading); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 300; letter-spacing: 0.08em; color: rgba(245,242,238,0.75); margin-bottom: 4px; line-height: 1; }
.related-products__label   { font-family: var(--font-body); font-size: 9px; font-weight: 300; letter-spacing: 0.45em; text-transform: uppercase; color: rgba(184,151,90,0.5); margin-bottom: 14px; display: block; }
.related-products__rule    { display: block; width: 40px; height: 1px; background: rgba(184,151,90,0.3); margin: 20px 0 56px; }
.related-products__grid    { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 48px; }

/* CTA button on related product cards.
   Fixed: was display:none which broke transition.
   Now uses opacity + pointer-events for smooth reveal. */
.product-card__cta {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  display: flex; align-items: center; justify-content: center; gap: 8px;  /* always flex */
  padding: 16px 20px;
  font-family: var(--font-body); font-size: 9px; font-weight: 300;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: rgba(245,242,238,0.9);
  background: rgba(8,8,7,0.70); backdrop-filter: blur(6px);
  border-top: 1px solid rgba(184,151,90,0.15);
  border-left: none; border-right: none; border-bottom: none;
  width: 100%; cursor: pointer;
  opacity: 0; pointer-events: none;               /* hidden by default */
  transform: translateY(100%);
  transition: transform 0.45s var(--ease-luxury), opacity 0.35s ease;
  flex-wrap: wrap;
gap: 8px;
}
.product-card__cta:hover {
  background: rgba(184,151,90,0.15);
  color: rgba(245,242,238,1);
  border-top-color: rgba(184,151,90,0.4);
}
.product-card:hover .product-card__cta {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}


/* ─────────────────────────────────────────────────────────
   20. AUTH / CHECKOUT / ORDER PAGES
───────────────────────────────────────────────────────── */

.auth-container  { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; background: #000; color: #fff; }
.auth-panel      { display: flex; flex-direction: column; justify-content: center; padding: 5rem; max-width: 420px; }
.auth-form-title { font-size: 2.2rem; margin-bottom: 0.5rem; }
.auth-form-sub   { color: #888; margin-bottom: 2rem; }
.form-group      { margin-bottom: 1.2rem; }
.form-label      { display: block; font-size: 0.8rem; margin-bottom: 0.4rem; color: #aaa; }
.form-input      { width: 100%; padding: 0.8rem; background: #111; border: 1px solid #333; color: #fff; }
.auth-visual     { display: flex; align-items: center; justify-content: center; background: #0a0a0a; }
.auth-logo       { font-family: serif; font-size: 2.5rem; letter-spacing: 0.4em; }
.auth-tagline    { margin-top: 1rem; color: #aaa; }

.checkout        { max-width: 600px; margin: 100px auto; }
.checkout input,
.checkout textarea { width: 100%; padding: 12px; margin-bottom: 10px; background: #111; border: 1px solid #333; color: #fff; }
.checkout button { width: 100%; padding: 14px; background: #fff; color: #000; cursor: pointer; }

.order-page          { background: #f4efe9; color: #1a1a1a; }
.timeline-step       { display: flex; align-items: flex-start; gap: 16px; }
.timeline-dot        { width: 10px; height: 10px; background: var(--accent); border-radius: 50%; margin-top: 6px; }
.timeline-line       { width: 1px; background: linear-gradient(var(--accent), transparent); margin-left: 4px; }
.timeline-step.active      { color: #000; }
.timeline-step:not(.active) { opacity: 0.4; }
.order-title  { font-family: var(--font-heading); font-size: 28px; font-weight: 400; letter-spacing: 0.05em; }
.order-label  { font-size: 10px; letter-spacing: 0.3em; color: var(--accent); text-transform: uppercase; }
.order-text   { font-size: 14px; color: #333; }
.order-card   { background: #fff; padding: 28px; border: 1px solid rgba(0,0,0,0.06); }
.order-total  { font-size: 22px; font-family: var(--font-heading); font-weight: 500; color: #000; }

/* Logo brand variants (used across pages) */
.logo-brand         { font-family: var(--font-heading); font-weight: 500; letter-spacing: 0.05em; color: #fff; text-decoration: none; text-transform: lowercase; font-feature-settings: "liga" 1; }
.logo-brand:hover   { color: #d4af37; }
.logo-brand--nav    { font-size: 1.2rem; }
.logo-brand--hero   { font-size: 4rem; letter-spacing: 0.08em; }
.logo-brand--footer { font-size: 1.3rem; opacity: 0.9; }


/* ─────────────────────────────────────────────────────────
   21. HOMEPAGE SPECIFIC (.home-page)
   Scoped to body.home-page to isolate from other pages.
───────────────────────────────────────────────────────── */

.home-page            { background: #080807; }
.home-page__main      { width: 100%; }
.home-shell           { width: min(100% - (var(--site-gutter) * 2), 1240px); margin-inline: auto; }
.home-section         { position: relative; padding-block: clamp(4.5rem, 8vw, 7rem); }
.home-deferred        { content-visibility: auto; contain-intrinsic-size: 1000px; }
.home-section__header { width: min(100%, 40rem); margin-inline: auto; text-align: center; }
.home-section__label  { margin-bottom: 0.85rem; }
.home-section__label--muted { color: rgba(184,151,90,0.72); }
.home-section__title  { margin-bottom: 0.9rem; }
.home-section__title--light { color: rgba(245,242,238,0.96); }

/* Hero — homepage variant */
.home-page #hero {
  position: relative;
  min-height: max(36rem, calc(var(--app-height) - var(--nav-height)));
  display: flex; align-items: stretch; justify-content: center;
  overflow: clip; isolation: isolate; background: #080807;
}
.home-page #hero::after {
  content: ''; position: absolute; inset: auto 0 0;
  height: clamp(5rem, 14vw, 9rem);
  background: linear-gradient(180deg, rgba(8,8,7,0) 0%, rgba(8,8,7,0.78) 100%);
  z-index: 1; pointer-events: none;
}
.home-page #hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 24%;
  transform: scale(1.035);
  transition: transform 1.4s var(--ease-luxury), opacity 0.6s ease;
}
.home-page #hero.loaded #hero-img { transform: scale(1); }
.home-page #hero-overlay {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(180deg, rgba(8,8,7,0.18) 0%, rgba(8,8,7,0.40) 38%, rgba(8,8,7,0.82) 100%),
    radial-gradient(circle at 74% 28%, rgba(184,151,90,0.14), transparent 34%);
}

.home-hero__content,
.home-page #hero-content {
  position: relative; z-index: 2;
  width: min(100% - (var(--site-gutter) * 2), 1240px);
  margin-inline: auto;
  padding-block: calc(var(--nav-height) + clamp(2rem, 7vw, 5rem)) clamp(3rem, 7vw, 5.5rem);
  display: grid; align-content: end; justify-items: start; text-align: left;
}
.home-hero__kicker {
  margin-bottom: 1rem;
  font-family: var(--font-body); font-size: clamp(0.62rem, 0.58rem + 0.12vw, 0.72rem);
  letter-spacing: 0.42em; text-transform: uppercase; color: rgba(245,242,238,0.6);
}
.home-page #hero-brand { max-width: 8ch; margin-bottom: 1rem; font-size: clamp(4rem, 9vw, 8rem); line-height: 0.88; letter-spacing: 0.04em; text-wrap: balance; }
.home-page #hero-sub   { max-width: 30rem; margin-bottom: clamp(1.75rem, 4vw, 2.8rem); font-size: clamp(0.78rem, 0.72rem + 0.18vw, 0.9rem); line-height: 1.75; letter-spacing: 0.26em; color: rgba(245,242,238,0.72); }

.home-hero__actions,
.home-page #hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: flex-start; }

.home-page .btn-ghost,
.home-page .btn-dark,
.home-page .btn-wa     { min-height: 48px; }
.home-page .btn-ghost  { border-color: rgba(245,242,238,0.34); background: rgba(255,255,255,0.02); color: rgba(245,242,238,0.92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.home-page .btn-ghost:hover    { border-color: rgba(184,151,90,0.86); }
.home-page .btn-ghost--dim     { color: rgba(245,242,238,0.68); }

/* Marquee */
.home-marquee              { background: #080807; border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); }
.home-page .marquee-wrap   { padding-block: 0.9rem; background: transparent !important; }
.home-page .marquee-track  { gap: 2rem; }

/* Section backgrounds */
.home-collection,
.home-contact    { background: #f7f4ef; color: #d6d6d5; }
.home-lookbook   { background: radial-gradient(circle at top left, rgba(184,151,90,0.08), transparent 34%), #080807; }

/* Collection filter */
.home-collection__filters { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 0.625rem; min-width: 100%; padding-bottom: 0.2rem; }
.home-filter-scroll { display: block; overflow-x: auto; padding-inline: 0.1rem; margin-bottom: clamp(2rem, 5vw, 3.25rem); scrollbar-width: none; }
.home-filter-scroll::-webkit-scrollbar { display: none; }
.home-page .cat-btn { flex: 0 0 auto; min-height: 42px; padding: 0.75rem 1.1rem; border-radius: 999px; background: rgba(255,255,255,0.72); border-color: rgba(8,8,7,0.12); color: rgba(8,8,7,0.58); touch-action: manipulation; }

/* Product grid */
.home-product-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
.home-collection__cta { margin-top: clamp(2rem, 5vw, 3.2rem); text-align: center; }

/* Product skeleton */
.home-product-skeleton { border-radius: 0; overflow: hidden; box-shadow: 0 16px 36px rgba(8,8,7,0.05); }
.home-product-skeleton__media { aspect-ratio: 3/4; }
.home-product-skeleton__body  { padding: 1rem 1rem 1.2rem; }
.home-product-skeleton__meta  { height: 0.55rem; width: 58%; margin-bottom: 0.75rem; border-radius: 0.125rem; }
.home-product-skeleton__title { height: 1rem; width: 82%; margin-bottom: 0.6rem; border-radius: 0.125rem; }
.home-product-skeleton__price { height: 0.7rem; width: 42%; border-radius: 0.125rem; }

/* Lookbook */
.home-lookbook__intro { margin-top: 1rem; color: rgba(245,242,238,0.42); }
.lookbook-grid        { display: grid; grid-template-columns: 1fr; gap: clamp(0.85rem, 2vw, 1rem); }
.lb-skeleton          { background: linear-gradient(90deg, rgba(22,22,22,0.95) 25%, rgba(34,34,34,0.95) 50%, rgba(22,22,22,0.95) 75%); background-size: 200% 100%; animation: skeleton-shimmer 1.4s ease infinite; min-height: 18rem; }
.lb-skeleton--feature  { min-height: clamp(26rem, 58vw, 34rem); }
.lb-skeleton--stack    { min-height: clamp(14rem, 34vw, 18rem); }
.lb-skeleton--portrait { min-height: clamp(16rem, 38vw, 22rem); }

.lookbook-card         { display: block; width: 100%; padding: 0; overflow: hidden; border: 0; background: transparent; text-align: left; cursor: pointer; }
.lookbook-card__frame,
.lb-inner.lookbook-card__frame { position: relative; display: block; width: 100%; min-height: 18rem; overflow: hidden; background: #111; }
.lookbook-card--feature .lookbook-card__frame  { min-height: clamp(26rem, 58vw, 34rem); }
.lookbook-card--stack .lookbook-card__frame    { min-height: clamp(14rem, 34vw, 18rem); }
.lookbook-card--portrait .lookbook-card__frame { min-height: clamp(16rem, 38vw, 22rem); }
.lookbook-card__image  { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-luxury), filter 0.4s ease; }
.lookbook-card__label  { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; z-index: 2; font-family: var(--font-body); font-size: 0.58rem; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(245,242,238,0.86); opacity: 0; transform: translateY(0.5rem); transition: opacity 220ms ease, transform 220ms ease; }
.lookbook-empty        { grid-column: 1/-1; padding: 4rem 1rem; text-align: center; color: rgba(245,242,238,0.36); font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; }

.home-page .lb-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,8,7,0.04) 0%, rgba(8,8,7,0.4) 100%); opacity: 0; transition: opacity 220ms ease; }
.home-page .lb-item:hover .lookbook-card__image,
.home-page .lb-item:focus-visible .lookbook-card__image { transform: scale(1.045); filter: saturate(1.05); }
.home-page .lb-item:hover .lb-inner.lookbook-card__frame,
.home-page .lb-item:focus-visible .lb-inner.lookbook-card__frame { transform: none; }
.home-page .lb-item:hover::after,
.home-page .lb-item:focus-visible::after { opacity: 1; }
.home-page .lb-item:hover .lookbook-card__label,
.home-page .lb-item:focus-visible .lookbook-card__label { opacity: 1; transform: translateY(0); }
.home-page .lb-item:focus-visible { outline: 1px solid rgba(184,151,90,0.72); outline-offset: 0.2rem; }

/* Contact section */
.home-contact__grid      { display: grid; grid-template-columns: 1fr; gap: clamp(2.2rem, 6vw, 5rem); align-items: start; }
.home-contact__title     { margin-bottom: 1.6rem; font-family: var(--font-heading); font-size: clamp(2.2rem, 4.6vw, 4rem); font-weight: 300; line-height: 1.05; letter-spacing: 0.02em; }
.home-contact__title em  { color: var(--accent); font-style: italic; }
.home-contact__rule      { margin: 0 0 2rem; }
.home-contact__details   { display: grid; gap: 1.2rem; }
.home-contact__whatsapp  { margin-top: 0.3rem; width: fit-content; max-width: 100%; }
.home-contact__submit    { width: 100%; text-align: center; }
.home-contact__success   { text-align: center; padding: 3rem 1.25rem; }
.home-contact__success-mark  { width: 2.8rem; height: 2.8rem; margin: 0 auto 1rem; border: 1px solid var(--accent); border-radius: 999px; display: flex; align-items: center; justify-content: center; }
.home-contact__success-title { font-size: 1.45rem; margin-bottom: 0.4rem; }
.home-contact__success-copy  { color: var(--soft-gray); }

/* ─────────────────────────────────────────────────────────
   23. MEDIA QUERIES — mobile-first, ordered small → large
───────────────────────────────────────────────────────── */

/* ── ≤479px : Smallest phones ── */
@media (max-width: 479.98px) {
  .nav-container { width: min(100% - (var(--site-gutter-tight) * 2), var(--site-max-width)); }
  #nav-logo { letter-spacing: 0.10em; }
  .footer-inner { width: min(100% - (var(--site-gutter-tight) * 2), var(--site-content-width)); }
  .footer-newsletter-form { gap: 0.625rem; }
  .footer-newsletter-input { font-size: 0.72rem; letter-spacing: 0.14em; }
  #hero-actions { flex-direction: column; align-items: center; }
  .home-page #hero-brand { font-size: clamp(3.4rem, 18vw, 4.5rem); }
  .home-page #hero-sub   { font-size: 0.72rem; }
  .home-page .cat-btn    { padding-inline: 0.95rem; letter-spacing: 0.18em; }
  .home-product-grid     { grid-template-columns: 1fr; }
  .lookbook-grid         { grid-template-columns: 1fr; }
  .lookbook-card__label  { opacity: 1; transform: translateY(0); }  /* always visible on very small screens */
  .related-products__grid { grid-template-columns: 1fr; max-width: 300px; margin: 0 auto; }
  .footer-bottom         { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .story__stats          { gap: 1.5rem; }
}

/* ── ≤767px : Mobile ── */
@media (max-width: 767.98px) {
  body.has-solid-nav { padding-top: calc(var(--nav-height) - 0.125rem); }

  .nav-container { column-gap: 0.5rem; }
  .nav-right     { gap: 0.125rem; }
  .nav-icon-tooltip { display: none; }

  #nav-sidebar   { width: min(100vw, 24rem); }
  .sidebar-link  { width: 100%; }
  .sidebar-link::before { display: none; } /* gold line not needed on mobile */

  .container--story  { grid-template-columns: 1fr; }
  .story__visual     { order: 2; }
  .story__content    { order: 1; }
  .story__accent-card { right: 0; }

  .editorial__inner  { grid-template-columns: 1fr; }
  .editorial__visual { justify-content: flex-start; }
  .editorial__frame  { width: min(300px, 60vw); }
  .editorial__title  { font-size: clamp(3.5rem, 12vw, 6rem); }

  .section-header    { grid-template-columns: auto 1fr; grid-template-rows: auto auto; }
  .section-header__link { grid-column: 1 / -1; justify-self: end; }

  .newsletter__form  { flex-direction: column; max-width: 340px; }
  .newsletter__btn   { height: 50px; justify-content: center; }

  #qv-modal          { grid-template-columns: 1fr; }
  #qv-img-wrap       { display: none; }
  #qv-body           { padding: 36px 28px; }

  .c-tl { top: 16px; left: 16px; }
  .c-tr { top: 16px; right: 16px; }
  .c-bl { bottom: 16px; left: 16px; }
  .c-br { bottom: 16px; right: 16px; }

  /* Footer mobile */
  .footer-nav        { flex-direction: column; gap: 0; }
  .footer-nav .footer-title { margin-bottom: 22px; }
  .footer-nav a      { min-height: 36px; }
  .footer-newsletter-form { max-width: 100%; }

  /* Homepage mobile */
  .home-page #hero   { min-height: max(34rem, calc(var(--app-height) - var(--nav-height))); }
  .home-page #hero-content  { justify-items: center; text-align: center; align-content: end; }
  .home-page #hero-sub      { max-width: 22rem; letter-spacing: 0.18em; }
  .home-hero__actions,
  .home-page #hero-actions  { width: 100%; flex-direction: column; gap: 0.75rem; }
  .home-page .btn-ghost,
  .home-page .btn-dark      { width: min(100%, 20rem); text-align: center; }
  .home-page .marquee-track { gap: 1.25rem; }
  .home-collection,
  .home-lookbook,
  .home-contact     { padding-block: 4rem; }

  .related-products__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .auth-container { grid-template-columns: 1fr; }
  .auth-visual    { display: none; }
}

/* ── Landscape mobile ── */
@media (max-width: 767.98px) and (orientation: landscape) {
  #hero,
  .home-page #hero { min-height: 100vw; }
  .home-page #hero-content { padding-block: calc(var(--nav-height) + 1.5rem) 2rem; }
}

/* ── ≥480px ── */
@media (min-width: 480px) {
  .home-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lookbook-grid     { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lookbook-card--feature,
  .lb-skeleton--feature { grid-column: 1 / -1; }
}

/* ── ≥768px : Tablet ── */
@media (min-width: 768px) {
  .footer-container  { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .footer-bottom     { flex-direction: row; justify-content: flex-start; align-items: flex-start; }

  .home-page #hero-content { align-items: end; }
  .home-product-grid       { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-contact__grid      { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
}

/* ── ≥1024px : Desktop ── */
@media (min-width: 1024px) {
  .footer-container   { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 0.8fr); }

  .home-page #hero-content { padding-bottom: clamp(4rem, 7vw, 6rem); }
  .home-product-grid       { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .lookbook-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lookbook-card--feature,
  .lb-skeleton--feature  { grid-column: span 7; grid-row: span 2; }
  .lookbook-card--stack,
  .lb-skeleton--stack    { grid-column: span 5; }
  .lookbook-card--portrait,
  .lb-skeleton--portrait { grid-column: span 4; }
}

/* ── Touch / no-hover devices ── */
@media (hover: none) {
  /* Remove hover transforms to prevent stuck states */
  .nav-hamburger-btn:hover,
  .nav-icon-btn:hover,
  .footer-newsletter-btn:hover,
  .footer-social a:hover,
  .footer-nav a:hover,
  .footer-links a:hover,
  .sidebar-link:hover { transform: none; }

  /* Always show product CTA on touch (no hover available) */
  .product-card__cta { opacity: 1; pointer-events: auto; transform: translateY(0); }

  /* Always show lookbook label on touch */
  .lookbook-card__label { opacity: 1; transform: translateY(0); }
}

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

@media (max-width: 768px) {

  #nav-sidebar {
    gap: 1.5rem;
  }

  .sidebar-nav {
    gap: 0.15rem;
  }

  .sidebar-footer {
    margin-top: 1.5rem;
    padding-top: 0.75rem;
  }

}

#hero .btn-ghost {
  min-width: 220px;

  height: 62px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 32px;

  font-size: 0.72rem;

  letter-spacing: 0.28em;

  border: 1px solid rgba(255,255,255,0.18);

  background: rgba(0,0,0,0.12);

  backdrop-filter: blur(2px);

  transition:
    all 0.45s var(--ease-luxury);
}

#hero .btn-ghost:hover {
  border-color: rgba(184,151,90,0.7);

  background: rgba(184,151,90,0.14);

  transform: translateY(-2px);
}

/* =========================================
   LEGAL PAGE LIST
========================================= */

.legal-panel ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 1rem 0;
}

.legal-panel li {
  display: list-item;
  margin-bottom: 0.65rem;
}

/* LINKS PAGE */
.nav.nav--minimal {
  background: rgba(5, 5, 5, 0.92);
  border-bottom: 1px solid rgba(245, 242, 238, 0.08);
}

.nav.nav--minimal .nav-container {
  justify-content: center;
}

.nav.nav--minimal .nav-left,
.nav.nav--minimal .nav-right {
  flex: 0 0 0;
}

.nav.nav--minimal .nav-center {
  flex: 1 1 auto;
}

.nav.nav--minimal #nav-logo {
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.45rem);
  letter-spacing: 0.12em;
}

.links-page {
  background: #050505;
  color: rgba(245, 242, 238, 0.9);
  padding: calc(var(--nav-height) + 2.5rem) 0 4rem;
}

.links-shell {
  width: min(100% - (var(--site-gutter) * 2), 880px);
  margin: 0 auto;
}

.links-hero,
.links-primary,
.links-utility,
.links-visual,
.links-story {
  padding: clamp(1.5rem, 3vw, 2.75rem) 0;
}

.links-kicker,
.links-section-label {
  color: rgba(245, 242, 238, 0.42);
  letter-spacing: 0.34em;
}

.links-title {
  max-width: 11ch;
  color: var(--white);
  font-size: clamp(2.75rem, 8vw, 6.25rem);
  line-height: 0.96;
  letter-spacing: 0.02em;
  margin-top: 0.35rem;
}

.links-intro,
.links-story-copy {
  max-width: 38rem;
  color: rgba(245, 242, 238, 0.68);
  font-size: clamp(0.98rem, 0.92rem + 0.24vw, 1.08rem);
  line-height: 1.9;
  margin-top: 1.25rem;
}

.links-section-head {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.2rem;
}

.links-section-title {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.35rem);
  font-weight: 300;
  letter-spacing: 0.03em;
}

.links-cta-grid {
  display: grid;
  gap: 1rem;
}

.links-card,
.links-utility-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(245, 242, 238, 0.12);
  background: rgba(255, 255, 255, 0.02);
  color: var(--white);
  transition:
    transform var(--dur-fast) var(--ease-luxury),
    border-color var(--dur-fast) var(--ease-luxury),
    background var(--dur-fast) var(--ease-luxury);
}

.links-card {
  padding: 1.2rem 1.25rem;
}

.links-card--primary {
  background: rgba(255, 255, 255, 0.04);
}

.links-card:hover,
.links-utility-item:hover {
  transform: translateY(-1px);
  border-color: rgba(245, 242, 238, 0.24);
  background: rgba(255, 255, 255, 0.05);
}

.links-card-label,
.links-utility-item {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.links-card-arrow {
  color: rgba(245, 242, 238, 0.64);
  font-size: 1rem;
}

.links-utility-list {
  display: grid;
  gap: 0.75rem;
}

.links-utility-item {
  padding: 1rem 1.1rem;
}

.links-shell--visual {
  display: grid;
  gap: 1rem;
}

.links-visual-frame,
.links-visual-placeholder {
  min-height: clamp(360px, 62vw, 640px);
  border: 1px solid rgba(245, 242, 238, 0.08);
  background: #0b0b0b;
  overflow: hidden;
}

.links-visual-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0) contrast(1.04) brightness(0.9);
}

.links-visual-placeholder {
  display: grid;
  place-items: center;
}

.links-visual-placeholder-mark {
  color: rgba(245, 242, 238, 0.22);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 7vw, 4.5rem);
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.links-shell--story {
  border-top: 1px solid rgba(245, 242, 238, 0.08);
  padding-top: 2rem;
}

.links-micro-footer {
  background: #050505;
  border-top: 1px solid rgba(245, 242, 238, 0.08);
  padding: 1.25rem 0 2rem;
}

.links-micro-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(245, 242, 238, 0.58);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.links-micro-footer__inner a {
  transition: color var(--dur-fast) var(--ease-luxury);
}

.links-micro-footer__inner a:hover {
  color: var(--white);
}

@media (min-width: 768px) {
  .links-cta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .links-page {
    padding-top: calc(var(--nav-height) + 1.5rem);
  }

  .links-micro-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
