@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  --black: #030303;
  --near-black: #0a0806;
  --panel: #100d09;
  --gold: #c9a15a;
  --gold-light: #e9cf98;
  --gold-soft: rgba(201, 161, 90, 0.4);
  --gold-dim: rgba(201, 161, 90, 0.16);
  --cream: #f2ecdd;
  --muted: #a79c86;
  --line: rgba(201, 161, 90, 0.22);
  --serif-display: 'Cinzel', serif;
  --serif-body: 'Cormorant Garamond', serif;
  --sans: 'Montserrat', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(ellipse 900px 500px at 50% -10%, rgba(201,161,90,0.10), transparent 60%),
    var(--black);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.stars {
  position: fixed;
  inset: 0;
  background-image: url('assets/starfield-bg.jpg');
  background-repeat: repeat;
  background-size: 900px 900px;
  mix-blend-mode: screen;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

/* ---------- containers ---------- */

.wrap {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 56px 24px 40px;
}

.full-bleed {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* ---------- brand header ---------- */

.brand {
  text-align: center;
  margin-bottom: 6px;
}

.brand .mark {
  font-family: var(--serif-display);
  font-size: 16px;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
}

.logo-img {
  height: 34px;
  width: auto;
  display: block;
  margin: 0 auto;
}
.logo-img.logo-sm { height: 24px; }

.brand .sub {
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 6px;
}

.ornament {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 26px 0;
  color: var(--gold-soft);
}
.ornament::before, .ornament::after {
  content: '';
  height: 1px;
  flex: 1;
  max-width: 120px;
  background: linear-gradient(90deg, transparent, var(--gold-soft));
}
.ornament::after { background: linear-gradient(90deg, var(--gold-soft), transparent); }
.ornament span { font-size: 13px; }

/* ---------- headline / hero copy ---------- */

h1.headline {
  font-family: var(--serif-display);
  text-align: center;
  font-size: 36px;
  line-height: 1.3;
  color: var(--cream);
  margin: 10px 0 14px;
  font-weight: 600;
}

h1.headline em {
  font-style: normal;
  color: var(--gold-light);
}

.subhead {
  text-align: center;
  color: var(--muted);
  font-size: 19.5px;
  font-family: var(--serif-body);
  font-style: italic;
  max-width: 480px;
  margin: 0 auto 36px;
}

/* ---------- panel (replaces old boxy card) ---------- */

.panel {
  background: linear-gradient(180deg, var(--panel), var(--near-black));
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 30px 26px;
  margin-bottom: 28px;
  position: relative;
}

.panel::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  border: 1px solid transparent;
  pointer-events: none;
}

.eyebrow {
  font-family: var(--serif-display);
  font-size: 13.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}
.hero-caption-label {
  font-family: var(--serif-display);
  font-size: 13.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
}

/* ---------- form elements ---------- */

label {
  display: block;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 18px 0 7px;
}
label:first-of-type { margin-top: 0; }

input[type="text"], input[type="email"], input[type="tel"], input[type="date"] {
  width: 100%;
  padding: 14px 15px;
  border-radius: 3px;
  border: 1px solid rgba(201,161,90,0.28);
  background: rgba(255,255,255,0.02);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
input::placeholder { color: rgba(167,156,134,0.55); }
input:focus { border-color: var(--gold); background: rgba(201,161,90,0.05); }

.btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 17px 20px;
  margin-top: 28px;
  border-radius: 3px;
  border: 1px solid var(--gold);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #1a1306;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(201,161,90,0.22); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.price-row { display: flex; align-items: baseline; justify-content: center; gap: 12px; margin: 20px 0 6px; }
.price { font-family: var(--serif-display); font-size: 34px; color: var(--gold-light); }
.price-strike { font-size: 21px; color: #c2b6a0; text-decoration: line-through; font-family: var(--serif-body); }
.fine { text-align: center; font-size: 15px; color: var(--muted); margin-top: 16px; }

ul.includes { list-style: none; padding: 0; margin: 0; }
ul.includes li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 18px;
  color: var(--cream);
  display: flex;
  gap: 12px;
  font-family: var(--serif-body);
}
ul.includes li:last-child { border-bottom: none; }
ul.includes li::before { content: '✦'; color: var(--gold); flex-shrink: 0; font-family: sans-serif; }

.footer-note {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  margin-top: 44px;
  line-height: 1.8;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
}
.footer-note a { color: var(--gold); text-decoration: none; }

.hidden { display: none !important; }

/* ======================================================
   CHART / REPORT PAGE
   ====================================================== */

.dob-form { text-align: center; }
.dob-form input[type="date"] { text-align: center; max-width: 320px; margin: 0 auto; }

/* --- number overview, unboxed --- */
.number-overview {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 8px 0 46px;
  text-align: center;
}
.number-overview .num-block { flex: 1; padding: 0 12px; }
.number-overview .divider-v {
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold-soft), transparent);
  margin: 6px 0;
}
.number-overview .num-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.number-overview .num-digit {
  font-family: var(--serif-display);
  font-size: 68px;
  line-height: 1;
  color: var(--gold-light);
  text-shadow: 0 0 30px rgba(201,161,90,0.35);
}
.number-overview .num-name {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 20px;
  color: var(--cream);
  margin-top: 6px;
}

