/* ============================================================
   Time Wise Mastery, Ginger Steg's productivity + systems coaching
   Brand built from her real logo: gold script on deep navy with a
   gold crescent-moon ring. Palette: deep navy/midnight + warm gold + cream.
   Display: Cormorant Garamond (elegant serif). Body: Mulish.
   Signature motif: the crescent ring, drawn on scroll.
   ============================================================ */

:root {
  --navy: #0e1830;          /* deep midnight, from the logo ground */
  --navy-2: #131f3d;        /* slightly lifted navy for panels */
  --navy-deep: #0a1124;     /* darkest, footer */
  --gold: #c9a24b;          /* warm gold, the script + ring */
  --gold-soft: #e3c987;     /* lighter gold for accents on dark */
  --gold-deep: #a07f33;     /* deeper gold for text on cream */
  --cream: #f6f0e4;         /* warm cream */
  --cream-soft: #fbf7ee;    /* lightest paper */
  --ink: #1d2436;           /* body text on cream */
  --ink-soft: #545d72;      /* muted body text on cream */
  --line: rgba(29, 36, 54, 0.13);
  --line-gold: rgba(201, 162, 75, 0.34);

  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Mulish", -apple-system, sans-serif;
  --maxw: 1180px;
  --r: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  font-size: 19px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 9999; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(92%, var(--maxw)); margin-inline: auto; }

.eyebrow { font-weight: 800; font-size: 0.78rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold-deep); }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.05; color: var(--navy); letter-spacing: -0.005em; }

/* ---------- No orphans, site-wide. ---------- */
h1, h2, h3, blockquote,
.hero__lede, .subhero p, .section__head p, .mission p, .prose p,
.signup__copy p, .feature__copy p, .pillar p, .program p { text-wrap: balance; }
p, li { text-wrap: pretty; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--body); font-weight: 800; font-size: 1rem; letter-spacing: 0.02em;
  padding: 1rem 1.7rem; border-radius: 100px;
  border: 1.5px solid var(--gold); background: var(--gold); color: var(--navy);
  cursor: pointer; transition: transform 0.25s, box-shadow 0.25s, background 0.25s, color 0.25s;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 32px -12px rgba(201, 162, 75, 0.6); }
.btn--ghost { background: transparent; color: var(--gold); }
.btn--ghost:hover { background: var(--gold); color: var(--navy); }
.btn--onlight { background: var(--navy); border-color: var(--navy); color: var(--cream-soft); }
.btn--onlight:hover { box-shadow: 0 14px 32px -12px rgba(14, 24, 48, 0.5); }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--navy) 92%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(201, 162, 75, 0.22); }
.nav__in { display: flex; align-items: center; justify-content: space-between; padding: 0.85rem 0; }
.brandmark { display: flex; align-items: center; gap: 0.7rem; font-family: var(--display); font-weight: 600; font-size: 1.5rem; color: var(--gold-soft); }
.brandmark img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line-gold); }
.nav__links { display: flex; align-items: center; gap: 1.8rem; }
.nav__links a { font-weight: 700; font-size: 0.98rem; color: var(--cream); transition: color 0.2s; }
.nav__links a:hover { color: var(--gold-soft); }
.nav__links .btn { padding: 0.65rem 1.3rem; }
@media (max-width: 940px) { .nav__links a:not(.btn) { display: none; } }

/* ---------------- HERO (navy, with crescent ring + logo) ---------------- */
.hero { position: relative; background: radial-gradient(120% 90% at 80% 0%, var(--navy-2), var(--navy) 55%, var(--navy-deep)); color: var(--cream); overflow: hidden; min-height: 92vh; display: flex; align-items: center; }
.hero__stars { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5;
  background-image:
    radial-gradient(1.4px 1.4px at 18% 28%, rgba(227,201,135,0.7), transparent),
    radial-gradient(1.2px 1.2px at 62% 18%, rgba(246,240,228,0.6), transparent),
    radial-gradient(1.6px 1.6px at 82% 42%, rgba(227,201,135,0.55), transparent),
    radial-gradient(1.1px 1.1px at 38% 62%, rgba(246,240,228,0.5), transparent),
    radial-gradient(1.3px 1.3px at 72% 74%, rgba(227,201,135,0.5), transparent),
    radial-gradient(1.1px 1.1px at 12% 78%, rgba(246,240,228,0.45), transparent);
}
.hero__in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; width: min(92%, var(--maxw)); margin-inline: auto; padding-block: 7vh; }
.hero h1 { font-family: var(--display); font-weight: 500; font-size: clamp(3rem, 7.2vw, 6rem); line-height: 1.02; color: var(--cream-soft); margin: 1.1rem 0; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero__lede { font-size: clamp(1.15rem, 1.8vw, 1.36rem); color: rgba(246,240,228,0.82); max-width: 42ch; margin-bottom: 2rem; }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__mark { position: relative; justify-self: center; width: min(30vw, 360px); aspect-ratio: 1/1; display: grid; place-items: center; }
.hero__mark img { width: 100%; border-radius: 50%; border: 1px solid var(--line-gold); box-shadow: 0 50px 90px -45px rgba(0,0,0,0.7); will-change: transform; }
@media (max-width: 860px) { .hero__in { grid-template-columns: 1fr; gap: 2.6rem; } .hero__mark { width: min(64vw, 300px); } }

/* signature: crescent ring, drawn on scroll, fixed at side */
.ring { position: fixed; top: 0; left: max(2.2vw, 16px); height: 100vh; width: 70px; z-index: 4; pointer-events: none; }
.ring svg { width: 100%; height: 100%; }
.ring path, .ring circle { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; }
.ring .star { fill: var(--gold-soft); opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0); }
@media (max-width: 700px) { .ring { display: none; } }

