/* ============================================
   Breath of Radiance — Soft Launch (90-Day Challenge)
   Dark luxury / sacred geometry, warmed with earthy tan & sage
   ============================================ */

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

:root {
  --gold: #c9a84c;
  --gold-light: #e8cc7a;
  --sage: #8fa98a;
  --tan: #c8ab86;
  --teal-deep: #1e4d55;
  --cream: #faf5ec;
  --charcoal: #1c1e22;
  --ink-soft: rgba(250, 245, 236, 0.62);
  --ink-faint: rgba(250, 245, 236, 0.42);
  --line: rgba(201, 168, 76, 0.16);
}

html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 17px;
  line-height: 1.6;
  background: var(--charcoal);
  color: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }

/* ── HEADER ── */
header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 1rem 4rem;
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(180deg, rgba(28, 30, 34, 0.95) 0%, rgba(28,30,34,0.4) 100%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
  transition: background 0.4s ease;
}
header.scrolled { background: rgba(13, 15, 18, 0.97); }
.logo {
  font-family: 'Cinzel', serif; font-size: 1rem; letter-spacing: 0.22em;
  color: var(--gold-light); text-transform: uppercase; text-decoration: none;
  display: flex; align-items: center; gap: 0.7rem;
}
.logo-glyph { width: 28px; height: 28px; flex-shrink: 0; animation: spin 12s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

nav ul { list-style: none; display: flex; align-items: center; gap: 2.2rem; }
nav a {
  font-family: 'Jost', sans-serif; font-weight: 300; font-size: 0.78rem;
  letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap;
  color: var(--ink-soft); text-decoration: none; transition: color 0.3s ease;
}
nav a:hover { color: var(--gold-light); }
nav a.nav-cta {
  color: var(--charcoal); background: var(--gold);
  padding: 0.6rem 1.3rem; border-radius: 50px; font-weight: 400;
}
nav a.nav-cta:hover { background: var(--gold-light); color: var(--charcoal); }

.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; background: none; border: 0; cursor: pointer; align-items: center;
}
.hamburger span { width: 22px; height: 1.5px; background: var(--gold); transition: transform 0.3s ease, opacity 0.3s ease; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── HERO ── */
.hero {
  min-height: 100vh; min-height: 100svh; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 6rem 1.5rem 5rem;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(201,168,76,0.09) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 15% 85%, rgba(143,169,138,0.12) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 85% 15%, rgba(200,171,134,0.08) 0%, transparent 50%),
    linear-gradient(165deg, #0d0f12 0%, #1a1e22 40%, #141a1e 70%, #0e1215 100%);
}
.geo-ring {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  border-radius: 50%; border: 1px solid rgba(201,168,76,0.12);
  animation: breathe 9s ease-in-out infinite;
}
.geo-ring:nth-child(1) { width: min(700px, 150vw); height: min(700px, 150vw); }
.geo-ring:nth-child(2) { width: min(500px, 110vw); height: min(500px, 110vw); animation-delay: 1.5s; border-color: rgba(143,169,138,0.14); }
.geo-ring:nth-child(3) { width: min(320px, 75vw); height: min(320px, 75vw); animation-delay: 3s; border-color: rgba(201,168,76,0.2); }
@keyframes breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.12); opacity: 1; }
}
.candle-particles { position: absolute; bottom: 0; left: 0; right: 0; height: 300px; pointer-events: none; }
.particle {
  position: absolute; bottom: 0; width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, transparent, var(--gold));
  animation: flicker var(--dur, 4s) ease-in-out infinite var(--delay, 0s); opacity: 0;
}
@keyframes flicker {
  0%, 100% { opacity: 0; transform: scaleY(0) translateY(0); }
  20% { opacity: 0.7; transform: scaleY(1) translateY(-60px); }
  80% { opacity: 0.3; transform: scaleY(0.5) translateY(-120px); }
}
.hero-content { position: relative; z-index: 5; max-width: 900px; }
.hero-eyebrow {
  display: inline-block; font-family: 'Jost', sans-serif; font-size: 0.8rem; letter-spacing: 0.12em;
  color: var(--gold-light); border: 1px solid rgba(201,168,76,0.35); border-radius: 50px;
  padding: 0.4rem 1.1rem; margin-bottom: 2rem; animation: fadeup 1.2s ease 0.2s both;
}
h1 {
  font-family: 'Cinzel Decorative', serif; font-weight: 300;
  font-size: clamp(2.4rem, 7vw, 5rem); line-height: 1.08; letter-spacing: 0.04em;
  background: linear-gradient(135deg, var(--gold-light) 0%, #fff8e8 40%, var(--gold) 70%, var(--gold-light) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem; animation: fadeup 1.2s ease 0.4s both;
}
.hero-tagline {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem); font-style: italic; color: var(--ink-soft);
  margin-bottom: 2.6rem; line-height: 1.7; animation: fadeup 1.2s ease 0.6s both;
}
.hero-note {
  margin-top: 2rem; font-family: 'Jost', sans-serif; font-size: 0.85rem; color: var(--ink-faint);
  animation: fadeup 1.2s ease 1s both;
}
.cta-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; animation: fadeup 1.2s ease 0.8s both; }
.btn {
  font-family: 'Jost', sans-serif; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 1rem 2.4rem; min-height: 48px; border-radius: 50px; text-decoration: none;
  display: inline-flex; align-items: center; transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, #b8872c 100%); color: var(--charcoal); font-weight: 500;
  box-shadow: 0 8px 30px rgba(201,168,76,0.3);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(201,168,76,0.4); }
