/* ─────────────────────────────────────────────────────────────── */
/* LANKA TEX — DESIGN SYSTEM                                       */
/* Subtle & refined • Warm ambient atmosphere • Light + Dark        */
/* ─────────────────────────────────────────────────────────────── */

:root {
  /* ── Structural & Neutral ──────────────────────────────────── */
  --color-charcoal:      #1a1a1a;
  --color-warm-gray:     #8a8078;
  
  --color-surface-alt:   #f1e9df; /* Deeper neutral */
  --color-surface-glass: rgba(246, 243, 237, 0.75);
  --color-border:        #e3ddd2;
  --color-border-strong: #d6cebf;

  --color-text-primary:   #1a1a1a;
  --color-text-secondary: #6b6058;
  --color-text-tertiary:  #a89a8a;

  /* Shadows — Adjusted for softer tones */
  --shadow-soft:      0 1px 2px rgba(26, 26, 26, 0.04), 0 4px 16px rgba(26, 26, 26, 0.03);
  --shadow-lifted:    0 2px 4px rgba(26, 26, 26, 0.05), 0 12px 32px rgba(26, 26, 26, 0.06);
  --shadow-glow-soft: 0 0 0 1px rgba(200, 169, 110, 0.15), 0 8px 32px rgba(200, 169, 110, 0.08);
  --shadow-inset-hi:  inset 0 1px 0 rgba(255, 255, 255, 0.4);

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body:    "DM Sans", system-ui, sans-serif;
  --font-mono:    "DM Mono", monospace;

  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 14px;

  color-scheme: light;
}

html.dark {
  /* ── DARK MODE Neutral Adjustments ────────────────────────── */
  --color-charcoal:      #f5f0e8;
  --color-warm-gray:     #a39a8f;

  --color-surface-alt:   #252420;
  --color-surface-glass: rgba(26, 24, 21, 0.72);
  --color-border:        #322e28;
  --color-border-strong: #463f37;

  --color-text-primary:   #f5f0e8;
  --color-text-secondary: #cfc8be;
  --color-text-tertiary:  #968d80;

  --shadow-soft:      0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-lifted:    0 2px 4px rgba(0, 0, 0, 0.5), 0 12px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow-soft: 0 0 0 1px rgba(212, 175, 55, 0.22), 0 8px 32px rgba(212, 175, 55, 0.12);
  --shadow-inset-hi:  inset 0 1px 0 rgba(255, 255, 255, 0.04);

  color-scheme: dark;
}

/* ─────────────────────────────────────────────────────────────── */
/* BASE                                                            */
/* ─────────────────────────────────────────────────────────────── */

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  background-color: var(--color-cream);
  color: var(--color-text-primary);
  transition: background-color 0.5s ease, color 0.5s ease;
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Ambient glow backdrop — primary atmospheric layer */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(ellipse 900px 500px at 18% -10%, var(--ambient-glow-1) 0%, transparent 65%),
    radial-gradient(ellipse 800px 700px at 85% 15%, var(--ambient-glow-2) 0%, transparent 60%),
    radial-gradient(ellipse 1100px 700px at 50% 50%, var(--ambient-glow-3) 0%, transparent 75%),
    radial-gradient(circle 600px at 90% 85%, var(--ambient-glow-1) 0%, transparent 50%);
  opacity: 0.95;
  transition: opacity 0.5s ease;
}

html.dark body::before { opacity: 0.5; }

/* Secondary depth layer */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    radial-gradient(circle at 12% 48%, var(--ambient-glow-2) 0%, transparent 45%),
    radial-gradient(circle at 88% 28%, var(--ambient-glow-3) 0%, transparent 40%);
  opacity: 0.4;
  transition: opacity 0.5s ease;
}

main { position: relative; z-index: 1; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--color-text-primary);
  transition: color 0.3s ease;
  font-weight: 400;
  letter-spacing: 0.01em;
}

::selection {
  background: var(--color-accent);
  color: var(--color-cream);
}

/* ─────────────────────────────────────────────────────────────── */
/* UTILITIES                                                        */
/* ─────────────────────────────────────────────────────────────── */

.font-display { font-family: var(--font-display); }
.font-body    { font-family: var(--font-body); }
.font-mono    { font-family: var(--font-mono); }

.text-balance     { text-wrap: balance; }
.tracking-editorial { letter-spacing: 0.18em; }
.tracking-luxury    { letter-spacing: 0.32em; }

