/* 365Karate: original artwork, local typography, ordinary server-rendered forms. */
:root {
  color-scheme: dark;
  --paper: #171a19;
  --ivory: #222725;
  --ink: #f2f4ec;
  --muted: #b7c0b8;
  --red: #d0f344; /* Existing accent hook, now the brand lime. */
  --line: #414a43;
  --white: #111512;
  --teal: #75d6c7;
  --magenta: #ec9dc7;
  --sans: Arial, Helvetica, sans-serif;
  --display: Impact, 'Arial Narrow', 'Liberation Sans Narrow', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: absolute; inset: 0 0 auto; height: 900px; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 5% 20%, #43502326, transparent 55%), repeating-linear-gradient(115deg, transparent 0 69px, #ffffff02 70px 71px); }
a { color: inherit; text-decoration: none; text-underline-offset: 4px; }
a:hover { color: var(--red); }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea, summary { touch-action: manipulation; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 5px; scroll-margin-block: 90px; }
::selection { background: var(--red); color: #171a19; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 800; letter-spacing: -.025em; }
h1 { font-size: clamp(44px, 5.8vw, 82px); margin-bottom: 25px; }
h2 { font-size: clamp(30px, 3.2vw, 46px); margin-bottom: 22px; }
h3 { font-size: 23px; letter-spacing: -.025em; margin-bottom: 16px; }
em { color: var(--red); font-style: normal; }
p { margin-bottom: 20px; }
small { font-size: 13px; }
img { max-width: 100%; height: auto; }
input, select, textarea { width: 100%; min-width: 0; min-height: 49px; padding: 13px 14px; border: 1px solid #79857b; border-radius: 3px; background: #151a17; color: var(--ink); }
input::placeholder, textarea::placeholder { color: #aab5ac; opacity: 1; }
input:hover, select:hover, textarea:hover { border-color: var(--red); }
textarea { resize: vertical; line-height: 1.6; }
label { display: block; font-size: 13px; font-weight: 700; margin: 0 0 8px; }
progress { appearance: none; display: block; border: 0; border-radius: 3px; width: 100%; height: 8px; background: var(--line); margin: 18px 0 22px; overflow: hidden; }
progress::-webkit-progress-bar { background: var(--line); }
progress::-webkit-progress-value { background: var(--red); }
progress::-moz-progress-bar { background: var(--red); }
hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
.shell { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: 64px 80px; }
.narrow { max-width: 800px; }
.red { color: var(--red); }
.muted, .micro, .subtle { color: var(--muted); }
.micro { font-size: 13px; line-height: 1.65; }
.eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .16em; line-height: 1.6; margin-bottom: 23px; text-transform: uppercase; color: var(--red); }
.lede { font-size: 18px; line-height: 1.8; color: var(--muted); max-width: 680px; }
.page-title { font-size: clamp(46px, 6vw, 82px); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 50px; padding: 14px 22px; border: 1px solid var(--red); border-radius: 3px; background: var(--red); color: #17200c; font-size: 14px; font-weight: 800; line-height: 1.5; text-decoration: none; transition: background .18s, border-color .18s, box-shadow .18s; }
.button:hover { color: #17200c; background: #e0ff72; border-color: #e0ff72; box-shadow: 0 4px 20px #c8f34418; }
.button span { font-size: 20px; }
.button.small { padding: 11px 16px; min-height: 44px; font-size: 13px; }
.button.light { background: var(--red); color: #17200c; }
.button.light:hover { background: #e0ff72; }
.button.outline { background: transparent; border-color: #79857b; color: var(--ink); }
.button.outline:hover { border-color: var(--red); color: var(--red); }
.button.full { width: 100%; }
button:disabled { cursor: wait; opacity: .7; }
.button-row { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.underlink { font-size: 14px; font-weight: 700; border: 0; border-bottom: 1px solid currentColor; padding: 8px 0; background: none; color: inherit; display: inline-block; line-height: 1.6; }
.text-button { background: none; border: 0; padding: 12px 0; font-size: 14px; color: inherit; }
.text-button:hover { text-decoration: underline; }
.site-header { min-height: 100px; display: flex; align-items: center; justify-content: space-between; padding: 14px max(48px, calc((100% - 1240px)/2)); border-bottom: 1px solid var(--line); gap: 28px; background: #141816; }
.brand { display: flex; gap: 13px; align-items: center; font-size: 24px; font-weight: 900; letter-spacing: -1px; line-height: 1.15; flex-shrink: 0; }
.brand-light { font-weight: 500; }
.brand small { display: block; color: var(--muted); font-size: 9px; letter-spacing: .2em; line-height: 2; margin-top: 4px; }
.brand-mark { display: block; width: 65px; height: auto; border: 1px solid var(--line); border-radius: 2px; }
.site-header nav { display: flex; align-items: center; gap: 27px; font-size: 14px; font-weight: 600; }
.site-header nav > a:not(.button) { padding-block: 10px; }
.site-header nav a[aria-current] { color: var(--red); text-decoration: underline; }
.site-header nav form { margin: 0; }
.menu-toggle { display: none; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 99; background: var(--red); color: #17200c; padding: 12px; font-weight: 700; }
.skip:focus { top: 12px; color: #17200c; }
.notice { background: #24332b; border: 1px solid #566b5b; border-left: 3px solid var(--teal); padding: 18px 22px; font-size: 14px; margin: 25px 0; color: var(--ink); }
.notice p:last-child { margin-bottom: 0; }
.notice a { text-decoration: underline; }
.preview-notice { display: flex; align-items: baseline; gap: 20px; background: #1e2622; border: 0; border-left: 3px solid var(--red); margin-block: 20px 0; padding-block: 12px; color: #c9d3cb; font-size: 13px; }
.preview-notice strong { color: var(--red); text-transform: uppercase; letter-spacing: .1em; font-size: 11px; white-space: nowrap; }
.hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); align-items: center; width: min(1440px, 100%); margin: auto; gap: 24px; padding: 48px max(48px, calc((100% - 1240px)/2)) 56px; }
.hero-copy { min-width: 0; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(56px, 6.5vw, 94px); line-height: .98; letter-spacing: -.025em; text-transform: uppercase; margin-bottom: 27px; }
.hero h1 em { display: inline-block; position: relative; }
.hero h1 em::after { content: ''; position: absolute; bottom: -9px; left: 2px; width: 72%; height: 4px; background: var(--red); clip-path: polygon(0 30%, 100% 0, 96% 60%, 5% 100%); }
.hero .eyebrow { display: flex; gap: 12px; align-items: center; }
.red-rule { width: 26px; height: 3px; background: var(--red); flex-shrink: 0; }
.hero-deck { max-width: 440px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.hero .button-row { gap: 20px; }
.hero .micro { margin-top: 18px; margin-bottom: 0; }
.hero-art { min-width: 0; margin: 0; position: relative; isolation: isolate; border: 1px solid #4c5142; background: #121411; box-shadow: 0 24px 70px #0005; }
.hero-art::before, .hero-art::after { content: ''; position: absolute; z-index: -1; width: 62%; height: 16px; background: #276e60; transform: rotate(-6deg); top: -10px; right: -10px; clip-path: polygon(3% 20%, 100% 0, 92% 65%, 0 100%); }
.hero-art::after { top: auto; bottom: -8px; left: -10px; width: 38%; background: #963661; transform: rotate(4deg); }
.hero-art img { display: block; width: 100%; height: auto; aspect-ratio: 1280/1080; object-fit: contain; }
.hero-art figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-top: 1px solid #4c5142; font-size: 10px; color: var(--muted); letter-spacing: .12em; font-weight: 700; }
.hero-art figcaption b { color: var(--red); margin-left: 10px; font-size: 16px; }
.curriculum-facts { display: grid; grid-template-columns: 1fr 1fr 1fr; border-block: 1px solid var(--line); padding-block: 23px; }
.curriculum-facts p { margin: 0; padding-inline: 28px; border-right: 1px solid var(--line); display: flex; align-items: center; gap: 18px; }
.curriculum-facts p:first-child { padding-left: 0; }
.curriculum-facts p:last-child { border-right: 0; }
.curriculum-facts strong { font: 800 36px/1.1 var(--display); color: var(--red); white-space: nowrap; }
.curriculum-facts span { font-size: 13px; line-height: 1.5; color: var(--muted); }
.manifesto { display: grid; grid-template-columns: 1fr 3fr; gap: 45px; }
.manifesto > .eyebrow { padding-top: 9px; color: var(--teal); }
.manifesto > div { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.manifesto h2 { font-size: 36px; }
.manifesto p:not(.eyebrow) { color: var(--muted); padding-top: 5px; }
.curriculum-preview { background: #1d221f; border-block: 1px solid var(--line); position: relative; }
.section-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 28px; }
.section-heading h1, .section-heading h2 { margin-bottom: 0; }
.section-heading .eyebrow { margin-bottom: 16px; }
.section-intro { max-width: 580px; color: var(--muted); margin-bottom: 35px; }
.rank-ladder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rank-rung { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); background: #252b27; min-height: 82px; padding: 17px; position: relative; transition: border-color .18s, background .18s; }
.rank-rung:hover { border-color: #92a562; background: #2c342b; }
.rank-rung::before { content: ''; height: 30px; width: 5px; display: block; flex-shrink: 0; background: var(--rank-color, var(--red)); box-shadow: 0 0 0 1px #ffffff30; }
.rank-rung > span { font-size: 12px; color: var(--muted); }
.rank-rung > span:last-child { margin-left: auto; font-size: 22px; color: var(--red); }
.rank-rung strong { font-size: 19px; font-weight: 700; line-height: 1.3; }
.rank-0 { --rank-color: #efeee6; }
.rank-1 { --rank-color: #efce4c; }
.rank-2 { --rank-color: #e59347; }
.rank-3 { --rank-color: #b383c3; }
.rank-4 { --rank-color: #73a9df; }
.rank-5 { --rank-color: #6bab7c; }
.rank-6, .rank-7, .rank-8 { --rank-color: #b18b6e; }
.rank-9, .rank-10 { --rank-color: #0c100e; }
.practice-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.practice-features > div { padding: 25px 0 0; border-top: 2px solid var(--red); }
.practice-features > div:nth-child(2) { border-color: var(--teal); }
.practice-features > div:nth-child(3) { border-color: var(--magenta); }
.feature-index { font-size: 12px; letter-spacing: .1em; color: var(--red); display: block; margin-bottom: 24px; font-weight: 700; }
.practice-features > div:nth-child(2) .feature-index { color: var(--teal); }
.practice-features > div:nth-child(3) .feature-index { color: var(--magenta); }
.practice-features h3 { font: 800 30px/1.1 var(--display); }
.practice-features p { color: var(--muted); }
.join-band { padding: 65px 24px 72px; background: #222b20; border-block: 1px solid #526042; text-align: center; position: relative; isolation: isolate; overflow: hidden; }
.join-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(124deg, transparent 0 90px, #d0f34407 91px 93px), radial-gradient(ellipse at 0 80%, #246b5538, transparent 50%); }
.join-band h2 { font-size: clamp(42px, 5.5vw, 76px); text-transform: uppercase; }
.join-band p:not(.eyebrow) { color: #c5d1bd; }
.site-footer { padding: 50px max(48px, calc((100% - 1240px)/2)); display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 40px; border-top: 1px solid var(--line); background: #121613; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; font-size: 24px; letter-spacing: -.05em; font-weight: 800; }
.footer-brand img { width: 64px; height: auto; border: 1px solid var(--line); }
.site-footer p { color: var(--muted); font-size: 13px; margin-top: 16px; }
.site-footer nav { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; font-size: 13px; align-content: start; }
.site-footer nav a { padding-block: 10px; }
.site-footer .fineprint { text-align: right; font-size: 12px; }
.breadcrumbs { display: flex; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin-bottom: 36px; }
.breadcrumbs a { text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); }
.search-form { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto; align-items: end; gap: 20px; margin: 34px 0 22px; padding: 26px; background: var(--ivory); border: 1px solid var(--line); border-top: 3px solid var(--red); }
.search-form .button { min-height: 53px; }
.search-clear { grid-column: 1/-1; justify-self: start; }
.catalog-key { color: var(--muted); font-size: 13px; padding-bottom: 28px; }
.catalog-key span { color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .12em; margin-right: 20px; }
.catalog-rank { margin-bottom: 55px; }
.catalog-rank-heading { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.catalog-rank-heading .eyebrow { margin-bottom: 6px; }
.catalog-rank-heading h2 { font-size: 36px; margin: 0; }
.catalog-rank-heading > .underlink { margin-left: auto; }
.rank-stripe { width: 6px; height: 58px; background: var(--rank-color, var(--red)); box-shadow: 0 0 0 1px #ffffff30; flex-shrink: 0; }
.lesson-row { display: flex; gap: 22px; align-items: center; min-height: 88px; padding: 19px 18px; border-top: 1px solid var(--line); background: #1d221f; transition: background .18s; }
.lesson-row:nth-of-type(even) { background: #202622; }
.lesson-row:last-child { border-bottom: 1px solid var(--line); }
.lesson-row:hover { background: #2b342a; }
.lesson-number { font-size: 12px; color: var(--muted); min-width: 20px; font-variant-numeric: tabular-nums; }
.lesson-title { font-size: 16px; line-height: 1.5; flex: 1; font-weight: 600; min-width: 0; }
.lesson-title small { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; font-weight: 400; }
.lesson-state { font-size: 12px; color: #c1ccba; text-align: right; }
.row-arrow { font-size: 22px; color: var(--red); padding: 0 4px; }
.empty { padding: 38px; border: 1px dashed #79857b; background: #202622; max-width: 680px; }
.empty p, .empty-inline { color: var(--muted); }
.rank-hero { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 60px; padding-bottom: 25px; }
.focus-block { padding: 25px 28px; background: var(--ivory); border-top: 3px solid var(--teal); align-self: start; }
.focus-block .eyebrow { color: var(--teal); margin-bottom: 12px; }
.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.plain-list li:last-child { border: 0; }
.rank-wayfinder { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 12px 28px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.rank-wayfinder a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; border: 1px solid #59665b; padding: 8px 12px; font-size: 13px; background: #202622; }
.rank-wayfinder a span { font-size: 10px; color: var(--muted); }
.rank-wayfinder a[aria-current] { background: var(--red); color: #17200c; border-color: var(--red); font-weight: 700; }
.rank-wayfinder a[aria-current] span { color: #344319; }
.rank-wayfinder a:hover { border-color: var(--red); }
.rank-content { display: grid; grid-template-columns: minmax(0, 2.5fr) minmax(0, 1fr); gap: 40px; }
.lesson-group { margin-bottom: 42px; }
.lesson-group h2 { font-size: 30px; display: flex; align-items: center; gap: 14px; }
.lesson-group h2 span { font: 700 12px/1 var(--sans); color: var(--teal); letter-spacing: 0; padding: 7px 10px; border: 1px solid var(--line); border-radius: 2px; }
.rank-sidebar { padding: 28px; background: var(--ivory); border: 1px solid var(--line); align-self: start; }
.rank-sidebar h3 { font: 800 28px/1.15 var(--display); }
.rank-sidebar p { font-size: 14px; }
.check-list { list-style: none; padding: 0; margin: 20px 0 28px; }
.check-list li { position: relative; padding: 0 0 16px 23px; color: var(--muted); font-size: 15px; }
.check-list li::before { content: '—'; position: absolute; left: 0; color: var(--red); }
.lesson-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 32px; }
.lesson-heading h1 { font-size: clamp(38px, 4.5vw, 64px); margin-bottom: 0; }
.lesson-heading .eyebrow { margin-bottom: 14px; }
.lesson-heading > .underlink { flex-shrink: 0; }
.player-layout { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(280px, 1fr); gap: 28px; }
.player { aspect-ratio: 16/9; background: radial-gradient(ellipse at top right, #30402b, transparent 70%), #111713; color: var(--ink); display: grid; place-items: center; border: 1px solid #54604f; min-height: 300px; }
.player iframe { border: 0; width: 100%; height: 100%; aspect-ratio: 16/9; }
.player-message { text-align: center; padding: 32px; max-width: 550px; }
.player-message h2 { font-size: clamp(26px, 2.6vw, 38px); margin-bottom: 15px; }
.player-message p { color: #c3cdbf; font-size: 14px; }
.player-message .eyebrow { color: var(--teal); font-size: 11px; margin-bottom: 14px; }
.player-symbol { display: inline-block; color: var(--red); font: 800 30px/1 var(--display); margin-bottom: 18px; }
.player-signin { display: block; font-size: 13px; text-decoration: underline; margin-top: 18px; padding-block: 5px; }
.variants { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 15px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.variants a { font-size: 13px; padding: 10px 15px; border: 1px solid #667261; line-height: 1.5; border-radius: 2px; min-height: 44px; }
.variants a[aria-current] { border-color: var(--red); color: var(--red); background: #293223; font-weight: 700; }
.variants small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
.lesson-description { padding: 12px 0 30px; }
.lesson-description .lede { font-size: 18px; }
.lesson-description h3 { font-size: 25px; margin-top: 28px; }
.practice-panel { background: var(--ivory); padding: 27px; align-self: start; border: 1px solid var(--line); border-top: 3px solid var(--red); }
.practice-panel h2 { font-size: 30px; margin-bottom: 24px; }
.practice-panel .eyebrow { margin-bottom: 16px; }
.practice-panel p { font-size: 14px; }
.practice-panel .micro { font-size: 12px; margin-top: 14px; }
.checkbox { display: flex; gap: 12px; align-items: start; font-weight: 400; font-size: 14px; margin: 0 0 12px; padding-block: 5px; cursor: pointer; }
.checkbox input { accent-color: var(--red); width: 20px; height: 20px; min-height: 20px; flex-shrink: 0; margin: 2px 0; }
.checkbox input:disabled { opacity: .6; }
.checkbox a { text-decoration: underline; }
.notes-label { margin-top: 25px; }
.lesson-pagination { border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 25px; padding: 25px 0; }
.lesson-pagination a { font-size: 18px; max-width: 48%; }
.lesson-pagination a:last-child { text-align: right; }
.lesson-pagination small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; color: var(--teal); }
.sticky-next { position: sticky; bottom: 0; z-index: 5; background: #202b1e; color: var(--ink); padding: 16px max(48px, calc((100% - 1240px)/2)); display: flex; justify-content: space-between; align-items: center; gap: 20px; border-block: 1px solid #61734d; }
.sticky-next > span { font-size: 11px; letter-spacing: .1em; min-width: 0; }
.sticky-next strong { font-size: 14px; letter-spacing: 0; font-weight: 600; margin-left: 22px; }
.sticky-next a { font-size: 14px; color: var(--red); white-space: nowrap; padding-block: 6px; }
.sticky-next a span { margin-left: 18px; }
.dashboard-top { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 28px; margin: 35px 0 44px; }
.continue-block { background: linear-gradient(120deg, #293625, #1d2924); border: 1px solid #5b6c4c; border-left: 4px solid var(--red); padding: 36px 40px; }
.continue-block .subtle { font-size: 13px; color: #c7d4bf; }
.continue-block h2 { font-size: 40px; margin: 18px 0; }
.continue-block p:not(.eyebrow) { font-size: 16px; color: #c7d4bf; max-width: 580px; }
.goal-block { border: 1px solid var(--line); padding: 32px; background: var(--ivory); }
.goal-block .eyebrow { color: var(--teal); }
.goal-number { font: 800 72px/1.1 var(--display); letter-spacing: -.04em; color: var(--red); }
.goal-number span { font: 400 22px/1.4 var(--sans); color: var(--muted); letter-spacing: -.02em; margin-left: 10px; }
.goal-block p { font-size: 14px; color: var(--muted); }
.goal-block small { color: var(--muted); }
.dashboard-columns { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; }
.dashboard-section { padding: 8px 0 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.dashboard-section h2 { font-size: 32px; }
.dashboard-section h3 { font-size: 23px; margin-top: 32px; }
.dashboard-section p { font-size: 15px; }
.dashboard-section .section-heading { align-items: center; }
.dashboard-columns aside .dashboard-section { padding: 24px; background: #202622; border: 1px solid var(--line); }
.dashboard-columns aside .eyebrow { color: var(--teal); }
.dashboard-columns aside .lesson-row { gap: 13px; padding-inline: 0; background: transparent; flex-wrap: wrap; }
.dashboard-columns aside .lesson-number, .dashboard-columns aside .row-arrow { display: none; }
.dashboard-columns aside .lesson-title { font-size: 15px; flex-basis: 100%; }
.dashboard-columns aside .lesson-state { text-align: left; }
.preferences { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto; gap: 13px; align-items: end; margin-top: 28px; margin-bottom: 12px; }
.readiness-list { list-style: none; padding: 0; margin: 25px 0; }
.readiness-list li { display: flex; gap: 14px; align-items: center; font-size: 15px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.readiness-list li > span { color: var(--red); flex-shrink: 0; }
.readiness-list small { font-size: 12px; color: var(--muted); margin-left: auto; text-align: right; }
.next-rank { padding: 25px; background: var(--ivory); border-left: 3px solid var(--teal); margin-top: 30px; }
.next-rank h3 { margin-top: 0; }
.next-rank .eyebrow { margin-bottom: 12px; }
.activity-list { list-style: none; padding: 0; }
.activity-list li { display: flex; justify-content: space-between; gap: 25px; padding: 15px 0; border-top: 1px solid var(--line); font-size: 15px; }
.activity-list small { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.activity-list time { font-size: 12px; white-space: nowrap; color: var(--muted); }
.membership-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 80px; padding: 15px 0 35px; }
.membership-layout .lede { max-width: 570px; }
.benefits { list-style: none; padding: 0; margin: 35px 0; }
.benefits li { padding: 16px 0 16px 28px; border-top: 1px solid var(--line); position: relative; font-size: 16px; }
.benefits li::before { content: '✓'; position: absolute; left: 0; color: var(--red); }
.price-panel { background: var(--ivory); padding: 36px; align-self: start; border: 1px solid var(--line); border-top: 4px solid var(--red); box-shadow: 0 16px 40px #0002; }
.price { font: 800 96px/1.1 var(--display); letter-spacing: -.04em; margin: 26px 0 22px; }
.price sup { font: 700 38px/1.5 var(--sans); vertical-align: top; position: relative; top: 5px; margin-right: 4px; color: var(--red); }
.price span { font: 400 14px/1.6 var(--sans); display: block; letter-spacing: 0; color: var(--muted); margin-top: 12px; }
.price-panel > p:not(.price) { font-size: 15px; }
.price-panel .micro { font-size: 13px; margin-top: 20px; }
.price-panel h3 { font-size: 25px; }
.portal-form { margin-top: 23px; }
.status-pill { display: inline-block; color: var(--red); border: 1px solid #87985f; padding: 5px 13px; font-size: 13px; }
.auth-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 80px; align-items: start; padding-top: 80px; }
.auth-intro { border-left: 4px solid var(--teal); padding-left: 28px; }
.auth-intro h1 { font-size: clamp(56px, 6.4vw, 92px); text-transform: uppercase; }
.auth-intro p:not(.eyebrow) { color: var(--muted); }
.auth-panel { padding: 36px; background: var(--ivory); border: 1px solid var(--line); border-top: 3px solid var(--red); }
.auth-panel h2 { font-size: 34px; }
.auth-panel form > input { margin-bottom: 22px; }
.auth-panel form > .button { margin-top: 15px; }
.auth-panel p { font-size: 15px; }
.auth-panel .micro { font-size: 13px; }
.auth-panel input + .micro { margin-top: -12px; }
.auth-links { display: flex; justify-content: space-between; gap: 16px; margin-top: 23px; font-size: 13px; text-decoration: underline; }
.auth-links a { padding-block: 8px; }
.prose h1 { font-size: clamp(40px, 5vw, 62px); }
.prose h2 { font-size: 29px; margin-top: 36px; margin-bottom: 16px; }
.prose p { color: #c0c9c1; line-height: 1.85; }
.prose a { text-decoration: underline; }
.prose .eyebrow { color: var(--red); }
.support-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-block: 30px; }
.support-cards > a { display: grid; align-content: start; gap: 12px; padding: 24px; background: var(--ivory); border: 1px solid #61705f; text-decoration: none; }
.support-cards .eyebrow { margin: 0; }
.support-cards strong { font-size: 20px; line-height: 1.35; }
.support-cards > a > span:last-child { color: var(--muted); font-size: 14px; }
.support-faq details { padding: 18px 0; border-top: 1px solid #61705f; }
.support-faq details:last-child { border-bottom: 1px solid #61705f; }
.support-faq summary { font-weight: 700; padding: 5px 0; }
.support-faq details p { margin: 16px 0 0; }
.support-faq details > a { display: inline-block; margin-top: 12px; }
.error-page { min-height: 65vh; }
.error-page h1 { font-size: clamp(40px, 5vw, 62px); }
.save-status { min-height: 24px; margin: 12px 0 0; font-size: 14px; color: var(--teal); }
.save-status[data-error] { color: #ffb9c9; }
.read-only-notes { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--paper); padding: 16px; }
/* Long editorial titles and private notes must never widen a grid or a phone. */
main, .hero-copy, .rank-content > *, .player-layout > *, .dashboard-columns > *, .dashboard-top > *, .membership-layout > *, .auth-layout > * { min-width: 0; }
h1, h2, h3, p, li, .lesson-title, .breadcrumbs, .lesson-pagination, .underlink { overflow-wrap: anywhere; }
@media (max-width: 1100px) {
  .shell { width: calc(100% - 64px); }
  .site-header { padding-inline: 32px; }
  .site-header nav { gap: 18px; }
  .hero { padding: 40px 32px 48px; }
  .hero h1 { font-size: clamp(56px, 6.9vw, 76px); }
  .hero .button-row { align-items: start; flex-direction: column; gap: 10px; }
  .manifesto { grid-template-columns: 1fr 3fr; gap: 28px; }
  .manifesto > div { grid-template-columns: 1fr; gap: 0; }
  .manifesto p:not(.eyebrow) { max-width: 600px; }
  .rank-rung { padding: 15px 12px; gap: 10px; }
  .rank-rung strong { font-size: 17px; }
  .curriculum-facts p { padding-inline: 18px; gap: 12px; }
  .curriculum-facts strong { font-size: 30px; }
  .rank-content, .rank-hero { gap: 28px; }
  .player-layout { grid-template-columns: minmax(0, 1.7fr) minmax(270px, 1fr); gap: 22px; }
  .practice-panel, .rank-sidebar { padding: 23px; }
  .player-message { padding: 25px; }
  .player-message h2 { font-size: 30px; }
  .dashboard-columns { gap: 28px; }
  .preferences { grid-template-columns: 1fr 1fr; }
  .preferences .button { grid-column: 1/-1; }
  .membership-layout, .auth-layout { gap: 40px; }
  .price-panel, .auth-panel { padding: 28px; }
  .site-footer { padding: 42px 32px; grid-template-columns: 1.1fr 1fr; }
  .site-footer .fineprint { text-align: left; grid-column: 1/-1; margin: 0; }
  .practice-features { gap: 28px; }
  .sticky-next { padding-inline: 32px; }
}
@media (max-width: 800px) {
  .shell { width: calc(100% - 40px); }
  .section { padding-block: 38px 48px; }
  .site-header { min-height: 84px; flex-wrap: wrap; padding: 15px 20px; gap: 0; position: relative; }
  .brand { font-size: 22px; gap: 10px; }
  .brand-mark { width: 54px; }
  .brand small { font-size: 8px; }
  .js .menu-toggle { display: flex; align-items: center; gap: 10px; border: 1px solid #79857b; color: var(--ink); background: #242b24; font-size: 13px; padding: 10px 12px; min-height: 44px; border-radius: 2px; }
  .site-header nav { width: 100%; flex-wrap: wrap; gap: 10px 22px; padding-top: 18px; margin-top: 15px; border-top: 1px solid var(--line); }
  .js .site-header nav { display: none; }
  .js .site-header nav.is-open { display: flex; }
  .preview-notice { display: block; padding: 12px 15px; font-size: 12px; line-height: 1.65; margin-top: 16px; }
  .preview-notice strong { display: block; margin-bottom: 3px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 36px 20px; }
  .hero h1 { font-size: clamp(58px, 12vw, 86px); max-width: 640px; }
  .hero-deck { font-size: 16px; max-width: 540px; }
  .hero .eyebrow { font-size: 10px; margin-bottom: 22px; }
  .hero .button-row { flex-direction: row; align-items: center; gap: 12px 20px; }
  .hero .micro { font-size: 12px; }
  .hero-art { width: 100%; max-width: 590px; justify-self: center; }
  .curriculum-facts { padding-block: 18px; }
  .curriculum-facts p { flex-direction: column; align-items: start; gap: 8px; padding-inline: 14px; }
  .curriculum-facts p:last-child { padding-right: 0; }
  .curriculum-facts strong { font-size: 28px; }
  .curriculum-facts span { font-size: 12px; }
  .manifesto { grid-template-columns: 1fr; gap: 0; }
  .manifesto > .eyebrow { padding-top: 0; }
  .manifesto h2 { font-size: 34px; }
  .manifesto p:not(.eyebrow) { padding-top: 0; }
  .rank-ladder { grid-template-columns: 1fr 1fr; }
  .rank-rung { min-height: 80px; }
  .rank-rung > span:first-of-type { display: none; }
  .section-heading { align-items: start; flex-direction: column; gap: 18px; }
  .section-heading h2 { font-size: 36px; }
  .practice-features { grid-template-columns: 1fr; gap: 20px; }
  .feature-index { margin-bottom: 18px; }
  .join-band { padding: 45px 20px 50px; }
  .site-footer { padding: 36px 20px; grid-template-columns: 1fr; gap: 22px; }
  .site-footer nav { max-width: 360px; }
  .site-footer .fineprint { grid-column: auto; }
  .breadcrumbs { font-size: 12px; gap: 8px; margin-bottom: 28px; }
  .lede { font-size: 16px; }
  .page-title { font-size: 50px; }
  .search-form { grid-template-columns: minmax(0, 1fr) auto; gap: 16px 12px; margin: 26px 0 18px; padding: 20px; }
  .search-form > div:first-child { grid-column: 1/-1; }
  .search-form .button { padding-inline: 14px; }
  .catalog-key span { display: block; margin-bottom: 7px; }
  .catalog-rank-heading { gap: 14px; flex-wrap: wrap; }
  .catalog-rank-heading h2 { font-size: 30px; }
  .catalog-rank-heading > .underlink { font-size: 13px; }
  .catalog-rank { margin-bottom: 38px; }
  .lesson-row { display: grid; grid-template-columns: 20px minmax(0, 1fr) 20px; gap: 6px 12px; padding: 16px 12px; }
  .lesson-title { font-size: 15px; }
  .lesson-state { grid-column: 2; text-align: left; font-size: 12px; }
  .row-arrow { grid-column: 3; grid-row: 1/3; padding: 0; }
  .rank-stripe { height: 52px; width: 5px; }
  .rank-hero { grid-template-columns: 1fr; gap: 16px; padding-bottom: 20px; }
  .focus-block { padding: 22px; }
  .rank-wayfinder { gap: 8px; }
  .rank-wayfinder a { padding-inline: 10px; font-size: 12px; }
  .rank-content { grid-template-columns: 1fr; gap: 15px; }
  .rank-sidebar { padding: 24px; }
  .lesson-group { margin-bottom: 32px; }
  .lesson-heading { align-items: start; flex-direction: column; gap: 15px; }
  .lesson-heading h1 { font-size: 40px; }
  .player-layout { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .player { min-height: 270px; aspect-ratio: auto; }
  .player-message { padding: 26px 18px; }
  .player-message h2 { font-size: 28px; }
  .player-symbol { font-size: 25px; }
  .variants { margin-bottom: 22px; }
  .variants a { padding: 12px; }
  .lesson-description { padding-bottom: 15px; }
  .lesson-pagination { padding-bottom: 0; }
  .lesson-pagination a { font-size: 17px; }
  .practice-panel { padding: 24px; }
  .practice-panel h2 { font-size: 32px; }
  .sticky-next { position: static; padding: 10px 20px; gap: 16px; }
  .sticky-next > span { font-size: 10px; }
  .sticky-next strong { display: block; margin-left: 0; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky-next a { font-size: 13px; }
  .sticky-next a span { margin-left: 7px; }
  .dashboard-top { grid-template-columns: 1fr; gap: 20px; margin: 25px 0 30px; }
  .continue-block { padding: 28px 24px; }
  .continue-block h2 { font-size: 34px; }
  .goal-block { padding: 26px; }
  .goal-number { font-size: 64px; }
  .dashboard-columns { grid-template-columns: 1fr; gap: 0; }
  .dashboard-section { padding-bottom: 28px; margin-bottom: 25px; }
  .dashboard-section .section-heading { align-items: start; }
  .dashboard-section h2 { font-size: 32px; }
  .preferences { margin-top: 23px; }
  .dashboard-columns aside .lesson-row { grid-template-columns: minmax(0, 1fr); }
  .dashboard-columns aside .lesson-state { grid-column: 1; }
  .membership-layout { grid-template-columns: 1fr; gap: 32px; padding-top: 0; }
  .price-panel { padding: 28px 25px; }
  .price { font-size: 84px; }
  .membership-layout .page-title { font-size: 60px; }
  .auth-layout { grid-template-columns: 1fr; gap: 28px; }
  .auth-intro { padding-left: 20px; }
  .auth-intro h1 { font-size: clamp(40px, 10vw, 46px); margin-bottom: 0; }
  .auth-intro p:not(.eyebrow) { display: none; }
  .auth-intro .eyebrow { margin-bottom: 16px; }
  .auth-panel { padding: 26px 22px; }
  .auth-panel h2 { font-size: 32px; }
  .readiness-list small { max-width: 78px; }
  .empty { padding: 26px; }
  .support-cards { grid-template-columns: 1fr; }
}
@media (max-width: 370px) {
  .brand { font-size: 19px; gap: 8px; }
  .brand-mark { width: 44px; }
  .brand small { font-size: 7px; }
  .js .menu-toggle { padding-inline: 10px; }
  .hero h1 { font-size: 54px; }
  .hero-art figcaption { padding-inline: 10px; font-size: 8px; letter-spacing: .07em; }
  .hero-art figcaption b { margin-left: 4px; }
  .curriculum-facts strong { font-size: 23px; }
  .curriculum-facts p { padding-inline: 10px; }
  .rank-ladder { grid-template-columns: 1fr; }
  .rank-rung > span:first-of-type { display: inline; }
  .rank-rung { min-height: 70px; padding-inline: 16px; }
  .search-form { grid-template-columns: 1fr; }
  .search-form .button { width: 100%; }
  .catalog-rank-heading > .underlink { margin-left: 19px; }
  .preferences { grid-template-columns: 1fr; }
  .page-title { font-size: 44px; }
  .price { font-size: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media (forced-colors: active) {
  .button, .rank-rung, .rank-wayfinder a, .player, .notice { border: 1px solid ButtonText; }
  :focus-visible { outline-color: Highlight; }
}
@media print {
  :root { color-scheme: light; --paper: white; --ink: black; --muted: #333; --red: black; --ivory: #eee; --line: #999; }
  body { background: white; color: black; }
  body::before, .site-header, .site-footer, .sticky-next, .player, .button, .variants, .hero-art::before, .hero-art::after { display: none; }
  .shell { width: 100%; }
  .section { padding: 10px; }
  .player-layout, .dashboard-columns, .rank-content { display: block; }
  .practice-panel { break-inside: avoid; }
}

/* Family presentation: shared brand marks, with new page styles kept local. */
.family-header .brand-mark,
.family-footer .footer-brand img {
  width: 84px;
  height: 84px;
  flex: 0 0 auto;
  object-fit: contain;
  padding: 3px;
  background: #f5f0e6;
  border: 0;
  border-radius: 50%;
}
.family-header .brand small { font-size: 9px; letter-spacing: .12em; }
.family-header nav { gap: 22px; }
.family-footer .footer-brand { display: inline-flex; align-items: center; gap: 15px; }
.family-footer .footer-brand img { width: 76px; height: 76px; }
.family-page {
  --family-cream: #f5f0e6;
  --family-charcoal: #1b211e;
  --family-teal: #286457;
  font-size: 17px;
  line-height: 1.75;
  background: var(--family-charcoal);
}
.family-page h1, .family-page h2 { font-family: var(--sans); font-weight: 800; letter-spacing: -.055em; }
.family-page h1 { font-size: clamp(42px, 4.8vw, 72px); line-height: 1.06; }
.family-page h2 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.14; }
.family-page h3 { font-size: 25px; line-height: 1.22; letter-spacing: -.035em; }
.family-page p { max-width: 65ch; }
.family-page .eyebrow { font-size: 11px; line-height: 1.7; letter-spacing: .13em; margin-bottom: 19px; }
.family-page .button { font-size: 15px; padding: 16px 22px; }
.family-page .underlink { font-size: 15px; }
.family-page .button-row { gap: 14px 24px; }
.family-page .micro { font-size: 14px; }
.family-light {
  --ink: #202822;
  --muted: #525d54;
  --line: #cecfc2;
  color-scheme: light;
  color: var(--ink);
  background: var(--family-cream);
}
.family-light .eyebrow { color: var(--family-teal); }
.family-light a:not(.button):hover { color: #286457; }
.family-light :focus-visible { outline-color: #286457; }
.family-light .breadcrumbs { color: #525d54; }
.family-section { padding-block: 88px; }
.family-hero { margin-top: 22px; padding-block: 70px 76px; }
.family-hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.1fr); align-items: center; gap: 46px; }
.family-hero-copy { min-width: 0; }
.family-hero h1 { margin-bottom: 26px; }
.family-hero h1 em { color: inherit; text-decoration: underline; text-decoration-color: #bbd84e; text-decoration-thickness: .1em; text-underline-offset: .09em; }
.family-deck { font-size: clamp(20px, 1.9vw, 24px); line-height: 1.55; letter-spacing: -.02em; }
.family-hero-copy > p:not(.eyebrow):not(.family-deck) { color: var(--muted); }
.family-hero-copy .button-row { margin-top: 28px; }
.family-hero-copy .family-hero-note { font-size: 13px; margin-top: 20px; margin-bottom: 0; }
.family-photo { min-width: 0; margin: 0; }
.family-photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; display: block; border-radius: 5px; background: #e2ded2; }
.family-photo figcaption { font-size: 13px; line-height: 1.6; padding-top: 16px; color: var(--muted); }
.family-hero-photo { align-self: center; }
.family-hero-photo figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.family-hero-photo figcaption span:first-child { font-size: 10px; font-weight: 800; letter-spacing: .11em; }
.family-paths { padding-top: 0; }
.family-paths > .shell { border-top: 1px solid var(--line); padding-top: 66px; }
.family-section-heading { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 45px; align-items: end; margin-bottom: 40px; }
.family-section-heading h2 { margin-bottom: 0; }
.family-section-heading > p { color: var(--muted); margin-bottom: 0; }
.family-programs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.family-program { min-width: 0; border-top: 3px solid #b3bdb0; padding-top: 24px; }
.family-program-current { border-color: #729134; }
.family-program:nth-child(2) { border-color: #4f8a7d; }
.family-program:nth-child(3) { border-color: #ae6f8c; }
.family-badge { display: inline-block; width: fit-content; padding: 5px 12px; border: 1px solid #b0c567; border-radius: 30px; color: #293b12; background: #e6efc3; font-size: 12px; font-weight: 800; line-height: 1.6; }
.family-badge-soon { color: #535d55; background: transparent; border-color: #b6bcb0; }
.family-availability { display: flex; align-items: start; flex-wrap: wrap; gap: 12px; }
.family-availability > p { flex: 1 1 150px; margin: 0; font-size: 13px; line-height: 1.6; color: #525d54; }
.family-program .family-program-number { font-size: 10px; font-weight: 700; letter-spacing: .12em; margin-top: 27px; margin-bottom: 12px; color: #586257; }
.family-program h3 { max-width: 17ch; font-size: clamp(24px, 2.3vw, 32px); }
.family-program > p:not(.family-program-price):not(.family-program-number) { color: #525d54; font-size: 16px; }
.family-program-price { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.family-program-price span { font-size: 14px; font-weight: 400; color: #525d54; }
.family-values { background: #202c27; }
.family-values-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.family-values .eyebrow { color: #98dacb; }
.family-values .family-deck { color: #d2dacc; font-size: 20px; }
.family-values-list { margin: 30px 0 0; }
.family-values-list > div { padding-block: 18px; border-top: 1px solid #526155; }
.family-values-list > div:last-child { padding-bottom: 0; }
.family-values-list dt { font-weight: 700; font-size: 18px; color: #f5f0e6; margin-bottom: 6px; }
.family-values-list dd { margin: 0; font-size: 16px; color: #c0cdc2; }
.family-rhythm { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding: 0; margin: 44px 0 0; }
.family-rhythm li { border-top: 1px solid var(--line); padding-top: 22px; }
.family-step { display: block; font-size: 15px; color: var(--family-teal); font-weight: 700; margin-bottom: 25px; }
.family-rhythm h3 { font-size: 24px; }
.family-rhythm p { color: var(--muted); font-size: 16px; margin-bottom: 0; }
.family-curriculum-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, .7fr); gap: 80px; align-items: center; }
.family-curriculum-grid > div > p:not(.eyebrow) { color: #bac5bb; }
.family-curriculum-grid .micro { margin-top: 18px; margin-bottom: 0; }
.family-curriculum-facts { display: flex; flex-wrap: wrap; gap: 22px 36px; margin-block: 30px; }
.family-curriculum-facts p { margin: 0; }
.family-curriculum-facts strong { display: block; color: var(--red); font-size: 29px; line-height: 1.2; letter-spacing: -.035em; }
.family-curriculum-facts span { font-size: 13px; color: #bac5bb; }
.family-brand-story { margin: 0; max-width: 280px; justify-self: end; }
.family-brand-story img { display: block; width: 100%; height: auto; border-radius: 3px; }
.family-brand-story figcaption { padding-top: 18px; border-left: 2px solid #b87495; padding-left: 15px; margin-top: 20px; color: #d0c6cf; font-size: 15px; }
.family-rank-details { margin-top: 42px; border-block: 1px solid #4d5a50; }
.family-rank-details summary { padding-block: 21px; font-size: 17px; font-weight: 700; }
.family-rank-details .rank-ladder { margin-block: 8px 24px; }
.family-rank-details .rank-rung { min-height: 62px; }
.family-rank-details .rank-rung strong { font-size: 17px; }
.family-faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 80px; }
.family-faq-grid > div > p:not(.eyebrow) { color: var(--muted); }
.family-faq details { border-top: 1px solid #bfc5b7; }
.family-faq details:last-child { border-bottom: 1px solid #bfc5b7; }
.family-faq summary { padding: 22px 4px; font-size: 18px; line-height: 1.5; font-weight: 700; }
.family-faq summary::marker, .family-rank-details summary::marker { color: #6b8534; }
.family-faq details p { margin: 0; padding: 0 4px 23px; font-size: 16px; color: var(--muted); }
.family-next { padding-block: 65px; border-bottom: 1px solid #4d5a50; }
.family-next > .shell { display: flex; justify-content: space-between; align-items: center; gap: 36px; }
.family-next h2 { font-size: clamp(32px, 3.2vw, 44px); }
.family-next p:last-child { color: #bac5bb; margin-bottom: 0; }
.family-next .button { flex-shrink: 0; }
.family-membership-intro { max-width: 850px; margin-block: 18px 54px; }
.family-membership-intro h1 { font-size: clamp(40px, 4.8vw, 66px); }
.family-membership-intro .family-deck { color: var(--muted); max-width: 620px; }
.family-membership .family-programs { margin-bottom: 0; }
.family-membership-details { gap: 70px; padding-block: 0; }
.family-membership-details .benefits { margin-block: 30px; }
.family-account-note { border-left: 2px solid #78baa7; padding-left: 20px; color: #bdcabe; font-size: 15px; }
.family-price-panel { border-top-width: 4px; background: #f5f0e6; color: #202822; --ink: #202822; --muted: #525d54; --line: #cecfc2; color-scheme: light; box-shadow: none; }
.family-price-panel .eyebrow { color: #286457; }
.family-price-panel .price { font-family: var(--sans); font-size: 82px; font-weight: 800; }
.family-price-panel .price sup { color: #3a5934; }
.family-price-panel .price span { font-size: 16px; }
.family-price-panel .status-pill { color: #30502a; }
.family-price-panel .notice { background: #e3e9d9; color: #202822; border-color: #7e9169; }
.family-price-panel a:not(.button) { text-decoration: underline; }
.family-price-panel a:not(.button):hover { color: #286457; }
.family-price-panel :focus-visible { outline-color: #286457; }
@media (max-width: 1100px) {
  .family-header { gap: 18px; }
  .family-header nav { gap: 14px; font-size: 13px; }
  .family-header .brand { font-size: 22px; gap: 10px; }
  .family-header .brand-mark { width: 78px; height: 78px; }
  .family-hero-grid { gap: 30px; }
  .family-section { padding-block: 66px; }
  .family-paths { padding-top: 0; }
  .family-values-grid, .family-faq-grid { gap: 38px; }
  .family-programs { gap: 22px; }
  .family-curriculum-grid { gap: 45px; }
  .family-membership-details { gap: 35px; }
}
@media (max-width: 800px) {
  .family-header { gap: 0; }
  .family-header .brand-mark { width: 66px; height: 66px; }
  .family-header .brand { font-size: 22px; }
  .family-header .brand small { font-size: 8px; letter-spacing: .07em; }
  .family-header nav { gap: 12px 20px; }
  .family-page { font-size: 16px; }
  .family-page h1 { font-size: clamp(40px, 7.7vw, 62px); }
  .family-page h2 { font-size: clamp(31px, 5.8vw, 42px); }
  .family-section { padding-block: 50px; }
  .family-hero { padding-block: 42px 45px; margin-top: 18px; }
  .family-hero-grid, .family-values-grid, .family-faq-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .family-hero-copy { max-width: 600px; }
  .family-hero-photo { width: 100%; }
  .family-paths { padding-top: 0; }
  .family-paths > .shell { padding-top: 42px; }
  .family-section-heading { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-bottom: 30px; }
  .family-programs { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .family-program { padding-top: 21px; }
  .family-program h3 { max-width: 26ch; font-size: 28px; }
  .family-program > p { max-width: 58ch; }
  .family-program .family-program-number { margin-top: 20px; }
  .family-availability { max-width: 550px; }
  .family-rhythm { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 32px; }
  .family-step { margin-bottom: 12px; }
  .family-rhythm h3 { margin-bottom: 12px; }
  .family-curriculum-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .family-curriculum-facts { gap: 20px 26px; }
  .family-brand-story { display: flex; gap: 22px; align-items: center; max-width: 100%; justify-self: start; }
  .family-brand-story img { width: 130px; flex: 0 0 auto; }
  .family-brand-story figcaption { margin: 0; padding-block: 0; }
  .family-next { padding-block: 48px; }
  .family-next > .shell { flex-direction: column; align-items: start; gap: 28px; }
  .family-membership-intro { margin-block: 10px 36px; }
  .family-price-panel .price { font-size: 76px; }
}
@media (max-width: 370px) {
  .family-header .brand { font-size: 18px; gap: 8px; }
  .family-header .brand-mark { width: 62px; height: 62px; }
  .family-header .brand small { font-size: 7px; letter-spacing: .035em; }
  .family-header .menu-toggle { gap: 6px; font-size: 12px; padding-inline: 8px; }
  .family-page .button { width: 100%; gap: 12px; padding-inline: 14px; }
  .family-page h1 { font-size: 39px; }
  .family-page h2 { font-size: 31px; }
  .family-program h3 { font-size: 26px; }
  .family-brand-story { gap: 16px; }
  .family-brand-story img { width: 108px; }
  .family-brand-story figcaption { font-size: 13px; padding-left: 12px; }
  .family-price-panel { padding: 25px 20px; }
  .family-price-panel .price { font-size: 67px; }
}
@media (forced-colors: active) {
  .family-badge { border: 1px solid CanvasText; }
  .family-page :focus-visible { outline-color: Highlight; }
}
@media print {
  .family-page, .family-values, .family-light, .family-price-panel { background: white; color: black; }
  .family-section, .family-hero { padding-block: 20px; }
  .family-page p, .family-page dd, .family-page dt, .family-page .eyebrow { color: black; }
}

/* Learners and billing choices use the existing brand and imagery. */
.learner-bar { display:flex; flex-wrap:wrap; align-items:center; gap:1rem; padding-block:1rem; border-bottom:1px solid #aaa6; }
.learner-bar form { display:flex; flex-wrap:wrap; align-items:center; gap:.65rem; }
.learner-bar select { max-width:100%; min-width:10rem; }
.membership-plans { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.5rem; }
.profile-card { padding:1.4rem; border:1px solid #aaa6; margin-block:1rem; min-width:0; }
.profile-card input { width:100%; margin-block:.5rem 1rem; }
.profile-card h2,.profile-card h3,.learner-bar strong { overflow-wrap:anywhere; }
.preferences fieldset { border:0; padding:0; margin:0; display:flex; flex-wrap:wrap; gap:1rem; }
#watch-tracking { margin-block:1rem; }
@media(max-width:600px) { .membership-plans { grid-template-columns:1fr; } .learner-bar,.learner-bar form { align-items:stretch; flex-direction:column; } .learner-bar select { width:100%; } }

/* Logo-led 365Karate system: ink, vivid pigments, open paper and brush geometry. */
:root { --paper:#101211; --ivory:#1d2220; --ink:#f7faf5; --red:#c4ef17; --teal:#39d4b9; --magenta:#ef53b3; --muted:#bac6be; --line:#46534b; }
body { background:#101211; }
[hidden] { display:none !important; }
.family-page { --family-cream:#f6f9f2; --family-charcoal:#101211; --family-teal:#07594c; }
.family-page h1,.family-page h2,h1,h2 { font-family:Impact,'Arial Narrow','Liberation Sans Narrow',sans-serif; font-weight:900; letter-spacing:-.025em; }
.family-page h1 { font-size:clamp(48px,5.6vw,86px); text-transform:uppercase; }
.family-page h2 { font-size:clamp(34px,3.8vw,54px); }
.family-header { border-bottom:3px solid var(--red); background:#101211; }
.family-header nav { gap:16px; }
.family-header .brand-mark,.family-footer .footer-brand img { background:transparent; padding:0; }
.family-header .brand { font-style:italic; }
.family-header .brand small { color:var(--teal); font-style:normal; }
.family-header nav a[aria-current] { color:var(--red); text-decoration:underline; text-decoration-thickness:3px; }
.button { border-radius:0; border-width:2px; box-shadow:3px 3px 0 #020403; font-weight:800; }
.button:hover { box-shadow:4px 4px 0 var(--teal); }
.button:disabled { cursor:not-allowed; box-shadow:none; }
:focus-visible { outline:3px solid var(--teal); outline-offset:4px; }
.family-light :focus-visible,.store-product :focus-visible,.store-filters :focus-visible { outline:3px solid #a50067; }
.family-light { --ink:#111a16; --muted:#435247; --line:#c1cdc1; }
.family-light a:not(.button):hover { color:#8d0058; }
.family-hero { --ink:#f7faf5; --muted:#c3d0c7; --line:#5c6d60; color:var(--ink); background:#101211; position:relative; isolation:isolate; margin-top:0; padding-block:78px 90px; }
.family-hero::before,.store-hero::before { content:''; position:absolute; inset:0; pointer-events:none; z-index:-1; opacity:.7; background:radial-gradient(ellipse at 91% 52%,transparent 0 19%,#168b7530 19.5% 20.5%,transparent 21% 23%,#c4ef1724 23.5% 24.5%,transparent 25%),repeating-linear-gradient(125deg,transparent 0 38px,#ffffff06 39px 40px); }
.family-hero::after,.store-hero::after,.home-store::after { content:''; pointer-events:none; position:absolute; inset:auto 0 -1px; height:28px; background:var(--red); clip-path:polygon(0 62%,8% 31%,16% 52%,24% 22%,33% 41%,45% 16%,55% 34%,68% 5%,80% 28%,92% 0,100% 21%,100% 100%,0 100%); }
.family-hero .eyebrow { color:var(--teal); }
.family-hero h1 em { color:var(--red); text-decoration:none; display:inline-block; transform:skew(-5deg); text-shadow:3px 3px 0 #12634f; }
.family-hero .underlink:hover { color:var(--teal); }
.family-photo { position:relative; }
.family-photo img { border-radius:0; background:#e9eee6; width:100%; height:auto; aspect-ratio:3/2; object-fit:contain; }
.family-photo::before { content:''; display:block; height:8px; background:linear-gradient(100deg,var(--red) 0 57%,var(--teal) 57% 82%,var(--magenta) 82%); transform:skewY(-1deg); }
.family-photo figcaption { padding:14px 0; }
.family-paths { padding-block:58px 76px; }
.family-paths > .shell { border:0; padding-top:0; }
.family-program { padding:24px; border:1px solid #28382c; border-top:7px solid var(--red); background:#fff; box-shadow:5px 5px 0 #101211; }
.family-program:nth-child(2) { border-top-color:#087d69; }
.family-program:nth-child(3) { border-top-color:#ad086e; }
.family-program h3 { max-width:100%; }
.family-program-current { background:#eafdba; }
.family-program .family-program-number { color:#364b34; }
.family-program > p:not(.family-program-price):not(.family-program-number),.family-availability > p,.family-program-price span { color:#40503e; }
.family-badge { border-radius:0; background:#111a16; border-color:#111a16; color:#d6ff48; }
.family-badge-soon { background:#f3f7f2; color:#364b42; border-color:#768d7e; }
.family-values { background:#0c3730; border-bottom:7px solid var(--teal); }
.family-values-list dt { color:#fff; }
.family-values-list dd { color:#d0e7df; }
.family-values .eyebrow { color:#82f4d9; }
.family-rhythm li { padding:24px; border:1px solid #acbda8; border-top:5px solid #101211; }
.family-step { font:900 38px/1 var(--display); color:#07594c; }
.family-rhythm li:nth-child(2) { border-top-color:#087d69; }
.family-rhythm li:nth-child(3) { border-top-color:#ad086e; }
.family-curriculum { background:radial-gradient(ellipse at right bottom,#3f1235,transparent 65%),#101211; }
.family-next { background:var(--red); color:#111a16; border:0; }
.family-next .eyebrow,.family-next p { color:#26381b; }
.family-next .button { background:#111a16; color:#d6ff48; border-color:#111a16; }
.family-price-panel { background:#1d2721; border-color:var(--red); color:var(--ink); }
.family-price-panel p,.family-price-panel .price span,.family-price-panel .micro { color:#c7d3ca; }
.profile-card,.goal-block,.auth-panel,.practice-panel { border:1px solid #5c6b5e; border-top:5px solid var(--red); background:linear-gradient(135deg,#293c222e,transparent 50%),#1d2220; }
.membership-plans .profile-card:last-child { border-top-color:var(--teal); }
.membership-plans .profile-card h3 { color:var(--red); font-size:28px; }
.continue-block { border:1px solid #5c6b5e; border-left:7px solid var(--red); background:radial-gradient(ellipse at 100% 100%,#125747,transparent 70%),#101211; }
.learner-bar { border-bottom:3px solid var(--teal); }
.learner-bar strong { color:var(--teal); }
.player { border-color:var(--teal); background:repeating-linear-gradient(135deg,#ffffff03 0 2px,transparent 2px 18px),#101211; }
.rank-wayfinder a[aria-current],.variants a[aria-current] { box-shadow:inset 0 -3px var(--red); }
.catalog-rank-heading { border-bottom-color:var(--teal); }
.lesson-row:hover { background:#233c30; }
.auth-intro { border-color:var(--magenta); }
.auth-intro em { color:var(--red); }
.preview-notice { border-left:4px solid var(--magenta); background:#251d27; }
.site-footer.family-footer { background:#080c0a; border-top:8px solid var(--red); position:relative; }
.family-footer .footer-brand { color:var(--red); }
.family-footer nav a:hover { color:var(--teal); }
.home-store { position:relative; background:#171318; padding-bottom:100px; }
.home-store-grid { display:grid; grid-template-columns:1fr 1fr; gap:72px; align-items:center; }
.home-store .eyebrow { color:var(--magenta); }
.home-store .micro { margin-top:20px; }
.home-store-links { display:grid; gap:14px; }
.home-store-links a { display:grid; gap:8px; padding:20px 24px; border:1px solid #655465; border-left:5px solid var(--teal); background:#242125; }
.home-store-links a:nth-child(2) { border-left-color:var(--red); }
.home-store-links a:nth-child(3) { border-left-color:var(--magenta); }
.home-store-links a span { font-size:11px; letter-spacing:.13em; color:#d0c5d0; }
.home-store-links a strong { font-size:23px; }
.home-store-links p { font-size:14px; margin-top:6px; color:#d0c5d0; }
/* The storefront uses product photography on paper and a high-contrast ink bag. */
.store-page { background:#f6f9f2; color:#17231c; }
.store-hero { background:#101211; color:#fff; padding:70px 0 85px; position:relative; isolation:isolate; }
.store-hero-grid { display:grid; grid-template-columns:1.5fr 1fr; align-items:center; gap:50px; }
.store-hero h1 { text-transform:uppercase; font-size:clamp(46px,5.3vw,78px); }
.store-hero .underlink { display:inline-block; margin:22px; color:#fff; }
.store-hero-art { position:relative; text-align:center; }
.store-hero-art::before { content:''; position:absolute; inset:12% -3%; background:linear-gradient(160deg,transparent 10%,var(--teal) 10% 36%,transparent 36% 45%,var(--magenta) 45% 65%,transparent 65% 73%,var(--red) 73% 88%,transparent 88%); transform:rotate(-12deg); z-index:-1; }
.store-hero-art img { display:block; width:min(100%,330px); aspect-ratio:1; border-radius:50%; margin:auto; }
.store-hero-art span { display:inline-block; margin-top:25px; background:var(--red); color:#101211; padding:9px 18px; font-weight:900; font-size:12px; letter-spacing:.15em; transform:rotate(-3deg); }
.store-notice { padding:26px 0; border-bottom:1px solid #a6baa9; }
.store-notice strong { font-size:22px; }
.store-notice p { margin:6px 0 0; }
.store-guidance { display:grid; grid-template-columns:1fr 1fr; gap:50px; padding-top:36px; }
.store-guidance .eyebrow,.store-heading .eyebrow { color:#096050; margin-bottom:12px; }
.store-guidance h2 { font:800 24px/1.2 var(--sans); }
.store-guidance p { font-size:15px; }
.store-heading { display:flex; justify-content:space-between; gap:24px; align-items:end; }
.store-heading h2 { margin-bottom:16px; }
.store-filters { display:flex; flex-wrap:wrap; gap:10px; margin:20px 0; }
.store-filters button { min-height:46px; border:1px solid #708a76; background:#fff; color:#17231c; padding:10px 16px; font-size:14px; font-weight:700; }
.store-filters button[aria-pressed=true] { background:#101211; border-color:#101211; color:#d2ff36; box-shadow:0 3px 0 var(--red); }
.store-filters span { margin-left:8px; }
[data-catalog-status] { color:#435247; }
.store-layout { display:grid; grid-template-columns:minmax(0,1fr) 330px; gap:30px; align-items:start; margin-top:25px; }
.store-products { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.store-product { min-width:0; border:1px solid #bdccbe; background:#fff; display:flex; flex-direction:column; }
.store-product-image { position:relative; background:#edf1e9; border-bottom:1px solid #bdccbe; }
.store-product-image > img { width:100%; height:auto; aspect-ratio:4/3; display:block; object-fit:contain; background:#fff; padding:18px; }
.product-placeholder { aspect-ratio:4/3; display:flex; flex-direction:column; gap:10px; align-items:center; justify-content:center; padding:22px; text-align:center; background:repeating-linear-gradient(140deg,transparent 0 18px,#10121105 18px 20px),#eaf0e6; }
.placeholder-mark { display:grid; place-items:center; width:88px; height:88px; border:5px solid #17231c; border-right-width:10px; border-radius:50%; font:900 italic 35px/1 var(--display); color:#17231c; transform:rotate(-9deg); }
.product-placeholder strong { font-size:14px; }
.product-placeholder > span:last-child { font-size:9px; letter-spacing:.14em; }
.store-flag { position:absolute; left:12px; top:12px; padding:4px 9px; background:#851554; color:#fff; font-size:11px; font-weight:700; }
.store-product-body { display:flex; flex:1; flex-direction:column; padding:23px; }
.store-product h3 { font-size:25px; margin-block:4px 16px; }
.store-product p { font-size:14px; line-height:1.65; }
.store-kicker { color:#14604d; font-weight:800; font-size:11px !important; }
.store-kicker span { display:block; color:#475e4e; font-weight:400; }
.store-fit { border-left:3px solid #138875; padding-left:12px; color:#3b5143; }
.store-source { color:#4b6353; font-size:11px !important; }
.store-product label { margin-top:auto; padding-block:8px; color:#253d2e; }
.store-product select { background:#f6f9f2; color:#17231c; border-color:#839b87; border-radius:0; margin-top:6px; }
.store-product-action { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:20px; flex-wrap:wrap; }
.store-product-action strong { font-size:23px; }
.store-product-action del { color:#566a5c; display:block; font-size:13px; }
.store-product-action .button { min-width:100px; }
.store-bag { background:#111a16; color:#f6f9f2; padding:26px; border-top:7px solid var(--red); position:sticky; top:24px; max-height:calc(100vh - 48px); overflow:auto; scrollbar-gutter:stable; }
.store-bag h2 { font-size:40px; }
.store-bag p { font-size:14px; }
.store-bag .eyebrow { font-size:10px; }
.store-cart-line { padding:18px 0; border-bottom:1px solid #53665a; }
.store-cart-line strong { line-height:1.35; display:block; }
.store-cart-line p { margin:8px 0; font-size:12px; color:#c2d0c5; }
.store-quantity { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.store-quantity button:not(.text-button) { width:44px; height:44px; border:1px solid #90a995; background:#23382a; color:#fff; }
.store-quantity span { min-width:16px; text-align:center; }
.store-quantity .text-button { color:#eaf3e9; min-height:44px; font-size:12px; }
.store-total { display:flex; justify-content:space-between; gap:12px; padding-block:24px 12px; }
.store-total strong { color:var(--red); font-size:24px; }
.store-checkout-message { padding:15px 0; color:#ffc4e7; border-bottom:1px solid #53665a; }
[data-cart-status] { color:#b4f4de; }
[data-checkout-panel] { margin-top:24px; }
#store-embedded-checkout { margin-top:20px; min-height:1px; }
[data-store-retry] { color:#17231c; }
@media(min-width:801px) and (max-width:1200px) {
  .family-header { flex-wrap:wrap; justify-content:space-between; }
  .family-header nav { flex-wrap:wrap; justify-content:flex-start; }
}
@media(max-width:1050px) {
  .store-layout { grid-template-columns:minmax(0,1fr) 290px; gap:20px; }
  .store-products { grid-template-columns:minmax(0,1fr); }
  .home-store-grid { gap:32px; }
}
@media(max-width:800px) {
  .family-hero { padding-block:42px 65px; }
  .family-page h1 { font-size:clamp(43px,8vw,66px); }
  .family-page h2 { font-size:clamp(33px,6vw,44px); }
  .family-program { padding:24px; }
  .family-paths { padding-top:38px; }
  .family-paths > .shell { padding-top:0; }
  .home-store-grid,.store-hero-grid { grid-template-columns:minmax(0,1fr); }
  .home-store { padding-bottom:70px; }
  .store-hero-art { display:none; }
  .store-hero { padding-block:48px 65px; }
  .store-guidance { gap:24px; }
  .store-heading { display:block; }
  .store-layout { grid-template-columns:minmax(0,1fr); }
  .store-products { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .store-bag { position:static; max-height:none; overflow:visible; }
}
@media(max-width:550px) {
  .store-products,.store-guidance { grid-template-columns:minmax(0,1fr); }
  .store-guidance { gap:8px; }
  .store-hero h1 { font-size:46px; }
  .store-filters { gap:8px; }
  .store-filters button { font-size:12px; padding-inline:12px; }
  .store-product-image > img,.product-placeholder { aspect-ratio:3/2; }
  .store-product-body { padding:22px; }
  .store-hero .underlink { margin-left:0; }
  .store-page .section { padding-top:32px; }
  .family-footer .footer-brand { font-size:23px; gap:12px; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; } }
@media(forced-colors:active) { .store-product,.store-bag,.store-filters button,.family-program { border:2px solid CanvasText; } :focus-visible { outline-color:Highlight !important; } }
.family-price-panel { --ink:#f7faf5; --muted:#c7d3ca; --line:#526557; color-scheme:dark; }
.family-price-panel .eyebrow,.family-price-panel .price sup,.family-price-panel .status-pill { color:var(--red); }
.family-price-panel :focus-visible { outline-color:var(--teal); }
.family-price-panel a:not(.button):hover { color:var(--teal); }
.family-hero::before { opacity:.65; background:url('/assets/brand-brush.svg') right center / min(65vw,850px) auto no-repeat,repeating-linear-gradient(125deg,transparent 0 38px,#ffffff05 39px 40px); }
.family-hero-grid { position:relative; }
.family-hero-copy { background:linear-gradient(90deg,#101211 70%,transparent); padding-block:12px; }
.family-next p:last-child { color:#26381b; }
.family-curriculum { background:#141414 url('/assets/dark-brick-graffiti.svg') center / 1000px auto repeat; }
.continue-block { background:linear-gradient(90deg,#101211 30%,#101211cb),url('/assets/brand-brush.svg') right center / 340px auto no-repeat,#101211; }
.family-footer { background-image:linear-gradient(90deg,#080c0a 50%,#080c0acb),url('/assets/brand-brush.svg') !important; background-size:auto,360px !important; background-position:center,right center !important; background-repeat:no-repeat !important; }
@media(max-width:800px) { .family-hero::before { background-size:850px,auto; background-position:center bottom,center; } .family-curriculum { background-size:720px auto; } }
.store-payment { grid-column:1/-1; width:100%; min-width:0; max-width:1100px; margin:32px auto 0; padding:32px; background:#fff; border-top:6px solid #087d69; scroll-margin-top:24px; }
.store-payment p { max-width:70ch; }
.store-payment .button.outline { color:#17231c; }
@media(max-width:550px) { .store-payment { padding:12px 0; } }

/* Readable emphasis, preserving the lime / teal / magenta brush identity. */
strong,b { letter-spacing:.02em; }
h1,h2 { letter-spacing:.015em; }
h3,h4,h5,h6,summary,.button { letter-spacing:.02em; }
.coming-soon-poster { display:block; width:100%; max-width:960px; height:auto; aspect-ratio:16/9; object-fit:contain; }
.player>.coming-soon-poster { align-self:center; }
.upcoming-library { max-width:850px; margin-top:3rem; }
.program-page .profile-card { margin-block:1.5rem; }
.program-page input { max-width:100%; min-width:0; }
.gift-record { padding-block:1.5rem; border-top:1px solid #7777; }
.birthday-date { display:flex; gap:1rem; }
.birthday-date label { flex:1; min-width:0; }
.birthday-video { display:block; width:100%; aspect-ratio:16/9; background:#171a19; }
.order-reference,.private-code { overflow-wrap:anywhere; word-break:break-all; }
.learner-bar { flex-wrap:wrap; }
.family-page h1,.family-page h2 { letter-spacing:.015em; }
.family-page h3,.family-curriculum-facts strong,.sticky-next strong { letter-spacing:.02em; }
.price,.goal-number { letter-spacing:.015em; }

/* Quiet curriculum backdrop and a larger, unobstructed original square artwork. */
.family-curriculum-grid { grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); gap:56px; }
.family-brand-story { display:block; width:100%; max-width:440px; justify-self:center; }
.family-brand-story img { width:100%; height:auto; max-width:none; }
.family-brand-story figcaption { margin-top:20px; padding:0 0 0 16px; border-left-color:#555; color:#c5c5c5; line-height:1.6; }
@media(max-width:1000px) {
  .family-curriculum-grid { grid-template-columns:minmax(0,1fr); gap:40px; }
  .family-brand-story { max-width:460px; }
  .family-brand-story img { width:100%; }
}

/* Shared quiet masonry for the top navigation. */
.family-header { background:#141414 url('/assets/dark-brick-graffiti.svg') center / 1000px auto repeat; }
@media(max-width:800px) {
  .family-header #navigation { background:#141414 url('/assets/dark-brick-graffiti.svg') center / 1000px auto repeat; }
}

/* Compact persistent navigation: preserve existing logo and menu type sizes. */
.family-header { position:sticky; top:0; z-index:50; min-height:87px; padding-block:0; }
html { scroll-padding-top:100px; }
.family-header .student-cta { flex-direction:column; gap:2px; padding:7px 14px; text-align:center; white-space:nowrap; animation:student-invitation 3s ease-in-out infinite; }
.family-header .student-cta-title { font-size:13px; line-height:1.5; }
.family-header .student-cta small { font-size:12px; line-height:1.4; font-weight:600; letter-spacing:.02em; }
@keyframes student-invitation { 0%,100% { box-shadow:0 0 0 0 #c4ef1700; } 50% { box-shadow:0 0 0 5px #c4ef1728,0 0 16px #c4ef1724; } }
.family-header .student-cta:hover,.family-header .student-cta:focus-visible { animation:none; }
@media (max-width:1100px) and (min-width:801px) { .family-header { min-height:81px; gap:12px; padding-inline:24px; } .family-header nav { gap:12px; } }
@media (max-width:800px) { .family-header { min-height:74px; padding-block:2.5px; } .family-header #navigation { max-height:calc(100dvh - 90px); overflow-y:auto; padding-bottom:16px; } }
@media (max-width:480px) { .family-header { min-height:70px; } }
@media (prefers-reduced-motion:reduce) { .family-header .student-cta { animation:none; } }
