/* CVBUFFED Academy. The CV's own warm paper, ink type, yellow as a highlighter (never as small text), purple for links.
   Contrast on --paper: ink 15:1, #3D3A33 10:1, paper-mute 6.2:1, accent-ink 6:1, violet-ink 6:1. Static first; motion only explains. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body.ac { margin: 0; background: var(--paper); color: var(--paper-ink); font: 400 18px/1.65 var(--sans); }
.ac img { max-width: 100%; height: auto; }
.a-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.a-skip { position: absolute; left: 12px; top: -80px; z-index: 9; background: var(--accent); color: #111; padding: 10px 14px; border-radius: 10px; font-weight: 800; }
.a-skip:focus { top: 12px; }
.ac :focus-visible { outline: 3px solid var(--violet-ink); outline-offset: 3px; border-radius: 6px; }
.ac a { color: var(--violet-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ac a:hover { text-decoration-thickness: 2px; }
.ac mark { background: #FFF19A; color: inherit; padding: 0 .15em; border-radius: 3px; }
.a-label, .a-kick, .a-tag { font: 500 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; margin: 0; color: var(--paper-mute); }
.a-kick { color: var(--accent-ink); font-weight: 500; }
.a-help { color: var(--paper-mute); font-size: 16px; line-height: 1.55; }
.a-private { font-size: 15px; color: var(--paper-mute); margin: 0; flex: 1 1 240px; }

/* buttons: 48px tall, text never relies on colour */
.a-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--paper-ink);
  background: var(--paper-ink); color: var(--white) !important; font: 800 16px/1 var(--sans); text-decoration: none !important; cursor: pointer; transition: transform .18s var(--ease), background .18s; }
.a-btn:hover { transform: translateY(-1px); }
.a-btn--yellow { background: var(--accent); border-color: var(--accent); color: #111 !important; }
.a-btn--line { background: transparent; color: var(--paper-ink) !important; }
.a-btn--quiet { background: transparent; color: var(--paper-ink) !important; border: 1.5px solid var(--paper-rule); min-height: 44px; padding: 0 16px; font-weight: 600; font-size: 15px; }
.a-btn--quiet:hover { border-color: var(--paper-ink); }
.a-btn[aria-pressed="true"] { background: var(--paper-ink); color: var(--white) !important; border-color: var(--paper-ink); }

/* top bar */
.a-top { border-bottom: 1px solid var(--paper-rule); padding-top: var(--safe-t); background: var(--paper); }
.a-bar { display: flex; align-items: center; justify-content: space-between; gap: 6px 20px; flex-wrap: wrap; min-height: 68px; }
.a-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--paper-ink) !important; text-decoration: none !important; font: 900 18px/1 var(--sans); letter-spacing: -.02em; min-height: 44px; }
.a-brand img { border-radius: 7px; }
.a-brand-sub { font: 400 italic 17px/1 var(--serif); letter-spacing: 0; padding: 4px 9px 5px; background: var(--accent); border-radius: 6px; }
.a-nav { display: flex; align-items: center; gap: 0 18px; flex-wrap: wrap; font-size: 15px; }
.a-nav a { color: var(--paper-ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.a-nav a:hover { text-decoration: underline; }
.a-nav .a-nav-product { color: var(--paper-mute); }
@media (max-width: 560px) { .a-nav { gap: 0 14px; font-size: 14.5px; } .a-nav .a-nav-product { display: none; } }

/* lesson masthead */
.a-hero-l { padding-top: clamp(22px, 4vw, 44px); padding-bottom: clamp(26px, 4vw, 40px); }
.a-crumbs ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 14.5px; color: var(--paper-mute); }
.a-crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--paper-rule); }
.a-crumbs a { color: var(--paper-mute); }
.a-hero-l h1 { margin: 12px 0 16px; max-width: 19ch; font: 900 clamp(36px, 6vw, 68px)/1 var(--sans); letter-spacing: -.045em; text-wrap: balance; }
.a-dek { margin: 0; max-width: 58ch; color: #3D3A33; font-size: clamp(18px, 2vw, 21px); line-height: 1.55; text-wrap: pretty; }
.a-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 18px 0 0; font: 500 12.5px/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--paper-mute); }
.a-obj { margin-top: 24px; max-width: 62ch; padding: 14px 18px 14px 20px; background: #FBF9F4; border: 1px solid var(--paper-rule); border-left: 5px solid var(--accent); border-radius: 12px; }
.a-obj p { margin: 0; }
.a-obj p + p { margin-top: 4px; font-weight: 600; }
.a-wut ol { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.a-wut a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 6px; border-radius: 999px; border: 1.5px solid var(--paper-rule); color: var(--paper-ink); text-decoration: none; font-weight: 700; font-size: 15px; }
.a-wut a span { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--paper-2); font: 500 12px var(--mono); }
.a-wut a:hover { border-color: var(--paper-ink); }
.a-wut a:hover span { background: var(--accent); }

