:root {
  --cream: #FAF5F0;
  --warm-white: #FDFBF8;
  --charcoal: #2A2724;
  --terracotta: #C4765A;
  --terracotta-light: #D4927A;
  --sage: #8B9E7C;
  --sage-light: #A8B89A;
  --gold: #D4A847;
  --gold-light: #E8C56B;
  --text: #2A2724;
  --text-muted: #7A7268;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

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

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 48px;
  border-bottom: 1px solid rgba(42,39,36,0.08);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.02em;
}

.nav-tagline {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 80px 48px 96px;
  max-width: 1280px;
  margin: 0 auto;
}

.hero-overline {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--terracotta);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--charcoal);
  margin-bottom: 24px;
}

.hero-headline em {
  font-style: italic;
  color: var(--terracotta);
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 420px;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding: 20px 0;
}

.hero-swatch {
  display: flex;
  align-items: center;
  gap: 16px;
}

.swatch-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.swatch-terracotta { background: var(--terracotta); }
.swatch-sage { background: var(--sage); }
.swatch-gold { background: var(--gold); }

.swatch-label {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}

.hero-rings {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(196, 118, 90, 0.25);
}

.ring-1 { width: 200px; height: 200px; }
.ring-2 { width: 148px; height: 148px; border-color: rgba(139, 158, 124, 0.3); }
.ring-3 { width: 100px; height: 100px; border-color: rgba(212, 168, 71, 0.35); }

.ring-text {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.3;
}

/* MANIFESTO */
.manifesto {
  background: var(--charcoal);
  padding: 72px 48px;
}

.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.manifesto-quote {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 34px);
  color: var(--cream);
  font-style: italic;
  line-height: 1.45;
  margin-bottom: 20px;
}

.manifesto-attribution {
  font-size: 13px;
  color: rgba(250, 245, 240, 0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* PRODUCTS */
.products {
  padding: 96px 48px;
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 56px;
}

.section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--terracotta);
  font-weight: 500;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.15;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-visual {
  aspect-ratio: 3/4;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
  border-radius: 4px;
  background: var(--warm-white);
  border: 1px solid rgba(42,39,36,0.06);
}

.prod-shape {
  width: 60%;
  aspect-ratio: 2/3;
  border-radius: 6px 6px 12px 12px;
}

.prod-terracotta { background: linear-gradient(160deg, var(--terracotta-light), var(--terracotta)); }
.prod-sage { background: linear-gradient(160deg, var(--sage-light), var(--sage)); }
.prod-gold { background: linear-gradient(160deg, var(--gold-light), var(--gold)); }
.prod-charcoal { background: linear-gradient(160deg, #4A4541, var(--charcoal)); }

.product-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--charcoal);
}

.product-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* DIGITAL */
.digital {
  background: var(--warm-white);
  padding: 96px 48px;
  border-top: 1px solid rgba(42,39,36,0.06);
  border-bottom: 1px solid rgba(42,39,36,0.06);
}

.digital-split {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.digital-body {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.digital-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.digital-list li {
  font-size: 15px;
  color: var(--text);
  padding-left: 20px;
  position: relative;
}

.digital-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terracotta);
}

.quiz-card {
  background: var(--charcoal);
  border-radius: 8px;
  padding: 40px 36px;
  color: var(--cream);
  position: relative;
}

.quiz-badge {
  display: inline-block;
  background: var(--terracotta);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 16px;
}

.quiz-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 10px;
}

.quiz-sub {
  font-size: 14px;
  color: rgba(250, 245, 240, 0.65);
  margin-bottom: 28px;
}

.quiz-progress {
  height: 4px;
  background: rgba(250,245,240,0.15);
  border-radius: 2px;
  margin-bottom: 14px;
}

.quiz-progress-bar {
  height: 4px;
  width: 35%;
  background: var(--terracotta);
  border-radius: 2px;
}

.quiz-cta {
  font-size: 13px;
  color: rgba(250, 245, 240, 0.45);
  font-style: italic;
}

/* CLOSING */
.closing {
  padding: 96px 48px 112px;
  max-width: 1280px;
  margin: 0 auto;
}

.closing-inner {
  max-width: 680px;
}

.closing-headline {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--charcoal);
  margin-bottom: 28px;
}

