/* ===========================================================
   GUGGI AI — V2 · LUXURY AI FASHION OPERATING SYSTEM
   Dark cinematic editorial. Obsidian + burnt gold.
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght,SOFT,WONK@9..144,300..900,0..100,0..1&family=Geist:wght@300..800&family=Geist+Mono:wght@400..600&display=swap');

:root {
  --obsidian: #0F0B08;
  --brown-deep: #1E130D;
  --brown-mid: #2B1A10;
  --brown-warm: #3A2616;
  --gold: #C4783A;
  --gold-light: #D89559;
  --gold-soft: #E8B385;
  --gold-dark: #8E5520;
  --gold-deep: #5E3814;
  --bronze: #B86A2D;
  --champagne: #E8D5C4;
  --silk: #F8F3EC;
  --cream: #FAF6F0;
  --paper: #FFFCF7;
  --blush: #E8C9B3;
  --on-dark: #F4ECDF;
  --on-dark-mute: rgba(244, 236, 223, 0.65);
  --on-dark-faint: rgba(244, 236, 223, 0.4);
  --on-light: #1A0F08;
  --on-light-mute: #5C4A3E;
  --on-light-faint: #9A8779;
  --border-dark: rgba(196, 120, 58, 0.18);
  --border-dark-bright: rgba(196, 120, 58, 0.35);
  --max-width: 1280px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-body: 'Geist', system-ui, -apple-system, sans-serif;
  --font-mono: 'Geist Mono', 'JetBrains Mono', monospace;
  --shadow-deep: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  --ease-luxury: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--obsidian);
  color: var(--on-dark);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Film grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.7 0 0 0 0 0.5 0 0 0 0 0.3 0 0 0 0.07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
body > * { position: relative; z-index: 2; }

a { color: var(--gold-light); text-decoration: none; transition: color 0.2s var(--ease-luxury); }
a:hover { color: var(--gold-soft); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 40px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 32px; }

/* ============= MASTHEAD STRIP ============= */
.masthead-strip {
  background: var(--obsidian);
  color: var(--on-dark-mute);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 11px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border-dark);
}
.masthead-strip .dot { width: 4px; height: 4px; background: var(--gold); border-radius: 50%; display: inline-block; }
.masthead-strip strong { color: var(--gold-light); font-weight: 500; }

/* ============= NAV ============= */
.nav {
  padding: 24px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(15, 11, 8, 0.78);
  border-bottom: 1px solid var(--border-dark);
}
.nav-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 40px; display: flex; justify-content: space-between; align-items: center; }
.nav-brand {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  letter-spacing: -0.01em;
  color: var(--on-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-brand::before { content: ''; width: 8px; height: 8px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 12px var(--gold); }
.nav-brand:hover { color: var(--gold-soft); }
.nav-links { display: flex; gap: 38px; align-items: center; }
.nav-links a { color: var(--on-dark-mute); font-size: 14px; font-weight: 400; position: relative; padding: 4px 0; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease-luxury); }
.nav-links a:hover { color: var(--on-dark); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--gold);
  color: var(--obsidian) !important;
  padding: 11px 22px !important;
  border-radius: 100px;
  font-size: 13px !important;
  font-weight: 500 !important;
  transition: all 0.3s var(--ease-luxury);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(196, 120, 58, 0.4); }

/* ============= HERO ============= */
.hero {
  padding: 90px 0 120px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(196, 120, 58, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(184, 106, 45, 0.12) 0%, transparent 60%),
    linear-gradient(180deg, var(--obsidian) 0%, var(--brown-deep) 100%);
}
.hero::before {
  content: '';
  position: absolute;
  top: 10%; right: -8%;
  width: 540px; height: 540px;
  background: radial-gradient(circle, rgba(216, 149, 89, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: breathe 8s ease-in-out infinite;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -10%; left: -8%;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(196, 120, 58, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: breathe 10s ease-in-out infinite reverse;
}
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
}

.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 2; }

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 36px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.hero-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold-light); }
.hero-eyebrow .live-dot { width: 6px; height: 6px; background: var(--gold-light); border-radius: 50%; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 10px var(--gold-light); }
  50% { opacity: 0.3; }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 7.5vw, 96px);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: var(--on-dark);
  margin-bottom: 36px;
}
.hero-headline em {
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--gold-light);
  position: relative;
  display: inline-block;
}
.hero-headline em::after {
  content: '';
  position: absolute;
  left: -2%; right: -2%; bottom: 0.06em;
  height: 0.16em;
  background: var(--gold);
  opacity: 0.3;
  z-index: -1;
  border-radius: 4px;
}

.hero-sub { font-size: 19px; line-height: 1.5; color: var(--on-dark-mute); max-width: 480px; margin-bottom: 44px; }

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 17px 30px;
  border-radius: 100px;
  font-family: var(--font-body); font-weight: 500; font-size: 15px;
  text-decoration: none;
  transition: all 0.3s var(--ease-luxury);
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--gold); color: var(--obsidian); box-shadow: 0 4px 14px rgba(196, 120, 58, 0.3); }
.btn-primary:hover { background: var(--gold-light); color: var(--obsidian); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(196, 120, 58, 0.45), 0 0 60px rgba(196, 120, 58, 0.3); }
.btn-secondary { background: transparent; color: var(--on-dark); border-color: rgba(244, 236, 223, 0.3); }
.btn-secondary:hover { background: rgba(244, 236, 223, 0.06); border-color: var(--gold); transform: translateY(-2px); }
.btn .arrow { transition: transform 0.3s var(--ease-luxury); }
.btn:hover .arrow { transform: translateX(4px); }

.trust-bar { margin-top: 44px; display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-mute); }
.trust-item::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); }

/* ============= HERO PHONE with cycling stages ============= */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 640px; }
.hero-phone {
  width: 300px; height: 600px;
  background: var(--obsidian);
  border-radius: 46px;
  padding: 12px;
  box-shadow: var(--shadow-deep), 0 0 100px rgba(196, 120, 58, 0.25);
  position: relative;
  transform: rotate(-3deg);
  transition: transform 0.6s var(--ease-luxury);
  border: 1px solid rgba(196, 120, 58, 0.15);
  will-change: transform;
}
.hero-phone:hover { transform: rotate(-1deg) translateY(-8px); }
.hero-phone-screen {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #100A06 0%, #1E130D 60%, #2B1A10 100%);
  border-radius: 35px;
  overflow: hidden;
  position: relative;
  padding: 28px 22px 32px;
  display: flex; flex-direction: column;
}
.hero-phone-screen::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 20%, rgba(216, 149, 89, 0.12), transparent 70%); pointer-events: none; }

.phone-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 96px; height: 24px; background: var(--obsidian); border-radius: 0 0 14px 14px; z-index: 3; }
.phone-statusbar { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; color: var(--on-dark-mute); margin-top: 6px; margin-bottom: 16px; z-index: 2; position: relative; }

