/* ===================================================================
   ORATIO Design System
   Pastel · Floral · Feminine · Glassmorphism · Glitter
   Light mode only
   =================================================================== */

/* ---------- 1. Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&family=Italianno&display=swap');

/* Arabic brand fonts: Zainab AlSabba (display), Tajawal + SST Arabic (body) */
@font-face { font-family: 'Zainab AlSabba'; src: url('../fonts/Zainab-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Zainab AlSabba'; src: url('../fonts/Zainab-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Zainab AlSabba'; src: url('../fonts/Zainab-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Tajawal'; src: url('../fonts/Tajawal-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Tajawal'; src: url('../fonts/Tajawal-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Tajawal'; src: url('../fonts/Tajawal-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'SST Arabic'; src: url('../fonts/SSTArabic-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'SST Arabic'; src: url('../fonts/SSTArabic-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'SST Arabic'; src: url('../fonts/SSTArabic-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }

/* ---------- 2. Design Tokens ---------- */
:root {
  /* Brand colors from logo */
  --gold:           #B08332;
  --gold-deep:      #8C6620;
  --gold-light:     #D4A84B;
  --gold-pale:      #EBE0A0;
  --gold-glow:      rgba(176, 131, 50, 0.35);

  /* Pastel palette */
  --ivory:          #FBF5EC;
  --ivory-warm:     #F7EDDD;
  --cream:          #F5ECD8;
  --beige:          #EAD9C0;
  --sand:           #D9C4A8;
  --parchment:      #EDE3BE;

  /* Feminine pastels */
  --blush:          #F5D5CE;
  --blush-soft:     #FAE5E0;
  --rose:           #E8BEB3;
  --rose-deep:      #C49080;
  --peach:          #F8DCC2;
  --peach-soft:     #FCE8D6;
  --lavender:       #E2D5E8;
  --lavender-soft:  #EFE6F0;
  --mauve:          #C9B8D4;
  --mauve-deep:     #A88FB5;
  --mint:           #D4E8DC;
  --mint-soft:      #E5F0E9;
  --sky:            #D8E5EC;
  --sky-soft:       #E8F0F4;

  /* Text */
  --charcoal:       #3A2E2A;
  --warm-brown:     #6B5B4A;
  --warm-brown-lt:  #8B7A66;
  --muted:          #A89887;
  --ivory-text:     #FAF6EF;

  /* Glassmorphism */
  --glass-bg:       rgba(251, 245, 236, 0.55);
  --glass-bg-strong:rgba(251, 245, 236, 0.72);
  --glass-bg-soft:  rgba(251, 245, 236, 0.35);
  --glass-border:   rgba(255, 255, 255, 0.55);
  --glass-shadow:   0 8px 32px rgba(176, 131, 50, 0.08), 0 2px 8px rgba(58, 46, 42, 0.04);
  --glass-shadow-lg:0 20px 60px rgba(176, 131, 50, 0.12), 0 4px 16px rgba(58, 46, 42, 0.06);

  /* Typography */
  --font-display:   'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-script:    'Italianno', 'Cormorant Garamond', cursive;
  --font-num:       'Playfair Display', 'Cormorant Garamond', Georgia, serif;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  /* Radii */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-2xl: 48px;
  --r-pill: 999px;

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

  /* Layout */
  --max-w: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(5rem, 10vw, 8rem);
}

/* ---------- 3. Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--ivory);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

img, svg { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

::selection { background: var(--gold-light); color: var(--ivory); }

/* ---------- 4. Glittered Background ---------- */
/* Multi-layer pastel gradient + noise grain + slow floating blobs */
.bg-stage {
  position: fixed;
  inset: 0;
  z-index: -10;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, var(--blush-soft) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 10%, var(--peach-soft) 0%, transparent 55%),
    radial-gradient(ellipse 70% 60% at 50% 100%, var(--lavender-soft) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 0% 60%, var(--mint-soft) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 100% 50%, var(--sky-soft) 0%, transparent 55%),
    linear-gradient(180deg, var(--ivory) 0%, var(--ivory-warm) 100%);
}

/* ---------- 4. Glittered background ---------- */
/* Sand-grain texture: fine + coarse + glints, pastel-tinted, premium feel */

/* Layer A: fine sand grain (warm gold-tinted) */
.bg-grain {
  position: fixed;
  inset: 0;
  z-index: -9;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.72 0 0 0 0 0.55 0 0 0 0 0.22 0 0 0 0.65 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Layer B: coarse sand (paler, paper-weave feel) */
.bg-grain-soft {
  position: fixed;
  inset: 0;
  z-index: -8;
  pointer-events: none;
  opacity: 0.35;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 320 320' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n2'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.35' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.96 0 0 0 0 0.88 0 0 0 0 0.78 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n2)'/%3E%3C/svg%3E");
}

/* Layer C: pastel dust, barely-there tint shifts across the page */
.bg-grain-pastel {
  position: fixed;
  inset: 0;
  z-index: -8;
  pointer-events: none;
  opacity: 0.28;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 360 360' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n3'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.18' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.95 0 0 0 0 0.82 0 0 0 0 0.78 0 0 0 0.45 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n3)'/%3E%3C/svg%3E");
}

/* Layer D: embedded glitter, tiny pastel + gold glints, static */
.bg-glint {
  position: fixed;
  inset: 0;
  z-index: -7;
  pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 12% 18%, rgba(212,168,75,0.85) 0%, rgba(212,168,75,0) 60%),
    radial-gradient(1.5px 1.5px at 28% 72%, rgba(176,131,50,0.7) 0%, rgba(176,131,50,0) 60%),
    radial-gradient(1.8px 1.8px at 45% 35%, rgba(245,213,206,0.85) 0%, rgba(245,213,206,0) 60%),
    radial-gradient(1.2px 1.2px at 62% 82%, rgba(232,190,179,0.75) 0%, rgba(232,190,179,0) 60%),
    radial-gradient(1.6px 1.6px at 78% 22%, rgba(201,184,212,0.8) 0%, rgba(201,184,212,0) 60%),
    radial-gradient(1.4px 1.4px at 88% 64%, rgba(235,224,160,0.85) 0%, rgba(235,224,160,0) 60%),
    radial-gradient(1.8px 1.8px at 18% 92%, rgba(212,232,220,0.75) 0%, rgba(212,232,220,0) 60%),
    radial-gradient(1.2px 1.2px at 52% 58%, rgba(176,131,50,0.6) 0%, rgba(176,131,50,0) 60%),
    radial-gradient(1.5px 1.5px at 8% 48%, rgba(248,220,194,0.7) 0%, rgba(248,220,194,0) 60%),
    radial-gradient(1.3px 1.3px at 72% 8%, rgba(226,213,232,0.7) 0%, rgba(226,213,232,0) 60%),
    radial-gradient(1.6px 1.6px at 36% 12%, rgba(212,168,75,0.7) 0%, rgba(212,168,75,0) 60%),
    radial-gradient(1.2px 1.2px at 92% 38%, rgba(235,224,160,0.7) 0%, rgba(235,224,160,0) 60%);
  background-size: 520px 520px;
  background-repeat: repeat;
}

/* Layer E: bigger scattered sparkle dots (static) */
.bg-sparkles {
  position: fixed;
  inset: 0;
  z-index: -7;
  pointer-events: none;
  background-image:
    radial-gradient(1.8px 1.8px at 20% 30%, var(--gold-light) 50%, transparent 100%),
    radial-gradient(1.2px 1.2px at 60% 10%, var(--gold-pale) 50%, transparent 100%),
    radial-gradient(1.8px 1.8px at 80% 50%, var(--blush) 50%, transparent 100%),
    radial-gradient(1.2px 1.2px at 30% 70%, var(--lavender) 50%, transparent 100%),
    radial-gradient(1.8px 1.8px at 90% 80%, var(--peach) 50%, transparent 100%),
    radial-gradient(1.2px 1.2px at 10% 90%, var(--mint) 50%, transparent 100%),
    radial-gradient(1.8px 1.8px at 50% 40%, var(--rose) 50%, transparent 100%),
    radial-gradient(1.2px 1.2px at 70% 90%, var(--gold-light) 50%, transparent 100%),
    radial-gradient(1.8px 1.8px at 40% 20%, var(--lavender) 50%, transparent 100%);
  background-size: 720px 720px;
  background-repeat: repeat;
  opacity: 0.5;
}

/* Floating ambient blobs (parallax targets) */
.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  pointer-events: none;
  z-index: -7;
  will-change: transform;
}
.blob-1 { top: -10%; left: -5%; width: 500px; height: 500px; background: radial-gradient(circle, var(--blush), transparent 70%); }
.blob-2 { top: 30%; right: -10%; width: 600px; height: 600px; background: radial-gradient(circle, var(--peach), transparent 70%); }
.blob-3 { top: 60%; left: 10%; width: 450px; height: 450px; background: radial-gradient(circle, var(--lavender), transparent 70%); }
.blob-4 { top: 90%; right: 20%; width: 500px; height: 500px; background: radial-gradient(circle, var(--mint), transparent 70%); }
.blob-5 { top: 15%; left: 40%; width: 350px; height: 350px; background: radial-gradient(circle, var(--gold-pale), transparent 70%); opacity: 0.3; }

/* Text glow filter target */
.text-glow {
  filter: url(#text-glow);
}

/* Animated gradient text */
.gradient-text-anim {
  background: linear-gradient(120deg, var(--gold-deep) 0%, var(--gold-light) 25%, var(--rose-deep) 50%, var(--mauve-deep) 75%, var(--gold-deep) 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 12s ease-in-out infinite;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* ---------- 5. Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.75rem, 7vw, 5.5rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 300; }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 400; }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 500; }
h5 { font-size: 1.125rem; font-weight: 500; }

p { line-height: 1.75; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.script {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--gold-deep);
  line-height: 1;
}

.italic-serif { font-style: italic; }

.text-gradient {
  background: linear-gradient(120deg, var(--gold-deep) 0%, var(--gold-light) 50%, var(--rose-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Numerals: Playfair Display with clean lining + tabular figures.
   Cormorant defaults to old-style figures (uneven height/baseline),
   which looks wrong on prices and stats. */
.num,
.product-price,
.process-num,
.credential-year,
.hero-card-stat-num,
.cart-item-price,
.cart-item-line-total,
.cart-subtotal strong,
.qty-val,
.summary-row strong {
  font-family: var(--font-num);
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

/* ---------- 6. Layout helpers ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section-sm { padding-block: clamp(3rem, 6vw, 5rem); }
.section-tight { padding-block: clamp(4rem, 7vw, 6rem); }

.stack > * + * { margin-top: var(--space-5); }
.stack-sm > * + * { margin-top: var(--space-3); }
.stack-lg > * + * { margin-top: var(--space-7); }

.grid { display: grid; gap: var(--space-5); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); } }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-5 { gap: var(--space-5); }
.gap-6 { gap: var(--space-6); }
.text-center { text-align: center; }

/* ---------- 7. Glassmorphism Cards ---------- */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-radius: var(--r-lg);
  box-shadow:
    var(--glass-shadow),
    inset 0 0 0 1px rgba(255, 255, 255, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  position: relative;
  isolation: isolate;
}
.glass::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.05) 35%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.glass > * { position: relative; }
.glass a, .glass button { position: relative; z-index: 1; }

.glass-strong {
  background: var(--glass-bg-strong);
  backdrop-filter: blur(30px) saturate(1.3);
  -webkit-backdrop-filter: blur(30px) saturate(1.3);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  box-shadow: var(--glass-shadow-lg);
}

.glass-soft {
  background: var(--glass-bg-soft);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--r-lg);
}

/* ---------- 8. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  position: relative;
  z-index: 1;
  overflow: hidden;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--ivory);
  box-shadow: 0 6px 20px var(--gold-glow), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--gold-glow), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.6s;
}
.btn-primary:hover::after { left: 100%; }

.btn-ghost {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--charcoal);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}
.btn-ghost:hover {
  background: var(--glass-bg-strong);
  transform: translateY(-2px);
  box-shadow: var(--glass-shadow-lg);
}

.btn .arrow { transition: transform 0.3s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- 9. Navigation ---------- */
.nav {
  position: fixed;
  top: 1.25rem;
  left: 0;
  right: 0;
  margin-inline: auto;
  width: calc(100% - 2 * var(--gutter));
  max-width: var(--max-w);
  z-index: 100;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: width 0.5s var(--ease-out), padding 0.5s var(--ease-out), background 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
  isolation: isolate;
}
.nav.scrolled {
  width: calc(100% - 4rem);
  padding: 0.5rem 1.5rem;
  background: var(--glass-bg-strong);
  box-shadow: var(--glass-shadow);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--charcoal);
}
.nav-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ivory);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glass-shadow);
  flex-shrink: 0;
  overflow: hidden;
  padding: 2px;
}
.nav-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nav-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
}
.nav-tag {
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-brown);
  line-height: 1;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  position: relative;
  z-index: 1;
}
.nav-links a {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--charcoal);
  border-radius: var(--r-pill);
  transition: all 0.3s var(--ease-out);
  position: relative;
}
.nav-links a:hover { background: var(--glass-bg-soft); }
.nav-links a.active {
  background: var(--glass-bg-strong);
  color: var(--gold-deep);
}
.nav-cta {
  margin-left: 0.5rem;
  padding: 0.55rem 1.25rem !important;
  background: var(--gold) !important;
  color: var(--ivory) !important;
  border-radius: var(--r-pill);
  font-size: 0.8rem !important;
  letter-spacing: 0.05em;
}
.nav-cta:hover { background: var(--gold-deep) !important; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1rem;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-lg);
    box-shadow: var(--glass-shadow-lg);
    align-items: stretch;
  }
  .nav-links.open a { padding: 0.75rem 1rem; text-align: center; }
}