/* sections */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--cream { background: var(--cream-soft); border-block: 1px solid var(--line); }
.section__head { max-width: 700px; margin-bottom: 3rem; }
.section__head h2 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin: 0.7rem 0 1rem; }
.section__head p { color: var(--ink-soft); font-size: 1.14rem; }
.center { text-align: center; margin-inline: auto; }

/* mission */
.mission { text-align: center; max-width: 1000px; margin-inline: auto; }
.mission h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); margin: 0.9rem 0 1.4rem; text-wrap: balance; }
.mission p { max-width: 64ch; margin-inline: auto; font-size: clamp(1.18rem, 1.9vw, 1.4rem); color: var(--ink-soft); font-family: var(--display); font-style: italic; line-height: 1.5; text-wrap: balance; }

/* feature split */
.feature { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }
.feature__copy h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 0.7rem 0 1.2rem; }
.feature__copy p { color: var(--ink-soft); margin-bottom: 1.1rem; font-size: 1.12rem; }
.feature__panel { position: relative; border-radius: var(--r); overflow: hidden; padding: clamp(2.2rem, 5vw, 3.4rem); background: radial-gradient(120% 110% at 80% 0%, var(--navy-2), var(--navy) 60%, var(--navy-deep)); color: var(--cream); box-shadow: 0 36px 80px -42px rgba(14,24,48,0.6); border: 1px solid var(--line-gold); }
.feature__panel h3 { color: var(--gold-soft); font-size: 1.7rem; margin-bottom: 1rem; }
.feature__panel ul { list-style: none; }
.feature__panel li { position: relative; padding-left: 1.9rem; margin-bottom: 0.95rem; color: rgba(246,240,228,0.88); font-size: 1.06rem; line-height: 1.5; }
.feature__panel li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--gold); }

/* programs (the signature offerings) */
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
@media (max-width: 960px) { .programs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .programs { grid-template-columns: 1fr; } }
.program {
  position: relative; display: flex; flex-direction: column;
  background: var(--cream-soft); border: 1px solid var(--line); border-radius: var(--r);
  padding: 2rem 1.8rem; transition: transform .3s, box-shadow .3s, border-color .3s; overflow: hidden;
}
.section--cream .program { background: var(--cream); }
.program::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--gold-deep), var(--gold-soft)); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.program:hover { transform: translateY(-7px); box-shadow: 0 28px 56px -34px rgba(14, 24, 48, 0.32); border-color: var(--line-gold); }
.program:hover::before { transform: scaleX(1); }
.program__tag { align-self: flex-start; font-weight: 800; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); border: 1px solid var(--line-gold); border-radius: 100px; padding: 0.3rem 0.8rem; margin-bottom: 1rem; }
.program h3 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.program p { color: var(--ink-soft); font-size: 1.02rem; flex: 1; line-height: 1.55; }

/* pillars (coaching / speaking / workshops) */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }
.pillar { position: relative; background: var(--navy-2); border: 1px solid var(--line-gold); border-radius: var(--r); padding: 2rem 1.8rem; color: var(--cream); transition: transform .3s, box-shadow .3s; overflow: hidden; }
.pillar:hover { transform: translateY(-7px); box-shadow: 0 28px 56px -30px rgba(14,24,48,0.55); }
.pillar .moon { display: block; width: 34px; height: 34px; margin-bottom: 1rem; }
.pillar h3 { color: var(--gold-soft); font-size: 1.5rem; margin-bottom: 0.5rem; }
.pillar p { color: rgba(246,240,228,0.82); font-size: 1.02rem; line-height: 1.55; }

