:root {
  --ink: #102f27;
  --paper: #f3efe4;
  --paper-soft: #fbf7ec;
  --forest: #0b3028;
  --forest-2: #16483b;
  --cream: #fff9eb;
  --moon: #b9c9b9;
  --sage: #86a095;
  --mist: #c5d1c8;
  --line: rgba(11, 48, 40, 0.2);
  --light-line: rgba(255, 249, 235, 0.25);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(20px, 3.4vw, 54px);
  --serif: "Songti SC", "Noto Serif SC", "STSong", Georgia, serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip: rect(0,0,0,0); overflow: hidden; white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; left: 16px; top: 12px; padding: 11px 15px; background: var(--cream); color: var(--ink); transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: none; }
:focus-visible { outline: 2px solid var(--moon); outline-offset: 4px; }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 10px var(--pad);
  color: var(--cream);
  border-bottom: 1px solid rgba(255,249,235,.26);
  transition: background .35s, color .35s, border-color .35s;
}
.site-header.is-scrolled { color: var(--ink); background: rgba(243,239,228,.93); border-color: var(--line); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 11px; justify-self: start; }
.brand-seal { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid currentColor; border-radius: 50%; font-family: var(--serif); font-size: 18px; }
.brand-copy { display: flex; flex-direction: column; gap: 3px; }
.brand-copy b { font-family: var(--serif); font-size: 14px; font-weight: 600; }
.brand-copy small { font-size: 8px; letter-spacing: .12em; opacity: .66; }
.desktop-nav { display: flex; gap: clamp(20px, 2.5vw, 40px); }
.desktop-nav a { position: relative; font-size: 11px; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -9px; height: 1px; background: currentColor; transition: right .3s var(--ease); }
.desktop-nav a:hover::after { right: 0; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 9px; }
.icon-button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; color: inherit; background: none; border: 1px solid currentColor; border-radius: 999px; cursor: pointer; font-size: 10px; transition: background .25s, color .25s, transform .25s; }
.icon-button:hover { color: var(--ink); background: var(--cream); transform: translateY(-2px); }
.is-scrolled .icon-button:hover { color: var(--cream); background: var(--ink); }
.icon-button svg, .notes-search svg, .global-search-box svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 0; color: inherit; background: none; border: 1px solid currentColor; border-radius: 50%; cursor: pointer; }
.menu-toggle i { display: block; width: 19px; height: 1px; margin: 5px auto; background: currentColor; transition: transform .3s var(--ease); }
.menu-toggle[aria-expanded="true"] i:first-of-type { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-3px) rotate(-45deg); }
.mobile-menu { display: none; }

.hero { position: relative; min-height: 100svh; padding: 105px var(--pad) 34px; color: var(--cream); overflow: hidden; }
.hero-image, .hero-overlay, .hero-grain { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: 52% 52%; animation: heroMove 12s var(--ease) both; }
.hero-overlay { background: linear-gradient(180deg, rgba(7,14,12,.36) 0%, rgba(7,14,12,.05) 35%, rgba(7,14,12,.75) 100%), linear-gradient(90deg, rgba(10,18,15,.7), transparent 57%); }
.hero-grain { opacity: .12; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.38'/%3E%3C/svg%3E"); mix-blend-mode: soft-light; }
@keyframes heroMove { from { transform: scale(1.08); filter: saturate(.78); } to { transform: scale(1); filter: saturate(1); } }
.hero-topline { position: relative; z-index: 2; display: flex; justify-content: space-between; font-size: 9px; letter-spacing: .15em; }
.hero-copy { position: absolute; z-index: 2; left: var(--pad); bottom: 44px; width: min(1000px, 72vw); }
.hero-kicker { margin: 0 0 24px; font-family: var(--serif); font-size: 13px; letter-spacing: .08em; }
.hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(54px, 7.8vw, 122px); font-weight: 500; line-height: .98; letter-spacing: -.065em; text-wrap: balance; }
.hero-intro { display: flex; align-items: flex-end; gap: 40px; margin-top: 42px; }
.hero-intro > p { max-width: 410px; margin: 0; color: rgba(255,249,235,.74); font-size: 12px; line-height: 1.65; }
.round-link { display: inline-flex; align-items: center; gap: 28px; padding: 13px 16px; border: 1px solid rgba(255,249,235,.6); border-radius: 999px; font-size: 11px; transition: color .25s, background .25s, transform .25s; }
.round-link:hover { color: var(--ink); background: var(--cream); transform: translateY(-3px); }
.hero-index { position: absolute; z-index: 2; right: var(--pad); bottom: 44px; width: min(290px, 23vw); padding: 18px; border: 1px solid rgba(255,249,235,.36); background: rgba(7,31,26,.48); backdrop-filter: blur(10px); }
.hero-index > span { display: block; padding-bottom: 13px; border-bottom: 1px solid rgba(255,249,235,.28); font-size: 8px; letter-spacing: .15em; }
.hero-index dl { margin: 8px 0 0; }
.hero-index dl div { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0; }
.hero-index dt { color: rgba(255,249,235,.62); font-size: 9px; }
.hero-index dd { margin: 0; font-size: 13px; }

