/* KMP Learning shared styles for inner pages (brand tokens from the Brand Council, Nov 22, 2026) */
@font-face { font-family: "Archivo"; src: url("fonts/archivo-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
/* Headings match the Educator Course (Chip, Nov 25, 2026): Barlow Condensed 600 and 800, self-hosted. Archivo stays for the KMP Learning wordmark only. */
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 500 699; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); font-weight: 700 900; font-display: swap; }
:root {
  /* Palette (Chip, Nov 22): deep teal, sand, green, sage, soft cream */
  --spruce: #173E45; --sunrise: #CBAF87; --glacier: #547564; --meadow: #8ABC8A; --snow: #F4EDE7;
  --ink-soft: #3D5A5C; --line: #DDD3C8;
  --display: "Barlow Condensed", "Arial Narrow", "Segoe UI", system-ui, sans-serif;
  --brand: "Archivo", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--snow); color: var(--spruce); font-family: var(--body); font-size: 18px; line-height: 1.55; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sunrise); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, .eyebrow, .fact b, .num { font-family: var(--display); }
.kmp, .learning { font-family: var(--brand); font-stretch: 112%; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: #fff; padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 16px; }

/* A strip of the home-page sunrise photo, so the cream, sunlit logo looks the same on every page (Chip, Nov 23). */
.topbar { color: var(--snow); position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px clamp(16px, 4vw, 40px); background: linear-gradient(rgba(23,62,69,.42), rgba(23,62,69,.30)), url("img/home-summit.jpg") center 0% / cover no-repeat, var(--spruce); box-shadow: 0 1px 0 rgba(0,0,0,.15); }
.topbar nav a { text-shadow: 0 1px 3px rgba(15,40,45,.7); }
.lockup { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.lockup img { height: 50px; width: auto; display: block; }
.lockup .kmp { font-weight: 800; font-size: 22px; letter-spacing: .02em; }
.lockup .learning { font-weight: 500; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; }
.topbar nav { display: flex; flex-wrap: wrap; gap: 6px clamp(12px, 2.4vw, 28px); font-weight: 600; font-size: 16px; }
.topbar nav a { text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.topbar nav a { color: var(--snow); }
.topbar nav a:hover { border-color: rgba(244,237,231,.5); }
.topbar nav a[aria-current="page"] { border-color: var(--sunrise); }

.hero { position: relative; overflow: hidden; color: #fff; padding: clamp(56px, 9vw, 104px) clamp(16px, 4vw, 40px) clamp(64px, 10vw, 120px);
  background: radial-gradient(120% 90% at 85% 0%, rgba(203,175,135,.26), rgba(203,175,135,0) 55%), linear-gradient(180deg, #173E45 0%, #1e4a4f 55%, #2f5c57 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 46%; pointer-events: none; opacity: .5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 200' preserveAspectRatio='none'%3E%3Cpath d='M0 200V120l90-40 80 30 110-70 90 50 120-80 100 60 90-30 130 70 110-50 120 40 160-60v200z' fill='%23ffffff' fill-opacity='.10'/%3E%3Cpath d='M0 200v-50l140-30 120 40 150-60 130 50 140-40 110 30 150-50 120 40 140-20v90z' fill='%23ffffff' fill-opacity='.10'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat; }
.hero .wrap { position: relative; z-index: 1; }
.hero .eyebrow { color: #b9d3c2; }
.hero h1 { font-weight: 800; font-size: clamp(38px, 6vw, 72px); line-height: 1.02; margin: 0 0 18px; text-wrap: balance; }
.hero p { max-width: 62ch; font-size: 21px; color: #eee6df; margin: 0 0 28px; }
.hero .accent { display: inline-block; width: 64px; height: 6px; border-radius: 3px; background: var(--accent, var(--sunrise)); margin-bottom: 18px; }

main section { padding: clamp(48px, 8vw, 96px) clamp(16px, 4vw, 40px); }
main section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wrap { max-width: 1120px; margin: 0 auto; }
.eyebrow { font-weight: 700; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 12px; }
h2 { font-weight: 800; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; margin: 0 0 14px; text-wrap: balance; }
h3 { font-weight: 800; font-size: 22px; line-height: 1.2; margin: 0 0 6px; }
.lead { max-width: 62ch; font-size: 20px; color: var(--ink-soft); margin: 0 0 32px; }
p { max-width: 68ch; }

.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; background: var(--sunrise); color: var(--spruce); font: 700 17px/1 var(--body); text-decoration: none; }
.btn:hover { background: #d8c09c; }
.btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); }
.btn.ghost:hover { background: rgba(255,255,255,.1); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.fact { border-top: 3px solid var(--accent, var(--sunrise)); padding-top: 14px; }
.fact b { display: block; font-weight: 800; font-size: 40px; line-height: 1; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.fact span { color: var(--ink-soft); }

.modules { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.modules li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.modules .num { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; font-weight: 800; font-size: 20px; background: color-mix(in srgb, var(--accent, var(--glacier)) 16%, #fff); color: var(--spruce); }
.modules p { margin: 0; color: var(--ink-soft); font-size: 17px; }
.modules .mins { font-weight: 700; font-size: 16px; color: var(--ink-soft); white-space: nowrap; font-variant-numeric: tabular-nums; }
.modules li.feature { border: 2px solid var(--sunrise); }

.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.panel ul { margin: 10px 0 0; padding-left: 20px; }
.panel li { margin: 6px 0; }
.bands { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.band { padding: 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--meadow); }
.band b { display: block; font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 19px; }
.band span { color: var(--ink-soft); font-size: 17px; }
.note { padding: 16px 18px; border-left: 4px solid var(--sunrise); background: #fff; color: var(--ink-soft); font-size: 17px; max-width: 72ch; }
.links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.links li { padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.links a { font-weight: 700; }
.links span { display: block; color: var(--ink-soft); font-size: 16px; }

footer { padding: 40px clamp(16px, 4vw, 40px); border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-soft); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
@media (max-width: 720px) {
  .modules li { grid-template-columns: 48px minmax(0, 1fr); }
  .modules .mins { grid-column: 2; }
  .lockup .learning { display: none; }
}

/* Top-left wordmark: the KMP monogram (photo-filled), with "learning" under the K and M, as on the home page. */
.wmark { display: inline-block; text-decoration: none; line-height: 0; }
.wmark .mk { position: relative; display: inline-block; }
.wmark .mono { display: block; color: var(--snow); filter: brightness(1.04) drop-shadow(0 3px 10px rgba(15,40,45,.5)) drop-shadow(0 1px 2px rgba(5,20,24,.4)); height: 100px; width: auto; }
.wmark .lrn { position: absolute; left: 0; top: 74.2%; line-height: 1; font-family: var(--brand); font-stretch: 112%; font-weight: 600; font-size: 16px; white-space: nowrap; color: transparent; background-image: linear-gradient(180deg, #4F7A80 0%, #245058 50%, #122F35 100%); -webkit-background-clip: text; background-clip: text; transform: translateY(var(--ldy, 0px)) perspective(88px) rotateX(38deg) scaleY(var(--lsy, 1)); transform-origin: 50% 100%; filter: drop-shadow(0 -0.5px 0 rgba(255,236,200,.8)) drop-shadow(0 1.4px 2px rgba(15,40,45,.45)); }

/* Printable downloads (Design Council, Nov 24, 2026) */
.downloads { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.downloads li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.downloads a { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 19px; text-decoration: none; }
.downloads a:hover { text-decoration: underline; }
.downloads .meta { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.downloads span { color: var(--ink-soft); font-size: 16px; }
.downloads li { border-top: 5px solid var(--accent, var(--meadow)); }

/* Lesson pages (Nov 24, 2026) */
.wrap.narrow { max-width: 860px; }
.bandswitch { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.bandswitch a { color: #fff; text-decoration: none; font-weight: 600; font-size: 16px; padding: 7px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
.bandswitch a:hover { background: rgba(255,255,255,.1); }
.bandswitch a[aria-current="page"] { background: var(--sunrise); color: var(--spruce); box-shadow: none; }
.lessonnav { position: sticky; top: 124px; z-index: 15; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: center; padding: 10px 16px; background: rgba(244,237,231,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.lessonnav span { font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-right: 6px; }
.lessonnav a { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-family: var(--display); font-stretch: 112%; font-weight: 800; text-decoration: none; }
.lessonnav a:hover { border-color: var(--glacier); }
.lessonnav a.ov { font-size: 14px; font-weight: 700; }
main section.lessonsec { padding: 48px clamp(16px, 4vw, 40px); scroll-margin-top: 190px; border-bottom: 1px solid var(--line); }
main section.lessonsec.lesson:nth-of-type(even) { background: #fff; }
main section.lessonsec.feature { background: #fff; border-top: 4px solid var(--sunrise); }
.lessonsec h2 { font-size: clamp(26px, 3.2vw, 36px); }
.lessonhead { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.lessonhead .num { display: grid; place-items: center; width: 60px; height: 60px; flex: 0 0 60px; border-radius: 16px; background: var(--spruce); color: var(--snow); font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 28px; }
.lessonhead .eyebrow { margin: 0 0 2px; }
.lessonhead h2 { margin: 0; }
.lessonsec p { max-width: 74ch; }
.lessonsec p.lab .k { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-right: 6px; }
.lessonsec h4 { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; margin: 22px 0 8px; }
.lessonsec ul { padding-left: 22px; }
.lessonsec li { margin: 5px 0; }
ol.seq { list-style: none; counter-reset: part; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
ol.seq > li { counter-increment: part; position: relative; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--meadow); border-radius: 12px; padding: 14px 16px 14px 58px; margin: 0; }
ol.seq > li::before { content: counter(part); position: absolute; left: 14px; top: 13px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--snow); font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 15px; }
ol.seq > li p { margin: 0; }
ol.seq > li ul { margin: 8px 0 0; padding: 10px 14px 10px 30px; background: var(--snow); border-radius: 8px; }
main section.lessonsec.lesson:nth-of-type(even) ol.seq > li { background: var(--snow); }
main section.lessonsec.lesson:nth-of-type(even) ol.seq > li ul { background: #fff; }
.tablewrap { overflow-x: auto; margin: 12px 0 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.tablewrap table { border-collapse: collapse; width: 100%; font-size: 16px; }
.tablewrap th { background: var(--snow); text-align: left; font-family: var(--display); font-stretch: 105%; font-weight: 700; font-size: 14px; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: bottom; }
.tablewrap td { padding: 9px 12px; border-top: 1px solid var(--line); vertical-align: top; }
.printlinks { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin: 4px 0 18px; font-size: 16px; }
.printlinks span { font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.printlinks a { font-weight: 700; }
.totop { margin: 18px 0 0; font-size: 15px; }
a.band { display: block; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
a.band:hover { border-color: var(--glacier); transform: translateY(-2px); }
a.band .go { display: block; margin-top: 10px; font-weight: 700; font-size: 15px; color: var(--spruce); }
.bandlinks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.bandlinks a { font-size: 14px; font-weight: 600; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; background: var(--snow); }
.bandlinks a:hover { border-color: var(--glacier); }
@media (max-width: 720px) { .lessonnav { top: 112px; } main section.lessonsec { scroll-margin-top: 170px; } ol.seq > li { padding-left: 50px; } }
@media print { .topbar, .lessonnav, .bandswitch, .totop, .skip, footer { display: none !important; } .hero { padding: 16px 0 !important; background: none !important; color: var(--spruce) !important; } .hero::after { display: none; } .hero p, .hero .eyebrow { color: var(--spruce) !important; } main section.lessonsec { break-inside: auto; padding: 16px 0; } ol.seq > li { break-inside: avoid; } }

/* Depth for buttons and cards, matching the course buttons and callouts (Chip, Nov 24, 2026). */
.btn { --edge: #9C7A49; min-height: 44px; position: relative; box-shadow: 0 4px 0 var(--edge), 0 8px 18px rgba(10,30,34,.18); transform: translateY(0); transition: transform .12s ease, box-shadow .12s ease, background-color .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 5px 0 var(--edge), 0 12px 24px rgba(10,30,34,.22); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--edge), 0 3px 8px rgba(10,30,34,.16); }
/* One raised button per screen (Von Restorff, Nov 25, 2026): the primary button keeps the edge and lift; ghost buttons sit flat. */
.btn.ghost { box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); }
.btn.ghost:hover { transform: none; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 2px rgba(255,255,255,.8); }
.btn.ghost:active { transform: none; box-shadow: inset 0 0 0 2px rgba(255,255,255,.8); }
.btn[data-ico]::after { content: attr(data-ico); content: attr(data-ico) / ""; font-weight: 800; transition: transform .15s ease; }
.btn[data-ico]:hover::after { transform: translateX(3px); }
.panel, .band, .links li, .downloads li, .modules li, .note { box-shadow: 0 1px 2px rgba(10,30,34,.05), 0 6px 18px rgba(10,30,34,.07); }
.note { border-radius: 0 12px 12px 0; }
a.band, .downloads li, .links li { transition: transform .15s ease, box-shadow .15s ease, border-color .15s; }
a.band:hover, a.band:focus-visible, .downloads li:hover, .downloads li:focus-within, .links li:hover, .links li:focus-within { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(10,30,34,.06), 0 14px 30px rgba(10,30,34,.14); }
.bandlinks a, .bandswitch a, .lessonnav a { transition: transform .12s ease, box-shadow .12s ease; }
.bandlinks a { box-shadow: 0 2px 0 var(--line); }
.bandlinks a:hover { transform: translateY(-1px); }
.bandlinks a:active { transform: translateY(2px); box-shadow: none; }
.lessonnav a { box-shadow: 0 3px 0 var(--line); }
.lessonnav a:hover { transform: translateY(-1px); }
.lessonnav a:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--line); }
@media (prefers-reduced-motion: reduce) { .btn, .btn::after, a.band, .downloads li, .links li, .bandlinks a, .lessonnav a, .pcard { transition: none !important; transform: none !important; } }
@media print { .btn, .panel, .band, .links li, .downloads li, .modules li, .note { box-shadow: none !important; } }

/* Lesson Sequence band buttons: raised edge, light green hover, and a press-down, as on the course jump buttons (Chip, Nov 24, 2026). */
.bandlinks { gap: 8px; margin-top: 12px; }
.bandlinks a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 16px; border-radius: 999px; font-size: 15px; font-weight: 700; background: #fff; color: var(--spruce); border: 1px solid var(--line); box-shadow: 0 3px 0 #B9AA98, 0 4px 10px rgba(10,30,34,.06); transform: translateY(0); transition: transform .12s ease, box-shadow .12s ease, background-color .15s, border-color .15s; }
.bandlinks a:hover { background: #E5F4E4; border-color: var(--meadow); transform: translateY(-1px); box-shadow: 0 4px 0 #7FA88A, 0 8px 16px rgba(10,30,34,.10); }
.bandlinks a:active { transform: translateY(3px); box-shadow: 0 0 0 #7FA88A, 0 1px 3px rgba(10,30,34,.08); background: #D7EDD5; }
@media (prefers-reduced-motion: reduce) { .bandlinks a { transition: none; transform: none !important; } }

/* ===== Lesson page polish (Chip, Nov 24, 2026): designed tables, callouts with depth, prompt tags ===== */
:root { --lift: 0 1px 2px rgba(10,30,34,.05), 0 8px 22px rgba(10,30,34,.08); --deep-sand: #9C7A49; }
main section.lessonsec.widesec { background: #fff; }
.lessonsec .wrap:not(.narrow) > h2, .lessonsec .wrap:not(.narrow) > p { max-width: 860px; }

/* Grade-Level Progression */
.prog { margin: 22px 0 8px; }
.prog-head, .prog-row { display: grid; grid-template-columns: 220px repeat(var(--cols), minmax(0, 1fr)); gap: 12px; }
.prog-head { position: sticky; top: 186px; z-index: 5; padding: 0 0 10px; background: #fff; }
.prog-head span { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); padding: 0 4px; }
.prog-head .lv { color: var(--spruce); display: flex; align-items: center; gap: 8px; }
.prog-head .lv::before { content: ""; width: 26px; height: 6px; border-radius: 3px; background: var(--lvc); }
.prog-head .lv:not(:last-child)::after { content: "→" / ""; margin-left: auto; color: var(--line); font-size: 18px; letter-spacing: 0; }
.prog-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.prog-row { padding: 12px; background: var(--snow); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--lift); }
.prog-lesson { display: flex; align-items: flex-start; gap: 12px; padding: 6px 4px; text-decoration: none; color: var(--spruce); }
.prog-lesson b { font-family: var(--display); font-stretch: 108%; font-weight: 800; font-size: 17px; line-height: 1.25; }
.prog-lesson:hover b { text-decoration: underline; text-decoration-color: var(--meadow); text-underline-offset: 3px; }
.pnum { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 11px; background: var(--spruce); color: var(--snow); font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 17px; text-decoration: none; box-shadow: 0 3px 0 #0B2428; }
.prog-step { position: relative; background: #fff; border-radius: 12px; padding: 14px 14px 12px; border: 1px solid var(--line); border-top: 5px solid var(--lvc); font-size: 16px; line-height: 1.45; }
.prog-step p { margin: 0; }
.prog-step .lvlab { display: none; }
.lv1 { --lvc: var(--meadow); } .lv2 { --lvc: var(--glacier); } .lv3 { --lvc: var(--spruce); }
@media (max-width: 900px) {
  .prog-head { display: none; }
  .prog-row { grid-template-columns: 1fr; }
  .prog-step .lvlab { display: inline-block; margin-bottom: 6px; font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
}

/* Activity Time Plan */
.atp { margin: 22px 0 8px; }
.atp-key { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; font-size: 15px; color: var(--ink-soft); margin: 0 0 14px; }
.atp-key .sw { width: 28px; height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--meadow), var(--glacier)); }
.atp-key .tick { width: 3px; height: 16px; border-radius: 2px; background: var(--deep-sand); margin-left: 12px; }
.atp-rows { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px; }
.atp-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--snow); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--lift); }
.atp-main { flex: 1; min-width: 0; }
.atp-fig { margin: 2px 0 8px; color: var(--ink-soft); font-size: 15px; }
.atp-fig b { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 21px; color: var(--spruce); }
.meter { position: relative; height: 12px; border-radius: 6px; background: #E6DED5; box-shadow: inset 0 1px 2px rgba(10,30,34,.12); }
.meter span { position: absolute; inset: 0 auto 0 0; border-radius: 6px; background: linear-gradient(90deg, var(--meadow), var(--glacier)); box-shadow: inset 0 -2px 0 rgba(0,0,0,.08); }
.meter i { position: absolute; top: -4px; bottom: -4px; width: 3px; margin-left: -1.5px; border-radius: 2px; background: var(--deep-sand); }
.chips { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { margin: 0; padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; line-height: 1.3; }

/* Goal card: learning intention and success criteria */
.goalcard { margin: 4px 0 18px; padding: 18px 20px 6px; border-radius: 16px; background: linear-gradient(180deg, #EEF5EC, #F7FAF5); border: 1px solid #CFE2CB; box-shadow: 0 3px 0 #B9D6B4, var(--lift); }
.goalcard p.lab { margin: 0 0 10px; }
.goalcard .subh { margin-top: 12px; }
.goalcard ul { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; }
.goalcard ul li { position: relative; padding-left: 30px; margin: 0; }
.goalcard ul li::before { content: "✓" / ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--glacier); color: #fff; font-size: 12px; font-weight: 800; }
.goalcard ul li p { margin: 0; }

/* Before Class panel */
.prepbox { margin: 0 0 22px; padding: 16px 20px 6px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--lift); }
main section.lessonsec.lesson:nth-of-type(even) .prepbox { background: var(--snow); }
.prepbox p.lab { margin: 0 0 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.prepbox .cohead + p.lab { border-top: 0; padding-top: 0; }
.cohead { margin: 0 0 10px; font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }

/* Callouts */
.lessonsec .co { position: relative; margin: 14px 0; padding: 14px 18px 14px 58px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--cc); border-radius: 12px; box-shadow: 0 3px 0 var(--ce), var(--lift); max-width: 74ch; }
main section.lessonsec.lesson:nth-of-type(even) .co { background: var(--snow); }
.lessonsec .co::before { content: var(--ci) / ""; position: absolute; left: 14px; top: 13px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--cc); color: #fff; font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 16px; }
.lessonsec .co .k { display: block; margin: 2px 0 4px; color: var(--spruce); }
.co-hinge { --cc: var(--meadow); --ce: #A9CDA6; --ci: "?"; }
.lessonsec .co-hinge { background: linear-gradient(180deg, #F2F8F0, #fff 70%); }
.co-safety { --cc: #B0573E; --ce: #E3BBAE; --ci: "!"; }
.lessonsec .co-safety { background: linear-gradient(180deg, #FBF1EC, #fff 70%); }
.co-fault { --cc: var(--deep-sand); --ce: #E0CDAE; --ci: "◉"; }
.co-info { --cc: var(--glacier); --ce: #C3D3C8; --ci: "i"; }
.co-cal { --cc: var(--ink-soft); --ce: #D6CEC4; --ci: "↻"; }
.lessonsec .co-cal { box-shadow: none; border-style: dashed; border-left-style: solid; }
.co-diff { --cc: var(--sunrise); --ce: #E3D3BB; --ci: "⇄"; }
.co-diff .cohead { margin-top: 3px; color: var(--spruce); }
ol.seq > li .co { margin: 10px 0 2px; padding-top: 12px; padding-bottom: 12px; }
ol.seq > li ul:has(> li > .co) { background: none; padding: 0; margin: 0; list-style: none; }
.diffgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px; }
.diffgrid li { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--snow); border: 1px solid var(--line); font-size: 16px; }
main section.lessonsec.lesson:nth-of-type(even) .diffgrid li { background: #fff; }
.diffgrid li p { margin: 0; }
.diffgrid li em:first-child { display: block; font-style: normal; font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 2px; }

/* Prompt tags in the lesson sequence */
.ptag { display: inline-block; margin: 0 4px 0 2px; padding: 1px 9px; border-radius: 999px; font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; vertical-align: 2px; box-shadow: 0 2px 0 rgba(10,30,34,.14); }
.ptag.say { background: var(--spruce); color: var(--snow); }
.ptag.ask { background: var(--meadow); color: var(--spruce); }
.ptag.ans { background: #F1E6D4; color: #6B5230; }

/* Lesson sequence cards: slight depth */
ol.seq > li { box-shadow: 0 2px 0 #D9EAD6, var(--lift); }
.lessonhead .num { box-shadow: 0 4px 0 #0B2428, 0 8px 18px rgba(10,30,34,.18); }
.printlinks a { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-size: 15px; box-shadow: 0 3px 0 #B9AA98; transition: transform .12s ease, box-shadow .12s ease, background-color .15s; }
.printlinks a::before { content: "⤓" / ""; margin-right: 6px; color: var(--glacier); }
.printlinks a:hover { background: #E5F4E4; transform: translateY(-1px); box-shadow: 0 4px 0 #7FA88A; }
.printlinks a:active { transform: translateY(3px); box-shadow: 0 0 0 #7FA88A; }

@media (prefers-reduced-motion: reduce) { .printlinks a { transition: none; transform: none !important; } }
@media print {
  .prog-row, .prog-step, .atp-row, .goalcard, .prepbox, .lessonsec .co, ol.seq > li, .printlinks a, .ptag, .pnum, .lessonhead .num { box-shadow: none !important; }
  .prog-head { position: static; } .prog-row, .atp-row, .lessonsec .co { break-inside: avoid; }
}
/* Fixes after review */
.lessonsec ul.chips, .lessonsec ul.diffgrid, .lessonsec ul.coholder { padding: 0; }
ol.seq > li ul.coholder, main section.lessonsec.lesson:nth-of-type(even) ol.seq > li ul.coholder { background: none; padding: 0; margin: 0; list-style: none; border-radius: 0; }
ul.coholder > li { margin: 0; }
.lessonsec .co { max-width: none; }
.atp-fig b { display: block; line-height: 1.15; }
.atp-fig span { font-size: 14px; }
/* Page notes match the lesson callouts */
.note { position: relative; padding-left: 58px; border: 1px solid var(--line); border-left: 5px solid var(--sunrise); border-radius: 12px; box-shadow: 0 3px 0 #E3D3BB, 0 1px 2px rgba(10,30,34,.05), 0 8px 22px rgba(10,30,34,.08); }
.note::before { content: "i" / ""; position: absolute; left: 14px; top: 14px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--sunrise); color: var(--spruce); font-family: var(--display); font-weight: 800; font-size: 16px; }
@media print { .note { box-shadow: none; } }
.herobtns { margin-top: 26px; }
@media print {
  @page { size: letter; margin: 0.6in 0.6in 0.7in; }
  body { font-size: 11pt; background: #fff; }
  .herobtns, .printlinks, .totop, .bandlinks { display: none !important; }
  .hero h1 { font-size: 26pt; } .hero p { font-size: 12pt; max-width: none; }
  .hero .accent { background: var(--meadow) !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  main section.lessonsec, main section.lessonsec.widesec, main section.lessonsec.lesson:nth-of-type(even) { background: #fff !important; padding: 0 0 14pt; border: 0; }
  main section.lessonsec.lesson, #grade-level-progression, #activity-time-plan, #testing-window { break-before: page; }
  .wrap.narrow, .wrap { max-width: none; }
  .lessonsec p, .lessonsec .co { max-width: none; }
  .lessonhead .num, .pnum { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .goalcard, .prepbox, .co, .co-diff, ol.seq > li, .prog-row, .atp-row { break-inside: avoid; }
  ol.seq > li, .lessonsec .hinge, .lessonsec .co, .co-diff { break-inside: avoid; }
  .atp-rows { grid-template-columns: repeat(3, 1fr); }
  .prog-head, .prog-row { grid-template-columns: 150px repeat(var(--cols), minmax(0, 1fr)); }
  .prog-head { display: grid !important; }
  .prog-step .lvlab { display: none !important; }
  .prog-step { font-size: 9.5pt; padding: 8px 10px; }
  h2 { font-size: 20pt; }
}
.plancta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 22px 24px; border-radius: 18px; background: linear-gradient(180deg, #EEF5EC, #F7FAF5); border: 1px solid #CFE2CB; box-shadow: 0 3px 0 #B9D6B4, 0 1px 2px rgba(10,30,34,.05), 0 10px 26px rgba(10,30,34,.08); }
.plancta h3 { margin: 0 0 4px; } .plancta p { margin: 0; color: var(--ink-soft); max-width: 60ch; }
.plancta .btn { --edge: #0B2428; background: var(--spruce); color: var(--snow); }
.plancta .btn:hover { background: #24535b; }
.co-flex { --cc: #6FA77A; --ce: #B9D6B4; --ci: "↔"; }
.lessonsec .co-flex { background: linear-gradient(180deg, #F2F8F0, #fff 70%); }
/* Form pictures (Nov 24, 2026) */
.formfigs { margin: 4px 0 20px; padding: 14px 16px 12px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(10,30,34,.05), 0 8px 22px rgba(10,30,34,.08); }
.formfigs.good { border-top: 5px solid var(--meadow); }
.formfigs.fault { border-top: 5px solid var(--deep-sand); }
main section.lessonsec.lesson:nth-of-type(even) .formfigs { background: var(--snow); }
.figrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 340px)); gap: 12px; }
.formfigs figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.formfigs img { display: block; width: 100%; aspect-ratio: 16 / 9.4; object-fit: cover; background: #eee; }
.formfigs figcaption { padding: 8px 10px 10px; font-size: 14.5px; line-height: 1.35; color: var(--ink-soft); }
.formfigs figcaption b { display: block; font-family: var(--display); font-stretch: 108%; font-weight: 800; color: var(--spruce); font-size: 14px; margin-bottom: 2px; }
.formfigs.fault figcaption b { color: #7A5A2E; }
.fignote { margin: 8px 0 0; font-size: 14px; color: var(--ink-soft); }
@media print { .formfigs { box-shadow: none; break-inside: avoid; } .figrow { grid-template-columns: repeat(3, 1fr); } }

/* Council C7: phones. The header scrolls away and the lesson bar becomes one scrolling row,
   so the lesson bar never sits under the header and more of the lesson is visible. */
@media (max-width: 720px) {
  .topbar { position: relative; }
  .lessonnav { top: 0; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding: 8px 12px; scrollbar-width: none; }
  .lessonnav::-webkit-scrollbar { display: none; }
  .lessonnav > * { flex: 0 0 auto; }
  main section.lessonsec { scroll-margin-top: 72px; }
  .prog-head { top: 60px; }
}

/* Teacher Training (Nov 24): tighter hero so the course button shows without scrolling */
.hero.hero-tight { padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(36px, 5vw, 56px); }
.hero.hero-tight h1 { font-size: clamp(34px, 4.6vw, 58px); margin-bottom: 14px; }
.hero.hero-tight .accent { margin-bottom: 14px; }
.hero.hero-tight p { margin-bottom: 18px; }
.hero.hero-tight p { max-width: 880px; }
@media (max-width: 720px) { .hero.hero-tight { padding-top: 18px; } .hero.hero-tight h1 { font-size: 30px; } .hero.hero-tight p { font-size: 16px; } }

/* New KMP Learning logo (Nov 24, Chip): no panel (Chip: no white background). A soft light glow around the letters keeps the navy readable on the photo. */
.wmark { position: relative; padding: 4px 8px; }
.wmark::before { content: ""; position: absolute; inset: -18px -34px; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(244,237,231,.62), rgba(244,237,231,.32) 55%, rgba(244,237,231,0)); }
.wmark img.logo { display: block; height: 68px; width: auto; filter: drop-shadow(0 0 1px rgba(255,255,255,.9)) drop-shadow(0 0 6px rgba(244,237,231,.75)); }
.topbar { isolation: isolate; }

/* Resource cards (Nov 24, Chip): every card is one link, edge to edge, so anything that lifts on hover can be clicked. */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.cards .card { height: 100%; box-sizing: border-box; display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--accent, var(--sunrise)); border-radius: 14px; color: var(--spruce); text-decoration: none; box-shadow: 0 1px 2px rgba(10,30,34,.05), 0 6px 18px rgba(10,30,34,.07); transition: transform .15s ease, box-shadow .15s ease; }
.cards .card b { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 19px; line-height: 1.25; }
.cards .card span { color: var(--ink-soft); font-size: 16px; }
.cards .card em { margin-top: auto; padding-top: 6px; font-style: normal; font-weight: 700; font-size: 15px; color: var(--spruce); }
.cards .card em::after { content: " →"; }
.cards .card.ext em::after { content: " ↗"; }
.cards .card:hover, .cards .card:focus-visible { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(10,30,34,.06), 0 14px 30px rgba(10,30,34,.14); }
.cards .card:hover em { text-decoration: underline; }
.cards .card:focus-visible { outline: 3px solid var(--spruce); outline-offset: 3px; }
/* Download cards: the whole card opens the file, not just the title. */
.downloads li { position: relative; }
.downloads li a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.downloads li a:focus-visible { outline: none; }
.downloads li:focus-within { outline: 3px solid var(--spruce); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .cards .card { transition: none; } .cards .card:hover, .cards .card:focus-visible { transform: none; } }
@media print { .cards .card { box-shadow: none; } }
.steps{max-width:760px;padding-left:1.4em;line-height:1.6}.steps>li{margin:0 0 14px}.steps ul{margin:8px 0 0;padding-left:1.2em}.steps ul li{margin:0 0 6px}

.atp-src { margin: 10px 0 0; font-size: 15px; line-height: 1.45; color: var(--ink, inherit); }
.atp-src span { font-weight: 700; }

.lessonsec .co-low .cohead { margin: 2px 0 8px; color: var(--spruce); }
.lessonsec .co-low p:not(.cohead) { margin: 0 0 8px; }
.lessonsec .co-low p:last-child { margin-bottom: 0; }
.lessonsec .co-low b { color: var(--spruce); }
.lessonsec .co-low p { max-width: none; }

/* Fault Clips page */
.clipsec .wrap { max-width: 1080px; }
.faultcard { margin: 18px 0 26px; padding: 18px 20px 16px; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--deep-sand); border-radius: 16px; box-shadow: 0 1px 2px rgba(10,30,34,.05), 0 8px 22px rgba(10,30,34,.06); scroll-margin-top: 150px; }
.faultcard:target { outline: 3px solid var(--sunrise); outline-offset: 3px; }
.faultcard header { display: flex; align-items: baseline; gap: 12px; }
.faultcard .code { font-family: var(--display); font-stretch: 108%; font-weight: 800; font-size: 15px; color: #fff; background: #7A5A2E; border-radius: 8px; padding: 3px 9px; }
.faultcard h3 { margin: 0; font-size: 22px; }
.faultcard .counts { display: inline-block; margin-left: 8px; font-size: 13px; font-weight: 700; color: #7A5A2E; background: #F6EBDD; border-radius: 999px; padding: 2px 10px; vertical-align: middle; }
.faultcard .what { margin: 8px 0 12px; }
.cliprow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.clip { margin: 0; background: var(--snow); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.clip video { display: block; width: 100%; aspect-ratio: 832 / 480; background: #1d2a2c; }
.clip figcaption { padding: 7px 11px; font-family: var(--display); font-stretch: 108%; font-weight: 800; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--spruce); }
.clip:first-child figcaption { color: #7A5A2E; }
.clip.pending { display: grid; place-items: center; padding: 18px; }
.clip.pending p { margin: 0; font-size: 15px; } .clip.pending b { display: block; margin-bottom: 4px; color: var(--spruce); }
.cuebox { margin: 14px 0 6px; }
.cuebox .cohead { margin-bottom: 6px; }
.cuebox ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cuebox li { background: var(--snow); border: 1px solid var(--line); border-radius: 10px; padding: 8px 11px; font-weight: 600; }
.cuebox li span { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--ink-soft); margin-bottom: 2px; }
.drill { margin: 8px 0 0; }
@media (max-width: 720px) { .cliprow, .cuebox ul { grid-template-columns: 1fr; } }
/* Lesson fault pictures link to their clips */
.formfigs a.figlink { display: block; color: inherit; text-decoration: none; border-radius: 12px; }
.formfigs a.figlink:hover figure, .formfigs a.figlink:focus-visible figure { border-color: var(--deep-sand); box-shadow: 0 0 0 3px #F1DFC6; }
.formfigs a.figlink figure { position: relative; }
.formfigs a.figlink figure::after { content: "▶ Watch the clip"; position: absolute; top: 8px; right: 8px; font-size: 12px; font-weight: 700; color: #fff; background: rgba(23,62,69,.85); border-radius: 999px; padding: 3px 9px; }
a.faultref { color: inherit; text-decoration: underline; text-decoration-color: var(--deep-sand); text-underline-offset: 2px; }
@media print { .formfigs a.figlink figure::after { content: none; } a.faultref { text-decoration: none; } }

/* One content column on the Curriculum Resources pages (Chip, Nov 27, 2026).
   The Curriculum page, the five lesson pages, and the Fault Clips page use a single 760 px column.
   Text, buttons, cards, and callouts share the same left and right edges, and paragraphs fill the column.
   Scoped with :has() so the lesson-page builder needs no change. */
@media screen {
  body:is(:has(main .lessonsec), :has(#lessons)) { --colw: 760px; }
  body:is(:has(main .lessonsec), :has(#lessons)) .wrap,
  body:is(:has(main .lessonsec), :has(#lessons)) .wrap.narrow { max-width: var(--colw); }
  body:is(:has(main .lessonsec), :has(#lessons)) main p,
  body:is(:has(main .lessonsec), :has(#lessons)) .hero p,
  body:is(:has(main .lessonsec), :has(#lessons)) .lead,
  body:is(:has(main .lessonsec), :has(#lessons)) .note,
  body:is(:has(main .lessonsec), :has(#lessons)) .lessonsec .co,
  body:is(:has(main .lessonsec), :has(#lessons)) .lessonsec .wrap > h2 { max-width: none; }
  body:is(:has(main .lessonsec), :has(#lessons)) .prog-head,
  body:is(:has(main .lessonsec), :has(#lessons)) .prog-row { grid-template-columns: 170px repeat(var(--cols), minmax(0, 1fr)); }
}

/* Phones: the one-column rule above sets four progression columns on every screen width, which
   squeezes the lesson progression into one-word lines on a phone. Stack the grade levels instead
   (Nov 28, 2026, go-live review). */
@media screen and (max-width: 700px) {
  body:is(:has(main .lessonsec), :has(#lessons)) .prog-head { display: none; }
  body:is(:has(main .lessonsec), :has(#lessons)) .prog-row { grid-template-columns: 1fr; }
}

/* Languages section on the Resources page (Nov 29, 2026). */
.downloads.langs li > a[lang] { font-size: 22px; }
.downloads .langlinks a { font-family: inherit; font-stretch: normal; font-weight: 700; font-size: 16px; text-decoration: underline; text-underline-offset: 2px; }
.downloads.langs li > a[lang] { align-self: flex-start; }

/* Focus ring contrast, WCAG 1.4.11 (final review, Nov 29): spruce on light backgrounds, sunrise on the dark top bar and hero.
   Rings inside boxes that clip their content are drawn on the box or inside it so they are not cut off. */
:focus-visible { outline-color: var(--spruce); }
.topbar :focus-visible, .hero :focus-visible, .skip:focus-visible { outline-color: var(--sunrise); }
.stepper :focus-visible, .formfigs figure :focus-visible, .clip :focus-visible { outline-offset: -3px; }
.vcard:has(video:focus-visible), .clip:has(video:focus-visible) { outline: 3px solid var(--spruce); outline-offset: 3px; }
.vcard video:focus-visible, .clip video:focus-visible { outline: none; }
