:root {
  --cream: #FAF5EE;
  --walnut: #3B2A20;
  --clay: #8C5A43;
  --apricot: #F6E2CC;
  --linen: #E9E2D6;
}
* { box-sizing: border-box; }
html { background-color: #FAF5EE; scroll-behavior: smooth; }
body { margin: 0; color: #3B2A20; background-color: #FAF5EE; font-family: 'Karla', sans-serif; font-size: 18px; line-height: 1.55; font-weight: 400; }
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; font-weight: 400; line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 26px; text-wrap: pretty; }
h1 { font-size: 54px; }
h2 { font-size: 43px; white-space: pre-line; }
h3 { font-size: 29px; }
h4 { font-size: 25px; }
p { margin: 0 0 22px; max-width: 69ch; }
a { color: inherit; text-underline-offset: 6px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid #8C5A43; outline-offset: 5px; }
button, input { font: inherit; }
img { display: block; max-width: 100%; height: auto; background-color: #E9E2D6; color: #3B2A20; font-size: 16px; }
figure { margin: 0; min-width: 0; }
figcaption { font-size: 16px; line-height: 1.5; padding: 20px 0 0; }
[hidden] { display: none !important; }
main:focus { outline: none; }
.skip-link { position: absolute; left: 24px; top: 0; z-index: 100; transform: translateY(-150%); min-height: 48px; display: inline-flex; align-items: center; padding: 12px 20px; background-color: #FAF5EE; color: #3B2A20; border: 2px solid #3B2A20; }
.skip-link:focus { transform: translateY(0); }
.notice-bar { min-height: 42px; background-color: #F6E2CC; text-align: center; position: relative; z-index: 12; }
.notice-link { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 16px; padding: 6px 18px; text-decoration: none; }
.site-header { width: 100%; padding: 28px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #3B2A20; background-color: #FAF5EE; }
.site-name { font-family: 'Playfair Display', serif; font-size: 27px; font-weight: 400; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; flex-shrink: 0; }
.header-line { font-size: 16px; line-height: 1.5; margin: 0; max-width: none; letter-spacing: 0; }
.header-float { position: absolute; top: 44px; z-index: 10; background-color: rgba(250,245,238,0); }
.header-float .site-name, .header-float .header-line { background-color: #FAF5EE; box-shadow: 0 0 18px 12px #FAF5EE; }
.section-width { width: calc(100% - 64px); max-width: 1440px; margin: 0 auto; }
.section-pad { padding: 100px 0; }
.measure { max-width: 70ch; }
.hero-surround { background-color: #EDE8DF; background-image: linear-gradient(to bottom, #EDE8DF calc(100% - 40px), #3B2A20 calc(100% - 40px)); }
.home-hero { min-height: max(856px, calc(100svh - 44px)); position: relative; overflow: hidden; isolation: isolate; border-radius: 0 0 40px 40px; background-color: #EDE8DF; color: #3B2A20; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% 58%; z-index: -2; }
.hero-copy { position: relative; width: min(640px, 66%); margin: 184px 0 100px 24px; padding: 32px; background-color: #FAF5EE; box-shadow: 0 0 36px 24px #FAF5EE; }
.hero-copy h1 { line-height: 1.12; margin-bottom: 28px; }
.hero-copy h1 span { display: block; }
.hero-subline { max-width: 52ch; font-size: 18px; line-height: 1.5; }
.action-row { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-top: 30px; }
.pill, .cream-pill { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 52px; padding: 14px 25px; background-color: #3B2A20; color: #FAF5EE; border-radius: 999px; text-decoration: none; font-size: 16px; font-weight: 500; line-height: 1.35; }
.pill:hover { background-color: #8C5A43; }
.cream-pill { background-color: #FAF5EE; color: #3B2A20; }
.cream-pill:hover { background-color: #F6E2CC; }
.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; min-width: 44px; padding: 10px 0; font-size: 16px; font-weight: 500; }
.link-arrow { display: block; width: 18px; height: 18px; flex-shrink: 0; }
.path-band { background-color: #3B2A20; color: #FAF5EE; padding: 100px 0 112px; }
.band-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
.band-intro h2 { max-width: 610px; font-size: 47px; }
.band-intro p { max-width: 49ch; margin-bottom: 28px; }
.path-links { display: flex; flex-wrap: wrap; gap: 10px 36px; margin: 20px 0 34px; }
.path-links a { font-size: 16px; min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; padding: 8px 0; }
.path-links a[aria-current] { text-decoration-thickness: 2px; }
.stage-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 16px; padding: 0 16px; }
.stage-card { background-color: #8C5A43; border-radius: 24px; color: #FAF5EE; padding: 36px 24px 28px; min-height: 320px; display: flex; flex-direction: column; align-items: flex-start; }
.stage-card h3 { font-size: 30px; max-width: 13ch; margin-bottom: 22px; }
.stage-card p { font-size: 17px; line-height: 1.5; margin-bottom: 32px; }
.stage-card .cream-pill { margin-top: auto; padding-left: 20px; padding-right: 20px; }
.path-band :focus-visible, .clay-feature :focus-visible { outline-color: #F6E2CC; }
.sheet-surround { background-color: #3B2A20; }
.cream-sheet { background-color: #FAF5EE; border-radius: 40px 40px 0 0; padding: 100px 0; position: relative; }
.cluster-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }
.cluster-copy { max-width: 55ch; }
.photo-cluster { min-width: 0; }
.cluster-wide { width: 100%; aspect-ratio: 1.8; object-fit: cover; border-radius: 22px; }
.cluster-thumbs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 16px; }
.cluster-thumbs img { width: 100%; aspect-ratio: 1.14; object-fit: cover; border-radius: 16px; }
.comparison-block { max-width: 1180px; margin-top: 44px; }
.comparison-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.comparison-cell { border-top: 1px solid #8C5A43; padding: 28px 0 0; }
.comparison-cell p:last-child { margin-bottom: 0; }
.comparison-caption { font-size: 16px; line-height: 1.5; margin: 22px 0 0; max-width: 75ch; }
.paper-caption { padding: 36px 34px 24px; border-top: 7px solid #8C5A43; border-bottom: 10px solid #E9E2D6; background-color: #FAF5EE; }
.paper-caption:nth-child(2) { border-top-color: #8C5A43; background-color: #E9E2D6; border-bottom-color: #FAF5EE; }
.photo-band { position: relative; min-height: 680px; display: flex; align-items: center; padding: 64px; background-color: #E9E2D6; color: #3B2A20; overflow: hidden; isolation: isolate; }
.band-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; z-index: -1; }
.glass-panel { background-color: #FAF5EE; border-radius: 32px; padding: 48px; max-width: 560px; }
.glass-panel p { max-width: 44ch; }
.glossary-section { padding: 110px 0; }
.glossary-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; }
.term-control { max-width: 420px; margin-top: 32px; }
.term-control label { font-size: 16px; font-weight: 500; display: block; margin-bottom: 10px; }
.term-control input { width: 100%; min-height: 54px; border: 1px solid #8C5A43; border-radius: 12px; color: #3B2A20; background-color: #FAF5EE; padding: 12px 16px; }
.term-control input::placeholder { color: #3B2A20; opacity: 1; }
.filter-status { font-size: 16px; margin-top: 12px; }
.term-list { margin: 0; }
.term-entry { border-bottom: 1px solid #8C5A43; padding: 22px 0; }
.term-entry:first-child { padding-top: 0; }
.term-entry dt { font-size: 22px; font-weight: 500; margin-bottom: 8px; }
.term-entry dd { font-size: 17px; margin: 0; max-width: 65ch; }
.source-drawer { border-top: 1px solid #8C5A43; border-bottom: 1px solid #8C5A43; max-width: 1180px; margin-top: 50px; }
.source-drawer summary { font-size: 17px; font-weight: 500; min-height: 60px; padding: 18px 4px; cursor: pointer; }
.drawer-body { padding: 4px 4px 26px; }
.source-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px 36px; }
.source-list li { min-width: 0; }
.source-list a { overflow-wrap: anywhere; }
.site-footer { background-color: #E9E2D6; color: #3B2A20; padding: 64px 0 40px; border-radius: 40px 40px 0 0; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-name { font-family: 'Playfair Display', serif; font-size: 28px; margin: 0; }
.site-footer p { font-size: 16px; max-width: 75ch; }
.site-footer .path-links { margin: 20px 0 32px; }
.title-band { background-color: #3B2A20; color: #FAF5EE; padding: 74px 0 70px; border-radius: 0 0 40px 40px; }
.title-band h1 { max-width: 22ch; margin-bottom: 26px; font-size: 50px; }
.title-intro { max-width: 65ch; font-size: 19px; margin-bottom: 0; }
.feature-split { display: grid; grid-template-columns: 1.55fr 1fr; gap: 24px; align-items: stretch; }
.clay-feature { background-color: #8C5A43; color: #FAF5EE; border-radius: 28px; padding: 48px; }
.clay-feature h2 { font-size: 36px; max-width: 21ch; }
.clay-feature p { max-width: 64ch; }
.clay-feature p:last-child { margin-bottom: 0; }
.featured-photo { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 28px; background-color: #E9E2D6; color: #3B2A20; }
.featured-photo img { object-fit: cover; width: 100%; height: 100%; min-height: 350px; flex: 1; border-radius: 28px; }
.featured-photo figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; background-color: #FAF5EE; border-radius: 18px; padding: 18px 22px; margin: 0; }
.section-pad + .section-pad { padding-top: 24px; }
.section-pad > .section-width > p { max-width: 74ch; }
.section-pad > .section-width > h2 { max-width: 28ch; }
.question-list { max-width: 70ch; padding-left: 25px; margin: 26px 0; }
.question-list li { padding: 8px 0 8px 4px; }
.cost-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 30px; margin: 40px 0; }
.cost-item { border-top: 1px solid #8C5A43; padding: 24px 0 0; }
.cost-item h3 { font-size: 27px; }
.cost-item p { font-size: 17px; }
.evidence-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; }
.evidence-photo img { aspect-ratio: 1.23; width: 100%; height: auto; object-fit: cover; border-radius: 28px; }
.evidence-rows { max-width: 1180px; margin: 38px 0; }
.evidence-rows > div { padding: 30px 0; border-top: 1px solid #8C5A43; display: grid; grid-template-columns: .8fr 1.3fr; gap: 48px; }
.evidence-rows h3 { grid-column: 1; grid-row: 1 / span 2; }
.evidence-rows p { grid-column: 2; }
.missing-page { min-height: 540px; padding: 110px 32px; }
.missing-page > div { margin: 0 auto; }
@media (min-width: 1600px) {
  .hero-copy { margin-left: calc((100vw - 1440px) / 2 + 24px); }
}
@media (max-width: 1120px) {
  .site-header { flex-direction: column; align-items: flex-start; gap: 6px; padding: 22px 32px; }
  .header-line { white-space: nowrap; }
  .stage-grid { gap: 12px; }
  .stage-card { padding: 28px 18px; }
  .stage-card h3 { font-size: 27px; }
  .stage-card .cream-pill { padding: 13px 14px; }
  .cluster-split, .evidence-intro { gap: 40px; }
  .hero-copy { width: 80%; margin-left: 8px; }
}
@media (max-width: 900px) {
  .stage-grid { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 0 32px; gap: 18px; }
  .stage-card:last-child { grid-column: 1 / -1; min-height: 230px; }
  .stage-card h3 { max-width: none; }
  .stage-card { min-height: 280px; }
  .band-intro { gap: 30px; }
  .band-intro h2 { font-size: 40px; }
  .cluster-split { grid-template-columns: 1fr; gap: 48px; }
  .cluster-copy { max-width: 65ch; }
  .glossary-split { gap: 42px; }
  .feature-split { grid-template-columns: 1.2fr 1fr; }
  .clay-feature { padding: 32px; }
  .evidence-intro { grid-template-columns: 1fr; }
  .evidence-photo img { aspect-ratio: 1.8; }
  .cost-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-top { align-items: flex-start; flex-direction: column; gap: 12px; }
}
@media (max-width: 760px) {
  body { font-size: 18px; }
  .section-width { width: calc(100% - 48px); }
  .section-pad { padding: 70px 0; }
  h1 { font-size: 38px; }
  h2 { font-size: 34px; }
  h3 { font-size: 27px; }
  .site-header { padding: 20px 24px; }
  .header-float { position: static; background-color: #FAF5EE; }
  .header-float .site-name, .header-float .header-line { box-shadow: none; }
  .site-name { font-size: 25px; }
  .header-line { white-space: normal; font-size: 16px; }
  .notice-link { font-size: 16px; }
  .home-hero { min-height: 0; display: flex; flex-direction: column; border-radius: 0 0 32px 32px; }
  .hero-copy { width: 100%; margin: 0; padding: 40px 24px 36px; box-shadow: none; }
  .hero-copy h1 { font-size: 36px; line-height: 1.14; max-width: none; }
  .hero-copy h1 span { display: contents; }
  .hero-subline { max-width: 37ch; font-size: 18px; }
  .hero-photo { position: static; order: 1; z-index: auto; height: 320px; object-position: 80% 50%; }
  .action-row { gap: 8px 18px; margin-top: 22px; }
  .pill, .cream-pill { padding: 14px 21px; }
  .path-band { padding: 70px 0 80px; }
  .band-intro { grid-template-columns: 1fr; gap: 0; }
  .band-intro h2 { font-size: 36px; }
  .path-links { gap: 6px 24px; }
  .stage-grid { grid-template-columns: 1fr; padding: 0 24px; gap: 16px; }
  .stage-card { padding: 30px; min-height: 235px; }
  .stage-card:last-child { grid-column: auto; min-height: 235px; }
  .stage-card h3 { font-size: 31px; }
  .cream-sheet { padding: 70px 0; border-radius: 32px 32px 0 0; }
  .cluster-thumbs { gap: 8px; margin-top: 8px; }
  .cluster-thumbs img { border-radius: 12px; aspect-ratio: .95; }
  .comparison-pair { grid-template-columns: 1fr; gap: 28px; }
  .paper-caption { padding: 28px 24px 18px; }
  .photo-band { min-height: 730px; padding: 280px 24px 32px; align-items: flex-end; }
  .band-photo { object-position: 80% 50%; }
  .glass-panel { padding: 30px; border-radius: 24px; }
  .glass-panel h2 { font-size: 33px; }
  .glossary-section { padding: 70px 0; }
  .glossary-split { grid-template-columns: 1fr; gap: 36px; }
  .source-list { grid-template-columns: 1fr; gap: 8px; }
  .title-band { padding: 48px 0 52px; border-radius: 0 0 32px 32px; }
  .title-band h1 { font-size: 38px; max-width: 18ch; }
  .title-intro { font-size: 18px; }
  .feature-split { grid-template-columns: 1fr; }
  .clay-feature { padding: 32px 28px; }
  .clay-feature h2 { font-size: 33px; }
  .featured-photo img { min-height: 0; height: auto; aspect-ratio: 1.45; }
  .cost-grid { gap: 28px; grid-template-columns: 1fr; }
  .evidence-rows > div { display: block; }
  .evidence-rows h3 { margin-bottom: 22px; }
  .evidence-photo img { aspect-ratio: 1.3; }
  .site-footer { border-radius: 32px 32px 0 0; padding-top: 48px; }
  .footer-name { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media print {
  body { font-size: 12pt; color: #3B2A20; background-color: #FAF5EE; }
  .header-float { position: static; }
  .hero-photo, .band-photo, .term-control, .skip-link { display: none; }
  .hero-copy { width: 100%; margin: 0; padding: 36px 24px; box-shadow: none; }
  .home-hero, .photo-band { min-height: 0; padding: 24px; }
  .stage-grid { grid-template-columns: 1fr 1fr; }
  .section-pad, .path-band, .cream-sheet, .glossary-section { padding: 32px 0; }
  .site-footer { margin-top: 32px; }
}