/* ---------- 10. Hero ---------- */
.hero {
  min-height: 100vh;
  padding-top: 8rem;
  padding-bottom: 4rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-7);
  align-items: center;
  width: 100%;
}
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; gap: var(--space-6); } }

.hero-headline {
  font-size: clamp(2.75rem, 6.5vw, 5.25rem);
  font-weight: 300;
  line-height: 1.05;
  margin-block: var(--space-5) var(--space-5);
}
.hero-headline .line { display: block; overflow: hidden; }
.hero-headline .line span { display: inline-block; }
.hero-headline em {
  font-family: var(--font-script);
  font-style: normal;
  font-size: 1.2em;
  color: var(--gold-deep);
  font-weight: 400;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--warm-brown);
  max-width: 32rem;
  margin-bottom: var(--space-6);
}

.hero-cta { display: flex; gap: var(--space-4); flex-wrap: wrap; }

/* Hero floating glass card */
.hero-card {
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  transform: rotate(2deg);
  animation: cardFloat 8s var(--ease-in-out) infinite;
}
@keyframes cardFloat {
  0%, 100% { transform: rotate(2deg) translateY(0); }
  50% { transform: rotate(2deg) translateY(-12px); }
}

.hero-card-stats {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(176, 131, 50, 0.15);
}
.hero-card-stat { flex: 1; }
.hero-card-stat-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--gold-deep);
  line-height: 1;
}
.hero-card-stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm-brown);
  margin-top: 0.35rem;
}
.hero-card-quote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--charcoal);
}
.hero-card-quote-author {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 0.5rem;
}

