:root {
  --paper: #FFFFFF;
  --stone: #ECE7E0;
  --oat: #F7F2EA;
  --plum: #2A2026;
  --ink: #1A1718;
  --rose-ink: #6A4859;
  --rule: #B7AAA9;
  --display: 'Plus Jakarta Sans', sans-serif;
  --reading: 'Lora', serif;
  --inset: clamp(24px, 3.125vw, 64px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background-color: var(--paper); font-family: var(--reading); font-size: 17px; font-weight: 400; line-height: 1.7; }
img { display: block; max-width: 100%; color: var(--ink); font-size: 16px; }
svg { display: block; max-width: 100%; }
button, textarea { font: inherit; }
button, a, textarea { -webkit-tap-highlight-color: rgba(106, 72, 89, 0.18); }
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, textarea:focus-visible { outline: 3px solid var(--rose-ink); outline-offset: 5px; }
[hidden] { display: none !important; }
h1, h2, h3, dt { font-family: var(--display); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-family: var(--display); font-size: clamp(34px, 3.35vw, 50px); font-weight: 300; line-height: 1.13; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 2.25vw, 36px); font-weight: 300; line-height: 1.25; letter-spacing: -0.015em; }
h3 { font-size: 20px; font-weight: 600; line-height: 1.35; letter-spacing: 0; }
p { margin-bottom: 20px; }
ul, ol { padding-left: 24px; margin: 0 0 24px; }
li { margin-bottom: 14px; padding-left: 4px; }
.skip-link { position: absolute; z-index: 10; top: 10px; left: 20px; padding: 12px 22px; min-height: 48px; color: var(--ink); background-color: var(--oat); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.guide-notice { min-height: 36px; padding: 5px var(--inset); text-align: center; font-size: 16px; line-height: 1.6; background-color: var(--stone); }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 48px; min-height: 88px; padding: 16px var(--inset); background-color: var(--paper); }
.site-name { display: inline-flex; align-items: center; min-height: 44px; max-width: 400px; font-family: var(--display); font-size: 24px; font-weight: 600; line-height: 1.25; text-decoration: none; }
.header-line { max-width: 520px; margin: 0; font-family: var(--reading); font-size: 16px; font-weight: 400; line-height: 1.6; letter-spacing: 0; }
.texture-hero { position: relative; display: flex; align-items: center; justify-content: flex-end; min-height: 680px; padding: 65px var(--inset); isolation: isolate; background-color: var(--stone); }
.hero-photo { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 52%; }
.texture-hero::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(236, 231, 224, 0) 25%, rgba(247, 242, 234, 0.65) 52%, rgba(247, 242, 234, 0.98) 64%, #F7F2EA 100%); }
.hero-copy { width: 43%; max-width: 570px; padding: 30px 0 30px 20px; background-color: var(--oat); }
.hero-copy h1 { margin-bottom: 26px; }
.hero-copy p { max-width: 460px; margin-bottom: 30px; font-size: 17px; line-height: 1.65; }
.pill, button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 50px; padding: 13px 25px; border: 1px solid var(--ink); border-radius: 40px; background-color: var(--ink); color: var(--paper); font-family: var(--reading); font-size: 16px; font-weight: 400; line-height: 1.4; text-align: center; text-decoration: none; cursor: pointer; }
.hero-copy .pill { border-color: var(--paper); background-color: var(--paper); color: var(--ink); }
.pill:hover, button:hover { background-color: var(--rose-ink); border-color: var(--rose-ink); color: var(--paper); }
button:disabled { background-color: var(--stone); border-color: var(--rule); color: var(--ink); cursor: default; }
.home-intro { padding: 52px var(--inset) 44px; }
.home-intro h2 { margin-bottom: 18px; }
.home-intro p { max-width: 72ch; margin: 0; }
.topic-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.topic-tile { position: relative; display: block; min-width: 0; height: clamp(390px, 36vw, 535px); background-color: var(--stone); text-decoration: none; }
.topic-tile img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.topic-tile h2 { position: absolute; left: 20px; bottom: 22px; max-width: calc(100% - 40px); padding: 14px 20px; margin: 0; border-radius: 40px; background-color: var(--paper); color: var(--ink); font-family: var(--reading); font-size: 16px; font-weight: 400; line-height: 1.45; letter-spacing: 0; }
.topic-tile:hover h2 { text-decoration: underline; text-underline-offset: 4px; }
.key-terms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 66px var(--inset); }
.term-lead, .term-summary { display: flex; flex-direction: column; justify-content: center; min-height: 355px; padding: 32px; background-color: var(--stone); }
.term-lead { background-color: var(--oat); }
.term-lead h2 { margin-bottom: 24px; font-size: 30px; }
.term-lead p, .term-summary p { font-size: 16px; line-height: 1.7; }
.term-summary .reading-link { margin-top: auto; }
.reading-link, .source-link, .back-link { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; padding: 10px 0; font-size: 16px; line-height: 1.5; }
.reading-link { justify-content: space-between; gap: 15px; }
.reading-link svg { flex-shrink: 0; }
.reading-link path { fill: none; stroke: currentColor; stroke-width: 1.5; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.feature { min-width: 0; }
.feature > img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
.feature-caption { padding: 32px var(--inset) 55px; }
.feature-caption h2 { margin-bottom: 17px; font-size: 23px; font-weight: 600; letter-spacing: 0; }
.feature-caption p { max-width: 600px; }
.separate-words { position: relative; isolation: isolate; padding: 90px var(--inset); background-color: var(--plum); color: var(--paper); }
.band-photo { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; color: var(--paper); }
.separate-words::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(42, 32, 38, 0.28), rgba(42, 32, 38, 0)); }
.band-content { max-width: 1240px; margin: 0 auto; }
.band-content > h2 { max-width: 630px; margin-bottom: 20px; }
.band-content > p { max-width: 650px; margin-bottom: 38px; }
.band-content > h2, .band-content > p, .band-content > .reading-link { background-color: var(--plum); }
.glass-definitions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 36px; margin: 0 0 24px; padding: 30px 34px; border: 1px solid #8C7E87; border-radius: 12px; background-color: var(--plum); }
.glass-definitions dt { margin-bottom: 7px; font-size: 20px; font-weight: 600; }
.glass-definitions dd { margin: 0; font-size: 16px; line-height: 1.6; }
.separate-words a:focus-visible { outline-color: var(--paper); }
.closing-statement { padding: 95px var(--inset) 105px; background-color: var(--oat); }
.closing-statement h2 { max-width: 1120px; margin-bottom: 30px; font-size: clamp(32px, 3.35vw, 50px); line-height: 1.3; }
.closing-statement p { max-width: 72ch; margin-bottom: 0; }
.inner-opener { position: relative; display: grid; grid-template-columns: 58% 42%; min-height: 700px; background-color: var(--stone); }
.opener-photo { min-width: 0; min-height: 700px; }
.opener-photo img { width: 100%; height: 100%; max-height: 810px; object-fit: cover; object-position: 50% 50%; }
.opener-copy { align-self: center; padding: 65px var(--inset) 95px; }
.back-link { margin-bottom: 18px; }
.opener-copy h1 { font-size: clamp(30px, 2.5vw, 38px); margin-bottom: 26px; }
.dek { max-width: 490px; margin-bottom: 30px; }
.contents { margin-top: 26px; }
.contents p { margin: 0 0 6px; font-family: var(--display); font-weight: 600; font-size: 17px; }
.contents a { display: inline-flex; align-items: center; min-height: 44px; margin-right: 20px; padding: 8px 0; font-size: 16px; line-height: 1.5; }
.scroll-cue { position: absolute; bottom: 24px; left: calc(50% - 27px); display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; background-color: var(--paper); color: var(--ink); }
.scroll-cue path { fill: none; stroke: currentColor; stroke-width: 1.5; }
.term-article { max-width: 1320px; margin: 0 auto; padding: 0 var(--inset); }
.term-section { padding: 70px 0; border-bottom: 1px solid var(--rule); }
.term-section > h2 { max-width: 850px; margin-bottom: 38px; }
.definition-layout { display: grid; grid-template-columns: minmax(185px, 230px) minmax(0, 740px); gap: clamp(40px, 5.5vw, 100px); }
.margin-definition { min-width: 0; border-top: 1px solid var(--ink); padding-top: 18px; }
.margin-definition h3 { font-size: 18px; margin-bottom: 14px; }
.margin-definition p { max-width: 26ch; font-size: 16px; line-height: 1.65; }
.reading-copy { min-width: 0; max-width: 72ch; }
.reading-copy > p:last-child { margin-bottom: 0; }
.claim-pair { margin-bottom: 28px; }
.claim-pair > p { margin-bottom: 4px; }
.claim-source { max-width: 100%; }
.source-link { color: var(--rose-ink); max-width: 100%; overflow-wrap: anywhere; }
.check-steps { padding-left: 24px; margin: 30px 0; }
.check-steps li { padding-left: 10px; margin-bottom: 28px; }
.check-steps h3 { margin-bottom: 10px; }
.word-figure { margin: 35px 0 5px; padding: 24px; background-color: var(--oat); }
.check-figure { width: 100%; height: auto; overflow: visible; }
.check-figure path { fill: none; stroke: var(--rule); stroke-width: 1; }
.check-figure text { font-family: var(--display); font-size: 34px; font-weight: 300; fill: var(--ink); }
figcaption { margin-top: 20px; font-size: 16px; line-height: 1.6; }
.note-space { max-width: 740px; margin: 0 0 0 auto; padding: 70px 0 85px; }
.note-space h2 { font-size: 28px; }
.note-space label { display: block; margin-bottom: 12px; font-size: 16px; }
textarea { display: block; width: 100%; min-height: 170px; padding: 16px; border: 1px solid var(--ink); border-radius: 0; background-color: var(--oat); color: var(--ink); font-size: 17px; line-height: 1.7; resize: vertical; }
.note-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; margin-top: 22px; }
.quiet-button { background-color: var(--paper); color: var(--ink); }
.note-status { margin: 18px 0 0; font-size: 16px; }
.site-footer { padding: 65px var(--inset) 35px; background-color: var(--paper); }
.page-directory { max-width: 1350px; margin: 0 auto 54px; }
.page-directory h2 { font-size: 28px; margin-bottom: 25px; }
.directory-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 40px; }
.directory-links a { display: flex; align-items: center; min-height: 48px; padding: 10px 0; font-size: 16px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px 60px; padding-top: 28px; border-top: 1px solid var(--rule); }
.footer-bottom p { max-width: 760px; margin-bottom: 0; font-size: 16px; }
.copyright { font-size: 16px; }
.missing-page { min-height: 430px; padding: 90px var(--inset); background-color: var(--oat); }
.missing-page h1 { max-width: 700px; }
.missing-page p { max-width: 65ch; }
@media (min-width: 1700px) {
  .texture-hero { min-height: 780px; }
  .hero-copy { margin-right: 4vw; }
}
@media (max-width: 1100px) {
  .masthead { gap: 30px; }
  .site-name { max-width: 310px; font-size: 22px; }
  .header-line { max-width: 440px; }
  .hero-copy { width: 47%; padding-left: 10px; }
  .key-terms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .term-lead, .term-summary { min-height: 300px; }
  .inner-opener { grid-template-columns: 52% 48%; }
  .opener-copy { padding-left: 30px; padding-right: 30px; }
  .definition-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .guide-notice { padding-top: 9px; padding-bottom: 9px; line-height: 1.5; }
  .masthead { display: block; padding: 18px 24px 22px; }
  .site-name { max-width: 100%; min-height: 44px; font-size: 23px; }
  .header-line { margin-top: 8px; max-width: 100%; }
  .texture-hero { display: block; min-height: 0; padding: 0; background-color: var(--oat); }
  .hero-photo { position: relative; z-index: 0; width: 100%; height: 330px; object-position: 30% 50%; }
  .texture-hero::after { display: none; }
  .hero-copy { width: 100%; max-width: none; margin: 0; padding: 34px 24px 40px; background-color: var(--oat); }
  .hero-copy h1 { max-width: 600px; font-size: 38px; line-height: 1.15; margin-bottom: 22px; }
  .hero-copy p { max-width: 540px; }
  .home-intro { padding: 42px 24px; }
  .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topic-tile { height: 440px; }
  .topic-tile h2 { left: 16px; bottom: 16px; max-width: calc(100% - 32px); padding: 12px 17px; }
  .key-terms { padding: 42px 24px; }
  .term-lead, .term-summary { padding: 25px; }
  .feature-caption { padding: 26px 24px 40px; }
  .feature-caption h2 { font-size: 22px; }
  .separate-words { padding: 65px 24px; }
  .glass-definitions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: 25px; }
  .closing-statement { padding: 65px 24px; }
  .inner-opener { display: block; min-height: 0; }
  .opener-photo { min-height: 0; height: 350px; }
  .opener-photo img { height: 100%; object-position: 50% 50%; }
  .opener-copy { padding: 30px 24px 90px; }
  .opener-copy h1 { max-width: 580px; font-size: 34px; }
  .scroll-cue { left: calc(50% - 27px); bottom: 22px; }
  .term-article { padding: 0 24px; }
  .term-section { padding: 48px 0; }
  .term-section > h2 { margin-bottom: 28px; }
  .definition-layout { display: block; }
  .margin-definition { padding: 18px 22px; margin-bottom: 28px; border: 0; background-color: var(--oat); }
  .margin-definition h3 { margin-bottom: 9px; }
  .margin-definition p { max-width: 60ch; margin-bottom: 0; }
  .word-figure { padding: 14px 0; }
  .check-figure text { font-size: 36px; }
  .note-space { padding: 48px 0 60px; }
  .site-footer { padding: 48px 24px 30px; }
  .directory-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
  .missing-page { padding: 55px 24px; }
}
@media (max-width: 480px) {
  .hero-photo { height: 270px; }
  .hero-copy h1 { font-size: 36px; }
  .topic-grid, .key-terms, .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .topic-tile { height: 440px; }
  .term-lead, .term-summary { min-height: 0; padding: 32px 26px; }
  .term-summary h3 { margin-bottom: 16px; }
  .term-lead h2 br { display: none; }
  .feature > img { aspect-ratio: 4 / 3; }
  .glass-definitions { padding: 24px 20px; gap: 24px 22px; }
  .glass-definitions dt { font-size: 18px; }
  .glass-definitions dd { font-size: 16px; }
  .opener-photo { height: 285px; }
  .opener-copy h1 { font-size: 32px; }
  .directory-links { grid-template-columns: minmax(0, 1fr); }
  .note-actions { display: block; }
  .note-actions button { width: 100%; margin-bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media print {
  body { background-color: #FFFFFF; color: #1A1718; }
  .guide-notice, .opener-photo, .scroll-cue, .note-space, .page-directory, .hero-photo, .band-photo { display: none; }
  .masthead, .opener-copy, .hero-copy, .term-article, .site-footer { padding: 20px 0; }
  .texture-hero, .inner-opener, .definition-layout { display: block; min-height: 0; }
  .hero-copy { width: 100%; }
  .texture-hero::after { display: none; }
  .term-section { break-inside: avoid; }
}