/* --- full-bleed archetype hero --- */
.archetype-hero {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 10px;
  margin-bottom: 0;
  height: 48vh;
  min-height: 320px;
  max-height: 560px;
  background: var(--black);
  overflow: hidden;
}
.archetype-hero img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}
.archetype-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3,3,3,0) 0%, rgba(3,3,3,0.15) 45%, rgba(3,3,3,0.92) 92%, var(--black) 100%);
}
.archetype-hero .hero-text {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 28px 34px;
  text-align: center;
}
.archetype-hero .hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.archetype-hero .hero-name {
  font-family: var(--serif-display);
  font-size: 44px;
  color: var(--gold-light);
  margin: 0 0 8px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.6);
}
.archetype-hero .hero-tagline {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 21px;
  color: var(--cream);
  opacity: 0.9;
}

.section-copy {
  font-family: var(--serif-body);
  font-size: 23px;
  line-height: 1.7;
  color: var(--cream);
}

.section-block {
  padding: 40px 0 8px;
}

/* --- gifts / growth grid --- */
.trait-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 22px;
}
@media (max-width: 520px) { .trait-grid { grid-template-columns: 1fr; } }

.trait-card {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 18px 18px 20px;
  background: rgba(201,161,90,0.04);
}
.trait-card .trait-title {
  font-family: var(--serif-display);
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--gold-light);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.trait-card .trait-text {
  font-family: var(--serif-body);
  font-size: 19.5px;
  color: var(--muted);
  line-height: 1.55;
}

/* --- Lo Shu grid --- */
.grid-3x3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 300px;
  margin: 30px auto 14px;
}
.grid-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--serif-display);
  font-size: 17px;
  color: rgba(167,156,134,0.5);
  background: rgba(255,255,255,0.015);
  padding: 6px;
  text-align: center;
  word-break: break-word;
}
.grid-cell.filled {
  color: var(--gold-light);
  background: rgba(201,161,90,0.1);
  border-color: var(--gold-soft);
  box-shadow: 0 0 20px rgba(201,161,90,0.12) inset;
}