/* Floating decoration SVGs (hero) */
.hero-deco {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}
.hero-deco-1 { top: 15%; right: 5%; width: 80px; opacity: 0.7; }
.hero-deco-2 { bottom: 20%; left: 8%; width: 60px; opacity: 0.6; }
.hero-deco-3 { top: 50%; right: 15%; width: 50px; opacity: 0.5; }
@media (max-width: 900px) { .hero-deco-1, .hero-deco-2, .hero-deco-3 { display: none; } }

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--warm-brown);
  opacity: 0.7;
}
.scroll-hint-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--gold), transparent);
  position: relative;
  overflow: hidden;
}

/* ---------- 11. Section header ---------- */
.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-8);
}
.section-head h2 { margin-top: var(--space-4); }
.section-head p { color: var(--warm-brown); margin-top: var(--space-4); font-size: 1.05rem; }

/* ---------- 12. Service Cards ---------- */
.service-card {
  padding: 2.5rem 2rem;
  position: relative;
  transition: all 0.5s var(--ease-out);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--glass-shadow-lg);
}
.service-card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--blush-soft), var(--peach-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
}
.service-card:nth-child(2) .service-card-icon { background: linear-gradient(135deg, var(--lavender-soft), var(--mauve)); }
.service-card:nth-child(3) .service-card-icon { background: linear-gradient(135deg, var(--mint-soft), var(--sky-soft)); }
.service-card:nth-child(4) .service-card-icon { background: linear-gradient(135deg, var(--gold-pale), var(--peach-soft)); }

.service-card-icon svg { width: 28px; height: 28px; color: var(--gold-deep); }
.service-card:nth-child(2) .service-card-icon svg { color: var(--mauve-deep); }
.service-card:nth-child(3) .service-card-icon svg { color: var(--gold-deep); }
.service-card:nth-child(4) .service-card-icon svg { color: var(--rose-deep); }

.service-card h3 { margin-bottom: 0.75rem; }
.service-card p { color: var(--warm-brown); flex-grow: 1; }
.service-card-link {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.service-card-link .arrow { transition: transform 0.3s; }
.service-card:hover .service-card-link .arrow { transform: translateX(4px); }

/* ---------- 12a. Profile Card (3D tilt + glow) ---------- */
.pc-card-wrapper {
  --rotate-x: 0deg;
  --rotate-y: 0deg;
  --tilt-duration: 0.35s;
  --inner-gradient: linear-gradient(145deg, rgba(212, 168, 75, 0.45) 0%, rgba(232, 190, 179, 0.35) 60%, rgba(245, 213, 206, 0.25) 100%);
  --grain: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.7 0 0 0 0 0.55 0 0 0 0 0.2 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 3/4.3;
  transform: perspective(900px) rotateY(var(--rotate-y)) rotateX(var(--rotate-x));
  transform-style: preserve-3d;
  transition: transform var(--tilt-duration) var(--ease-out);
  will-change: transform;
  margin: 0 auto;
}

.pc-card-shell {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--r-2xl);
  transform: translateZ(0);
  cursor: pointer;
}

.pc-card {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--r-2xl);
  overflow: hidden;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow-lg);
}

.pc-inside {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--inner-gradient);
  display: flex;
  flex-direction: column;
}
.pc-inside::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  background-size: 240px 240px;
  background-repeat: repeat;
  mix-blend-mode: overlay;
  opacity: 0.4;
  pointer-events: none;
  z-index: 3;
}

.pc-avatar-content {
  position: relative;
  flex: 1;
  overflow: hidden;
  min-height: 0;
}
.pc-avatar-content .avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  border-radius: 0;
}

/* Bottom content (name + title) */
.pc-content.pc-text-content {
  position: relative;
  z-index: 2;
  padding: 1.25rem 1.5rem 1.5rem;
  background: linear-gradient(to top, rgba(251, 245, 236, 0.95) 0%, rgba(251, 245, 236, 0.75) 70%, transparent 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(212, 168, 75, 0.18);
}
.pc-details h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.25rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.pc-details p {
  font-size: 0.8rem;
  color: var(--warm-brown);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Hover-revealed capsule, sits inside the image, near the bottom */
.pc-user-info {
  position: absolute;
  top: auto;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem 0.5rem 0.5rem;
  background: rgba(251, 245, 236, 0.55);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--r-pill);
  box-shadow: 0 6px 20px rgba(58, 46, 42, 0.1);
  z-index: 5;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
  pointer-events: none;
}
.pc-card-wrapper.active .pc-user-info,
.pc-card-wrapper:hover .pc-user-info {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.pc-user-details {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.pc-mini-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid var(--gold-light);
  flex-shrink: 0;
  background: var(--gold-pale);
}
.pc-mini-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.pc-user-text { min-width: 0; line-height: 1.2; }
.pc-handle {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--charcoal);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.01em;
}
.pc-status {
  font-size: 0.65rem;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.1rem;
}
.pc-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6CC06C;
  box-shadow: 0 0 6px rgba(108, 192, 108, 0.7);
}

.pc-contact-btn {
  padding: 0.45rem 0.9rem;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--ivory);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px var(--gold-glow);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  white-space: nowrap;
  cursor: pointer;
  border: none;
  flex-shrink: 0;
}
.pc-contact-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--gold-glow);
}