/* ── Surfaces ───────────────────────────────────────────────── */
.surface-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft), var(--shadow-inset-hi);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.surface-card:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-lifted), var(--shadow-inset-hi);
}

.surface-glass {
  background: var(--color-surface-glass);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.hairline {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border-strong), transparent);
  border: 0;
}

.gold-divider {
  width: 2.5rem;
  height: 1px;
  background: var(--color-accent);
  display: inline-block;
}

/* ── Theme toggle ───────────────────────────────────────────── */
.theme-toggle {
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--color-border-strong);
  background: var(--color-surface-glass);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.3s ease;
  color: var(--color-text-primary);
}
.theme-toggle:hover {
  background: var(--ambient-glow-1);
  border-color: var(--color-accent);
  transform: rotate(20deg);
}
.theme-toggle svg { width: 1.1rem; height: 1.1rem; transition: transform 0.3s ease; }
.theme-toggle .sun-icon  { display: none; }
html.dark .theme-toggle .moon-icon { display: none; }
html.dark .theme-toggle .sun-icon  { display: block; }

/* ── Inputs ─────────────────────────────────────────────────── */
.input-field {
  width: 100%;
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  outline: none;
}
.input-field::placeholder { color: var(--color-text-tertiary); }
.input-field:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.12);
  background: var(--color-surface);
}

.input-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: 0.5rem;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--color-accent);
  color: var(--color-cream);
  font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
  border: 1px solid var(--color-accent);
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  box-shadow: var(--shadow-glow-soft);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: transparent;
  color: var(--color-text-primary);
  font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-strong);
  transition: all 0.25s ease;
  cursor: pointer;
}
.btn-ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: var(--ambient-glow-1);
}

/* ── Status pills ───────────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: 0.375rem;
  font-size: 0.625rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  border: 1px solid;
}
.pill-success { color: #2f7a4d; border-color: rgba(47, 122, 77, 0.3); background: rgba(47, 122, 77, 0.08); }
.pill-danger  { color: #b04141; border-color: rgba(176, 65, 65, 0.3); background: rgba(176, 65, 65, 0.08); }
.pill-warning { color: var(--color-accent-dark); border-color: rgba(200, 169, 110, 0.4); background: var(--ambient-glow-1); }
.pill-muted   { color: var(--color-text-secondary); border-color: var(--color-border); background: var(--color-surface-alt); }

html.dark .pill-success { color: #6cbf8f; }
html.dark .pill-danger  { color: #e58a8a; }
html.dark .pill-warning { color: var(--color-accent); }

/* ─────────────────────────────────────────────────────────────── */
/* ANIMATIONS                                                       */
/* ─────────────────────────────────────────────────────────────── */

.fade-section {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 1; }
}
.fade-up         { animation: fadeUp 0.7s ease forwards; }
.fade-up-delay-1 { animation: fadeUp 0.7s ease 0.1s forwards; opacity: 0; }
.fade-up-delay-2 { animation: fadeUp 0.7s ease 0.2s forwards; opacity: 0; }
.fade-up-delay-3 { animation: fadeUp 0.7s ease 0.3s forwards; opacity: 0; }
.glow-pulse      { animation: glowPulse 3s ease-in-out infinite; }

/* ── Fluent & Organic Shapes ───────────────────────────────── */
.organic-shape {
  border-radius: 60% 40% 70% 30% / 40% 50% 60% 50%;
  animation: organicTransition 12s infinite alternate ease-in-out;
}
@keyframes organicTransition {
  0%   { border-radius: 60% 40% 70% 30% / 40% 50% 60% 50%; }
  100% { border-radius: 40% 60% 30% 70% / 60% 40% 50% 50%; }
}

.float-slow { animation: floatSlow 6s infinite ease-in-out; }
@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-15px); }
}

.clip-diagonal-left  { clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); }
.clip-diagonal-right { clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%); }

.asymmetrical-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
}

.staggered-card { transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.staggered-card:hover { transform: translateY(-10px) rotate(1deg); }

/* ── Card lift (refined — soft glow, no offset shadow) ─────── */
.card-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card-lift:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lifted);
  border-color: var(--color-accent);
}

/* ── Collection / product card ─────────────────────────────── */
.collection-card { position: relative; transition: all 0.3s ease; }
.collection-card .overlay { opacity: 0; transition: opacity 0.3s ease; }
.collection-card:hover .overlay { opacity: 1; }
.collection-card img { transition: transform 0.6s ease, filter 0.6s ease; }
.collection-card:hover img { transform: scale(1.04); }