.closing-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}

.closing-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(196, 118, 90, 0.1);
  color: var(--terracotta);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* FOOTER */
.footer {
  border-top: 1px solid rgba(42,39,36,0.08);
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--charcoal);
}

.footer-note {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 56px 32px 64px; }
  .hero-visual { flex-direction: row; justify-content: center; flex-wrap: wrap; }
  .hero-rings { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .digital-split { grid-template-columns: 1fr; gap: 48px; }
  .products { padding: 64px 32px; }
  .digital { padding: 64px 32px; }
  .closing { padding: 64px 32px 80px; }
  .nav { padding: 24px 32px; }
}

@media (max-width: 500px) {
  .product-grid { grid-template-columns: 1fr; }
  .hero-swatch { flex-direction: column; }
}

/* QUIZ */
.quiz-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.quiz-container {
  width: 100%;
  max-width: 640px;
}

.quiz-card-full {
  background: var(--warm-white);
  border: 1px solid rgba(42,39,36,0.08);
  border-radius: 8px;
  padding: 56px 48px;
}

.quiz-header {
  margin-bottom: 40px;
}

.quiz-step-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--terracotta);
  font-weight: 500;
  margin-bottom: 8px;
}

.quiz-question {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 36px;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1.5px solid rgba(42,39,36,0.12);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
  background: transparent;
}

.quiz-option:hover {
  border-color: var(--terracotta);
  background: rgba(196,118,90,0.04);
}

.quiz-option.selected {
  border-color: var(--terracotta);
  background: rgba(196,118,90,0.08);
}

.quiz-option input[type="radio"] {
  display: none;
}

.quiz-option-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(42,39,36,0.2);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.18s, background 0.18s;
}

.quiz-option.selected .quiz-option-dot {
  border-color: var(--terracotta);
  background: var(--terracotta);
}

.quiz-option.selected .quiz-option-dot::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

.quiz-option-text {
  font-size: 15px;
  color: var(--text);
  line-height: 1.4;
}

.quiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
}

.quiz-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s, transform 0.12s;
  border: none;
}

.quiz-btn-primary {
  background: var(--charcoal);
  color: var(--cream);
}

.quiz-btn-primary:hover { background: #3d3935; }
.quiz-btn-primary:active { transform: scale(0.98); }

.quiz-btn-primary:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.quiz-btn-secondary {
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
}

.quiz-btn-secondary:hover { color: var(--text); }

/* Progress bar */
.quiz-progress-track {
  height: 3px;
  background: rgba(42,39,36,0.08);
  border-radius: 2px;
  margin-bottom: 48px;
}

.quiz-progress-fill {
  height: 3px;
  background: var(--terracotta);
  border-radius: 2px;
  transition: width 0.35s ease;
}

/* Results */
.results-card {
  text-align: center;
  padding: 48px 40px;
}

.results-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(196,118,90,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 26px;
}

.results-title {
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.1;
  margin-bottom: 16px;
}

.results-sub {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 40px;
}

.results-products {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.result-product {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: var(--cream);
  border: 1px solid rgba(42,39,36,0.08);
  border-radius: 6px;
}

.result-badge {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: var(--sage);
  margin-bottom: 4px;
}

.result-name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 2px;
}

.result-reason {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

.result-swatch {
  width: 48px;
  height: 64px;
  border-radius: 4px;
  flex-shrink: 0;
}

.results-reset {
  margin-top: 32px;
  font-size: 13px;
  color: var(--text-muted);
}

.results-reset a {
  color: var(--terracotta);
  text-decoration: none;
  font-weight: 500;
}

.results-reset a:hover { text-decoration: underline; }

/* Start screen */
.quiz-start {
  text-align: center;
}

.quiz-start-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.quiz-start-title {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 16px;
  line-height: 1.15;
}

.quiz-start-sub {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 36px;
}

.quiz-start-meta {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 36px;
}

.quiz-meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.quiz-meta-num {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--terracotta);
}

.quiz-meta-label {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

@media (max-width: 500px) {
  .quiz-card-full { padding: 36px 24px; }
  .quiz-start-meta { gap: 20px; }
  .result-product { flex-direction: column; align-items: flex-start; gap: 12px; }
}