/* CrownOS Theme */
:root {
  --bg: #141210;
  --bg-2: #1c1917;
  --bg-3: #231f1b;
  --fg: #f5f0eb;
  --fg-muted: #a09a92;
  --accent: #c9a84c;
  --accent-dim: rgba(201,168,76,0.12);
  --accent-glow: rgba(201,168,76,0.08);
  --border: rgba(245,240,235,0.08);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --max-w: 1100px;
  --radius: 2px;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--max-w);
  padding-left: max(24px, calc((100vw - var(--max-w)) / 2));
  padding-right: max(24px, calc((100vw - var(--max-w)) / 2));
  height: 64px;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  background: rgba(20,18,16,0.8);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--fg);
}
.logo-accent { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--fg); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 64px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(201,168,76,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 80% 30%, rgba(201,168,76,0.04) 0%, transparent 50%),
    #141210;
}
.hero-texture {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='1' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-glow-1 {
  width: 600px; height: 600px;
  top: -100px; left: -200px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
}
.hero-glow-2 {
  width: 400px; height: 400px;
  top: 200px; right: -100px;
  background: radial-gradient(circle, rgba(201,168,76,0.05) 0%, transparent 70%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px max(24px, calc((100vw - var(--max-w)) / 2));
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: center;
  width: 100%;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.eyebrow-line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent);
}
.eyebrow-text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--fg);
  margin-bottom: 28px;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: 1.0625rem;
  color: var(--fg-muted);
  max-width: 500px;
  line-height: 1.7;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 420px;
}
.hair-strand-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.strand {
  position: absolute;
  width: 3px;
  border-radius: 2px;
  transform-origin: bottom center;
}
.strand-1 {
  height: 280px;
  left: 50%;
  top: 60px;
  transform: translateX(-50%) rotate(-15deg);
  background: linear-gradient(to top, rgba(201,168,76,0.9), rgba(201,168,76,0.4), transparent);
  animation: sway 4s ease-in-out infinite alternate;
}
.strand-2 {
  height: 320px;
  left: 50%;
  top: 40px;
  transform: translateX(-50%) rotate(-8deg);
  background: linear-gradient(to top, rgba(201,168,76,0.7), rgba(201,168,76,0.3), transparent);
  animation: sway 5s ease-in-out infinite alternate-reverse;
  animation-delay: -1s;
}
.strand-3 {
  height: 300px;
  left: 50%;
  top: 50px;
  transform: translateX(-50%) rotate(0deg);
  background: linear-gradient(to top, rgba(201,168,76,1), rgba(201,168,76,0.6), transparent);
  animation: sway 3.5s ease-in-out infinite alternate;
  animation-delay: -2s;
}
.strand-4 {
  height: 260px;
  left: 50%;
  top: 70px;
  transform: translateX(-50%) rotate(10deg);
  background: linear-gradient(to top, rgba(201,168,76,0.6), rgba(201,168,76,0.2), transparent);
  animation: sway 4.5s ease-in-out infinite alternate-reverse;
  animation-delay: -0.5s;
}
.strand-5 {
  height: 180px;
  left: 50%;
  top: 90px;
  transform: translateX(-50%) rotate(-25deg);
  background: linear-gradient(to top, rgba(201,168,76,0.5), transparent);
  animation: sway 5.5s ease-in-out infinite alternate;
  animation-delay: -3s;
}
.strand-6 {
  height: 200px;
  left: 50%;
  top: 80px;
  transform: translateX(-50%) rotate(22deg);
  background: linear-gradient(to top, rgba(201,168,76,0.4), transparent);
  animation: sway 4s ease-in-out infinite alternate-reverse;
  animation-delay: -1.5s;
}
@keyframes sway {
  0% { filter: brightness(1); }
  100% { filter: brightness(1.3); transform: translateX(-50%) rotate(calc(var(--base-rotate, 0deg) + 3deg)); }
}
.strand-1 { --base-rotate: -15deg; }
.strand-2 { --base-rotate: -8deg; }
.strand-3 { --base-rotate: 0deg; }
.strand-4 { --base-rotate: 10deg; }
.strand-5 { --base-rotate: -25deg; }
.strand-6 { --base-rotate: 22deg; }

.aura-ring {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.15);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse-ring 4s ease-in-out infinite;
}
.aura-ring::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.08);
}
@keyframes pulse-ring {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.03); }
}