/* --- planes & yogas --- */
.plane-list { margin-top: 32px; }
.plane-item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 18px 0;
}
.plane-item:last-child { border-bottom: none; }
.plane-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.plane-name {
  font-family: var(--serif-display);
  font-size: 17px;
  color: var(--cream);
}
.plane-status {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--line);
  white-space: nowrap;
  flex-shrink: 0;
}
.plane-status.active { color: var(--gold-light); border-color: var(--gold-soft); background: rgba(201,161,90,0.08); }
.plane-status.inactive { color: var(--muted); }
.plane-subtitle {
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.plane-text {
  font-family: var(--serif-body);
  font-size: 19.5px;
  color: var(--muted);
  line-height: 1.6;
}
.yoga-highlight .plane-name { color: var(--gold-light); }

/* --- tags --- */
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.tag {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 7px 16px;
  font-size: 15px;
  color: var(--gold-light);
  font-family: var(--sans);
}

/* --- conclusion / closing section --- */
.conclusion {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 50px;
  padding: 70px 24px 60px;
  background:
    radial-gradient(ellipse 700px 400px at 50% 0%, rgba(201,161,90,0.10), transparent 65%),
    var(--near-black);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.conclusion .inner { max-width: 560px; margin: 0 auto; }
.conclusion .eyebrow { justify-content: center; }
.conclusion .eyebrow::after, .conclusion .eyebrow::before { display: none; }
.conclusion h2.conclusion-title {
  font-family: var(--serif-display);
  font-size: 28px;
  color: var(--gold-light);
  margin: 6px 0 26px;
}
.conclusion .growth-item {
  text-align: left;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.conclusion .growth-item:last-of-type { border-bottom: none; }
.conclusion .growth-title {
  font-family: var(--serif-display);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.conclusion .growth-text, .conclusion .guidance-text {
  font-family: var(--serif-body);
  font-size: 21px;
  color: var(--cream);
  line-height: 1.65;
  text-align: left;
}
.conclusion .guidance-block {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.conclusion .guidance-label {
  font-family: var(--serif-display);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
  text-align: left;
}

/* --- recap bullet lists (strengths / shadow) --- */
.recap-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 22px;
}
@media (max-width: 520px) { .recap-columns { grid-template-columns: 1fr; gap: 30px; } }

.recap-col .recap-label {
  font-family: var(--serif-display);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.recap-col.strengths .recap-label { color: var(--gold-light); }
.recap-col.shadow .recap-label { color: var(--muted); }

.recap-col ul { list-style: none; padding: 0; margin: 0; }
.recap-col li {
  font-family: var(--serif-body);
  font-size: 19.5px;
  color: var(--cream);
  padding: 7px 0 7px 18px;
  position: relative;
  line-height: 1.5;
}
.recap-col li::before {
  content: '✦';
  position: absolute;
  left: 0;
  font-size: 10px;
  color: var(--gold);
  top: 12px;
}
.recap-col.shadow li::before { color: var(--muted); }

.mantra-box {
  margin-top: 26px;
  padding: 20px;
  border: 1px solid var(--gold-soft);
  border-radius: 3px;
  background: rgba(201,161,90,0.05);
  text-align: center;
}
.mantra-box .mantra-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.mantra-box .mantra-text {
  font-family: var(--serif-display);
  font-size: 22px;
  color: var(--gold-light);
  font-style: normal;
}

/* --- info-row (career / relationship key:value layout) --- */
.info-row {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.info-row:last-child { border-bottom: none; }
.info-row .info-label {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.info-row .info-text {
  font-family: var(--serif-body);
  font-size: 20px;
  color: var(--cream);
  line-height: 1.55;
}

/* --- remedy grid --- */
.remedy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}
@media (max-width: 520px) { .remedy-grid { grid-template-columns: 1fr; } }
.remedy-item {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 16px 18px;
}
.remedy-item .remedy-label {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.remedy-item .remedy-text {
  font-family: var(--serif-body);
  font-size: 19px;
  color: var(--cream);
  line-height: 1.5;
}
.remedy-planet-title {
  font-family: var(--serif-display);
  font-size: 16px;
  color: var(--gold-light);
  margin: 30px 0 4px;
}
.remedy-planet-title:first-child { margin-top: 6px; }

/* --- blueprint summary (inside conclusion) --- */
.blueprint-list { text-align: left; margin: 26px 0; }
.blueprint-row {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.blueprint-row:last-child { border-bottom: none; }
.blueprint-row .bp-label {
  flex: 0 0 150px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 3px;
}
.blueprint-row .bp-value {
  flex: 1;
  font-family: var(--serif-body);
  font-size: 20px;
  color: var(--cream);
  line-height: 1.5;
}

/* --- reading position note --- */
.position-note {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 18.5px;
  color: var(--muted);
  border-left: 2px solid var(--gold-soft);
  padding-left: 14px;
  margin: 4px 0 20px;
}

/* --- 1:1 CTA section --- */
.cta-section {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 0;
  padding: 60px 24px 40px;
  background: var(--black);
  text-align: center;
}
.cta-photo {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin: 0 auto 20px;
}
.cta-section .eyebrow { justify-content: center; }
.cta-section .eyebrow::before, .cta-section .eyebrow::after { display: none; }
.cta-title {
  font-family: var(--serif-display);
  font-size: 24px;
  color: var(--gold-light);
  margin: 8px 0 12px;
}
.cta-text {
  font-family: var(--serif-body);
  font-size: 20px;
  color: var(--cream);
  max-width: 440px;
  margin: 0 auto 24px;
  line-height: 1.6;
}
.cta-handle {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: #1a1306;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
}

/* ======================================================
   PRINT / PDF EXPORT
   ====================================================== */
@media print {
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    color-adjust: exact !important;
  }
  .no-print, .stars { display: none !important; }
  html, body {
    background: #030303 !important;
    color: #f2ecdd !important;
  }
  .panel {
    background: #100d09 !important;
    border-color: rgba(201,161,90,0.22) !important;
  }
  .archetype-hero, .conclusion, .cta-section {
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    background: #030303 !important;
  }
  .conclusion { background: #0a0806 !important; }
  .archetype-hero { break-inside: avoid; page-break-inside: avoid; max-height: none; height: auto; }
  .panel, .section-block, .plane-item, .trait-card, .remedy-item, .number-tile, .grid-cell {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .eyebrow, .plane-name, .trait-title, .recap-label, .num-name, .info-label, .remedy-label, .bp-label,
  .growth-title, .guidance-label, .mantra-label { color: #c9a15a !important; }
  .num-digit, .hero-name, .mantra-text { color: #e9cf98 !important; }
  .section-copy, .info-text, .plane-text, .trait-text, .growth-text, .guidance-text, .bp-value, .remedy-text {
    color: #f2ecdd !important;
  }
  .grid-cell.filled { background: rgba(201,161,90,0.15) !important; }
  a[href]::after { content: none !important; }
  .footer-note, .ornament:last-of-type { break-before: avoid !important; page-break-before: avoid !important; }
  .cta-section + .wrap {
    break-before: avoid !important;
    page-break-before: avoid !important;
    padding-top: 6px !important;
    margin-top: -40px;
  }
  .cta-section { padding-bottom: 14px !important; }
  .cta-section + .wrap .ornament { margin: 8px 0 !important; }
  .cta-section + .wrap .brand { margin-bottom: 8px !important; }
  .cta-section + .wrap .logo-img { height: 26px !important; margin: 0 auto; }
  .cta-section + .wrap .footer-note { margin-top: 6px !important; font-size: 11px !important; }
}