/* ── Story link (animated underline) ───────────────────────── */
.story-link {
  position: relative;
  display: inline-block;
}
.story-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.4s ease;
}
.story-link:hover::after { transform: scaleX(1); transform-origin: bottom left; }

/* ─────────────────────────────────────────────────────────────── */
/* SECTIONS                                                         */
/* ─────────────────────────────────────────────────────────────── */

section { position: relative; transition: background-color 0.5s ease; }

.glow-section {
  background:
    radial-gradient(ellipse at 20% 50%, var(--ambient-glow-1) 0%, transparent 35%),
    linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-alt) 100%);
}

/* ─────────────────────────────────────────────────────────────── */
/* SCROLLBAR (subtle, branded)                                      */
/* ─────────────────────────────────────────────────────────────── */

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--color-border-strong);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background: var(--color-accent); background-clip: content-box; }

/* ─────────────────────────────────────────────────────────────── */
/* ACCESSIBILITY                                                    */
/* ─────────────────────────────────────────────────────────────── */

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

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

/* ─────────────────────────────────────────────────────────────── */
/* ADMIN — Form fields, buttons, tables                            */
/* ─────────────────────────────────────────────────────────────── */

.admin-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  margin-bottom: 0.45rem;
  font-weight: 500;
}

.admin-input,
.admin-select,
.admin-textarea {
  width: 100%;
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
  font-size: 0.875rem;
  padding: 0.75rem 0.95rem;
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  font-family: var(--font-body);
}
.admin-input::placeholder,
.admin-textarea::placeholder { color: var(--color-text-tertiary); opacity: 0.7; }
.admin-input:focus,
.admin-select:focus,
.admin-textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--ambient-glow-1);
  background: var(--color-surface);
}
.admin-select { appearance: none; cursor: pointer; }

/* Primary gold button */
.btn-gold {
  background: var(--color-accent);
  color: var(--color-cream);
  padding: 0.7rem 1.35rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-accent-dark);
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 6px 16px var(--ambient-glow-1);
  transition: all 0.25s ease;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.btn-gold:hover {
  background: var(--color-accent-dark);
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 10px 22px var(--ambient-glow-1);
  transform: translateY(-1px);
}

/* Secondary "ghost" button — matches .btn-gold height */
.btn-ghost-admin {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
  cursor: pointer;
}
.btn-ghost-admin:hover {
  color: var(--color-text-primary);
  border-color: var(--color-border-strong);
  background: var(--ambient-glow-1);
}

/* Square icon-only button */
.btn-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn-icon:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
  background: var(--ambient-glow-1);
}

.btn-outline {
  padding: 0.45rem 0.85rem;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--color-text-secondary);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}
.btn-outline:hover {
  color: var(--color-text-primary);
  border-color: var(--color-accent);
  background: var(--ambient-glow-1);
}

.btn-danger-outline {
  padding: 0.45rem 0.85rem;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #b04141;
  background: transparent;
  border: 1px solid rgba(176, 65, 65, 0.25);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn-danger-outline:hover {
  background: rgba(176, 65, 65, 0.08);
  border-color: rgba(176, 65, 65, 0.55);
  color: #d04949;
}

/* Alerts */
.alert-success {
  padding: 0.85rem 1rem;
  font-size: 12px;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  background: rgba(46, 134, 84, 0.10);
  border: 1px solid rgba(46, 134, 84, 0.28);
  color: #2e8654;
}
html.dark .alert-success { color: #6dd29a; }

.alert-error {
  padding: 0.85rem 1rem;
  font-size: 12px;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  background: rgba(176, 65, 65, 0.10);
  border: 1px solid rgba(176, 65, 65, 0.28);
  color: #b04141;
}
html.dark .alert-error { color: #ee7a7a; }

/* Stat / data card */
.stat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-soft), var(--shadow-inset-hi);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.stat-card > div:first-child { min-width: 0; }
.stat-card:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-lifted), var(--shadow-inset-hi);
}
.stat-icon {
  width: 2.75rem; height: 2.75rem;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ambient-glow-1);
  color: var(--color-accent);
  flex-shrink: 0;
}