/* reading grid */
.a-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: clamp(20px, 3vw, 36px); padding-bottom: clamp(36px, 6vw, 64px); border-top: 1px solid var(--paper-rule); }
@media (min-width: 1000px) { .a-grid { grid-template-columns: 210px minmax(0, 70ch); gap: 64px; } .a-toc { position: sticky; top: 24px; align-self: start; } }
@media (max-width: 999px) { .a-toc { display: none; } }
.a-toc { font-size: 15px; }
.a-toc .a-label { margin-bottom: 8px; }
.a-toc ol { margin: 0; padding: 0; list-style: none; }
.a-toc li { padding: 6px 0; border-bottom: 1px solid var(--paper-rule); line-height: 1.4; }
.a-toc a { color: var(--paper-ink); text-decoration: none; }
.a-toc a:hover { text-decoration: underline; }

.a-body { min-width: 0; max-width: 70ch; }
.a-body > :first-child { margin-top: 0; }
.a-body h2 { margin: 2em 0 .5em; font: 800 clamp(25px, 3vw, 32px)/1.15 var(--sans); letter-spacing: -.025em; text-wrap: balance; }
.a-body h3 { margin: 1.6em 0 .4em; font: 800 21px/1.25 var(--sans); letter-spacing: -.01em; }
.a-body p, .a-body li { color: #2C2A26; }
.a-body p { margin: 0 0 1em; }
.a-body ul, .a-body ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.a-body li { margin: .4em 0; }
.a-body li::marker { color: var(--accent-ink); font-weight: 700; }
.a-body strong { color: var(--paper-ink); }
.a-body code { font: 500 .85em var(--mono); background: var(--paper-2); padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere; }
.a-body blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent-ink); font-family: var(--serif); font-style: italic; }

/* the short answer */
.a-answer { margin: 0 0 2em; padding: clamp(18px, 3vw, 26px); background: #FFF6B8; border-radius: 16px; }
.a-answer .a-label { margin: 0 0 8px; color: #4A3F00; }
.a-answer p { color: var(--paper-ink); font-size: 19px; line-height: 1.6; }
.a-answer p:last-child { margin-bottom: 0; }

/* before and after */
.a-compare { margin: 1.6em 0; }
.a-compare > figcaption { margin-bottom: 10px; }
.a-pair { display: grid; gap: 10px; }
@media (min-width: 640px) { .a-pair { grid-template-columns: 1fr 1fr; } }
.a-before, .a-after { padding: 16px 18px; border-radius: 14px; }
.a-before { background: var(--paper-2); }
.a-before p:last-child { color: #4A463E; font-family: var(--serif); font-size: 17px; margin: 0; }
.a-after { background: #FBF9F4; border: 1px solid var(--paper-rule); box-shadow: inset 4px 0 0 var(--accent); }
.a-after p:last-child { color: var(--paper-ink); font-family: var(--serif); font-size: 17px; margin: 0; }
.a-tag { margin-bottom: 6px; display: inline-flex; align-items: center; gap: 8px; }
.a-before .a-tag::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--paper-mute); }
.a-after .a-tag { color: var(--paper-ink); font-weight: 600; }
.a-after .a-tag::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--paper-ink); }
.a-why { margin: 10px 0 0 !important; font-size: 16.5px; }
.a-why .a-label { display: inline; margin-right: 6px; }

