/* ===================================================================
   K R Exports  —  Main Stylesheet (v2 - Portfolio Editorial)
   Luxury hybrid of Suncity (Poppins/charcoal) + Prince Art (gold/serif) aesthetic.
   PHP 5.4 / plain CSS (no Tailwind, no build step)
   =================================================================== */

/* ----------------------------------------------------------------- *
 * 1. ROOT TOKENS  (palette, fonts, spacing scale)
 * ----------------------------------------------------------------- */
:root {
  /* Brand palette */
  --bg-cream:        #f6f1e7;   /* page background, warm artisanal */
  --bg-cream-deep:   #ede3d0;  /* slightly darker cream */
  --surface:         #ffffff;  /* cards */
  --ink:             #2a2417;  /* primary text, dark charcoal */
  --ink-soft:        #5a4f3c;  /* secondary text */
  --ink-muted:       #8c7e5f;  /* tertiary / meta text */
  --gold:            #a0822f;  /* antique brass - brand accent */
  --gold-dark:       #7d6326;  /* hover / pressed */
  --gold-soft:       #c8a96a;  /* secondary accent */
  --gold-tint:       #f0e3c2;  /* very light gold wash */
  --line:            #e0d6bf;  /* hairline dividers */
  --line-soft:       #ece3cd;
  --dark-bg:         #1c1810;  /* top bar + footer dark */
  --dark-surface:    #251f15;
  --dark-ink:        #f5ead2;  /* text on dark */
  --dark-ink-muted:  #b3a685;
  --white:           #ffffff;
  --danger:          #b03020;
  --success:         #2e7a3f;

  /* Typography */
  --font-serif:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:   'Poppins', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Sizing — 95% width */
  --container:   95%;
  --container-max: 1600px;
  --gutter:      32px;
  --radius-sm:   4px;
  --radius:      8px;
  --radius-lg:   14px;
  --shadow-sm:   0 2px 8px rgba(42, 36, 23, .04);
  --shadow:      0 8px 28px rgba(42, 36, 23, .08);
  --shadow-lg:   0 18px 48px rgba(42, 36, 23, .14);
  --ease:        cubic-bezier(.22,.61,.36,1);
}

/* ----------------------------------------------------------------- *
 * 2. RESET  (compact modern reset)
 * ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dark); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--gold); }
button { font-family: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-serif); font-weight: 600; color: var(--ink); margin: 0 0 .35em; line-height: 1.18; letter-spacing: -.005em; }
h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }

/* ----------------------------------------------------------------- *
 * 3. LAYOUT  (95% width containers)
 * ----------------------------------------------------------------- */
.container {
  width: var(--container);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 100px 0; }
.bg-cream { background: var(--bg-cream); }
.bg-white { background: var(--surface); }
.bg-dark  { background: var(--dark-bg); color: var(--dark-ink); }
.bg-gold-tint { background: var(--gold-tint); }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-muted { color: var(--ink-muted); }
.text-soft { color: var(--ink-soft); }
.hidden { display: none !important; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center { display: flex; align-items: center; }
.flex-gap-sm { gap: 12px; }
.flex-gap { gap: 20px; }
.flex-wrap { flex-wrap: wrap; }
.mt-0 { margin-top: 0; }
.mt-sm { margin-top: 12px; }
.mt { margin-top: 24px; }
.mt-lg { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }

/* ----------------------------------------------------------------- *
 * 4. TOP UTILITY BAR  (light, slim — was dark, now light)
 * ----------------------------------------------------------------- */
.topbar {
  background: var(--bg-cream-deep);
  color: var(--ink-soft);
  font-size: 13px;
  letter-spacing: .03em;
  border-bottom: 1px solid var(--line);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 40px;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 18px;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar a { color: var(--ink-soft); opacity: .82; transition: opacity .2s, color .2s; }
.topbar a:hover { color: var(--gold-dark); opacity: 1; }
.topbar .icon { display: inline-flex; align-items: center; gap: 8px; }
.topbar .icon svg { width: 14px; height: 14px; fill: currentColor; }
.topbar .social { display: inline-flex; gap: 14px; }
.topbar .social a { display: inline-flex; }
.topbar .social svg { width: 16px; height: 16px; }
.topbar .sep { color: var(--ink-muted); }

/* ----------------------------------------------------------------- *
 * 5. HEADER  (sticky, white, 95% width)
 * ----------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}
.site-header.is-stuck {
  box-shadow: var(--shadow-sm);
}
.header-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 18px 0;
}

/* Logo */
.brand { display: inline-flex; flex-direction: column; text-decoration: none; color: inherit; }
.brand .brand-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: .04em;
  color: var(--ink);
  line-height: 1;
}
.brand .brand-name .accent { color: var(--gold); }
.brand .brand-sub {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 6px;
}

/* Primary nav */
.main-nav { display: flex; justify-content: center; align-items: center; gap: 4px; }
.main-nav a {
  display: inline-block;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  transition: color .2s var(--ease);
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 18px; right: 18px;
  bottom: 6px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .3s var(--ease);
}
.main-nav a:hover { color: var(--gold); }
.main-nav a:hover::after,
.main-nav a.is-active::after { transform: scaleX(1); }
.main-nav a.is-active { color: var(--gold); }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid transparent;
  color: var(--ink);
  transition: background .2s, color .2s, border-color .2s;
  position: relative;
}
.icon-btn:hover { background: var(--gold-tint); color: var(--gold-dark); border-color: var(--line); }
.icon-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.icon-btn .badge {
  position: absolute;
  top: 4px; right: 4px;
  min-width: 17px; height: 17px;
  background: var(--gold);
  color: var(--white);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}
