/*
Theme Name: iLead Coaching
Theme URI: https://ileadcoaching.com
Author: iLead Coaching
Description: Custom theme for iLead Coaching, built around the interactive Leadership Check-Up. Executive coaching for school leaders with Herbert O'Neil.
Version: 4.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: ileadcoaching
*/

:root {
	--navy: #1d3fbb;
	--navy-deep: #14297a;
	--navy-mid: #3558e0;
	--signal: #9ed8ff;
	--signal-deep: #1f7fc4;
	--signal-mid: #4db3f5;
	--paper: #ffffff;
	--mist: #f3f6ff;
	--ink: #0f1a4d;
	--muted: #4a5680;
	--line: #dfe6fb;
	--on-navy: #d6e2ff;
	--display: "Bricolage Grotesque", "Arial Black", "Helvetica Neue", Arial, sans-serif;
	--body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
	--wrap: 1200px;
	--radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 1.075rem; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.02; letter-spacing: -.02em; color: var(--ink); }
p { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 10px 16px; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	font-family: var(--display); font-weight: 700; font-size: 1.08rem;
	text-decoration: none; cursor: pointer;
	background: #fff; color: var(--navy);
	padding: 16px 28px; border-radius: 999px; border: 2px solid #fff;
	transition: transform .15s ease, background .2s, border-color .2s;
}
.btn:hover { background: var(--signal); border-color: var(--signal); color: var(--navy-deep); transform: translateY(-1px); }
.btn--navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.btn--small { padding: 11px 20px; font-size: .98rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(29, 63, 187, .97); border-bottom: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(8px); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 0; }
.brand { white-space: nowrap; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.6rem; letter-spacing: -.02em; color: #fff; line-height: 1; }
.brand span { color: var(--signal); }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) { font-weight: 600; font-size: 1rem; color: var(--on-navy); text-decoration: none; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { color: #fff; }

/* ------------------------------------------------------------
 * Check-Up hero
 * ------------------------------------------------------------ */
.checkup { scroll-margin-top: 70px; position: relative; background: var(--navy); color: #fff; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 120px); }
.checkup::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background:
		radial-gradient(900px 520px at 85% 15%, rgba(79, 124, 255, .55), transparent 70%),
		repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 96px);
}
.checkup > .wrap { position: relative; }
.checkup__intro { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.checkup__title { color: #fff; font-size: clamp(3rem, 6.2vw, 5.4rem); font-weight: 800; }
.checkup__title .hl { color: var(--signal); }
.checkup__sub { color: var(--on-navy); font-size: clamp(1.15rem, 1.7vw, 1.35rem); max-width: 28em; margin: 26px 0 36px; }
.checkup__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.checkup__meta { color: var(--on-navy); font-size: .95rem; margin-top: 18px; }

/* Sample readout card in the intro */
.gauge-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 28px; box-shadow: 0 40px 80px -30px rgba(8, 20, 80, .55); transform: rotate(1.5deg); }
.gauge-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.gauge-card__head strong { font-family: var(--display); font-size: 1.3rem; }
.gauge-card__head span { font-size: .9rem; color: var(--muted); }
.meter { margin-top: 16px; }
.meter__top { display: flex; justify-content: space-between; font-weight: 600; font-size: .98rem; }
.meter__top em { font-style: normal; color: var(--muted); font-weight: 500; }
.meter__track { height: 12px; background: var(--mist); border-radius: 99px; margin-top: 8px; overflow: hidden; }
.meter__fill { height: 100%; width: var(--w, 0%); background: var(--navy); border-radius: 99px; transition: width 1s cubic-bezier(.2, .8, .2, 1); }
.meter--stuck .meter__fill { background: var(--signal-mid); }
.meter--stuck .meter__top em { color: var(--signal-deep); font-weight: 700; }
.gauge-card__foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .98rem; color: var(--muted); }
.gauge-card__foot b { color: var(--ink); }

/* Quiz */
.quiz { display: none; max-width: 860px; margin-inline: auto; }
.is-quiz .checkup__intro { display: none; }
.is-quiz .quiz { display: block; }
.quiz__progress { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; margin-bottom: 36px; }
.quiz__tick { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .22); transition: background .3s; }
.quiz__tick.is-done { background: var(--signal); }
.quiz__count { color: var(--on-navy); font-weight: 600; font-size: 1rem; }
.quiz__q { color: #fff; font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 700; margin: 12px 0 40px; min-height: 2.1em; }
.quiz__answers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.answer {
	background: rgba(255, 255, 255, .08); color: #fff; text-align: left;
	border: 1.5px solid rgba(255, 255, 255, .3); border-radius: 14px;
	padding: 20px 18px; cursor: pointer; font-weight: 600; font-size: 1.05rem;
	transition: background .15s, border-color .15s, transform .15s;
}
.answer small { display: block; font-family: var(--display); font-size: 1.6rem; font-weight: 800; color: var(--signal); margin-bottom: 6px; }
.answer:hover { background: rgba(255, 255, 255, .12); border-color: #fff; transform: translateY(-2px); }
.answer.is-picked { background: var(--signal); border-color: var(--signal); color: var(--navy-deep); }
.answer.is-picked small { color: var(--navy-deep); }
.quiz__nav { margin-top: 28px; }
.quiz__back { background: none; border: 0; color: var(--on-navy); font-weight: 600; cursor: pointer; padding: 6px 0; }
.quiz__back:hover { color: #fff; }
.quiz__back[hidden] { display: none; }

/* Result */
.result { display: none; }
.is-result .checkup__intro, .is-result .quiz { display: none; }
.is-result .result { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: start; }
.result__label { color: var(--signal); font-weight: 700; font-size: 1.05rem; }
.result__title { color: #fff; font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 800; margin: 12px 0 22px; }
.result__body { color: var(--on-navy); font-size: 1.2rem; max-width: 30em; }
.result__strength { margin-top: 22px; padding: 18px 20px; border-left: 4px solid var(--signal); background: rgba(255, 255, 255, .1); border-radius: 0; color: #fff; }
.result__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.result .gauge-card { transform: none; }

/* ------------------------------------------------------------
 * Sections
 * ------------------------------------------------------------ */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--mist { background: var(--mist); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.section-title { font-size: clamp(2.5rem, 5.4vw, 4.2rem); font-weight: 800; }
.section-lede { color: var(--muted); font-size: 1.2rem; max-width: 30em; }

/* Proof strip */
.checkup { padding-bottom: 0; }
.checkup > .wrap { padding-bottom: clamp(56px, 8vw, 104px); }
.proof { position: relative; border-top: 1px solid rgba(255, 255, 255, .18); background: rgba(10, 25, 110, .28); }
.proof__inner { display: flex; align-items: center; gap: 28px; padding: 22px 0; flex-wrap: wrap; }
.proof__lead { font-family: var(--display); font-weight: 700; color: #fff; font-size: 1.05rem; }
.proof__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; row-gap: 8px; }
.proof__list li:first-child { border-left: 0; padding-left: 0; }
.proof__list li { color: var(--on-navy); padding: 0 20px; border-left: 1px solid rgba(255, 255, 255, .28); font-size: 1rem; }

/* Hero meters: one entrance moment */
@keyframes ilc-grow { from { width: 0; } }
.checkup__intro .meter__fill { animation: ilc-grow 1.3s cubic-bezier(.2, .8, .2, 1) .35s both; }
.checkup__intro .meter:nth-child(3) .meter__fill { animation-delay: .5s; }
.checkup__intro .meter:nth-child(4) .meter__fill { animation-delay: .65s; }
.checkup__intro .meter:nth-child(5) .meter__fill { animation-delay: .8s; }

/* Symptoms */
.symptom-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.symptom { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 64px); padding: clamp(28px, 3.5vw, 40px) 0; border-bottom: 1px solid var(--line); align-items: center; }
.symptom__quote { font-family: var(--display); font-weight: 700; font-size: clamp(1.7rem, 3.2vw, 2.7rem); line-height: 1.1; letter-spacing: -.02em; color: var(--ink); }
.symptom__fix p { color: var(--muted); font-size: 1.08rem; }
.tag { display: inline-block; font-weight: 700; font-size: .92rem; color: var(--navy); background: var(--mist); border: 1px solid var(--line); padding: 5px 14px; border-radius: 999px; margin-bottom: 12px; }

/* From / To */
.shift-table { background: #fff; border-radius: var(--radius); padding: 8px clamp(20px, 3vw, 40px); border: 1px solid var(--line); }
.shift-row { display: grid; grid-template-columns: 1fr 64px 1fr; align-items: center; gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); }
.shift-row--head { border-top: 0; padding: 18px 0 8px; font-weight: 700; color: var(--signal-deep); font-size: .95rem; }
.shift-row p { font-size: 1.15rem; color: var(--muted); }
.shift-row p b { font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 2vw, 1.5rem); color: var(--ink); letter-spacing: -.01em; }
.shift-arrow { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; justify-self: center; }

/* Track */
.track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.track::before { content: ""; position: absolute; left: 12px; right: 12px; top: 11px; height: 2px; background: linear-gradient(90deg, var(--navy), var(--signal)); }
.track__dot { display: block; position: relative; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 6px solid var(--navy); margin-bottom: 26px; }
.track__step:first-child .track__dot { background: var(--signal); }
.track__num { font-weight: 700; color: var(--signal-deep); font-size: .95rem; margin-bottom: 6px; }
.track h3 { font-size: 1.55rem; font-weight: 700; }
.track__step > p:last-child { color: var(--muted); margin-top: 8px; }

/* Feature */
.feature { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: clamp(72px, 10vw, 128px) 0; }
.feature::after { content: ""; position: absolute; right: -200px; top: -220px; width: 560px; height: 560px; border-radius: 50%; border: 90px solid rgba(158, 216, 255, .1); pointer-events: none; }
.feature__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.feature--photo .feature__inner { grid-template-columns: .8fr 1.2fr; }
.feature__photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 18px 18px 0 var(--signal); }
.feature__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.feature__body { max-width: 980px; }
.feature__quote { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.1; letter-spacing: -.02em; color: #fff; }
.feature__name { margin-top: 26px; color: var(--on-navy); font-size: 1.08rem; }
.feature__name b { display: block; color: #fff; font-size: 1.2rem; }
.feature__creds { list-style: none; margin: 36px 0 40px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255, 255, 255, .22); }
.feature__creds li { padding: 20px 20px 0 0; }
.feature__creds li + li { padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .22); }
.feature__creds b { display: block; font-family: var(--display); font-size: 1.2rem; color: #fff; }
.feature__creds span { color: var(--on-navy); font-size: .98rem; }

/* Closer */
.closer { background: var(--signal); padding: clamp(64px, 9vw, 112px) 0; }
.closer__inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; }
.closer h2 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); font-weight: 800; color: var(--navy-deep); }
.closer__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
.btn--outline { background: transparent; color: var(--navy-deep); border-color: var(--navy-deep); }
.btn--outline:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }

