:root {
  --notice: #E4E5E0;
  --paper: #FFFFFF;
  --sheet: #EEF0EB;
  --ink: #1B1C1A;
  --rule: #C9CCC4;
  --display: 'Red Hat Display', sans-serif;
  --reading: 'Source Serif 4', serif;
  --frame: 1190px;
  --gutter: clamp(22px, 3.4vw, 48px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background-color: var(--sheet); font-family: var(--reading); font-size: 18px; font-weight: 400; line-height: 1.65; }
a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; background-color: var(--paper); }
p, ul { margin: 0 0 22px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 24px; text-wrap: balance; }
h1 { font-size: clamp(36px, 4.1vw, 58px); max-width: 950px; }
h2 { font-size: clamp(25px, 2.2vw, 31px); }
h3 { font-size: 25px; }
.answer-group > h2 { margin-bottom: 32px; }
img { max-width: 100%; display: block; }
figure { margin: 32px 0; }
figcaption { font-size: 16px; line-height: 1.6; margin-top: 18px; }
button, input, select { font: inherit; }
.skip-link { position: absolute; top: 12px; left: 18px; z-index: 10; padding: 12px 20px; background-color: var(--paper); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.notice-bar { min-height: 32px; padding: 4px 20px; background-color: var(--notice); text-align: center; font-size: 16px; line-height: 1.5; border-bottom: 1px solid var(--rule); }
.guide-header { display: grid; grid-template-columns: minmax(285px, 350px) 1fr; min-height: 94px; background-color: var(--paper); border-bottom: 1px solid var(--rule); }
.site-name { display: flex; align-items: center; padding: 17px 30px; border-right: 1px solid var(--rule); font-family: var(--display); font-weight: 700; font-size: 29px; line-height: 1.05; letter-spacing: -0.015em; text-decoration: none; max-width: 100%; }
.header-line { display: flex; align-items: center; margin: 0; padding: 18px 36px; font-size: 18px; line-height: 1.5; }
.home-photo { width: 100%; background-color: var(--notice); }
.hero-image { width: 100%; height: clamp(360px, 34vw, 540px); object-fit: cover; object-position: 52% 57%; }
.hero-topics { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; width: 100%; background-color: var(--sheet); border-block: 1px solid var(--rule); }
.hero-lead, .hero-topic { padding: 30px 25px; border-right: 1px solid var(--rule); min-width: 0; }
.hero-lead { padding-left: max(30px, calc((100vw - 1190px) / 2 + 34px)); }
.hero-lead h1 { font-size: clamp(31px, 2.65vw, 40px); line-height: 1.12; margin-bottom: 20px; max-width: 440px; }
.hero-lead p { font-size: 17px; line-height: 1.55; margin-bottom: 0; max-width: 43ch; }
.hero-topic { display: flex; flex-direction: column; justify-content: flex-end; }
.hero-topic h2 { font-size: 25px; margin-bottom: 14px; }
.hero-topic h2 a { text-decoration: none; display: block; min-height: 44px; }
.hero-topic p { font-size: 17px; margin-bottom: 12px; }
.hero-topic > a { display: inline-flex; align-items: center; min-height: 44px; align-self: flex-start; font-size: 17px; }
.sheet { width: min(var(--frame), calc(100% - 30px)); margin: 0 auto; border-inline: 1px solid var(--rule); background-color: var(--sheet); }
.home-reading-inner { padding: 42px var(--gutter) 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 65px; }
.home-reading .answer-block { padding: 22px 0 18px; border-top: 1px solid var(--rule); }
.home-reading .answer-block:first-child { grid-column: 1 / -1; }
.home-reading .answer-block:first-child p { max-width: 72ch; }
.home-reading .answer-block h2 { font-size: 29px; }
.home-reading .record-drawer { grid-column: 1 / -1; }
.inner-photo { width: 100%; background-color: var(--notice); }
.band-image { width: 100%; height: 460px; object-fit: cover; object-position: 50% 52%; }
.article-sheet { padding: 12px var(--gutter) 65px; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 15px; font-size: 16px; margin-bottom: 28px; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
.article-heading { padding-bottom: 38px; border-bottom: 1px solid var(--rule); }
.opening-answer { max-width: 67ch; font-size: 21px; line-height: 1.55; }
.opening-answer p:last-child { margin-bottom: 0; }
.reading-columns { display: grid; grid-template-columns: 210px minmax(0, 1fr); column-gap: 60px; padding-top: 38px; }
.section-links { font-size: 16px; line-height: 1.5; }
.section-links details { position: sticky; top: 25px; }
summary { cursor: pointer; min-height: 48px; padding: 12px 0; font-size: 17px; }
.section-links summary { font-family: var(--display); font-size: 18px; font-weight: 700; border-bottom: 1px solid var(--rule); }
.section-links ul { list-style: none; margin: 7px 0 0; padding: 0; }
.section-links a { display: flex; align-items: center; min-height: 52px; padding: 9px 0; text-decoration: none; border-bottom: 1px solid var(--rule); }
.section-links a[aria-current="location"] { text-decoration: underline; }
.answers { min-width: 0; max-width: 720px; }
.answer-block { padding: 0 0 25px; margin-bottom: 26px; border-bottom: 1px solid var(--rule); }
.answer-block p { max-width: 70ch; }
.answer-block p:last-child { margin-bottom: 0; }
.record-drawer { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 24px 0; margin-top: 10px; }
.record-drawer h2, .related-label { font-family: var(--display); font-weight: 700; font-size: 23px; margin-bottom: 9px; }
.record-content { padding-top: 18px; }
.record-content ul, .related-reading ul { list-style: none; padding-left: 0; margin-bottom: 8px; }
.record-content a, .related-reading a { display: inline-flex; align-items: center; min-height: 48px; font-size: 17px; padding-block: 8px; }
.record-content p { font-size: 17px; }
.related-reading { padding-top: 35px; }
.cost-figure { width: 100%; border-block: 1px solid var(--rule); padding: 15px 0 20px; }
.cost-figure svg { display: block; width: 100%; height: auto; overflow: visible; }
.cost-figure text { fill: #1B1C1A; font-family: 'Source Serif 4', serif; font-size: 34px; }
.cost-figure .chart-heading { font-family: 'Red Hat Display', sans-serif; font-weight: 700; font-size: 34px; }
.cost-figure .chart-value { font-size: 34px; }
.chart-rule { fill: none; stroke: #C9CCC4; stroke-width: 1; }
.chart-fill { fill: #1B1C1A; }
.chart-range { fill: #C9CCC4; }
.within-photo img { width: 100%; height: auto; object-fit: cover; }
.guide-footer { padding: 30px var(--gutter) 0; }
.page-directory { display: grid; grid-template-columns: 1fr 1.2fr 1fr 1.2fr 1fr; gap: 30px; padding-bottom: 35px; }
.directory-label { font-weight: 700; font-family: var(--display); font-size: 17px; letter-spacing: 0; margin-bottom: 12px; line-height: 1.35; }
.directory-column ul { padding: 0; margin: 0; list-style: none; }
.directory-column a { display: flex; align-items: center; padding-block: 8px; min-height: 44px; font-size: 16px; line-height: 1.45; text-decoration: none; }
.directory-column a:hover { text-decoration: underline; }
.footer-end { border-top: 1px solid var(--rule); padding: 25px 0; font-size: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 30px; }
.footer-end p { margin: 0; }
.footer-end p:first-child { width: 100%; max-width: 80ch; }
.footer-end a { display: inline-flex; align-items: center; min-height: 44px; margin-left: auto; }
.missing-page { padding: 80px var(--gutter); }
.missing-page p { max-width: 65ch; }
.missing-page > a { display: inline-flex; align-items: center; min-height: 48px; }
@media (max-width: 1050px) {
  .hero-topics { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .hero-lead, .hero-topic { padding: 26px 20px; }
  .hero-topic h2 { font-size: 23px; }
  .hero-topic p { font-size: 16px; }
  .reading-columns { grid-template-columns: 180px minmax(0, 1fr); gap: 35px; }
  .page-directory { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body { font-size: 18px; }
  .notice-bar { padding: 7px 18px; font-size: 16px; }
  .guide-header { grid-template-columns: 1fr; }
  .site-name { padding: 18px 23px; font-size: 26px; border-right: 0; border-bottom: 1px solid var(--rule); min-height: 72px; }
  .header-line { padding: 13px 23px; font-size: 16px; line-height: 1.5; }
  .hero-image { height: 285px; object-position: 56% 55%; }
  .hero-topics { display: block; }
  .hero-lead { padding: 26px 23px; border-right: 0; }
  .hero-lead h1 { font-size: 33px; max-width: 530px; }
  .hero-lead p { font-size: 17px; max-width: 50ch; }
  .hero-topic { padding: 20px 23px; border-top: 1px solid var(--rule); border-right: 0; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 0 16px; align-items: center; }
  .hero-topic h2 { font-size: 23px; margin-bottom: 0; }
  .hero-topic h2 a { min-height: 44px; display: flex; align-items: center; }
  .hero-topic p { grid-column: 1; margin: 0; font-size: 16px; }
  .hero-topic > a { grid-column: 2; grid-row: 1 / 3; font-size: 16px; }
  .sheet { width: calc(100% - 24px); }
  .home-reading-inner { display: block; padding: 35px 22px 10px; }
  .home-reading .answer-block { padding-top: 25px; }
  .band-image { height: 285px; object-position: 52% 50%; }
  .article-sheet { padding: 12px 22px 38px; }
  .breadcrumb { margin-bottom: 18px; }
  .article-heading { padding-bottom: 26px; }
  h1 { font-size: 37px; line-height: 1.12; }
  h2 { font-size: 27px; line-height: 1.2; }
  .opening-answer { font-size: 20px; }
  .reading-columns { display: block; padding-top: 18px; }
  .section-links { margin-bottom: 36px; }
  .section-links details { position: static; }
  .section-links a { min-height: 48px; }
  .answers { max-width: none; }
  .answer-block { padding-bottom: 25px; }
  .cost-figure { overflow: hidden; }
  .cost-figure text { font-size: 34px; }
  .cost-figure .chart-heading { font-size: 35px; }
  .cost-figure .chart-value { font-size: 33px; }
  .guide-footer { padding: 28px 22px 0; }
  .page-directory { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .footer-end { display: block; }
  .footer-end p { margin-bottom: 12px; }
  .footer-end a { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media print {
  .notice-bar, .skip-link, .section-links, .page-directory, .related-reading, .home-photo, .inner-photo, .within-photo { display: none; }
  body { color: #1B1C1A; background-color: #FFFFFF; }
  .sheet { width: 100%; border: 0; }
  .reading-columns, .home-reading-inner { display: block; }
  .guide-header { display: block; }
  .site-name { border: 0; }
  .answers { max-width: none; }
}
