/* ============================================================
   THE SECRET ZODIAC — design system
   Midnight / Onyx / Gold / Bone — editorial, manuscript-quiet
   ============================================================ */

:root {
  --midnight: #0b0e1b;
  --onyx: #050608;
  --gold: #c9a24e;
  --gold-pale: #e8d9ae;
  --bone: #f6f3ec;
  --ash: #8b8c99;
  --hairline: rgba(201, 162, 78, 0.22);
  --hairline-strong: rgba(201, 162, 78, 0.45);

  --font-display: "Cormorant", "Cormorant Garamond", serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1180px;
  --gutter: clamp(24px, 6vw, 80px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--midnight);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a {
  color: var(--gold-pale);
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  margin: 0;
  color: var(--bone);
  letter-spacing: 0.01em;
}

p { margin: 0 0 1em; color: var(--ash); }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
  margin-bottom: 18px;
}

.hr {
  border: none;
  border-top: 1px solid var(--hairline);
  margin: 0;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 32px;
  border: 1px solid var(--gold);
  color: var(--bone);
  background: transparent;
  cursor: pointer;
  transition: background 0.35s ease, color 0.35s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--gold); color: var(--onyx); }

.btn-solid {
  background: var(--gold);
  color: var(--onyx);
}
.btn-solid:hover { background: var(--gold-pale); border-color: var(--gold-pale); }

/* ---------- nav ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11, 14, 27, 0);
  border-bottom: 1px solid rgba(201, 162, 78, 0);
  transition: background 0.4s ease, border-color 0.4s ease;
}
.site-nav.is-solid {
  background: rgba(5, 6, 8, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-mark { display: flex; align-items: center; gap: 12px; }
.logo-mark svg { width: 30px; height: 30px; flex-shrink: 0; }
.logo-word {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone);
}
.nav-links { display: flex; gap: 34px; }
.nav-links a {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
  position: relative;
  padding-bottom: 4px;
}
.nav-links a:hover { color: var(--bone); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  border: 1px solid var(--gold);
  padding: 9px 20px;
  color: var(--bone) !important;
}
.nav-cta:hover { background: var(--gold); color: var(--onyx) !important; }

.nav-toggle { display: none; background: none; border: none; color: var(--bone); cursor: pointer; }
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--onyx);
  z-index: 99;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--bone);
  letter-spacing: 0.04em;
}
.mobile-close {
  position: absolute;
  top: 26px; right: var(--gutter);
  background: none; border: none; color: var(--bone); cursor: pointer;
}
.mobile-close svg { width: 26px; height: 26px; }

/* ---------- hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 110px;
  padding-bottom: 80px;
  overflow: hidden;
}
.hero-stars {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.hero h1 {
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.05;
  font-weight: 500;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero .lede {
  font-size: 18px;
  color: var(--ash);
  max-width: 520px;
  margin: 26px 0 40px;
}
.hero-ctas { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- trust strip ---------- */
.trust-strip {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 26px 0;
}
.trust-row {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  text-align: center;
}
.trust-row span {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ash);
}
.trust-row span b { color: var(--gold-pale); font-weight: 500; }

/* ---------- generic section ---------- */
.section { padding: 120px 0; }
.section-alt { background: var(--onyx); }
.section-head { max-width: 640px; margin-bottom: 64px; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.15; }
.section-head p.lede { color: var(--ash); font-size: 17px; margin-top: 18px; }

/* ---------- about teaser ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 70px;
  align-items: center;
}
.portrait-frame {
  aspect-ratio: 4/5;
  border: 1px solid var(--hairline-strong);
  position: relative;
  background: linear-gradient(160deg, #11142a, #070810);
  display: flex;
  align-items: center;
  justify-content: center;
}
.portrait-frame .ph-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash);
  text-align: center;
  padding: 0 20px;
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- decans section ---------- */
.decan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
@media (max-width: 880px) {
  .decan-grid { grid-template-columns: 1fr; gap: 50px; }
}
.decan-wheel-wrap { display: flex; justify-content: center; }
.decan-wheel-wrap svg { width: 100%; max-width: 440px; height: auto; }

.steps { display: flex; flex-direction: column; gap: 28px; margin-top: 36px; }
.step { display: flex; gap: 20px; }
.step .num {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--gold);
  width: 36px;
  flex-shrink: 0;
}
.step h4 { font-size: 18px; margin-bottom: 6px; font-weight: 500; }
.step p { font-size: 15px; margin: 0; }