.header-user {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--gold-tint);
  font-size: 13px;
  font-weight: 500;
  color: var(--gold-dark);
}
.header-user a { color: var(--gold-dark); font-weight: 600; }
.header-user a:hover { color: var(--gold); }
.header-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: var(--gold);
  color: var(--white);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background .2s, transform .15s;
}
.header-cta:hover { background: var(--gold-dark); color: var(--white); transform: translateY(-1px); }

/* Mobile menu toggle */
.menu-toggle { display: none; }

/* ----------------------------------------------------------------- *
 * 6. HERO SLIDER  (full-bleed cinematic, multi-slide)
 * ----------------------------------------------------------------- */
.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--dark-bg);
}
.hero-slides {
  position: relative;
  width: 100%;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s var(--ease);
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}
.hero-slide .slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.62);
}
.hero-slide .slide-overlay {
  position: relative;
  z-index: 2;
  padding: 130px 0 110px;
  color: var(--white);
}
.hero-slide .slide-inner {
  width: var(--container);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.hero-slide .eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 22px;
  font-weight: 500;
}
.hero-slide h1 {
  color: var(--white);
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -.01em;
  margin: 0 0 24px;
  max-width: 820px;
}
.hero-slide h1 em {
  font-style: italic;
  color: var(--gold-soft);
}
.hero-slide .lead {
  font-size: 17px;
  max-width: 580px;
  color: rgba(245, 234, 210, .85);
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero-slide .hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Slider controls */
.hero-arrows {
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
  z-index: 10;
  pointer-events: none;
}
.hero-arrow {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.35);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.hero-arrow:hover { background: var(--gold); border-color: var(--gold); transform: scale(1.08); }
.hero-arrow svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; }

.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.hero-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}
.hero-dot.is-active { background: var(--gold); transform: scale(1.3); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s, border-color .25s, transform .15s;
  font-family: var(--font-sans);
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: var(--white); }
.btn-primary:hover { background: var(--gold-dark); color: var(--white); }
.btn-outline-gold { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-outline-gold:hover { background: var(--gold); color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.btn-outline-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-block { display: flex; width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 11px; }
.btn-lg { padding: 18px 36px; font-size: 14px; }

/* ----------------------------------------------------------------- *
 * 7. SECTION HEADER (eyebrow + title + divider)
 * ----------------------------------------------------------------- */
.section-header { text-align: center; margin-bottom: 50px; }
.section-header .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-header h2 {
  font-weight: 400;
  margin: 0 0 16px;
}
.section-header .lede {
  max-width: 640px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 16px;
}
.section-header .divider {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}
.section-header .divider::before,
.section-header .divider::after {
  content: '';
  width: 36px; height: 1px;
  background: var(--gold);
  display: block;
}

/* Left-aligned variant */
.section-header.left { text-align: left; }
.section-header.left .lede { margin-left: 0; }
.section-header.left .divider { margin-left: 0; }

/* ----------------------------------------------------------------- *
 * 8. STATS + IMAGE GRID  (MODERN — overlapping, asymmetric, layered)
 * ----------------------------------------------------------------- */
.stats-gallery {
  padding: 120px 0 100px;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.stats-gallery::before {
  /* subtle gold accent shape top-right */
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, var(--gold-tint) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.stats-gallery .grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.stats-gallery .text-side {
  position: relative;
}
.stats-gallery .text-side .eyebrow-line {
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.stats-gallery .text-side .eyebrow-line::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.stats-gallery .text-side h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  line-height: 1.1;
  margin: 0 0 28px;
  color: var(--ink);
  letter-spacing: -.015em;
}
.stats-gallery .text-side h2 em {
  font-style: italic;
  color: var(--gold-dark);
  font-weight: 500;
}
.stats-gallery .text-side .desc {
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 18px;
  max-width: 480px;
  /* NOT justified — left-aligned for modern readability */
}
.stats-gallery .stats-row {
  display: flex;
  gap: 56px;
  padding-top: 36px;
  margin-top: 12px;
  border-top: 1px solid var(--line);
  position: relative;
}
.stats-gallery .stats-row::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 64px;
  height: 2px;
  background: var(--gold);
}
.stats-gallery .stat .stat-num {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 4.5vw, 3.8rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  letter-spacing: -.02em;
}
.stats-gallery .stat .stat-num .suffix {
  font-size: 0.45em;
  color: var(--gold);
  margin-left: 4px;
  font-weight: 500;
}
.stats-gallery .stat .stat-label {
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
}

/* Modern asymmetric image collage (overlapping cards) */
.stats-gallery .image-collage {
  position: relative;
  height: 540px;
}
.stats-gallery .ic-item {
  position: absolute;
  overflow: hidden;
  border-radius: 6px;
  background: var(--bg-cream-deep);
  box-shadow: 0 12px 36px rgba(42, 36, 23, .14);
  transition: transform .5s var(--ease), box-shadow .5s;
}
.stats-gallery .ic-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.stats-gallery .ic-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(42, 36, 23, .2);
  z-index: 10;
}
.stats-gallery .ic-item:hover img { transform: scale(1.05); }
.stats-gallery .ic-item::after {
  /* subtle dark gradient at bottom for depth */
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(28,24,16,.15) 100%);
  pointer-events: none;
}
/* Layout positions — overlapping, magazine-style */
.stats-gallery .ic-1 {
  top: 0;
  left: 0;
  width: 62%;
  height: 60%;
  z-index: 3;
}
.stats-gallery .ic-2 {
  top: 18%;
  right: 0;
  width: 42%;
  height: 50%;
  z-index: 4;
}
.stats-gallery .ic-3 {
  bottom: 0;
  left: 8%;
  width: 38%;
  height: 42%;
  z-index: 5;
}
.stats-gallery .ic-4 {
  bottom: 8%;
  right: 6%;
  width: 32%;
  height: 36%;
  z-index: 4;
}
/* Decorative gold accent dot */
.stats-gallery .image-collage::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -10px;
  width: 14px;
  height: 14px;
  background: var(--gold);
  border-radius: 50%;
  z-index: 6;
  box-shadow: 0 4px 12px rgba(160, 130, 47, .4);
}