/* ── STATS ── */
.stats {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px max(24px, calc((100vw - var(--max-w)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.stat {
  text-align: center;
  flex: 1;
}
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.8125rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── FEATURES ── */
.features {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 100px max(24px, calc((100vw - var(--max-w)) / 2));
}
.features-header {
  margin-bottom: 64px;
  max-width: 600px;
}
.section-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  border: 1px solid rgba(201,168,76,0.3);
  padding: 6px 14px;
  border-radius: 1px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 0;
}
.section-sub {
  margin-top: 20px;
  font-size: 1.0625rem;
  color: var(--fg-muted);
  line-height: 1.7;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.feature-card {
  background: var(--bg-2);
  padding: 40px 36px;
  transition: background 0.3s;
}
.feature-card:hover { background: var(--bg-3); }
.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 2px;
  color: var(--accent);
  margin-bottom: 24px;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
}
.feature-card p {
  font-size: 0.9375rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ── DIFFERENCE ── */
.difference {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.difference-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px max(24px, calc((100vw - var(--max-w)) / 2));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.diff-left .section-title,
.diff-right .section-title {
  font-size: 1.75rem;
  margin-bottom: 40px;
}
.diff-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.diff-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--fg-muted);
}
.diff-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.diff-icon-x {
  background: rgba(255,80,80,0.12);
  color: #ff6b6b;
}
.diff-icon-check {
  background: var(--accent-dim);
  color: var(--accent);
}

/* ── COLLECTION ── */
.collection {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 100px max(24px, calc((100vw - var(--max-w)) / 2));
}
.collection-header {
  max-width: 560px;
  margin-bottom: 64px;
}
.collection-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 20px;
}
.collection-card {
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  background: var(--bg-2);
  transition: border-color 0.3s;
}
.collection-card:hover { border-color: rgba(201,168,76,0.3); }
.collection-card-large .card-visual { height: 280px; }
.card-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  background: var(--bg-3);
  overflow: hidden;
}

/* Wig silhouette */
.wig-silhouette {
  position: relative;
  width: 100px;
  height: 140px;
}
.wig-strand {
  position: absolute;
  bottom: 0;
  border-radius: 40px 40px 2px 2px;
  transform-origin: top center;
}
.wig-strand-1 {
  width: 4px; height: 120px;
  left: 20px;
  background: linear-gradient(to top, rgba(201,168,76,0.8), rgba(201,168,76,0.3), transparent);
  transform: rotate(-20deg);
  animation: sway 4s ease-in-out infinite alternate;
}
.wig-strand-2 {
  width: 4px; height: 140px;
  left: 35px;
  background: linear-gradient(to top, rgba(201,168,76,0.9), rgba(201,168,76,0.4), transparent);
  transform: rotate(-8deg);
  animation: sway 5s ease-in-out infinite alternate-reverse;
  animation-delay: -1s;
}
.wig-strand-3 {
  width: 4px; height: 130px;
  left: 50px;
  background: linear-gradient(to top, rgba(201,168,76,1), rgba(201,168,76,0.6), transparent);
  transform: rotate(0deg);
  animation: sway 3.5s ease-in-out infinite alternate;
  animation-delay: -2s;
}
.wig-strand-4 {
  width: 4px; height: 135px;
  left: 65px;
  background: linear-gradient(to top, rgba(201,168,76,0.7), rgba(201,168,76,0.3), transparent);
  transform: rotate(10deg);
  animation: sway 4.5s ease-in-out infinite alternate-reverse;
  animation-delay: -0.5s;
}
.wig-strand-5 {
  width: 4px; height: 115px;
  left: 78px;
  background: linear-gradient(to top, rgba(201,168,76,0.5), transparent);
  transform: rotate(22deg);
  animation: sway 5s ease-in-out infinite alternate;
  animation-delay: -1.5s;
}
@keyframes sway {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}
.wig-label {
  position: absolute;
  bottom: 16px;
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

/* Bundle visual */
.bundle-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 100%;
}
.bundle-strand {
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(to top, rgba(201,168,76,0.9), rgba(201,168,76,0.3), transparent);
  animation: bundle-sway 4s ease-in-out infinite alternate;
}
.bundle-strand-1 { height: 160px; animation-delay: 0s; }
.bundle-strand-2 { height: 180px; animation-delay: -1s; }
.bundle-strand-3 { height: 150px; animation-delay: -2s; }
@keyframes bundle-sway {
  0% { transform: skewX(-5deg); }
  100% { transform: skewX(5deg); }
}
.bundle-label {
  position: absolute;
  bottom: 16px;
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

/* Closure visual */
.closure-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.closure-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(201,168,76,0.5);
  background: radial-gradient(circle, rgba(201,168,76,0.1) 0%, transparent 70%);
  animation: closure-pulse 3s ease-in-out infinite;
}
@keyframes closure-pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.05); opacity: 1; }
}
.closure-knot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(201,168,76,0.5);
}
.closure-label {
  position: absolute;
  bottom: 16px;
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.card-body {
  padding: 28px 28px 32px;
}
.card-body h3 {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
}
.card-body p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 1px;
  font-size: 0.6875rem;
  color: var(--fg-muted);
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* ── MANIFESTO ── */
.manifesto {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.manifesto-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 100px max(24px, calc((100vw - 780px) / 2));
  text-align: center;
}
.manifesto-mark {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}
.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-style: italic;
  font-weight: 400;
  color: var(--fg);
  line-height: 1.4;
  margin-bottom: 32px;
}
.manifesto-body {
  font-size: 1.0625rem;
  color: var(--fg-muted);
  margin-bottom: 48px;
}
.manifesto-sig {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.sig-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
}
.sig-sub {
  font-size: 0.75rem;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── CLOSING ── */
.closing {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 100px max(24px, calc((100vw - var(--max-w)) / 2));
}
.closing-inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 28px;
}
.closing-headline em {
  font-style: italic;
  color: var(--accent);
}
.closing-sub {
  font-size: 1.0625rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 48px;
}
.crown-mark {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
  opacity: 0.7;
}
.closing-statement {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px max(24px, calc((100vw - var(--max-w)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
}
.footer-tagline {
  font-size: 0.75rem;
  color: rgba(160,154,146,0.5);
}
.footer-copy {
  font-size: 0.75rem;
  color: rgba(160,154,146,0.4);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-visual { height: 280px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .collection-grid { grid-template-columns: 1fr; }
  .difference-inner { grid-template-columns: 1fr; gap: 48px; }
  .stats-inner { flex-wrap: wrap; justify-content: center; }
  .stat-divider { display: none; }
  .stat { min-width: 120px; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-headline { font-size: 2.5rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}
