/* Design direction A — "Celestial Luxe"
   Deep ink blue, hairline gold, engraved serif type, constellation lines,
   ornamented dividers. Quiet, expensive, editorial-night. */
@import url('https://fonts.googleapis.com/css2?family=Bellefair&family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&family=Assistant:wght@300;400;600&display=swap');

:root[data-design="celestial"] {
  --bg: #060914;
  --bg-2: #0d1430;
  --surface: rgba(12, 18, 40, 0.72);
  --surface-strong: rgba(20, 28, 58, 0.78);
  --border: rgba(216, 180, 106, 0.22);
  --text: #efe9dc;
  --muted: #a3a6bd;
  --gold: #d8b46a;
  --gold-soft: rgba(216, 180, 106, 0.10);
  --violet: #8e9bd8;
  --rose: #d99ab0;
  --teal: #8fc9bd;
  --radius: 4px;
  --shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  --font-display: 'Cormorant Garamond', 'Bellefair', 'Frank Ruhl Libre', serif;
  --font-body: 'Assistant', 'Heebo', sans-serif;
  color-scheme: dark;
}
[data-design="celestial"] body {
  background:
    radial-gradient(90% 60% at 50% 0%, #121b42 0%, transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360'%3E%3Cg stroke='%23d8b46a' stroke-opacity='.10' fill='none'%3E%3Cpath d='M40 60 L120 30 L190 90 L260 50 L330 110'/%3E%3Cpath d='M60 260 L140 210 L210 250 L300 200'/%3E%3C/g%3E%3Cg fill='%23d8b46a' fill-opacity='.35'%3E%3Ccircle cx='40' cy='60' r='1.4'/%3E%3Ccircle cx='120' cy='30' r='1.8'/%3E%3Ccircle cx='190' cy='90' r='1.2'/%3E%3Ccircle cx='260' cy='50' r='1.6'/%3E%3Ccircle cx='330' cy='110' r='1.2'/%3E%3Ccircle cx='60' cy='260' r='1.4'/%3E%3Ccircle cx='140' cy='210' r='1.8'/%3E%3Ccircle cx='210' cy='250' r='1.2'/%3E%3Ccircle cx='300' cy='200' r='1.6'/%3E%3C/g%3E%3C/svg%3E"),
    var(--bg);
}
@media (prefers-color-scheme: light) { [data-design="celestial"] #sky { opacity: 0.9; filter: none; } }
[data-design="celestial"] .nebula { display: none; }

/* type */
[data-design="celestial"] h1, [data-design="celestial"] h2, [data-design="celestial"] h3 { font-weight: 500; letter-spacing: 0.02em; }
[data-design="celestial"] .hero h1 {
  font-size: clamp(46px, 10vw, 72px); background: none; color: var(--gold);
  -webkit-text-fill-color: currentColor; font-weight: 500; letter-spacing: 0.04em;
}
[data-design="celestial"] .tagline { font-family: var(--font-display); font-style: italic; font-size: 19px; letter-spacing: 0.03em; }
[data-design="celestial"] .tagline::before, [data-design="celestial"] .tagline::after { content: ' ✧ '; color: var(--gold); opacity: .7; }

/* orbit becomes an engraved armillary ring */
[data-design="celestial"] .orbit { width: 140px; height: 140px; }
[data-design="celestial"] .orbit-ring { border-color: rgba(216, 180, 106, 0.35); }
[data-design="celestial"] .orbit-ring.r2 { border-style: dashed; }
[data-design="celestial"] .orbit-ring::after { background: var(--gold); box-shadow: 0 0 8px var(--gold); }

/* cards: hairline double frame */
[data-design="celestial"] .card {
  border: 1px solid var(--border);
  box-shadow: var(--shadow), inset 0 0 0 4px var(--bg), inset 0 0 0 5px rgba(216, 180, 106, 0.10);
  backdrop-filter: blur(6px);
}
[data-design="celestial"] .section-head { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
[data-design="celestial"] .section-head h3 { font-size: 30px; color: var(--gold); }
[data-design="celestial"] .section-head::after {
  content: '— ✦ —'; color: var(--gold); opacity: .55; letter-spacing: .4em; font-size: 12px;
}
[data-design="celestial"] .section-icon { background: none; border: 1px solid var(--border); width: 52px; height: 52px; flex: 0 0 52px; }
[data-design="celestial"] .lead { text-align: center; font-family: var(--font-display); font-style: italic; font-size: 18px; }
[data-design="celestial"] .para { font-size: 17px; line-height: 1.9; }
[data-design="celestial"] .fact { border-radius: var(--radius); background: transparent; text-align: center; }
[data-design="celestial"] .fact-value { color: var(--gold); font-size: 24px; }
[data-design="celestial"] .list { border-radius: var(--radius); background: transparent; }
[data-design="celestial"] .item { border-radius: var(--radius); background: transparent; }
[data-design="celestial"] .badge { border-radius: 50%; background: transparent; border: 1px solid var(--border); }

/* tabs: engraved text with a gold underline */
[data-design="celestial"] .tabs { background: linear-gradient(var(--bg) 75%, transparent); gap: 18px; border-bottom: 1px solid var(--border); }
[data-design="celestial"] .tab { background: none; border: 0; border-radius: 0; padding: 10px 2px; font-family: var(--font-display); font-size: 18px; color: var(--muted); }
[data-design="celestial"] .tab.is-active { color: var(--gold); background: none; box-shadow: inset 0 -2px 0 var(--gold); }
[data-design="celestial"] .section-nav a { border-radius: 0; background: none; border: 0; border-bottom: 1px solid var(--border); }

/* buttons */
[data-design="celestial"] .btn { border-radius: 2px; }
[data-design="celestial"] .btn-primary {
  background: transparent; color: var(--gold); border: 1px solid var(--gold); box-shadow: none;
  font-family: var(--font-display); font-size: 21px; letter-spacing: .08em;
}
[data-design="celestial"] .btn-primary:hover { background: var(--gold-soft); }
[data-design="celestial"] .field input:not([type="checkbox"]) {
  background: transparent; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; padding-inline: 2px;
}
[data-design="celestial"] .field input:focus { box-shadow: none; border-bottom-color: var(--gold); }
[data-design="celestial"] .form-title { text-align: center; font-size: 28px; }
[data-design="celestial"] .hero-line { border-color: var(--gold); }
[data-design="celestial"] .hero-title { font-size: clamp(34px, 8vw, 52px); }
[data-design="celestial"] .blessing { font-style: italic; font-size: 20px; }
[data-design="celestial"] .sign-seg { fill: transparent !important; }
[data-design="celestial"] .sign-glyph { fill: var(--gold) !important; }