/* ----------------------------------------------------------------- *
 * 9. PORTFOLIO  (MODERN — section-wise alternating image + content)
 * ----------------------------------------------------------------- */
.portfolio-section {
  padding: 100px 0;
  background: var(--bg-cream);
  position: relative;
}
.portfolio-section .pf-header {
  text-align: center;
  margin-bottom: 70px;
}
.portfolio-section .pf-header .eyebrow {
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.portfolio-section .pf-header .eyebrow::before,
.portfolio-section .pf-header .eyebrow::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.portfolio-section .pf-header h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 3rem);
  margin: 0 0 16px;
  letter-spacing: -.015em;
}
.portfolio-section .pf-header h2 em {
  font-style: italic;
  color: var(--gold-dark);
  font-weight: 500;
}
.portfolio-section .pf-header .lede {
  max-width: 560px;
  margin: 0 auto;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* Section-wise portfolio block (image + content side-by-side) */
.pf-block {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 50px 0;
  border-bottom: 1px solid var(--line);
}
.pf-block:last-of-type { border-bottom: 0; }
.pf-block.reverse {
  direction: rtl;
}
.pf-block.reverse > * { direction: ltr; }

.pf-block .pf-image {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 16px 40px rgba(42, 36, 23, .14);
}
.pf-block .pf-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.pf-block:hover .pf-image img { transform: scale(1.04); }
.pf-block .pf-image-num {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(28,24,16,.7);
  backdrop-filter: blur(6px);
  color: var(--gold-soft);
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: .1em;
}

.pf-block .pf-content .pf-cat {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.pf-block .pf-content .pf-cat::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.pf-block .pf-content h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0 0 18px;
  line-height: 1.15;
  letter-spacing: -.015em;
  color: var(--ink);
}
.pf-block .pf-content h3 em {
  font-style: italic;
  color: var(--gold-dark);
  font-weight: 500;
}
.pf-block .pf-content .pf-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--gold-dark);
  margin: 0 0 18px;
  font-weight: 400;
}
.pf-block .pf-content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0 0 16px;
}
.pf-block .pf-content .pf-meta {
  display: flex;
  gap: 32px;
  margin: 24px 0 28px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pf-block .pf-content .pf-meta-item .pf-meta-label {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 4px;
}
.pf-block .pf-content .pf-meta-item .pf-meta-value {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.pf-block .pf-content .pf-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  border-bottom: 1px solid var(--gold-dark);
  padding-bottom: 4px;
  transition: gap .25s, color .25s;
}
.pf-block .pf-content .pf-cta:hover { gap: 12px; color: var(--gold); }
.pf-block .pf-content .pf-cta::after { content: '→'; }

/* ----------------------------------------------------------------- *
 * 10. ABOUT / STORY PAGE  (modern image-rich layout)
 * ----------------------------------------------------------------- */
.story-hero {
  position: relative;
  height: 60vh;
  min-height: 420px;
  overflow: hidden;
  background: var(--dark-bg);
}
.story-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.6);
}
.story-hero .story-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
}
.story-hero .story-hero-overlay .eyebrow {
  font-size: 12px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 500;
  margin-bottom: 18px;
  display: block;
}
.story-hero h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin: 0 0 16px;
  color: var(--white);
  letter-spacing: -.015em;
  max-width: 760px;
  line-height: 1.1;
}
.story-hero h1 em {
  font-style: italic;
  color: var(--gold-soft);
}
.story-hero .story-hero-sub {
  font-size: 16px;
  color: rgba(245, 234, 210, .8);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Story blocks (alternating image left/right) */
.story-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
}
.story-block.reverse {
  direction: rtl;
}
.story-block.reverse > * { direction: ltr; }
.story-block .sb-image {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4/4;
  box-shadow: 0 16px 40px rgba(42, 36, 23, .14);
}
.story-block .sb-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.story-block:hover .sb-image img { transform: scale(1.04); }
.story-block .sb-image .sb-image-accent {
  position: absolute;
  bottom: -16px;
  left: -16px;
  background: var(--surface);
  padding: 18px 24px;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(42, 36, 23, .12);
  display: flex;
  align-items: center;
  gap: 14px;
}
.story-block .sb-image-accent .ic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-tint);
  display: flex;
  align-items: center;
  justify-content: center;
}
.story-block .sb-image-accent .ic svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold-dark);
  fill: none;
  stroke-width: 1.7;
}
.story-block .sb-image-accent .lbl {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.story-block .sb-image-accent .val {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}
.story-block .sb-text .eyebrow {
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.story-block .sb-text .eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.story-block .sb-text h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0 0 22px;
  line-height: 1.15;
  letter-spacing: -.015em;
}
.story-block .sb-text h2 em {
  font-style: italic;
  color: var(--gold-dark);
  font-weight: 500;
}
.story-block .sb-text p {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0 0 16px;
}
.story-block .sb-text .sb-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.story-block .sb-text .sb-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.story-block .sb-text .sb-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 9px;
  flex-shrink: 0;
}

