:root {
  --navy: #0b1f33;
  --navy-2: #0f2942;
  --gulf: #1c6e8c;
  --gulf-light: #2a93b8;
  --sand: #f4ead7;
  --sand-2: #efe1c6;
  --ink: #13202b;
  --paper: #fbf7ef;
  --moonglow: #ffe9a8;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

h1, h2, h3 { font-family: "Fraunces", Georgia, serif; line-height: 1.1; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 90% at 70% -10%, #15466b 0%, var(--navy-2) 45%, var(--navy) 100%);
  color: var(--paper);
  padding: clamp(4rem, 12vw, 9rem) 1.5rem clamp(5rem, 12vw, 8rem);
}
.hero__inner { max-width: 760px; margin: 0 auto; position: relative; z-index: 2; }
.moon {
  position: absolute;
  top: clamp(1.5rem, 6vw, 3rem);
  right: clamp(1.5rem, 8vw, 6rem);
  width: clamp(90px, 18vw, 180px);
  height: clamp(90px, 18vw, 180px);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fffdf5, var(--moonglow) 60%, #e9c873 100%);
  box-shadow: 0 0 60px 18px rgba(255, 233, 168, 0.45);
  z-index: 1;
}
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--moonglow);
  margin-bottom: 1.2rem;
}
.hero h1 { font-size: clamp(2.4rem, 7vw, 4.4rem); font-weight: 800; margin-bottom: 1.4rem; }
.lede { font-size: clamp(1.05rem, 2.4vw, 1.3rem); max-width: 60ch; color: #dce7f0; }
.lede strong { color: #fff; }

.btn {
  display: inline-block;
  margin-top: 2rem;
  background: var(--moonglow);
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.25); }

/* ---------- BANDS ---------- */
.band { padding: clamp(3.5rem, 8vw, 6rem) 1.5rem; }
.band--dark { background: var(--navy-2); color: var(--paper); }
.band--sand { background: var(--sand); }
.band--cta { background: linear-gradient(120deg, var(--gulf), var(--gulf-light)); color: #fff; }
.wrap { max-width: 1000px; margin: 0 auto; }
.center { text-align: center; }

.band h2 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); margin-bottom: 1rem; }
.section-lede { font-size: 1.1rem; max-width: 60ch; opacity: 0.92; margin-bottom: 2rem; }
.band p { margin-bottom: 1rem; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.two-col h2 { font-size: clamp(1.4rem, 3.5vw, 2rem); }

/* ---------- WINDOW CARD ---------- */
.window-card {
  background: linear-gradient(135deg, #103452, #0b2236);
  border: 1px solid rgba(255,233,168,0.25);
  border-radius: 20px;
  padding: clamp(1.8rem, 5vw, 3rem);
  text-align: center;
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
}
.window-card__loading { opacity: 0.7; }
.wc-phase { font-size: 3rem; line-height: 1; margin-bottom: 0.5rem; }
.wc-label { text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.75rem; color: var(--moonglow); margin-bottom: 0.4rem; }
.wc-date { font-family: "Fraunces", serif; font-size: clamp(1.6rem, 5vw, 2.4rem); font-weight: 600; margin-bottom: 0.6rem; }
.wc-range { font-size: 1.05rem; color: #cfe0ec; }
.wc-status { display: inline-block; margin-top: 1.2rem; padding: 0.45rem 1.1rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem; }
.wc-status.open { background: #2f9e5f; color: #fff; }
.wc-status.soon { background: var(--moonglow); color: var(--navy); }
.wc-countdown { margin-top: 1rem; font-size: 1rem; opacity: 0.85; }

.upcoming { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin-top: 1.6rem; }
.up-item { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; padding: 1rem; text-align: center; }
.up-item .up-moon { font-size: 1.4rem; }
.up-item .up-date { font-weight: 600; margin-top: 0.3rem; }
.up-item .up-win { font-size: 0.85rem; opacity: 0.75; margin-top: 0.2rem; }

/* ---------- STEPS (mechanism) ---------- */
.steps { display: grid; gap: 1.2rem; }
.step {
  background: var(--paper);
  border: 1px solid rgba(11,31,51,0.08);
  border-left: 5px solid var(--gulf);
  border-radius: 14px;
  padding: 1.5rem 1.7rem;
  box-shadow: 0 6px 18px rgba(11,31,51,0.06);
}
.step__tag {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gulf);
  margin-bottom: 0.5rem;
}
.step h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.step p { margin: 0; }
.step em { font-style: italic; color: var(--gulf); }

/* ---------- CARDS ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.card { background: var(--paper); border-radius: 16px; padding: 1.6rem; box-shadow: 0 8px 24px rgba(11,31,51,0.08); }
.card__num { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--gulf); color: #fff; font-weight: 700; margin-bottom: 0.8rem; }
.card h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.card p { font-size: 0.97rem; margin: 0; }

/* ---------- QUOTES ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
blockquote {
  background: var(--sand);
  border-left: 4px solid var(--gulf);
  border-radius: 0 14px 14px 0;
  padding: 1.4rem 1.6rem;
  font-size: 1.02rem;
  font-style: italic;
}
blockquote cite { display: block; margin-top: 0.8rem; font-style: normal; font-weight: 600; opacity: 0.7; font-size: 0.9rem; }

/* ---------- DETAILS ---------- */
details { border-bottom: 1px solid rgba(255,255,255,0.15); padding: 1.1rem 0; }
details summary { cursor: pointer; font-weight: 600; font-size: 1.1rem; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::before { content: "＋ "; color: var(--moonglow); }
details[open] summary::before { content: "－ "; }
details p { margin-top: 0.8rem; opacity: 0.9; }

/* ---------- FOOTER ---------- */
footer { background: var(--navy); color: #cfe0ec; text-align: center; padding: 3rem 1.5rem; }
footer .fine { font-size: 0.85rem; opacity: 0.6; max-width: 60ch; margin: 0.8rem auto 0; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 680px) {
  .two-col { grid-template-columns: 1fr; gap: 1.5rem; }
}