@media (max-width: 600px) {
  .pc-card-wrapper { max-width: 320px; }
  .pc-details h3 { font-size: 1.2rem; }
  .pc-content.pc-text-content { padding: 1rem 1.25rem 1.25rem; }
  .pc-user-info { padding: 0.4rem 0.6rem 0.4rem 0.4rem; }
  .pc-contact-btn { padding: 0.4rem 0.7rem; font-size: 0.65rem; }
}

/* ---------- 12b. Display cards: spacious column, all content visible ---------- */
.display-cards {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  width: 100%;
  max-width: 100%;
  opacity: 0;
  animation: displayFadeIn 1.2s var(--ease-out) 0.4s forwards;
}
@keyframes displayFadeIn {
  to { opacity: 1; }
}

.dc-card {
  position: relative;
  width: 100%;
  padding: 1.5rem 1.75rem;
  border-radius: var(--r-xl);
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), background 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
  cursor: pointer;
  overflow: hidden;
}
.dc-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 55%, rgba(255, 255, 255, 0.35) 100%);
  opacity: 0.5;
  pointer-events: none;
}
.dc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glass-shadow-lg);
}

.dc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 4px 12px rgba(176, 131, 50, 0.08);
  border: 1px solid rgba(255,255,255,0.5);
  position: relative;
  z-index: 1;
}
.dc-icon svg { width: 24px; height: 24px; }

.dc-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: relative;
  z-index: 1;
}
.dc-eyebrow {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.dc-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.2;
  letter-spacing: 0.005em;
  margin: 0;
}
.dc-desc {
  font-size: 0.9rem;
  color: var(--warm-brown);
  line-height: 1.55;
  margin: 0;
}
.dc-meta {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-brown-lt);
  margin-top: 0.2rem;
  font-weight: 500;
}

/* Per-card subtle background tints + matching icon palettes */
.dc-card.dc-1 { background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(235, 224, 160, 0.28) 100%); border-color: rgba(212, 168, 75, 0.22); }
.dc-card.dc-2 { background: linear-gradient(135deg, rgba(255, 255, 255, 0.72) 0%, rgba(245, 213, 206, 0.32) 100%); border-color: rgba(232, 190, 179, 0.28); }
.dc-card.dc-3 { background: linear-gradient(135deg, rgba(255, 255, 255, 0.72) 0%, rgba(226, 213, 232, 0.32) 100%); border-color: rgba(201, 184, 212, 0.28); }
.dc-card.dc-4 { background: linear-gradient(135deg, rgba(255, 255, 255, 0.72) 0%, rgba(212, 232, 220, 0.32) 100%); border-color: rgba(174, 185, 182, 0.28); }
.dc-card.dc-5 { background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 220, 194, 0.38) 100%); border-color: rgba(212, 168, 75, 0.35); }

.dc-1 .dc-icon { background: linear-gradient(135deg, var(--gold-pale), var(--peach-soft)); color: var(--gold-deep); }
.dc-2 .dc-icon { background: linear-gradient(135deg, var(--blush-soft), var(--rose)); color: var(--rose-deep); }
.dc-3 .dc-icon { background: linear-gradient(135deg, var(--lavender-soft), var(--mauve)); color: var(--mauve-deep); }
.dc-4 .dc-icon { background: linear-gradient(135deg, var(--mint-soft), var(--sky-soft)); color: #6B8C82; }
.dc-5 .dc-icon { background: linear-gradient(135deg, var(--blush), var(--peach)); color: var(--rose-deep); }

.dc-card:hover { transform: translateY(-4px); }
.dc-1:hover { border-color: rgba(212, 168, 75, 0.45); }
.dc-2:hover { border-color: rgba(232, 190, 179, 0.5); }
.dc-3:hover { border-color: rgba(201, 184, 212, 0.5); }
.dc-4:hover { border-color: rgba(174, 185, 182, 0.5); }
.dc-5:hover { border-color: rgba(212, 168, 75, 0.6); }

@media (max-width: 900px) {
  .dc-card { padding: 1.2rem 1.4rem; gap: 1.1rem; }
  .dc-icon { width: 50px; height: 50px; }
  .dc-icon svg { width: 20px; height: 20px; }
  .dc-title { font-size: 1.15rem; }
  .dc-desc { font-size: 0.85rem; line-height: 1.5; }
}
@media (max-width: 480px) {
  .dc-card { padding: 1.1rem 1.2rem; gap: 0.9rem; }
  .dc-icon { width: 44px; height: 44px; }
  .dc-icon svg { width: 18px; height: 18px; }
  .dc-title { font-size: 1.05rem; }
}

/* ---------- 13. Story / About block ---------- */
.story-block {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-8);
  align-items: center;
}
@media (max-width: 900px) { .story-block { grid-template-columns: 1fr; } }

.story-portrait {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--glass-shadow-lg);
  background: linear-gradient(135deg, var(--blush-soft), var(--peach-soft), var(--lavender-soft));
}
.story-portrait-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  color: var(--warm-brown);
  text-align: center;
  padding: 2rem;
}
.story-portrait-placeholder svg { width: 80px; height: 80px; opacity: 0.4; }

.story-content h2 { margin-block: var(--space-4) var(--space-5); }
.story-content p { color: var(--warm-brown); margin-bottom: 1.25rem; font-size: 1.05rem; }
.story-pullquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--charcoal);
  padding: 1.5rem 0 1.5rem 1.5rem;
  border-left: 2px solid var(--gold);
  margin: 2rem 0;
}

/* ---------- 14. Testimonial slider ---------- */
.testimonial-track {
  display: flex;
  gap: var(--space-5);
  overflow-x: auto;
  padding: var(--space-5) 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.testimonial-track::-webkit-scrollbar { display: none; }

.testimonial-card {
  flex: 0 0 380px;
  padding: 2rem;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.testimonial-stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
}
.testimonial-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--charcoal);
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(176, 131, 50, 0.15);
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ivory);
  flex-shrink: 0;
}
.testimonial-author-info { line-height: 1.3; }
.testimonial-author-name { font-weight: 500; font-size: 0.95rem; }
.testimonial-author-role { font-size: 0.8rem; color: var(--warm-brown); }

@media (max-width: 600px) { .testimonial-card { flex: 0 0 85vw; } }

