:root {
  --ink: #071c35;
  --navy: #082c56;
  --blue: #0b6fdb;
  --sky: #6ec7f5;
  --cream: #f7f2e8;
  --paper: #fffdf8;
  --coral: #ff7b5f;
  --yellow: #ffc75b;
  --line: rgba(7, 28, 53, .16);
  --display: "Fraunces", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 1rem; line-height: 1.55; }
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }
.skip-link { position: fixed; z-index: 100; left: 1rem; top: -5rem; padding: .75rem 1rem; background: #fff; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { height: 78px; padding: 0 clamp(1.25rem, 4vw, 5rem); display: flex; justify-content: space-between; align-items: center; position: absolute; inset: 0 0 auto; z-index: 10; color: #fff; border-bottom: 1px solid rgba(255,255,255,.24); }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-size: 1.3rem; font-weight: 700; text-decoration: none; letter-spacing: -.04em; }
.brand > span:last-child > span { font-weight: 400; }
.brand-mark { width: 2rem; height: 2rem; display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 3px; padding: 5px; background: var(--coral); border-radius: 50%; transform: rotate(-6deg); }
.brand-mark span { display: block; background: white; border-radius: 10px; }
.brand-mark span:nth-child(1) { height: 45%; }.brand-mark span:nth-child(2) { height: 75%; }.brand-mark span:nth-child(3) { height: 58%; }
.site-header nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }
.site-header nav a { color: #fff; text-decoration: none; font-size: .93rem; font-weight: 600; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: var(--yellow); }
.menu-toggle { display: none; background: none; border: 0; padding: .5rem; }

.hero { min-height: 760px; height: min(88vh, 900px); position: relative; display: flex; align-items: center; overflow: hidden; background: var(--navy); color: #fff; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,31,60,.72) 0%, rgba(5,31,60,.36) 46%, rgba(5,31,60,0) 72%); }
.hero-content { position: relative; z-index: 2; width: min(720px, 56vw); margin-left: clamp(1.25rem, 8vw, 9rem); padding-top: 4rem; }
.eyebrow, .section-number { text-transform: uppercase; letter-spacing: .15em; font-size: .76rem; font-weight: 700; }
.eyebrow { display: flex; align-items: center; gap: .65rem; margin-bottom: 1.5rem; }
.eyebrow span { width: 32px; height: 2px; background: var(--yellow); }
h1, h2 { font-family: var(--display); letter-spacing: -.045em; line-height: .98; margin: 0; }
h1 { font-size: clamp(3.5rem, 7vw, 7rem); max-width: 900px; }
h1 em, h2 em { color: var(--sky); font-weight: inherit; }
.hero-copy { max-width: 590px; font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: rgba(255,255,255,.9); margin: 2rem 0 2.25rem; }
.hero-actions { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.button { min-height: 52px; padding: 0 1.25rem; display: inline-flex; align-items: center; justify-content: center; gap: 1rem; border-radius: 4px; font-weight: 700; text-decoration: none; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--yellow); color: var(--ink); }
.button-dark { background: var(--ink); color: #fff; }
.text-link { font-weight: 600; text-underline-offset: .3rem; }
.hero-caption { position: absolute; z-index: 2; right: clamp(1rem, 4vw, 5rem); bottom: 2rem; margin: 0; font-family: var(--display); font-size: 1.05rem; text-align: right; line-height: 1.25; color: rgba(255,255,255,.78); }

.pathways, .courses { padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 8vw, 9rem); }
.section-intro { max-width: 700px; margin-bottom: 3.5rem; }
.section-number { color: var(--blue); margin: 0 0 1.1rem; }
.section-number.light { color: var(--sky); }
.section-intro h2, .library-heading h2, .principles h2, .closing h2 { font-size: clamp(2.7rem, 5vw, 5.3rem); }
.section-intro > p:last-child { max-width: 600px; margin: 1.5rem 0 0; font-size: 1.08rem; color: #46576a; }
.pathway-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.pathway-card { min-height: 330px; padding: 2.25rem; display: flex; flex-direction: column; align-items: flex-start; text-align: left; border: 0; border-right: 1px solid var(--line); background: transparent; cursor: pointer; transition: background .25s, color .25s; }
.pathway-card:last-child { border-right: 0; }
.pathway-card:hover, .pathway-card:focus-visible, .pathway-card.active { background: var(--navy); color: #fff; }
.pathway-icon { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: .74rem; margin-bottom: auto; }
.pathway-card strong { display: block; font-family: var(--display); font-size: 1.7rem; line-height: 1.1; margin: 2rem 0 .75rem; }
.pathway-card > span:nth-of-type(2) { color: #5f6c7a; }
.pathway-card:hover > span:nth-of-type(2), .pathway-card.active > span:nth-of-type(2) { color: rgba(255,255,255,.72); }
.pathway-card b { margin-top: 1.5rem; color: var(--blue); font-size: .86rem; }
.pathway-card:hover b, .pathway-card.active b { color: var(--yellow); }

.library-section { background: var(--ink); color: #fff; padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 6vw, 7rem); }
.library-heading { display: grid; grid-template-columns: 1.4fr .6fr; gap: 4rem; align-items: end; margin-bottom: 3rem; }
.library-heading > p { color: #b8c4d1; max-width: 480px; }
.resource-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 2rem; border-top: 1px solid rgba(255,255,255,.18); padding: 1.5rem 0; }
.search-box { flex: 1; max-width: 440px; display: flex; align-items: center; gap: .75rem; border-bottom: 1px solid rgba(255,255,255,.5); }
.search-box svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.search-box input { width: 100%; padding: .8rem 0; background: transparent; border: 0; outline: 0; color: #fff; font-size: 1rem; }
.search-box input::placeholder { color: #a8b7c6; }
.filters { display: flex; gap: .4rem; flex-wrap: wrap; }
.filter { padding: .55rem .9rem; border: 1px solid rgba(255,255,255,.26); border-radius: 99px; background: transparent; color: #fff; cursor: pointer; font-size: .85rem; }
.filter.active, .filter:hover { background: #fff; color: var(--ink); }
.resource-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.2); }
.resource-card { display: grid; grid-template-columns: .9fr 1.1fr; background: var(--ink); }
.resource-card[hidden] { display: none; }
.resource-visual { min-height: 290px; padding: 1.5rem; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; color: var(--ink); }
.visual-label { position: relative; z-index: 2; align-self: flex-start; padding: .35rem .6rem; background: rgba(255,255,255,.76); border-radius: 99px; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.resource-visual small { position: relative; z-index: 2; font-size: .82rem; font-weight: 600; }
.visual-tdah { background: var(--sky); }
.visual-tdah b { font-family: var(--display); font-size: clamp(3.2rem, 5vw, 5.8rem); line-height: 1; transform: rotate(-8deg); }
.visual-depression { background: var(--yellow); }
.sun-shape { width: 145px; height: 145px; border-radius: 50%; background: var(--coral); align-self: center; box-shadow: -38px 30px 0 -10px var(--paper); }
.visual-podcast { background: var(--coral); }
.sound-wave { height: 100px; display: flex; align-items: center; justify-content: center; gap: 7px; }
.sound-wave i { width: 7px; height: 50%; background: var(--ink); border-radius: 5px; }.sound-wave i:nth-child(2),.sound-wave i:nth-child(6){height:85%}.sound-wave i:nth-child(3),.sound-wave i:nth-child(5){height:60%}.sound-wave i:nth-child(4){height:100%}
.visual-rights { background: #d8e7f6; }
.visual-rights b { align-self: center; display: grid; place-items: center; width: 125px; height: 125px; border: 3px solid var(--ink); border-radius: 50%; font-family: var(--display); font-size: 5rem; }
.resource-body { padding: 1.8rem; display: flex; flex-direction: column; }
.meta { display: flex; justify-content: space-between; color: var(--sky); text-transform: uppercase; letter-spacing: .1em; font-size: .68rem; font-weight: 700; }
.resource-body h3 { margin: 1.4rem 0 .8rem; font-family: var(--display); font-size: 1.6rem; line-height: 1.12; }
.resource-body p { color: #aebdca; font-size: .92rem; margin: 0; }
.resource-body a, .availability { margin-top: auto; padding-top: 1.5rem; color: var(--yellow); font-weight: 700; font-size: .86rem; text-decoration: none; }
.resource-body a span { float: right; }
.availability { text-transform: uppercase; letter-spacing: .1em; }
.empty-state { padding: 2rem; text-align: center; background: rgba(255,255,255,.07); }

.section-intro.split { max-width: none; display: grid; grid-template-columns: 1fr .7fr; gap: 5rem; align-items: end; }
.course-feature { display: grid; grid-template-columns: .45fr 1.3fr .55fr; gap: 3rem; padding: 3rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.course-index { display: flex; flex-direction: column; justify-content: space-between; text-transform: uppercase; font-size: .74rem; letter-spacing: .1em; }
.course-index b { font-family: var(--display); font-size: 5rem; color: var(--coral); line-height: 1; }
.tag { display: inline-block; color: var(--blue); text-transform: uppercase; font-size: .7rem; letter-spacing: .12em; font-weight: 700; }
.course-info h3 { font-family: var(--display); font-size: clamp(2rem, 3vw, 3rem); line-height: 1.1; margin: .8rem 0 1rem; }
.course-info p { color: #46576a; max-width: 650px; }
.course-info ul { display: flex; gap: 1.5rem; padding: 0; list-style-position: inside; font-size: .82rem; font-weight: 600; }
.course-action { display: flex; flex-direction: column; align-items: stretch; justify-content: space-between; text-align: right; font-size: .82rem; }

.principles { background: var(--navy); color: #fff; padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 8vw, 9rem); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(4rem, 9vw, 10rem); }
.principles-copy > p:not(.section-number) { color: #b6c6d6; font-size: 1.06rem; }
.principle-list { border-top: 1px solid rgba(255,255,255,.25); }
.principle-list > div { display: grid; grid-template-columns: 50px 1fr; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid rgba(255,255,255,.25); }
.principle-list span { color: var(--sky); font-size: .76rem; }
.principle-list p { margin: 0; color: #b6c6d6; }
.principle-list strong { display: block; color: #fff; font-family: var(--display); font-size: 1.35rem; margin-bottom: .25rem; }
.closing { padding: clamp(6rem, 12vw, 12rem) 1.25rem; text-align: center; background: var(--sky); }
.closing > p { text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 700; }
.closing h2 { margin: 1.5rem auto 2.5rem; }

footer { padding: 3rem clamp(1.25rem, 6vw, 7rem); display: grid; grid-template-columns: 1fr 1fr auto; gap: 2rem; align-items: center; background: var(--ink); color: #fff; }
.footer-brand .brand-mark { background: var(--coral); }
footer p { color: #9eb0c1; }
footer nav { display: flex; gap: 1.25rem; }
footer nav a { text-decoration: none; font-size: .9rem; }
footer small { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.15); color: #8296a9; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
@media (max-width: 980px) {
  .hero-content { width: 70vw; margin-left: 2rem; }
  .pathway-grid { grid-template-columns: 1fr; }
  .pathway-card { min-height: 260px; border-right: 0; border-bottom: 1px solid var(--line); }
  .resource-grid { grid-template-columns: 1fr; }
  .library-heading, .section-intro.split, .principles { grid-template-columns: 1fr; gap: 2.5rem; }
  .course-feature { grid-template-columns: .35fr 1.2fr; }
  .course-action { grid-column: 2; gap: 1rem; }
  footer { grid-template-columns: 1fr auto; }
  footer > p { display: none; }
}
@media (max-width: 700px) {
  .site-header { height: 68px; }
  .menu-toggle { display: grid; gap: 5px; }
  .menu-toggle i { width: 25px; height: 2px; background: #fff; }
  .site-header nav { display: none; position: absolute; top: 68px; left: 0; right: 0; padding: 1.5rem; background: var(--ink); flex-direction: column; align-items: flex-start; }
  .site-header nav.open { display: flex; }
  .hero { height: auto; min-height: 760px; align-items: flex-start; }
  .hero-image { object-position: 64% center; opacity: .72; }
  .hero-overlay { background: linear-gradient(180deg, rgba(5,31,60,.72), rgba(5,31,60,.3) 60%, rgba(5,31,60,.82)); }
  .hero-content { width: auto; margin: 0; padding: 8.5rem 1.25rem 15rem; }
  .hero-caption { display: none; }
  h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .pathways, .courses, .library-section, .principles { padding-left: 1.25rem; padding-right: 1.25rem; }
  .resource-toolbar { align-items: stretch; flex-direction: column; }
  .search-box { max-width: none; }
  .filters { overflow-x: auto; flex-wrap: nowrap; padding-bottom: .5rem; }
  .filter { white-space: nowrap; }
  .resource-card { grid-template-columns: 1fr; }
  .resource-visual { min-height: 240px; }
  .course-feature { grid-template-columns: 1fr; gap: 1.5rem; }
  .course-index { flex-direction: row; align-items: center; }
  .course-index b { font-size: 3.5rem; }
  .course-action { grid-column: 1; text-align: left; }
  .course-info ul { flex-direction: column; gap: .35rem; }
  footer { grid-template-columns: 1fr; }
  footer nav { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
