/* St. Gelais Leadership — shared styles. Palette matches the You Are the Goal workbook and Life Audit. */
:root {
  --navy: #1C2B3A;
  --navy-2: #24384B;
  --gold: #8B6914;
  --gold-light: #C9A84C;
  --gold-pale: #F0E4C0;
  --cream: #FAF7F2;
  --tan: #EDE0C4;
  --line: #E2D6BC;
  --ink: #1A1A1A;
  --ink-2: #4A4035;
  --ink-3: #6E6253;
  --white: #FFFFFF;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 10px;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; color: var(--navy); margin: 0 0 .4em; letter-spacing: -.01em; }
h1 { font-size: clamp(42px, 6.4vw, 76px); }
h2 { font-size: clamp(32px, 4.4vw, 50px); }
h3 { font-size: clamp(24px, 2.6vw, 30px); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 12px; z-index: 99; }
.eyebrow { font: 600 13px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; display: block; }
.lede { font-size: clamp(19px, 2vw, 22px); color: var(--ink-2); max-width: 640px; }
.muted { color: var(--ink-3); }
.small { font-size: 15px; }

/* Buttons */
.btn { display: inline-block; background: var(--gold); color: var(--white); text-decoration: none; font: 600 16px/1 var(--sans); padding: 16px 26px; border-radius: 999px; border: 2px solid var(--gold); transition: background .15s, color .15s, transform .15s; cursor: pointer; }
.btn:hover { background: var(--navy); border-color: var(--navy); color: var(--white); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn.ghost:hover { background: var(--navy); color: var(--white); }
.on-dark .btn.ghost { color: var(--white); border-color: rgba(255,255,255,.6); }
.on-dark .btn.ghost:hover { background: var(--white); color: var(--navy); }
.on-dark .btn:hover { background: var(--white); border-color: var(--white); color: var(--navy); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Header */
header.site { background: var(--navy); color: var(--white); position: sticky; top: 0; z-index: 50; border-bottom: 3px solid var(--gold-light); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.brand { color: var(--white); text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.brand b { font: 600 25px/1 var(--serif); letter-spacing: .01em; }
.brand span { font: 500 11px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--gold-light); margin-top: 6px; }
.brand:hover { color: var(--white); }
nav.main { display: flex; align-items: center; gap: 22px; }
nav.main a { color: rgba(255,255,255,.86); text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; }
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--gold-light); }
nav.main a.btn { color: var(--white); padding: 12px 20px; font-size: 15px; }
nav.main a.btn:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.menu-toggle { display: none; background: none; border: 0; color: var(--white); padding: 8px; cursor: pointer; }
@media (max-width: 1080px) {
  .menu-toggle { display: block; }
  nav.main { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; border-bottom: 3px solid var(--gold-light); }
  header.site.open nav.main { display: flex; }
  nav.main a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 17px; }
  nav.main a.btn { margin-top: 16px; text-align: center; border-bottom: 2px solid var(--gold); }
}

/* Sections */
section { padding: clamp(64px, 9vw, 112px) 0; }
section.tight { padding: clamp(44px, 6vw, 72px) 0; }
.on-dark { background: var(--navy); color: rgba(255,255,255,.88); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--white); }
.on-dark .lede { color: rgba(255,255,255,.8); }
.on-dark .eyebrow { color: var(--gold-light); }
.on-dark a:not(.btn) { color: var(--gold-light); }
.on-tan { background: var(--tan); }
.on-white { background: var(--white); }
.horizon { height: 1px; background: linear-gradient(90deg, transparent, var(--gold-light), transparent); border: 0; margin: 0; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 96px) 0 0; }
.hero .grid { display: grid; grid-template-columns: minmax(0, 820px); gap: 40px; align-items: end; }
.hero .copy { padding-bottom: clamp(56px, 8vw, 104px); }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero .figure { align-self: end; display: flex; justify-content: center; }
.hero .figure img { width: min(230px, 100%); margin-bottom: -6px; filter: drop-shadow(0 20px 40px rgba(0,0,0,.35)); }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-light), transparent); }
@media (max-width: 820px) {
  .hero .grid { grid-template-columns: 1fr; }
  .hero .copy { padding-bottom: clamp(48px, 10vw, 72px); }
  .hero .figure { display: none; }
}
.page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 80px); }