/* ---------- 15. CTA banner ---------- */
.cta-banner {
  position: relative;
  padding: clamp(3rem, 7vw, 5rem) clamp(1.5rem, 4vw, 4rem);
  border-radius: var(--r-2xl);
  text-align: center;
  background: linear-gradient(135deg, var(--blush-soft) 0%, var(--peach-soft) 50%, var(--lavender-soft) 100%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow-lg);
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 20% 30%, var(--gold-light) 50%, transparent 100%),
    radial-gradient(1px 1px at 70% 60%, var(--gold-pale) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 40% 80%, var(--rose) 50%, transparent 100%);
  background-size: 200px 200px;
  opacity: 0.5;
  pointer-events: none;
}
.cta-banner > * { position: relative; }
.cta-banner h2 { margin-bottom: 1rem; }
.cta-banner p { color: var(--warm-brown); max-width: 600px; margin: 0 auto 2rem; }
.cta-banner-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- 16. Footer ---------- */
.footer {
  padding-block: var(--space-8) var(--space-5);
  border-top: 1px solid rgba(176, 131, 50, 0.15);
  margin-top: var(--space-8);
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-7);
  margin-bottom: var(--space-7);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand p { color: var(--warm-brown); margin-top: 1rem; max-width: 320px; }
.footer h5 { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 1.25rem; }
.footer-links a { display: block; padding: 0.35rem 0; color: var(--warm-brown); transition: color 0.3s; font-size: 0.95rem; }
.footer-links a:hover { color: var(--gold-deep); }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--ease-out);
}
.footer-social a:hover { background: var(--gold); color: var(--ivory); transform: translateY(-3px); }
.footer-social svg { width: 16px; height: 16px; }

.footer-bottom {
  padding-top: var(--space-5);
  border-top: 1px solid rgba(176, 131, 50, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--warm-brown);
}

/* ---------- 17. Process timeline ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  position: relative;
}
@media (max-width: 900px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .process { grid-template-columns: 1fr; } }

.process-step {
  padding: 2rem 1.5rem;
  position: relative;
  text-align: left;
}
.process-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.6;
}
.process-step h4 { margin-bottom: 0.75rem; }
.process-step p { color: var(--warm-brown); font-size: 0.95rem; }

/* ---------- 18. FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid rgba(176, 131, 50, 0.15);
}
.faq-item:first-child { border-top: 1px solid rgba(176, 131, 50, 0.15); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--charcoal);
  cursor: pointer;
  transition: color 0.3s;
}
.faq-q:hover { color: var(--gold-deep); }
.faq-q-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
  font-size: 1.2rem;
  color: var(--gold-deep);
}
.faq-item.open .faq-q-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-in-out), padding 0.5s;
  color: var(--warm-brown);
  line-height: 1.7;
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding-bottom: 1.5rem;
}

/* ---------- 19. Resource cards ---------- */
.resource-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: all 0.5s var(--ease-out);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.resource-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--glass-shadow-lg);
}
.resource-cover {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
}
.resource-cover-bg {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  opacity: 0.7;
}
.resource-cover-bg.bg-1 { background: linear-gradient(135deg, var(--rose), var(--peach)); }
.resource-cover-bg.bg-2 { background: linear-gradient(135deg, var(--lavender), var(--mauve)); }
.resource-cover-bg.bg-3 { background: linear-gradient(135deg, var(--mint), var(--sky)); }
.resource-cover-bg.bg-4 { background: linear-gradient(135deg, var(--gold-light), var(--peach)); }
.resource-cover-bg.bg-5 { background: linear-gradient(135deg, var(--blush), var(--rose)); }
.resource-cover-bg.bg-6 { background: linear-gradient(135deg, var(--mauve), var(--lavender)); }
.resource-body { padding: 1.5rem 1.75rem 1.75rem; flex-grow: 1; display: flex; flex-direction: column; gap: 0.75rem; }
.resource-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: var(--gold-pale);
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-pill);
  align-self: flex-start;
}
.resource-card h3 { font-size: 1.5rem; }
.resource-excerpt { color: var(--warm-brown); flex-grow: 1; }
.resource-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 0.5rem; font-size: 0.8rem; color: var(--warm-brown-lt); }

/* ---------- 20. Product cards ---------- */
.product-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.5s var(--ease-out);
  height: 100%;
}
.product-card:hover { transform: translateY(-6px); }
.product-image {
  aspect-ratio: 1;
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.product-image-bg-1 { background: linear-gradient(135deg, var(--blush-soft), var(--peach-soft)); }
.product-image-bg-2 { background: linear-gradient(135deg, var(--lavender-soft), var(--mauve)); }
.product-image-bg-3 { background: linear-gradient(135deg, var(--mint-soft), var(--gold-pale)); }
.product-image-bg-4 { background: linear-gradient(135deg, var(--sky-soft), var(--lavender-soft)); }
.product-image-bg-5 { background: linear-gradient(135deg, var(--peach), var(--blush)); }
.product-image-bg-6 { background: linear-gradient(135deg, var(--gold-pale), var(--rose)); }
.product-image svg { width: 50%; height: 50%; color: var(--gold-deep); opacity: 0.7; }
.product-badge {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(10px);
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-pill);
  color: var(--gold-deep);
  font-weight: 500;
}
.product-badge.sold-out { color: var(--rose-deep); }
.product-body { display: flex; flex-direction: column; gap: 0.5rem; flex-grow: 1; }
.product-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; }
.product-desc { color: var(--warm-brown); font-size: 0.9rem; flex-grow: 1; }
.product-price { font-family: var(--font-display); font-size: 1.15rem; color: var(--gold-deep); font-weight: 500; }
.product-cta { margin-top: 0.5rem; }
.product-cta .btn { width: 100%; padding: 0.7rem 1rem; font-size: 0.8rem; }

/* ---------- 21. Form ---------- */
.form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--warm-brown); font-weight: 500; }
.form-control {
  width: 100%;
  padding: 0.95rem 1.25rem;
  background: var(--glass-bg-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--charcoal);
  transition: all 0.3s var(--ease-out);
}
.form-control:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--glass-bg-strong);
  box-shadow: 0 0 0 4px var(--gold-glow);
}
.form-control::placeholder { color: var(--muted); }
textarea.form-control { resize: vertical; min-height: 140px; font-family: inherit; }

/* ---------- 22. Contact split ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-7);
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.contact-info-row { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blush-soft), var(--peach-soft));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-deep);
  flex-shrink: 0;
}
.contact-info-icon svg { width: 18px; height: 18px; }
.contact-info-label { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--warm-brown); margin-bottom: 0.25rem; }
.contact-info-value { font-size: 1rem; color: var(--charcoal); }
.contact-info-value a:hover { color: var(--gold-deep); }

.contact-form-card { padding: 2.5rem; }

/* ---------- 23. About page specifics ---------- */
.credentials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
@media (max-width: 900px) { .credentials { grid-template-columns: 1fr; } }
.credential-card { padding: 1.75rem; text-align: center; }
.credential-year {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--gold-deep);
  font-weight: 300;
  line-height: 1;
}
.credential-title { font-family: var(--font-display); font-size: 1.15rem; margin: 0.75rem 0 0.5rem; }
.credential-desc { color: var(--warm-brown); font-size: 0.9rem; }

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .pillars { grid-template-columns: 1fr; } }

.pillar {
  padding: 1.75rem 1.5rem;
  text-align: center;
}
.pillar-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--gold-deep);
}
.pillar-icon svg { width: 28px; height: 28px; }
.pillar h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.pillar p { color: var(--warm-brown); font-size: 0.9rem; }

