:root {
  --ink: #172033;
  --muted: #5f6878;
  --paper: #fbfaf7;
  --white: #ffffff;
  --navy: #13253f;
  --blue: #245c8f;
  --gold: #d49b2f;
  --gold-soft: #f5e6c3;
  --sage: #dfeae3;
  --line: #dce1e7;
  --shadow: 0 18px 50px rgba(20, 37, 63, .12);
  --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, Arial, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.6; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 1000; background: #fff; padding: .75rem 1rem; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(251,250,247,.94); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(23,32,51,.08); }
.header-inner { max-width: 1180px; margin: auto; min-height: 76px; padding: 0 24px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; line-height: 1.15; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; background: var(--navy); color: white; border-radius: 11px; font-weight: 800; letter-spacing: -.04em; }
.brand strong, .brand small { display: block; }
.brand small { color: var(--muted); margin-top: 3px; }
.primary-nav { display: flex; gap: 20px; align-items: center; }
.primary-nav a { text-decoration: none; font-size: .92rem; font-weight: 600; color: #3e4858; }
.primary-nav a:hover { color: var(--blue); }
.menu-button { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: .85rem 1.15rem; background: var(--blue); color: white; border: 0; border-radius: 10px; text-decoration: none; font-weight: 700; cursor: pointer; }
.button:hover { filter: brightness(.94); }
.button-secondary { background: transparent; color: var(--navy); border: 1px solid rgba(19,37,63,.25); }
.button-small { padding: .62rem .85rem; font-size: .88rem; }
.hero { padding: 76px 24px 58px; background: radial-gradient(circle at 80% 10%, #edf3f7 0, transparent 37%), linear-gradient(180deg, #fbfaf7 0%, #f4f0e6 100%); }
.hero-grid { max-width: 1180px; margin: auto; display: grid; grid-template-columns: 1.25fr .75fr; gap: 64px; align-items: center; }
.eyebrow { margin: 0 0 .55rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; color: var(--blue); }
h1, h2 { font-family: "Source Serif 4", Georgia, serif; line-height: 1.06; letter-spacing: -.03em; }
h1 { font-size: clamp(3rem, 7vw, 5.7rem); margin: 0; color: var(--navy); }
h1 span { color: var(--blue); }
.hero-copy { max-width: 750px; font-size: 1.15rem; color: #4d5766; margin: 1.35rem 0 1.7rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 34px; margin-top: 40px; }
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta strong { font-family: "Source Serif 4", Georgia, serif; font-size: 2rem; color: var(--navy); }
.hero-meta span { font-size: .82rem; color: var(--muted); }
.hero-card { background: var(--navy); color: white; padding: 30px; border-radius: 26px; box-shadow: var(--shadow); }
.kicker { color: #e9c97e; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .76rem; }
.cycle-list { list-style: none; padding: 0; margin: 18px 0 0; }
.cycle-list li { display: grid; grid-template-columns: 38px 1fr; gap: 13px; padding: 17px 0; border-top: 1px solid rgba(255,255,255,.12); }
.cycle-list li > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.1); color: #efcf82; font-weight: 800; }
.cycle-list p { margin: 3px 0 0; color: #c5ced9; font-size: .92rem; }
.section { max-width: 1180px; margin: auto; padding: 90px 24px; }
.section-tinted, .section-dark { max-width: none; }
.section-tinted { background: #eef2f0; }
.section-dark { background: var(--navy); color: white; }
.section-heading { max-width: 790px; margin-bottom: 44px; }
.section-heading.compact { margin-bottom: 32px; }
.section-heading h2 { font-size: clamp(2.2rem, 5vw, 3.5rem); margin: 0 0 14px; }
.section-heading p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.section-heading.light p:not(.eyebrow) { color: #c6cfda; }
.section-heading.light .eyebrow { color: #edcb7c; }
.principles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.principle-card { background: white; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); }
.icon { display: inline-block; color: var(--gold); font-weight: 800; margin-bottom: 18px; }
.principle-card h3, .assessment-card h3 { margin: 0 0 8px; }
.principle-card p, .assessment-card p { color: var(--muted); margin: 0; }
.module-layout { max-width: 1180px; margin: auto; padding: 0 24px; display: grid; grid-template-columns: 300px 1fr; gap: 24px; }
.section-tinted .section-heading { max-width: 1180px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.module-tabs { display: flex; flex-direction: column; gap: 8px; }
.module-tab { border: 0; background: transparent; padding: 13px 14px; display: flex; gap: 12px; align-items: center; text-align: left; border-radius: 10px; color: #465264; font-weight: 650; cursor: pointer; }
.module-tab span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: #dde4e1; color: var(--navy); font-weight: 800; }
.module-tab.active { background: var(--navy); color: white; box-shadow: 0 8px 24px rgba(19,37,63,.15); }
.module-tab.active span { background: var(--gold); color: var(--navy); }
.module-panel { min-height: 700px; background: white; border-radius: 24px; border: 1px solid #d8e0dc; box-shadow: 0 14px 40px rgba(26,45,67,.08); overflow: hidden; }
.module-header { padding: 36px 40px 30px; color: white; background: linear-gradient(135deg, var(--navy), #28567b); }
.module-header .module-number { color: #f0d28c; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; font-size: .78rem; }
.module-header h3 { font-family: "Source Serif 4", Georgia, serif; font-size: 2.55rem; line-height: 1.07; margin: 8px 0 10px; }
.module-header p { max-width: 680px; margin: 0; color: #dbe5ed; }
.module-body { padding: 34px 40px 40px; }
.module-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.fact { display: inline-flex; align-items: center; padding: .5rem .72rem; background: #eff3f5; border-radius: 8px; font-size: .84rem; font-weight: 700; color: #33445a; text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.fact:hover, .fact:focus-visible, .fact.active { background: #ffffff; border-color: #72849a; outline: none; }
.tpe-info-panel { display: none; margin: 0 0 10px; padding: 9px 12px; background: #f7f9fa; border: 1px solid var(--line); border-left: 3px solid #72849a; border-radius: 7px; color: #33445a; font-size: .9rem; line-height: 1.4; }
.tpe-info-panel.open { display: block; }
.tpe-info-panel p { margin: 0; }
.tpe-info-panel a { display: inline-block; margin-top: 3px; font-size: .82rem; font-weight: 700; }
.tpe-reference { margin-top: 28px; padding: 24px; border: 1px solid #d8e0e7; border-radius: 16px; background: #f8fafb; scroll-margin-top: 90px; }
.tpe-reference h3 { margin-top: 0; }
.tpe-domain { margin-top: 22px; }
.tpe-domain h4 { margin-bottom: 10px; color: #24364e; }
.tpe-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tpe-list li { display: grid; grid-template-columns: 70px 1fr; gap: 12px; padding: 10px 12px; background: #fff; border: 1px solid #e3e8ed; border-radius: 9px; }
.tpe-code { font-weight: 800; color: #24364e; }
.module-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.content-block { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 20px; }
.content-block h4 { margin: 0 0 9px; font-size: 1.05rem; }
.content-block p { color: var(--muted); }
.content-block ul { margin: 8px 0 0; padding-left: 1.2rem; }
.content-block li { margin: .42rem 0; }
.try-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.try-card { padding: 14px; background: #f7f7f4; border: 1px solid #e6e6df; border-radius: 11px; font-size: .9rem; }
.prompt-box { background: var(--gold-soft); border-left: 5px solid var(--gold); padding: 18px 20px; border-radius: 0 12px 12px 0; margin-top: 18px; }
.prompt-box strong { display: block; margin-bottom: 5px; }
.assignment-directions h2 { margin-bottom: 10px; }
.assignment-directions h3 { margin: 24px 0 8px; }
.assignment-directions ul, .assignment-directions ol { padding-left: 1.25rem; }
.assignment-directions li { margin: .45rem 0; }
.assignment-summary { padding: 14px 16px; background: #f4f7f8; border-left: 4px solid var(--blue); border-radius: 0 10px 10px 0; }
.assignment-submit { margin-top: 24px; padding: 18px; background: var(--gold-soft); border-radius: 12px; }
.assignment-submit p { margin-top: 0; }
.module-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.intro-actions { flex-wrap: nowrap; }
.intro-actions .button { flex: 1 1 0; text-align: center; white-space: nowrap; }
@media (max-width: 680px) { .intro-actions { flex-wrap: wrap; } .intro-actions .button { flex: 1 1 100%; white-space: normal; } }
.progress-check { display: flex; align-items: center; gap: 8px; padding: .7rem .8rem; background: #f5f7f7; border-radius: 10px; font-size: .9rem; }
.assessment-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.assessment-card { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: white; }
.assessment-card.featured { background: #f2f6f4; border-color: #c8d8ce; }
.assessment-number { font-family: "Source Serif 4", Georgia, serif; font-size: 2.7rem; color: var(--blue); font-weight: 700; }
.assessment-card ul { padding-left: 1.2rem; color: #4f5a69; }
.timeline { max-width: 1760px; margin: auto; padding: 0 20px; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 8px; }
.timeline article { background: #17364b; border: 1px solid rgba(255,255,255,.22); padding: 14px 12px; border-radius: 13px; min-height: 220px; color: #ffffff; }
.timeline time { color: #ffd98f; font-weight: 800; font-size: 1.03rem; }
.timeline span { display: block; margin-top: 22px; font-size: .72rem; line-height: 1.28; color: #ffffff; font-weight: 800; }
.timeline h3 { margin: 7px 0; font-size: .82rem; line-height: 1.32; color: #ffffff; font-weight: 600; }
.timeline p { color: #ffe7b8; font-size: .76rem; line-height: 1.32; font-weight: 700; }
.timeline article.completed {
  background: #e7c775;
  color: var(--navy);
  border-color: #e7c775;
  box-shadow: 0 8px 20px rgba(5, 17, 29, .22);
}
.timeline article.completed time,
.timeline article.completed span,
.timeline article.completed h3,
.timeline article.completed p { color: var(--navy); }
.resource-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.resource-card { background: white; border: 1px solid var(--line); padding: 22px; border-radius: 16px; text-align: left; cursor: pointer; color: inherit; }
.resource-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.resource-card span { color: var(--blue); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 800; }
.resource-card h3 { margin: 10px 0 7px; }
.resource-card p { color: var(--muted); margin: 0; }
.resource-standards-link { margin: 12px 0 0; font-weight: 700; }
.resource-standards-link a { color: var(--blue); }
.research-note { display: grid; grid-template-columns: .8fr 1.2fr; gap: 45px; align-items: center; margin-top: 60px; background: var(--sage); padding: 35px; border-radius: 20px; }
.research-note h2 { margin: 0; font-size: 2rem; }
.references { margin-top: 50px; }
.references li { margin: 10px 0; color: #535d6d; }
footer { background: #0c1829; color: white; padding: 30px 24px; display: flex; justify-content: space-between; gap: 25px; align-items: center; }
footer div { display: flex; flex-direction: column; }
footer span, footer p { color: #aebac8; font-size: .86rem; }
footer a { color: #ffffff; text-decoration-thickness: 1px; text-underline-offset: 3px; }
footer a:hover, footer a:focus-visible { color: #f3c969; }
dialog { width: min(780px, calc(100% - 32px)); border: 0; border-radius: 20px; padding: 0; box-shadow: 0 30px 90px rgba(0,0,0,.35); }
dialog::backdrop { background: rgba(12,24,41,.72); }
.dialog-close { float: right; border: 0; background: transparent; font-size: 2rem; padding: 12px 18px; cursor: pointer; }
#dialog-content { padding: 42px; }
#dialog-content h2 { font-size: 2.4rem; margin: 0 0 16px; }
#dialog-content h3 { margin-top: 26px; }
#dialog-content li { margin: .48rem 0; }
@media (max-width: 980px) {
  .primary-nav, .canvas-link { display: none; }
  .menu-button { display: block; border: 1px solid var(--line); background: white; border-radius: 8px; padding: .55rem .75rem; }
  .primary-nav.open { display: flex; position: absolute; left: 0; right: 0; top: 76px; padding: 18px 24px; background: var(--paper); flex-direction: column; align-items: flex-start; border-bottom: 1px solid var(--line); }
  .hero-grid { grid-template-columns: 1fr; }
  .principles-grid, .resource-grid { grid-template-columns: repeat(2, 1fr); }
  .module-layout { grid-template-columns: 1fr; }
  .module-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 8px; }
  .module-tab { min-width: 185px; }
  .timeline { grid-template-columns: repeat(9, minmax(138px, 1fr)); overflow-x: auto; padding-bottom: 10px; }
}
@media (max-width: 680px) {
  .hero { padding-top: 48px; }
  .hero-meta { gap: 20px; }
  .principles-grid, .assessment-grid, .resource-grid, .research-note, .module-columns { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(9, minmax(138px, 1fr)); overflow-x: auto; }
  .module-header, .module-body { padding-left: 22px; padding-right: 22px; }
  .try-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; align-items: flex-start; }
}
@media print {
  .site-header, .hero-actions, .module-tabs, .module-actions, footer, .resource-grid { display: none !important; }
  body { background: white; }
  .hero, .section, .section-tinted, .section-dark { padding: 24px; background: white; color: black; }
  .module-layout { display: block; padding: 0; }
  .module-panel { box-shadow: none; border: 1px solid #aaa; }
}

/* Expandable practice examples in Module 1 */
.practice-toggles { display: grid; gap: 12px; }
.practice-toggle { border: 1px solid #dce3e1; border-radius: 14px; background: #f8f9f7; overflow: hidden; }
.practice-toggle summary { list-style: none; cursor: pointer; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 750; color: var(--navy); }
.practice-toggle summary::-webkit-details-marker { display: none; }
.practice-toggle summary:hover { background: #f0f4f1; }
.practice-toggle[open] summary { background: #edf3f0; border-bottom: 1px solid #dce3e1; }
.toggle-icon { width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; background: var(--navy); position: relative; }
.toggle-icon::before, .toggle-icon::after { content: ""; position: absolute; left: 6px; right: 6px; top: 11px; height: 2px; background: white; border-radius: 2px; }
.toggle-icon::after { transform: rotate(90deg); transition: transform .18s ease; }
.practice-toggle[open] .toggle-icon::after { transform: rotate(0); }
.practice-detail { padding: 20px; }
.practice-detail > p { margin-top: 0; color: var(--muted); }
.practice-detail h5 { margin: 0 0 7px; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); }
.example-box, .sample-box { margin-top: 16px; padding: 16px; border-radius: 12px; }
.example-box { background: var(--gold-soft); border-left: 4px solid var(--gold); }
.sample-box { background: white; border: 1px solid var(--line); }
.example-box p, .sample-box p { margin: 0; }
.practice-prompt { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.practice-prompt strong { color: var(--navy); }
.practice-prompt p { margin: 4px 0 0; color: var(--muted); }
.sample-table { display: grid; gap: 1px; overflow-x: auto; background: #dfe4e6; border: 1px solid #dfe4e6; border-radius: 8px; }
.assessment-actions { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1rem; }
.rubric-wrap { margin: 1rem 0; }
.rubric-table { width: 100%; border: 0; border-collapse: separate; border-spacing: 0 0.85rem; font-size: 0.92rem; line-height: 1.45; }
.rubric-table thead { display: none; }
.rubric-table tbody, .rubric-table tr, .rubric-table td { display: block; width: 100%; }
.rubric-table tr { overflow: hidden; border: 1px solid #d8dee1; border-radius: 12px; background: white; box-shadow: 0 2px 7px rgba(23,49,59,.05); }
.rubric-table td { box-sizing: border-box; border: 0; border-top: 1px solid #e6eaec; padding: 0.75rem 0.9rem; text-align: left; vertical-align: top; }
.rubric-table td::before { content: attr(data-label); display: block; margin-bottom: 0.25rem; color: #49616c; font-size: 0.72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.rubric-table td:first-child { border-top: 0; background: #eef3f5; color: #17313b; font-size: 1rem; font-weight: 800; }
.rubric-table td:first-child::before { display: none; }
.rubric-table td:nth-child(2) { background: #f6f0df; color: #17313b; font-weight: 800; text-align: left; }
@media (min-width: 760px) {
  .rubric-table tr { display: grid; grid-template-columns: minmax(180px, 1.1fr) minmax(90px, .45fr) minmax(0, 2.45fr); }
  .rubric-table td { border-top: 0; border-left: 1px solid #e6eaec; }
  .rubric-table td:first-child { border-left: 0; grid-row: 1 / span 4; }
  .rubric-table td:nth-child(2) { grid-column: 2; grid-row: 1 / span 4; border-left: 1px solid #e6eaec; }
  .rubric-table td:nth-child(n+3) { grid-column: 3; }
}
.rubric-note { background: #f6f0df; border-left: 4px solid #c99b35; border-radius: 6px; padding: 0.85rem 1rem; margin: 1rem 0; }

.sample-row { min-width: 680px; display: grid; grid-template-columns: .8fr .8fr .8fr .9fr 1.7fr; gap: 1px; background: #dfe4e6; }
.sample-row span { background: white; padding: 9px; font-size: .78rem; }
.sample-row.sample-head span { background: #eef2f4; font-weight: 750; color: var(--navy); }
.sample-script p + p { margin-top: 10px; }
.sample-comparison { display: grid; gap: 10px; }
.sample-comparison article { padding: 12px; background: #f5f7f6; border-radius: 9px; }
.sample-comparison article p { margin-top: 5px; color: #4f5a69; }
.sample-lesson > p { margin: 0; }
.sample-lesson > p + p { margin-top: 8px; }
.sample-lesson .annotation { margin: 5px 0 15px; padding: 10px 12px; background: #edf3f7; border-left: 3px solid var(--blue); color: #415164; font-size: .88rem; }

/* Module button hover and focus effects */
.module-panel .button {
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
@media (hover: hover) and (pointer: fine) {
  .module-panel .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(20, 43, 72, .18);
    filter: brightness(1.04);
  }
  .module-panel .button-secondary:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
    filter: none;
  }
}
.module-panel .button:focus-visible {
  outline: 3px solid rgba(213, 168, 63, .55);
  outline-offset: 3px;
}
.module-panel .button:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(20, 43, 72, .14);
}

/* Teaching Interview Toolkit */
.interview-toolkit-section { background: #f3f7f9; }
.interview-parts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 1180px; margin: 34px auto 0; }
.interview-part-card { position: relative; padding: 30px; border-radius: var(--radius); background: #ffffff; border: 1px solid var(--line); box-shadow: 0 12px 35px rgba(12, 24, 41, .07); }
.interview-part-card.required-part { border-top: 7px solid var(--blue); }
.interview-part-card.optional-part { border-top: 7px solid var(--gold); }
.interview-part-label { display: inline-block; padding: .38rem .68rem; border-radius: 999px; background: #e6eff3; color: #17313b; font-size: .73rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.optional-part .interview-part-label { background: var(--gold-soft); color: #5b4512; }
.interview-part-number { margin: 22px 0 4px; color: var(--blue); font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.optional-part .interview-part-number { color: #7b5d15; }
.interview-part-card h3 { margin: 0 0 12px; font-size: clamp(1.45rem, 2.2vw, 2rem); }
.interview-part-card > p:not(.interview-part-number):not(.requirement-note) { color: var(--muted); }
.interview-part-card ul { padding-left: 1.25rem; color: #40505d; }
.interview-part-card li { margin: .55rem 0; }
.requirement-note { margin-top: 22px; padding: 15px 17px; border-radius: 11px; background: #eaf2f5; color: #17313b; }
.optional-note { background: #fbf3de; color: #574515; }
.interview-toolkit-action { max-width: 1180px; margin: 22px auto 0; padding: 24px 28px; border-radius: 16px; background: var(--navy); color: white; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.interview-toolkit-action h3 { margin: 0 0 5px; color: white; }
.interview-toolkit-action p { margin: 0; color: #d6e0e8; }
.interview-toolkit-action .button { flex: 0 0 auto; background: var(--gold); color: var(--navy); }
.interview-toolkit-action .button:hover { background: #f0d48d; }
@media (max-width: 780px) {
  .interview-parts-grid { grid-template-columns: 1fr; }
  .interview-toolkit-action { align-items: flex-start; flex-direction: column; }
}

/* Course sequence cards use one consistent default style.
   Reviewed modules use the shared completed style above. */
.timeline .timeline-bookend {
  background: #17364b;
  border-color: rgba(255, 255, 255, .22);
}
.timeline .timeline-bookend time { font-weight: 800; }