/* Story stats strip (within about page) */
.story-stats {
  background: var(--dark-bg);
  color: var(--dark-ink);
  padding: 80px 0;
}
.story-stats .ss-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.story-stats .ss-item .ss-num {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--gold-soft);
  line-height: 1;
  letter-spacing: -.02em;
}
.story-stats .ss-item .ss-num .suffix {
  font-size: 0.5em;
  color: var(--gold);
}
.story-stats .ss-item .ss-label {
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(245, 234, 210, .65);
}

/* Story quote */
.story-quote {
  padding: 90px 0;
  text-align: center;
  background: var(--bg-cream);
}
.story-quote blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.4;
  color: var(--ink);
  max-width: 880px;
  margin: 0 auto;
  font-weight: 400;
  position: relative;
}
.story-quote blockquote::before {
  content: '"';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 100px;
  color: var(--gold);
  line-height: 1;
  font-family: var(--font-serif);
  opacity: .25;
}
.story-quote .cite {
  margin-top: 32px;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
}
.story-quote .cite strong { color: var(--gold-dark); }

/* ----------------------------------------------------------------- *
 * 9. PORTFOLIO GRID  (home page featured work — editorial layout)
 * ----------------------------------------------------------------- */
.portfolio-section { padding: 90px 0; background: var(--bg-cream); }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 180px;
  gap: 18px;
}
.pf-item {
  position: relative;
  overflow: hidden;
  background: var(--dark-bg);
  border-radius: 2px;
  text-decoration: none;
  display: block;
}
.pf-item img, .pf-item .ph {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.pf-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(28,24,16,.75) 100%);
  transition: background .3s;
}
.pf-item:hover img { transform: scale(1.05); }
.pf-item .pf-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 24px 22px;
  color: var(--white);
  transform: translateY(8px);
  opacity: .9;
  transition: transform .35s var(--ease), opacity .35s;
}
.pf-item:hover .pf-body { transform: translateY(0); opacity: 1; }
.pf-item .pf-cat {
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 6px;
}
.pf-item .pf-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  line-height: 1.2;
}
.pf-item .pf-link {
  font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-soft);
  margin-top: 10px;
  display: inline-flex; gap: 6px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s, transform .3s;
}
.pf-item:hover .pf-link { opacity: 1; transform: translateY(0); }

/* Asymmetric grid spans */
.pf-item.span-2x2 { grid-column: span 2; grid-row: span 2; }
.pf-item.span-3x2 { grid-column: span 3; grid-row: span 2; }
.pf-item.span-2x1 { grid-column: span 2; grid-row: span 1; }
.pf-item.span-1x2 { grid-column: span 1; grid-row: span 2; }
.pf-item.span-3x1 { grid-column: span 3; grid-row: span 1; }