/* Grids & cards */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.card h3 { margin-bottom: .3em; }
.card p { color: var(--ink-2); }
.card .more { margin-top: auto; font-weight: 600; text-decoration: none; }
.card .more::after { content: ' →'; }
.tag { display: inline-block; font: 600 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); background: var(--gold-pale); padding: 7px 10px; border-radius: 999px; margin-bottom: 16px; align-self: flex-start; }
.tag.soon { color: var(--ink-3); background: var(--tan); }

/* The five steps */
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); counter-increment: s; }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s); font: 600 44px/1 var(--serif); color: var(--gold); }
.steps h3 { margin: 4px 0 6px; font-size: 26px; }
.steps p { margin: 0; color: var(--ink-2); }
.on-dark .steps li { border-color: rgba(255,255,255,.14); }
.on-dark .steps li::before { color: var(--gold-light); }
.on-dark .steps p { color: rgba(255,255,255,.78); }

/* Ladder */
.ladder { display: grid; gap: 14px; margin-top: 36px; }
.rung { display: grid; grid-template-columns: 150px 1fr auto; gap: 24px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.rung:hover { border-color: var(--gold-light); transform: translateX(4px); color: inherit; }
.rung .lvl { font: 600 12px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.rung h3 { margin: 0 0 4px; font-size: 26px; }
.rung p { margin: 0; color: var(--ink-2); font-size: 16px; }
.rung .go { font-weight: 600; color: var(--gold); white-space: nowrap; }
@media (max-width: 700px) { .rung { grid-template-columns: 1fr; gap: 6px; } }

/* Quote */
blockquote { margin: 0; font: italic 500 clamp(24px, 3vw, 32px)/1.35 var(--serif); color: var(--navy); }
blockquote footer { font: 500 15px/1.4 var(--sans); color: var(--ink-3); margin-top: 18px; font-style: normal; }
.on-dark blockquote { color: var(--white); }
.on-dark blockquote footer { color: rgba(255,255,255,.65); }

/* Lists */
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.checks li::before { content: ''; position: absolute; left: 4px; top: 9px; width: 12px; height: 7px; border-left: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold); transform: rotate(-45deg); }
.on-dark .checks li::before { border-color: var(--gold-light); }

/* Credentials strip */
.creds { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-size: 14px; font-weight: 500; color: var(--ink-3); letter-spacing: .02em; }
.creds span::before { content: '✦'; color: var(--gold-light); margin-right: 10px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
.stats b { display: block; font: 600 48px/1 var(--serif); color: var(--gold); }
.stats span { font-size: 14px; color: var(--ink-3); }

/* Forms */
form.lead { display: grid; gap: 16px; }
form.lead .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { form.lead .row { grid-template-columns: 1fr; } }
label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
input, select, textarea { width: 100%; font: 16px/1.4 var(--sans); padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-pale); }
textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-msg { font-weight: 500; margin: 0; min-height: 1.4em; }
.form-msg.err { color: #9A2B2B; }
.form-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }

/* Life Audit */
.audit-areas { display: grid; gap: 12px; }
.area { display: grid; grid-template-columns: 14px 1fr 92px; gap: 14px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; }
.area .dot { width: 12px; height: 12px; border-radius: 50%; }
.area b { display: block; font-size: 16px; }
.area small { color: var(--ink-3); font-size: 14px; line-height: 1.4; display: block; }
.area input { text-align: center; font-weight: 600; font-size: 20px; padding: 10px; }
.wheel-wrap { position: sticky; top: 100px; }
.wheel-wrap canvas { width: 100%; max-width: 460px; height: auto; margin: 0 auto; display: block; }
.audit-result { margin-top: 20px; background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 22px 24px; }
.audit-result b { color: var(--gold-light); }
@media (max-width: 760px) { .wheel-wrap { position: static; } }

/* Cohorts */
.cohort { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.cohort ol { padding-left: 20px; margin: 10px 0 20px; color: var(--ink-2); }

/* FAQ */
details { border-top: 1px solid var(--line); padding: 18px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; font-size: 18px; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: '+'; color: var(--gold); font-size: 24px; line-height: 1; }
details[open] summary::after { content: '–'; }
details p { margin: 12px 0 0; color: var(--ink-2); }

/* Footer */
footer.site { background: var(--navy); color: rgba(255,255,255,.72); padding: 64px 0 28px; font-size: 15px; border-top: 3px solid var(--gold-light); }
footer.site .top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
footer.site .cols { display: flex; flex-wrap: wrap; gap: 48px; }
footer.site .head { display: block; color: var(--gold-light); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
footer.site a { color: rgba(255,255,255,.82); text-decoration: none; display: block; margin-bottom: 8px; }
footer.site a:hover { color: var(--gold-light); }
footer.site .legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer.site .legal a { display: inline; margin: 0 0 0 16px; }

/* Small portrait (Jason is a supporting detail, not the message) */
.mini-portrait { width: 200px; aspect-ratio: 1; object-fit: cover; object-position: 50% 12%; border-radius: 50%; background: var(--tan); margin: 0 auto; border: 3px solid var(--white); box-shadow: 0 10px 30px rgba(28,43,58,.15); }
@media (max-width: 760px) { .mini-portrait { width: 112px; margin: 0; } }

/* Collapsible steps (home page) */
.steps.fold details.step { border: 0; padding: 0; }
.steps.fold summary { color: inherit; align-items: center; }
.steps.fold summary h3 { margin: 4px 0 0; }
.steps.fold details p { margin: 8px 0 0; }
.on-dark .steps.fold summary::after { color: var(--gold-light); }
@media (min-width: 761px) { .steps.fold summary { pointer-events: none; } .steps.fold summary::after { display: none; } }
@media (max-width: 760px) {
  .steps li { grid-template-columns: 34px 1fr; gap: 12px; padding: 18px 0; }
  .steps li::before { font-size: 32px; }
  .steps h3 { font-size: 23px; }
}

/* Coming-soon line under the offers */
.soon-line { margin: 6px 0 0; padding: 16px 4px 0; color: var(--ink-3); font-size: 15px; }
.soon-line a { font-weight: 600; }

/* Life Audit tap-to-score */
.area { grid-template-columns: 14px 1fr; row-gap: 12px; }
.area .pick { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; }
.pick button { font: 600 16px/1 var(--sans); padding: 11px 0; min-height: 42px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--cream); color: var(--ink-2); cursor: pointer; }
.pick button:hover { border-color: var(--gold-light); }
.pick button.on { background: var(--gold); border-color: var(--gold); color: var(--white); }
.pick button:focus-visible { outline: 3px solid var(--gold-pale); outline-offset: 1px; }
@media (max-width: 760px) { .area .pick { grid-template-columns: repeat(5, 1fr); } .pick button { min-height: 44px; } }
.audit-result a { color: var(--gold-light); font-weight: 600; }

/* Short footer on phones */
footer.site .mini { display: none; }
@media (max-width: 760px) {
  footer.site { padding: 32px 0 24px; }
  footer.site .top { display: none; }
  footer.site .mini { display: flex; flex-wrap: wrap; gap: 4px 20px; }
  footer.site .mini a { margin: 0; padding: 8px 0; }
  footer.site .legal { margin-top: 18px; flex-direction: column; gap: 8px; }
  footer.site .legal a { margin: 0; }
}
.wheel-wrap canvas, #get-results { scroll-margin-top: 92px; }