/* a fragment written as it would appear */
.a-ex { margin: 1.4em 0; padding: 18px 20px 16px; background: #FBF9F4; border: 1px solid var(--paper-rule); border-radius: 14px; box-shadow: 0 10px 30px -20px rgba(26, 25, 22, .3); }
.a-ex figcaption { margin-bottom: 8px; }
.a-ex p { margin: 0 0 .6em; font-family: var(--serif); font-size: 17.5px; line-height: 1.6; color: var(--paper-ink); }
.a-ex p:last-child { margin: 0; }

.a-note { margin: 1.6em 0; padding: 16px 18px; background: #FBF9F4; border-left: 4px solid var(--violet-ink); border-radius: 0 14px 14px 0; }
.a-note .a-label { color: var(--violet-ink); margin-bottom: 6px; }
.a-note p:last-child, .a-note ul:last-child { margin-bottom: 0; }

.a-recap { margin: 2.4em 0 1.6em; padding-top: 14px; border-top: 2px solid var(--paper-ink); }
.a-recap h2.a-label { margin: 0 0 8px; font: 500 12px/1.4 var(--mono); letter-spacing: .1em; color: var(--paper-mute); }
.a-recap ul { margin-bottom: 0; }

/* TRY and tools: the one place the page asks something of you */
.a-try, .a-tool { margin: 2.2em 0; padding: clamp(20px, 3.4vw, 30px); background: #FBF9F4; border: 2px solid var(--paper-ink); border-radius: 20px; }
.a-try > .a-kick, .a-tool > .a-kick { display: inline-block; background: var(--accent); color: #111; padding: 4px 9px; border-radius: 6px; font-weight: 500; }
.a-try h2, .a-tool h2 { margin: 12px 0 10px; font: 800 clamp(23px, 2.6vw, 28px)/1.2 var(--sans); letter-spacing: -.02em; }
.a-field { margin: 18px 0 0; }
.a-field label { display: block; font-weight: 700; margin-bottom: 6px; line-height: 1.4; }
.a-field textarea, .a-field input[type=text] { width: 100%; font: 400 17px/1.55 var(--sans); color: var(--paper-ink); background: #fff; border: 1.5px solid var(--paper-rule); border-radius: 12px; padding: 12px 14px; resize: vertical; }
.a-field textarea:focus, .a-field input:focus { border-color: var(--paper-ink); }
.a-field .a-help { margin: -2px 0 8px; }
.a-try-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--paper-rule); }
.a-check { margin: 1.6em 0; padding: 18px 20px 14px; background: #FBF9F4; border: 1px solid var(--paper-rule); border-radius: 16px; }
.a-check-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.a-check h3 { margin: 0 !important; font-size: 19px !important; }
.a-count { margin: 0 !important; font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--paper-mute) !important; }
.a-check ul { list-style: none; padding: 0; margin: 10px 0 0; }
.a-check li { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 9px 0; border-top: 1px solid var(--paper-2); }
.a-check input { flex: none; width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--paper-ink); cursor: pointer; }
.a-check label { cursor: pointer; line-height: 1.5; }
.a-check input:checked + label { color: var(--paper-mute); }
.a-check .a-try-tools { margin-top: 6px; padding-top: 12px; }

.a-tpl { margin: 1.4em 0; background: #fff; border: 1px solid var(--paper-rule); border-radius: 14px; overflow: hidden; }
.a-tpl figcaption { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 8px 8px 18px; background: var(--paper-2); }
.a-tpl pre { margin: 0; padding: 16px 18px; white-space: pre-wrap; overflow-wrap: anywhere; font: 400 16.5px/1.6 var(--sans); color: var(--paper-ink); }

.a-cta { margin: 2.6em 0 1em; padding: clamp(22px, 4vw, 32px); background: var(--char); color: var(--white); border-radius: 20px; }
.a-cta p { color: var(--grey-2) !important; margin: 0 0 18px; }
.a-cta .a-cta-t { color: var(--white) !important; font: 800 22px/1.25 var(--sans); letter-spacing: -.02em; margin-bottom: 8px; }
.a-cta :focus-visible { outline-color: var(--accent); }

.a-sources { margin-top: 3em; padding-top: 14px; border-top: 1px solid var(--paper-rule); font-size: 15.5px; }
.a-sources h2 { font: 800 18px/1.3 var(--sans) !important; margin: 0 0 10px !important; }
.a-sources li span { color: var(--paper-mute); font-size: 14px; }
.a-sources li span::before { content: "· "; }

.a-next { padding-top: 8px; }
.a-next h2 { font: 800 22px/1.2 var(--sans); margin: 0 0 14px; }
.a-next ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.a-next a { display: grid; gap: 6px; align-content: start; height: 100%; padding: 18px 20px; border: 1px solid var(--paper-rule); border-radius: 16px; background: #FBF9F4; color: var(--paper-ink); text-decoration: none; transition: border-color .2s; }
.a-next a:hover { border-color: var(--paper-ink); }
.a-next b { font: 800 18px/1.25 var(--sans); }
.a-next a > span:last-child { font-size: 15px; color: var(--paper-mute); line-height: 1.5; }
.a-pn { display: flex; justify-content: space-between; gap: 12px; margin: 28px 0 clamp(48px, 8vw, 88px); }
.a-pn a { display: grid; gap: 2px; min-height: 48px; padding: 10px 0; color: var(--paper-ink); text-decoration: none; font-weight: 700; max-width: 48%; }
.a-pn a:hover { text-decoration: underline; }
.a-pn .a-nextl { text-align: right; margin-left: auto; }

.a-table { margin: 1.4em 0; overflow-x: auto; border: 1px solid var(--paper-rule); border-radius: 14px; background: #FBF9F4; }
.a-table table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.45; min-width: 480px; }
.a-table caption { text-align: left; padding: 12px 16px 0; font: 800 17px var(--sans); }
.a-table th { text-align: left; font: 500 12.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--paper-mute); padding: 12px 16px; border-bottom: 2px solid var(--paper-ink); }
.a-table td { padding: 12px 16px; border-bottom: 1px solid var(--paper-rule); vertical-align: top; }
.a-table tr:last-child td { border-bottom: 0; }
.a-static { margin: 16px 0 0; font-size: 16px; }
.a-static summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }

/* question bank */
.a-bank { margin: 2em 0; }
.a-q { border-top: 1px solid var(--paper-rule); }
.a-q:last-of-type { border-bottom: 1px solid var(--paper-rule); }
.a-q summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 56px; padding: 10px 0; font: 800 19px/1.3 var(--sans); }
.a-q summary::-webkit-details-marker { display: none; }
.a-q summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--paper-rule); font: 400 20px/1 var(--sans); }
.a-q[open] summary::after { content: "\2212"; background: var(--accent); border-color: var(--accent); }
.a-q-b { padding: 0 0 18px; }
.a-q-b .a-label { margin: 14px 0 4px; }
.a-q-b p .a-label { display: block; }