/* ----------------------------------------------------------------- *
 * 10. CATEGORIES GRID (used in shop sidebar + lookbook)
 * ----------------------------------------------------------------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.cat-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--dark-bg);
  color: var(--white);
  text-decoration: none;
}
.cat-card img, .cat-card .ph {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.cat-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.55) 75%);
}
.cat-card:hover img { transform: scale(1.06); }
.cat-card .cat-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 24px 22px;
  color: var(--white);
}
.cat-card .cat-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 4px;
}
.cat-card .cat-sub {
  font-size: 13px;
  color: rgba(255,255,255,.78);
  margin: 0 0 14px;
}
.cat-card .cat-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.cat-card .cat-link::after { content: '→'; transition: transform .25s; }
.cat-card:hover .cat-link::after { transform: translateX(4px); }

/* ----------------------------------------------------------------- *
 * 11. PRODUCTS GRID (used on shop / product pages)
 * ----------------------------------------------------------------- */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.prod-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.prod-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.prod-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s;
  display: flex;
  flex-direction: column;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.prod-card .thumb {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-cream-deep);
}
.prod-card .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.prod-card:hover .thumb img { transform: scale(1.05); }
.prod-card .badges {
  position: absolute; top: 12px; left: 12px;
  display: flex; flex-direction: column; gap: 6px;
  z-index: 2;
}
.prod-card .badge-new, .prod-card .badge-feat {
  font-size: 9.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 2px;
}
.prod-card .badge-new { background: var(--ink); color: var(--white); }
.prod-card .badge-feat { background: var(--gold); color: var(--white); }
.prod-card .actions {
  position: absolute;
  bottom: 12px; right: 12px;
  display: flex; gap: 8px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s, transform .3s;
}
.prod-card:hover .actions { opacity: 1; transform: translateY(0); }
.prod-card .quick {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
.prod-card .quick:hover { background: var(--gold); color: var(--white); }
.prod-card .quick svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.prod-card .body { padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.prod-card .cat-tag {
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-muted);
}
.prod-card .name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin: 4px 0 6px;
  line-height: 1.3;
}
.prod-card .name a { color: inherit; }
.prod-card .name a:hover { color: var(--gold); }
.prod-card .desc {
  font-size: 13px; color: var(--ink-soft); line-height: 1.55;
  margin: 0 0 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.prod-card .meta {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
}
.prod-card .price { font-size: 16px; font-weight: 600; color: var(--ink); font-family: var(--font-serif); }
.prod-card .price small { font-size: 11px; color: var(--ink-muted); font-weight: 400; display: block; }
.prod-card .view-link {
  font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold);
}
.prod-card .view-link:hover { color: var(--gold-dark); }

/* Lock badge for non-featured, login-gated items */
.prod-card .lock-ribbon {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--dark-bg);
  color: var(--gold-soft);
  font-size: 10px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 2px;
  z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
}
.prod-card .lock-ribbon svg { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ----------------------------------------------------------------- *
 * 12. BRAND STATS STRIP  (dark) — kept for reference; homepage uses
 *     the new .stats-gallery section instead. But still useful for
 *     shop/about pages.
 * ----------------------------------------------------------------- */
.stats-strip {
  background: var(--dark-bg);
  color: var(--dark-ink);
  padding: 64px 0;
  text-align: center;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.stat .stat-num {
  font-family: var(--font-serif);
  font-size: 46px;
  font-weight: 700;
  color: var(--gold-soft);
  line-height: 1;
}
.stat .stat-num span { font-size: 26px; color: var(--gold-soft); vertical-align: top; margin-left: 2px; }
.stat .stat-label {
  margin-top: 10px;
  font-size: 11.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(245, 234, 210, .65);
}

/* ----------------------------------------------------------------- *
 * 13. LOGIN CTA BANNER (gold-tinted)
 * ----------------------------------------------------------------- */
.login-cta {
  background: linear-gradient(135deg, var(--gold-tint) 0%, var(--bg-cream) 100%);
  padding: 64px 0;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.login-cta h2 {
  font-weight: 400;
  margin: 0 0 14px;
}
.login-cta .lede {
  max-width: 620px;
  margin: 0 auto 28px;
  color: var(--ink-soft);
  font-size: 16px;
}
.login-cta .btns { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ----------------------------------------------------------------- *
 * 14. INSTAGRAM STRIP
 * ----------------------------------------------------------------- */
.insta-strip { padding: 64px 0; }
.insta-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-bottom: 30px;
}
.insta-grid a {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--dark-bg);
}
.insta-grid a img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .3s; }
.insta-grid a::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(160, 130, 47, .0);
  transition: background .3s;
}
.insta-grid a:hover::after { background: rgba(160, 130, 47, .35); }
.insta-grid a:hover img { transform: scale(1.08); }

/* ----------------------------------------------------------------- *
 * 15. FOOTER  (LIGHT background — was dark, now cream)
 * ----------------------------------------------------------------- */
