/* KCA home page. Editorial, warm, whitespace first. Palette shared with the app (app/tailwind.config.ts). */
:root {
  --primary: #6e00fd; --primary-deep: #4d00b3; --primary-soft: #efe6ff;
  --accent: #f79f26; --accent-deep: #d4800f; --accent-soft: #fff1dc;
  --pink: #ff2263; --sky: #3fb7fe; --sky-soft: #e4f4ff;
  --slate: #b9c1cc; --surface: #f5f7fa; --ink: #111111; --muted: #5b6472;
  --paper: #fffcf7; --line: #e6e1d8;
  --head: "Roboto Condensed", "Arial Narrow", sans-serif;
  --body: "Open Sans", system-ui, sans-serif;
  --nav-h: 76px; --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; font-family: var(--body); color: var(--ink); background: var(--paper); line-height: 1.65; font-size: 17px; }
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100%); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.eyebrow { font-family: var(--head); font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--primary); font-weight: 700; }
.eyebrow.accent { color: var(--accent-deep); }
.lead { font-size: 1.2rem; color: var(--muted); }
.h-display { font-size: clamp(2.5rem, 6.2vw, 4.8rem); }
.h-xl { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.h-lg { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.h-md { font-size: 1.35rem; }
section { padding: clamp(64px, 8vw, 112px) 0; }
main [id] { scroll-margin-top: calc(var(--nav-h) + 16px); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.btn-row.center-row { justify-content: center; align-items: center; }
.link-more.inline { color: var(--primary); }
.eyebrow.pink { color: var(--pink); }
.eyebrow.sky { color: #0b7fc2; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head + .btn-row, .split .btn-row, .stack + .btn-row { margin-top: 30px; }
.split .eyebrow + h2 { margin-top: 14px; }
.split h2 + .lead { margin-top: 20px; }
.split .lead + .body { margin-top: 16px; }
.split .body { color: var(--muted); }
.split .pull + .btn-row { margin-top: 30px; }
section.tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head > * + * { margin-top: 14px; }
.stack > * + * { margin-top: 16px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; z-index: 200; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font-family: var(--head); font-weight: 700; font-size: 1.02rem; letter-spacing: 0.03em; text-transform: uppercase; border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; cursor: pointer; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--ink); box-shadow: 0 8px 24px rgba(247, 159, 38, 0.35); }
.btn-accent:hover { background: #ffad3f; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 24px rgba(110, 0, 253, 0.25); }
.btn-primary:hover { background: var(--primary-deep); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--primary); }
.btn-lg { padding: 18px 34px; font-size: 1.12rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-more { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.9rem; }

/* Doodle motif: a hand-drawn stroke under key headings, and an arrow between steps */
.doodle { position: relative; display: inline-block; }
.doodle::after { content: ""; position: absolute; left: 0; right: 0; bottom: -0.12em; height: 0.35em; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'><path d='M3 14 C 40 4, 80 18, 120 9 S 180 12, 197 7' fill='none' stroke='%23f79f26' stroke-width='5' stroke-linecap='round'/></svg>") no-repeat center / 100% 100%; z-index: -1; }
.arrow-doodle { width: 64px; height: 28px; flex: none; color: var(--accent-deep); }
.grid-paper { background-color: var(--paper); background-image: linear-gradient(rgba(110,0,253,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(110,0,253,0.05) 1px, transparent 1px); background-size: 28px 28px; }

/* Navigation */
.site-nav { position: sticky; top: 0; z-index: 100; background: rgba(255, 252, 247, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-nav.is-scrolled { border-bottom-color: var(--line); }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); font-family: var(--head); font-weight: 700; font-size: 1.15rem; line-height: 1; }
.brand:hover { text-decoration: none; }
.brand img { width: 46px; height: 46px; border-radius: 50%; }
.brand small { display: block; font-family: var(--body); font-weight: 400; font-size: 0.72rem; color: var(--muted); letter-spacing: 0.04em; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links a { display: block; padding: 10px 14px; font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.86rem; color: var(--ink); border-radius: 999px; }
.nav-links a:hover, .nav-links a.is-active { color: var(--primary); text-decoration: none; background: var(--primary-soft); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 12px 22px; font-size: 0.9rem; }
.nav-signin { font-size: 0.82rem; color: var(--muted); white-space: nowrap; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-drawer { display: none; visibility: hidden; }
.nav-drawer.is-open { visibility: visible; }
.mobile-cta { display: none; }

@media (max-width: 960px) {
  .nav-links, .nav-signin { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { margin-left: auto; }
  .nav-cta .btn { padding: 11px 16px; font-size: 0.8rem; white-space: nowrap; }
  .brand small { display: none; }
  .brand span { font-size: 1rem; }
  .nav-drawer { display: block; position: fixed; inset: var(--nav-h) 0 0 0; background: var(--paper); transform: translateX(100%); transition: transform .25s ease; z-index: 99; padding: 24px; overflow: auto; }
  .nav-drawer.is-open { transform: none; }
  .nav-drawer ul { list-style: none; padding: 0; margin: 0; }
  .nav-drawer a { display: block; padding: 16px 4px; border-bottom: 1px solid var(--line); font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 1.1rem; color: var(--ink); }
  .nav-drawer .btn { margin-top: 24px; width: 100%; border-bottom: 0; }
  .nav-drawer .drawer-signin { margin-top: 18px; text-align: center; font-family: var(--body); text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); border: 0; }
  .mobile-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; transition: transform .25s, opacity .25s; }
  .mobile-cta.is-hidden { transform: translateY(120%); opacity: 0; }
  .mobile-cta .btn { width: 100%; padding: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.25); }
  body { padding-bottom: 76px; }
}

/* 01 Hero */
.hero { padding-top: clamp(40px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { margin-top: 18px; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero .lead { margin-top: 22px; font-size: 1.25rem; color: var(--ink); }
.hero .lead strong { font-family: var(--head); font-size: 1.35rem; letter-spacing: 0.04em; color: var(--primary); }
.hero .sub { margin-top: 14px; color: var(--muted); font-size: 1.08rem; max-width: 34em; }
.hero .btn-row { margin-top: 32px; }
.hero .note { margin-top: 18px; font-size: 0.95rem; }
.hero-photo { position: relative; }
.hero-photo img { border-radius: 28px 28px 28px 120px; aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; box-shadow: 0 30px 60px rgba(17, 17, 17, 0.14); }
.hero-photo::before { content: ""; position: absolute; inset: -18px -18px auto auto; width: 140px; height: 140px; border-radius: 50%; background: var(--accent-soft); z-index: -1; }
.hero-photo .tag { position: absolute; left: 22px; bottom: 22px; background: #fff; border-radius: 14px; padding: 12px 16px; font-family: var(--head); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.8rem; box-shadow: 0 10px 24px rgba(0,0,0,0.12); }
.hero-photo .tag b { display: block; color: var(--primary); font-size: 1rem; }

/* 02 Promise */
.promise { background: #fff; border-block: 1px solid var(--line); }
.promise .lead { font-size: 1.35rem; color: var(--ink); }
.big-words { display: flex; flex-wrap: nowrap; white-space: nowrap; align-items: center; justify-content: center; gap: clamp(6px, 1.4vw, 20px); margin: 40px 0 48px; font-family: var(--head); font-weight: 700; font-size: clamp(1rem, 4.4vw, 3.5rem); letter-spacing: 0.02em; line-height: 1; }
/* One line at every width: the words and arrows scale with the viewport instead of wrapping. */
.big-words .arrow-doodle { width: clamp(24px, 4.2vw, 60px); height: auto; }
.big-words span:nth-child(1) { color: var(--primary); } .big-words span:nth-child(3) { color: var(--pink); } .big-words span:nth-child(5) { color: var(--accent-deep); }
.pillars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.pillar { text-align: center; padding: 22px 12px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.pillar svg { width: 34px; height: 34px; color: var(--primary); }
.pillar h3 { margin-top: 10px; font-size: 0.95rem; letter-spacing: 0.14em; text-transform: uppercase; }
.pillar p { margin-top: 6px; font-size: 0.9rem; color: var(--muted); }

/* 03 Difference */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.examples { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 12px; }
.examples li { padding-left: 34px; position: relative; font-size: 1.08rem; }
.examples li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 20px; height: 14px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 28'><path d='M2 15 C 12 10, 24 12, 36 13 M 28 5 L 37 13 L 27 22' fill='none' stroke='%236e00fd' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / contain; }
.examples b { font-family: var(--head); letter-spacing: 0.02em; }
.pull { border-left: 5px solid var(--accent); padding: 8px 0 8px 22px; font-size: 1.2rem; font-family: var(--head); font-weight: 700; }

/* 04 Programs */
.programs { background: var(--surface); }
.tracks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.track { background: #fff; border-radius: var(--radius); padding: 34px 30px; display: flex; flex-direction: column; border-top: 6px solid var(--primary); }
.track.creative { border-top-color: var(--pink); } .track.world { border-top-color: var(--accent); }
.track .eyebrow { margin-bottom: 6px; }
.track h3 { font-size: 1.55rem; }
.track dl { margin: 20px 0 0; }
.track dt { font-family: var(--head); font-weight: 700; font-size: 1.08rem; margin-top: 14px; }
.track dd { margin: 2px 0 0; color: var(--muted); font-size: 0.97rem; }
.track .clubs dd { font-size: 0.93rem; line-height: 1.5; }
.track .clubs dd em { display: block; margin-top: 6px; font-family: var(--head); font-style: normal; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.track.creative .clubs dd em { color: var(--pink); } .track.world .clubs dd em { color: var(--accent-deep); }
.track .btn { margin-top: auto; align-self: flex-start; margin-top: 26px; }
.track .quiet { margin-top: 26px; font-style: italic; color: var(--muted); }

/* 05 Class journey */
.journey { counter-reset: step; }
.steps { display: flex; align-items: stretch; gap: 8px; margin-top: 24px; }
.step { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; min-width: 0; }
.step .num { font-family: var(--head); font-weight: 700; color: var(--accent-deep); letter-spacing: 0.2em; font-size: 0.8rem; }
.step h3 { margin-top: 8px; font-size: 1.3rem; letter-spacing: 0.06em; text-transform: uppercase; }
.step p { margin-top: 8px; color: var(--muted); font-size: 0.95rem; }
.step-arrow { display: flex; align-items: center; }
.journey .closing { margin-top: 36px; }

/* 06 Fit */
.fit { background: #fff; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); border-color: #d9c8ff; box-shadow: 0 16px 34px rgba(17,17,17,0.06); }
.card .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); margin-bottom: 16px; }
.card .icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.3rem; }
.card p { margin-top: 8px; color: var(--muted); font-size: 0.98rem; }
.fit .btn-row { margin-top: 44px; }

/* 07 Educator */
.educator { background: var(--ink); color: #fff; }
.educator .eyebrow { color: var(--accent); }
.educator { padding: clamp(40px, 5vw, 64px) 0; }
.educator-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.educator .split img { aspect-ratio: 3 / 4; height: auto; width: auto; max-width: 100%; max-height: min(72vh, 640px); margin: 0 auto; display: block; border: 8px solid #fff; border-radius: 8px; box-shadow: 0 30px 60px rgba(0,0,0,0.4); transform: rotate(-1.5deg); }
.educator h2 { margin-top: 14px; }
.educator .stack { margin-top: 20px; color: #d9d9d9; font-size: 1rem; }
.educator .goal { font-family: var(--head); font-weight: 700; font-size: 1.25rem; color: #fff; }
.educator .disciplines { margin-top: 22px; font-family: var(--head); letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.82rem; color: var(--accent); }
.educator .btn { margin-top: 22px; }
.educator .btn-light { box-shadow: none; }
.educator .btn-light:hover { background: var(--accent); }

/* 08 Work gallery */
.gallery { columns: 3; column-gap: 18px; }
.gallery figure { margin: 0 0 18px; break-inside: avoid; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.gallery img { width: 100%; height: auto; }
.gallery figcaption { padding: 12px 16px; font-size: 0.9rem; color: var(--muted); }
.gallery figcaption b { display: block; color: var(--ink); font-family: var(--head); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; margin-bottom: 2px; }
.gallery .note { padding: 26px 22px; background: var(--accent-soft); font-family: var(--head); font-weight: 700; font-size: 1.4rem; line-height: 1.15; color: var(--ink); }

/* 09 Progress */
.progress { background: var(--sky-soft); }
.report { background: #fff; border-radius: 16px; box-shadow: 0 30px 60px rgba(63, 183, 254, 0.25); padding: 30px 32px; transform: rotate(1deg); }
.report header { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--ink); padding-bottom: 12px; }
.report header b { font-family: var(--head); font-size: 1.2rem; }
.report header span { font-size: 0.8rem; color: var(--muted); }
.report ul { list-style: none; padding: 0; margin: 14px 0 0; }
.report li { display: grid; grid-template-columns: 170px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 0.95rem; }
.report li b { font-family: var(--head); letter-spacing: 0.04em; }
.report li span { color: var(--muted); }
.report .bar { height: 6px; border-radius: 3px; background: var(--surface); margin-top: 8px; overflow: hidden; }
.report .bar i { display: block; height: 100%; width: 70%; background: linear-gradient(90deg, var(--sky), var(--primary)); }

/* 10 Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.quote-card .stars { color: var(--accent); letter-spacing: 0.1em; }
.quote-card blockquote { margin: 14px 0; font-size: 1.05rem; }
.quote-card figcaption { color: var(--muted); font-size: 0.9rem; }
.quote-card figcaption span { display: block; font-size: 0.8rem; }
.rating-line { margin-top: 12px; color: var(--muted); }
.rating-line .stars { color: var(--accent); letter-spacing: 0.1em; }
.rating-line b { color: var(--ink); }
.quotes + .center-row { margin-top: 30px; }

/* 11 Now */
.now { background: linear-gradient(135deg, #fff1dc 0%, #ffe3c4 55%, #ffd9d3 100%); position: relative; overflow: hidden; }
.now::before { content: "\1F342"; position: absolute; right: -10px; top: -20px; font-size: 220px; opacity: 0.08; transform: rotate(-15deg); }
.now-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.now-card { display: block; background: rgba(255,255,255,0.85); border-radius: 14px; padding: 22px; color: var(--ink); border: 1px solid rgba(0,0,0,0.05); }
.now-card:hover { text-decoration: none; background: #fff; }
.now-card strong { font-family: var(--head); font-size: 1.15rem; display: block; }
.now-card span { display: block; font-size: 0.82rem; color: var(--accent-deep); font-weight: 600; margin-top: 2px; }
.now-card p { margin-top: 8px; font-size: 0.93rem; color: var(--muted); }
.now .btn-row { margin-top: 36px; }

/* 12 Why */
.why .cards { grid-template-columns: repeat(3, 1fr); }
.why .card { text-align: center; }
.why .card h3 { letter-spacing: 0.12em; font-size: 0.95rem; text-transform: uppercase; }

/* 13 Free class */
.free { background: var(--primary); color: #fff; position: relative; overflow: hidden; }
.free::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: rgba(255,255,255,0.06); right: -160px; bottom: -220px; }
.free .eyebrow { color: var(--accent); }
.free .lead { color: #efe6ff; font-size: 1.25rem; }
.free .fine { font-size: 0.95rem; color: #d9c8ff; }
.free .mini-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 44px 0; }
.free .mini { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 14px; padding: 22px; }
.free .mini b { display: block; font-family: var(--head); font-size: 1.2rem; letter-spacing: 0.08em; text-transform: uppercase; }
.free .mini span { color: #efe6ff; font-size: 0.95rem; }
.free .btn-accent { color: var(--ink); }
.free .lead { margin-top: 20px; }
.free .fine { margin-top: 8px; }
.free h2 { margin-top: 14px; }

/* 14 FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; font-family: var(--head); font-weight: 700; font-size: 1.15rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-weight: 400; color: var(--primary); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 70ch; }

/* 15 Journal */
.journal { background: var(--surface); }
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.journal-card { background: #fff; border-radius: var(--radius); padding: 28px; color: var(--ink); display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--line); }
.journal-card:hover { text-decoration: none; border-color: var(--primary); }
.journal-card time { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.journal-card h3 { font-size: 1.35rem; }
.journal-card p { color: var(--muted); flex: 1; }
.journal-card .link-more { color: var(--primary); }
.journal .soon { grid-column: 1 / -1; background: #fff; border-radius: var(--radius); padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--slate); }
.journal .btn-row { margin-top: 36px; }

/* 16 Final call */
.start { padding-block: clamp(96px, 14vw, 180px); text-align: center; }
.start img { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 28px; }
.start .lines { margin: 30px auto 0; max-width: 620px; font-size: 1.15rem; }
.start .lines b { display: block; font-family: var(--head); font-size: 1.5rem; margin-top: 18px; color: var(--primary); }
.start .btn-row { justify-content: center; margin-top: 36px; }
.contact { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
.contact .eyebrow + .muted { margin-top: 8px; }
.contact-strip { margin-top: 20px; display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; font-size: 0.95rem; color: var(--muted); }
.contact-strip a { color: var(--ink); font-weight: 600; }

/* Footer */
.site-footer { background: var(--ink); color: #cfcfcf; padding: 64px 0 32px; font-size: 0.93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: #fff; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.85rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #cfcfcf; }
.site-footer a:hover { color: #fff; }
.footer-brand b { display: block; font-family: var(--head); color: #fff; font-size: 1.3rem; letter-spacing: 0.06em; text-transform: uppercase; }
.footer-brand .tag { color: var(--accent); font-family: var(--head); margin-top: 4px; }
.footer-brand .tracks { display: block; margin-top: 16px; font-size: 0.85rem; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid #333; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 0.82rem; color: #9a9a9a; }

/* Motion */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
/* Short desktop screens: keep the educator section (photo and words) on one screen */
@media (min-width: 861px) and (max-height: 820px) {
  .educator { padding: 24px 0; }
  .educator h2 { font-size: 2rem; margin-top: 8px; }
  .educator .stack { margin-top: 12px; font-size: 0.95rem; }
  .educator .stack > * + * { margin-top: 9px; }
  .educator .goal { font-size: 1.1rem; }
  .educator .disciplines { margin-top: 12px; font-size: 0.76rem; }
  .educator .btn { margin-top: 14px; padding: 12px 24px; }
  .educator .split img { max-height: min(68vh, 560px); }
}
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1100px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .now-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { flex-wrap: wrap; }
  .step { flex: 1 1 30%; }
  .step-arrow { display: none; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-photo img { aspect-ratio: 4 / 3; border-radius: 22px 22px 22px 80px; }
  .educator .split img { transform: none; max-height: 52vh; }
  .educator-grid { grid-template-columns: 1fr; }
  .tracks, .cards, .quotes, .journal-grid, .why .cards { grid-template-columns: 1fr; }
  .gallery { columns: 2; }
  .free .mini-steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .report li { grid-template-columns: 1fr; gap: 4px; }
  .step { flex-basis: 45%; }
}
@media (max-width: 560px) {
  .brand span { display: none; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .now-grid { grid-template-columns: 1fr; }
  .gallery { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .step { flex-basis: 100%; }
  .btn { width: 100%; }
  .nav-cta .btn { width: auto; }
}

/* Booking panel: the Google Form over the page (see bookingFormUrl in site-config.js) */
.book-dialog { border: 0; padding: 0; background: transparent; width: min(720px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); margin: auto; }
.book-dialog::backdrop { background: rgba(17, 17, 17, 0.62); backdrop-filter: blur(4px); }
.book-card { display: flex; flex-direction: column; max-height: calc(100vh - 32px); background: var(--paper); border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35); overflow: hidden; }
.book-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px 26px 0; }
.book-head .eyebrow { margin-bottom: 4px; }
.book-head h2 { font-size: 1.6rem; line-height: 1.1; }
.book-cancel { flex: none; padding: 10px 20px; font-size: 0.8rem; }
.book-note { padding: 10px 26px 0; color: var(--muted); font-size: 0.95rem; }
.book-frame { display: block; width: 100%; height: 68vh; flex: 1 1 auto; min-height: 0; margin-top: 14px; border: 0; background: #fff; }
.book-foot { padding: 12px 26px 16px; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--muted); }
body.book-open { overflow: hidden; }
@media (max-width: 560px) {
  .book-dialog { width: 100vw; height: 100vh; max-height: 100vh; margin: 0; }
  .book-card { height: 100vh; max-height: 100vh; border-radius: 0; }
  .book-head { padding: 18px 18px 0; }
  .book-head h2 { font-size: 1.3rem; }
  .book-head > div { flex: 1 1 auto; min-width: 0; }
  .book-head .eyebrow { font-size: 0.7rem; }
  .book-cancel { width: auto; }
  .book-note, .book-foot { padding-inline: 18px; }
  .book-frame { height: auto; }
}
/* Grades 7 to 9 inside the Academic track (#grades-7-9): the middle-school pitch, its skills and why the years matter */
.track .grades { margin-top: 22px; padding: 18px 18px 20px; background: var(--surface); border-radius: 12px; border-left: 5px solid var(--primary); }
.track .grades .eyebrow { margin: 0; font-size: 0.72rem; }
.track .grades-head { margin-top: 6px; font-family: var(--head); font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.track .grades > p:not(.eyebrow):not(.grades-head) { margin-top: 8px; color: var(--muted); font-size: 0.93rem; line-height: 1.5; }
.track .skills { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.track .skills li { padding: 5px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-family: var(--head); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.04em; }
.track .grades-why b { color: var(--ink); }
.track .grades-format { margin-top: 12px; }
.track .grades-format b { display: inline-block; padding: 4px 10px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-deep); font-family: var(--head); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.track .grades .link-more { display: inline-block; margin-top: 12px; }
