/* ==========================================================================
   Theme: Editorial Luxe, serif poise, magazine pacing, warm paper.
   ========================================================================== */

[data-theme="editorial"] {
  --bg: #fbf6ee;
  --bg-soft: #f4ecdf;
  --surface: #fffdf8;
  --ink: #221d16;
  --muted: #6e6356;
  --accent: #8a3324;
  --accent-ink: #fbf6ee;
  --accent-2: #9c7a3c;
  --line: #e3d8c4;
  --border-w: 1px;
  --radius: 0px;
  --radius-lg: 0px;
  --shadow: none;
  --shadow-strong: none;

  --font-display: "Fraunces", Georgia, serif;
  --h-weight: 600;
  --h-tracking: -0.01em;
  --h-transform: none;
  --kicker-font: "Inter", sans-serif;
  --btn-radius: 0px;
}

[data-theme="editorial"] body { font-size: 1.02rem; }

[data-theme="editorial"] .kicker {
  color: var(--accent-2);
  letter-spacing: 0.28em;
  font-weight: 600;
}

/* Fine double rule under each section head, a print signature */
[data-theme="editorial"] .section-head::after {
  content: "";
  display: block;
  margin-top: 1.6rem;
  border-bottom: 3px double var(--line);
}

[data-theme="editorial"] .hero-title { line-height: 1.04; }
[data-theme="editorial"] .hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
[data-theme="editorial"] .section-title em { font-style: italic; color: var(--accent); }

/* Drop cap opens the lede like a magazine feature */
[data-theme="editorial"] .hero-sub::first-letter {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 3.1em;
  float: left;
  line-height: 0.82;
  padding-right: 0.12em;
  color: var(--accent);
}

[data-theme="editorial"] .btn {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.95rem 1.9rem;
}
[data-theme="editorial"] .btn--primary:hover { background: var(--accent); border-color: var(--accent); }

[data-theme="editorial"] .hp { background: transparent; border-color: var(--line); font-weight: 500; }
[data-theme="editorial"] .brand-name, [data-theme="editorial"] .footer-brand .brand-name {
  font-family: "Fraunces", Georgia, serif; font-weight: 600;
}
[data-theme="editorial"] .brand-name i { font-style: italic; }

/* Hero: an oversized italic ampersand sits behind the composition */
[data-theme="editorial"] .ha-1 {
  opacity: 1;
  top: -12%; right: 0;
  width: auto; height: auto;
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-size: 17rem;
  line-height: 1;
  color: var(--line);
  z-index: 0;
}
[data-theme="editorial"] .ha-1::before { content: "&"; }
[data-theme="editorial"] .ha-2 {
  opacity: 1; left: 2%; top: 2%;
  width: 5rem; height: 1px; background: var(--accent-2);
}
[data-theme="editorial"] .win {
  border: 1px solid var(--ink);
  outline: 1px solid var(--ink);
  outline-offset: 4px;
}
[data-theme="editorial"] .win-bar {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-size: 0.8rem;
}
[data-theme="editorial"] .win-dots { display: none; }
[data-theme="editorial"] .win-bar::before { content: "№ 1 · "; color: var(--accent-2); }
[data-theme="editorial"] .ha-chip { background: var(--accent); border-radius: 0; }
[data-theme="editorial"] .ha-chip--alt { border-color: var(--ink); }

[data-theme="editorial"] .why-num {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-size: 1.6rem;
  color: var(--accent-2);
}
[data-theme="editorial"] .step-num {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  border-color: var(--accent-2);
  color: var(--accent-2);
}

[data-theme="editorial"] .svc-card, [data-theme="editorial"] .why-card,
[data-theme="editorial"] .step, [data-theme="editorial"] .demo-card,
[data-theme="editorial"] .price-card { border-color: var(--line); }
[data-theme="editorial"] .svc-card:hover { transform: none; border-color: var(--ink); }
[data-theme="editorial"] .demo-card:hover { transform: none; border-color: var(--ink); }
[data-theme="editorial"] .svc-card h3 { font-size: 1.2rem; }
[data-theme="editorial"] .price-card--featured { border: 1px solid var(--ink); outline: 1px solid var(--ink); outline-offset: 4px; }
[data-theme="editorial"] .price-badge {
  background: var(--accent-2); color: #fffdf8;
  font-family: "Fraunces", Georgia, serif; font-style: italic;
  text-transform: none; letter-spacing: 0.04em; font-size: 0.82rem;
}
[data-theme="editorial"] .price-amount { font-weight: 400; }
[data-theme="editorial"] .price-list li::before { content: "·"; color: var(--accent-2); }

[data-theme="editorial"] .field input, [data-theme="editorial"] .field select, [data-theme="editorial"] .field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding-inline: 0.1rem;
}
[data-theme="editorial"] .field input:focus, [data-theme="editorial"] .field select:focus, [data-theme="editorial"] .field textarea:focus {
  border-bottom-color: var(--accent);
}
[data-theme="editorial"] .form { border-color: var(--line); }

/* Slow, considered reveal */
[data-theme="editorial"] .reveal { transition-duration: 0.85s; transform: translateY(14px); }

/* Ticker: a masthead dateline */
[data-theme="editorial"] { --tk-speed: 36; }
[data-theme="editorial"] .ticker {
  background: var(--bg);
  border-top: 3px double var(--ink);
  border-bottom: 3px double var(--ink);
  padding-block: 0.75rem;
}
[data-theme="editorial"] .tk-item {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  text-transform: none;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}
[data-theme="editorial"] .tk-sep { color: var(--accent-2); margin-inline: 1.9rem; }
[data-theme="editorial"] .tk-sep::before { content: "❧"; }

/* Philosophy panel: a well-set sidebar column */
[data-theme="editorial"] .mode-panel { border: 1px solid var(--ink); outline: 1px solid var(--ink); outline-offset: 3px; }
[data-theme="editorial"] .mp-title { font-style: italic; font-size: 1.5rem; }
[data-theme="editorial"] .mp-philosophy { font-family: "Fraunces", Georgia, serif; }
[data-theme="editorial"] .mp-label { color: var(--accent-2); }

/* --------------------------------------------------------------------------
   Self-preview
   -------------------------------------------------------------------------- */
.mode-card[data-mode="editorial"] .mc-prev {
  background: #fbf6ee;
  border: 1px solid #221d16;
  outline: 1px solid #221d16;
  outline-offset: 2px;
  border-radius: 0;
}
.mode-card[data-mode="editorial"] .mp-a { width: 2.8rem; height: 1px; background: #9c7a3c; left: 0.7rem; top: 0.9rem; }
.mode-card[data-mode="editorial"] .mp-b { width: 1px; height: 2.6rem; background: #e3d8c4; right: 1.1rem; top: 0.7rem; border-radius: 0; }
.mode-card[data-mode="editorial"] .mp-c { width: 2rem; height: 0.25rem; background: #8a3324; left: 0.7rem; top: 1.4rem; }
.mode-card[data-mode="editorial"] .mc-aa {
  font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 400;
  color: #221d16; left: 0.7rem; bottom: 0.5rem; font-size: 1.8rem;
}