.phone-stages { flex: 1; position: relative; z-index: 2; }
.phone-stage { position: absolute; inset: 0; opacity: 0; display: flex; flex-direction: column; }
.phone-stage-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.phone-stage-label::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-light); }

.phone-stage--capture { animation: stage-1 9s infinite; will-change: opacity; }
@keyframes stage-1 { 0%, 30% { opacity: 1; } 33%, 100% { opacity: 0; } }

.capture-frame { flex: 1; border-radius: 16px; position: relative; background: linear-gradient(135deg, rgba(196, 120, 58, 0.08), rgba(216, 149, 89, 0.04)); overflow: hidden; margin-bottom: 16px; }
.cap-corner { position: absolute; width: 22px; height: 22px; border: 2px solid var(--gold-light); }
.cap-corner.tl { top: 14px; left: 14px; border-right: none; border-bottom: none; }
.cap-corner.tr { top: 14px; right: 14px; border-left: none; border-bottom: none; }
.cap-corner.bl { bottom: 14px; left: 14px; border-right: none; border-top: none; }
.cap-corner.br { bottom: 14px; right: 14px; border-left: none; border-top: none; }
.reticle { position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--gold-light); transform: translate(-50%, -50%); animation: ret-pulse 2.4s ease-in-out infinite; }
.reticle::after { content: ''; position: absolute; inset: 38%; background: var(--gold); border-radius: 50%; box-shadow: 0 0 12px var(--gold); }
@keyframes ret-pulse { 0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; } 50% { transform: translate(-50%, -50%) scale(1.35); opacity: 1; } }
.scan-line { position: absolute; left: 10px; right: 10px; height: 1.5px; background: linear-gradient(90deg, transparent, var(--gold-light), transparent); box-shadow: 0 0 12px var(--gold-light); animation: scan-sweep 2.4s ease-in-out infinite; }
@keyframes scan-sweep { 0%, 100% { top: 8%; opacity: 0; } 10% { opacity: 1; } 50% { top: 90%; opacity: 1; } 60% { opacity: 0; } }
.cap-shutter-row { display: flex; justify-content: center; align-items: center; gap: 24px; }
.shutter-mini { width: 26px; height: 26px; border-radius: 7px; background: rgba(244, 236, 223, 0.1); }
.shutter-main { width: 50px; height: 50px; border-radius: 50%; border: 2.5px solid var(--on-dark); padding: 3px; }
.shutter-main::after { content: ''; display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--on-dark); }

.phone-stage--analyze { animation: stage-2 9s infinite; will-change: opacity; }
@keyframes stage-2 { 0%, 33% { opacity: 0; } 36%, 63% { opacity: 1; } 66%, 100% { opacity: 0; } }

.analyze-content { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; }
.ai-orb { position: relative; width: 100px; height: 100px; }
.ai-orb::before, .ai-orb::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--gold); animation: orb-ring 2.6s ease-out infinite; }
.ai-orb::after { animation-delay: 1.3s; }
@keyframes orb-ring { 0% { transform: scale(0.25); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.ai-orb-core { position: absolute; inset: 30%; background: radial-gradient(circle at 30% 30%, var(--gold-soft), var(--gold) 60%, var(--gold-dark)); border-radius: 50%; box-shadow: 0 0 30px var(--gold), inset 0 -8px 16px rgba(0,0,0,0.3); animation: breathe-core 2s ease-in-out infinite; will-change: transform; }
@keyframes breathe-core { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.analyze-caption { font-family: var(--font-display); font-style: italic; font-size: 16px; color: var(--on-dark); text-align: center; line-height: 1.35; font-variation-settings: "opsz" 144, "SOFT" 100; }
.analyze-bar { width: 80%; height: 3px; background: rgba(196, 120, 58, 0.18); border-radius: 2px; overflow: hidden; }
.analyze-bar-fill { height: 100%; width: 100%; background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light)); border-radius: 2px; transform-origin: left; animation: bar-loop 2.8s cubic-bezier(0.4, 0, 0.2, 1) infinite; will-change: transform; }
@keyframes bar-loop { 0% { transform: scaleX(0); } 85%, 100% { transform: scaleX(1); } }
.analyze-tags { display: flex; gap: 7px; flex-wrap: wrap; justify-content: center; }
.analyze-tag { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 11px; border: 0.5px solid var(--border-dark-bright); border-radius: 100px; color: var(--gold-light); }

.phone-stage--result { animation: stage-3 9s infinite; will-change: opacity; }
@keyframes stage-3 { 0%, 66% { opacity: 0; } 69%, 96% { opacity: 1; } 99%, 100% { opacity: 0; } }

.result-content { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.score-block { display: flex; align-items: baseline; gap: 12px; }
.score-num { font-family: var(--font-display); font-size: 64px; font-weight: 400; line-height: 1; color: var(--gold-light); font-variation-settings: "opsz" 144; }
.score-cap { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-mute); }
.bars { display: flex; flex-direction: column; gap: 9px; }
.bar-row { display: flex; align-items: center; gap: 10px; font-size: 11px; }
.bar-label { width: 56px; color: var(--on-dark-mute); }
.bar-track { flex: 1; height: 4px; background: rgba(196, 120, 58, 0.15); border-radius: 2px; overflow: hidden; }
.bar-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: 2px; transform-origin: left; }
.palette-row { display: flex; gap: 4px; margin-top: 2px; }
.palette-sw { flex: 1; height: 26px; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.style-tip { background: rgba(196, 120, 58, 0.1); border-left: 2px solid var(--gold); padding: 10px 12px; border-radius: 0 8px 8px 0; font-family: var(--font-display); font-style: italic; font-size: 12px; line-height: 1.45; color: var(--on-dark); margin-top: auto; }

.stage-pips { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 5; }
.stage-pip { width: 16px; height: 3px; background: rgba(244, 236, 223, 0.15); border-radius: 2px; overflow: hidden; position: relative; }
.stage-pip::after { content: ''; position: absolute; inset: 0; background: var(--gold-light); transform: translateX(-100%); }
.stage-pip:nth-child(1)::after { animation: pip-fill 9s linear infinite; }
.stage-pip:nth-child(2)::after { animation: pip-fill 9s linear infinite; animation-delay: 3s; }
.stage-pip:nth-child(3)::after { animation: pip-fill 9s linear infinite; animation-delay: 6s; }
@keyframes pip-fill { 0% { transform: translateX(-100%); } 3% { transform: translateX(-100%); } 33% { transform: translateX(0); } 36%, 100% { transform: translateX(100%); } }

.hero-deco { position: absolute; font-family: var(--font-display); font-style: italic; color: var(--gold-light); opacity: 0.55; pointer-events: none; font-size: 14px; letter-spacing: 0.1em; }
.hero-deco-1 { top: 8%; right: 4%; transform: rotate(8deg); }
.hero-deco-2 { bottom: 8%; left: 2%; transform: rotate(-6deg); }

/* ============= MARQUEE ============= */
.marquee {
  background: var(--brown-deep);
  padding: 28px 0;
  overflow: hidden;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}
.marquee-track { display: flex; gap: 64px; animation: scroll 35s linear infinite; white-space: nowrap; width: max-content; will-change: transform; }
.marquee-item { font-family: var(--font-display); font-size: 38px; font-style: italic; font-weight: 300; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 64px; font-variation-settings: "opsz" 144, "SOFT" 100; }
.marquee-item::after { content: '✦'; color: var(--gold-light); font-size: 22px; font-style: normal; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============= SECTION HEADER ============= */
.section-header { text-align: center; margin-bottom: 80px; }
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.section-eyebrow::before, .section-eyebrow::after { content: ''; width: 30px; height: 1px; background: var(--gold-light); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--on-dark);
  margin-bottom: 22px;
}
.section-title em { font-style: italic; color: var(--gold-light); font-weight: 300; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }
.section-sub { font-size: 18px; color: var(--on-dark-mute); max-width: 600px; margin: 0 auto; line-height: 1.55; }

.section--light .section-title { color: var(--on-light); }
.section--light .section-sub { color: var(--on-light-mute); }
.section--light .section-eyebrow { color: var(--gold-dark); }
.section--light .section-eyebrow::before,
.section--light .section-eyebrow::after { background: var(--gold-dark); }

/* ============= LIVE DEMO — 3 phones ============= */
.live-demo { background: var(--silk); color: var(--on-light); padding: 140px 0; position: relative; overflow: hidden; }
.live-demo::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 800px; height: 800px; background: radial-gradient(circle, rgba(196, 120, 58, 0.08) 0%, transparent 60%); pointer-events: none; }