/* ---------- 24. Decorative floral SVGs (floating) ---------- */
.floral-deco {
  position: absolute;
  pointer-events: none;
  opacity: 0.5;
  z-index: 1;
}
.floral-deco svg { width: 100%; height: 100%; }

/* ---------- 25. Page header (sub-pages) ---------- */
.page-header {
  padding-top: 10rem;
  padding-bottom: var(--space-7);
  text-align: center;
  position: relative;
}
.page-header h1 {
  margin-top: var(--space-4);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
}
.page-header p {
  color: var(--warm-brown);
  max-width: 600px;
  margin: 1.5rem auto 0;
  font-size: 1.1rem;
}

/* ---------- 26. Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal-stagger.in-view > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in-view > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.in-view > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.in-view > *:nth-child(6) { transition-delay: 0.55s; }

/* ---------- 27. Filter / search bar ---------- */
.filter-bar {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-7);
  padding: 1rem 1.25rem;
}
.filter-search {
  flex: 1;
  min-width: 200px;
  position: relative;
}
.filter-search svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--warm-brown);
}
.filter-search input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: 0.95rem;
  color: var(--charcoal);
}
.filter-search input:focus { outline: none; }
.filter-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.filter-tag {
  padding: 0.4rem 0.9rem;
  border-radius: var(--r-pill);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--warm-brown);
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.3s;
  cursor: pointer;
}
.filter-tag:hover { background: var(--glass-bg-soft); }
.filter-tag.active { background: var(--gold); color: var(--ivory); }

/* Clear-filters button: subtle, appears only when a filter is active */
.filter-clear {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--r-pill);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--rose-deep);
  background: transparent;
  border: 1px solid var(--glass-border);
  transition: all 0.3s;
  cursor: pointer;
}
.filter-clear svg { width: 13px; height: 13px; }
.filter-clear:hover { background: var(--blush-soft); border-color: transparent; }
.filter-clear[hidden] { display: none !important; }

/* Empty state shown when no products match the search/filter */
.filter-no-results {
  text-align: center;
  color: var(--warm-brown);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  padding: var(--space-7) 1rem;
}
.filter-no-results[hidden] { display: none !important; }

/* ---------- 28. Util ---------- */
.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;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--gold);
  margin: var(--space-7) 0;
}
.divider::before, .divider::after {
  content: '';
  height: 1px;
  width: 60px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.divider svg { width: 24px; height: 24px; }

/* ---------- 29. Nav cart button ---------- */
.nav-cart {
  position: relative;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--charcoal);
  margin-left: 0.5rem;
  transition: background 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  cursor: pointer;
  flex-shrink: 0;
}
.nav-cart svg { width: 18px; height: 18px; }
.nav-cart:hover { background: var(--glass-bg-strong); transform: translateY(-1px); }
.nav-cart-count {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--gold);
  color: var(--ivory);
  font-size: 0.65rem; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--ivory);
  transform-origin: center;
  transition: transform 0.3s var(--ease-out);
}
.nav-cart-count[data-empty="true"] { display: none; }
.nav-cart.is-bumping .nav-cart-count { animation: cartBump 0.45s var(--ease-out); }
@keyframes cartBump {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.35); }
  100% { transform: scale(1); }
}

/* ---------- 30. Cart Drawer ---------- */
/* `hidden` must win over the class `display` below, else the closed,
   invisible (opacity:0) but clickable (pointer-events:auto) shell stays
   laid out and eats clicks over the nav. Author rule needed since the
   UA [hidden]{display:none} loses to any author display declaration. */
.drawer-overlay[hidden],
.cart-drawer[hidden],
.cart-footer[hidden],
.modal-overlay[hidden],
.checkout-modal[hidden] { display: none !important; }

.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(58, 46, 42, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out);
}
.drawer-overlay.is-open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 420px;
  max-width: 100vw;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(30px) saturate(1.3);
  -webkit-backdrop-filter: blur(30px) saturate(1.3);
  border-left: 1px solid var(--glass-border);
  box-shadow: -20px 0 60px rgba(58, 46, 42, 0.18);
  z-index: 201;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease-out);
}
.cart-drawer.is-open { transform: translateX(0); }

.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem 1rem;
  border-bottom: 1px solid var(--glass-border);
  flex-shrink: 0;
}
.cart-header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.005em;
}
.cart-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--glass-bg-soft);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--charcoal);
  transition: background 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  cursor: pointer;
  border: none;
  flex-shrink: 0;
}
.cart-close:hover { background: var(--glass-bg-strong); transform: rotate(90deg); }
.cart-close svg { width: 16px; height: 16px; }

.cart-items {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 1rem 1.25rem;
  display: flex; flex-direction: column; gap: 0.75rem;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
.cart-items::-webkit-scrollbar { width: 10px; }
.cart-items::-webkit-scrollbar-track { background: transparent; margin: 0.5rem 0; }
.cart-items::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.cart-items::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  background-clip: padding-box;
}
.cart-empty {
  text-align: center;
  color: var(--warm-brown);
  padding: 3rem 1rem;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  margin: auto 0;
}
.cart-empty svg { width: 56px; height: 56px; color: var(--gold); opacity: 0.5; }
.cart-empty p { font-family: var(--font-display); font-size: 1.2rem; color: var(--charcoal); }
.cart-empty .btn { margin-top: 0.25rem; }

.cart-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 0.85rem;
  padding: 0.85rem;
  background: var(--glass-bg-soft);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  animation: cartItemIn 0.35s var(--ease-out);
  align-items: center;
  overflow: hidden;
}
.cart-item.is-leaving { animation: cartItemOut 0.3s var(--ease-out) forwards; }
@keyframes cartItemIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes cartItemOut {
  to { opacity: 0; transform: translateX(40px); max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: 0; border-width: 0; }
}

.cart-item-thumb {
  width: 56px; height: 56px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--blush-soft), var(--peach-soft));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-deep);
  flex-shrink: 0;
}
.cart-item-thumb svg { width: 26px; height: 26px; }
.cart-item-info { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.cart-item-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  line-height: 1.2;
}
.cart-item-price { font-size: 0.8rem; color: var(--warm-brown); }
.cart-item-actions {
  display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem;
  flex-shrink: 0;
}
.cart-item-line-total {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--charcoal);
  font-weight: 500;
}
.cart-item-remove {
  font-size: 0.65rem;
  color: var(--rose-deep);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  transition: opacity 0.2s;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.cart-item-remove:hover { opacity: 0.6; }

.qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--glass-border);
  border-radius: var(--r-pill);
  background: var(--glass-bg);
  overflow: hidden;
}
.qty-btn {
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.95rem; line-height: 1;
  color: var(--charcoal);
  transition: background 0.2s;
  cursor: pointer;
  background: none;
  border: none;
}
.qty-btn:hover { background: var(--glass-bg-strong); }
.qty-val {
  min-width: 24px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--charcoal);
  padding: 0 0.15rem;
}