/* verse / pull quote */
.verse { background: var(--navy); color: var(--cream); position: relative; overflow: hidden; }
.verse::after { content: ""; position: absolute; inset: auto -10% -42% auto; width: 60vw; height: 60vw; max-width: 620px; max-height: 620px; background: radial-gradient(circle, rgba(201,162,75,0.22), transparent 62%); }
.verse__in { position: relative; z-index: 1; text-align: center; max-width: 920px; }
.verse .mark { font-family: var(--display); font-size: 5rem; line-height: 0; color: var(--gold); display: block; height: 2.4rem; }
.verse blockquote { font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.26; color: var(--cream-soft); }
.verse cite { display: block; margin-top: 1.6rem; font-family: var(--body); font-style: normal; font-weight: 800; letter-spacing: 0.24em; text-transform: uppercase; font-size: 0.8rem; color: var(--gold-soft); }

/* signup / contact */
.signup { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 820px) { .signup { grid-template-columns: 1fr; } }
.signup__copy h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.signup__copy p { color: var(--ink-soft); font-size: 1.12rem; }
.signup__email { margin-top: 1.1rem; font-weight: 800; color: var(--gold-deep); font-size: 1.06rem; }
.form { display: flex; flex-direction: column; gap: 0.9rem; }
.form__row { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.field { flex: 1; min-width: 0; font-family: var(--body); font-size: 1.02rem; padding: 1rem 1.2rem; border-radius: 12px; border: 1.5px solid var(--line); background: var(--cream-soft); color: var(--ink); }
.field:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,75,0.22); }
textarea.field { resize: vertical; min-height: 120px; }
.form__note { font-size: 0.9rem; color: var(--ink-soft); }

/* footer */
.foot { background: var(--navy-deep); color: rgba(246, 240, 228, 0.82); padding: 4rem 0 2.5rem; }
.foot__in { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; align-items: flex-start; }
.foot .brandmark { color: var(--gold-soft); }
.foot__tagline { margin-top: 0.9rem; max-width: 34ch; opacity: 0.85; }
.foot__links { display: flex; gap: 2.6rem; flex-wrap: wrap; }
.foot__col h4 { font-family: var(--body); font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.78rem; color: var(--gold-soft); margin-bottom: 1rem; }
.foot__col a { display: block; margin-bottom: 0.6rem; opacity: 0.85; transition: opacity 0.2s, color 0.2s; }
.foot__col a:hover { opacity: 1; color: var(--gold-soft); }
.foot__bottom { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(246, 240, 228, 0.14); font-size: 0.86rem; opacity: 0.7; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* draft tag */
.draft { position: fixed; bottom: 18px; left: 18px; z-index: 9998; background: var(--navy); color: var(--gold-soft); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.5rem 0.9rem; border-radius: 100px; border: 1px solid var(--line-gold); }

/* reveal: scroll-triggered fade-rise */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s cubic-bezier(.16,1,.3,1), transform 1.1s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.05s; } .d2 { transition-delay: 0.18s; } .d3 { transition-delay: 0.31s; } .d4 { transition-delay: 0.44s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  .ring path, .ring circle { stroke-dashoffset: 0 !important; }
  .ring .star { opacity: 1 !important; transform: none !important; }
  .hero__mark img { transform: none !important; }
}

/* ============================================================
   ADDED MOTION (tasteful, soft): staggered grid reveals,
   gentle hover micro-interactions, soft ambient drift.
   All guarded by prefers-reduced-motion below.
   ============================================================ */

/* Staggered grid reveals: children fade-rise in sequence when their grid
   (which carries .reveal) enters. motion.js sets --si per child. */
.stagger > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
  transition-delay: calc(var(--si, 0) * .08s);
}
.stagger.in > * { opacity: 1; transform: none; }

/* Gentle hover micro-interactions: a touch of scale atop the existing lift,
   a soft gold glow on cards and buttons. Understated. */
.program, .pillar { transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s, border-color .3s; }
.program:hover { transform: translateY(-7px) scale(1.012); }
.pillar:hover { transform: translateY(-7px) scale(1.012); box-shadow: 0 28px 56px -30px rgba(14,24,48,0.55), 0 0 0 1px var(--line-gold); }
.btn:hover { box-shadow: 0 16px 36px -12px rgba(201, 162, 75, 0.65), 0 0 0 4px rgba(201, 162, 75, 0.16); }
.btn--onlight:hover { box-shadow: 0 16px 36px -12px rgba(14, 24, 48, 0.55), 0 0 0 4px rgba(14, 24, 48, 0.12); }

/* Slow ambient drift on the hero starfield (very low amplitude). */
@keyframes twm-drift { 0%, 100% { opacity: .5; } 50% { opacity: .62; } }
.hero__stars { animation: twm-drift 9s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .program:hover, .pillar:hover { transform: none !important; }
  .hero__stars { animation: none !important; }
}