.site-footer {
  background: var(--bg-cream-deep);
  color: var(--ink-soft);
  padding: 64px 0 0;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.footer-col h5 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 0 0 20px;
}
.footer-col p { font-size: 14px; line-height: 1.7; color: var(--ink-soft); margin: 0 0 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: var(--ink-soft); font-size: 14px; transition: color .2s; }
.footer-col a:hover { color: var(--gold-dark); }
.footer-contact li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 14px; color: var(--ink-soft);
  margin-bottom: 14px;
}
.footer-contact li svg { width: 14px; height: 14px; margin-top: 4px; stroke: var(--gold); fill: none; stroke-width: 1.8; flex-shrink: 0; }

.footer-brand { display: inline-flex; flex-direction: column; margin-bottom: 18px; }
.footer-brand .brand-name { color: var(--ink); font-family: var(--font-serif); font-size: 26px; font-weight: 700; letter-spacing: .04em; }
.footer-brand .brand-name .accent { color: var(--gold); }
.footer-brand .brand-sub { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-muted); margin-top: 4px; }

.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gold-tint);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s;
}
.footer-social a:hover { background: var(--gold); transform: translateY(-2px); }
.footer-social a svg { width: 16px; height: 16px; stroke: var(--gold-dark); fill: none; stroke-width: 1.7; }
.footer-social a:hover svg { stroke: var(--white); }

.footer-bottom {
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 12.5px; color: var(--ink-muted);
}
.footer-bottom a { color: var(--ink-soft); }
.footer-bottom a:hover { color: var(--gold-dark); }

/* ----------------------------------------------------------------- *
 * 16. AUTH PAGES  (login, register)
 * ----------------------------------------------------------------- */