/* Principles (coach page) */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.principle { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: 0 0 var(--radius) var(--radius); padding: 30px 28px; }
.principle h3 { font-size: 1.6rem; font-weight: 700; }
.principle p { color: var(--muted); margin-top: 10px; }

/* ------------------------------------------------------------
 * Inner pages
 * ------------------------------------------------------------ */
.page-hero { background: var(--navy); color: #fff; padding: clamp(56px, 8vw, 96px) 0; }
.page-hero h1 { color: #fff; font-size: clamp(3rem, 7vw, 5.6rem); font-weight: 800; }
.page-hero p { color: var(--on-navy); font-size: 1.3rem; margin-top: 18px; max-width: 32em; }

.profile { padding: clamp(64px, 9vw, 112px) 0; }
.profile__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.profile__photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: -18px 18px 0 var(--signal); position: sticky; top: 110px; }
.profile__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.profile--noimg .profile__inner { grid-template-columns: 1fr; }
.profile--noimg .profile__text { max-width: 820px; }
.profile__lead { font-family: var(--display); font-weight: 700; font-size: clamp(1.7rem, 2.8vw, 2.3rem); line-height: 1.2; letter-spacing: -.01em; }
.profile__text p + p { margin-top: 20px; }
.profile__text > p:not(.profile__lead) { font-size: 1.18rem; color: var(--muted); margin-top: 24px; max-width: 34em; }
.creds { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 40px 0; }
.cred { background: var(--mist); border-radius: 14px; padding: 20px 22px; }
.cred b { display: block; font-family: var(--display); font-size: 1.2rem; color: var(--navy-deep); }
.cred span { color: var(--muted); font-size: .98rem; }

/* Contact */
.contact { padding: clamp(56px, 8vw, 96px) 0 clamp(72px, 10vw, 120px); }
.contact__inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.focus-note { grid-column: 1 / -1; background: var(--navy); color: #fff; border-radius: 14px; padding: 18px 20px; }
.focus-note b { color: var(--signal); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .98rem; color: var(--ink); }
.field input, .field textarea, .field select { font: inherit; font-size: 1.05rem; color: var(--ink); background: #fff; border: 1.5px solid #c3c7df; border-radius: 12px; padding: 14px 16px; }
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(158, 216, 255, .7); }
.form__hp { position: absolute; left: -9999px; }
.form__actions { grid-column: 1 / -1; }
.notice { grid-column: 1 / -1; padding: 16px 18px; border-radius: 12px; background: #e9f6ee; color: #14532d; font-weight: 600; }
.notice--error { background: #fdecea; color: #7a1c14; }
.aside { background: var(--mist); border-radius: var(--radius); padding: 32px; }
.aside h2 { font-size: 1.5rem; font-weight: 700; }
.aside p { color: var(--muted); margin-top: 8px; }
.aside p + h2 { margin-top: 28px; }
.aside .btn { margin-top: 18px; }

/* Footer */
.site-footer { background: var(--navy-deep); color: var(--on-navy); padding: 48px 0 36px; }
.site-footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 26px; flex-wrap: wrap; }
.site-footer nav a { color: #fff; text-decoration: none; font-weight: 600; }
.site-footer nav a:hover { color: var(--signal); }
.site-footer__legal { width: 100%; margin-top: 24px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .92rem; }

.basic { padding: clamp(56px, 8vw, 96px) 0; }
.basic__inner { max-width: 760px; }
.basic h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 20px; }

@media (max-width: 980px) {
	.checkup__intro, .is-result .result, .profile__inner, .contact__inner, .section-head { grid-template-columns: 1fr; }
	.symptom, .closer__inner, .feature--photo .feature__inner { grid-template-columns: 1fr; }
	.closer__actions { justify-content: flex-start; }
	.track { grid-template-columns: 1fr 1fr; row-gap: 44px; }
	.track::before { display: none; }
	.principles { grid-template-columns: 1fr; }
	.feature__photo, .profile__photo { max-width: 420px; position: static; }
	.gauge-card { transform: none; }
}
@media (max-width: 680px) {
	.site-nav .btn { display: none; }
	.site-nav { gap: 16px; }
	.site-nav a:not(.btn) { font-size: .95rem; white-space: nowrap; }
	.site-nav a:first-child { display: none; }
	.gauge-card__head span { display: none; }
	.brand { font-size: 1.35rem; }
	.quiz__answers { grid-template-columns: 1fr 1fr; }
	.creds, .form, .track, .feature__creds { grid-template-columns: 1fr; }
	.feature__creds li + li { padding-left: 0; border-left: 0; }
	.shift-row { grid-template-columns: 1fr; gap: 6px; }
	.shift-row--head { display: none; }
	.shift-arrow { justify-self: start; transform: rotate(90deg); width: 34px; height: 34px; }
	.proof__list li { padding: 0 14px 0 0; border-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.checkup__intro .meter__fill { animation: none; }
	*, *::before, *::after { transition: none !important; }
}

/* ============================================================
 * v3: banners, motion, and extras
 * ============================================================ */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 100; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--signal), #fff); transform-origin: 0 50%; transform: scaleX(0); }

/* Announcement banner */
.announce { background: var(--signal); color: var(--navy-deep); font-size: .98rem; }
.announce[hidden] { display: none; }
.announce__inner { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 10px 40px 10px 0; position: relative; text-align: center; flex-wrap: wrap; }
.announce a { color: var(--navy-deep); font-weight: 700; text-decoration: none; border-bottom: 2px solid currentColor; }
.announce a:hover { color: var(--navy); }
.announce__close { position: absolute; right: 0; top: 50%; transform: translateY(-50%); background: none; border: 0; font-size: 1.6rem; line-height: 1; color: var(--navy-deep); cursor: pointer; padding: 4px 8px; }

/* Hero orbs */
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; }
.orb--a { width: 520px; height: 520px; right: -120px; top: -160px; background: #4f7cff; animation: ilc-float 14s ease-in-out infinite; }
.orb--b { width: 380px; height: 380px; left: -140px; bottom: -120px; background: #5fc3ff; opacity: .35; animation: ilc-float 18s ease-in-out infinite reverse; }
@keyframes ilc-float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-40px, 30px); } }

/* Sample card wrap + chips + ring */
.gauge-card-wrap { position: relative; }
.chip { position: absolute; z-index: 2; font-family: var(--display); font-weight: 700; font-size: .98rem; padding: 10px 16px; border-radius: 999px; box-shadow: 0 16px 30px -12px rgba(8, 20, 80, .5); animation: ilc-bob 5s ease-in-out infinite; }
.chip--a { top: -22px; left: -18px; background: var(--signal); color: var(--navy-deep); }
.chip--b { bottom: -34px; right: 30px; background: #fff; color: var(--navy); animation-delay: -2.5s; }
@keyframes ilc-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.gauge-card__head--ring { align-items: center; }
.gauge-card__head--ring > div:first-child { display: flex; flex-direction: column; gap: 2px; }
.ring { position: relative; width: 64px; height: 64px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 5; }
.ring__bg { stroke: var(--mist); }
.ring__fg { stroke: var(--navy); stroke-linecap: round; stroke-dasharray: var(--p) 100; animation: ilc-ring 1.6s cubic-bezier(.2, .8, .2, 1) .4s both; }
@keyframes ilc-ring { from { stroke-dasharray: 0 100; } }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: 1.2rem; color: var(--navy-deep); }

/* Marquee banners */
.marquee { overflow: hidden; white-space: nowrap; padding: 22px 0; }
.marquee__track { display: inline-flex; align-items: center; gap: 36px; padding-right: 36px; animation: ilc-marquee 38s linear infinite; }
.marquee span { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.02em; }
.marquee i { font-style: normal; font-size: 1.3rem; }
.marquee--sky { background: var(--signal); color: var(--navy-deep); }
.marquee--sky i { color: var(--navy); }
.marquee--navy { background: var(--navy-deep); color: #fff; margin-bottom: clamp(56px, 8vw, 96px); }
.marquee--navy i { color: var(--signal); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes ilc-marquee { to { transform: translateX(-50%); } }
.closer:has(.marquee) { padding-top: 0; }

/* Stats */
.stats { background: #fff; padding: clamp(56px, 8vw, 96px) 0 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { padding: 34px 30px; background: #fff; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(3.6rem, 7vw, 5.6rem); line-height: .95; color: var(--navy); letter-spacing: -.04em; }
.stat:nth-child(4) b { color: var(--signal-deep); }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-weight: 600; }

/* Giant statement banner */
.statement { background: var(--navy-deep); overflow: hidden; padding: clamp(28px, 4vw, 44px) 0; }
.statement__rows { display: grid; gap: 4px; }
.statement__row { margin-left: -30vw; white-space: nowrap; font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 4.6vw, 3.8rem); line-height: 1.05; letter-spacing: -.03em; will-change: transform; }
.statement__row--a { color: #fff; }
.statement__row--b { color: var(--signal); margin-left: -45vw; }

/* Media cards */
.media__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; }
.media-card { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 360px; padding: 36px; border-radius: 24px; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.media-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(8, 20, 80, .45); }
.media-card--pod { background: var(--navy); color: #fff; }
.media-card--book { background: var(--mist); color: var(--ink); border: 1px solid var(--line); }
.media-card__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; margin-bottom: 26px; }
.media-card--pod .media-card__icon { background: rgba(255, 255, 255, .12); color: var(--signal); }
.media-card--book .media-card__icon { background: #fff; color: var(--navy); }
.media-card__kind { font-weight: 700; font-size: .95rem; }
.media-card--pod .media-card__kind { color: var(--signal); }
.media-card--book .media-card__kind { color: var(--signal-deep); }
.media-card h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; margin-top: 6px; color: inherit; }
.media-card p { margin-top: 12px; max-width: 26em; opacity: .85; }
.media-card__go { margin-top: auto; padding-top: 26px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; }
.wave { position: absolute; right: 32px; bottom: 34px; display: flex; align-items: flex-end; gap: 5px; height: 70px; }
.wave i { width: 6px; border-radius: 6px; background: var(--signal); opacity: .8; animation: ilc-wave 1.2s ease-in-out infinite; }
.wave i:nth-child(odd) { background: #fff; opacity: .5; }
.wave i:nth-child(1) { height: 30%; animation-delay: -.1s; } .wave i:nth-child(2) { height: 60%; animation-delay: -.5s; }
.wave i:nth-child(3) { height: 90%; animation-delay: -.3s; } .wave i:nth-child(4) { height: 50%; animation-delay: -.8s; }
.wave i:nth-child(5) { height: 75%; animation-delay: -.2s; } .wave i:nth-child(6) { height: 40%; animation-delay: -.6s; }
.wave i:nth-child(7) { height: 95%; animation-delay: -.4s; } .wave i:nth-child(8) { height: 55%; animation-delay: -.9s; }
.wave i:nth-child(9) { height: 70%; animation-delay: -.15s; } .wave i:nth-child(10) { height: 35%; animation-delay: -.7s; }
.wave i:nth-child(11) { height: 80%; animation-delay: -.35s; } .wave i:nth-child(12) { height: 45%; animation-delay: -.55s; }
@keyframes ilc-wave { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }
.wave i { transform-origin: bottom; }

/* FAQ */
.faq__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.faq__btn { margin-top: 28px; }
.faq .section-lede { margin-top: 16px; }
.faq__list { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; transition: border-color .2s; }
.faq__item[open] { border-color: var(--navy); }
.faq__item summary { list-style: none; cursor: pointer; padding: 22px 36px 22px 0; position: relative; font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--navy); font-size: 1.3rem; transition: transform .25s, background .25s; }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--navy); color: #fff; }
.faq__item p { color: var(--muted); padding-bottom: 22px; max-width: 40em; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 980px) {
	.stats__grid { grid-template-columns: 1fr 1fr; }
	.stat:nth-child(3) { border-left: 0; }
	.stat:nth-child(n+3) { border-top: 1px solid var(--line); }
	.media__grid, .faq__inner { grid-template-columns: 1fr; }
	.chip--a { left: 8px; }
}
@media (max-width: 680px) {
	.announce__inner { justify-content: flex-start; text-align: left; gap: 6px 14px; }
	.media-card { min-height: 320px; padding: 28px; }
	.wave { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.orb, .chip, .marquee__track, .wave i, .ring__fg { animation: none !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* ============================================================
 * v4: AI Coach
 * ============================================================ */
.aicoach { background: var(--navy-deep); color: #fff; position: relative; overflow: hidden; }
.aicoach::before { content: ""; position: absolute; width: 700px; height: 700px; left: -260px; bottom: -380px; border-radius: 50%; background: radial-gradient(circle, rgba(79, 124, 255, .45), transparent 65%); pointer-events: none; }
.aicoach__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.aicoach .section-title { color: #fff; }
.aicoach .section-lede { color: var(--on-navy); margin-top: 20px; }
.aicoach__badge { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--signal); margin-bottom: 20px; }
.aicoach__badge span { width: 10px; height: 10px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .7); animation: ilc-live 2s infinite; }
@keyframes ilc-live { 70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.aicoach__pillars { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 34px; }
.aicoach__pillars span { font-weight: 600; font-size: .95rem; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); color: #fff; }
.aicoach .btn--navy { background: var(--signal); border-color: var(--signal); color: var(--navy-deep); }
.aicoach .btn--navy:hover { background: #fff; border-color: #fff; }
.aicoach__demo { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 24px; padding: 28px; display: grid; gap: 12px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.demo-msg { max-width: 88%; padding: 14px 18px; border-radius: 18px; font-size: 1rem; line-height: 1.5; }
.demo-msg--user { justify-self: end; background: var(--signal); color: var(--navy-deep); border-bottom-right-radius: 6px; }
.demo-msg--bot { background: #fff; color: var(--ink); border-bottom-left-radius: 6px; }
.demo-msg--bot b { color: var(--navy); }
.demo-typing { display: inline-flex; gap: 5px; padding: 14px 18px; background: #fff; border-radius: 18px; border-bottom-left-radius: 6px; width: max-content; }
.demo-typing span, .msg--typing span { width: 8px; height: 8px; border-radius: 50%; background: var(--navy); opacity: .35; animation: ilc-dots 1.2s infinite; }
.demo-typing span:nth-child(2), .msg--typing span:nth-child(2) { animation-delay: .15s; }
.demo-typing span:nth-child(3), .msg--typing span:nth-child(3) { animation-delay: .3s; }
@keyframes ilc-dots { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }

/* Floating button */
.coach-fab { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: inline-flex; align-items: center; gap: 10px; padding: 15px 22px; border: 0; border-radius: 999px; background: var(--navy); color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.02rem; cursor: pointer; box-shadow: 0 18px 40px -12px rgba(8, 20, 80, .6); transition: transform .2s, background .2s; }
.coach-fab:hover { transform: translateY(-2px); background: var(--navy-deep); }
.coach-fab__pulse { position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(158, 216, 255, .7); animation: ilc-pulse 2.6s infinite; pointer-events: none; }
@keyframes ilc-pulse { 70% { box-shadow: 0 0 0 16px rgba(158, 216, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(158, 216, 255, 0); } }
.coach-open .coach-fab { opacity: 0; pointer-events: none; }

/* Panel */
.coach-panel { position: fixed; right: 22px; bottom: 22px; z-index: 95; width: min(420px, calc(100vw - 32px)); height: min(640px, calc(100vh - 44px)); display: flex; flex-direction: column; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 90px -20px rgba(8, 20, 80, .55); border: 1px solid var(--line); }
.coach-panel[hidden] { display: none; }
.coach-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; background: var(--navy); color: #fff; }
.coach-panel__who { display: flex; align-items: center; gap: 12px; }
.coach-panel__who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid var(--signal); }
.coach-panel__title { font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
.coach-panel__sub { font-size: .85rem; color: var(--on-navy); }
.coach-panel__close { background: rgba(255, 255, 255, .12); border: 0; color: #fff; width: 36px; height: 36px; border-radius: 50%; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.coach-panel__close:hover { background: rgba(255, 255, 255, .24); }
.coach-panel__log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--mist); }
.msg { max-width: 88%; padding: 12px 16px; border-radius: 18px; font-size: .98rem; line-height: 1.55; }
.msg p + p, .msg p + ol, .msg p + ul, .msg ol + p, .msg ul + p { margin-top: 8px; }
.msg ol, .msg ul { margin: 0; padding-left: 20px; }
.msg li + li { margin-top: 4px; }
.msg--bot { align-self: flex-start; background: #fff; color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg--bot b { color: var(--navy); }
.msg--user { align-self: flex-end; background: var(--navy); color: #fff; border-bottom-right-radius: 6px; }
.msg--note { background: #fff8e6; border-color: #f2dfa6; }
.msg__book { display: inline-block; margin-top: 8px; font-weight: 700; color: var(--navy); }
.msg--typing { display: inline-flex; gap: 5px; width: max-content; }
.coach-starters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.coach-starters button { background: #fff; border: 1.5px solid var(--navy); color: var(--navy); font-weight: 600; font-size: .92rem; padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.coach-starters button:hover { background: var(--navy); color: #fff; }
.coach-panel__form { display: flex; align-items: flex-end; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--line); background: #fff; }
.coach-panel__form textarea { flex: 1; resize: none; font: inherit; font-size: 1rem; line-height: 1.45; color: var(--ink); border: 1.5px solid #c3c7df; border-radius: 14px; padding: 11px 14px; max-height: 140px; }
.coach-panel__form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(158, 216, 255, .6); }
.coach-panel__form button { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; display: grid; place-items: center; cursor: pointer; }
.coach-panel__form button:disabled { opacity: .5; cursor: wait; }
.coach-panel__fine { font-size: .8rem; color: var(--muted); padding: 0 16px 12px; background: #fff; }
.coach-panel__fine a { color: var(--navy); font-weight: 600; }

@media (max-width: 980px) {
	.aicoach__inner { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
	.coach-fab { right: 14px; bottom: 14px; padding: 14px 18px; }
	.coach-panel { right: 0; bottom: 0; width: 100vw; height: 100dvh; border-radius: 0; border: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.coach-fab__pulse, .aicoach__badge span, .demo-typing span, .msg--typing span { animation: none !important; }
}