.demo-flow { display: flex; gap: 28px; justify-content: center; align-items: flex-start; position: relative; z-index: 2; }
.demo-step { display: flex; flex-direction: column; align-items: center; flex: 0 0 auto; width: 240px; opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--ease-luxury), transform 0.9s var(--ease-luxury); }
.demo-flow.in-view .demo-step:nth-child(1) { transition-delay: 0.05s; }
.demo-flow.in-view .demo-step:nth-child(3) { transition-delay: 0.30s; }
.demo-flow.in-view .demo-step:nth-child(5) { transition-delay: 0.55s; }
.demo-flow.in-view .demo-step { opacity: 1; transform: translateY(0); }
.demo-arrow { color: var(--gold); font-family: var(--font-display); font-size: 34px; align-self: center; margin-top: 220px; opacity: 0; transition: opacity 0.6s ease; }
.demo-flow.in-view .demo-arrow:nth-of-type(2) { opacity: 0.55; transition-delay: 0.45s; }
.demo-flow.in-view .demo-arrow:nth-of-type(4) { opacity: 0.55; transition-delay: 0.7s; }

.step-num-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.step-num-label::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.demo-phone {
  width: 220px; height: 440px;
  background: var(--obsidian);
  border-radius: 36px;
  padding: 10px;
  box-shadow: 0 24px 48px -16px rgba(26, 15, 8, 0.45), 0 8px 16px -4px rgba(26, 15, 8, 0.2);
  position: relative;
  transition: transform 0.5s var(--ease-luxury);
  border: 1px solid rgba(196, 120, 58, 0.1);
}
.demo-phone:hover { transform: translateY(-8px) rotate(-1deg); }
.demo-phone .phone-screen-inner { width: 100%; height: 100%; background: linear-gradient(160deg, var(--brown-deep) 0%, var(--brown-mid) 100%); border-radius: 27px; overflow: hidden; position: relative; padding: 22px 16px 16px; display: flex; flex-direction: column; color: var(--on-dark); }
.demo-phone .phone-notch { top: 8px; width: 70px; height: 18px; }
.demo-phone .phone-statusbar { font-size: 10px; margin-bottom: 12px; }
.demo-phone .phone-screen-title { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 14px; }
.demo-phone .capture-frame { margin-bottom: 14px; }
.demo-phone .ai-orb { width: 80px; height: 80px; }
.demo-phone .score-num { font-size: 56px; }
.demo-phone .analyze-content { gap: 22px; }
.demo-flow.in-view .demo-phone .bar-fill { animation: bar-grow 1.4s var(--ease-luxury) 1.4s forwards; }
@keyframes bar-grow { from { transform: scaleX(0); } to { transform: scaleX(var(--w, 0.8)); } }
.demo-flow.in-view .demo-phone .palette-sw { opacity: 0; animation: pal-pop 0.5s var(--ease-luxury) forwards; }
.demo-flow.in-view .demo-phone .palette-sw:nth-child(1) { animation-delay: 1.7s; }
.demo-flow.in-view .demo-phone .palette-sw:nth-child(2) { animation-delay: 1.8s; }
.demo-flow.in-view .demo-phone .palette-sw:nth-child(3) { animation-delay: 1.9s; }
.demo-flow.in-view .demo-phone .palette-sw:nth-child(4) { animation-delay: 2.0s; }
.demo-flow.in-view .demo-phone .palette-sw:nth-child(5) { animation-delay: 2.1s; }
@keyframes pal-pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.step-cap-title { font-family: var(--font-display); font-size: 20px; font-weight: 500; color: var(--on-light); margin-top: 28px; margin-bottom: 8px; letter-spacing: -0.01em; text-align: center; }
.step-cap-body { font-size: 13px; color: var(--on-light-mute); text-align: center; line-height: 1.55; max-width: 200px; }

/* ============= THE EDIT — features ============= */
.edit { padding: 140px 0; position: relative; background: var(--obsidian); }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature-card {
  background: linear-gradient(135deg, rgba(196, 120, 58, 0.04) 0%, rgba(216, 149, 89, 0.02) 100%);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 44px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease-luxury);
  backdrop-filter: blur(6px);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.feature-card::before { content: ''; position: absolute; top: 0; right: 0; width: 280px; height: 280px; background: radial-gradient(circle at top right, rgba(196, 120, 58, 0.15), transparent 70%); pointer-events: none; opacity: 0; transition: opacity 0.6s var(--ease-luxury); }
