:root {
  color-scheme: light;
  --paper: #FFFDF8;
  --ivory: #FFF4DC;
  --sunshine: #FFCC35;
  --honey: #F5AD00;
  --bark: #2F2118;
  --ink-soft: #3D2B20;
  --olive: #7C865D;
  --olive-ink: #424A26;
  --muted: var(--ink-soft);
  --line: #E1CCA5;
  --header-offset: 156px;
  --gutter: 48px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-offset); -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--bark); font-family: var(--sans); font-size: 17px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; color: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, a { touch-action: manipulation; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 700; line-height: 1.2; letter-spacing: -.035em; text-wrap: balance; }
h2 { font-size: clamp(36px, 3.8vw, 50px); }
h3 { font-size: 30px; }
p { margin: 0 0 1em; }
::selection { background: #FFDE6F; color: var(--bark); }
:focus-visible { outline: 3px solid var(--olive-ink); outline-offset: 5px; }
main:focus { outline: none; }
section[id] { scroll-margin-top: 0; }
.icon { display: inline-block; width: 22px; height: 22px; flex: 0 0 auto; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 16px; padding: 10px 18px; border-radius: 6px; background: var(--bark); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.eyebrow { margin: 0 0 16px; font-family: var(--sans); font-size: 12px; font-weight: 800; letter-spacing: .14em; line-height: 1.5; text-transform: uppercase; color: var(--bark); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 55px; padding: 14px 25px; border: 1px solid #E5A208; border-radius: 10px; background: linear-gradient(180deg, #FFD34C 0%, var(--sunshine) 35%, var(--honey) 100%); color: var(--bark); font-size: 16px; font-weight: 700; line-height: 1.5; text-align: center; box-shadow: inset 0 1px 0 #FFFFFF80, 0 5px 15px #A9680018; transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.button:hover { border-color: #D49400; background: linear-gradient(180deg, #FFDB63 0%, #FFCB2C 35%, #F2A700 100%); box-shadow: inset 0 1px 0 #FFFFFF70, 0 4px 12px #A968001A; }
.button:active { transform: translateY(1px); }
.button .icon { width: 19px; height: 19px; }
.button-small { min-height: 49px; padding: 12px 19px; font-size: 15px; }
.button-outline { border-color: #79583E; background: #FFFDF8E8; box-shadow: none; }
.button-outline:hover { background: #FFF0BF; border-color: #B47E00; }
.text-link { display: inline-flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 700; text-decoration: underline; text-decoration-color: var(--honey); text-underline-offset: 5px; color: var(--bark); }
.text-link .icon { width: 18px; height: 18px; }
.text-link:hover { color: #513713; }
.text-button { display: inline-block; min-height: 42px; padding: 5px 1px; border: 0; border-radius: 2px; background: transparent; color: var(--bark); font-size: 14px; font-weight: 600; text-decoration: underline; text-decoration-color: #AB8D5E; text-underline-offset: 4px; }
.text-button:hover { color: var(--bark); text-decoration-color: var(--bark); }

.site-header { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid #D6B57080; background: #FFFDF8FA; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 4px 24px #56341406; }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; width: calc(100% - var(--gutter) * 2); max-width: 1280px; min-height: 132px; margin: 0 auto; padding: 8px 0; }
.brand { display: block; flex: 0 0 auto; width: 300px; }
.brand-lockup { display: flex; flex: 0 0 auto; flex-direction: column; align-items: center; width: 300px; }
.brand-caption { display: block; margin-top: -4px; color: var(--bark); font-size: 12px; font-weight: 600; line-height: 1.35; letter-spacing: .025em; }
.brand img { width: 100%; height: auto; aspect-ratio: 3 / 1; object-fit: contain; }
#main-nav { display: flex; align-items: center; gap: 28px; }
#main-nav > a { font-size: 16px; font-weight: 700; }
#main-nav > a:not(.button):hover { color: #5A3D13; }
#main-nav > .button { margin-left: 4px; font-weight: 700; font-size: 15px; }
.menu-toggle { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 48px; height: 48px; padding: 9px; border: 1px solid var(--line); border-radius: 7px; background: #FFF6DD; border-color: #C9AA6D; }
.menu-toggle span { width: 22px; height: 2px; background: var(--bark); transition: transform .18s ease, opacity .18s 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); }

.preview-banner { border-bottom: 1px solid #806129; background: var(--bark); color: #FFF2C4; }
.preview-banner-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 5px 22px; width: calc(100% - var(--gutter) * 2); max-width: 1280px; min-height: 50px; margin: 0 auto; padding: 10px 0; font-size: 13px; line-height: 1.65; }
.preview-banner strong { font-weight: 700; }
.preview-banner a { display: inline-flex; align-items: center; min-height: 30px; color: #FFF9E9; font-weight: 700; text-decoration: underline; text-decoration-color: var(--sunshine); text-underline-offset: 4px; }
.preview-banner :focus-visible { outline-color: var(--sunshine); }
.draft-preview #home-view { display: none; }
.preview-access-brand { width: 260px; max-width: 100%; margin: 0 auto 32px; }
.preview-access-brand + h1 { margin-bottom: 24px; font-size: clamp(32px, 5vw, 46px); }

.hero { position: relative; isolation: isolate; width: 100%; max-width: 1520px; margin: 0 auto; overflow: hidden; background: var(--paper); border-bottom: 1px solid #E6C98555; }
.hero-art { position: absolute; z-index: -1; inset: 0 0 0 auto; width: 65%; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent 0%, #0003 11%, #000C 26%, #000 36%, #000 100%); mask-image: linear-gradient(to right, transparent 0%, #0003 11%, #000C 26%, #000 36%, #000 100%); }
.hero-art::after { position: absolute; inset: 0; content: ''; background: linear-gradient(to bottom, transparent 90%, var(--paper) 100%); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 61% 50%; filter: saturate(1.12) contrast(1.045); }
.hero-content { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; width: calc(100% - var(--gutter) * 2); max-width: 1220px; min-height: 680px; margin: 0 auto; padding: 58px 0 64px; position: relative; z-index: 2; }
.hero .eyebrow { margin-bottom: 23px; font-size: 14px; max-width: 640px; letter-spacing: .12em; }
.hero h1 { max-width: 720px; margin-bottom: 26px; font-size: clamp(72px, 6.35vw, 88px); line-height: 1.035; letter-spacing: -.045em; }
.hero-description { max-width: 510px; margin-bottom: 31px; color: var(--bark); font-size: 20px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { display: flex; align-items: center; gap: 9px; max-width: 440px; margin: 25px 0 0; color: var(--bark); font-size: 14px; line-height: 1.6; }
.hero-note .icon { width: 21px; height: 21px; color: var(--olive); }

.section { width: calc(100% - var(--gutter) * 2); max-width: 1160px; margin: 0 auto; padding: 98px 0; }
.section-intro { max-width: 840px; margin-bottom: 38px; }
.section-intro h2 { margin-bottom: 18px; }
.section-intro > p:not(.eyebrow) { margin-bottom: 0; color: var(--bark); font-size: 17px; }
.centered { margin-right: auto; margin-left: auto; text-align: center; }
.heading-flourish { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 21px; }
.heading-flourish .eyebrow { margin: 0; }
.leaf-icon { width: 43px; height: 23px; fill: none; stroke: var(--olive); stroke-width: 1.1; }
.mirrored { transform: scaleX(-1); }
.coach-section { padding-top: 69px; padding-bottom: 100px; }
.situation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; max-width: 1060px; margin: 38px auto 31px; }
.reader-loading { margin: 35px auto; color: var(--bark); font-size: 16px; text-align: center; }
.coach-empty { max-width: 1060px; margin-right: auto; margin-left: auto; }
.situation-button { display: flex; align-items: center; gap: 16px; min-width: 0; min-height: 92px; padding: 21px 24px; border: 1px solid #DFCBA4; border-radius: 11px; background: #FFFEFA; color: var(--bark); font-family: var(--serif); font-size: 21px; font-weight: 700; line-height: 1.25; text-align: left; box-shadow: 0 4px 12px #77501709; transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.situation-button:hover { border-color: #D8A128; background: #FFF3C8; transform: translateY(-2px); box-shadow: 0 5px 14px #9E720012; }
.situation-icon { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; flex: 0 0 auto; color: #626C35; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.situation-icon .icon { width: 32px; height: 32px; }
.selection-check { width: 21px; height: 21px; flex: 0 0 auto; margin-left: auto; padding: 3px; border-radius: 50%; background: var(--honey); color: var(--bark); fill: none; stroke: currentColor; stroke-width: 2; opacity: 0; }
.selection-check .icon { width: 15px; height: 15px; }
.situation-button.is-selected, .situation-button[aria-pressed='true'] { border-color: #E2A100; background: linear-gradient(135deg, #FFF4BF, #FFE494); box-shadow: inset 0 0 0 1px #EAB21B, 0 2px 5px #C4860012; font-weight: 700; }
.situation-button.is-selected .selection-check, .situation-button[aria-pressed='true'] .selection-check { opacity: 1; }
.next-step { position: relative; display: flex; flex-direction: column; align-items: center; max-width: 1060px; min-height: 390px; margin: 0 auto; padding: 52px 136px 35px; overflow: hidden; border: 1px solid #EAC45D; border-radius: 20px; background: linear-gradient(115deg, #FFF0B5 0%, #FFF8E9 50%, #FFECB0 100%); text-align: center; box-shadow: 0 13px 36px #8F5A0010; }
.next-step > :not(.ginkgo-branch) { position: relative; z-index: 1; }
.next-step .eyebrow { margin-bottom: 13px; color: var(--bark); }
.next-step h3 { margin-bottom: 16px; font-size: clamp(32px, 3.4vw, 43px); }
#next-step-question { max-width: 620px; margin-bottom: 16px; font-size: 17px; color: var(--bark); }
.next-step blockquote { max-width: min(660px, 100%); margin: 0 auto 27px; padding: 7px 25px; border: 1px solid #EBC96C; border-radius: 999px; background: #FFF9E9; font-family: var(--serif); font-size: 25px; font-weight: 700; font-style: italic; line-height: 1.5; color: var(--bark); }
.next-step .button { min-width: 230px; }
.next-step .text-button { margin-top: 13px; }

.practice-band { border-top: 1px solid #E2C58688; border-bottom: 1px solid #E2C58688; background: linear-gradient(115deg, #FFF5D3, #FFFAED 65%, #FFF0C2); }
.practice-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 78px; padding-top: 92px; padding-bottom: 92px; }
.practice-intro { min-width: 0; max-width: 460px; }
.practice-sun.icon { display: block; width: 45px; height: 45px; margin-bottom: 21px; color: #B98200; stroke-width: 1.7; }
.practice-intro h2 { margin-bottom: 22px; font-size: clamp(36px, 3.7vw, 48px); }
.practice-intro > p:not(.eyebrow) { max-width: 390px; color: var(--bark); font-size: 17px; }
.date-label { display: inline-block; margin-top: 22px; color: var(--bark); font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.practice-card { min-width: 0; padding: 42px 40px 35px; border: 1px solid #DDC481; border-top: 3px solid var(--honey); border-radius: 18px; background: #FFFEFA; box-shadow: 0 15px 40px #80501310; }
.practice-card .eyebrow { margin-bottom: 13px; }
.practice-card h3 { margin-bottom: 20px; font-size: 32px; }
.practice-card > p:not(.eyebrow) { color: var(--bark); font-size: 17px; line-height: 1.8; }
.reflection-prompt { margin: 28px 0 25px; padding: 5px 0 5px 20px; border-left: 4px solid var(--honey); }
.reflection-prompt > span { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--bark); }
.reflection-prompt p { margin: 7px 0 0; font-family: var(--serif); font-size: 23px; line-height: 1.5; }
.practice-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 11px 18px; }
.practice-actions .text-link { font-size: 14px; }
.practice-actions .text-button { font-size: 13px; }

.library-section { padding-top: 100px; padding-bottom: 100px; }
.newest-section { margin: 37px 0 42px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.newest-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.newest-heading h3 { font-size: 29px; }
.newest-heading > span { font-size: 14px; color: var(--bark); }
.newest-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.newest-lesson { display: grid; grid-template-columns: 1fr 20px; align-items: start; gap: 10px 12px; padding: 26px; border: 1px solid #E5B01B; border-radius: 13px; background: linear-gradient(135deg, #FFE58C, #FFCE46); box-shadow: inset 0 1px 0 #FFFFFF90, 0 7px 20px #9A630010; }
.newest-lesson:hover { border-color: #D49600; background: linear-gradient(135deg, #FFDF73, #FFC52C); }
.newest-meta { grid-column: 1 / -1; font-size: 12px; font-weight: 700; color: var(--bark); }
.newest-lesson h4 { margin: 0; font-family: var(--serif); font-size: 24px; font-weight: 700; line-height: 1.3; }
.newest-lesson .icon { align-self: center; width: 20px; height: 20px; }
.cover-frame { position: relative; overflow: hidden; border: 1px solid #CCAA60; background: linear-gradient(135deg, #F8E7BA, #DDB04C); }
.cover-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.newest-cover { grid-column: 1 / -1; aspect-ratio: 16 / 9; margin-bottom: 5px; border-radius: 8px; box-shadow: 0 5px 15px #6F470C12; }
.card-cover { aspect-ratio: 16 / 10; margin-bottom: 24px; border-radius: 10px; }
.lesson-cover { aspect-ratio: 16 / 9; margin-top: 32px; border-radius: 17px; box-shadow: 0 12px 30px #5C3B1112; }
.library-tools { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.search-field { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 570px; min-height: 57px; padding: 0 18px; border: 1px solid #DAD3C7; border-radius: 10px; background: #FFFEFB; color: var(--bark); border-color: #BFA471; }
.search-field:focus-within { border-color: var(--olive); outline: 2px solid #7C865D29; outline-offset: 2px; }
.search-field .icon { width: 20px; height: 20px; }
.search-field input { width: 100%; min-width: 0; min-height: 55px; padding: 0; border: 0; outline: none; background: transparent; color: var(--bark); font-size: 16px; }
.search-field input::placeholder { color: var(--bark); opacity: 1; }
.category-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-button { min-height: 42px; padding: 9px 16px; border: 1px solid #DCCCAA; border-radius: 999px; background: transparent; font-size: 13px; font-weight: 600; line-height: 1.5; transition: background .18s ease, border-color .18s ease; }
.filter-button:hover { border-color: #C4A45A; background: #FFF8E7; }
.filter-button.active, .filter-button[aria-pressed='true'] { border-color: #E6A700; background: #FFD65B; font-weight: 700; }
.results-count { min-height: 20px; margin: 26px 0 18px; color: var(--bark); font-size: 14px; }
.lesson-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.lesson-card { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 338px; padding: 29px; border: 1px solid #E0CC9F; border-top: 3px solid #F2C64C; border-radius: 15px; background: #FFFEFB; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; box-shadow: 0 8px 27px #6D451008; }
.lesson-card:hover { border-color: #CCA54D; transform: translateY(-3px); box-shadow: 0 13px 33px #80501314; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 23px; }
.category-label { color: var(--bark); font-size: 12px; font-weight: 700; letter-spacing: .075em; line-height: 1.5; text-transform: uppercase; }
.reading-time { flex: 0 0 auto; color: var(--bark); font-size: 13px; font-weight: 600; }
.card-icon { display: block; width: 43px; height: 43px; padding: 7px; border-radius: 50%; background: #FFF0B5; color: #806018; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-icon .icon { width: 31px; height: 31px; }
.card-title { margin: 0 0 17px; font-family: var(--serif); font-size: 28px; font-weight: 700; line-height: 1.25; letter-spacing: -.025em; text-wrap: balance; }
.card-summary { margin: 0 0 24px; color: var(--bark); font-size: 16px; line-height: 1.8; }
.card-read { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; font-size: 15px; font-weight: 700; }
.card-read .icon { width: 17px; height: 17px; }
.empty-state { margin-top: 20px; padding: 48px 28px; border: 1px dashed #D4C7AD; border-radius: 16px; background: #FFF9ED; text-align: center; }
.empty-state > .icon { display: block; width: 32px; height: 32px; margin: 0 auto 18px; color: var(--olive); }
.empty-state > .ginkgo-guide { width: 48px; margin: 0 auto 20px; }
.empty-state h3 { margin-bottom: 12px; font-size: 28px; }
.empty-state p { max-width: 480px; margin: 0 auto 22px; color: var(--bark); font-size: 17px; }

.about-band { border-top: 1px solid #E2C58688; background: linear-gradient(120deg, #FFF5D9, #FFF9ED 65%, #FFF1CE); }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 82px; }
.about-art { position: relative; width: 100%; max-width: 480px; aspect-ratio: .94; overflow: hidden; border-radius: 240px 240px 18px 18px; border: 1px solid #DCB965; box-shadow: 0 18px 42px #6A420A14; }
.about-art img { width: 100%; height: 100%; object-fit: cover; object-position: 64% 50%; filter: saturate(1.1) contrast(1.04); }
.image-caption { position: absolute; right: 23px; bottom: 23px; left: 23px; padding: 13px 16px; border: 1px solid #FFFFFF80; border-radius: 6px; background: #FFFDF8EB; color: var(--bark); font-size: 13px; text-align: center; font-weight: 600; }
.about-copy { min-width: 0; }
.about-copy h2 { margin-bottom: 26px; }
.about-copy > p:not(.eyebrow) { color: var(--bark); font-size: 17px; line-height: 1.85; }
.about-copy .about-signature { margin: 24px 0 20px; font-family: var(--serif); font-size: 23px !important; font-style: italic; color: var(--bark) !important; }
.site-footer { border-top: 1px solid #DABB7F88; background: var(--paper); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 30px; width: calc(100% - var(--gutter) * 2); max-width: 1160px; margin: 0 auto; padding: 40px 0 30px; }
.footer-brand { grid-column: 1; grid-row: 1; width: 240px; }
.footer-inner > p { grid-column: 1; grid-row: 2; margin: 0; color: var(--bark); font-size: 14px; }
.footer-inner nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 29px; grid-column: 2; grid-row: 1; font-size: 15px; font-weight: 600; }
.footer-inner nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-inner nav .studio-link { display: inline-flex; align-items: center; gap: 6px; color: var(--bark); text-decoration: underline; text-decoration-color: #C28A0B; text-underline-offset: 5px; }
.studio-link .icon { width: 16px; height: 16px; }
.footer-inner small { grid-column: 2; grid-row: 2; justify-self: end; color: var(--bark); font-size: 12px; }
.noscript-message { padding: 18px; background: var(--ivory); text-align: center; }

body.lesson-open #home-view { display: none; }
.lesson-shell { width: calc(100% - var(--gutter) * 2); max-width: 860px; margin: 0 auto; padding: 48px 0 88px; }
.lesson-back { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 38px; color: var(--bark); font-size: 15px; }
.lesson-back:hover { text-decoration: underline; text-underline-offset: 5px; }
.lesson-back .icon { width: 18px; height: 18px; transform: rotate(180deg); }
.lesson-header { padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.lesson-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 20px; color: var(--bark); font-size: 14px; font-weight: 600; }
.lesson-header h1 { max-width: 830px; margin-bottom: 22px; font-size: clamp(42px, 4.7vw, 62px); line-height: 1.13; letter-spacing: -.04em; }
.lesson-summary { max-width: 740px; margin-bottom: 25px; color: var(--bark); font-size: 20px; line-height: 1.8; }
.card-title, .card-summary, .newest-lesson h4, .lesson-header h1, .lesson-summary, .lesson-section p, .reflection-list, .action-steps, .lesson-takeaway { overflow-wrap: anywhere; }
.lesson-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lesson-actions .button { min-height: 47px; padding: 12px 19px; font-size: 14px; }
.lesson-content { max-width: 760px; margin: 0 auto; }
.lesson-media { margin: 44px 0 48px; }
.lesson-media > .eyebrow { margin-bottom: 12px; }
.lesson-media > h2 { margin-bottom: 22px; font-size: 35px; }
.media-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 19px; }
.media-card { min-width: 0; padding: 29px; border: 1px solid #E2BD5E; border-radius: 16px; background: #FFF9EC; box-shadow: 0 8px 24px #77501709; }
.media-meta { display: inline-block; max-width: 100%; margin: 0 0 12px; padding: 4px 9px; border-radius: 5px; background: #FFE493; color: var(--bark); font-size: 12px; font-weight: 700; line-height: 1.5; letter-spacing: .09em; text-transform: uppercase; overflow-wrap: anywhere; }
.media-title { margin: 0 0 11px; font-size: 29px; line-height: 1.3; overflow-wrap: anywhere; }
.media-caption { margin: 0 0 18px; color: var(--bark); font-size: 17px; line-height: 1.8; overflow-wrap: anywhere; }
.media-player { position: relative; width: 100%; min-height: 200px; aspect-ratio: 16 / 9; margin-top: 18px; overflow: hidden; border: 1px solid #49372B1A; border-radius: 8px; background: #241E18; }
.media-player:empty { display: none; }
.media-player:focus-within { outline: 3px solid var(--olive-ink); outline-offset: 4px; }
.media-player video, .media-player iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; border-radius: inherit; }
.media-player video { object-fit: contain; }
.media-load { max-width: 100%; min-height: 49px; margin: 4px 0 2px; padding: 11px 18px; font-size: 15px; }
.media-load .icon { width: 20px; height: 20px; }
.media-source { display: flex; align-items: center; width: fit-content; max-width: 100%; min-height: 36px; margin-top: 12px; font-size: 15px; overflow-wrap: anywhere; }
.media-load + .media-source { margin-top: 5px; }
.media-transcript { margin-top: 18px; padding-top: 4px; border-top: 1px solid #E3D5B8; }
.media-transcript > summary { min-height: 44px; padding: 11px 0; color: var(--bark); font-size: 15px; font-weight: 600; line-height: 1.65; cursor: pointer; }
.media-transcript > summary::marker { color: #9D782B; }
.media-transcript > summary:hover { color: #513713; }
.media-transcript[open] > summary { margin-bottom: 6px; }
.transcript-content { padding: 0 0 3px; color: var(--bark); font-size: 17px; line-height: 1.85; overflow-wrap: anywhere; }
.transcript-content p { margin: 0 0 14px; }
.transcript-content p:last-child { margin-bottom: 0; }
.lesson-section { margin: 46px 0; }
.lesson-section h2 { margin-bottom: 22px; font-size: 35px; }
.lesson-section h3 { margin: 20px 0 12px; font-size: 27px; }
.lesson-section > p { margin-bottom: 17px; font-size: 18px; line-height: 1.9; }
.lesson-example { margin: 27px 0; padding: 33px 35px; border: 1px solid #E3BE5A; border-radius: 15px; background: var(--ivory); }
.lesson-example p { font-size: 17px; line-height: 1.85; }
.lesson-example p:last-child { margin-bottom: 0; }
.example-label { display: block; margin-bottom: 8px; color: var(--bark); font-family: var(--sans); font-size: 12px !important; font-weight: 650; letter-spacing: .1em; line-height: 1.6; text-transform: uppercase; }
.lesson-example .example-label:not(:first-child) { margin-top: 22px; }
.lesson-example blockquote { margin: 14px 0 0; font-family: var(--serif); font-size: 21px; line-height: 1.6; }
.reflection-list { display: grid; gap: 13px; margin: 18px 0 0; padding: 0; list-style: none; }
.reflection-list li { display: flex; align-items: flex-start; padding: 21px 23px; border: 1px solid #E3DCCD; border-radius: 11px; background: #FFFEFB; font-size: 17px; line-height: 1.75; }
.reflection-number { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex: 0 0 auto; margin: 1px 12px 0 0; border-radius: 50%; background: #FFE699; color: var(--bark); font-size: 12px; font-weight: 700; }
.action-steps { margin: 18px 0 0; padding-left: 22px; }
.action-steps li { margin-bottom: 14px; padding-left: 8px; font-size: 18px; line-height: 1.8; }
.action-steps li::marker { color: var(--olive-ink); font-weight: 600; }
.lesson-takeaway { margin: 45px 0; padding: 28px 31px; border-left: 4px solid var(--honey); border-radius: 0 14px 14px 0; background: #FFF1C7; font-family: var(--serif); font-size: 26px; font-weight: 700; line-height: 1.55; display: flow-root; }
.lesson-takeaway p { margin: 0; }
.lesson-takeaway .eyebrow { margin-bottom: 10px; font-size: 12px; }
.lesson-takeaway blockquote { margin: 0; }
.lesson-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.loading-message { min-height: 45vh; padding: 80px 24px; color: var(--bark); font-size: 16px; text-align: center; }

/* Ginkgo artwork stays outside the reading and interaction layers. */
.hero-ginkgo-branch { position: absolute; z-index: 0; top: -54px; left: -117px; width: 195px; height: auto; opacity: .86; pointer-events: none; user-select: none; }
.hero-leaves { position: absolute; z-index: 0; top: 0; right: 0; bottom: 0; width: 49%; overflow: hidden; pointer-events: none; }
.ginkgo-drift { position: absolute; height: auto; opacity: .92; pointer-events: none; user-select: none; filter: drop-shadow(0 5px 7px #70440024); transform-origin: 50% 60%; animation: leaf-drift 17s ease-in-out infinite; }
.drift-one { top: 14%; right: 18%; width: 48px; --leaf-angle: -19deg; --drift-x: 11px; --drift-y: 22px; animation-duration: 17s; animation-delay: -4s; }
.drift-two { top: 46%; right: 7%; width: 34px; --leaf-angle: 17deg; --drift-x: -13px; --drift-y: 18px; animation-duration: 21s; animation-delay: -11s; }
.drift-three { top: 77%; right: 40%; width: 40px; --leaf-angle: -9deg; --drift-x: 15px; --drift-y: -17px; animation-duration: 24s; animation-delay: -16s; }
.ginkgo-guide { display: block; width: 56px; height: auto; flex: 0 0 auto; pointer-events: none; user-select: none; transform-origin: 50% 85%; animation: leaf-sway 9s ease-in-out infinite; filter: drop-shadow(0 4px 5px #81550012); }
.guide-note { display: flex; align-items: center; gap: 16px; padding: 18px 21px; border: 1px solid #E1C17A; border-radius: 13px; background: #FFFCF1F5; color: var(--bark); font-family: var(--sans); font-weight: 400; box-shadow: 0 6px 20px #77501709; }
.guide-note > div { min-width: 0; }
.guide-kicker { display: block; margin-bottom: 5px; color: var(--bark); font-size: 11px; font-weight: 800; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; }
.guide-note p { margin: 0; color: var(--bark); font-size: 16px; line-height: 1.6; }
.hero-guide { width: 100%; max-width: 535px; margin-top: 29px; transition: border-color .18s ease, box-shadow .18s ease; }
.hero-guide .ginkgo-guide { width: 48px; }
.hero-guide > .icon { width: 21px; height: 21px; margin-left: auto; }
.hero-guide:hover { border-color: #B88924; box-shadow: 0 9px 25px #77501712; }
.section-ginkgo.ginkgo-guide { width: 37px; }
.heading-flourish .section-ginkgo:last-child { animation-delay: -4.5s; animation-duration: 11s; }
.guide-mark.ginkgo-guide { width: 66px; margin-bottom: 23px; animation-duration: 11s; animation-delay: -3s; }
.practice-guide { max-width: 420px; margin-top: 25px; padding: 18px 21px; border-left: 3px solid #D9A623; box-shadow: none; }
.guide-ribbon { display: flex; align-items: center; gap: 19px; padding: 18px 25px; border: 1px solid #E5C77E; border-radius: 13px; background: linear-gradient(110deg, #FFF1BD, #FFFBEE); }
.guide-ribbon .ginkgo-guide { width: 44px; animation-duration: 12s; animation-delay: -5s; }
.guide-ribbon p { margin: 0; color: var(--bark); font-size: 17px; line-height: 1.65; }
.lesson-guide { margin: 32px 0 43px; }
.lesson-takeaway .guide-mark { float: right; width: 57px; margin: 0 0 14px 20px; }
.ginkgo-branch { position: absolute; z-index: 0; bottom: -28px; width: 176px; height: auto; pointer-events: none; user-select: none; }
.ginkgo-branch-left { left: -33px; transform: rotate(-9deg); }
.ginkgo-branch-right { right: -35px; width: 164px; transform: scaleX(-1) rotate(-7deg); }
.footer-controls { display: flex; grid-column: 1 / -1; grid-row: 3; align-items: center; gap: 14px; margin-top: 25px; padding-top: 21px; border-top: 1px solid #E1CCA5; }
.footer-ginkgo.ginkgo-guide { width: 34px; animation-duration: 13s; animation-delay: -7s; }
.footer-controls > span { color: var(--bark); font-size: 14px; font-weight: 600; }
.motion-toggle { min-height: 44px; margin-left: auto; padding: 9px 16px; border: 1px solid #C6A25A; border-radius: 999px; background: #FFF2C6; color: var(--bark); font-size: 13px; font-weight: 700; line-height: 1.5; }
.motion-toggle:hover { border-color: #9D7624; background: #FFE6A0; }
.motion-toggle[aria-pressed='false'] { background: var(--paper); }
.motion-toggle:disabled { cursor: default; opacity: 1; border-color: #C9B58D; background: #FFF7E3; color: var(--bark); }
.lesson-heading-icon { width: 46px; height: 46px; margin: 0 0 18px; padding: 8px; border-radius: 50%; background: #FFF0B5; color: var(--olive-ink); }

@media (max-width: 1100px) {
  :root { --gutter: 32px; --header-offset: 148px; }
  .header-inner { min-height: 124px; gap: 24px; }
  .brand, .brand-lockup { width: 280px; }
  #main-nav { gap: 20px; }
  #main-nav > a { font-size: 15px; }
  #main-nav > .button { padding-right: 16px; padding-left: 16px; font-size: 14px; }
  .hero-content { min-height: 650px; padding-top: 55px; padding-bottom: 62px; }
  .hero h1 { font-size: clamp(65px, 6.6vw, 78px); }
  .hero-art { width: 66%; }
  .hero-ginkgo-branch { left: -115px; width: 150px; }
  .practice-layout { gap: 45px; }
  .practice-card { padding: 34px 30px; }
  .about-layout { gap: 50px; }
  .lesson-card { padding: 25px; }
  .next-step { padding-right: 100px; padding-left: 100px; }
  .ginkgo-branch { width: 145px; }
  .ginkgo-branch-right { width: 138px; }
}

@media (max-width: 1024px) {
  :root { --header-offset: 134px; }
  .header-inner { min-height: 108px; padding: 7px 0; }
  .brand, .brand-lockup { width: 250px; }
  .brand-caption { font-size: 11px; }
  .menu-toggle { display: flex; }
  #main-nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 4px; padding: 15px; border: 1px solid #DABB7F; border-radius: 0 0 16px 16px; background: var(--paper); box-shadow: 0 17px 35px #49301517; }
  #main-nav.is-open { display: flex; }
  #main-nav > a { padding: 14px; font-size: 16px; }
  #main-nav > .button { margin: 7px 0 0; font-size: 16px; }
}

@media (max-width: 900px) {
  .hero-content { min-height: 640px; padding-top: 46px; padding-bottom: 55px; }
  .hero h1 { font-size: 65px; }
  .hero-description { font-size: 19px; }
  .hero-actions { gap: 12px; }
  .hero-actions .button { padding-right: 20px; padding-left: 20px; font-size: 15px; }
  .hero-guide { max-width: 505px; }
  .hero-leaves { width: 37%; }
  .situation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lesson-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .newest-grid { gap: 13px; }
  .newest-lesson { padding: 21px; }
  .newest-lesson h4 { font-size: 22px; }
  .practice-layout { gap: 30px; padding-top: 76px; padding-bottom: 76px; }
  .practice-card { padding: 29px; }
  .practice-card h3 { font-size: 30px; }
  .about-layout { gap: 34px; }
  .about-art { aspect-ratio: .85; }
}

@media (max-width: 720px) {
  :root { --gutter: 26px; --header-offset: 122px; }
  .header-inner { min-height: 98px; padding: 6px 0; }
  .brand, .brand-lockup { width: 230px; }
  .hero { display: flex; flex-direction: column; }
  .hero-content { order: 1; align-items: center; min-height: 0; padding: 48px 0 16px; text-align: center; }
  .hero .eyebrow { max-width: 480px; margin-bottom: 22px; font-size: 12px; }
  .hero h1 { max-width: 620px; margin-bottom: 25px; font-size: clamp(48px, 8.4vw, 60px); }
  .hero-description { max-width: 400px; margin-bottom: 29px; font-size: 19px; }
  .desktop-break { display: none; }
  .hero-actions { justify-content: center; }
  .hero-actions .button { padding: 14px 22px; font-size: 15px; }
  .hero-guide { max-width: 500px; margin-top: 26px; text-align: left; }
  .hero-ginkgo-branch { display: none; }
  .hero-art { position: relative; z-index: 0; inset: auto; order: 2; width: 100%; height: 295px; margin-top: 12px; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 7%, #000 95%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, #000 7%, #000 95%, transparent 100%); }
  .hero-art::after { display: none; }
  .hero-art img { object-position: 57% 50%; }
  .hero-leaves { z-index: 1; top: auto; bottom: 0; width: 100%; height: 285px; }
  .drift-one { top: 13%; right: 18%; width: 37px; }
  .drift-two { top: 50%; right: 6%; width: 28px; }
  .drift-three { top: 65%; right: 73%; width: 32px; }
  .section { padding-top: 75px; padding-bottom: 75px; }
  .coach-section { padding-top: 44px; }
  .next-step { padding: 43px 52px 33px; }
  .next-step blockquote { font-size: 23px; }
  .ginkgo-branch { bottom: -28px; left: -62px; width: 124px; }
  .ginkgo-branch-right { right: -65px; left: auto; width: 124px; }
  .practice-layout { grid-template-columns: 1fr; gap: 33px; }
  .practice-intro { max-width: none; }
  .practice-intro h2 br { display: none; }
  .practice-intro > p:not(.eyebrow) { max-width: 510px; }
  .practice-guide { max-width: 500px; margin-top: 23px; }
  .guide-mark.ginkgo-guide { width: 60px; margin-bottom: 21px; }
  .date-label { margin-top: 21px; }
  .practice-card { padding: 34px; }
  .newest-grid { grid-template-columns: 1fr; gap: 13px; }
  .newest-lesson { padding: 24px; }
  .newest-lesson h4 { font-size: 25px; }
  .about-layout { grid-template-columns: 1fr; gap: 43px; }
  .about-art { max-width: 440px; margin: 0 auto; aspect-ratio: 1.07; }
  .about-copy { max-width: 600px; }
  .footer-inner nav { gap: 20px; }
  .footer-brand { width: 210px; }
  .footer-controls > span { font-size: 13px; }
  .lesson-shell { padding-top: 37px; }
  .lesson-header h1 { font-size: 49px; }
}

@media (max-width: 560px) {
  :root { --gutter: 20px; --header-offset: 116px; }
  .header-inner { width: calc(100% - 32px); min-height: 92px; padding: 5px 0; }
  .brand, .brand-lockup { width: 220px; }
  .brand-caption { margin-top: -5px; font-size: 10px; line-height: 1.3; }
  .menu-toggle { width: 45px; height: 45px; }
  .hero-content { padding-top: 40px; padding-bottom: 3px; }
  .hero .eyebrow { max-width: 340px; margin-bottom: 23px; font-size: 11px; letter-spacing: .08em; }
  .hero h1 { max-width: 100%; margin-bottom: 24px; font-size: clamp(42px, 11.2vw, 48px); line-height: 1.08; letter-spacing: -.045em; }
  .hero-description { max-width: 340px; font-size: 18px; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 350px; gap: 12px; }
  .hero-actions .button { min-height: 53px; font-size: 16px; }
  .hero-guide { width: 100%; max-width: 390px; gap: 12px; margin-top: 25px; padding: 16px; border-radius: 12px; }
  .hero-guide .ginkgo-guide { width: 39px; }
  .guide-kicker { font-size: 10px; letter-spacing: .1em; }
  .hero-guide p { font-size: 15px; line-height: 1.55; }
  .hero-guide > .icon { width: 17px; height: 17px; }
  .hero-art { height: 260px; margin-top: 16px; }
  .hero-leaves { height: 250px; }
  .section { padding-top: 66px; padding-bottom: 66px; }
  .coach-section { padding-top: 37px; }
  h2 { font-size: 35px; line-height: 1.2; }
  .section-intro { margin-bottom: 28px; }
  .section-intro > p:not(.eyebrow) { font-size: 17px; }
  .heading-flourish { gap: 13px; margin-bottom: 19px; }
  .heading-flourish .eyebrow { font-size: 11px; }
  .section-ginkgo.ginkgo-guide { width: 29px; }
  .situation-grid { grid-template-columns: 1fr; gap: 13px; margin: 31px 0 25px; }
  .situation-button { min-height: 78px; padding: 18px 20px; gap: 14px; font-size: 19px; }
  .situation-icon, .situation-icon .icon { width: 30px; height: 30px; }
  .next-step { min-height: 0; padding: 38px 24px 29px; border-radius: 17px; }
  .next-step .eyebrow { font-size: 11px; }
  .next-step h3 { font-size: 32px; }
  #next-step-question { font-size: 17px; }
  .next-step blockquote { margin-bottom: 25px; padding: 8px 15px; font-size: 22px; border-radius: 16px; }
  .next-step .button { width: 100%; max-width: 265px; min-width: 0; padding-right: 16px; padding-left: 16px; font-size: 15px; }
  .next-step .text-button { min-height: 44px; margin-top: 12px; font-size: 13px; }
  .ginkgo-branch { bottom: -28px; left: -65px; width: 92px; }
  .ginkgo-branch-right { right: -67px; left: auto; width: 94px; }
  .practice-intro h2 { font-size: 36px; }
  .practice-card { padding: 29px 25px; }
  .practice-card h3 { font-size: 30px; }
  .practice-card > p:not(.eyebrow) { font-size: 17px; }
  .practice-guide { padding: 18px; }
  .practice-guide p { font-size: 16px; }
  .reflection-prompt { margin-top: 26px; padding-left: 17px; }
  .reflection-prompt p { font-size: 22px; }
  .practice-actions { flex-direction: column; align-items: flex-start; gap: 12px; }
  .practice-actions .text-link { font-size: 14px; }
  .practice-actions .text-button { min-height: 42px; font-size: 13px; }
  .guide-ribbon { gap: 14px; padding: 18px; }
  .guide-ribbon .ginkgo-guide { width: 37px; }
  .guide-ribbon p { font-size: 16px; }
  .newest-heading > span { font-size: 14px; }
  .newest-lesson { padding: 23px; }
  .newest-meta { font-size: 12px; }
  .library-tools { gap: 20px; }
  .search-field { max-width: none; padding: 0 13px; gap: 10px; }
  .search-field input { font-size: 16px; }
  .search-field input::placeholder { font-size: 14px; color: var(--bark); }
  .category-filters { gap: 8px; }
  .filter-button { min-height: 42px; padding: 8px 12px; font-size: 12px; }
  .lesson-grid { grid-template-columns: 1fr; gap: 21px; }
  .lesson-card { min-height: 310px; padding: 27px; }
  .card-top { margin-bottom: 23px; }
  .card-title { font-size: 28px; }
  .card-summary { font-size: 16px; }
  .card-read { font-size: 15px; }
  .empty-state { padding: 39px 24px; }
  .empty-state h3 { font-size: 29px; }
  .about-art { max-width: 375px; aspect-ratio: .98; }
  .image-caption { right: 17px; bottom: 17px; left: 17px; padding: 12px; font-size: 12px; }
  .about-copy h2 { font-size: 37px; }
  .about-copy > p:not(.eyebrow) { font-size: 17px; }
  .footer-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 35px 0 29px; text-align: center; }
  .footer-brand { width: 220px; }
  .footer-inner nav { justify-content: center; gap: 22px; margin-top: 9px; font-size: 14px; }
  .footer-inner small { margin-top: 4px; }
  .footer-controls { display: grid; grid-template-columns: auto 1fr; gap: 13px; width: 100%; margin-top: 15px; padding-top: 22px; text-align: left; }
  .footer-controls > span { font-size: 14px; }
  .motion-toggle { grid-column: 1 / -1; justify-self: center; margin-left: 0; }
  .lesson-shell { padding-top: 31px; padding-bottom: 65px; }
  .lesson-back { margin-bottom: 31px; }
  .lesson-header { padding-bottom: 29px; }
  .lesson-cover { margin-top: 26px; border-radius: 12px; }
  .lesson-header h1 { margin-bottom: 21px; font-size: 42px; }
  .lesson-summary { font-size: 18px; }
  .lesson-actions { gap: 13px; }
  .lesson-actions .button { flex: 1 1 auto; font-size: 14px; }
  .lesson-guide { margin-top: 27px; margin-bottom: 34px; }
  .lesson-media { margin: 36px 0; }
  .lesson-media > h2 { margin-bottom: 22px; font-size: 31px; }
  .media-card { padding: 23px; }
  .media-title { font-size: 27px; }
  .media-player { border-radius: 8px; }
  .media-source { min-height: 44px; }
  .lesson-section { margin: 37px 0; }
  .lesson-section h2 { font-size: 31px; }
  .lesson-section > p { font-size: 18px; line-height: 1.85; }
  .lesson-example { margin: 31px 0; padding: 26px; }
  .lesson-example p { font-size: 17px; }
  .reflection-list li { padding: 18px; font-size: 17px; }
  .reflection-number { margin-right: 12px; }
  .action-steps { padding-left: 22px; }
  .action-steps li { padding-left: 6px; font-size: 18px; }
  .lesson-takeaway { margin: 37px 0; padding: 25px; font-size: 24px; }
  .lesson-takeaway .guide-mark { width: 45px; margin-left: 14px; }
  .lesson-bottom { align-items: flex-start; flex-direction: column; gap: 21px; }
}

@keyframes leaf-sway {
  0%, 100% { transform: rotate(-5deg) translate3d(0, 0, 0); }
  50% { transform: rotate(5deg) translate3d(0, -3px, 0); }
}
@keyframes leaf-drift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(var(--leaf-angle, -12deg)); }
  50% { transform: translate3d(var(--drift-x, 12px), var(--drift-y, 20px), 0) rotate(calc(var(--leaf-angle, -12deg) + 14deg)); }
}
body.motion-paused .ginkgo-guide, body.motion-paused .ginkgo-drift,
body.page-hidden .ginkgo-guide, body.page-hidden .ginkgo-drift { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .situation-button:hover, .lesson-card:hover, .button:active { transform: none; }
  .ginkgo-guide, .ginkgo-drift { animation: none !important; transform: none; }
}

@media print {
  @page { margin: 18mm; }
  html { scroll-behavior: auto; }
  body { background: white; color: #222; font-size: 11pt; }
  .site-header, .site-footer, .skip-link, .menu-toggle, .lesson-back, .lesson-actions, .lesson-bottom, .noscript-message, button, .button, .hero-actions, .hero-art, .about-art { display: none !important; }
  .hero-ginkgo-branch, .hero-leaves, .ginkgo-guide, .ginkgo-branch, .guide-mark, .section-ginkgo, .footer-controls, .guide-note, .guide-ribbon { display: none !important; }
  body.lesson-open #home-view { display: none !important; }
  .lesson-shell, .lesson-content { width: 100%; max-width: none; margin: 0; padding: 0; }
  .lesson-header { padding-bottom: 16px; border-bottom: 1px solid #BBB; }
  .draft-preview .lesson-header::before { display: block; margin-bottom: 14px; color: #555; font-family: var(--sans); font-size: 10pt; font-weight: 700; content: 'Draft preview'; }
  .lesson-cover { max-height: 70mm; margin-top: 20px; border-color: #BBB; border-radius: 0; box-shadow: none; break-inside: avoid; }
  .lesson-header h1 { font-size: 28pt; }
  .lesson-summary { max-width: none; margin-bottom: 0; font-size: 12pt; line-height: 1.6; }
  .lesson-media { margin: 22px 0; }
  .lesson-media > h2 { margin-bottom: 14px; font-size: 18pt; }
  .media-grid { display: block; }
  .media-card { margin-bottom: 14px; padding: 14px; border: 1px solid #CCC; border-radius: 0; background: white; break-inside: auto; }
  .media-meta { padding: 0; background: transparent; color: #444; font-size: 9pt; }
  .media-title { font-size: 14pt; }
  .media-caption { margin-bottom: 10px; color: #222; font-size: 10pt; line-height: 1.6; }
  .media-player, .media-load { display: none !important; }
  .media-source { display: block; width: auto; min-height: 0; margin: 10px 0 0; color: #222; font-size: 10pt; text-decoration: none; break-inside: avoid; }
  .media-source .icon { display: none; }
  .media-source[href]::after { display: block; margin-top: 3px; font-size: 9pt; font-weight: 400; line-height: 1.5; overflow-wrap: anywhere; word-break: break-all; content: attr(href); }
  .media-transcript { margin-top: 12px; border-top: 1px solid #CCC; }
  .media-transcript > summary { min-height: 0; padding: 10px 0 6px; color: #222; font-size: 10pt; list-style: none; }
  .media-transcript > summary::-webkit-details-marker { display: none; }
  .media-transcript > summary::marker { content: ''; }
  .media-transcript::details-content { display: block !important; content-visibility: visible !important; }
  .media-transcript > .transcript-content { display: block !important; color: #222; font-size: 10pt; line-height: 1.6; }
  .lesson-section { margin: 22px 0; }
  .lesson-section h2 { font-size: 18pt; }
  .lesson-section > p, .lesson-example p, .reflection-list li, .action-steps li { font-size: 11pt; line-height: 1.6; }
  .lesson-example { padding: 16px; border: 1px solid #CCC; background: white; }
  .lesson-takeaway { margin: 22px 0; padding: 15px; border-left: 3px solid #777; background: white; font-size: 15pt; }
  .reflection-list li { padding: 10px; background: white; }
  .lesson-example, .lesson-takeaway, .reflection-list li, .action-steps li { break-inside: avoid; }
  h1, h2, h3, .example-label { break-after: avoid; }
  p { orphans: 3; widows: 3; }
  .section { width: 100%; max-width: none; padding: 22px 0; }
  .hero-content { width: 100%; min-height: 0; padding: 20px 0; }
  .practice-layout, .about-layout { display: block; }
  .lesson-card { break-inside: avoid; box-shadow: none; }
  .practice-card, .media-card, .lesson-example, .lesson-takeaway, .newest-lesson, .next-step { box-shadow: none; }
  a { color: inherit; }
}

/* Life systems: the growing Sunfulness learning library. */
select, textarea { font: inherit; color: var(--bark); }
select, textarea, input[type='checkbox'] { accent-color: #B77C00; }
select { max-width: 100%; min-height: 48px; padding: 10px 35px 10px 13px; border: 1px solid #BFA471; border-radius: 9px; background: #FFFEFA; }
textarea { display: block; width: 100%; min-height: 110px; resize: vertical; padding: 18px; border: 1px solid #BAA16F; border-radius: 10px; background: #FFFEFA; color: var(--bark); line-height: 1.8; }
textarea::placeholder { color: #63503C; opacity: 1; }
.learning-home { border-bottom: 1px solid #E3C478; background: linear-gradient(180deg, #FFF7DF, #FFFDF8 80%); }
.learning-home > .section { padding-top: 72px; padding-bottom: 72px; }
.learning-entrances { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.learning-entrance { display: flex; flex-direction: column; min-width: 0; padding: 27px 24px; border: 1px solid #DDA420; border-radius: 15px; background: linear-gradient(145deg, #FFEAAA, #FFD552); box-shadow: inset 0 1px 0 #FFFFFF9C, 0 8px 24px #7048090C; transition: transform .2s ease, box-shadow .2s ease; }
.learning-entrance:nth-child(even) { background: linear-gradient(145deg, #FFF6DA, #FFDF7C); }
.learning-entrance:hover { transform: translateY(-3px); box-shadow: 0 12px 28px #70480918; }
.entrance-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.entrance-top .icon { width: 30px; height: 30px; stroke-width: 1.8; }
.learning-entrance h3 { margin-bottom: 13px; font-size: 28px; line-height: 1.15; }
.learning-entrance > p { margin-bottom: 25px; font-size: 15px; line-height: 1.65; }
.learning-entrance .card-read { font-size: 14px; }
.systems-home-heading { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin: 62px 0 24px; }
.systems-home-heading .eyebrow { margin-bottom: 8px; }
.systems-home-heading h3 { font-size: 35px; }
.system-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.system-card { display: flex; flex-direction: column; min-width: 0; min-height: 310px; padding: 29px; border: 1px solid #DAB561; border-top: 4px solid #F7BF23; border-radius: 17px; background: #FFFEFA; box-shadow: 0 9px 27px #6F47100B; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.system-card:nth-child(3n+2) { background: #FFF8E4; }
.system-card:hover { transform: translateY(-3px); border-color: #BE8B13; box-shadow: 0 14px 35px #79511B18; }
.system-card-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 22px; }
.system-symbol { width: 51px; height: 51px; padding: 11px; border: 1px solid #E7BA44; border-radius: 14px; background: #FFEB9F; color: #514018; stroke-width: 1.8; }
.system-index { color: #5F4727; font-family: var(--serif); font-size: 23px; font-style: italic; }
.system-card h3 { margin-bottom: 16px; font-size: 30px; line-height: 1.18; }
.system-card > p { margin-bottom: 26px; font-size: 16px; line-height: 1.75; }
.system-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 18px; border-top: 1px solid #E7D4AA; font-size: 12px; font-weight: 700; line-height: 1.6; }
.system-card-bottom .icon { width: 21px; height: 21px; }
.catalog-note { margin: 25px 0 0; color: var(--bark); font-size: 14px; line-height: 1.8; }
.start-guide { max-width: 740px; margin: 33px auto 0; }
.start-guide > .icon { margin-left: auto; }
.start-guide .ginkgo-guide { width: 44px; }
.library-selects { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 17px; width: 100%; }
.library-selects label, .standalone-select { display: flex; flex-direction: column; gap: 7px; font-size: 13px; font-weight: 700; }
.library-selects label { flex: 0 1 270px; }
.library-selects select, .standalone-select select { font-size: 15px; font-weight: 500; }
.curriculum-shell { width: calc(100% - var(--gutter) * 2); max-width: 1160px; margin: 0 auto; padding: 44px 0 86px; }
.curriculum-shell > .lesson-back { margin-bottom: 28px; }
.curriculum-hero { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 52px 48px; overflow: hidden; border: 1px solid #E1AE2B; border-radius: 22px; background: radial-gradient(ellipse at top right, #FFCE3B85, transparent 60%), linear-gradient(130deg,#FFF4CD,#FFE7A0); box-shadow: 0 14px 38px #78510B0D; }
.curriculum-hero > div { min-width: 0; max-width: 900px; }
.curriculum-hero > .ginkgo-guide { align-self: flex-start; width: 96px; margin-top: 14px; opacity: .95; }
.curriculum-hero .eyebrow { margin-bottom: 19px; font-size: 12px; }
.curriculum-hero h1 { max-width: 920px; font-size: clamp(39px, 4.7vw, 63px); line-height: 1.08; letter-spacing: -.04em; overflow-wrap: anywhere; }
.curriculum-lead { max-width: 750px; margin: 23px 0 0; font-size: 19px; line-height: 1.8; }
.curriculum-guide { margin: 31px 0; }
.curriculum-section { margin: 49px 0; }
.curriculum-section > .section-intro { margin-bottom: 28px; }
.curriculum-section h2 { font-size: 40px; }
.curriculum-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 22px; margin-top: 44px; padding-top: 26px; border-top: 1px solid #D9BE86; }
.principle-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; margin: 0; padding: 0; list-style: none; }
.principle-list li { display: flex; align-items: flex-start; gap: 19px; min-width: 0; padding: 26px; border: 1px solid #E0C488; border-radius: 13px; background: #FFF9EA; }
.principle-number { flex: 0 0 auto; color: #775717; font-family: var(--serif); font-size: 31px; line-height: 1.3; }
.principle-list p { margin: 0; font-size: 18px; line-height: 1.65; }
.system-introduction { display: grid; grid-template-columns: 1.15fr 1fr; align-items: start; gap: 45px; margin: 39px 0; }
.system-description { font-size: 18px; line-height: 1.85; }
.availability-label { display: inline-block; max-width: 100%; margin: 8px 0 0; padding: 8px 13px; border: 1px solid #DFB342; border-radius: 8px; background: #FFF0B5; font-size: 13px; font-weight: 700; line-height: 1.7; }
.system-goals { padding: 27px; border: 1px solid #DDC381; border-radius: 15px; background: #FFF8E6; }
.system-goals ul { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.system-goals li { display: flex; align-items: flex-start; gap: 11px; font-size: 16px; line-height: 1.7; }
.system-goals .icon { width: 19px; height: 19px; margin-top: 5px; color: #5E652F; stroke-width: 2; }
.system-content-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.system-content-heading .eyebrow { margin-bottom: 10px; }
.system-content-heading > label { min-width: 190px; }
.module-section { margin: 30px 0 42px; }
.module-heading { display: flex; align-items: flex-start; gap: 21px; margin: 0 0 25px; padding-top: 25px; border-top: 1px solid #E1CCA5; }
.module-number { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 49px; height: 49px; border-radius: 50%; background: #FFD55A; font-family: var(--serif); font-size: 23px; font-weight: 700; }
.module-heading .eyebrow { margin: 0 0 7px; font-size: 11px; }
.module-heading h3 { margin-bottom: 10px; font-size: 31px; }
.module-heading p:not(.eyebrow) { max-width: 800px; margin: 0; font-size: 16px; }
.module-empty { margin: 0; padding: 25px; border: 1px dashed #CFB371; border-radius: 12px; background: #FFF9EA; font-size: 16px; }
.journey-intro { max-width: 850px; margin: 34px 0 0; font-size: 18px; line-height: 1.85; }
.path-picker { display: flex; flex-wrap: wrap; gap: 11px; margin: 26px 0; }
.journey-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 21px; margin: 0; padding: 0; list-style: none; }
.journey-day { display: flex; flex-direction: column; min-width: 0; padding: 26px; border: 1px solid #DABF84; border-radius: 15px; background: #FFFDF6; }
.journey-day.is-available { border-color: #DCA525; border-top: 4px solid #EFB21B; background: linear-gradient(145deg,#FFF0B9,#FFFAEC); box-shadow: 0 6px 20px #7750170A; }
.day-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 9px; margin-bottom: 21px; }
.day-number { color: var(--bark); font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.availability-badge { padding: 4px 8px; border: 1px solid #DCC793; border-radius: 6px; background: #F9F2E1; color: #48341C; font-size: 10px; font-weight: 700; line-height: 1.5; }
.is-available .availability-badge { border-color: #CDA333; background: #FFE18A; }
.journey-day h3 { margin-bottom: 15px; font-size: 27px; line-height: 1.2; }
.journey-day > p { font-size: 15px; line-height: 1.8; }
.journey-day .card-read { padding-top: 14px; border-top: 1px solid #E3CA88; font-size: 14px; line-height: 1.6; }
.journey-day .card-read .icon { margin-left: auto; }
.rules-tools { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 19px; }
.rules-tools .search-field { flex: 1 1 300px; }
.rules-tools .standalone-select { flex: 1 1 260px; }
.rule-chapter { margin: 0 0 19px; overflow: clip; border: 1px solid #DBC087; border-radius: 16px; background: #FFFDF7; }
.rule-chapter > summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 30px; background: #FFF2C6; cursor: pointer; list-style: none; }
.rule-chapter > summary::-webkit-details-marker { display: none; }
.rule-chapter > summary::after { content: '+'; font-size: 28px; font-weight: 400; line-height: 1; }
.rule-chapter[open] > summary::after { content: '−'; }
.rule-chapter > summary > span:first-child { flex: 1; }
.rule-chapter > summary .eyebrow { display: block; margin-bottom: 6px; font-size: 10px; }
.chapter-title { display: block; font-family: var(--serif); font-size: 28px; font-weight: 700; line-height: 1.25; letter-spacing: -.025em; }
.chapter-count { font-size: 13px; font-weight: 600; white-space: nowrap; }
.rule-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 25px; padding: 8px 29px 10px; }
.rule-card { display: flex; align-items: flex-start; gap: 17px; min-width: 0; padding: 26px 0; border-bottom: 1px solid #E6D6B5; }
.rule-number { flex: 0 0 auto; margin-top: 2px; color: #715315; font-size: 13px; font-weight: 800; line-height: 1.9; }
.rule-card > div { min-width: 0; }
.rule-card h3 { margin-bottom: 11px; font-size: 23px; line-height: 1.3; }
.rule-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #C49019; }
.rule-card p { margin-bottom: 14px; font-size: 15px; line-height: 1.75; }
.rule-card .text-link { font-size: 13px; }
.workbook-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; margin: 31px 0; }
.exercise-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.exercise-card { display: flex; flex-direction: column; min-width: 0; padding: 30px; border: 1px solid #D6B775; border-radius: 16px; background: #FFF8E3; transition: border-color .2s ease, box-shadow .2s ease; }
.exercise-card:hover { border-color: #B48215; box-shadow: 0 12px 28px #73501C12; }
.exercise-card .eyebrow { font-size: 10px; line-height: 1.7; }
.exercise-card h3 { margin-bottom: 14px; font-size: 29px; }
.exercise-card p { font-size: 16px; }
.exercise-card .card-read { padding-top: 10px; }
.exercise-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 21px; margin-top: 30px; }
.workbook-storage-note { max-width: 850px; margin: 22px 0; padding-left: 17px; border-left: 3px solid #D99A00; font-size: 14px; line-height: 1.8; }
.exercise-paper { max-width: 920px; margin: 35px auto 0; padding: 44px 48px; border: 1px solid #D8C397; border-radius: 18px; background: #FFFEFB; box-shadow: 0 13px 35px #78510B0C; }
.exercise-paper h2 { margin-bottom: 25px; font-size: 36px; }
.exercise-instructions { margin-bottom: 40px; }
.exercise-tracker { margin-bottom: 45px; }
.workbook-prompt { margin: 30px 0; }
.workbook-question { display: flex; align-items: flex-start; gap: 14px; margin: 0 0 13px; font-size: 17px; font-weight: 700; line-height: 1.7; }
.workbook-question > span { flex: 0 0 auto; color: #805E18; font-size: 13px; line-height: 2.2; }
.habit-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 11px; margin-top: 24px; }
.habit-day { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 86px; padding: 13px 7px; border: 1px solid #DCBF79; border-radius: 10px; background: #FFF6DA; font-size: 12px; font-weight: 700; cursor: pointer; }
.habit-day:has(input:checked) { border-color: #BC8A13; background: #FFDF7C; }
.habit-day input { width: 23px; height: 23px; margin: 0; cursor: pointer; }
.workbook-signature { margin: 36px 0 0; padding-top: 22px; border-top: 1px solid #E3D0A6; font-family: var(--serif); font-size: 24px; font-style: italic; text-align: center; }
.print-answer { display: none; }
.lesson-connections { max-width: 760px; margin-right: auto; margin-left: auto; padding: 30px; border: 1px solid #DAB86B; border-radius: 15px; background: #FFF6DC; }
.lesson-connections h2 { font-size: 33px; }
.connection-group + .connection-group { margin-top: 26px; }
.connection-group h3 { margin: 0 0 14px; font-family: var(--sans); font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.connection-links { display: flex; flex-direction: column; gap: 10px; }
.connection-links a { display: flex; align-items: center; gap: 12px; min-height: 45px; padding: 10px 13px; border: 1px solid #DEC68F; border-radius: 8px; background: #FFFCF0; font-size: 15px; font-weight: 600; line-height: 1.6; }
.connection-links a:hover { border-color: #AF831B; background: #FFF0B9; }
.connection-links a .icon:last-child { width: 18px; height: 18px; margin-left: auto; }
.system-card h3, .system-card p, .learning-entrance h3, .learning-entrance p, .journey-day h3, .journey-day p, .exercise-card, .rule-card, .module-heading, .system-description, .system-goals, .principle-list, .connection-links, .workbook-question { overflow-wrap: anywhere; }

@media (min-width:1025px) and (max-width:1200px) {
  .menu-toggle { display: flex; }
  #main-nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 4px; padding: 15px; border: 1px solid #DABB7F; border-radius: 0 0 16px 16px; background: var(--paper); box-shadow: 0 17px 35px #49301517; }
  #main-nav.is-open { display: flex; }
  #main-nav > a { padding: 14px; font-size: 16px; }
  #main-nav > .button { margin: 7px 0 0; font-size: 16px; }
}
@media (max-width:1024px) {
  .learning-entrances { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
  .learning-entrance { padding: 28px; }
  .learning-entrance h3 { font-size: 30px; }
  .system-card { padding: 25px; }
  .system-card h3 { font-size: 28px; }
  .curriculum-hero { padding: 43px 35px; }
  .curriculum-hero > .ginkgo-guide { width: 77px; }
  .journey-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:900px) {
  .system-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .system-introduction { grid-template-columns: 1fr; gap: 22px; }
  .system-goals { max-width: none; }
  .system-goals ul { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
  .footer-inner nav { max-width: 450px; gap: 17px 24px; }
  .curriculum-hero > .ginkgo-guide { width: 61px; }
  .rule-list { grid-template-columns: 1fr; }
}
@media (max-width:720px) {
  .learning-home > .section { padding-top: 53px; padding-bottom: 55px; }
  .curriculum-shell { padding-top: 32px; padding-bottom: 65px; }
  .curriculum-hero { gap: 13px; padding: 35px 28px; }
  .curriculum-hero h1 { font-size: 43px; }
  .curriculum-hero > .ginkgo-guide { display: none; }
  .curriculum-lead { font-size: 18px; }
  .curriculum-section h2 { font-size: 35px; }
  .principle-list { grid-template-columns: 1fr; }
  .system-content-heading { align-items: flex-start; flex-direction: column; gap: 21px; }
  .system-content-heading > label { width: 100%; }
  .exercise-grid { grid-template-columns: 1fr; }
  .exercise-paper { padding: 33px 28px; }
  .habit-grid { gap: 9px; }
  .habit-day { min-height: 78px; }
  .lesson-connections { padding: 26px; }
  .system-goals ul { grid-template-columns: 1fr; gap: 13px; }
}
@media (max-width:560px) {
  .learning-entrances { grid-template-columns: 1fr; gap: 14px; }
  .learning-entrance { display: grid; grid-template-columns: 1fr auto; gap: 0 14px; padding: 23px; }
  .entrance-top { grid-column: 2; grid-row: 1 / 3; align-items: flex-start; }
  .entrance-top > span { display: none; }
  .learning-entrance h3 { grid-column: 1; margin-bottom: 9px; font-size: 29px; }
  .learning-entrance p { grid-column: 1; margin-bottom: 16px; font-size: 15px; }
  .learning-entrance .card-read { grid-column: 1 / -1; }
  .systems-home-heading { margin-top: 43px; gap: 17px; }
  .systems-home-heading h3 { font-size: 31px; }
  .systems-home-heading > .text-link { font-size: 14px; }
  .system-grid { grid-template-columns: 1fr; gap: 18px; }
  .system-card { min-height: 0; padding: 27px; }
  .system-card h3 { font-size: 31px; }
  .system-card-top { margin-bottom: 20px; }
  .system-card-bottom { font-size: 13px; }
  .start-guide { gap: 13px; padding: 18px; }
  .start-guide .ginkgo-guide { width: 37px; }
  .start-guide p { font-size: 15px; }
  .start-guide > .icon { display: none; }
  .library-selects { gap: 14px; }
  .library-selects label { flex-basis: 100%; }
  .curriculum-shell > .lesson-back { font-size: 14px; }
  .curriculum-hero { padding: 32px 24px; border-radius: 17px; }
  .curriculum-hero .eyebrow { margin-bottom: 16px; font-size: 10px; }
  .curriculum-hero h1 { font-size: 38px; line-height: 1.12; }
  .curriculum-lead { margin-top: 20px; font-size: 17px; line-height: 1.8; }
  .curriculum-section { margin: 38px 0; }
  .curriculum-section h2 { font-size: 32px; }
  .principle-list li { padding: 23px; gap: 15px; }
  .principle-number { font-size: 27px; }
  .principle-list p { font-size: 17px; }
  .system-description { font-size: 17px; }
  .system-goals { padding: 24px; }
  .module-heading { gap: 15px; }
  .module-number { width: 41px; height: 41px; font-size: 21px; }
  .module-heading h3 { font-size: 28px; }
  .journey-grid { grid-template-columns: 1fr; gap: 18px; }
  .journey-day { padding: 25px; }
  .journey-day h3 { font-size: 28px; }
  .journey-intro { font-size: 17px; }
  .day-number { font-size: 13px; }
  .availability-badge { font-size: 11px; }
  .rule-chapter > summary { gap: 13px; padding: 23px; }
  .chapter-title { font-size: 25px; }
  .chapter-count { display: none; }
  .rule-list { padding: 2px 23px 6px; }
  .rule-card { gap: 14px; padding: 25px 0; }
  .rule-card h3 { font-size: 24px; }
  .rule-number { font-size: 11px; }
  .rule-card .text-link { font-size: 13px; }
  .exercise-card { padding: 27px; }
  .exercise-card h3 { font-size: 29px; }
  .exercise-paper { margin-top: 28px; padding: 28px 22px; }
  .exercise-paper h2 { font-size: 30px; }
  .workbook-question { font-size: 16px; }
  .workbook-question > span { font-size: 12px; }
  .habit-grid { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; }
  .habit-day { min-height: 75px; padding: 12px 3px; font-size: 10px; }
  .habit-day input { width: 22px; height: 22px; }
  .workbook-signature { font-size: 21px; }
  .connection-links a { padding: 12px; font-size: 14px; }
  .lesson-connections { padding: 24px; }
  .lesson-connections h2 { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .learning-entrance:hover, .system-card:hover { transform: none; }
}
@media print {
  body.curriculum-open #home-view { display: none !important; }
  #curriculum-view.exercise-open > .curriculum-shell > .curriculum-section { display: none !important; }
  .curriculum-shell { width: 100%; max-width: none; margin: 0; padding: 0; }
  .curriculum-hero { display: block; margin-bottom: 22px; padding: 0 0 18px; border: 0; border-bottom: 1px solid #AAA; border-radius: 0; background: white; box-shadow: none; }
  .curriculum-hero h1 { max-width: none; font-size: 27pt; }
  .curriculum-hero .eyebrow { font-size: 9pt; }
  .curriculum-lead { max-width: none; margin-top: 13px; font-size: 12pt; line-height: 1.6; }
  .curriculum-bottom, .rules-tools, .library-selects, .standalone-select, .path-picker, .exercise-actions, .workbook-storage-note, .workbook-intro, .lesson-connections, .results-count { display: none !important; }
  .curriculum-section { margin: 24px 0; }
  .curriculum-section h2, .exercise-paper h2 { font-size: 18pt; }
  .curriculum-guide, .catalog-note { display: none !important; }
  .system-grid, .principle-list, .journey-grid, .exercise-grid, .rule-list { display: block; }
  .system-card, .journey-day, .exercise-card, .principle-list li { margin-bottom: 15px; padding: 15px; border: 1px solid #BBB; border-radius: 0; background: white !important; box-shadow: none; break-inside: avoid; }
  .system-card h3, .journey-day h3, .exercise-card h3 { font-size: 17pt; }
  .system-card > p, .journey-day > p, .exercise-card > p, .principle-list p, .system-description { font-size: 11pt; }
  .system-introduction { display: block; margin-top: 20px; }
  .system-goals { margin-top: 15px; padding: 15px; border-color: #BBB; background: white; }
  .system-goals li { font-size: 10pt; }
  .rule-chapter { margin-bottom: 20px; overflow: visible; border: 0; border-radius: 0; }
  .rule-chapter > summary { display: block; padding: 13px 0; border-bottom: 1px solid #BBB; background: white; break-after: avoid; }
  .rule-chapter > summary::after, .chapter-count { display: none; }
  .rule-chapter::details-content { display: block !important; content-visibility: visible !important; }
  .chapter-title { font-size: 18pt; }
  .rule-list { padding: 0; }
  .rule-card { padding: 13px 0; break-inside: avoid; }
  .rule-card h3 { font-size: 13pt; }
  .rule-card p { font-size: 10pt; }
  .rule-card .text-link { display: none; }
  .exercise-paper { width: 100%; max-width: none; margin: 0; padding: 0; border: 0; background: white; box-shadow: none; }
  .exercise-paper textarea { display: none !important; }
  .workbook-prompt { margin: 22px 0; break-inside: avoid; }
  .workbook-question { font-size: 11pt; }
  .workbook-question > span { font-size: 9pt; }
  .print-answer { display: block; min-height: 26mm; padding: 8px 0; border-bottom: 1px solid #AAA; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 11pt; line-height: 1.7; }
  .print-answer:empty { background: repeating-linear-gradient(transparent,transparent 8mm,#CCC 8mm,#CCC 8.2mm); }
  #tracker-intention-print { min-height: 12mm; }
  .habit-grid { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 8px; break-inside: avoid; }
  .habit-day { min-height: 57px; padding: 8px; border: 1px solid #888; border-radius: 0; background: white !important; color: #222; font-size: 9pt; }
  .habit-day input { appearance: auto; width: 18px; height: 18px; accent-color: #222; }
  .workbook-signature { margin-top: 22px; font-size: 13pt; }
}
