:root {
  --linen: #f6f3ee;
  --ink: #1f2328;
  --spruce: #2e5e55;
  --card: #ece7df;
  --photo-shadow: #19372f;
  --muted: #51564f;
  --rule: #caccc2;
  --display: 'Bodoni Moda', serif;
  --body: 'Mulish', sans-serif;
  --wide: 1312px;
  --measure: 68ch;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background-color: var(--linen); font-family: var(--body); font-size: 18px; line-height: 1.65; font-weight: 400; }
img, svg { max-width: 100%; }
img { display: block; height: auto; object-fit: cover; }
button, textarea { font: inherit; }
button, summary { cursor: pointer; }
a { color: var(--spruce); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a, button, summary { touch-action: manipulation; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0 0 28px; letter-spacing: 0; }
h1 { font-size: clamp(44px, 5.7vw, 82px); }
h2 { font-size: clamp(36px, 4.2vw, 60px); }
h3 { font-size: clamp(28px, 2.4vw, 34px); }
p { margin: 0 0 24px; }
em { font-style: italic; }
h2 em, .inner-title em { color: var(--spruce); }
strong { font-weight: 600; }
ul { padding-left: 1.3em; margin: 0 0 30px; }
li { margin: 0 0 12px; }
main { overflow: clip; }
.wrap { width: min(var(--wide), calc(100% - 128px)); margin-inline: auto; }
.skip { position: fixed; top: 12px; left: 12px; padding: 12px 20px; background-color: var(--linen); color: var(--ink); z-index: 30; transform: translateY(-200%); }
.skip:focus { transform: translateY(0); }
.notice { min-height: 44px; display: flex; justify-content: center; align-items: center; padding: 0 24px; background-color: var(--spruce); color: #fff; font-size: 16px; text-align: center; }
.notice a { color: inherit; display: inline-flex; min-height: 44px; align-items: center; }
.masthead { padding: 20px 0; position: relative; z-index: 10; }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; }
.brand-area { flex: 1 1 500px; max-width: 620px; min-width: 0; }
.brand { display: inline-flex; min-height: 44px; align-items: center; font-size: 28px; font-family: var(--body); font-weight: 600; line-height: 1.2; text-decoration: none; }
.header-line { font-size: 16px; line-height: 1.5; display: block; margin: 4px 0 0; max-width: 580px; }
.primary { display: flex; align-items: center; gap: 24px; flex-shrink: 0; }
.primary > a { min-height: 48px; display: inline-flex; align-items: center; font-size: 16px; color: inherit; text-decoration: none; }
.primary > a[aria-current=page] { text-decoration: underline; }
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 10px 26px; border: 1px solid var(--spruce); border-radius: 999px; background-color: var(--spruce); color: #fff; font-size: 16px; font-weight: 600; line-height: 1.4; text-decoration: none; }
.pill:hover { background-color: #244b43; border-color: #244b43; text-decoration: none; }
.pill.outline { background-color: transparent; color: var(--spruce); }
.pill.outline:hover { background-color: var(--card); }
.guide-menu { flex-shrink: 0; }
.guide-menu > summary { list-style: none; }
.guide-menu > summary::-webkit-details-marker { display: none; }
.menu-lines { width: 20px; height: 16px; margin-left: 14px; flex-shrink: 0; }
.menu-sheet { position: absolute; left: 0; right: 0; top: calc(100% + 12px); background-color: var(--linen); color: var(--ink); border-radius: 16px; padding: 28px; box-shadow: 0 12px 32px #19372f18; border: 1px solid var(--rule); }
.guide-menu:not([open]) > .menu-sheet { display: none; }
.menu-sheet nav { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); column-gap: 24px; }
.menu-sheet a { min-height: 48px; display: flex; align-items: center; font-size: 16px; }
.photo-hero { position: relative; isolation: isolate; background-color: var(--photo-shadow); color: #fff; min-height: 860px; height: calc(100svh - 40px); }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; object-fit: cover; object-position: 50% 48%; color: transparent; }
.photo-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #19372f08 25%, #19372f30 48%, #19372fb8 100%); }
.home-head { position: absolute; top: 16px; left: 0; right: 0; padding: 0; }
.home-head .header-bar { position: relative; padding: 18px 28px; background-color: #19372fdd; backdrop-filter: blur(18px); border-radius: 12px; }
.home-head .brand, .home-head .primary > a { color: #fff; }
.home-head .pill { background-color: var(--linen); border-color: var(--linen); color: var(--spruce); }
.hero-copy { position: absolute; left: 50%; bottom: 172px; transform: translateX(-50%); width: min(1120px, calc(100% - 112px)); text-align: center; }
.hero-copy h1 { font-style: italic; margin-bottom: 24px; line-height: 1.05; }
.hero-copy p { max-width: 760px; margin: 0 auto 24px; font-size: 20px; line-height: 1.55; }
.hero-copy .pill { background-color: var(--linen); color: var(--spruce); border-color: var(--linen); }
.money-strip { position: absolute; bottom: 42px; left: 50%; transform: translateX(-50%); display: grid; grid-template-columns: repeat(3,1fr); width: min(780px, calc(100% - 128px)); }
.money-strip div { padding: 0 28px; border-left: 1px solid #ffffff66; text-align: center; }
.money-strip div:first-child { border-left: 0; }
.money-strip strong, .money-strip span { display: block; }
.money-strip strong { font-size: 24px; }
.money-strip span { font-size: 16px; }
.home-section { padding-block: 140px; }
.intro-statement { max-width: 900px; margin: auto; text-align: center; }
.intro-statement p { max-width: 700px; margin-inline: auto; }
.money-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; margin-top: 64px; }
.money-card { border-radius: 16px; background-color: var(--card); padding: 42px 34px; min-height: 330px; display: flex; flex-direction: column; }
.money-card h3 { margin-bottom: 22px; }
.money-card p { font-size: 18px; }
.money-card a { display: inline-flex; align-items: center; min-height: 48px; margin-top: auto; font-size: 16px; font-weight: 600; }
.section-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 40px; }
.section-actions > a, .calm-split > div > a { min-height: 48px; display: inline-flex; align-items: center; }
.topic-section { padding-top: 25px; }
.topic-section > h2 { text-align: center; margin-bottom: 60px; }
.topic-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.topic-cell { border-top: 1px solid var(--rule); border-right: 1px solid var(--rule); padding: 38px 32px; }
.topic-cell:nth-child(3n) { border-right: 0; }
.topic-cell:nth-child(n+4) { border-bottom: 1px solid var(--rule); }
.topic-cell h3 { margin-bottom: 20px; }
.topic-cell a { display: flex; align-items: center; min-height: 48px; font-size: 16px; }
.topic-cell:last-child { background-color: var(--card); }
.calm-split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 8%; padding-bottom: 140px; }
.calm-split img { width: 100%; aspect-ratio: 5/4; object-position: center; border-radius: 16px; background-color: var(--card); }
.calm-split p { max-width: 60ch; }
.inner-title { text-align: center; max-width: 1050px; padding: 64px 0 72px; margin-inline: auto; }
.inner-title p { max-width: 68ch; margin: 26px auto 0; font-size: 20px; }
.opening-panel { border-top: 1px solid var(--rule); border-radius: 44px 44px 0 0; padding: 64px 0; }
.opening-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; align-items: start; }
.opening-copy h2 { font-size: clamp(34px, 3.6vw, 52px); }
.opening-copy p { max-width: 60ch; }
.opening-visual { min-width: 0; }
.opening-visual > img, .article-photo { width: 100%; aspect-ratio: 4/3; border-radius: 16px; background-color: var(--card); object-position: 50% 50%; }
.opening-plain { max-width: var(--measure); margin-inline: auto; }
.reading { width: min(var(--measure), calc(100% - 64px)); margin-inline: auto; }
.reading section { margin: 30px 0 90px; }
.reading h2 { font-size: clamp(32px, 3.1vw, 44px); margin-bottom: 26px; }
.reading h3 { font-size: 28px; }
.callout { margin: 32px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 28px 0; }
.callout p { margin-bottom: 0; }
.callout strong { display: block; margin-bottom: 10px; color: var(--spruce); font-size: 18px; }
.ruled-table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 16px; text-align: left; }
.ruled-table caption { font-size: 18px; text-align: left; font-weight: 600; margin-bottom: 18px; }
.ruled-table th { font-weight: 600; }
.ruled-table th, .ruled-table td { border-bottom: 1px solid var(--rule); padding: 16px 14px 16px 0; vertical-align: top; }
.ruled-table thead th { border-top: 1px solid var(--rule); }
.ruled-table th:first-child { width: 38%; }
.range-figure { margin: 0; padding: 32px; background-color: var(--card); border-radius: 16px; }
.range-figure svg { display: block; width: 100%; height: auto; overflow: visible; }
.range-figure text { font-family: var(--body); font-size: 19px; fill: var(--ink); }
.range-track { stroke: var(--rule); stroke-width: 10; }
.range-value { stroke: var(--spruce); stroke-width: 10; }
.range-end { fill: var(--spruce); }
figcaption { font-size: 16px; line-height: 1.6; margin-top: 24px; }
.source-note { border-top: 1px solid var(--rule); padding-top: 26px; margin: 60px 0; font-size: 16px; }
.source-note h2 { font-family: var(--body); font-size: 18px; font-weight: 600; }
.source-note a { min-height: 44px; display: flex; align-items: center; }
.next-reads { padding: 36px 0 90px; }
.next-reads > h2 { font-size: 34px; }
.next-reads nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.next-reads a { min-height: 58px; display: flex; align-items: center; border-block: 1px solid var(--rule); padding: 12px 0; font-size: 16px; }
.note-pad { border-top: 1px solid var(--rule); padding-top: 32px; }
.note-pad label { display: block; margin-bottom: 12px; font-weight: 600; }
.note-pad textarea { width: 100%; min-height: 220px; padding: 18px; border: 1px solid var(--spruce); border-radius: 12px; color: var(--ink); background-color: var(--linen); line-height: 1.6; resize: vertical; }
.note-pad .actions { display: flex; gap: 16px; flex-wrap: wrap; margin: 20px 0; }
.note-pad [disabled] { cursor: default; }
.note-status { min-height: 30px; font-size: 16px; }
.site-footer { border-top: 1px solid var(--rule); padding: 64px 0 36px; }
.footer-row { display: grid; grid-template-columns: 1.5fr 1fr; gap: 10%; }
.footer-row p { max-width: 62ch; font-size: 16px; }
.footer-row nav { display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: 4px 24px; }
.footer-row a { min-height: 44px; display: flex; align-items: center; font-size: 16px; }
.footer-brand { font-family: var(--display); font-size: 32px; margin-bottom: 18px; }
.copyright { margin-top: 40px; font-size: 16px; }
.error-content { padding-block: 80px 140px; max-width: 780px; }
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .primary { gap: 16px; }
  .primary > a:nth-child(3) { display: none; }
  .header-bar { gap: 16px; }
  .brand { font-size: 24px; }
  .brand-area { flex-basis: 420px; }
  .home-head .header-bar { padding: 20px; }
  .home-section { padding-block: 100px; }
  .money-card { padding: 30px 24px; }
  .calm-split { padding-bottom: 100px; }
}
@media (max-width: 760px) {
  body { font-size: 17px; line-height: 1.65; }
  .wrap { width: calc(100% - 40px); }
  .notice { padding-inline: 16px; font-size: 16px; }
  .header-bar { flex-wrap: wrap; gap: 12px; }
  .brand-area { flex: 1 1 auto; max-width: 100%; width: 100%; display: contents; }
  .brand { font-size: 21px; max-width: calc(100% - 126px); }
  .header-line { order: 3; width: 100%; max-width: none; margin: 0; font-size: 16px; }
  .primary { display: none; }
  .guide-menu { margin-left: auto; }
  .guide-menu > summary { min-height: 44px; padding: 8px 16px; }
  .menu-lines { display: none; }
  .menu-sheet { padding: 18px; top: calc(100% + 10px); }
  .menu-sheet nav { grid-template-columns: 1fr; max-height: 60svh; overflow-y: auto; }
  .home-head { top: 16px; }
  .home-head .header-bar { padding: 16px; gap: 10px; }
  .home-head .brand { font-size: 20px; }
  .photo-hero { min-height: 760px; height: calc(100svh - 40px); margin-bottom: 146px; }
  .hero-photo { object-position: 52% 48%; }
  .hero-copy { bottom: 48px; width: calc(100% - 40px); }
  .hero-copy h1 { font-size: clamp(44px, 11.5vw, 64px); margin-bottom: 22px; }
  .hero-copy p { font-size: 18px; margin-bottom: 28px; }
  .hero-copy .pill { min-width: 84%; }
  .money-strip { top: 100%; bottom: auto; left: 0; width: 100%; transform: none; background-color: var(--linen); color: var(--ink); padding: 34px 16px; }
  .money-strip div { border-color: var(--rule); padding-inline: 10px; }
  .money-strip strong { font-size: 18px; }
  .money-strip span { font-size: 16px; line-height: 1.45; margin-top: 4px; }
  .home-section { padding-block: 76px; }
  .money-cards { grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
  .money-card { min-height: 270px; padding: 32px; }
  .money-card h3 { font-size: 34px; }
  .topic-section { padding-top: 0; }
  .topic-section > h2 { margin-bottom: 40px; }
  .topic-grid { grid-template-columns: 1fr; }
  .topic-cell, .topic-cell:nth-child(3n), .topic-cell:nth-child(n+4) { border-right: 0; border-bottom: 0; padding: 30px 12px; }
  .topic-cell:last-child { border-bottom: 1px solid var(--rule); padding: 30px 24px; }
  .calm-split { grid-template-columns: 1fr; gap: 38px; padding-bottom: 76px; }
  .calm-split img { aspect-ratio: 5/4; }
  .inner-title { padding: 52px 0 60px; }
  .inner-title h1 { font-size: 46px; }
  .inner-title p { font-size: 18px; }
  .opening-panel { border-radius: 28px 28px 0 0; padding: 44px 0 18px; }
  .opening-grid { grid-template-columns: 1fr; gap: 30px; }
  .reading { width: calc(100% - 40px); }
  .reading section { margin-bottom: 60px; }
  .ruled-table th, .ruled-table td { padding: 14px 10px 14px 0; overflow-wrap: anywhere; }
  .range-figure { padding: 22px 18px; }
  .next-reads { padding-bottom: 64px; }
  .next-reads nav { grid-template-columns: 1fr; gap: 14px; }
  .footer-row { grid-template-columns: 1fr; gap: 30px; }
  .site-footer { padding-top: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