/* hub lists */
.a-rows { list-style: none; margin: 0 0 clamp(32px, 5vw, 56px); padding: 0; border-top: 2px solid var(--paper-ink); }
.a-rows li { border-bottom: 1px solid var(--paper-rule); }
.a-rows a { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; padding: 18px 8px 18px 0; color: var(--paper-ink); text-decoration: none; transition: background .25s var(--ease), padding .25s var(--ease); border-radius: 0; }
.a-rows a:hover { background: #FFF6B8; padding-left: 10px; }
.a-num { font: 500 13px var(--mono); color: var(--paper-mute); align-self: start; padding-top: 5px; }
.a-row-t { display: grid; gap: 4px; }
.a-row-t b { font: 800 clamp(19px, 2.2vw, 23px)/1.25 var(--sans); letter-spacing: -.015em; }
.a-row-t span { color: var(--paper-mute); font-size: 16px; line-height: 1.5; }
.a-row-m { font: 500 12px var(--mono); color: var(--paper-mute); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.a-arrow { font-size: 26px; transition: transform .25s var(--ease); }
.a-rows a:hover .a-arrow { transform: translateX(4px); }
.a-rows--big a { padding-top: 22px; padding-bottom: 22px; }
.a-rows--big .a-row-t b { font-size: clamp(23px, 3.4vw, 36px); letter-spacing: -.03em; line-height: 1.1; }
@media (max-width: 560px) { .a-rows a { grid-template-columns: 34px minmax(0, 1fr); } .a-row-m, .a-arrow { display: none; } }
.a-hub-body { padding-bottom: clamp(48px, 8vw, 88px); }
.a-hub-body h2 { font-size: 22px !important; margin-top: 0 !important; }

/* CV document thumbnails */
.a-docs { list-style: none; margin: 0 0 clamp(36px, 6vw, 64px); padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.ac .a-doc { display: grid; gap: 14px; color: var(--paper-ink); text-decoration: none; }
.a-doc-paper { position: relative; display: flex; flex-direction: column; gap: 7px; aspect-ratio: 210 / 250; padding: 20px 18px; background: #fff; border-radius: 6px; box-shadow: 0 1px 0 rgba(26, 25, 22, .08), 0 22px 40px -26px rgba(26, 25, 22, .5); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.a-doc:hover .a-doc-paper { transform: translateY(-4px) rotate(-.6deg); box-shadow: 0 1px 0 rgba(26, 25, 22, .08), 0 30px 50px -26px rgba(26, 25, 22, .55); }
.a-doc-n { font: 700 17px/1.1 var(--serif); }
.a-doc-r { font: 500 9.5px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--paper-mute); margin-bottom: 6px; }
.a-doc-paper i { display: block; height: 5px; border-radius: 3px; background: #E3DED3; width: 92%; }
.a-doc-paper i.s { width: 64%; }
.a-doc-paper b { display: block; height: 7px; width: 34%; border-radius: 3px; background: var(--paper-ink); margin-top: 8px; }
.a-doc-paper::after { content: ""; position: absolute; right: 14px; top: 16px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); }
.a-doc-t { display: grid; gap: 4px; }
.a-doc-t b { font: 800 19px/1.2 var(--sans); }
.a-doc-t span { color: var(--paper-mute); font-size: 15px; line-height: 1.5; }

/* full example CV + notes */
.a-cv { margin: 1.8em 0; padding: 0; }
.a-cv-doc { background: #fff; border-radius: 6px; padding: clamp(22px, 5vw, 48px) clamp(18px, 5vw, 52px); box-shadow: 0 1px 0 rgba(26, 25, 22, .08), 0 30px 60px -36px rgba(26, 25, 22, .55); font-size: 15.5px; line-height: 1.55; color: var(--paper-ink); }
.a-cv-doc p, .a-cv-doc li { color: var(--paper-ink); }
.a-cv-name { font: 700 clamp(26px, 4vw, 34px)/1.1 var(--serif) !important; margin: 0 0 4px !important; }
.a-cv-role { font: 500 12px/1.4 var(--mono) !important; text-transform: uppercase; letter-spacing: .1em; color: var(--paper-mute) !important; margin: 0 0 6px !important; }
.a-cv-contact { font-size: 14px !important; color: var(--paper-mute) !important; margin: 0 0 18px !important; padding-bottom: 14px; border-bottom: 2px solid var(--paper-ink); overflow-wrap: anywhere; }
.a-cv-h { font: 800 13px/1.3 var(--sans) !important; letter-spacing: .12em; text-transform: uppercase; margin: 20px 0 8px !important; padding-bottom: 4px; border-bottom: 1px solid var(--paper-rule); }
.a-cv-item { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 12px; margin: 10px 0 2px !important; }
.a-cv-item span { color: var(--paper-mute); font-size: 14px; }
.a-cv-doc ul { margin: 4px 0 8px; padding-left: 1.1em; }
.a-cv-doc li { margin: 3px 0; }
.a-pin { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; margin-left: 6px; border-radius: 13px; background: var(--accent); color: #111 !important; font: 500 12.5px/1 var(--mono); text-decoration: none !important; vertical-align: 2px; letter-spacing: 0; text-transform: none; }
.a-pin:hover { background: var(--paper-ink); color: var(--accent) !important; }
.a-notes ol { list-style: none; padding: 0; margin: 0; }
.a-notes li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 14px 0; border-top: 1px solid var(--paper-rule); }
.a-notes li:target { background: #FFF6B8; border-radius: 10px; }
.a-notes li .a-pin { margin: 2px 0 0; }
.a-notes p { margin: 0 0 4px; }
.a-back { font-size: 14.5px; }

/* HOME */
.a-hero { display: grid; gap: 20px 40px; align-items: center; padding-top: clamp(28px, 6vw, 72px); padding-bottom: clamp(28px, 5vw, 56px); }
@media (min-width: 860px) { .a-hero { grid-template-columns: minmax(0, 1fr) 380px; } }
.a-hero h1 { margin: 14px 0 18px; font: 900 clamp(46px, 8.6vw, 108px)/.94 var(--sans); letter-spacing: -.05em; text-wrap: balance; }
.a-hero h1 em { font: 400 italic 1em/1 var(--serif); letter-spacing: -.035em; background: linear-gradient(transparent 62%, var(--accent) 62%, var(--accent) 92%, transparent 92%); padding: 0 .04em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.a-hero .a-dek { font-size: clamp(19px, 2.3vw, 24px); color: #3D3A33; }
.a-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.a-trust { margin: 16px 0 0; font: 500 13px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--paper-mute); }
.a-hero-photo { margin: 0; width: 100%; border-radius: 28px; overflow: hidden; background: #1A1712; box-shadow: 0 34px 60px -24px rgba(26, 23, 18, .45), 0 0 0 1px rgba(26, 23, 18, .06); }
.a-hero-photo img { display: block; width: 100%; height: auto; }
@media (max-width: 859px) {
  .a-hero-photo { order: -1; border-radius: 22px; }
  .a-hero-photo img { aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 52%; }
}
.a-paths, .a-feat, .a-exs, .a-res, .a-invite { padding-top: clamp(36px, 6vw, 72px); }
.a-paths h2, .a-feat h2, .a-exs h2, .a-res h2, .a-invite h2 { margin: 0 0 6px; font: 900 clamp(30px, 4.6vw, 52px)/1.02 var(--sans); letter-spacing: -.04em; text-wrap: balance; }
.a-paths .a-help, .a-exs .a-help { margin: 0 0 22px; max-width: 56ch; }
.a-cards { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.a-cards a { display: grid; gap: 8px; align-content: start; height: 100%; padding-top: 14px; border-top: 2px solid var(--paper-ink); color: var(--paper-ink); text-decoration: none; }
.a-cards b { font: 800 22px/1.2 var(--sans); letter-spacing: -.02em; }
.a-cards a > span:last-child { color: var(--paper-mute); font-size: 16px; line-height: 1.5; }
.a-cards a:hover b { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.a-band { margin-top: clamp(48px, 8vw, 96px); background: var(--char); color: var(--white); }
.a-band-in { padding-top: clamp(44px, 8vw, 96px); padding-bottom: clamp(44px, 8vw, 96px); }
.a-band .a-kick { color: var(--accent); }
.a-band h2 { margin: 14px 0 16px; max-width: 22ch; font: 900 clamp(30px, 5vw, 58px)/1.02 var(--sans); letter-spacing: -.04em; text-wrap: balance; }
.a-band p { color: var(--grey-2); max-width: 52ch; font-size: 19px; margin: 0 0 26px; }
.a-band :focus-visible { outline-color: var(--accent); }
.a-list { list-style: none; margin: 18px 0 14px; padding: 0; display: grid; gap: 0 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.a-list a { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--paper-rule); color: var(--paper-ink); text-decoration: none; }
.a-list b { font-weight: 800; }
.a-list span { color: var(--paper-mute); font-size: 15.5px; }
.a-list a:hover b { text-decoration: underline; }
.a-invite { padding-bottom: clamp(56px, 9vw, 110px); }
.a-invite h2 { font-size: clamp(26px, 3.4vw, 36px) !important; max-width: 26ch; }
.a-invite p { color: #3D3A33; max-width: 58ch; margin: 8px 0 20px; }

/* footer */
.a-foot { background: var(--char); color: var(--grey-2); padding: 44px 0 calc(40px + var(--safe-b)); font-size: 15.5px; }
.a-foot-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.a-foot p { margin: 0 0 8px; }
.a-foot-brand b { color: var(--white); font-size: 17px; }
.a-foot nav { display: flex; flex-direction: column; }
.a-foot .a-label { color: var(--grey); margin-bottom: 4px; }
.a-foot a { color: var(--grey-2); text-decoration: none; min-height: 40px; display: inline-flex; align-items: center; }
.a-foot a:hover { color: var(--white); text-decoration: underline; }
.a-foot .a-cs { align-self: flex-start; min-height: 40px; padding: 0; border: 0; background: none; color: var(--grey-2); font: inherit; text-decoration: underline; cursor: pointer; }
.a-foot .a-cs:hover { color: var(--white); }
.a-foot :focus-visible { outline-color: var(--accent); }

/* STAR scene: four scattered pieces assemble into one answer */
.a-scene { padding: clamp(28px, 5vw, 56px) 0; border-top: 1px solid var(--paper-rule); background: var(--paper-2); }
.a-scene .a-kick { color: #5C4B00; }
.a-scene h2 { margin: 10px 0 6px; font: 900 clamp(26px, 3.6vw, 40px)/1.05 var(--sans); letter-spacing: -.035em; }
.a-scene-q { font: 400 italic clamp(19px, 2.4vw, 24px)/1.4 var(--serif); margin: 0 0 22px; }
.a-sc-row { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.a-sc { position: relative; padding: 18px 18px 18px; background: #fff; border-radius: 14px; box-shadow: 0 16px 30px -24px rgba(26, 25, 22, .5); }
.a-sc-l { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--paper-ink); color: var(--accent); font: 900 30px/1 var(--sans); margin-bottom: 12px; }
.a-sc p { margin: 0; font-size: 16.5px; line-height: 1.5; }
.a-sc .a-label { margin-bottom: 6px; color: var(--paper-ink); }
@media (prefers-reduced-motion: no-preference) {
  .a-scene.is-ready .a-sc { opacity: 0; transform: translate(var(--dx, 0), 40px) rotate(var(--rot, 0deg)); filter: blur(6px); }
  .a-scene.is-ready .a-sc:nth-child(1) { --rot: -7deg; --dx: 20px; } .a-scene.is-ready .a-sc:nth-child(2) { --rot: 5deg; --dx: -10px; }
  .a-scene.is-ready .a-sc:nth-child(3) { --rot: -4deg; --dx: 14px; } .a-scene.is-ready .a-sc:nth-child(4) { --rot: 8deg; --dx: -18px; }
  .a-scene.is-playing .a-sc { animation: a-land .75s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(var(--i) * 1.1s + .2s); }
  .a-scene.is-playing .a-sc-l { animation: a-pop .5s cubic-bezier(.34, 1.56, .64, 1) both; animation-delay: calc(var(--i) * 1.1s + .5s); }
}
@keyframes a-land { from { opacity: 0; transform: translate(var(--dx, 0), 40px) rotate(var(--rot, 0deg)); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes a-pop { from { transform: scale(.6); } to { transform: none; } }

/* STAR builder */
.a-star-l { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 6px; border-radius: 8px; background: var(--paper-ink); color: var(--accent); font: 900 16px/1 var(--sans); vertical-align: -2px; }
.a-star-n { font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--paper-mute); margin-left: 6px; }
.a-star-card { margin-top: 20px; padding: 22px; background: #fff; border-radius: 14px; border: 1px solid var(--paper-rule); }
.a-star-cq { font: 400 italic 20px/1.4 var(--serif); margin: 6px 0 12px !important; }
.a-star-card ol { list-style: none; padding: 0; margin: 0; }
.a-star-card li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid var(--paper-2); }

/* Strengths Finder + Practice Room share a calm stage */
.a-stage-card { padding: clamp(18px, 3vw, 26px) 0 0; }
.a-progress { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font: 500 12.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--paper-mute); }
.a-progress-bar { flex: 1; height: 6px; background: var(--paper-2); border-radius: 3px; overflow: hidden; }
.a-progress-bar span { display: block; height: 100%; background: var(--paper-ink); border-radius: 3px; transition: width .4s var(--ease); }
.a-ask { margin: 0 0 6px; font: 800 clamp(22px, 3vw, 30px)/1.2 var(--sans); letter-spacing: -.02em; outline: none; }
.a-ask:focus-visible { outline: 3px solid var(--violet-ink); }
.a-hint { color: var(--paper-mute); margin: 0 0 16px; }
.a-row-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.a-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; padding: 0; border: 0; }
.a-chip { position: relative; display: inline-flex; }
.a-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.a-chip span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--paper-rule); background: #fff; cursor: pointer; font-weight: 700; font-size: 16px; }
.a-chip span::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--paper-mute); }
.a-chip input:checked + span { background: var(--paper-ink); color: var(--white); border-color: var(--paper-ink); }
.a-chip input:checked + span::before { background: var(--accent); border-color: var(--accent); }
.a-chip input:focus-visible + span { outline: 3px solid var(--violet-ink); outline-offset: 3px; }
.a-summary h3 { margin: 22px 0 8px; font: 800 20px/1.3 var(--sans); }
.a-summary ul { margin: 0; }

/* Practice Room: one question, nothing moving */
.a-room { margin: 0 0 clamp(36px, 6vw, 64px); padding: clamp(20px, 4vw, 40px); background: #FBF9F4; border: 2px solid var(--paper-ink); border-radius: 24px; }
.a-room fieldset { border: 0; margin: 0 0 22px; padding: 0; }
.a-room legend { font: 800 20px/1.3 var(--sans); margin-bottom: 12px; padding: 0; }
.a-choices { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.a-choices--n { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 620px; }
.a-choice { position: relative; display: block; cursor: pointer; }
.a-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.a-choice span { display: grid; gap: 2px; min-height: 64px; align-content: center; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--paper-rule); background: #fff; }
.a-choice small { color: var(--paper-mute); font-size: 14px; }
.a-choice input:checked + span { border-color: var(--paper-ink); box-shadow: inset 0 0 0 2px var(--paper-ink), inset 6px 0 0 var(--accent); }
.a-choice input:focus-visible + span { outline: 3px solid var(--violet-ink); outline-offset: 3px; }
.a-room-q { margin: 6px 0 10px; font: 900 clamp(28px, 4.6vw, 48px)/1.08 var(--sans); letter-spacing: -.035em; text-wrap: balance; outline: none; }
.a-room-q:focus-visible { outline: 3px solid var(--violet-ink); outline-offset: 6px; }
.a-room details { border-top: 1px solid var(--paper-rule); }
.a-room details:last-of-type { border-bottom: 1px solid var(--paper-rule); }
.a-room summary { cursor: pointer; min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 700; list-style: none; }
.a-room summary::-webkit-details-marker { display: none; }
.a-room summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--paper-rule); font-weight: 400; }
.a-room details[open] > summary::after { content: "\2212"; background: var(--accent); border-color: var(--accent); }
.a-room details > div { padding: 0 0 14px; }
.a-room .a-hints { margin: 18px 0; }
.a-self { margin-top: 18px; }
.a-room-done img { width: 120px; height: auto; float: right; margin: 0 0 10px 16px; }
.a-room-about { padding-bottom: clamp(48px, 8vw, 88px); }
.a-reset { margin: 1em 0 1.4em; }

/* gentle entrance on the home page only */
@media (prefers-reduced-motion: no-preference) {
  .a-is-home .a-hero-copy > * { animation: a-in .7s cubic-bezier(.16, 1, .3, 1) both; }
  .a-is-home .a-hero-copy > :nth-child(2) { animation-delay: .06s; } .a-is-home .a-hero-copy > :nth-child(3) { animation-delay: .14s; }
  .a-is-home .a-hero-copy > :nth-child(4) { animation-delay: .2s; } .a-is-home .a-hero-copy > :nth-child(5) { animation-delay: .24s; }
  .a-is-home .a-hero-photo { animation: a-photo 1s cubic-bezier(.16, 1, .3, 1) .2s both; }
  .a-is-home .a-hero-photo img { animation: a-photo-zoom 1.6s cubic-bezier(.16, 1, .3, 1) .2s both; }
}
@keyframes a-in { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes a-photo { from { transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes a-photo-zoom { from { transform: scale(1.08); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .ac *, .ac *::before, .ac *::after { transition: none !important; animation: none !important; } }

/* print: the lesson as a clean handout; a Print button on one activity prints only that activity */
@media print {
  body.ac { background: #fff; font-size: 12pt; }
  .a-top, .a-foot, .a-toc, .a-wut, .a-next, .a-pn, .a-cta, .a-skip, .a-try-tools, .a-scene button, .a-crumbs, .a-hero-photo, .a-hero-cta, .a-band, .a-invite { display: none !important; }
  .a-grid { display: block; border: 0; }
  .a-try, .a-tool, .a-check, .a-room { border: 1px solid #999; break-inside: avoid; }
  .a-field textarea { border: 1px solid #999; min-height: 5em; }
  .a-q { break-inside: avoid; }
  .a-q:not([open]) .a-q-b { display: none; }
  a { color: inherit !important; }
  body.a-print-one main > *:not(.a-printing-host), body.a-print-one .a-printing-host > *:not(.a-printing) { display: none !important; }
  body.a-print-one .a-body > *:not(.a-printing) { display: none !important; }
  body.a-print-one .a-grid > *:not(.a-body) { display: none !important; }
  .a-tracker-sheet { overflow: visible; }
  .a-tracker-sheet table { min-width: 0; font-size: 9pt; }
  .a-tracker-sheet td { height: 1.4cm; border: 1px solid #999; }
}

/* labels that are headings for structure keep the label look */
.a-body h2.a-label, .a-body h3.a-label { margin: 0 0 8px; font: 500 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--paper-mute); }
.a-body .a-answer h2.a-label { color: #4A3F00; }
.a-chips legend { width: 100%; margin-bottom: 8px; }
.a-room-setup .a-private { display: block; margin: 0 0 16px; }

.a-nosave { position: sticky; top: 0; z-index: 5; margin: 0; padding: 12px 16px; background: var(--paper-ink); color: var(--paper); font: 600 15px/1.45 var(--sans); text-align: center; }