.feature-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 60px rgba(196, 120, 58, 0.15); }
.feature-card:hover::before { opacity: 1; }
.feature-num { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.2em; color: var(--gold-light); margin-bottom: 28px; display: flex; align-items: center; gap: 14px; }
.feature-num::after { content: ''; flex: 1; height: 1px; background: var(--border-dark); }
.feature-icon { width: 60px; height: 60px; border-radius: 18px; background: linear-gradient(135deg, var(--gold-dark), var(--gold)); display: flex; align-items: center; justify-content: center; margin-bottom: 28px; color: var(--obsidian); box-shadow: 0 8px 24px rgba(196, 120, 58, 0.25); }
.feature-icon svg { width: 30px; height: 30px; }
.feature-card h3 { font-family: var(--font-display); font-size: 32px; font-weight: 400; font-variation-settings: "opsz" 144, "SOFT" 40; letter-spacing: -0.015em; color: var(--on-dark); margin-bottom: 14px; line-height: 1.1; }
.feature-card p { font-size: 15px; color: var(--on-dark-mute); line-height: 1.65; }
.feature-card.featured { grid-column: span 2; background: linear-gradient(135deg, var(--gold-deep) 0%, var(--brown-warm) 100%); border-color: var(--gold); }
.feature-card.featured .feature-icon { background: var(--obsidian); color: var(--gold-light); }

/* ============= GUGGI LAB ============= */
.guggi-lab {
  background: var(--silk);
  color: var(--on-light);
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.guggi-lab::before {
  content: '';
  position: absolute;
  top: -10%; right: -8%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(196, 120, 58, 0.1) 0%, transparent 65%);
  pointer-events: none;
}
.guggi-lab::after {
  content: '';
  position: absolute;
  bottom: -8%; left: -6%;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(232, 201, 179, 0.35) 0%, transparent 65%);
  pointer-events: none;
}
.guggi-lab .section-eyebrow { color: var(--gold-dark); }
.guggi-lab .section-eyebrow::before,
.guggi-lab .section-eyebrow::after { background: var(--gold-dark); }
.guggi-lab .section-title { color: var(--on-light); }
.guggi-lab .section-sub { color: var(--on-light-mute); }

.lab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.lab-card {
  background: var(--paper);
  border: 1px solid rgba(196, 120, 58, 0.2);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.4s var(--ease-luxury);
}
.lab-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 200px; height: 200px;
  background: radial-gradient(circle at top right, rgba(196, 120, 58, 0.07), transparent 70%);
  pointer-events: none;
}
.lab-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 20px 48px rgba(26, 15, 8, 0.1), 0 0 40px rgba(196, 120, 58, 0.08);
}

/* Featured centre card — dark */
.lab-card--featured {
  background: linear-gradient(160deg, var(--gold-deep) 0%, #2B1A10 100%);
  border-color: var(--gold);
  color: var(--on-dark);
}
.lab-card--featured::before {
  background: radial-gradient(circle at top right, rgba(216, 149, 89, 0.18), transparent 70%);
}
.lab-card--featured:hover {
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35), 0 0 60px rgba(196, 120, 58, 0.2);
}

.lab-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 26px;
}
.lab-icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  display: flex; align-items: center; justify-content: center;
  color: var(--paper);
  box-shadow: 0 6px 20px rgba(196, 120, 58, 0.28);
  flex-shrink: 0;
}
.lab-card--featured .lab-icon {
  background: rgba(244, 236, 223, 0.12);
  box-shadow: none;
  border: 1px solid rgba(244, 236, 223, 0.18);
  color: var(--gold-light);
}
.lab-icon svg { width: 26px; height: 26px; }

.lab-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(196, 120, 58, 0.1);
  border: 0.5px solid rgba(196, 120, 58, 0.28);
  padding: 5px 11px;
  border-radius: 100px;
}
.lab-card--featured .lab-badge {
  color: var(--gold-light);
  background: rgba(216, 149, 89, 0.15);
  border-color: rgba(216, 149, 89, 0.3);
}

.lab-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 40;
  letter-spacing: -0.015em;
  color: var(--on-light);
  margin-bottom: 12px;
  line-height: 1.1;
}
.lab-card--featured h3 { color: var(--on-dark); }

.lab-card > p {
  font-size: 14px;
  color: var(--on-light-mute);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 28px;
}
.lab-card--featured > p { color: var(--on-dark-mute); }

.lab-divider {
  height: 1px;
  background: rgba(196, 120, 58, 0.15);
  margin-bottom: 20px;
}
.lab-card--featured .lab-divider { background: rgba(244, 236, 223, 0.1); }

.lab-limits { display: flex; flex-direction: column; gap: 9px; }

.lab-limit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.lab-tier {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-light-faint);
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.04);
}
.lab-card--featured .lab-tier {
  color: var(--on-dark-faint);
  background: rgba(255, 255, 255, 0.06);
}
.lab-tier.elite {
  color: var(--gold-dark);
  font-weight: 500;
  background: rgba(196, 120, 58, 0.1);
}
.lab-card--featured .lab-tier.elite {
  color: var(--gold-light);
  background: rgba(216, 149, 89, 0.14);
}

.lab-count {
  font-family: var(--font-display);
  font-size: 15px;
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  color: var(--on-light-mute);
}
.lab-card--featured .lab-count { color: var(--on-dark-mute); }
.lab-limit-row:last-child .lab-count { color: var(--gold-dark); }
.lab-card--featured .lab-limit-row:last-child .lab-count { color: var(--gold-light); }

/* Responsive */
@media (max-width: 900px) {
  .lab-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 600px) {
  .lab-card { padding: 26px; }
  .lab-card h3 { font-size: 24px; }
}

/* ============= STYLE DNA ============= */
.style-dna { padding: 140px 0; background: linear-gradient(180deg, var(--obsidian) 0%, var(--brown-deep) 100%); position: relative; overflow: hidden; }
.dna-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
.dna-copy h2 { font-family: var(--font-display); font-size: clamp(36px, 5vw, 60px); font-weight: 300; line-height: 1.05; letter-spacing: -0.03em; color: var(--on-dark); margin-bottom: 20px; }
.dna-copy h2 em { font-style: italic; color: var(--gold-light); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }
.dna-copy > p { font-size: 17px; color: var(--on-dark-mute); line-height: 1.6; margin-bottom: 28px; }
.dna-eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 22px; display: inline-flex; align-items: center; gap: 14px; }
.dna-eyebrow::before { content: ''; width: 30px; height: 1px; background: var(--gold-light); }
.dna-traits { list-style: none; display: flex; flex-direction: column; gap: 0; padding: 0; margin: 0; }
.dna-trait { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border-dark); }
.dna-trait:last-child { border-bottom: none; }
.dna-trait-icon { width: 38px; height: 38px; border-radius: 10px; background: rgba(196, 120, 58, 0.12); border: 1px solid var(--border-dark-bright); display: flex; align-items: center; justify-content: center; color: var(--gold-light); flex-shrink: 0; }
.dna-trait-icon svg { width: 18px; height: 18px; }
.dna-trait-content strong { font-family: var(--font-display); font-style: italic; font-size: 18px; color: var(--on-dark); font-weight: 500; margin-right: 8px; }
.dna-trait-content span { font-size: 14px; color: var(--on-dark-mute); }