/* Data table */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.data-table thead tr { border-bottom: 1px solid var(--color-border); }
.data-table th {
  text-align: left;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  font-weight: 500;
  padding: 0.85rem 1rem;
}
.data-table tbody tr {
  border-bottom: 1px solid var(--color-border);
  transition: background 0.2s ease;
}
.data-table tbody tr:last-child { border-bottom: 0; }
.data-table tbody tr:hover { 
  background: linear-gradient(
    90deg, 
    transparent 0%, 
    var(--ambient-glow-1) 25%, 
    var(--ambient-glow-2) 50%, 
    var(--ambient-glow-1) 75%, 
    transparent 100%
  );
  background-size: 200% 100%;
  animation: row-shimmer 15s linear infinite;
}

@keyframes row-shimmer {
  0% { background-position: 200% 0%; }
  100% { background-position: -200% 0%; }
}
.data-table td { padding: 1rem; vertical-align: middle; color: var(--color-text-primary); }

/* Badges (target customer pills) */
.pill {
  display: inline-block;
  padding: 0.18rem 0.55rem;
  font-size: 10px;
  letter-spacing: 0.08em;
  font-weight: 500;
  border-radius: 999px;
  text-transform: capitalize;
}
.pill-men    { background: rgba(70, 120, 200, 0.12); color: #4a7bc4; }
.pill-women  { background: rgba(200, 100, 150, 0.12); color: #c46490; }
.pill-kids   { background: rgba(150, 110, 200, 0.12); color: #9970c4; }
.pill-common { background: var(--ambient-glow-1); color: var(--color-accent-dark); }
html.dark .pill-common { color: var(--color-accent); }

/* Upload dropzone */
.dropzone {
  border: 1.5px dashed var(--color-border-strong);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  background: var(--color-surface-alt);
  transition: all 0.25s ease;
  cursor: pointer;
}
.dropzone:hover {
  border-color: var(--color-accent);
  background: var(--ambient-glow-2);
}

/* ─────────────────────────────────────────────────────────────── */
/* ADMIN — Form structure helpers                                  */
/* ─────────────────────────────────────────────────────────────── */

.form-section {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--color-border);
}
.form-section:last-of-type { border-bottom: 0; padding-bottom: 0; }

.form-section-title {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.form-section-title::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--color-accent);
  display: inline-block;
}

.form-help {
  font-size: 11px;
  color: var(--color-text-tertiary);
  margin-top: 0.4rem;
  line-height: 1.5;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.4rem;
  border-top: 1px solid var(--color-border);
  margin-top: 0.5rem;
}

.form-textarea { min-height: 110px; resize: vertical; line-height: 1.6; }

/* Improved dropzone with accent ring */
.dropzone {
  position: relative;
  border: 1.5px dashed var(--color-border-strong);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  background: var(--color-surface-alt);
  transition: all 0.25s ease;
}
.dropzone:hover,
.dropzone:focus-within {
  border-color: var(--color-accent);
  background: var(--ambient-glow-2);
  box-shadow: 0 0 0 4px var(--ambient-glow-1);
}

/* ─────────────────────────────────────────────────────────────── */
/* EDITORIAL COMPONENTS                                            */
/* ─────────────────────────────────────────────────────────────── */

.editorial-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.parallax-wrapper {
  perspective: 1000px;
}

.overlap-image {
  box-shadow: var(--shadow-lifted);
  transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.overlap-image:hover {
  transform: translateY(-10px) scale(1.02);
}

.text-stroke {
  -webkit-text-stroke: 1px rgba(var(--color-accent-rgb), 0.3);
  color: transparent;
}

.glass-pill {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  padding: 0.5rem 1.25rem;
}

.asymmetric-shape-1 {
  border-radius: 120px 20px 80px 10px;
}

.asymmetric-shape-2 {
  border-radius: 20px 140px 10px 100px;
}

/* Advanced Entrance Animations */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

.split-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1), opacity 0.8s;
}

.active .split-char {
  opacity: 1;
  transform: translateY(0);
}

/* Section Dividers */
.section-marker {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  margin: 0 auto;
}

/* ─────────────────────────────────────────────────────────────── */
/* MINIMALIST EDITORIAL UTILITIES                                  */
/* ─────────────────────────────────────────────────────────────── */

