/*
Theme Name: LabCampus
Theme URI: https://labcampus.ru
Author: LabCampus
Description: Быстрая адаптивная тема школы робототехники с каталогом курсов, квизом, расписанием и CRM-формами.
Version: 1.2.5
Text Domain: labcampus
*/

:root {
  --ink: #102848;
  --night: #0b1d34;
  --paper: #f7f3eb;
  --white: #fffefa;
  --soft: #e9e1d5;
  --orange: #d94a24;
  --orange-dark: #9f2d17;
  --lime: #d8f143;
  --sky: #9ed6ed;
  --pink: #ecb4cb;
  --line: rgba(16, 40, 72, .17);
  --muted: #4b596b;
  --shadow: 12px 12px 0 rgba(16, 40, 72, .09);
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.55; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; width: 1.25em; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { letter-spacing: -.055em; line-height: .98; }
h1 { font-size: clamp(3.35rem, 7.5vw, 7.3rem); }
h2 { max-width: 780px; font-size: clamp(2.55rem, 5vw, 4.75rem); }
h3 { letter-spacing: -.035em; line-height: 1.05; }
h1 em, h2 em { color: var(--orange); font-family: inherit; font-style: normal; font-weight: inherit; }
::selection { background: var(--lime); color: var(--night); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.shell { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.section-pad { padding-block: 112px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 10000; top: 12px; left: 12px; padding: 10px 14px; color: #fff; background: var(--night); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.eyebrow { margin-bottom: 18px; color: #4b596b; font-size: .74rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow.dark { color: var(--ink); }
.eyebrow.light { color: rgba(255,255,255,.72); }
.text-link { display: inline-flex; align-items: center; width: fit-content; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: .9rem; font-weight: 800; }
.text-link:hover { color: var(--orange-dark); }
.light-link { color: var(--lime); }
.light-link:hover { color: #fff; }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 18px; padding: 13px 22px; border: 1px solid transparent; cursor: pointer; font-size: .88rem; font-weight: 800; line-height: 1.2; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button:disabled, .button.is-disabled { opacity: .58; cursor: not-allowed; filter: grayscale(.35); box-shadow: none; transform: none; }
.button:disabled:hover, .button.is-disabled:hover { box-shadow: none; transform: none; }
.button svg { width: 19px; }
.button-accent { color: var(--night); background: var(--lime); box-shadow: 6px 6px 0 rgba(216, 241, 67, .18); }
.button-accent:hover { background: #e5f76d; box-shadow: 8px 8px 0 rgba(216, 241, 67, .16); }
.button-light { color: var(--night); background: var(--white); }
.button-dark { color: #fff; background: var(--night); }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.42); background: rgba(9,25,47,.18); backdrop-filter: blur(7px); }
.button-small { min-height: 42px; padding: 9px 15px; background: var(--lime); color: var(--night); font-size: .78rem; }

/* Header */
.site-header { position: relative; z-index: 1000; background: var(--night); color: #fff; }
.site-header .brand b { color: #f47756; }
.header-inner { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 25px; }
.brand { display: inline-flex; flex: none; align-items: center; gap: 10px; font-size: .91rem; font-weight: 900; letter-spacing: .015em; line-height: 1; }
.brand > span:last-child { display: flex; flex-direction: column; }
.brand b { color: var(--orange); }
.brand small { margin-top: 4px; color: currentColor; font-size: .55rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
.brand-mark { display: grid; width: 38px; height: 38px; flex: none; place-items: center; border-radius: 50%; background: var(--lime); color: var(--night); }
.brand-mark svg { width: 24px; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(15px, 2vw, 30px); }
.desktop-nav a { color: rgba(255,255,255,.78); font-size: .78rem; font-weight: 700; white-space: nowrap; }
.desktop-nav a:hover { color: var(--lime); }
.header-actions { display: flex; flex: none; align-items: center; gap: 17px; }
.phone-link { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 800; white-space: nowrap; }
.phone-link svg { width: 16px; color: var(--lime); }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 9px; border: 1px solid rgba(255,255,255,.3); background: transparent; cursor: pointer; }
.menu-toggle > span:not(.screen-reader-text) { display: block; height: 2px; margin-block: 5px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { position: fixed; z-index: 999; inset: 78px 0 0; overflow: auto; padding: 32px max(24px, calc((100vw - 1200px) / 2)); background: var(--night); }
.mobile-menu nav { display: grid; }
.mobile-menu nav a { padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.15); font-size: 1.35rem; font-weight: 800; }
.mobile-menu-contact { display: grid; gap: 10px; margin-top: 30px; color: rgba(255,255,255,.72); }
.mobile-menu-contact > a:first-child { color: #fff; font-size: 1.2rem; font-weight: 800; }
.enrollment-banner { padding-block: 11px; color: var(--night); background: var(--lime); border-bottom: 1px solid rgba(11,29,52,.2); }
.enrollment-banner .shell { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.enrollment-banner strong { font-size: .83rem; }
.enrollment-banner a { flex: none; border-bottom: 1px solid currentColor; font-size: .75rem; font-weight: 800; }

/* Front hero */
.hero { position: relative; min-height: 770px; overflow: hidden; isolation: isolate; color: #fff; background: var(--night); }
.hero-media { position: absolute; z-index: -3; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::before { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(7,22,42,.97) 0%, rgba(7,22,42,.87) 38%, rgba(7,22,42,.25) 72%, rgba(7,22,42,.14)), linear-gradient(0deg, rgba(7,22,42,.78), transparent 46%); content: ''; }
.hero-grid { position: absolute; z-index: -1; inset: 0 43% 0 0; opacity: .26; background-image: linear-gradient(rgba(216,241,67,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(216,241,67,.22) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, #000, transparent); }
.hero-layout { display: grid; min-height: 770px; grid-template-columns: minmax(0, 1fr) 290px; align-items: end; gap: 70px; padding-top: 100px; padding-bottom: 40px; }
.hero-copy { align-self: center; max-width: 850px; padding-top: 25px; }
.hero-copy .eyebrow { color: rgba(255,255,255,.75); }
.hero-copy .eyebrow span { display: inline-block; width: 7px; height: 7px; margin: 0 9px 1px 0; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(216,241,67,.16); }
.hero h1 { max-width: 830px; margin-bottom: 28px; }
.hero-lead { max-width: 590px; margin-bottom: 30px; color: rgba(255,255,255,.84); font-size: clamp(1.05rem, 2vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 0; margin-top: 37px; color: rgba(255,255,255,.69); }
.hero-facts span { padding: 4px 23px; border-left: 1px solid rgba(255,255,255,.27); font-size: .78rem; }
.hero-facts span:first-child { padding-left: 0; border-left: 0; }
.hero-facts b { display: block; color: #fff; font-size: 1.05rem; }
.hero-location { padding: 25px; border: 1px solid rgba(255,255,255,.28); background: rgba(6,21,39,.72); backdrop-filter: blur(13px); }
.hero-location .location-icon { display: grid; width: 38px; height: 38px; place-items: center; margin-bottom: 45px; border-radius: 50%; background: var(--orange); }
.hero-location p { margin-bottom: 5px; color: rgba(255,255,255,.58); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero-location strong, .hero-location > span { display: block; }
.hero-location strong { margin-bottom: 4px; font-size: 1.18rem; }
.hero-location > span { color: rgba(255,255,255,.72); font-size: .84rem; }
.hero-location .text-link { margin-top: 20px; color: var(--lime); }

/* Shared sections */
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 55px; margin-bottom: 48px; }
.section-heading > div { flex: 1; }
.section-heading h2 { margin: 0; }
.section-heading > p { max-width: 370px; margin: 0 0 6px; color: var(--muted); }
.section-heading.compact h2 { max-width: 700px; font-size: clamp(2.15rem, 4vw, 3.6rem); }
.trial-strip { padding-block: 70px; background: var(--lime); }
.trial-steps { display: grid; margin: 0; padding: 0; grid-template-columns: repeat(4, 1fr); list-style: none; border-top: 1px solid rgba(11,29,52,.34); }
.trial-steps li { min-height: 195px; padding: 22px 25px 12px 0; border-right: 1px solid rgba(11,29,52,.22); }
.trial-steps li + li { padding-left: 25px; }
.trial-steps li:last-child { border-right: 0; }
.trial-steps span { color: var(--orange-dark); font-size: .75rem; font-weight: 900; }
.trial-steps h3 { margin: 42px 0 9px; font-size: 1.35rem; }
.trial-steps p { margin: 0; font-size: .88rem; }

/* Quiz */
.quiz-section { background: #dce9e8; }
.quiz-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 85px; align-items: start; }
.quiz-intro { position: sticky; top: 110px; }
.quiz-intro h2 em { display: block; }
.quiz-intro > p:last-child { max-width: 420px; color: var(--muted); font-size: 1.05rem; }
.quiz-card { min-height: 430px; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.quiz-progress { height: 6px; background: var(--soft); }
.quiz-progress span { display: block; height: 100%; background: var(--orange); transition: width .25s ease; }
.quiz-step, .quiz-results { padding: 44px; }
.quiz-step:not(.is-active) { display: none; }
.quiz-number { color: var(--orange-dark); font-size: .73rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.quiz-step h3, .quiz-results h3 { margin: 22px 0 28px; font-size: clamp(1.8rem, 4vw, 2.55rem); }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.choice-grid button { min-height: 64px; padding: 14px 18px; border: 1px solid var(--line); background: transparent; cursor: pointer; text-align: left; font-weight: 800; transition: background .15s ease, border-color .15s ease; }
.choice-grid button:hover, .choice-grid button.is-selected { border-color: var(--ink); background: var(--lime); }
.quiz-match { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.quiz-match strong, .quiz-match small { display: block; }
.quiz-match small { margin-top: 4px; color: var(--muted); }
.quiz-match a { color: var(--orange-dark); font-weight: 900; }
.quiz-results .text-link { margin-top: 25px; border: 0; background: transparent; cursor: pointer; }

/* Trajectory */
.trajectory { background: var(--paper); }
.trajectory-list { display: grid; margin: 0 0 30px; padding: 0; grid-template-columns: repeat(4, 1fr); list-style: none; border-top: 2px solid var(--ink); }
.trajectory-list li { position: relative; min-height: 310px; padding: 27px 25px 20px; border-right: 1px solid var(--line); }
.trajectory-list li:first-child { padding-left: 0; }
.trajectory-list li:last-child { border-right: 0; }
.trajectory-list li::before { position: absolute; top: -7px; left: 25px; width: 12px; height: 12px; border: 2px solid var(--paper); border-radius: 50%; background: var(--orange); content: ''; }
.trajectory-list li:first-child::before { left: 0; }
.trajectory-list .age { color: var(--orange-dark); font-family: inherit; font-size: 2.1rem; font-weight: 800; }
.trajectory-list h3 { margin: 76px 0 12px; font-size: 1.55rem; }
.trajectory-list p { color: var(--muted); font-size: .92rem; }
.trajectory-list small { color: var(--ink); font-size: .76rem; font-weight: 800; }

/* Course cards */
.courses-section { color: #fff; background: var(--ink); }
.courses-section .section-heading > p { color: rgba(255,255,255,.67); }
.courses-section h2 em { color: var(--lime); }
.course-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.course-card { display: flex; min-height: 520px; flex-direction: column; padding: 22px; color: var(--night); background: var(--white); }
.course-card:nth-child(4n+1) { background: var(--lime); }
.course-card:nth-child(4n+2) { background: #f47756; }
.course-card:nth-child(4n+3) { background: var(--sky); }
.course-card:nth-child(4n) { background: var(--pink); }
.course-card[hidden] { display: none; }
.course-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .72rem; font-weight: 900; }
.places { padding: 4px 7px; border: 1px solid currentColor; border-radius: 999px; font-size: .63rem; }
.places.is-wait { opacity: 1; border-style: dashed; }
.course-icon { margin: 38px 0 20px; }
.course-icon svg { width: 44px; }
.course-card h3 { margin-bottom: 12px; font-size: 1.58rem; }
.course-card h3 a:hover { text-decoration: underline; }
.course-card > p { min-height: 65px; color: #223348; font-size: .85rem; }
.course-card dl { display: grid; gap: 7px; margin: 12px 0 22px; }
.course-card dl div { display: grid; grid-template-columns: 76px 1fr; gap: 8px; border-top: 1px solid rgba(11,29,52,.17); padding-top: 7px; font-size: .7rem; }
.course-card dt { color: var(--night); }
.course-card dd { margin: 0; font-weight: 800; }
.course-card-price { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 15px; border-top: 1px solid rgba(11,29,52,.3); }
.course-card-price strong { font-size: 1.05rem; }
.course-card-price span { font-size: .65rem; }
.course-closed { margin: 0 0 12px !important; color: var(--orange-dark) !important; font-size: .68rem !important; font-weight: 800; line-height: 1.35; }
.course-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; }
.course-actions .button { border: 1px solid var(--night); background: transparent; }
.section-footer { display: flex; justify-content: center; margin-top: 42px; }

/* Lesson + standards */
.lesson-layout { display: grid; grid-template-columns: 1.12fr .88fr; gap: 80px; align-items: center; }
.lesson-photo { position: relative; box-shadow: 18px 18px 0 var(--soft); }
.lesson-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.lesson-photo span { position: absolute; bottom: 0; left: 0; padding: 10px 13px; color: #fff; background: var(--night); font-size: .7rem; font-weight: 800; }
.big-copy { color: var(--muted); font-size: 1.05rem; }
.lesson-list { margin: 35px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.lesson-list li { display: grid; grid-template-columns: 85px 1fr; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.lesson-list b { color: var(--orange-dark); }

/* Equipment */
.equipment { background: #dce9e8; }
.equipment .section-heading h2 { overflow-wrap: break-word; hyphens: manual; }
.equipment-grid { display: grid; margin-bottom: 30px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.equipment-card { display: flex; min-width: 0; min-height: 440px; flex-direction: column; padding: 24px; color: var(--night); }
.equipment-card--lime { background: var(--lime); }
.equipment-card--sky { background: var(--sky); }
.equipment-card--orange { background: #f47756; }
.equipment-card--pink { background: var(--pink); }
.equipment-card__index { font-size: .67rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.equipment-card > strong { margin: 62px 0 55px; font-size: clamp(3.4rem, 6vw, 5rem); font-weight: 800; letter-spacing: -.08em; line-height: .8; }
.equipment-card h3 { margin: auto 0 14px; font-size: 1.45rem; }
.equipment-card p { margin: 0; color: #263b53; font-size: .84rem; }
.equipment-profile { margin-top: 70px !important; }
.content-section .equipment-profile h2 { margin: 0; }
.content-section .equipment-profile .section-heading > p { color: var(--muted); }
.content-section .equipment-profile .equipment-grid { max-width: none; }
.content-section .equipment-profile .equipment-card p { color: #263b53; }
.equipment-safety { display: grid; margin-top: 22px; padding: 26px 28px; grid-template-columns: minmax(220px, .55fr) 1.45fr; gap: 35px; border: 1px solid var(--line); background: var(--white); }
.content-section .equipment-safety h3 { margin: 0; }
.content-section .equipment-safety p { margin: 0; }

/* Teachers */
.founder { color: #fff; background: var(--night); }
.founder-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr); gap: 85px; align-items: center; }
.founder-copy h2 { margin-bottom: 25px; }
.founder-copy > p:not(.eyebrow) { max-width: 680px; color: rgba(255,255,255,.7); }
.founder-copy .founder-lead { color: #fff !important; font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 700; }
.founder-copy .text-link { margin-top: 17px; }
.founder-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.28); border-left: 1px solid rgba(255,255,255,.28); }
.founder-facts article { min-height: 185px; padding: 27px; border-right: 1px solid rgba(255,255,255,.28); border-bottom: 1px solid rgba(255,255,255,.28); }
.founder-facts strong, .founder-facts span { display: block; }
.founder-facts strong { color: var(--lime); font-size: clamp(2rem, 4vw, 3.3rem); letter-spacing: -.06em; line-height: 1; }
.founder-facts span { max-width: 150px; margin-top: 55px; color: rgba(255,255,255,.7); font-size: .75rem; font-weight: 800; text-transform: uppercase; }

.teachers { background: #dce9e8; }
.teacher-slider-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.teacher-slider-status { margin: 0; color: var(--muted); font-size: .75rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.teacher-slider-controls { display: flex; gap: 8px; }
.teacher-slider-controls button { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid var(--ink); background: transparent; cursor: pointer; font-size: 1.35rem; transition: color .15s ease, background .15s ease; }
.teacher-slider-controls button:hover { background: var(--lime); }
.teacher-slider-controls button:disabled { opacity: .35; cursor: default; background: transparent; }
.teacher-track { display: flex; overflow-x: auto; gap: 14px; padding: 0 0 18px; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-color: var(--orange) rgba(16,40,72,.1); scrollbar-width: thin; }
.teacher-track:focus-visible { outline-offset: 7px; }
.teacher-card { overflow: hidden; min-width: min(380px, calc((100% - 28px) / 3)); flex: 0 0 min(380px, calc((100% - 28px) / 3)); border: 1px solid var(--line); background: var(--white); scroll-snap-align: start; }
.teacher-photo { position: relative; display: block; width: 100%; overflow: hidden; padding: 0; border: 0; background: var(--soft); cursor: zoom-in; text-align: left; }
.teacher-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; transition: transform .25s ease; }
.teacher-photo--portrait img { object-position: center 32%; }
.teacher-photo:hover img, .teacher-photo:focus-visible img { transform: scale(1.025); }
.teacher-photo > span { position: absolute; right: 10px; bottom: 10px; padding: 6px 9px; color: #fff; background: rgba(11,29,52,.86); font-size: .62rem; font-weight: 800; letter-spacing: .03em; }
.teacher-copy { min-height: 230px; padding: 22px 21px 25px; }
.teacher-copy > span { display: block; min-height: 2.3em; color: var(--orange-dark); font-size: .67rem; font-weight: 800; letter-spacing: .06em; line-height: 1.35; text-transform: uppercase; }
.teacher-copy h3 { margin: 18px 0 11px; font-size: 1.6rem; }
.teacher-copy p { margin: 0; color: var(--muted); font-size: .84rem; }
.teachers-note { max-width: 760px; margin: 26px 0 0; color: var(--muted); font-size: .78rem; }
.teacher-dialog { width: min(1040px, calc(100% - 36px)); max-height: calc(100vh - 36px); padding: 52px 18px 18px; border: 0; background: var(--night); color: #fff; box-shadow: 0 25px 80px rgba(0,0,0,.45); }
.teacher-dialog::backdrop { background: rgba(5,16,30,.84); backdrop-filter: blur(5px); }
.teacher-dialog[open] { display: grid; gap: 12px; }
.teacher-dialog img { width: 100%; max-height: calc(100vh - 145px); object-fit: contain; }
.teacher-dialog p { margin: 0; color: rgba(255,255,255,.75); font-size: .82rem; }
.teacher-dialog__close { position: absolute; top: 12px; right: 14px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; cursor: pointer; font-size: .75rem; font-weight: 800; }

.standards { background: var(--lime); }
.standards-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(11,29,52,.3); }
.standards-grid article { min-height: 235px; padding: 25px 24px; border-right: 1px solid rgba(11,29,52,.22); }
.standards-grid article:first-child { padding-left: 0; }
.standards-grid article:last-child { border-right: 0; }
.standards-grid strong { display: block; color: var(--orange-dark); font-family: inherit; font-size: 2.5rem; font-weight: 800; }
.standards-grid h3 { margin: 50px 0 10px; font-size: 1.2rem; }
.standards-grid p { margin: 0; font-size: .82rem; }
.standards-note { display: flex; align-items: flex-start; gap: 14px; max-width: 930px; margin-top: 35px; padding: 20px; border: 1px solid rgba(11,29,52,.28); background: rgba(255,255,255,.26); }
.standards-note > span { display: grid; width: 28px; height: 28px; flex: none; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; }
.standards-note p { margin: 0; font-size: .88rem; }
.standards-note a { text-decoration: underline; }

/* Schedule */
.schedule-home { color: #fff; background: var(--night); }
.schedule-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 80px; align-items: start; }
.schedule-layout > div:first-child > p:not(.eyebrow) { max-width: 440px; color: rgba(255,255,255,.68); }
.schedule-layout h2 em { color: var(--lime); }
.schedule-board { background: var(--white); color: var(--ink); box-shadow: 12px 12px 0 rgba(255,255,255,.08); }
.schedule-board a { display: grid; min-height: 77px; grid-template-columns: 145px 1fr auto; gap: 18px; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.schedule-board a:hover { background: var(--lime); }
.schedule-board a > span { color: var(--orange-dark); font-size: .78rem; font-weight: 900; }
.schedule-board strong, .schedule-board small { display: block; }
.schedule-board small { color: var(--muted); font-size: .72rem; }
.schedule-board em { padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; font-size: .7rem; font-style: normal; font-weight: 800; }

/* Project illustrations */
.projects { background: var(--paper); }
.project-grid { display: grid; margin-bottom: 30px; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.project-card { min-height: 415px; padding: 24px; }
.project-card.lime { background: var(--lime); }
.project-card.orange { background: #f47756; }
.project-card.blue { background: var(--sky); }
.project-card > span { font-size: .7rem; font-weight: 900; text-transform: uppercase; }
.project-visual { position: relative; height: 190px; margin: 25px -24px 25px; overflow: hidden; border-block: 1px solid rgba(11,29,52,.18); }
.project-card h3 { margin-bottom: 9px; font-size: 1.55rem; }
.project-card p { margin: 0; font-size: .86rem; }
.bot-track { background: repeating-linear-gradient(90deg, transparent 0 43px, rgba(11,29,52,.1) 44px), linear-gradient(transparent 50%, rgba(11,29,52,.14) 51% 52%, transparent 53%); }
.bot-track i:nth-child(1) { position: absolute; top: 67px; left: 50%; width: 92px; height: 58px; border: 4px solid var(--ink); border-radius: 12px; background: var(--white); transform: translateX(-50%); }
.bot-track i:nth-child(2), .bot-track i:nth-child(3) { position: absolute; top: 111px; width: 31px; height: 31px; border: 4px solid var(--ink); border-radius: 50%; background: var(--orange); }
.bot-track i:nth-child(2) { left: calc(50% - 58px); }.bot-track i:nth-child(3) { left: calc(50% + 27px); }
.plant { background: linear-gradient(90deg, transparent 48%, rgba(11,29,52,.16) 49% 51%, transparent 52%); }
.plant i:nth-child(1) { position: absolute; bottom: 28px; left: 50%; width: 94px; height: 65px; border: 4px solid var(--ink); background: var(--white); transform: translateX(-50%); }
.plant i:nth-child(2), .plant i:nth-child(3) { position: absolute; top: 45px; width: 64px; height: 36px; border: 4px solid var(--ink); border-radius: 70% 10% 70% 10%; background: var(--lime); }
.plant i:nth-child(2) { left: calc(50% - 58px); transform: rotate(25deg); }.plant i:nth-child(3) { left: calc(50% - 4px); transform: scaleX(-1) rotate(25deg); }
.vision { background: repeating-linear-gradient(0deg, transparent 0 27px, rgba(11,29,52,.09) 28px), repeating-linear-gradient(90deg, transparent 0 27px, rgba(11,29,52,.09) 28px); }
.vision i:nth-child(1) { position: absolute; inset: 38px 78px; border: 4px solid var(--ink); }
.vision i:nth-child(2) { position: absolute; top: 68px; left: 50%; width: 55px; height: 55px; border: 4px solid var(--ink); border-radius: 50%; background: var(--pink); transform: translateX(-50%); }
.vision i:nth-child(3) { position: absolute; top: 88px; left: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--night); transform: translateX(-50%); }

/* FAQ */
.home-faq { background: #dce9e8; }
.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; }
.faq-layout > div:first-child { position: sticky; top: 110px; align-self: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 23px 44px 23px 0; cursor: pointer; font-size: 1.13rem; font-weight: 800; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 20px; right: 3px; content: '+'; color: var(--orange-dark); font-size: 1.5rem; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { max-width: 650px; padding-right: 35px; color: var(--muted); }

/* Form */
.final-cta { color: #fff; background: var(--ink); }
.form-shell { display: grid; grid-template-columns: 1.3fr .7fr; gap: 70px; }
.lc-lead-form { padding: 38px; color: var(--ink); background: var(--white); box-shadow: 12px 12px 0 rgba(255,255,255,.08); }
.form-heading h2 { margin-bottom: 14px; font-size: clamp(2.1rem, 4vw, 3.5rem); }
.form-heading p { max-width: 650px; color: var(--muted); }
.kicker { display: block; margin-bottom: 10px; color: var(--orange-dark); font-size: .7rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 28px 0 16px; }
.form-grid label > span { display: block; margin-bottom: 6px; font-size: .72rem; font-weight: 800; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; padding: 10px 12px; border: 1px solid rgba(11,29,52,.35); border-radius: 0; background: #fff; color: var(--ink); }
.form-grid input, .form-grid select { height: 50px; }
.form-grid textarea { min-height: 132px; resize: vertical; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--orange); outline: 3px solid rgba(239,99,63,.2); }
.form-message { grid-column: 1 / -1; }
.enrollment-state { margin: 20px 0 0; padding: 13px 15px; border-left: 4px solid var(--orange); background: #f4e4dc; color: var(--ink) !important; font-size: .85rem; }
.consent { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 20px; color: var(--muted); font-size: .72rem; }
.consent input { width: 17px; height: 17px; flex: none; margin-top: 1px; }
.consent a { color: var(--orange-dark); text-decoration: underline; }
.hp-field { position: absolute; left: -10000px; }
.form-status { min-height: 24px; margin: 13px 0 0; font-size: .83rem; font-weight: 700; }
.form-status.is-error { color: #a52410; }
.form-status.is-success { color: #27620d; }
.lc-lead-form.is-sent .form-grid, .lc-lead-form.is-sent .consent, .lc-lead-form.is-sent button { opacity: .28; pointer-events: none; }
.form-shell > aside { align-self: center; padding-left: 30px; border-left: 1px solid rgba(255,255,255,.25); }
.form-shell > aside h2 { margin-bottom: 18px; font-size: clamp(2.4rem, 4vw, 4rem); }
.form-shell > aside p:not(.eyebrow) { color: rgba(255,255,255,.68); }

/* Archive and content pages */
.page-hero { padding: 85px 0 75px; color: #fff; background: var(--night); }
.page-hero .breadcrumbs { margin-bottom: 35px; color: rgba(255,255,255,.6); font-size: .75rem; }
.page-hero .breadcrumbs a { text-decoration: underline; }
.page-hero h1 { max-width: 990px; margin-bottom: 20px; font-size: clamp(3rem, 7vw, 6rem); }
.page-hero p { max-width: 720px; margin: 0; color: rgba(255,255,255,.72); font-size: 1.08rem; }
.content-section { padding-block: 80px 110px; }
.content-section > * { max-width: 850px; margin-right: auto; margin-left: auto; }
.content-section > .wide, .content-section > .course-grid, .content-section > .content-grid, .content-section > .price-grid, .content-section > .branch-grid, .content-section > .camp-grid, .content-section > .project-grid, .content-section > .blog-grid, .content-section > .timeline { max-width: 1200px; }
.content-section h2 { margin-top: 70px; margin-bottom: 22px; font-size: clamp(2rem, 4vw, 3.35rem); }
.content-section h3 { margin-top: 35px; font-size: 1.4rem; }
.content-section p, .content-section li { color: #41546a; }
.content-section a:not(.button) { color: var(--orange-dark); text-decoration: underline; }
.content-section ul, .content-section ol { padding-left: 22px; }
.content-section li { margin-bottom: 9px; }
.fact-row { display: grid; max-width: 1200px; margin-block: 35px !important; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.fact-row article { padding: 24px; border-right: 1px solid var(--line); }
.fact-row article:last-child { border-right: 0; }
.fact-row strong { display: block; color: var(--orange-dark); font-family: inherit; font-size: 2rem; font-weight: 800; }
.fact-row span { font-size: .78rem; font-weight: 800; }
.founder-profile { margin-block: 62px 75px !important; padding: clamp(28px, 5vw, 55px); color: #fff; background: var(--night); }
.content-section .founder-profile h2 { margin: 0; color: #fff; }
.content-section .founder-profile p { color: rgba(255,255,255,.72); }
.founder-profile__head { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: end; }
.founder-profile__head > p { margin: 0 0 5px; font-size: 1.05rem; }
.founder-profile__facts { display: grid; margin-block: 42px; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.25); border-bottom: 1px solid rgba(255,255,255,.25); }
.founder-profile__facts article { padding: 24px 20px; border-right: 1px solid rgba(255,255,255,.25); }
.founder-profile__facts article:first-child { padding-left: 0; }
.founder-profile__facts article:last-child { border-right: 0; }
.founder-profile__facts strong, .founder-profile__facts span { display: block; }
.founder-profile__facts strong { color: var(--lime); font-size: clamp(1.5rem, 3vw, 2.35rem); line-height: 1; }
.founder-profile__facts span { margin-top: 10px; color: rgba(255,255,255,.65); font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.founder-profile__body { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.founder-profile__body p { margin: 0; font-size: .9rem; }
.founder-profile .text-link { margin-top: 35px; color: var(--lime) !important; }
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-block: 30px !important; }
.content-grid article { padding: 25px; border: 1px solid var(--line); background: var(--white); }
.content-grid h3 { margin-top: 0; }
.content-grid p:last-child { margin-bottom: 0; }
.price-notice { display: grid; margin-bottom: 34px !important; padding: 26px 30px; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 30px; border-left: 6px solid var(--orange); background: #f1e1d8; }
.price-notice > span { color: var(--orange-dark); font-size: .7rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.price-notice strong { grid-column: 1; font-size: clamp(1.2rem, 2vw, 1.65rem); line-height: 1.2; }
.price-notice p { grid-column: 1; margin: 2px 0 0; }
.price-notice a { grid-column: 2; grid-row: 1 / 4; align-self: center; white-space: nowrap; font-size: .82rem; font-weight: 900; }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-block: 0 45px !important; }
.price-card { display: flex; min-height: 315px; flex-direction: column; justify-content: space-between; padding: 30px; border: 1px solid var(--line); background: var(--white); }
.price-card.is-featured { background: var(--lime); }
.price-card__head > span { display: block; margin-bottom: 17px; color: var(--muted); font-size: .72rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.price-card__head h3 { margin: 0 0 11px; font-size: 1.65rem; }
.price-card__head p { margin: 0; }
.price-card__footer { display: block; padding-top: 24px; border-top: 1px solid rgba(16,40,72,.2); }
.price-card__footer strong { display: block; min-width: 0; font-size: clamp(1.55rem, 2.25vw, 2rem); line-height: 1.08; white-space: nowrap; }
.price-card__footer > span { display: block; margin-top: 5px; color: var(--muted); font-size: .82rem; font-weight: 800; }
.price-card__footer small { display: block; margin-top: 12px; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.price-benefits { display: grid; margin-block: 30px 65px !important; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price-benefits article { min-width: 0; padding: 26px 24px 30px; border-right: 1px solid var(--line); }
.price-benefits article:first-child { padding-left: 0; }
.price-benefits article:last-child { padding-right: 0; border-right: 0; }
.price-benefits article > span { color: var(--orange-dark); font-size: .72rem; font-weight: 900; }
.price-benefits h3 { margin: 25px 0 10px; font-size: 1.25rem; }
.price-benefits p { margin: 0; font-size: .9rem; }
.branch-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 15px; margin-block: 35px !important; }
.branch-card, .map-illustration { min-height: 400px; padding: 30px; }
.branch-card { color: #fff; background: var(--ink); }
.branch-card p { color: rgba(255,255,255,.7); }
.map-illustration { position: relative; overflow: hidden; background: #d5e5e2; }
.map-illustration::before { position: absolute; inset: -150px; opacity: .55; background: linear-gradient(26deg, transparent 44%, #496b7d 44.3% 45.4%, transparent 45.7%), linear-gradient(113deg, transparent 39%, #496b7d 39.3% 40.3%, transparent 40.6%), linear-gradient(0deg, transparent 47%, #fff 47.3% 50%, transparent 50.3%), linear-gradient(90deg, transparent 50%, #fff 50.3% 53%, transparent 53.3%); content: ''; }
.map-illustration .map-dot { position: absolute; top: 48%; left: 48%; display: grid; width: 72px; height: 72px; place-items: center; border: 7px solid var(--white); border-radius: 50% 50% 50% 0; background: var(--orange); color: #fff; transform: rotate(-45deg); }
.map-illustration .map-dot span { transform: rotate(45deg); font-size: .7rem; font-weight: 900; }
.camp-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; margin-block: 35px !important; }
.camp-card { padding: 32px; background: var(--lime); }
.camp-days { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.camp-days li { display: grid; grid-template-columns: 75px 1fr; padding: 12px 0; border-bottom: 1px solid rgba(11,29,52,.2); }
.camp-aside { padding: 32px; color: #fff; background: var(--night); }
.camp-aside p, .camp-aside li { color: rgba(255,255,255,.72); }
.timeline { margin-block: 35px !important; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.timeline li { display: grid; grid-template-columns: 150px 1fr; gap: 40px; padding: 27px 0; border-bottom: 1px solid var(--line); }
.timeline strong { color: var(--orange-dark); font-family: inherit; font-size: 2rem; font-weight: 800; }
.timeline h3 { margin: 0 0 8px; }
.filter-bar { display: grid; margin-bottom: 28px; padding: 22px; grid-template-columns: repeat(5, 1fr); gap: 12px; border: 1px solid var(--line); background: var(--white); }
.filter-bar label span { display: block; margin-bottom: 5px; font-size: .68rem; font-weight: 900; text-transform: uppercase; }
.filter-bar select { width: 100%; height: 44px; padding: 8px; border: 1px solid var(--line); background: #fff; }
.filter-summary { margin: 0 0 20px; color: var(--muted); font-size: .82rem; }
.archive-courses { background: var(--paper); }
.archive-courses .course-card { border: 1px solid var(--line); }

/* Single course */
.course-hero { padding: 75px 0; color: #fff; background: var(--night); }
.course-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: end; }
.course-hero h1 { margin-bottom: 23px; font-size: clamp(3.2rem, 7vw, 6.4rem); }
.course-hero .lead { max-width: 710px; color: rgba(255,255,255,.75); font-size: 1.1rem; }
.course-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.course-chips span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.26); font-size: .72rem; font-weight: 800; }
.course-quick { padding: 27px; color: var(--night); background: var(--lime); }
.course-quick dl { margin: 0; }
.course-quick div { display: flex; justify-content: space-between; gap: 15px; padding: 11px 0; border-bottom: 1px solid rgba(11,29,52,.2); }
.course-quick dt { font-size: .75rem; }.course-quick dd { margin: 0; font-weight: 900; text-align: right; }
.course-quick .button { width: 100%; margin-top: 20px; }
.course-body { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 75px; padding-block: 85px; }
.course-content h2 { margin-top: 60px; margin-bottom: 20px; font-size: clamp(2rem, 4vw, 3.2rem); }
.course-content h2:first-child { margin-top: 0; }
.course-content h3 { margin-top: 35px; font-size: 1.35rem; }
.course-content p, .course-content li { color: #41546a; }
.course-content li { margin-bottom: 9px; }
.course-side { position: sticky; top: 100px; align-self: start; }
.course-side .lc-lead-form { padding: 24px; border: 1px solid var(--line); box-shadow: 9px 9px 0 var(--soft); }
.course-side .form-heading h2 { font-size: 2rem; }
.course-side .form-grid { grid-template-columns: 1fr; }
.course-side .form-grid label:nth-child(n+4) { display: none; }
.course-side .lc-lead-form .button { width: 100%; }
.next-course { margin-top: 28px; padding: 22px; border: 1px solid var(--line); background: #dce9e8; }
.next-course span { display: block; font-size: .68rem; font-weight: 900; text-transform: uppercase; }
.next-course strong { display: block; margin-top: 6px; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-block: 35px !important; }
.post-card { display: flex; min-height: 320px; flex-direction: column; padding: 25px; border: 1px solid var(--line); background: var(--white); }
.post-card time { color: var(--orange-dark); font-size: .7rem; font-weight: 900; }
.post-card h2, .post-card h3 { margin: 45px 0 13px; font-size: 1.55rem; }
.post-card p { font-size: .85rem; }
.post-card .text-link { margin-top: auto; }
.single-post .content-section { max-width: 900px; margin-inline: auto; }
.single-post .content-section > * { max-width: 820px; }

/* Footer and mobile dock */
.site-footer { padding: 65px 0 22px; background: var(--soft); }
.site-footer .brand b { color: var(--orange-dark); }
.footer-grid { display: grid; grid-template-columns: 1.5fr .75fr .85fr 1fr; gap: 45px; }
.footer-grid h2 { margin: 0 0 16px; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid > div > a:not(.brand), .footer-grid > div > span { display: block; margin-bottom: 8px; color: #46586c; font-size: .8rem; }
.footer-brand p { max-width: 300px; margin-top: 18px; color: #536478; font-size: .82rem; }
.footer-contacts a:first-of-type { color: var(--ink) !important; font-size: 1.05rem !important; font-weight: 900; }
.footer-bottom { display: grid; margin-top: 48px; padding-top: 20px; grid-template-columns: 1.35fr 1fr auto; gap: 30px; border-top: 1px solid var(--line); color: #465568; font-size: .68rem; }
.footer-bottom b, .footer-bottom span { display: block; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-bottom a { text-decoration: underline; }
.mobile-dock { display: none; }

@media (max-width: 1120px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .equipment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course-card { min-height: 485px; }
  .header-actions .button { display: none; }
  .teacher-card { min-width: min(380px, calc((100% - 14px) / 2)); flex-basis: min(380px, calc((100% - 14px) / 2)); }
}

@media (max-width: 900px) {
  .section-pad { padding-block: 85px; }
  .hero-layout { min-height: 720px; grid-template-columns: 1fr; align-content: center; gap: 30px; }
  .hero-location { display: grid; max-width: 580px; grid-template-columns: 48px 1fr; column-gap: 15px; }
  .hero-location .location-icon { grid-row: 1 / 5; margin: 0; }
  .hero-location p, .hero-location strong, .hero-location > span, .hero-location .text-link { grid-column: 2; }
  .hero-location .text-link { margin-top: 10px; }
  .trial-steps { grid-template-columns: repeat(2, 1fr); }
  .trial-steps li:nth-child(2) { border-right: 0; }.trial-steps li:nth-child(n+3) { border-top: 1px solid rgba(11,29,52,.22); }
  .trial-steps li:nth-child(3) { padding-left: 0; }
  .quiz-layout, .lesson-layout, .founder-layout, .schedule-layout, .faq-layout, .form-shell, .course-hero-grid, .course-body { grid-template-columns: 1fr; }
  .quiz-layout, .lesson-layout, .founder-layout, .schedule-layout, .faq-layout, .form-shell, .course-body { gap: 45px; }
  .quiz-intro, .faq-layout > div:first-child, .course-side { position: static; }
  .trajectory-list { grid-template-columns: repeat(2, 1fr); }
  .trajectory-list li:nth-child(2) { border-right: 0; }.trajectory-list li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .standards-grid { grid-template-columns: repeat(2, 1fr); }
  .standards-grid article:nth-child(2) { border-right: 0; }.standards-grid article:nth-child(n+3) { border-top: 1px solid rgba(11,29,52,.22); }
  .standards-grid article:nth-child(3) { padding-left: 0; }
  .project-grid, .content-grid, .price-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card:last-child { grid-column: 1 / -1; }
  .price-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-benefits article:nth-child(2) { padding-right: 0; border-right: 0; }
  .price-benefits article:nth-child(n+3) { border-top: 1px solid var(--line); }
  .price-benefits article:nth-child(3) { padding-left: 0; }
  .project-card:last-child, .blog-grid .post-card:last-child { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-contacts { grid-column: 1 / -1; }
  .footer-bottom { grid-template-columns: 1fr 1fr; }
  .footer-bottom > span { grid-column: 1 / -1; }
  .filter-bar { grid-template-columns: repeat(2, 1fr); }
  .branch-grid, .camp-grid { grid-template-columns: 1fr; }
  .founder-profile__head { grid-template-columns: 1fr; gap: 18px; }
  .founder-profile__body { grid-template-columns: 1fr; }
  .equipment-safety { grid-template-columns: 1fr; gap: 12px; }
  .course-side { max-width: 600px; }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 74px; }
  body { padding-bottom: 64px; }
  .shell { width: min(100% - 34px, 1200px); }
  .section-pad { padding-block: 68px; }
  h1 { font-size: clamp(3.05rem, 15vw, 4.5rem); }
  h2 { font-size: clamp(2.35rem, 11vw, 3.25rem); }
  .header-inner { min-height: 70px; }
  .brand-mark { width: 34px; height: 34px; }.brand-mark svg { width: 21px; }
  .phone-link span { display: none; }
  .phone-link svg { width: 21px; }
  .mobile-menu { inset: 70px 0 0; }
  .enrollment-banner .shell { align-items: flex-start; flex-direction: column; gap: 4px; }
  .hero { min-height: auto; }
  .hero-media img { object-position: 63% center; }
  .hero::before { background: linear-gradient(90deg, rgba(7,22,42,.94), rgba(7,22,42,.5)), linear-gradient(0deg, rgba(7,22,42,.92), transparent 60%); }
  .hero-layout { min-height: 710px; padding-top: 45px; padding-bottom: 25px; align-content: center; }
  .hero-copy { padding-top: 0; }
  .hero h1 { margin-bottom: 22px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero-facts span { padding: 3px 10px; font-size: .66rem; }
  .hero-facts span:first-child { padding-left: 0; }
  .hero-facts b { font-size: .9rem; }
  .hero-location { padding: 18px; }
  .section-heading { display: block; margin-bottom: 35px; }
  .section-heading > p { margin-top: 18px; }
  .trial-strip { padding-block: 55px; }
  .trial-steps { grid-template-columns: 1fr; }
  .trial-steps li, .trial-steps li + li { min-height: 160px; padding: 20px 0; border-right: 0; border-top: 1px solid rgba(11,29,52,.22); }
  .trial-steps li:first-child { border-top: 0; }
  .trial-steps h3 { margin-top: 27px; }
  .quiz-card { box-shadow: 8px 8px 0 rgba(16,40,72,.09); }
  .quiz-step, .quiz-results { padding: 27px 20px; }
  .choice-grid { grid-template-columns: 1fr; }
  .trajectory-list { grid-template-columns: 1fr; }
  .trajectory-list li, .trajectory-list li:first-child { min-height: 235px; padding: 22px 0; border-right: 0; border-top: 1px solid var(--line); }
  .trajectory-list li::before, .trajectory-list li:first-child::before { left: 0; }
  .trajectory-list h3 { margin-top: 42px; }
  .course-grid, .project-grid, .content-grid, .price-grid, .blog-grid, .equipment-grid { grid-template-columns: 1fr; }
  .equipment-card { min-height: 360px; padding: 22px; }
  .equipment-card > strong { margin: 48px 0 38px; }
  .equipment-profile { margin-top: 55px !important; }
  .price-notice { padding: 22px; grid-template-columns: 1fr; gap: 8px; }
  .price-notice strong, .price-notice p, .price-notice a { grid-column: 1; }
  .price-notice a { grid-row: auto; margin-top: 8px; white-space: normal; }
  .price-card { min-height: 270px; padding: 24px; }
  .price-card:last-child { grid-column: auto; }
  .price-card__footer strong { font-size: 1.65rem; }
  .price-benefits { grid-template-columns: 1fr; }
  .price-benefits article, .price-benefits article:first-child, .price-benefits article:nth-child(3) { padding: 24px 0; border-right: 0; border-top: 1px solid var(--line); }
  .price-benefits article:first-child { border-top: 0; }
  .price-benefits h3 { margin-top: 18px; }
  .teacher-slider-controls button { width: 44px; height: 44px; }
  .teacher-card { min-width: 86vw; flex-basis: 86vw; }
  .teacher-copy { min-height: 225px; padding: 22px 19px 25px; }
  .teacher-dialog { width: calc(100% - 20px); max-height: calc(100vh - 20px); padding: 50px 10px 10px; }
  .founder-facts { grid-template-columns: 1fr 1fr; }
  .founder-facts article { min-height: 155px; padding: 20px; }
  .founder-facts span { margin-top: 38px; }
  .founder-profile { margin-block: 40px 60px !important; padding: 28px 22px; }
  .founder-profile__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .founder-profile__facts article, .founder-profile__facts article:first-child { padding: 20px 15px; border-right: 1px solid rgba(255,255,255,.25); border-bottom: 1px solid rgba(255,255,255,.25); }
  .founder-profile__facts article:nth-child(2n) { border-right: 0; }
  .founder-profile__facts article:nth-child(n+3) { border-bottom: 0; }
  .course-card { min-height: 500px; }
  .lesson-layout { gap: 55px; }
  .lesson-photo { box-shadow: 9px 9px 0 var(--soft); }
  .standards-grid { grid-template-columns: 1fr; }
  .standards-grid article, .standards-grid article:nth-child(3), .standards-grid article:first-child { min-height: 185px; padding: 22px 0; border-right: 0; border-top: 1px solid rgba(11,29,52,.22); }
  .standards-grid h3 { margin-top: 32px; }
  .schedule-board a { grid-template-columns: 1fr auto; gap: 5px 10px; padding: 15px; }
  .schedule-board a > span { grid-column: 1 / -1; }
  .project-card:last-child, .blog-grid .post-card:last-child { grid-column: auto; }
  .project-card { min-height: 395px; }
  .form-grid { grid-template-columns: 1fr; }
  .lc-lead-form { padding: 26px 20px; }
  .form-shell > aside { padding: 30px 0 0; border-top: 1px solid rgba(255,255,255,.25); border-left: 0; }
  .page-hero { padding: 60px 0 55px; }
  .content-section { padding-block: 55px 85px; }
  .fact-row { grid-template-columns: repeat(2, 1fr); }
  .fact-row article:nth-child(2) { border-right: 0; }.fact-row article:nth-child(n+3) { border-top: 1px solid var(--line); }
  .filter-bar { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 8px; }
  .course-hero { padding: 55px 0; }
  .course-hero-grid { gap: 35px; }
  .course-body { padding-block: 60px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { grid-template-columns: 1fr; }
  .mobile-dock { position: fixed; z-index: 900; right: 0; bottom: 0; left: 0; display: grid; height: 64px; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(11,29,52,.2); background: var(--white); box-shadow: 0 -5px 18px rgba(11,29,52,.11); }
  .mobile-dock a { display: grid; place-items: center; align-content: center; gap: 2px; color: var(--muted); font-size: .65rem; font-weight: 800; }
  .mobile-dock a span { font-size: 1rem; }
  .mobile-dock a.is-primary { color: var(--night); background: var(--lime); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