.dna-visual { position: relative; width: 100%; aspect-ratio: 1; max-width: 480px; margin: 0 auto; }
.dna-svg { width: 100%; height: 100%; filter: drop-shadow(0 0 40px rgba(196, 120, 58, 0.25)); }
.dna-svg .dna-ring { fill: none; stroke: rgba(196, 120, 58, 0.18); stroke-width: 1; }
.dna-svg .dna-ring.bright { stroke: var(--gold); stroke-width: 1.5; }
.dna-svg .dna-spoke { stroke: rgba(196, 120, 58, 0.12); stroke-width: 1; }
.dna-svg .dna-shape { fill: rgba(196, 120, 58, 0.18); stroke: var(--gold-light); stroke-width: 2; stroke-linejoin: round; filter: drop-shadow(0 0 12px var(--gold)); animation: dna-pulse 6s ease-in-out infinite; transform-origin: center; }
@keyframes dna-pulse { 0%, 100% { transform: scale(1); opacity: 0.9; } 50% { transform: scale(1.04); opacity: 1; } }
.dna-svg .dna-point { fill: var(--gold-light); }
.dna-svg .dna-label { font-family: var(--font-display); font-style: italic; font-size: 15px; fill: var(--on-dark); font-variation-settings: "opsz" 144, "SOFT" 100; }
.dna-svg .dna-value { font-family: var(--font-mono); font-size: 10px; fill: var(--gold-light); letter-spacing: 0.1em; }
.dna-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; }
.dna-center .label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 6px; }
.dna-center .value { font-family: var(--font-display); font-style: italic; font-size: 26px; color: var(--on-dark); font-weight: 400; }

/* ============= AI MIRROR ============= */
.mirror { background: var(--silk); color: var(--on-light); padding: 140px 0; position: relative; overflow: hidden; }
.mirror::before { content: ''; position: absolute; top: -10%; right: -10%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(196, 120, 58, 0.12) 0%, transparent 65%); pointer-events: none; }
.mirror::after { content: ''; position: absolute; bottom: -10%; left: -10%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(232, 201, 179, 0.4) 0%, transparent 65%); pointer-events: none; }

.mirror-stage { position: relative; height: 460px; max-width: 900px; margin: 60px auto 0; }
.mirror-word { position: absolute; font-family: var(--font-display); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; letter-spacing: -0.02em; white-space: nowrap; opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--ease-luxury), transform 0.8s var(--ease-luxury); }
.mirror-stage.in-view .mirror-word { opacity: 1; transform: translateY(0); }
.mirror-stage.in-view .mirror-word:nth-child(1) { transition-delay: 0.1s; }
.mirror-stage.in-view .mirror-word:nth-child(2) { transition-delay: 0.25s; }
.mirror-stage.in-view .mirror-word:nth-child(3) { transition-delay: 0.4s; }
.mirror-stage.in-view .mirror-word:nth-child(4) { transition-delay: 0.55s; }
.mirror-stage.in-view .mirror-word:nth-child(5) { transition-delay: 0.7s; }
.mirror-stage.in-view .mirror-word:nth-child(6) { transition-delay: 0.85s; }
.mirror-stage.in-view .mirror-word:nth-child(7) { transition-delay: 1.0s; }
.mirror-stage.in-view .mirror-word:nth-child(8) { transition-delay: 1.15s; }
.mirror-word.solid { font-style: normal; font-weight: 400; color: var(--on-light); }
.mirror-word.outline { font-style: italic; font-weight: 300; color: transparent; -webkit-text-stroke: 1px var(--gold-dark); }
.mirror-word.gold { font-style: italic; font-weight: 300; color: var(--gold-dark); }
.mirror-w-1 { top: 10%; left: 6%; font-size: 56px; }
.mirror-w-2 { top: 2%; right: 10%; font-size: 38px; }
.mirror-w-3 { top: 38%; left: 30%; font-size: 78px; }
.mirror-w-4 { top: 66%; left: 4%; font-size: 44px; }
.mirror-w-5 { top: 20%; right: 2%; font-size: 64px; }
.mirror-w-6 { bottom: 6%; right: 18%; font-size: 50px; }
.mirror-w-7 { top: 56%; right: 4%; font-size: 32px; }
.mirror-w-8 { bottom: 16%; left: 32%; font-size: 28px; }
.mirror-caption { position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-light-faint); }

/* ============= FASHION INTELLIGENCE ENGINE ============= */
.engine { background: var(--obsidian); padding: 140px 0; position: relative; overflow: hidden; }
.engine::before { content: ''; position: absolute; top: 30%; left: 50%; transform: translate(-50%, -50%); width: 900px; height: 500px; background: radial-gradient(ellipse, rgba(196, 120, 58, 0.12), transparent 65%); pointer-events: none; }
.engine-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 20px; align-items: center; margin-top: 60px; position: relative; z-index: 2; }
.engine-node { background: linear-gradient(160deg, rgba(196, 120, 58, 0.08) 0%, rgba(196, 120, 58, 0.02) 100%); border: 1px solid var(--border-dark-bright); border-radius: var(--radius-lg); padding: 32px 24px; text-align: center; position: relative; opacity: 0; transform: translateY(24px); transition: all 0.8s var(--ease-luxury); }
.engine-flow.in-view .engine-node { opacity: 1; transform: translateY(0); }
.engine-flow.in-view .engine-node:nth-of-type(1) { transition-delay: 0.05s; }
.engine-flow.in-view .engine-node:nth-of-type(3) { transition-delay: 0.25s; }
.engine-flow.in-view .engine-node:nth-of-type(5) { transition-delay: 0.45s; }
.engine-flow.in-view .engine-node:nth-of-type(7) { transition-delay: 0.65s; }
.engine-node:hover { border-color: var(--gold); transform: translateY(-4px); }
.engine-icon { width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; color: var(--obsidian); }
.engine-icon svg { width: 24px; height: 24px; }
.engine-node h4 { font-family: var(--font-display); font-size: 20px; font-weight: 500; color: var(--on-dark); margin-bottom: 8px; letter-spacing: -0.01em; }
.engine-node p { font-size: 12px; color: var(--on-dark-mute); line-height: 1.5; }
.engine-connector { display: flex; align-items: center; justify-content: center; position: relative; height: 2px; }
.engine-connector::after { content: ''; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.engine-connector::before { content: ''; position: absolute; width: 6px; height: 6px; background: var(--gold-light); border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 12px var(--gold-light); animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; } 50% { transform: translate(-50%, -50%) scale(1.5); opacity: 1; } }
.engine-flow .engine-connector:nth-of-type(4)::before { animation-delay: 0.5s; }
.engine-flow .engine-connector:nth-of-type(6)::before { animation-delay: 1s; }

.engine-meta { display: flex; gap: 36px; justify-content: center; margin-top: 70px; flex-wrap: wrap; }
.engine-stat { text-align: center; padding: 0 8px; }
.engine-stat-num { font-family: var(--font-display); font-size: 48px; font-weight: 400; color: var(--gold-light); line-height: 1; margin-bottom: 10px; }
.engine-stat-num em { font-style: italic; font-size: 24px; margin-left: 2px; }
.engine-stat-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-dark-faint); }