.ticker { overflow: hidden; padding: 16px 0; color: var(--cream); background: var(--forest); border-top: 1px solid var(--light-line); border-bottom: 1px solid var(--light-line); }
.ticker > div { display: flex; align-items: center; gap: 34px; width: max-content; animation: ticker 28s linear infinite; }
.ticker span { font-size: 9px; letter-spacing: .16em; }
.ticker i { color: var(--moon); font-style: normal; font-size: 9px; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section { padding: 34px var(--pad) clamp(100px, 12vw, 180px); }
.section-meta { display: flex; justify-content: space-between; gap: 24px; padding-bottom: 15px; border-bottom: 1px solid var(--line); font-size: 9px; letter-spacing: .11em; }
.section-meta-light { border-color: var(--light-line); }
.section-meta b { font-weight: 650; }
.eyebrow { margin: 0 0 28px; color: #68756e; font-size: 9px; letter-spacing: .17em; text-transform: uppercase; }
.display-title { margin: 0; font-family: var(--serif); font-size: clamp(55px, 8.6vw, 132px); font-weight: 500; line-height: .93; letter-spacing: -.07em; }
.section-lead { max-width: 530px; margin: 0; font-family: var(--serif); font-size: clamp(18px, 2vw, 29px); line-height: 1.45; letter-spacing: -.03em; }

.framework-section { background: var(--paper); }
.framework-heading { display: grid; grid-template-columns: 1.55fr 1fr; gap: 7vw; align-items: end; padding: clamp(72px, 9vw, 130px) 0 90px; }
.framework-heading .section-lead { margin-bottom: 12px; }
.knowledge-map { position: relative; height: min(700px, 65vw); min-height: 560px; color: var(--cream); background: var(--forest); overflow: hidden; }
.knowledge-map::before, .knowledge-map::after { content: ""; position: absolute; left: 50%; top: 50%; border: 1px solid rgba(255,249,235,.09); border-radius: 50%; transform: translate(-50%,-50%); }
.knowledge-map::before { width: min(510px, 43vw); aspect-ratio: 1; }
.knowledge-map::after { width: min(820px, 68vw); aspect-ratio: 1; }
.map-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-lines path { fill: none; stroke: rgba(255,249,235,.32); stroke-width: 1; stroke-dasharray: 5 7; vector-effect: non-scaling-stroke; }
.map-center { position: absolute; z-index: 3; left: 50%; top: 50%; display: flex; flex-direction: column; justify-content: center; align-items: center; width: 225px; height: 225px; padding: 24px; border: 1px solid rgba(255,249,235,.48); border-radius: 50%; background: rgba(11,48,40,.9); text-align: center; transform: translate(-50%,-50%); }
.map-center span, .map-node span { color: var(--sage); font-size: 8px; letter-spacing: .13em; }
.map-center b { margin: 17px 0 12px; font-family: var(--serif); font-size: 19px; font-weight: 500; line-height: 1.25; }
.map-center small { color: rgba(255,249,235,.58); font-size: 8px; }
.map-node { position: absolute; z-index: 3; display: flex; flex-direction: column; width: 205px; min-height: 118px; padding: 18px; border: 1px solid rgba(255,249,235,.3); background: rgba(22,72,59,.82); transition: background .3s, transform .3s var(--ease), border-color .3s; }
.map-node:hover { background: #215c4c; border-color: var(--moon); transform: translateY(-5px); }
.map-node b { margin-top: 17px; font-family: var(--serif); font-size: 18px; font-weight: 500; }
.map-node small { margin-top: auto; color: rgba(255,249,235,.56); font-size: 8px; }
.node-a { left: 8%; top: 11%; }
.node-b { right: 8%; top: 11%; }
.node-c { left: 8%; bottom: 11%; }
.node-d { right: 8%; bottom: 11%; }
.framework-steps { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.framework-steps article { min-height: 260px; padding: 28px; border-right: 1px solid var(--line); }
.framework-steps article:first-child { border-left: 1px solid var(--line); }
.framework-steps span { color: #758078; font-family: var(--serif); font-size: 22px; }
.framework-steps h3 { margin: 64px 0 12px; font-family: var(--serif); font-size: 30px; font-weight: 500; }
.framework-steps p { max-width: 280px; margin: 0; color: #5f655f; font-size: 11px; line-height: 1.65; }

.assessment-section { color: var(--cream); background: var(--forest); }
.assessment-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: 8vw; padding-top: clamp(75px, 9vw, 130px); }
.assessment-intro .eyebrow { color: var(--sage); }
.assessment-intro .section-lead { margin: 62px 0 0 18%; color: rgba(255,249,235,.72); }
.assessment-notes { display: grid; grid-template-columns: 90px 1fr; gap: 20px; margin: 65px 0 0 18%; padding-top: 16px; border-top: 1px solid var(--light-line); }
.assessment-notes span { color: var(--sage); font-size: 9px; }
.assessment-notes p { margin: 0; font-size: 10px; line-height: 1.6; }
.quiz-card { min-height: 670px; padding: clamp(25px, 4vw, 55px); color: var(--ink); background: var(--cream); }
.quiz-start, .quiz-result { display: flex; flex-direction: column; min-height: 560px; }
.quiz-mark { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--ink); border-radius: 50%; font-size: 25px; }
.quiz-start > p:first-of-type { margin: 80px 0 15px; font-size: 8px; letter-spacing: .14em; }
.quiz-start h3, .quiz-result h3 { margin: 0; font-family: var(--serif); font-size: clamp(44px, 5vw, 72px); font-weight: 500; line-height: 1; letter-spacing: -.06em; }
.quiz-start > p:last-of-type { max-width: 340px; margin: 30px 0; color: #62665f; font-size: 12px; line-height: 1.7; }
.button { display: flex; justify-content: space-between; align-items: center; min-height: 50px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer; font-size: 11px; transition: transform .25s, background .25s; }
.button:hover { transform: translateY(-3px); }
.button-cream { width: 100%; margin-top: auto; color: var(--cream); background: var(--forest); }
.quiz-progress { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 20px; }
.quiz-progress span { font-size: 9px; letter-spacing: .12em; }
.quiz-progress i { height: 2px; background: #ddd6c7; }
.quiz-progress em { display: block; width: 20%; height: 100%; background: var(--forest); transition: width .4s var(--ease); }
.quiz-label { margin: 85px 0 17px; color: #69716c; font-size: 9px; letter-spacing: .1em; }
.quiz-question h3 { min-height: 110px; margin: 0 0 38px; font-family: var(--serif); font-size: clamp(27px, 3vw, 43px); font-weight: 500; line-height: 1.2; letter-spacing: -.035em; }
.quiz-options { display: grid; gap: 9px; }
.quiz-options button { display: flex; justify-content: space-between; align-items: center; min-height: 57px; padding: 0 17px; color: var(--ink); background: transparent; border: 1px solid rgba(11,48,40,.3); text-align: left; cursor: pointer; font-size: 11px; transition: color .2s, background .2s, transform .2s; }
.quiz-options button:hover { color: var(--cream); background: var(--forest); transform: translateX(5px); }
.quiz-options button::after { content: "○"; font-size: 16px; }
.quiz-back { margin-top: 24px; padding: 0; color: #6e746f; background: none; border: 0; cursor: pointer; font-size: 10px; }
.quiz-back:disabled { opacity: .35; cursor: default; }
.quiz-result .quiz-label { margin-top: 10px; }
.result-code { margin-bottom: 25px; color: #6e746f; font-size: 9px; letter-spacing: .13em; }
.quiz-result > p:not(.quiz-label) { margin: 25px 0 35px; color: #5b625d; font-size: 11px; line-height: 1.7; }
.result-bars { display: grid; gap: 15px; }
.result-bar { display: grid; grid-template-columns: 70px 1fr 30px; align-items: center; gap: 12px; font-size: 9px; }
.result-bar i { height: 4px; background: #ddd6c7; }
.result-bar em { display: block; height: 100%; width: var(--score); background: var(--forest); transform-origin: left; animation: growBar .7s var(--ease) both; }
@keyframes growBar { from { transform: scaleX(0); } }

.essays-section { background: var(--paper-soft); }
.essay-heading, .notes-heading { display: grid; grid-template-columns: 1.45fr 1fr; gap: 7vw; align-items: end; padding: clamp(72px, 9vw, 130px) 0 90px; }
.featured-essay { display: grid; grid-template-columns: 1.25fr .75fr; min-height: 650px; border: 1px solid var(--line); }
.featured-image { position: relative; overflow: hidden; }
.featured-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.featured-essay:hover .featured-image img { transform: scale(1.035); }
.featured-image > span { position: absolute; left: 18px; top: 18px; padding: 8px 10px; color: var(--cream); background: rgba(11,48,40,.8); font-size: 8px; letter-spacing: .1em; }
.featured-copy { display: flex; flex-direction: column; padding: clamp(28px, 4vw, 58px); background: var(--paper); }
.article-meta { display: flex; justify-content: space-between; gap: 20px; color: #69726c; font-size: 8px; letter-spacing: .11em; }
.featured-copy h3 { margin: auto 0 30px; font-family: var(--serif); font-size: clamp(32px, 4vw, 58px); font-weight: 500; line-height: 1.08; letter-spacing: -.055em; }
.featured-copy > p { margin: 0 0 36px; color: #5f655f; font-size: 12px; line-height: 1.7; }
.article-link { display: flex; justify-content: space-between; width: 100%; padding: 15px 0; background: none; border: 0; border-top: 1px solid var(--line); text-align: left; cursor: pointer; font-size: 10px; }
.article-link span { transition: transform .25s; }
.article-link:hover span { transform: translate(4px,-4px); }
.essay-list { margin-top: 80px; border-top: 1px solid var(--line); }
.essay-row { display: grid; grid-template-columns: 80px 1fr 110px 45px; align-items: center; min-height: 155px; border-bottom: 1px solid var(--line); }
.essay-number { color: #777e78; font-family: var(--serif); font-size: 18px; }
.article-tag { color: #69726c; font-size: 8px; letter-spacing: .11em; }
.essay-row h3 { margin: 11px 0 0; font-family: var(--serif); font-size: clamp(22px, 2.4vw, 36px); font-weight: 500; letter-spacing: -.035em; }
.essay-row time { color: #767c77; font-size: 9px; }
.essay-row button { width: 40px; height: 40px; border: 1px solid var(--ink); border-radius: 50%; background: transparent; cursor: pointer; transition: color .2s, background .2s, transform .2s; }
.essay-row button:hover { color: var(--cream); background: var(--ink); transform: rotate(45deg); }

.videos-section { color: var(--cream); background: #08271f; }
.video-heading { display: grid; grid-template-columns: .6fr 1.4fr; align-items: start; padding: clamp(75px, 9vw, 130px) 0 90px; }
.video-heading .eyebrow { color: var(--sage); margin-top: 12px; }
.featured-video { position: relative; min-height: min(760px, 68vw); overflow: hidden; }
.featured-video > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 58%; transition: transform 1.1s var(--ease); }
.featured-video:hover > img { transform: scale(1.035); }
.video-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(6,12,10,.88) 100%); }
.video-copy { position: absolute; left: 30px; bottom: 30px; width: min(700px, 60%); }
.video-copy .article-meta { color: rgba(255,249,235,.62); }
.video-copy h3 { margin: 28px 0 18px; font-family: var(--serif); font-size: clamp(35px, 5vw, 76px); font-weight: 500; line-height: .98; letter-spacing: -.06em; }
.video-copy p { max-width: 500px; margin: 0; color: rgba(255,249,235,.68); font-size: 11px; line-height: 1.65; }
.play-button { position: absolute; right: 30px; bottom: 30px; display: inline-flex; align-items: center; gap: 11px; padding: 9px 16px 9px 9px; color: var(--ink); background: var(--cream); border: 0; border-radius: 999px; cursor: pointer; font-size: 10px; transition: transform .25s; }
.play-button:hover { transform: scale(1.05); }
.play-button span { display: grid; place-items: center; width: 35px; height: 35px; color: var(--cream); background: var(--forest); border-radius: 50%; font-size: 8px; padding-left: 2px; }
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 100px; }
.video-card-image { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.video-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.video-card:hover img { transform: scale(1.04); }
.video-card-image button { position: absolute; right: 18px; bottom: 18px; display: grid; place-items: center; width: 50px; height: 50px; padding-left: 3px; color: var(--ink); background: var(--cream); border: 0; border-radius: 50%; cursor: pointer; }
.video-card .article-meta { margin: 18px 0; color: var(--sage); }
.video-card h3 { max-width: 560px; margin: 0; font-family: var(--serif); font-size: clamp(24px, 3vw, 40px); font-weight: 500; line-height: 1.15; letter-spacing: -.04em; }

.notes-section { background: var(--paper); }
.notes-heading .section-lead { margin-bottom: 9px; }
.notes-toolbar { display: flex; justify-content: space-between; gap: 25px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.notes-search { display: flex; align-items: center; gap: 11px; min-width: 290px; }
.notes-search input { width: 100%; padding: 0; background: none; border: 0; outline: 0; font-size: 11px; }
.note-filters { display: flex; gap: 7px; }
.note-filters button { padding: 8px 13px; background: none; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: 9px; transition: color .2s, background .2s; }
.note-filters button:hover, .note-filters button.active { color: var(--cream); background: var(--forest); }
.notes-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; padding-top: 45px; }
.note-card { grid-column: span 4; display: flex; flex-direction: column; min-height: 330px; padding: 25px; color: var(--ink); background: var(--paper-soft); border: 1px solid var(--line); text-align: left; cursor: pointer; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.note-card:hover { transform: translateY(-7px); box-shadow: 0 18px 45px rgba(38,42,37,.12); }
.note-card[hidden] { display: none; }
.note-card small { color: #6f7972; font-size: 8px; letter-spacing: .11em; }
.note-card b { margin: auto 0 25px; font-family: var(--serif); font-size: clamp(23px, 2.4vw, 35px); font-weight: 500; line-height: 1.2; letter-spacing: -.04em; }
.note-card p { margin: -8px 0 25px; color: #676d67; font-size: 10px; line-height: 1.65; }
.note-card em, .note-card-content em { color: #657069; font-size: 9px; font-style: normal; }
.note-card-image { position: relative; grid-column: span 8; min-height: 510px; padding: 0; color: var(--cream); border: 0; }
.note-card-image > img, .note-image-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.note-card-image > img { object-fit: cover; transition: transform 1s var(--ease); }
.note-card-image:hover > img { transform: scale(1.035); }
.note-image-shade { background: linear-gradient(180deg, transparent, rgba(9,15,13,.82)); }
.note-card-content { position: absolute; inset: auto 25px 25px; display: flex; flex-direction: column; align-items: flex-start; }
.note-card-content small { color: rgba(255,249,235,.66); }
.note-card-content b { max-width: 700px; margin: 24px 0; font-size: clamp(27px, 4vw, 56px); }
.note-card-content em { color: var(--cream); }
.note-card-quote { background: #e3ddcf; }
.note-card-accent { color: var(--cream); background: #16483b; }
.note-card-accent small, .note-card-accent em { color: rgba(255,249,235,.64); }
.notes-empty { padding: 60px 0; color: #69716c; text-align: center; font-size: 11px; }

.closing-section { position: relative; min-height: 880px; padding: 80px var(--pad); color: var(--cream); overflow: hidden; }
.closing-section > img, .closing-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.closing-section > img { object-fit: cover; }
.closing-shade { background: linear-gradient(90deg, rgba(7,14,12,.8), rgba(7,14,12,.1)), linear-gradient(0deg, rgba(7,14,12,.68), transparent 60%); }
.closing-content { position: relative; z-index: 2; display: grid; grid-template-columns: 1.25fr .75fr; height: 720px; align-items: end; }
.closing-content > .eyebrow { position: absolute; left: 0; top: 0; color: rgba(255,249,235,.7); }
.closing-content h2 { margin: 0; font-family: var(--serif); font-size: clamp(62px, 9vw, 140px); font-weight: 500; line-height: .9; letter-spacing: -.07em; }
.closing-form-wrap { padding-bottom: 10px; }
.closing-form-wrap > p { max-width: 390px; margin: 0 0 35px; color: rgba(255,249,235,.7); font-size: 11px; line-height: 1.7; }
.subscribe-form { display: grid; grid-template-columns: 1fr auto; padding-bottom: 8px; border-bottom: 1px solid rgba(255,249,235,.6); }
.subscribe-form input { min-width: 0; padding: 12px 0; color: var(--cream); background: none; border: 0; outline: 0; font-family: var(--serif); font-size: 19px; }
.subscribe-form input::placeholder { color: rgba(255,249,235,.55); }
.subscribe-form button { padding: 11px 16px; color: var(--ink); background: var(--cream); border: 0; border-radius: 999px; cursor: pointer; font-size: 9px; }
.closing-form-wrap small { display: block; margin-top: 12px; color: rgba(255,249,235,.48); font-size: 8px; }

.site-footer { display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; gap: 40px; min-height: 290px; padding: 40px var(--pad); color: var(--cream); background: #08271f; }
.footer-brand { display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr auto; column-gap: 13px; align-self: start; }
.footer-brand > span { grid-row: 1 / 3; display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid var(--cream); border-radius: 50%; font-family: var(--serif); font-size: 25px; }
.footer-brand b { align-self: end; font-family: var(--serif); font-size: 18px; font-weight: 500; }
.footer-brand small { color: var(--sage); font-size: 7px; letter-spacing: .12em; }
.site-footer > p { margin: 5px 0 0; color: rgba(255,249,235,.65); font-family: var(--serif); font-size: 13px; line-height: 1.6; }
.site-footer nav { display: flex; flex-direction: column; gap: 11px; margin-top: 5px; }
.site-footer nav a, .footer-meta { color: rgba(255,249,235,.67); font-size: 9px; }
.site-footer nav a:hover, .footer-meta a:hover { color: var(--cream); }
.footer-meta { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }

.reveal { opacity: 0; transform: translateY(36px); transition: opacity .85s var(--ease), transform .85s var(--ease); transition-delay: var(--delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }

.content-dialog { width: min(1040px, calc(100vw - 36px)); max-height: calc(100svh - 36px); padding: 0; color: var(--ink); background: var(--paper-soft); border: 0; box-shadow: 0 30px 100px rgba(0,0,0,.45); overflow: auto; }
.content-dialog::backdrop, .search-dialog::backdrop { background: rgba(7,14,12,.8); backdrop-filter: blur(5px); }
.content-dialog[open], .search-dialog[open] { animation: dialogIn .45s var(--ease); }
@keyframes dialogIn { from { opacity: 0; transform: translateY(25px) scale(.985); } }
.dialog-close { position: sticky; z-index: 4; float: right; top: 14px; right: 14px; display: grid; place-items: center; width: 42px; height: 42px; margin: 14px; color: var(--cream); background: rgba(11,48,40,.9); border: 0; border-radius: 50%; font-size: 24px; cursor: pointer; }
.dialog-article { padding: clamp(45px, 7vw, 90px); }
.dialog-article > span { color: #6e7871; font-size: 9px; letter-spacing: .13em; }
.dialog-article h2 { max-width: 820px; margin: 35px 0 48px; font-family: var(--serif); font-size: clamp(38px, 6vw, 76px); font-weight: 500; line-height: 1.03; letter-spacing: -.06em; }
.dialog-article img { width: 100%; max-height: 560px; object-fit: cover; margin-bottom: 50px; }
.dialog-article .article-body { max-width: 700px; margin: 0 auto; font-family: var(--serif); font-size: 17px; line-height: 2; }
.dialog-article .article-body p:first-child::first-letter { float: left; margin: 10px 10px 0 0; font-size: 65px; line-height: .7; }
.dialog-note { padding: clamp(45px, 8vw, 100px); }
.dialog-note h2 { max-width: 760px; margin: 40px 0 60px; font-family: var(--serif); font-size: clamp(38px, 6vw, 78px); font-weight: 500; line-height: 1.1; letter-spacing: -.055em; }
.dialog-note p { max-width: 700px; color: #565e58; font-family: var(--serif); font-size: 17px; line-height: 1.9; }
.dialog-note-tags { display: flex; flex-wrap: wrap; gap: 8px; max-width: 700px; margin-top: 35px; }
.dialog-note-tags span { padding: 7px 10px; color: #5e6861; border: 1px solid var(--line); border-radius: 999px; font-size: 8px; }
.dialog-edit-note { margin-top: 45px; padding: 12px 18px; color: var(--cream); background: var(--forest); border: 0; border-radius: 999px; cursor: pointer; font-size: 9px; }
.dialog-video { color: var(--cream); background: #08271f; padding: 66px 24px 25px; }
.dialog-video-stage { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #061c17; }
.dialog-video-stage img { width: 100%; height: 100%; object-fit: cover; animation: videoDrift 10s linear both; }
@keyframes videoDrift { to { transform: scale(1.08); } }
.dialog-video-stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,14,12,.15), rgba(7,14,12,.75)); }
.video-preview-copy { position: absolute; z-index: 2; left: 5%; bottom: 8%; }
.video-preview-copy span { font-size: 8px; letter-spacing: .14em; }
.video-preview-copy h2 { max-width: 750px; margin: 20px 0; font-family: var(--serif); font-size: clamp(30px, 5vw, 66px); font-weight: 500; line-height: 1; }
.video-preview-copy p { max-width: 520px; color: rgba(255,249,235,.68); font-size: 10px; line-height: 1.6; }
.preview-progress { position: absolute; z-index: 2; left: 5%; right: 5%; bottom: 4%; height: 1px; background: rgba(255,249,235,.35); }
.preview-progress i { display: block; width: 0; height: 2px; background: var(--cream); animation: previewProgress 9s linear forwards; }
@keyframes previewProgress { to { width: 100%; } }
.dialog-video > small { display: block; margin-top: 14px; color: var(--sage); font-size: 8px; }

.search-dialog { width: min(880px, calc(100vw - 36px)); padding: 0 0 35px; color: var(--ink); background: var(--paper-soft); border: 0; }
.search-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 8px; letter-spacing: .13em; }
.search-head button { width: 35px; height: 35px; background: none; border: 1px solid var(--ink); border-radius: 50%; cursor: pointer; font-size: 20px; }
.global-search-box { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 15px; margin: 35px 35px 12px; padding-bottom: 17px; border-bottom: 1px solid var(--ink); }
.global-search-box svg { width: 23px; height: 23px; }
.global-search-box input { min-width: 0; padding: 0; background: none; border: 0; outline: 0; font-family: var(--serif); font-size: clamp(21px, 3vw, 34px); }
.search-hint { margin: 0 35px 30px; color: #737b75; font-size: 9px; }
.search-results { display: grid; margin: 0 35px; border-top: 1px solid var(--line); }
.search-result { display: grid; grid-template-columns: 70px 1fr auto; gap: 14px; align-items: center; min-height: 67px; padding: 0 5px; border-bottom: 1px solid var(--line); }
.search-result span { color: #727a74; font-size: 8px; }
.search-result b { font-family: var(--serif); font-size: 15px; font-weight: 500; }
.search-result i { font-style: normal; }
.search-result:hover b { text-decoration: underline; text-underline-offset: 4px; }
.search-none { padding: 35px 0; color: #6d756f; font-family: var(--serif); font-size: 16px; }

/* Local editing */
.edit-button[aria-pressed="true"] { color: var(--ink); background: var(--moon); border-color: var(--moon); }
.is-scrolled .edit-button[aria-pressed="true"] { color: var(--cream); background: var(--forest); border-color: var(--forest); }
body.edit-mode [data-inline-edit] { border-radius: 2px; outline: 1px dashed rgba(134,160,149,.72); outline-offset: 5px; cursor: text; }
body.edit-mode [data-inline-edit]:hover { background: rgba(134,160,149,.14); }
body.edit-mode [data-inline-edit]:focus { outline: 2px solid var(--moon); background: rgba(134,160,149,.2); }
body.edit-mode img[data-edit-image] { outline: 2px dashed var(--moon); outline-offset: -6px; cursor: pointer; filter: saturate(.82); }
body.edit-mode img[data-edit-image]:hover { filter: saturate(1.05) brightness(1.05); }
.editor-dock { position: fixed; z-index: 300; left: 50%; bottom: 18px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; width: min(950px, calc(100vw - 36px)); padding: 12px 13px 12px 17px; color: var(--cream); background: rgba(8,39,31,.97); border: 1px solid rgba(255,249,235,.3); box-shadow: 0 18px 55px rgba(5,30,24,.32); backdrop-filter: blur(16px); transform: translateX(-50%); }
.editor-dock > div:first-child { display: flex; align-items: center; gap: 11px; }
.editor-dock > div:first-child i { width: 8px; height: 8px; background: #5cc27e; border-radius: 50%; box-shadow: 0 0 0 6px rgba(92,194,126,.12); }
.editor-dock > div:first-child span { display: flex; flex-direction: column; gap: 2px; }
.editor-dock b { font-size: 10px; }
.editor-dock small { color: var(--sage); font-size: 7px; }
.editor-dock > p { margin: 0; color: rgba(255,249,235,.54); font-size: 8px; }
.editor-dock-actions { display: flex; gap: 7px; }
.editor-dock-actions button, .editor-dock-actions label { display: grid; place-items: center; min-height: 35px; padding: 0 12px; color: var(--cream); background: none; border: 1px solid rgba(255,249,235,.3); cursor: pointer; font-size: 8px; }
.editor-dock-actions label input, .hidden-file-input { display: none; }
.editor-dock-actions .finish-edit { color: var(--ink); background: var(--cream); }

/* Notebook partitions */
.notes-browser { display: grid; grid-template-columns: 250px 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.note-zones { display: flex; flex-direction: column; padding: 23px 20px 23px 0; border-right: 1px solid var(--line); }
.zones-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 28px; }
.zones-head span { font-size: 8px; letter-spacing: .13em; }
.zones-head small { color: #737b75; font-size: 8px; }
.note-zones > button { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 48px; padding: 0 12px; color: var(--ink); background: transparent; border: 0; border-top: 1px solid var(--line); cursor: pointer; text-align: left; font-size: 10px; transition: padding .25s, color .2s, background .2s; }
.note-zones > button b { color: #767e78; font-size: 8px; font-weight: 500; }
.note-zones > button:hover, .note-zones > button.active { padding-left: 18px; color: var(--cream); background: var(--forest); }
.note-zones > button:hover b, .note-zones > button.active b { color: var(--cream); }
.note-zones .new-note-button { margin-top: auto; color: var(--cream); background: var(--forest-2); border-bottom: 1px solid var(--line); }
.notes-content { min-width: 0; padding-left: 25px; }
.notes-content .notes-toolbar { min-height: 82px; padding: 18px 0; border-top: 0; }
.notes-sort { align-self: center; color: #6d756f; font-size: 8px; }
.notes-content .notes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 25px 0; }
.notes-content .note-card { position: relative; grid-column: span 1; display: block; min-height: 355px; padding: 0; }
.note-open { position: relative; z-index: 1; display: flex; flex-direction: column; width: 100%; min-height: 353px; padding: 24px; color: inherit; background: transparent; border: 0; text-align: left; cursor: pointer; }
.note-card-image .note-open { color: var(--cream); }
.note-card-image > img, .note-card-image > .note-image-shade { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; }
.note-card-image > img { object-fit: cover; transition: transform 1s var(--ease); }
.note-card-image:hover > img { transform: scale(1.035); }
.note-open small { display: flex; justify-content: space-between; color: #6f7972; font-size: 8px; letter-spacing: .08em; }
.note-card-image .note-open small { color: rgba(255,249,235,.7); }
.note-open b { margin: auto 0 22px; font-family: var(--serif); font-size: clamp(22px, 2vw, 31px); font-weight: 500; line-height: 1.2; letter-spacing: -.04em; }
.note-open p { margin: -4px 0 23px; color: #676d67; font-size: 10px; line-height: 1.65; }
.note-card-image .note-open p { color: rgba(255,249,235,.72); }
.note-open em { color: #657069; font-size: 8px; font-style: normal; }
.note-card-image .note-open em { color: var(--cream); }
.note-manage { position: absolute; z-index: 4; right: 12px; top: 45px; display: none; padding: 7px 10px; color: var(--cream); background: rgba(11,48,40,.92); border: 1px solid rgba(255,249,235,.32); cursor: pointer; font-size: 8px; }
body.edit-mode .note-manage { display: block; }
.note-time { font-variant-numeric: tabular-nums; }

.note-editor-dialog { width: min(820px, calc(100vw - 36px)); max-height: calc(100svh - 36px); padding: 0; color: var(--ink); background: var(--paper-soft); border: 0; box-shadow: 0 30px 100px rgba(0,0,0,.45); }
.note-editor-dialog::backdrop { background: rgba(7,14,12,.8); backdrop-filter: blur(5px); }
.note-editor-dialog[open] { animation: dialogIn .4s var(--ease); }
.note-editor-form { padding: 0 clamp(22px, 5vw, 55px) 45px; }
.note-editor-head { display: flex; justify-content: space-between; align-items: center; margin: 0 calc(clamp(22px, 5vw, 55px) * -1) 38px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 8px; letter-spacing: .13em; }
.note-editor-head button { width: 36px; height: 36px; background: none; border: 1px solid var(--ink); border-radius: 50%; cursor: pointer; font-size: 20px; }
.editor-field { display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; }
.editor-field > span { color: #6d756f; font-size: 8px; letter-spacing: .08em; }
.editor-field input, .editor-field textarea, .editor-field select { width: 100%; padding: 12px 0; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; outline: 0; resize: vertical; font-size: 12px; }
.editor-field input:focus, .editor-field textarea:focus, .editor-field select:focus { border-color: var(--ink); }
.editor-field-title input { font-family: var(--serif); font-size: clamp(25px, 4vw, 42px); }
.editor-field-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.note-editor-actions { display: flex; justify-content: space-between; gap: 15px; padding-top: 10px; }
.note-editor-actions button { min-height: 45px; padding: 0 18px; border: 1px solid var(--ink); cursor: pointer; font-size: 9px; }
.delete-note { color: #8e3227; background: transparent; border-color: #8e3227 !important; }
.save-note { margin-left: auto; min-width: 180px; display: flex; justify-content: space-between; color: var(--cream); background: var(--forest); }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; min-height: 68px; }
  .desktop-nav { display: none; }
  .search-button span { display: none; }
  .menu-toggle { display: block; }
  .mobile-menu { position: fixed; z-index: -1; inset: 0; display: flex; flex-direction: column; padding: 105px var(--pad) 32px; color: var(--ink); background: var(--paper); opacity: 0; visibility: hidden; transform: translateY(-25px); transition: opacity .35s, visibility .35s, transform .35s var(--ease); }
  .mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .mobile-menu-label { color: #6b746e; font-size: 8px; letter-spacing: .14em; }
  .mobile-menu nav { margin: auto 0; }
  .mobile-menu nav a { display: flex; gap: 22px; padding: 11px 0; font-family: var(--serif); font-size: clamp(39px, 8vw, 67px); line-height: 1; letter-spacing: -.055em; }
  .mobile-menu nav span { margin-top: 7px; color: #6e7871; font-family: var(--sans); font-size: 8px; letter-spacing: .1em; }
  .mobile-menu > p { margin: 0; padding-top: 18px; border-top: 1px solid var(--line); color: #68716b; font-size: 10px; }
  .menu-open .site-header { color: var(--ink); border-color: var(--line); }

  .hero-copy { width: calc(100% - var(--pad) * 2); }
  .hero-index { display: none; }
  .hero h1 { font-size: clamp(54px, 10.5vw, 96px); }
  .framework-heading, .assessment-layout, .essay-heading, .notes-heading { grid-template-columns: 1fr; }
  .framework-heading .section-lead, .essay-heading .section-lead, .notes-heading .section-lead { margin-left: 22%; }
  .knowledge-map { height: 690px; }
  .node-a, .node-c { left: 4%; }
  .node-b, .node-d { right: 4%; }
  .assessment-layout { gap: 80px; }
  .assessment-intro .section-lead, .assessment-notes { margin-left: 22%; }
  .featured-essay { min-height: 590px; }
  .featured-copy h3 { font-size: 39px; }
  .video-heading { grid-template-columns: 1fr; }
  .video-heading .eyebrow { margin-bottom: 30px; }
  .featured-video { min-height: 650px; }
  .notes-grid { grid-template-columns: repeat(2, 1fr); }
  .note-card, .note-card-image { grid-column: span 1; }
  .note-card-image { min-height: 460px; }
  .closing-content { grid-template-columns: 1fr; align-content: end; gap: 70px; }
  .site-footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .brand-copy { display: none; }
  .search-button, .edit-button { width: 42px; height: 42px; justify-content: center; padding: 0; }
  .search-button span, .edit-button span { display: none; }
  .hero { min-height: max(760px, 100svh); padding-top: 94px; }
  .hero-image { object-position: 56% center; }
  .hero-topline { font-size: 7px; }
  .hero h1 { font-size: clamp(48px, 14vw, 70px); line-height: 1.06; }
  .hero-kicker { font-size: 11px; }
  .hero-intro { display: grid; gap: 23px; margin-top: 28px; }
  .hero-intro > p { font-size: 10px; }
  .round-link { justify-content: space-between; width: 100%; }
  .section { padding-top: 25px; }
  .section-meta span:last-child { max-width: 52%; text-align: right; }
  .display-title { font-size: clamp(51px, 16vw, 82px); }
  .framework-heading, .essay-heading, .notes-heading { padding-top: 70px; padding-bottom: 65px; }
  .framework-heading .section-lead, .essay-heading .section-lead, .notes-heading .section-lead { margin: 38px 0 0; }
  .knowledge-map { height: 790px; margin-inline: calc(var(--pad) * -1); }
  .knowledge-map::before { width: 390px; }
  .knowledge-map::after { width: 690px; }
  .map-lines { display: none; }
  .map-center { width: 170px; height: 170px; }
  .map-node { width: 145px; min-height: 105px; padding: 13px; }
  .map-node b { font-size: 15px; }
  .node-a, .node-b { top: 9%; }
  .node-c, .node-d { bottom: 9%; }
  .node-a, .node-c { left: 20px; }
  .node-b, .node-d { right: 20px; }
  .framework-steps { grid-template-columns: 1fr; }
  .framework-steps article, .framework-steps article:first-child { min-height: 200px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .framework-steps h3 { margin-top: 32px; }
  .assessment-layout { padding-top: 70px; }
  .assessment-intro .section-lead, .assessment-notes { margin-left: 0; }
  .quiz-card { min-height: 620px; margin-inline: calc(var(--pad) * -1); padding: 25px var(--pad); }
  .quiz-start, .quiz-result { min-height: 550px; }
  .quiz-start > p:first-of-type { margin-top: 62px; }
  .quiz-label { margin-top: 60px; }
  .featured-essay { grid-template-columns: 1fr; margin-inline: calc(var(--pad) * -1); border-left: 0; border-right: 0; }
  .featured-image { min-height: 500px; }
  .featured-copy { min-height: 440px; }
  .featured-copy h3 { margin-top: 70px; font-size: 34px; }
  .essay-list { margin-top: 55px; }
  .essay-row { grid-template-columns: 42px 1fr 38px; padding: 20px 0; }
  .essay-row time { display: none; }
  .essay-row h3 { font-size: 23px; line-height: 1.2; }
  .video-heading { padding-top: 70px; padding-bottom: 60px; }
  .featured-video { min-height: 660px; margin-inline: calc(var(--pad) * -1); }
  .video-copy { left: var(--pad); bottom: 100px; width: calc(100% - var(--pad) * 2); }
  .video-copy h3 { font-size: 42px; }
  .play-button { left: var(--pad); right: var(--pad); bottom: 27px; justify-content: space-between; }
  .video-grid { grid-template-columns: 1fr; margin-top: 70px; gap: 65px; }
  .notes-toolbar { flex-direction: column; }
  .notes-search { min-width: 0; padding: 8px 0; }
  .note-filters { overflow-x: auto; padding-bottom: 3px; }
  .note-filters button { flex: 0 0 auto; }
  .notes-grid { grid-template-columns: 1fr; }
  .note-card { min-height: 320px; }
  .note-card-image { min-height: 480px; }
  .note-card b { font-size: 28px; }
  .note-card-content b { font-size: 35px; }
  .closing-section { min-height: 800px; padding-block: 70px; }
  .closing-content { height: 660px; gap: 58px; }
  .closing-content h2 { font-size: 62px; }
  .subscribe-form { grid-template-columns: 1fr; gap: 13px; }
  .subscribe-form button { display: flex; justify-content: space-between; }
  .site-footer { grid-template-columns: 1fr 1fr; min-height: 380px; }
  .site-footer > p { display: none; }
  .footer-meta { grid-column: 1 / -1; flex-direction: row; align-items: flex-end; }
  .content-dialog { width: calc(100vw - 20px); max-height: calc(100svh - 20px); }
  .dialog-article, .dialog-note { padding: 62px 22px 45px; }
  .dialog-article h2, .dialog-note h2 { font-size: 42px; }
  .dialog-article .article-body, .dialog-note p { font-size: 15px; }
  .dialog-video { padding: 64px 10px 18px; }
  .dialog-video-stage { aspect-ratio: 3/4; }
  .search-dialog { width: calc(100vw - 20px); }
  .global-search-box, .search-hint, .search-results { margin-left: 18px; margin-right: 18px; }
  .search-result { grid-template-columns: 53px 1fr auto; }
  .notes-browser { grid-template-columns: 1fr; }
  .note-zones { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .zones-head { grid-column: 1 / -1; }
  .note-zones > button { min-height: 43px; border: 1px solid var(--line); }
  .note-zones .new-note-button { margin-top: 0; }
  .notes-content { padding-left: 0; }
  .notes-content .notes-grid { grid-template-columns: 1fr; }
  .notes-content .note-card { min-height: 330px; }
  .note-open { min-height: 328px; }
  .editor-dock { gap: 12px; bottom: 8px; width: calc(100vw - 16px); }
  .editor-dock > p { display: none; }
  .editor-dock { grid-template-columns: 1fr; }
  .editor-dock-actions { display: grid; grid-template-columns: 1fr 1fr 1fr; }
  .editor-dock-actions button, .editor-dock-actions label { min-height: 32px; padding-inline: 7px; }
  .editor-field-row { grid-template-columns: 1fr 1fr; }
  .editor-field-row .editor-field:first-child { grid-column: 1 / -1; }
  .note-editor-dialog { width: calc(100vw - 20px); max-height: calc(100svh - 20px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