.cart-footer {
  border-top: 1px solid var(--glass-border);
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex; flex-direction: column; gap: 1rem;
  background: rgba(251, 245, 236, 0.6);
  flex-shrink: 0;
}
.cart-subtotal {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 0.9rem;
  color: var(--warm-brown);
}
.cart-subtotal strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--charcoal);
  font-weight: 500;
}
.cart-checkout { width: 100%; }
.cart-note { font-size: 0.72rem; color: var(--warm-brown-lt); text-align: center; margin-top: -0.25rem; }

/* ---------- 31. Checkout Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(58, 46, 42, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}
.modal-overlay.is-open { opacity: 1; pointer-events: auto; }

.checkout-modal {
  position: fixed; inset: 0;
  z-index: 301;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  pointer-events: none;
}
.checkout-shell {
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  padding: 2.5rem;
  border-radius: var(--r-xl);
  pointer-events: auto;
  opacity: 0;
  transform: scale(0.96) translateY(8px);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
  scrollbar-gutter: stable;
}
/* WebKit / Chromium / Edge */
.checkout-shell::-webkit-scrollbar { width: 10px; }
.checkout-shell::-webkit-scrollbar-track {
  background: transparent;
  margin: 1rem 0;
}
.checkout-shell::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.checkout-shell::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  background-clip: padding-box;
}
.checkout-modal.is-open .checkout-shell { opacity: 1; transform: scale(1) translateY(0); }

.checkout-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 0.5rem 1rem;
  margin-bottom: 1.5rem;
}
.checkout-header .eyebrow { grid-column: 1; }
.checkout-header h3 {
  grid-column: 1;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  margin-top: 0.5rem;
  line-height: 1.15;
}
.checkout-close {
  grid-column: 2; grid-row: 1 / span 2;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--glass-bg-soft);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--charcoal);
  transition: background 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  align-self: start;
  cursor: pointer;
  border: none;
}
.checkout-close:hover { background: var(--glass-bg-strong); transform: rotate(90deg); }
.checkout-close svg { width: 16px; height: 16px; }

.checkout-summary {
  background: var(--glass-bg-soft);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.summary-row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 0.9rem;
  color: var(--warm-brown);
  gap: 1rem;
}
.summary-row strong { color: var(--charcoal); font-weight: 500; }
.summary-row.summary-total {
  font-size: 0.95rem;
  color: var(--charcoal);
  border-top: 1px solid var(--glass-border);
  padding-top: 0.6rem;
  margin-top: 0.25rem;
}
.summary-row.summary-total strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gold-deep);
  font-weight: 500;
}

.form-optional {
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  font-size: 0.7rem;
  margin-left: 0.25rem;
}
.form-hint { font-size: 0.72rem; color: var(--warm-brown-lt); margin-top: 0.2rem; }

.form-control.is-invalid {
  border-color: var(--rose-deep);
  box-shadow: 0 0 0 3px rgba(196, 144, 128, 0.18);
}

.checkout-actions {
  display: flex; gap: 0.75rem; margin-top: 0.5rem;
  flex-wrap: wrap;
}
.checkout-actions .btn { flex: 1; min-width: 140px; }

/* Phone field with +973 prefix */
.form-group.has-prefix { position: relative; }
.form-group.has-prefix .form-control { padding-left: 4.5rem; }
.form-group .form-prefix {
  position: absolute;
  left: 0;
  /* Anchor to the input row only, not the full flex column (which also
     holds the label above and the hint below). top = label line + group
     gap; height = input border-box. Keeps the prefix matched to the input
     and robust to the hint wrapping on narrow screens. */
  top: calc(0.75rem * 1.7 + 0.5rem);
  height: calc(0.95rem * 1.7 + 1.9rem + 2px);
  display: flex; align-items: center;
  padding: 0 0.85rem;
  font-size: 0.95rem;
  color: var(--warm-brown);
  font-weight: 500;
  pointer-events: none;
  background: transparent;
}
/* Option B: short, fixed-height divider that can never overshoot the input */
.form-group .form-prefix::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 1.5rem;
  background: var(--glass-border);
}

/* ---------- 32. Product CTA split ---------- */
.product-cta--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.product-cta--split .btn { width: 100%; padding: 0.7rem 0.75rem; font-size: 0.78rem; }
.product-cta--split .btn .arrow { display: none; }

/* ---------- 33. Article (resource detail) ---------- */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.article-header {
  padding-top: 9rem;
  padding-bottom: var(--space-6);
  text-align: center;
  position: relative;
}
.article-cover {
  width: 96px; height: 96px;
  margin: 0 auto 1.75rem;
  border-radius: var(--r-xl);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.75rem; color: var(--gold-deep);
  background: linear-gradient(135deg, var(--blush-soft), var(--peach-soft));
  box-shadow: var(--glass-shadow);
}
.article-cover.bg-2 { background: linear-gradient(135deg, var(--lavender-soft), var(--mauve)); }
.article-cover.bg-3 { background: linear-gradient(135deg, var(--mint-soft), var(--gold-pale)); }
.article-cover.bg-4 { background: linear-gradient(135deg, var(--sky-soft), var(--lavender-soft)); }
.article-cover.bg-5 { background: linear-gradient(135deg, var(--peach), var(--blush)); }
.article-cover.bg-6 { background: linear-gradient(135deg, var(--gold-pale), var(--rose)); }
.article-header h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.1;
  margin: 0.5rem auto 0;
  max-width: 16ch;
}
.article-meta {
  display: flex; flex-wrap: wrap;
  justify-content: center; align-items: center;
  gap: 0.5rem 1rem;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--warm-brown);
}
.article-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); opacity: 0.6; }

.article-body { padding-bottom: var(--space-7); }
.article-body > * + * { margin-top: 1.5rem; }
.article-lead {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.5;
  color: var(--charcoal);
  font-style: italic;
}
.article-body p { color: var(--charcoal); font-size: 1.08rem; line-height: 1.85; }
.article-body h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-top: 2.75rem;
  letter-spacing: -0.01em;
}
.article-body h3 { font-size: 1.35rem; margin-top: 2rem; color: var(--gold-deep); }
.article-body ul { margin-left: 0; display: flex; flex-direction: column; gap: 0.65rem; }
.article-body li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--charcoal);
  font-size: 1.05rem;
  line-height: 1.7;
}
.article-body li::before {
  content: '❀';
  position: absolute; left: 0; top: 0.05em;
  color: var(--gold); font-size: 0.85rem;
}
.article-body strong { font-weight: 600; color: var(--charcoal); }
.article-body a:not(.btn) { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }

.article-quote {
  margin: 2.5rem 0;
  padding: 1.75rem 2rem;
  border-left: 3px solid var(--gold);
  background: var(--glass-bg-soft);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--charcoal);
}