/* ============= REAL MOMENTS ============= */
.moments { padding: 140px 0; background: var(--silk); color: var(--on-light); position: relative; }
.moments-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 60px; }
.moment-card { aspect-ratio: 3/4; border-radius: var(--radius-lg); position: relative; overflow: hidden; background: var(--obsidian); cursor: pointer; transition: all 0.5s var(--ease-luxury); }
.moment-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(0,0,0,0.25); }
.moment-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.7s var(--ease-luxury); }
.moment-card:hover .moment-bg { transform: scale(1.06); }
.moment-1 .moment-bg { background-image: linear-gradient(180deg, rgba(15,11,8,0.04) 0%, rgba(15,11,8,0.2) 48%, rgba(15,11,8,0.72) 100%), url("2864d3a5-6230-4254-9ba6-561b22688fa5.jpg"); background-position: center 34%; }
.moment-2 .moment-bg { background-image: linear-gradient(180deg, rgba(15,11,8,0.04) 0%, rgba(15,11,8,0.18) 46%, rgba(15,11,8,0.72) 100%), url("565f2976-d71e-4273-80d4-ab1760ed2039.jpg"); background-position: center 30%; }
.moment-3 .moment-bg { background-image: linear-gradient(180deg, rgba(15,11,8,0.03) 0%, rgba(15,11,8,0.16) 46%, rgba(15,11,8,0.72) 100%), url("5426ba3c-0b2f-4e2a-a9af-fea42e607ae6.jpg"); background-position: center 34%; }
.moment-4 .moment-bg { background-image: linear-gradient(180deg, rgba(15,11,8,0.04) 0%, rgba(15,11,8,0.2) 48%, rgba(15,11,8,0.74) 100%), url("10426.jpg"); background-position: center 20%; }
.moment-5 .moment-bg { background-image: linear-gradient(180deg, rgba(15,11,8,0.04) 0%, rgba(15,11,8,0.16) 46%, rgba(15,11,8,0.72) 100%), url("427fe825-128e-4bbf-831d-8945e6ba3ca4.jpg"); background-position: center 34%; }
.moment-6 .moment-bg { background-image: linear-gradient(180deg, rgba(15,11,8,0.04) 0%, rgba(15,11,8,0.18) 46%, rgba(15,11,8,0.74) 100%), url("10432.jpg"); background-position: center 22%; }
.moment-7 .moment-bg { background-image: linear-gradient(180deg, rgba(15,11,8,0.04) 0%, rgba(15,11,8,0.18) 48%, rgba(15,11,8,0.74) 100%), url("10430.jpg"); background-position: center 18%; }
.moment-8 .moment-bg { background-image: linear-gradient(180deg, rgba(15,11,8,0.04) 0%, rgba(15,11,8,0.18) 48%, rgba(15,11,8,0.72) 100%), url("37326f1a-abc6-4839-bf57-204af0f406ff.jpg"); background-position: center 34%; }
.moment-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.6) 100%); pointer-events: none; }
.moment-text { position: absolute; bottom: 0; left: 0; right: 0; padding: 22px; z-index: 2; }
.moment-text .moment-num { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 6px; }
.moment-text h4 { font-family: var(--font-display); font-size: 22px; font-weight: 400; color: var(--on-dark); letter-spacing: -0.01em; line-height: 1.1; }
.moment-text h4 em { font-style: italic; font-weight: 300; color: var(--gold-soft); }

/* ============= MANIFESTO ============= */
.manifesto { background: var(--obsidian); padding: 160px 0; text-align: center; position: relative; overflow: hidden; }
.manifesto::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(196, 120, 58, 0.12) 0%, transparent 60%); pointer-events: none; }
.manifesto-mark { font-family: var(--font-display); font-size: 200px; font-style: italic; font-weight: 300; color: var(--gold); opacity: 0.35; line-height: 0.4; margin-bottom: 24px; font-variation-settings: "opsz" 144, "SOFT" 100; }
.manifesto-text { font-family: var(--font-display); font-size: clamp(28px, 4vw, 52px); font-weight: 300; font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; line-height: 1.2; letter-spacing: -0.015em; color: var(--on-dark); max-width: 920px; margin: 0 auto 36px; }
.manifesto-text strong { font-style: normal; font-weight: 400; color: var(--gold-light); font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 0; }
.manifesto-attr { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-dark-faint); }

/* ============= PRINCIPLES ============= */
.principles { background: linear-gradient(180deg, var(--obsidian) 0%, var(--brown-deep) 100%); padding: 140px 0; }
.principles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.principle-card { border: 1px solid var(--border-dark); border-radius: var(--radius-lg); padding: 40px; background: rgba(196, 120, 58, 0.03); transition: all 0.4s var(--ease-luxury); }
.principle-card:hover { background: rgba(196, 120, 58, 0.08); border-color: var(--gold); transform: translateY(-3px); }
.principle-num { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; color: var(--gold-light); margin-bottom: 18px; }
.principle-card h3 { font-family: var(--font-display); font-size: 26px; font-weight: 400; color: var(--on-dark); margin-bottom: 12px; letter-spacing: -0.01em; }
.principle-card p { font-size: 15px; color: var(--on-dark-mute); line-height: 1.65; }

/* ============= FINAL CTA ============= */
.final-cta { padding: 160px 0; text-align: center; background: linear-gradient(180deg, var(--brown-deep) 0%, var(--obsidian) 100%); position: relative; overflow: hidden; }
.final-cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgba(196, 120, 58, 0.18), transparent 50%), radial-gradient(ellipse at 70% 50%, rgba(216, 149, 89, 0.12), transparent 50%); pointer-events: none; }
.final-cta-content { position: relative; z-index: 2; }
.final-cta h2 { font-family: var(--font-display); font-size: clamp(48px, 7vw, 96px); font-weight: 300; font-variation-settings: "opsz" 144, "SOFT" 50; line-height: 1; letter-spacing: -0.035em; color: var(--on-dark); margin-bottom: 28px; }
.final-cta h2 em { font-style: italic; color: var(--gold-light); font-weight: 300; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }
.final-cta p { font-size: 19px; color: var(--on-dark-mute); max-width: 580px; margin: 0 auto 44px; line-height: 1.55; }