.text-vertical {
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.clip-slant {
  clip-path: polygon(0 0, 100% 12%, 100% 100%, 0 88%);
}

.clip-diamond {
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.float-grid-item {
  transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

.float-grid-item:hover {
  transform: translateY(-8px) rotate(1deg);
}

.stagger-reveal > * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.stagger-reveal.active > * {
  opacity: 1;
  transform: translateY(0);
}

.stagger-reveal.active > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-reveal.active > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-reveal.active > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-reveal.active > *:nth-child(4) { transition-delay: 0.4s; }

.fine-border {
  border: 1px solid rgba(var(--color-accent-rgb), 0.12);
}

.bg-texture {
  background-image: 
    linear-gradient(rgba(var(--color-accent-rgb), 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--color-accent-rgb), 0.02) 1px, transparent 1px),
    /* Subtle handloom weave effect - neutral gray */
    url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h1v40H0V0zm10 0h1v40h-1V0zm10 0h1v40h-1V0zm10 0h1v40h-1V0zM0 10v1h40v-1H0zm0 10v1h40v-1H0zm0 10v1h40v-1H0z' fill='%238a8078' fill-opacity='0.1' fill-rule='evenodd'%3E%3C/path%3E%3C/svg%3E");
  background-size: 100px 100px, 100px 100px, 40px 40px;
}

.promo-grid-texture {
  background-image: 
    radial-gradient(circle at 2px 2px, var(--color-border-strong) 1px, transparent 0);
  background-size: 32px 32px;
}

/* ── Banner Templates ── */

.christmas-gradient {
  background: linear-gradient(135deg, #1a0f0f 0%, #2d1414 100%);
}

.newyear-gradient {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.festive-glow-red {
  background: radial-gradient(circle at 50% 50%, rgba(220, 38, 38, 0.15) 0%, transparent 70%);
}

.festive-glow-gold {
  background: radial-gradient(circle at 50% 50%, rgba(200, 169, 110, 0.15) 0%, transparent 70%);
}

.snow-fall::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(white 1.5px, transparent 0);
  background-size: 60px 60px;
  opacity: 0.2;
  animation: snow 10s linear infinite;
}

@keyframes snow {
  0% { background-position: 0 0; }
  100% { background-position: 100px 500px; }
}

.festive-stars::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(white 1px, transparent 0);
  background-size: 50px 50px;
  opacity: 0.15;
  animation: twinkle 5s infinite alternate;
}

@keyframes twinkle {
  from { opacity: 0.1; }
  to { opacity: 0.3; }
}

.brutalist-border {
  border: 2px solid var(--color-text-primary);
  box-shadow: 8px 8px 0px var(--color-text-primary);
}

.brutalist-label {
  background: var(--color-text-primary);
  color: var(--color-surface);
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
}

.minimal-separator {
  width: 1px;
  height: 100px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
}

/* ─────────────────────────────────────────────────────────────── */
/* MOBILE RESPONSIVENESS OVERRIDES                                 */
/* ─────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  /* Scale down massive editorial headers */
  h1.font-display { font-size: clamp(1.875rem, 12vw, 4rem) !important; line-height: 1 !important; overflow-wrap: break-word; }
  h2.font-display { font-size: clamp(1.5rem, 10vw, 3.5rem) !important; line-height: 1.1 !important; overflow-wrap: break-word; }
  h3.font-display { font-size: 1.75rem !important; }

  /* Section Spacing */
  section { padding-top: 5rem !important; padding-bottom: 5rem !important; }
  .py-64 { padding-top: 6rem !important; padding-bottom: 6rem !important; }
  .py-48 { padding-top: 4rem !important; padding-bottom: 4rem !important; }
  .py-32 { padding-top: 3rem !important; padding-bottom: 3rem !important; }

  /* Hero Adjustments */
  .h-screen { height: auto !important; min-height: 100vh !important; padding: 8rem 1rem !important; }
  
  /* Layout adjustments */
  .editorial-container { grid-template-columns: 1fr !important; gap: 2rem !important; }
  
  /* Manifesto Fix */
  .Manifesto-text-bg { font-size: 5rem !important; opacity: 0.1 !important; }
  
  /* Grid Fixes */
  .grid-cols-2 { gap: 1rem !important; }
  
  /* Aesthetic Slants — Scale down on mobile */
  .clip-slant { clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 95%) !important; }

  /* Navigation */
  .btn-nav { width: 3.5rem !important; height: 3.5rem !important; }
  
  /* Padding audit */
  .px-8, .px-4, .px-14, .px-6 { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
}

@media (max-width: 480px) {
  h1.font-display { font-size: 3rem !important; }
  .btn-gold { padding: 0.8rem 1.2rem !important; font-size: 9px !important; width: 100%; }
}