.btn-outline { border: 1px solid rgba(201,168,76,0.45); color: var(--gold-light); }
.btn-outline:hover { background: rgba(201,168,76,0.08); transform: translateY(-3px); }
.scroll-cue {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 5;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-family: 'Jost', sans-serif; font-size: 0.7rem; letter-spacing: 0.2em; color: rgba(250,245,236,0.3); text-transform: uppercase;
}
.scroll-line { width: 1px; height: 40px; background: linear-gradient(180deg, var(--gold), transparent); }
@keyframes fadeup { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* ── SECTIONS ── */
.band-dark { background: linear-gradient(180deg, var(--charcoal) 0%, #141a1e 100%); }
.band-teal { background: linear-gradient(135deg, var(--teal-deep) 0%, #0f2028 100%); border-block: 1px solid var(--line); }
.band-deep { background: linear-gradient(180deg, #0e1215 0%, #111519 100%); border-top: 1px solid var(--line); }
.section { padding: 7rem 5rem; max-width: 1240px; margin: 0 auto; }
.section-narrow { max-width: 860px; }
.section-label {
  display: block; font-family: 'Jost', sans-serif; font-size: 0.8rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1rem;
}
.section-title {
  font-family: 'Cinzel', serif; font-weight: 400; font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: 0.03em; line-height: 1.15; margin-bottom: 1rem; text-wrap: balance;
}
.section-title span { color: var(--gold-light); }
.section-sub { font-style: italic; font-size: 1.1rem; color: var(--ink-faint); }
.divider { width: 60px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin: 1.5rem 0 3rem; }

/* Offer cards */
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.offer-card {
  background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: 6px;
  padding: 2.2rem 2rem; transition: transform 0.4s ease, border-color 0.4s ease;
}
.offer-card:hover { transform: translateY(-5px); border-color: rgba(201,168,76,0.35); }
.offer-price { font-family: 'Cinzel', serif; font-size: 2.4rem; color: var(--gold-light); line-height: 1; margin-bottom: 1rem; }
.offer-card h3 { font-family: 'Cinzel', serif; font-weight: 400; font-size: 1.15rem; margin-bottom: 0.6rem; }
.offer-card p:last-child { color: var(--ink-soft); font-size: 1rem; }

/* Phases */
.phases { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; counter-reset: none; }
.phase { position: relative; padding-top: 1.5rem; border-top: 1px solid rgba(201,168,76,0.35); }
.phase-days { font-family: 'Jost', sans-serif; font-size: 0.85rem; letter-spacing: 0.08em; color: var(--tan); }
.phase h3 { font-family: 'Cinzel Decorative', serif; font-weight: 300; font-size: 2rem; color: var(--gold-light); margin: 0.4rem 0 0.6rem; }
.phase p { color: var(--ink-soft); }

/* ── FORM ── */
.form-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 6px; padding: 3rem;
}
fieldset { border: 0; margin-bottom: 2.4rem; }
legend {
  font-family: 'Cinzel', serif; font-size: 1.2rem; color: var(--gold-light);
  padding-bottom: 0.6rem; margin-bottom: 1.4rem; width: 100%; border-bottom: 1px solid var(--line);
}
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.4rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label:not(.choice), .group-label {
  display: block; font-family: 'Jost', sans-serif; font-size: 0.9rem; font-weight: 400;
  color: rgba(250,245,236,0.85); margin-bottom: 0.55rem;
}
.req { color: var(--gold); }
.opt { color: var(--ink-faint); font-weight: 300; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; min-height: 48px; padding: 0.8rem 1rem;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: 4px;
  color: var(--cream); font-family: 'EB Garamond', serif; font-size: 16px;
  transition: border-color 0.3s ease, background 0.3s ease;
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }
select option { background: #1c1e22; color: var(--cream); }
textarea { resize: vertical; line-height: 1.6; }
input::placeholder, textarea::placeholder { color: rgba(250,245,236,0.3); font-style: italic; }
input:focus, select:focus, textarea:focus { outline: none; border-color: rgba(201,168,76,0.6); background: rgba(201,168,76,0.05); }
.invalid input, .invalid select, .invalid textarea, input.invalid { border-color: #d98b6f; }
.invalid .choices { outline: 1px solid rgba(217,139,111,0.6); outline-offset: 6px; border-radius: 4px; }

.choices { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.choice {
  display: inline-flex; align-items: center; gap: 0.55rem; min-height: 44px;
  padding: 0.5rem 1rem; border: 1px solid rgba(255,255,255,0.12); border-radius: 50px;
  font-family: 'Jost', sans-serif; font-size: 0.92rem; font-weight: 300; color: var(--ink-soft);
  cursor: pointer; transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.choice:hover { border-color: rgba(201,168,76,0.45); }
.choice:has(input:checked) { border-color: var(--gold); background: rgba(201,168,76,0.1); color: var(--cream); }
.choice input { accent-color: var(--gold); width: 17px; height: 17px; flex-shrink: 0; }
.choice-block { display: flex; align-items: flex-start; border-radius: 6px; line-height: 1.5; padding: 0.8rem 1rem; margin-bottom: 0.7rem; }
.choice-block input { margin-top: 0.2rem; }
.hint { font-size: 0.92rem; font-style: italic; color: var(--ink-faint); margin-top: 0.5rem; }
.hint.center { text-align: center; margin-top: 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-error { min-height: 1.4em; color: #e9a58b; font-family: 'Jost', sans-serif; font-size: 0.92rem; margin-bottom: 0.8rem; text-align: center; }

.submit {
  width: 100%; min-height: 54px; padding: 1rem;
  background: linear-gradient(135deg, var(--gold) 0%, #a8722a 100%); border: none; border-radius: 50px;
  font-family: 'Jost', sans-serif; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--charcoal); cursor: pointer; box-shadow: 0 8px 30px rgba(201,168,76,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}
.submit:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(201,168,76,0.35); }
.submit:disabled { opacity: 0.6; cursor: progress; transform: none; }

.form-success { text-align: center; padding: 2rem 0; }
.form-success:focus { outline: none; }
.success-glyph {
  width: 90px; height: 90px; margin: 0 auto 1.6rem; border-radius: 50%;
  border: 1px solid var(--gold); position: relative; animation: breatheSolo 6s ease-in-out infinite;
}
.success-glyph::after { content: ''; position: absolute; inset: 30px; border-radius: 50%; background: var(--gold); opacity: 0.6; }
@keyframes breatheSolo { 0%,100% { transform: scale(1); } 50% { transform: scale(1.1); } }
.form-success h3 { font-family: 'Cinzel', serif; font-weight: 400; font-size: 1.8rem; color: var(--gold-light); margin-bottom: 0.8rem; }
.form-success p { color: var(--ink-soft); max-width: 34em; margin: 0 auto; }
.preview-note { margin-top: 1.4rem !important; font-family: 'Jost', sans-serif; font-size: 0.88rem; color: var(--tan) !important; }

/* ── COMING SOON ── */
.soon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.2rem; }
.soon-card {
  position: relative; padding: 2rem 1.6rem; border-radius: 6px;
  border: 1px dashed rgba(201,168,76,0.28); background: rgba(255,255,255,0.015);
}
.soon-tag {
  display: inline-block; font-family: 'Jost', sans-serif; font-size: 0.75rem; letter-spacing: 0.08em;
  color: var(--sage); border: 1px solid rgba(143,169,138,0.45); border-radius: 50px; padding: 0.2rem 0.75rem; margin-bottom: 1rem;
}
.soon-card h3 { font-family: 'Cinzel', serif; font-weight: 400; font-size: 1.1rem; margin-bottom: 0.5rem; }
.soon-card p { color: var(--ink-faint); font-size: 0.98rem; }

/* ── ABOUT / CONTACT ── */
.about-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 5rem; align-items: center; }
.about-title { font-family: 'Cinzel', serif; font-weight: 400; font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
.about-text p { color: var(--ink-soft); margin-bottom: 1.1rem; }
.pull-quote { border-left: 2px solid var(--gold); padding: 1.3rem 1.8rem; margin-top: 2rem; background: rgba(201,168,76,0.05); border-radius: 0 4px 4px 0; }
.pull-quote p { font-family: 'Cinzel', serif; color: var(--gold-light); margin: 0; line-height: 1.6; }
.info-cards { display: flex; flex-direction: column; gap: 1rem; }
.info-card { border-left: 2px solid var(--gold); background: rgba(255,255,255,0.02); padding: 1.2rem 1.6rem; border-radius: 0 4px 4px 0; }
.info-card h3 { font-family: 'Cinzel', serif; font-weight: 400; font-size: 0.95rem; color: var(--gold-light); margin-bottom: 0.3rem; }
.info-card p { color: var(--ink-soft); font-size: 1rem; }
.info-card a { text-decoration: none; }
.info-card a:hover { color: var(--gold-light); }

/* ── FOOTER ── */
footer { background: #080b0d; border-top: 1px solid var(--line); padding: 4rem 1.5rem 3rem; text-align: center; }
.footer-logo { font-family: 'Cinzel Decorative', serif; letter-spacing: 0.18em; color: var(--gold); margin-bottom: 1.2rem; }
.footer-quote { font-style: italic; color: rgba(250,245,236,0.35); margin: 0 auto 2rem; max-width: 34em; }
.socials { display: flex; gap: 0.8rem; justify-content: center; margin-bottom: 2rem; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.1);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Jost', sans-serif; font-size: 0.75rem; letter-spacing: 0.05em; color: rgba(250,245,236,0.45); text-decoration: none;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.socials a:hover { border-color: var(--gold); color: var(--gold-light); }
.footer-line { width: 40px; height: 1px; background: rgba(201,168,76,0.3); margin: 0.8rem auto; }
.copy { font-family: 'Jost', sans-serif; font-size: 0.8rem; color: rgba(250,245,236,0.3); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
/* Full nav needs ~970px (logo + 5 links); tighten it first, then switch to the hamburger */
@media (max-width: 1200px) {
  header { padding: 1rem 2rem; }
  nav ul { gap: 1.4rem; }
}
@media (max-width: 1000px) {
  .section { padding: 6rem 2.5rem; }
  .offer-grid, .phases { grid-template-columns: minmax(0, 1fr); }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
}
@media (max-width: 1000px) {
  header { padding: 0.6rem 1.2rem; }
  .hamburger { display: flex; }
  nav ul {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #0d0f12; border-bottom: 1px solid var(--line); padding: 0.8rem 1.2rem 1.4rem;
  }
  nav ul.open { display: flex; }
  nav li a { display: block; padding: 0.9rem 0.2rem; }
  nav li a.nav-cta { text-align: center; margin-top: 0.6rem; padding: 0.9rem; }
}
@media (max-width: 600px) {
  .section { padding: 4.5rem 1.25rem; }
  .form-card { padding: 1.6rem 1.2rem; }
  .row { grid-template-columns: minmax(0, 1fr); }
  .logo span { font-size: 0.85rem; letter-spacing: 0.14em; }
  .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