.app-badges { display: flex; gap: 16px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.app-badge { display: inline-flex; align-items: center; gap: 14px; padding: 14px 26px; background: rgba(244, 236, 223, 0.06); border: 1px solid var(--border-dark-bright); color: var(--on-dark); border-radius: 16px; font-size: 14px; transition: all 0.3s var(--ease-luxury); }
.app-badge:hover { background: rgba(244, 236, 223, 0.1); border-color: var(--gold); transform: translateY(-2px); color: var(--on-dark); }
.app-badge .badge-store { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; color: var(--on-dark-mute); text-transform: uppercase; }
.app-badge .badge-name { font-family: var(--font-display); font-size: 17px; font-weight: 500; }

/* ============= FOOTER ============= */
.footer { background: #060403; color: var(--on-dark); padding: 100px 0 36px; position: relative; overflow: hidden; }
.footer-wordmark { font-family: var(--font-display); font-size: clamp(70px, 14vw, 200px); font-weight: 300; font-variation-settings: "opsz" 144, "SOFT" 80; letter-spacing: -0.04em; line-height: 0.9; text-align: center; margin: 0 0 80px; color: transparent; -webkit-text-stroke: 1px var(--gold-dark); position: relative; }
.footer-wordmark em { font-style: italic; -webkit-text-stroke: 1px var(--gold); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid var(--border-dark); }
.footer-brand { font-family: var(--font-display); font-size: 36px; font-weight: 500; color: var(--on-dark); margin-bottom: 16px; letter-spacing: -0.01em; display: flex; align-items: center; gap: 12px; }
.footer-brand::before { content: ''; width: 10px; height: 10px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 12px var(--gold); }
.footer-tagline { font-family: var(--font-display); font-style: italic; font-size: 17px; color: var(--gold-light); margin-bottom: 22px; }
.footer-desc { font-size: 14px; color: var(--on-dark-mute); line-height: 1.65; max-width: 340px; }
.footer-col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 20px; font-weight: 500; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: var(--on-dark-mute); font-size: 14px; transition: color 0.2s var(--ease-luxury); }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-faint); }
.footer-signature { font-family: var(--font-display); font-style: italic; font-size: 14px; color: var(--gold-light); }

/* ============= LEGAL PAGES ============= */
.legal { padding: 80px 0 100px; background: linear-gradient(180deg, var(--obsidian) 0%, var(--brown-deep) 100%); color: var(--on-dark); }
.legal .container { max-width: 860px; }
.legal h1 { font-family: var(--font-display); font-size: clamp(42px, 5.5vw, 68px); font-weight: 300; font-variation-settings: "opsz" 144, "SOFT" 50; line-height: 1.05; letter-spacing: -0.03em; color: var(--on-dark); margin-bottom: 14px; }
.legal .meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-dark-faint); margin-bottom: 40px; }
.legal p { font-size: 16px; line-height: 1.7; color: var(--on-dark); margin-bottom: 1em; }
.legal h2 { font-family: var(--font-display); font-size: 32px; font-weight: 400; font-variation-settings: "opsz" 144, "SOFT" 40; letter-spacing: -0.015em; color: var(--on-dark); margin: 56px 0 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border-dark); line-height: 1.2; }
.legal h3 { font-family: var(--font-display); font-size: 22px; font-weight: 500; color: var(--on-dark); margin: 32px 0 12px; letter-spacing: -0.01em; }
.legal ul, .legal ol { padding-left: 1.5em; margin-bottom: 1.2em; }
.legal li { margin-bottom: 0.65em; line-height: 1.65; color: var(--on-dark-mute); }
.legal li::marker { color: var(--gold-light); }
.legal strong { color: var(--on-dark); font-weight: 500; }
.legal a { color: var(--gold-light); border-bottom: 1px solid rgba(216, 149, 89, 0.3); transition: all 0.2s var(--ease-luxury); }
.legal a:hover { color: var(--gold-soft); border-bottom-color: var(--gold-soft); }
.legal .note { background: linear-gradient(135deg, rgba(196, 120, 58, 0.1) 0%, rgba(216, 149, 89, 0.04) 100%); border-left: 3px solid var(--gold); padding: 24px 28px; border-radius: 0 var(--radius-md) var(--radius-md) 0; margin: 32px 0; font-size: 15px; color: var(--on-dark); backdrop-filter: blur(6px); }
.legal .note strong { font-family: var(--font-display); font-style: italic; font-weight: 500; color: var(--gold-light); font-size: 17px; display: inline-block; margin-right: 4px; }
.legal .toc { background: rgba(196, 120, 58, 0.04); border: 1px solid var(--border-dark); border-radius: var(--radius-lg); padding: 28px 36px; margin: 32px 0 48px; }
.legal .toc h3 { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.22em; color: var(--gold-light); margin: 0 0 18px; font-weight: 500; }
.legal .toc ol { margin: 0; padding-left: 1.4em; font-size: 14px; columns: 2; column-gap: 32px; }
.legal .toc li { margin-bottom: 6px; break-inside: avoid; color: var(--on-dark-mute); }
.legal .toc a { border-bottom: none; color: var(--on-dark-mute); }
.legal .toc a:hover { color: var(--gold-light); }
.legal section { scroll-margin-top: 100px; }

/* ============= REVEAL ============= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease-luxury), transform 0.9s var(--ease-luxury); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

a:focus-visible, button:focus-visible, .btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ============= RESPONSIVE ============= */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; text-align: center; }
  .hero-eyebrow, .cta-row, .trust-bar { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-visual { min-height: 540px; }
  .dna-layout { grid-template-columns: 1fr; gap: 60px; }
  .engine-flow { grid-template-columns: 1fr; gap: 28px; }
  .engine-connector { transform: rotate(90deg); height: 20px; margin: 4px 0; }
  .moments-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: span 2; }
}

@media (max-width: 768px) {
  .demo-flow { flex-direction: column; align-items: center; gap: 56px; }
  .demo-arrow { transform: rotate(90deg); margin-top: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card.featured { grid-column: span 1; }
  .principles-grid { grid-template-columns: 1fr; }
  .mirror-stage { height: 380px; }
  .mirror-w-1 { font-size: 38px; }
  .mirror-w-2 { font-size: 26px; }
  .mirror-w-3 { font-size: 54px; }
  .mirror-w-4 { font-size: 30px; }
  .mirror-w-5 { font-size: 44px; }
  .mirror-w-6 { font-size: 34px; }
  .mirror-w-7 { font-size: 22px; }
  .mirror-w-8 { font-size: 20px; }
}

@media (max-width: 600px) {
  .container, .nav-inner, .container-narrow { padding: 0 22px; }
  .hero { padding: 60px 0 80px; }
  .nav { padding: 16px 0; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 13px; }
  .nav-cta { display: none; }
  .nav-brand { font-size: 24px; }
  .masthead-strip { font-size: 9px; letter-spacing: 0.15em; gap: 16px; padding: 8px 16px; }
  .masthead-strip .dot { display: none; }
  .edit, .style-dna, .mirror, .engine, .moments, .manifesto, .principles, .final-cta, .live-demo { padding: 90px 0; }
  .feature-card { padding: 30px; }
  .feature-card h3 { font-size: 26px; }
  .marquee-item { font-size: 24px; gap: 40px; }
  .marquee-track { gap: 40px; }
  .moments-grid { grid-template-columns: 1fr; gap: 14px; }
  .moment-card { aspect-ratio: 4/3; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand-col { grid-column: span 1; }
  .footer-wordmark { margin-bottom: 50px; }
  .hero-deco { display: none; }
  .hero-phone { transform: scale(0.88); }
  .legal .toc ol { columns: 1; }
}

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

/* ===========================================================
   MOBILE FIXES — all breakpoints
   Appended patch. Overrides prior rules.
   =========================================================== */

/* ---- Hamburger menu ---- */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  padding: 0;
  background: none;
  border: none;
  gap: 5px;
}
.nav-hamburger span {
  display: block;
  height: 1.5px;
  background: var(--on-dark);
  border-radius: 2px;
  transition: all 0.3s var(--ease-luxury);
}
.nav-hamburger span:nth-child(2) { width: 70%; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.75px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.75px) rotate(-45deg); }