.article-author {
  margin-top: var(--space-6);
  padding: 1.75rem;
  display: flex; align-items: center; gap: 1.25rem;
}
.article-author img {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--glass-border);
}
.article-author-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; }
.article-author-role { font-size: 0.8rem; letter-spacing: 0.05em; color: var(--warm-brown); margin-top: 0.15rem; }
.article-author-bio { font-size: 0.92rem; color: var(--warm-brown); margin-top: 0.4rem; line-height: 1.6; }

.article-cta {
  margin: var(--space-6) 0 var(--space-7);
  text-align: center;
  padding: clamp(2rem, 4vw, 3rem);
}
.article-cta h2 { margin-bottom: 0.75rem; }
.article-cta p { color: var(--warm-brown); max-width: 460px; margin: 0 auto 1.5rem; }

.article-back {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 8.5rem;
  font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 500;
}
.article-back:hover { gap: 0.75rem; }

@media (max-width: 600px) {
  .article-header { padding-top: 7rem; }
  .article-author { flex-direction: column; text-align: center; }
}

/* ---------- 12d. Hero card stack (drag / tap to shuffle) ---------- */
/* Compact pile: cards overlap, top card draggable. Driven by main.js.
   Falls back to the plain flowing column if JS is off. */
.display-cards.dc-stack {
  position: relative;
  display: block;
  perspective: 1200px;
  margin-inline: auto;
  max-width: 100%;
}
/* Bigger, more present cards in the stack */
.display-cards.dc-stack .dc-card { padding: 2rem 2.25rem; gap: 1.75rem; }
.display-cards.dc-stack .dc-icon { width: 68px; height: 68px; }
.display-cards.dc-stack .dc-icon svg { width: 28px; height: 28px; }
.display-cards.dc-stack .dc-title { font-size: 1.55rem; }
.display-cards.dc-stack .dc-desc { font-size: 1rem; }
.display-cards.dc-stack .dc-eyebrow { font-size: 0.7rem; }
.display-cards.dc-stack .dc-card {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  backface-visibility: hidden;
  will-change: transform;
  transition: transform 0.55s cubic-bezier(0.34, 1.4, 0.5, 1);
}
.display-cards.dc-stack .dc-card.is-top { cursor: grab; }
.display-cards.dc-stack .dc-card.is-dragging { cursor: grabbing; transition: none; }
/* JS controls transform; neutralise the column hover-lift while stacked */
.display-cards.dc-stack .dc-card:hover { transform: none; }

/* Mobile overrides */
@media (max-width: 600px) {
  .cart-drawer { width: 100%; }
  .checkout-shell { padding: 1.5rem; border-radius: var(--r-lg); }
  .checkout-header h3 { font-size: 1.4rem; }
  .product-cta--split { grid-template-columns: 1fr; }
  .nav-cart { margin-left: 0.25rem; }
}

/* ===================================================================
   34. Bilingual: Arabic typography + RTL
   =================================================================== */

/* When Arabic is active, re-point the font tokens to the brand AR fonts.
   Every component already uses these vars, so this reskins the whole UI. */
html[lang="ar"] {
  --font-display: 'Zainab AlSabba', 'Tajawal', serif;
  --font-body:    'Tajawal', 'SST Arabic', sans-serif;
  --font-num:     'Tajawal', 'SST Arabic', sans-serif;
  --font-script:  'Zainab AlSabba', 'Tajawal', serif;
}
/* Arabic reads a touch larger; nudge line-height for the script */
html[lang="ar"] body { line-height: 1.8; }
html[lang="ar"] .hero-headline em,
html[lang="ar"] .gradient-text-anim { font-style: normal; }

/* Smooth language crossfade (content briefly dips during swap) */
.lang-swapping .container,
.lang-swapping .nav,
.lang-swapping .footer { transition: opacity 0.25s var(--ease-out); opacity: 0.35; }

/* Language toggle button (sits beside the cart) */
.nav-lang {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; min-width: 40px; padding: 0 0.65rem;
  margin-inline-start: 0.5rem;
  border-radius: var(--r-pill);
  background: var(--glass-bg);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em;
  cursor: pointer; flex-shrink: 0;
  transition: background 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.nav-lang:hover { background: var(--glass-bg-strong); transform: translateY(-1px); }
html[lang="ar"] .nav-lang { font-family: 'Inter', sans-serif; } /* "EN" label stays Latin */

/* ---- RTL layout corrections ---- */
[dir="rtl"] .nav-cart { margin-left: 0; margin-right: 0.5rem; }
[dir="rtl"] .nav-cta { margin-left: 0; margin-right: 0.5rem; }
[dir="rtl"] .nav-cart-count { right: auto; left: -4px; }

/* Directional arrows flip to point the reading direction */
[dir="rtl"] .arrow { display: inline-block; transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .service-card:hover .service-card-link .arrow { transform: scaleX(-1) translateX(4px); }

/* Left-aligned blocks become right-aligned */
[dir="rtl"] .process-step,
[dir="rtl"] .faq-q,
[dir="rtl"] .story-content,
[dir="rtl"] .article-body { text-align: right; }

/* Pull quote bar swaps side */
[dir="rtl"] .story-pullquote { border-left: none; border-right: 2px solid var(--gold); padding-left: 0; padding-right: 1.5rem; }
[dir="rtl"] .article-quote { border-left: none; border-right: 3px solid var(--gold); border-radius: var(--r-md) 0 0 var(--r-md); }

/* Article bullet list flips */
[dir="rtl"] .article-body li { padding-left: 0; padding-right: 1.6rem; }
[dir="rtl"] .article-body li::before { left: auto; right: 0; }

/* Product badge corner */
[dir="rtl"] .product-badge { right: auto; left: 0.75rem; }

/* Resource search icon + input padding */
[dir="rtl"] .filter-search svg { left: auto; right: 1rem; }
[dir="rtl"] .filter-search input { padding-left: 1.25rem; padding-right: 3rem; }

/* Checkout phone prefix (+973) moves to the right of the field */
[dir="rtl"] .form-group.has-prefix .form-control { padding-left: 1.25rem; padding-right: 4.5rem; }
[dir="rtl"] .form-prefix { left: auto; right: 0; }
[dir="rtl"] .form-prefix::after { right: auto; left: 0; }

/* Cart drawer slides in from the left in RTL */
[dir="rtl"] .cart-drawer {
  right: auto; left: 0;
  border-left: none; border-right: 1px solid var(--glass-border);
  box-shadow: 20px 0 60px rgba(58, 46, 42, 0.18);
  transform: translateX(-100%);
}
[dir="rtl"] .cart-drawer.is-open { transform: translateX(0); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
  .cart-drawer { transform: translateX(0); }
  [dir="rtl"] .cart-drawer { transform: translateX(0); }
  .drawer-overlay { opacity: 1; }
  .checkout-shell { opacity: 1; transform: none; }
  .modal-overlay { opacity: 1; }
}
