:root {
  --paper: #f3efe6;
  --paper-deep: #e8e0d1;
  --ink: #18251f;
  --muted: #687169;
  --forest: #243b32;
  --moss: #71806c;
  --clay: #b65f43;
  --line: rgba(24, 37, 31, .18);
  --white: #fffdf7;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: .7rem 1rem;
  background: var(--white);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 239, 230, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 78px;
  max-width: 1440px;
  margin: auto;
  padding: 0 clamp(20px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  line-height: 1.1;
}
.brand strong { display: block; font-family: var(--serif); font-size: 1.08rem; }
.brand small { display: block; margin-top: 5px; color: var(--muted); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; }
.brand-mark { width: 38px; height: 38px; display: flex; align-items: flex-end; justify-content: center; gap: 3px; border: 1px solid var(--ink); border-radius: 50%; padding: 9px; transform: rotate(-8deg); }
.brand-mark i { width: 4px; background: var(--clay); border-radius: 4px 4px 0 0; }
.brand-mark i:nth-child(1) { height: 9px; }
.brand-mark i:nth-child(2) { height: 17px; }
.brand-mark i:nth-child(3) { height: 12px; }
.desktop-nav { display: flex; gap: clamp(18px, 2.4vw, 38px); }
.desktop-nav a { position: relative; text-decoration: none; font-size: .82rem; letter-spacing: .035em; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: var(--clay); transition: right .25s ease; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.language { position: relative; }
.language-button, .menu-button, .language-list button { border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.language-button { padding: 10px 12px; border-left: 1px solid var(--line); font-size: .78rem; font-weight: 700; letter-spacing: .12em; }
.language-list { position: absolute; right: 0; top: calc(100% + 12px); min-width: 150px; padding: 8px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 15px 40px rgba(24,37,31,.12); }
.language-list button { width: 100%; padding: 9px 10px; text-align: left; }
.menu-button { display: none; padding: 10px; }
.menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 24px; height: 1px; background: currentColor; content: ""; transition: .2s ease; }
.menu-lines::before { transform: translateY(-6px); }
.menu-lines::after { transform: translateY(5px); }
.menu-button[aria-expanded="true"] .menu-lines { background: transparent; }
.menu-button[aria-expanded="true"] .menu-lines::before { transform: rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-lines::after { transform: rotate(-45deg) translateY(-1px); }
.menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.mobile-nav { padding: 10px 20px 22px; border-top: 1px solid var(--line); }
.mobile-nav a { display: block; padding: 11px 0; text-decoration: none; border-bottom: 1px solid var(--line); }

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  max-width: 1600px;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(330px, .83fr) minmax(500px, 1.25fr);
  align-items: center;
  gap: clamp(30px, 5vw, 85px);
  padding: clamp(58px, 8vw, 120px) clamp(20px, 4vw, 64px);
}
.hero-copy { position: relative; z-index: 2; padding-left: clamp(0px, 3vw, 44px); }
.eyebrow, .kicker { margin: 0 0 18px; color: var(--clay); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { max-width: 720px; margin: 0; font-family: var(--serif); font-size: clamp(3.5rem, 7.2vw, 8rem); font-weight: 400; line-height: .88; letter-spacing: -.055em; }
.hero h1 em { color: var(--clay); font-weight: 400; }
.hero-lead { max-width: 620px; margin: 38px 0 30px; font-size: clamp(1.02rem, 1.35vw, 1.24rem); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 7px 20px; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.hero-meta span:not(:last-child)::after { content: "·"; margin-left: 20px; color: var(--clay); }
.hero-figure { position: relative; margin: 0; align-self: stretch; min-height: 560px; overflow: hidden; border-radius: 48% 48% 10px 10px / 22% 22% 10px 10px; }
.hero-figure::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.24); pointer-events: none; }
.hero-figure img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-figure figcaption { position: absolute; right: 0; bottom: 0; max-width: 330px; padding: 18px 22px; background: rgba(36,59,50,.92); color: #f6f1e8; font-size: .78rem; line-height: 1.45; }
.hero-number { position: absolute; left: 1vw; bottom: 0; color: transparent; -webkit-text-stroke: 1px rgba(24,37,31,.12); font-family: var(--serif); font-size: clamp(8rem, 18vw, 18rem); line-height: .7; pointer-events: none; }

.notice { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 30px clamp(20px, 8vw, 130px); background: var(--forest); color: #f6f1e8; }
.notice p { margin: 0; max-width: 680px; }
.notice p + p { padding-left: 40px; border-left: 1px solid rgba(255,255,255,.25); }

.article { max-width: 1260px; margin: auto; padding: 60px clamp(20px, 5vw, 72px) 20px; }
.chapter { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: clamp(30px, 6vw, 95px); padding: clamp(70px, 9vw, 125px) 0; border-bottom: 1px solid var(--line); }
.chapter-index { display: flex; flex-direction: column; justify-content: space-between; min-height: 150px; }
.chapter-index span { font-family: var(--serif); font-size: 3rem; color: var(--clay); line-height: 1; }
.chapter-index p { margin: 20px 0 0; color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); }
.chapter-body { max-width: 850px; }
.chapter h2, .boundaries h2 { margin: 0 0 30px; font-family: var(--serif); font-size: clamp(2.15rem, 4vw, 4.4rem); font-weight: 400; line-height: 1.05; letter-spacing: -.035em; }
.chapter-body > p:not(.kicker):not(.small-note) { font-size: 1.07rem; }
.two-columns { columns: 2; column-gap: 50px; }
.two-columns p { margin-top: 0; break-inside: avoid; }
.signal-list { margin-top: 48px; border-top: 1px solid var(--ink); }
.signal-list > div { display: grid; grid-template-columns: 55px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.signal-list b { color: var(--clay); font-family: var(--serif); font-size: 1.15rem; }
.signal-list strong { margin-right: 8px; }
.pull-quote { position: relative; margin: 35px 0; padding: clamp(55px, 8vw, 100px) clamp(24px, 8vw, 120px); background: var(--clay); color: #fff8ef; overflow: hidden; }
.pull-quote > span { position: absolute; top: -40px; left: 25px; opacity: .16; font-family: var(--serif); font-size: 16rem; line-height: 1; }
.pull-quote blockquote { position: relative; max-width: 880px; margin: auto; font-family: var(--serif); font-size: clamp(2rem, 4.5vw, 4.5rem); font-weight: 400; line-height: 1.07; text-align: center; }
.fact-band { margin-top: 38px; padding: 25px 30px; border: 1px solid var(--forest); background: rgba(255,255,255,.3); }
.fact-band p { margin: 0; }
.fact-band strong { display: block; margin-bottom: 7px; color: var(--clay); text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; }
.timeline { margin: 48px 0 0; padding: 0; list-style: none; counter-reset: step; }
.timeline li { display: grid; grid-template-columns: 100px 1fr; gap: 28px; padding: 26px 0; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline li > span { color: var(--clay); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.timeline h3 { margin: 0 0 6px; font-family: var(--serif); font-size: 1.45rem; }
.timeline p { margin: 0; color: var(--muted); }
.plain-list { margin: 36px 0 0; padding: 0; list-style: none; }
.plain-list li { position: relative; padding: 17px 0 17px 32px; border-top: 1px solid var(--line); }
.plain-list li::before { content: ""; position: absolute; left: 2px; top: 26px; width: 9px; height: 9px; background: var(--clay); border-radius: 50%; }
.small-note { margin-top: 28px; padding-left: 20px; border-left: 3px solid var(--clay); color: var(--muted); font-size: .9rem; }
.local-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 40px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.local-grid > div { padding: 26px 24px 30px 0; }
.local-grid > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.local-grid span { color: var(--clay); font-family: var(--serif); font-size: 1.35rem; }
.local-grid h3 { margin: 20px 0 8px; font-family: var(--serif); font-size: 1.35rem; }
.local-grid p { margin: 0; color: var(--muted); font-size: .88rem; }
.habit-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 40px; border-top: 1px solid var(--ink); }
.habit-strip p { margin: 0; padding: 24px 20px 0 0; }
.habit-strip p + p { padding-left: 20px; border-left: 1px solid var(--line); }
.habit-strip b { display: block; margin-bottom: 12px; color: var(--clay); font-family: var(--serif); font-size: 1.4rem; }
.habit-strip span { display: block; color: var(--muted); font-size: .86rem; }

.boundaries { max-width: 1400px; margin: 70px auto 0; padding: clamp(55px, 8vw, 100px) clamp(25px, 8vw, 120px); background: var(--paper-deep); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(35px, 8vw, 120px); }
.boundaries ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.boundaries li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.boundaries li::before { content: "—"; margin-right: 14px; color: var(--clay); }

.site-footer { margin-top: 0; padding: 70px clamp(20px, 5vw, 72px) 34px; background: var(--forest); color: #f6f1e8; display: grid; grid-template-columns: .8fr 1.1fr 1fr; gap: clamp(35px, 6vw, 90px); }
.footer-brand .brand-mark { border-color: #f6f1e8; }
.footer-brand small, .footer-intro p, .footer-legal { color: #c9d0c9; }
.footer-intro p { max-width: 360px; margin-top: 28px; }
.footer-details h2 { margin: 0 0 20px; font-family: var(--serif); font-size: 1.3rem; }
.footer-details dl { margin: 0; }
.footer-details dl > div { padding: 10px 0; border-top: 1px solid rgba(255,255,255,.14); }
.footer-details dt { color: #aeb9b1; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-details dd { margin: 2px 0 0; font-size: .85rem; overflow-wrap: anywhere; }
.footer-legal p { margin-top: 0; font-size: .8rem; }
.copyright { margin-top: 34px !important; color: #f6f1e8 !important; }

@media (max-width: 1040px) {
  .desktop-nav { display: none; }
  .menu-button { display: inline-flex; }
  .hero { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: clamp(3.4rem, 8vw, 6rem); }
  .hero-figure { min-height: 520px; }
  .habit-strip { grid-template-columns: 1fr 1fr; }
  .habit-strip p:nth-child(3) { border-left: 0; padding-left: 0; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .footer-legal { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .header-inner { min-height: 68px; }
  .brand small { display: none; }
  .brand-mark { width: 34px; height: 34px; }
  .language-button { border-left: 0; padding: 8px; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 50px; gap: 42px; }
  .hero-copy { padding-left: 0; }
  .hero h1 { font-size: clamp(3.4rem, 16vw, 5.2rem); }
  .hero-lead { margin-top: 28px; }
  .hero-meta span:not(:last-child)::after { display: none; }
  .hero-meta { flex-direction: column; }
  .hero-figure { min-height: 420px; border-radius: 45% 45% 8px 8px / 17% 17% 8px 8px; }
  .hero-figure figcaption { max-width: 90%; }
  .notice { grid-template-columns: 1fr; gap: 18px; }
  .notice p + p { padding: 18px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.25); }
  .article { padding-top: 25px; }
  .chapter { grid-template-columns: 1fr; gap: 25px; padding: 70px 0; }
  .chapter-index { min-height: 0; flex-direction: row; align-items: center; justify-content: flex-start; gap: 18px; }
  .chapter-index span { font-size: 2.4rem; }
  .chapter-index p { margin: 0; writing-mode: horizontal-tb; transform: none; }
  .two-columns { columns: 1; }
  .pull-quote { margin-left: -20px; margin-right: -20px; }
  .timeline li { grid-template-columns: 72px 1fr; gap: 16px; }
  .local-grid { grid-template-columns: 1fr; }
  .local-grid > div { padding: 24px 0 !important; border-left: 0 !important; border-top: 1px solid var(--line); }
  .local-grid > div:first-child { border-top: 0; }
  .boundaries { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-legal { grid-column: auto; }
}

@media (max-width: 440px) {
  .brand strong { font-size: .92rem; }
  .brand { gap: 8px; }
  .header-inner { padding-left: 14px; padding-right: 14px; gap: 8px; }
  .hero h1 { font-size: 3.35rem; }
  .hero-figure { min-height: 340px; }
  .signal-list > div { grid-template-columns: 40px 1fr; }
  .timeline li { grid-template-columns: 1fr; }
  .habit-strip { grid-template-columns: 1fr; }
  .habit-strip p, .habit-strip p + p, .habit-strip p:nth-child(3) { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