/* ---------- course section ---------- */
.course-panel {
  border: 1px solid var(--hairline-strong);
  padding: clamp(36px, 6vw, 64px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
}
@media (max-width: 880px) {
  .course-panel { grid-template-columns: 1fr; gap: 40px; }
}
.course-list { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.course-list li {
  display: flex;
  gap: 14px;
  font-size: 15px;
  color: var(--ash);
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 14px;
}
.course-list li span.wk { color: var(--gold); font-family: var(--font-display); font-size: 15px; flex-shrink: 0; width: 64px; }
.course-form-box {
  background: var(--midnight);
  border: 1px solid var(--hairline);
  padding: 32px;
}
.course-form-box h4 { font-size: 19px; margin-bottom: 8px; font-weight: 500; }
.course-form-box p.small { font-size: 14px; margin-bottom: 22px; }
.placeholder-note {
  font-size: 12px;
  color: var(--gold);
  border: 1px dashed var(--hairline-strong);
  padding: 10px 14px;
  margin-top: 16px;
  line-height: 1.5;
}

/* fallback simple form (shown if no embed code yet) */
.fallback-form { display: flex; flex-direction: column; gap: 12px; }
.fallback-form input {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--hairline-strong);
  color: var(--bone);
  padding: 12px 2px;
  font-family: var(--font-body);
  font-size: 14px;
}
.fallback-form input::placeholder { color: var(--ash); }
.fallback-form input:focus { outline: none; border-color: var(--gold); }

/* ---------- booking section ---------- */
.book-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}
@media (max-width: 880px) { .book-grid { grid-template-columns: 1fr; gap: 46px; } }
.session-card {
  border: 1px solid var(--hairline);
  padding: 30px;
  margin-bottom: 18px;
}
.session-card h4 { font-size: 19px; font-weight: 500; margin-bottom: 8px; }
.session-card .price { color: var(--gold); font-family: var(--font-display); font-size: 17px; margin-bottom: 12px; display: block; }
.session-card p { font-size: 14.5px; margin-bottom: 18px; }

/* ---------- blog teaser / blog grid ---------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { border-top: 1px solid var(--hairline-strong); padding-top: 22px; }
.post-card .tag { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.post-card h3 { font-size: 23px; margin: 14px 0 10px; line-height: 1.25; font-weight: 500; }
.post-card p { font-size: 14.5px; }
.post-card .read-more { font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone); border-bottom: 1px solid var(--gold); padding-bottom: 3px; }
.post-card a.cardlink { display: block; }
.post-card a.cardlink:hover h3 { color: var(--gold-pale); }

/* ---------- footer ---------- */
.site-footer { background: var(--onyx); border-top: 1px solid var(--hairline); padding: 64px 0 36px; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-col h5 { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; font-family: var(--font-body); }
.footer-col a, .footer-col p { display: block; font-size: 14px; color: var(--ash); margin-bottom: 10px; }
.footer-col a:hover { color: var(--bone); }
.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--ash);
}

/* ---------- page header (about / blog) ---------- */
.page-hero {
  padding: 180px 0 80px;
  border-bottom: 1px solid var(--hairline);
}
.page-hero h1 { font-size: clamp(38px, 6vw, 60px); }
.page-hero p.lede { max-width: 560px; margin-top: 22px; font-size: 17px; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- about page specific ---------- */
.bio-block { max-width: 700px; }
.bio-block p { font-size: 16.5px; color: var(--bone); opacity: 0.85; }
.pull-quote {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-style: italic;
  color: var(--gold-pale);
  border-left: 2px solid var(--gold);
  padding-left: 28px;
  margin: 48px 0;
  line-height: 1.4;
}
.credentials-list { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-direction: column; gap: 14px; }
.credentials-list li { font-size: 15px; color: var(--ash); padding-left: 22px; position: relative; }
.credentials-list li::before { content: "—"; position: absolute; left: 0; color: var(--gold); }

/* ---------- blog post page ---------- */
.post-meta { display: flex; gap: 18px; align-items: center; margin-bottom: 24px; }
.post-meta span { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ash); }
.post-body { max-width: 680px; }
.post-body p { font-size: 17px; color: var(--bone); opacity: 0.85; margin-bottom: 1.4em; }
.post-body h2 { font-size: 28px; margin: 50px 0 20px; }