.auth-wrap {
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 20px;
  background:
    linear-gradient(180deg, rgba(28,24,16,.85) 0%, rgba(42,36,23,.78) 100%),
    url('https://z-cdn.chatglm.cn/image-search-mcp/images-ppt/04e8896fcf46.jpg') center/cover;
}
.auth-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 480px;
  width: 100%;
  padding: 44px 40px 36px;
  position: relative;
}
.auth-card.wide { max-width: 720px; }
.auth-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.auth-card .auth-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  font-weight: 500;
}
.auth-card h1 { font-size: 28px; font-weight: 600; margin: 0 0 6px; }
.auth-card .auth-sub { color: var(--ink-soft); font-size: 14px; margin: 0 0 28px; }
.auth-card .form-row { margin-bottom: 18px; }
.auth-card .alt { text-align: center; font-size: 13.5px; color: var(--ink-soft); margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.auth-card .alt a { color: var(--gold); font-weight: 600; }

/* Two-column register */
.register-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.register-grid .full { grid-column: 1 / -1; }

/* ----------------------------------------------------------------- *
 * 17. FORM CONTROLS
 * ----------------------------------------------------------------- */
.field { margin-bottom: 16px; }
.field > label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 7px;
}
.field label .req { color: var(--gold); margin-left: 2px; }
.input, .textarea, .select {
  width: 100%;
  padding: 12px 14px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
  -webkit-appearance: none;
}
.input:focus, .textarea:focus, .select:focus {
  outline: 0;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(160, 130, 47, .15);
}
.textarea { min-height: 110px; resize: vertical; line-height: 1.55; }
.select { background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none' stroke='%238c7e5f' stroke-width='1.6'%3e%3cpath d='M3 5l4 4 4-4'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.help { font-size: 12px; color: var(--ink-muted); margin-top: 6px; }
.field-error { font-size: 12px; color: var(--danger); margin-top: 6px; }

/* Checkbox style */
.check {
  display: inline-flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; color: var(--ink-soft);
  cursor: pointer;
}
.check input { margin-top: 3px; accent-color: var(--gold); }

/* ----------------------------------------------------------------- *
 * 18. ALERTS / FLASH
 * ----------------------------------------------------------------- */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 18px;
  display: flex; align-items: flex-start; gap: 10px;
  border: 1px solid transparent;
}
.alert .alert-icon { flex-shrink: 0; margin-top: 2px; }
.alert-error   { background: #fbeae8; color: var(--danger); border-color: #f3d2cd; }
.alert-success { background: #e8f3ea; color: var(--success); border-color: #c9e3cc; }
.alert-info    { background: var(--gold-tint); color: var(--gold-dark); border-color: var(--gold-soft); }
.alert-warning { background: #fdf6e3; color: #8a6d1b; border-color: #f5e3a0; }

/* ----------------------------------------------------------------- *
 * 19. SHOP PAGE LAYOUT
 * ----------------------------------------------------------------- */
.shop-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
}
.shop-sidebar {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px 20px;
  position: sticky;
  top: 90px;
  box-shadow: var(--shadow-sm);
}
.shop-sidebar h4 {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
}
.shop-sidebar ul li { margin-bottom: 6px; }
.shop-sidebar ul a {
  display: block;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--ink);
  transition: background .2s, color .2s;
}
.shop-sidebar ul a:hover { background: var(--gold-tint); color: var(--gold-dark); }
.shop-sidebar ul a.is-active { background: var(--gold); color: var(--white); font-weight: 500; }

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  padding: 14px 18px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.shop-toolbar .count { font-size: 14px; color: var(--ink-soft); }
.shop-toolbar .count strong { color: var(--ink); }

/* Locked catalog banner */
.locked-banner {
  background: var(--dark-bg);
  color: var(--dark-ink);
  padding: 14px 20px;
  border-radius: var(--radius);
  margin-bottom: 22px;
  display: flex; align-items: center; gap: 14px;
  font-size: 14px;
}
.locked-banner svg { width: 22px; height: 22px; stroke: var(--gold-soft); fill: none; stroke-width: 1.7; flex-shrink: 0; }
.locked-banner a { color: var(--gold-soft); font-weight: 600; text-decoration: underline; }

/* ----------------------------------------------------------------- *
 * 20. PRODUCT DETAIL PAGE
 * ----------------------------------------------------------------- */
.product-detail {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  padding: 48px 0;
}
.gallery-main {
  aspect-ratio: 1;
  background: var(--bg-cream-deep);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.gallery-thumbs button {
  aspect-ratio: 1;
  background: var(--bg-cream-deep);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  padding: 0;
  transition: border-color .2s;
}
.gallery-thumbs button.is-active { border-color: var(--gold); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pd-info .pd-cat {
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-muted); margin-bottom: 8px;
}
.pd-info h1 { font-size: 32px; margin: 0 0 14px; font-weight: 600; }
.pd-info .pd-price {
  font-family: var(--font-serif); font-size: 26px; font-weight: 600; color: var(--gold-dark);
  margin: 0 0 22px;
}
.pd-info .pd-desc { color: var(--ink-soft); line-height: 1.75; margin-bottom: 26px; }
.pd-info .pd-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.pd-info .pd-meta .row .label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 4px; }
.pd-info .pd-meta .row .val { font-size: 14.5px; color: var(--ink); }
.pd-info .pd-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Locked product placeholder */
.locked-product {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  background: var(--dark-bg);
  color: var(--dark-ink);
  border-radius: var(--radius);
  padding: 80px 40px;
}
.locked-product svg { width: 56px; height: 56px; stroke: var(--gold-soft); fill: none; stroke-width: 1.5; margin-bottom: 22px; }
.locked-product h3 { color: var(--white); margin: 0 0 14px; font-weight: 400; }
.locked-product p { color: rgba(245, 234, 210, .7); margin: 0 0 24px; max-width: 380px; }

/* ----------------------------------------------------------------- *
 * 21. PAGE BANNER  (sub-page headers — was dark, now light)
 * ----------------------------------------------------------------- */
.page-banner {
  background: var(--bg-cream-deep);
  color: var(--ink);
  padding: 60px 0 50px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-banner .crumb { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 14px; }
.page-banner .crumb a { color: var(--ink-soft); }
.page-banner .crumb a:hover { color: var(--gold); }
.page-banner h1 { color: var(--ink); font-weight: 400; margin: 0; }
.page-banner p { color: var(--ink-soft); max-width: 600px; margin: 14px auto 0; }

/* ----------------------------------------------------------------- *
 * 22. ABOUT / TEXT PAGES
 * ----------------------------------------------------------------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin-top: 40px; }
.prose p { font-size: 16px; line-height: 1.8; color: var(--ink-soft); }
.prose ul { margin: 16px 0; padding-left: 20px; }
.prose ul li { margin: 6px 0; color: var(--ink-soft); list-style: disc; }
.about-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 40px 0; }
.about-feature { text-align: center; padding: 24px; }
.about-feature .ic { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: var(--gold-tint); display: flex; align-items: center; justify-content: center; }
.about-feature .ic svg { width: 24px; height: 24px; stroke: var(--gold-dark); fill: none; stroke-width: 1.6; }
.about-feature h4 { font-family: var(--font-sans); font-weight: 600; font-size: 15px; margin: 0 0 8px; }
.about-feature p { font-size: 14px; color: var(--ink-soft); margin: 0; line-height: 1.6; }

/* ----------------------------------------------------------------- *
 * 23. CONTACT PAGE
 * ----------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; padding: 60px 0; }
.contact-info h3 { font-size: 22px; margin: 0 0 18px; }
.contact-info .row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.contact-info .row svg { width: 18px; height: 18px; margin-top: 4px; stroke: var(--gold); fill: none; stroke-width: 1.7; flex-shrink: 0; }
.contact-info .row .lbl { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 2px; }
.contact-info .row .val { font-size: 15px; color: var(--ink); line-height: 1.6; }
.contact-form { background: var(--surface); padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* ----------------------------------------------------------------- *
 * 24. UTILITIES & MISC
 * ----------------------------------------------------------------- */
.divider-line { height: 1px; background: var(--line); margin: 32px 0; }
.tag { display: inline-block; padding: 4px 10px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; background: var(--gold-tint); color: var(--gold-dark); border-radius: 2px; }
.tag-dark { background: var(--dark-bg); color: var(--gold-soft); }
.tag-success { background: #e8f3ea; color: var(--success); }
.tag-danger  { background: #fbeae8; color: var(--danger); }
.tag-warning { background: #fdf6e3; color: #8a6d1b; }
.breadcrumb { display: flex; gap: 8px; font-size: 12px; color: var(--ink-muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb .sep { color: var(--ink-muted); }
.text-sm { font-size: 13.5px; }
.text-xs { font-size: 12px; }
.eyebrow-line {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold); font-weight: 500;
}
.eyebrow-line::before, .eyebrow-line::after { content: ''; width: 28px; height: 1px; background: var(--gold); }
.eyebrow-line.no-after::after { display: none; }
.eyebrow-line.no-before::before { display: none; }

/* Empty state */
.empty-state { text-align: center; padding: 80px 20px; }
.empty-state h3 { font-size: 22px; font-weight: 400; margin: 0 0 12px; }
.empty-state p { color: var(--ink-soft); max-width: 420px; margin: 0 auto 22px; }

/* Search bar */
.searchbar { display: none; }

/* ----------------------------------------------------------------- *
 * 25. RESPONSIVE
 * ----------------------------------------------------------------- */
@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stats-gallery .grid { grid-template-columns: 1fr; gap: 50px; }
  .stats-gallery .image-collage { height: 460px; }
  .pf-block { grid-template-columns: 1fr; gap: 36px; padding: 40px 0; }
  .pf-block.reverse { direction: ltr; }
  .pf-block .pf-image { aspect-ratio: 16/9; }
  .story-block { grid-template-columns: 1fr; gap: 40px; padding: 60px 0; }
  .story-block.reverse { direction: ltr; }
  .story-stats .ss-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
}
@media (max-width: 860px) {
  .header-main { grid-template-columns: auto auto; gap: 14px; }
  .main-nav {
    position: fixed; top: 0; right: -100%;
    width: 84%; max-width: 360px; height: 100vh;
    background: var(--surface); flex-direction: column;
    padding: 80px 24px 24px; gap: 0;
    box-shadow: -10px 0 40px rgba(0,0,0,.1);
    transition: right .35s var(--ease); z-index: 80;
    overflow-y: auto;
  }
  .main-nav.is-open { right: 0; }
  .main-nav a { width: 100%; padding: 14px 4px; border-bottom: 1px solid var(--line-soft); }
  .main-nav a::after { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions .desktop-only { display: none; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail { grid-template-columns: 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; }
  .about-features { grid-template-columns: 1fr; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .register-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .hero-slide .slide-overlay { padding: 80px 0 64px; }
  .stats-gallery .stats-row { gap: 32px; flex-wrap: wrap; }
  .stats-gallery { padding: 80px 0; }
  .portfolio-section { padding: 70px 0; }
  .pf-block .pf-content .pf-meta { flex-wrap: wrap; gap: 20px; }
}
@media (max-width: 560px) {
  :root { --gutter: 18px; }
  body { font-size: 15px; }
  .cat-grid { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: 1fr; }
  .topbar .container { flex-direction: column; gap: 6px; align-items: flex-start; }
  .auth-card { padding: 32px 22px 24px; }
  .hero-slide h1 { font-size: 36px; }
  .pd-info .pd-meta { grid-template-columns: 1fr; }
  .pd-info h1 { font-size: 26px; }
  .btn { padding: 12px 22px; font-size: 12px; }
  .stats-gallery .image-collage { height: 380px; }
  .stats-gallery .ic-1 { width: 70% !important; height: 55% !important; }
  .stats-gallery .ic-2 { width: 48% !important; height: 45% !important; top: 20% !important; }
  .stats-gallery .ic-3 { width: 45% !important; height: 40% !important; left: 4% !important; }
  .stats-gallery .ic-4 { width: 38% !important; height: 35% !important; }
  .hero-arrows { padding: 0 12px; }
  .hero-arrow { width: 44px; height: 44px; }
  .story-block { padding: 50px 0; }
  .story-block .sb-image .sb-image-accent { left: 0; bottom: 0; padding: 12px 16px; }
  .story-stats .ss-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .story-hero { height: 50vh; }
  .story-quote { padding: 60px 0; }
  .story-quote blockquote { font-size: 1.4rem; }
  .pf-block { padding: 30px 0; }
  .pf-block .pf-content .pf-meta { gap: 16px; }
}

/* Mobile menu toggle button */
.menu-toggle {
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
}
.menu-toggle svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.nav-backdrop {
  position: fixed; inset: 0;
  background: rgba(28, 24, 16, .35);
  z-index: 70;
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; }

/* ----------------------------------------------------------------- *
 * 26. PRINT
 * ----------------------------------------------------------------- */
@media print {
  .topbar, .site-header, .site-footer, .nav-backdrop, .hero-arrows, .hero-dots { display: none; }
  body { background: #fff; color: #000; }
}