.mobile-nav-drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: rgba(26, 15, 8, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-dark);
  padding: 16px 22px 22px;
  z-index: 99;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav-drawer.open { display: flex; }
.mobile-nav-drawer a {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--on-dark-mute);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-dark);
  display: block;
  text-decoration: none;
  transition: color 0.2s var(--ease-luxury);
}
.mobile-nav-drawer a:last-child { border-bottom: none; }
.mobile-nav-drawer a:hover { color: var(--gold-light); }
.mobile-nav-drawer .drawer-cta {
  margin-top: 10px;
  background: var(--gold);
  color: var(--obsidian) !important;
  text-align: center;
  padding: 14px !important;
  border-radius: 100px;
  font-weight: 500 !important;
  border-bottom: none !important;
  font-size: 15px !important;
}

/* ---- Sticky install bar ---- */
.sticky-install-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--gold);
  padding: 14px 20px;
  z-index: 200;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--gold-dark);
  box-shadow: 0 -8px 32px rgba(0,0,0,0.3);
}
.sticky-install-bar .sib-text {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--obsidian);
}
.sticky-install-bar .sib-text strong {
  font-weight: 600;
  display: block;
  font-size: 13px;
}
.sticky-install-bar .sib-btn {
  background: var(--obsidian);
  color: var(--gold-light);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
  flex-shrink: 0;
  transition: all 0.2s var(--ease-luxury);
}
.sticky-install-bar .sib-btn:hover {
  background: var(--brown-deep);
  color: var(--gold-soft);
}

/* ---- Mirror — replace absolute layout with flex pill cloud on mobile ---- */
@media (max-width: 768px) {
  .mirror-stage {
    height: auto !important;
    min-height: 0 !important;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
  }
  .mirror-word {
    position: static !important;
    top: auto !important; left: auto !important;
    right: auto !important; bottom: auto !important;
    transform: none !important;
    white-space: normal !important;
    padding: 8px 16px;
    border-radius: 100px;
    opacity: 0;
    transition: opacity 0.6s var(--ease-luxury), transform 0.6s var(--ease-luxury) !important;
  }
  .mirror-stage.in-view .mirror-word {
    opacity: 1 !important;
    transform: none !important;
  }
  .mirror-word.solid { background: rgba(26,15,8,0.08); border: 0.5px solid rgba(92,74,62,0.2); color: var(--on-light); font-size: 16px !important; }
  .mirror-word.outline { background: transparent; border: 1px solid var(--gold-dark); color: transparent; -webkit-text-stroke: 1px var(--gold-dark); font-size: 18px !important; }
  .mirror-word.gold { background: rgba(196,120,58,0.1); border: 0.5px solid rgba(196,120,58,0.3); color: var(--gold-dark); font-size: 20px !important; }
  .mirror-w-3 { font-size: 22px !important; padding: 10px 20px !important; }
  .mirror-caption { position: static; transform: none; margin-top: 14px; display: block; width: 100%; text-align: center; }
}

/* ---- Engine flow — vertical numbered list on mobile ---- */
@media (max-width: 768px) {
  .engine-flow {
    display: flex !important;
    flex-direction: column;
    gap: 0 !important;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
  .engine-node {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left !important;
    padding: 18px 20px !important;
    border-radius: var(--radius-md) !important;
  }
  .engine-node .engine-icon {
    width: 44px !important;
    height: 44px !important;
    flex-shrink: 0;
    margin: 0 !important;
    border-radius: 12px !important;
  }
  .engine-node h4 { margin-bottom: 3px !important; }
  .engine-connector {
    transform: none !important;
    height: 0 !important;
    margin: 0 0 0 22px !important;
    width: 1px !important;
    background: var(--border-dark) !important;
    border-left: 1px dashed rgba(196,120,58,0.3) !important;
    display: block !important;
    height: 16px !important;
  }
  .engine-connector::before { display: none !important; }
  .engine-connector::after { display: none !important; }
}

/* ---- Hero phone — show scaled-down centered version on mobile ---- */
@media (max-width: 600px) {
  .hero-grid { gap: 36px !important; }
  .hero-visual { min-height: 0 !important; }
  .hero-phone {
    width: 180px !important;
    height: 360px !important;
    border-radius: 32px !important;
    padding: 8px !important;
    transform: rotate(-2deg) !important;
  }
  .hero-phone-screen {
    border-radius: 24px !important;
    padding: 18px 14px 20px !important;
  }
  .phone-notch {
    width: 64px !important;
    height: 18px !important;
    top: 7px !important;
  }
  .score-num { font-size: 44px !important; }
  .hero-headline { font-size: clamp(36px, 9vw, 52px) !important; }
}

/* ---- Show sticky bar + hamburger on mobile ---- */
@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .nav-links { display: none !important; }
  .nav { position: sticky; overflow: visible; }
  .sticky-install-bar { display: flex; }
  /* add padding to body so sticky bar doesn't cover content */
  body { padding-bottom: 62px; }
}


/* ---- Showcase grid mobile ---- */
@media (max-width: 600px) {
  .showcase-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
}

/* ---- 3-phone demo flow mobile ---- */
@media (max-width: 600px) {
  .demo-flow { gap: 36px !important; }
  .demo-phone { width: 180px !important; height: 360px !important; border-radius: 28px !important; }
  .demo-phone .phone-screen-inner { border-radius: 20px !important; padding: 16px 12px 12px !important; }
  .demo-phone .ai-orb { width: 60px !important; height: 60px !important; }
  .demo-phone .score-num { font-size: 42px !important; }
  .step-cap-title { font-size: 16px !important; margin-top: 18px !important; }
}

/* ---- Legal page mobile ---- */
@media (max-width: 600px) {
  .legal h1 { font-size: 36px !important; }
  .legal h2 { font-size: 24px !important; }
  .legal .toc { padding: 20px 18px; }
}

/* ---- Footer mobile ---- */
@media (max-width: 600px) {
  .footer-wordmark { font-size: clamp(60px, 18vw, 100px) !important; margin-bottom: 36px !important; }
}
