:root {
  color-scheme: light;
  --ink: #25352d;
  --muted: #4e5d53;
  --paper: #f8f6ef;
  --white: #fffdf7;
  --green: #e9eee4;
  --dark: #224735;
  --deep: #182f25;
  --line: #ced6c8;
  --accent: #875339;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 10px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
a { color: var(--dark); }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid #916241; outline-offset: 4px; }
img { display: block; max-width: 100%; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; color: var(--deep); text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(2.75rem, 5.05vw, 5.2rem); line-height: 0.99; letter-spacing: -.055em; }
h2 { font-size: clamp(2rem, 3.55vw, 3.45rem); line-height: 1.06; letter-spacing: -.042em; }
h3 { font-size: 1.17rem; line-height: 1.24; letter-spacing: -.018em; }
.wrap { width: min(100% - 68px, 1240px); margin-inline: auto; }
.skip { position: absolute; z-index: 2; top: .55rem; left: -200vw; padding: .4rem .7rem; background: white; }
.skip:focus { left: .55rem; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { align-items: center; display: flex; justify-content: space-between; min-height: 68px; gap: 18px; }
.wordmark { display: inline-block; font: 400 1.57rem/1 var(--serif); letter-spacing: -.045em; color: var(--deep); text-decoration: none; white-space: nowrap; }
.wordmark i { color: var(--accent); font-weight: 400; }
.header-inner nav { display: flex; align-items: center; gap: clamp(18px, 3.1vw, 48px); flex-wrap: wrap; }
.header-inner nav a { font-size: .89rem; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.header-inner nav a:first-child { text-decoration: none; }
.header-inner nav a:first-child:hover { text-decoration: underline; }
.hero { background: var(--green); }
.hero-inner { min-height: 560px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.11fr); align-items: stretch; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(42px, 6.5vw, 88px) clamp(24px, 4vw, 58px) clamp(42px, 6.5vw, 88px) 1px; }
.kicker { margin: 0 0 16px; display: block; color: var(--accent); font-weight: 700; font-size: .72rem; letter-spacing: .145em; text-transform: uppercase; }
.hero h1 em { font-weight: 400; color: #425f49; }
.hero-copy > p:not(.kicker) { max-width: 490px; margin: 25px 0 30px; font-size: clamp(1rem, 1.52vw, 1.19rem); color: var(--muted); }
.hero-inner > img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; object-position: 58% center; }
.actions { display: flex; flex-wrap: wrap; align-items: center; column-gap: 20px; row-gap: 11px; }
.button { appearance: none; display: inline-flex; align-items: center; justify-content: center; min-height: 45px; padding: 10px 17px; border: 1px solid var(--dark); border-radius: 2px; background: var(--dark); color: #fffdf8; font: 650 .88rem/1.45 var(--sans); text-decoration: none; cursor: pointer; }
.button:disabled { opacity: .55; cursor: default; }
.button:hover { background: var(--deep); color: white; }
.quiet-link { font-weight: 650; font-size: .87rem; text-underline-offset: 4px; }
.quiet-link span { margin-inline-start: .15em; }
.guides { margin-block: 32px 74px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0 0 17px; border-bottom: 1px solid var(--line); }
.tabs a { font-size: .87rem; font-weight: 700; text-decoration: none; padding: 5px 0; }
.tabs a:hover { text-decoration: underline; text-underline-offset: 4px; }
.guide-group { padding: 45px 0 8px; }
.guide-group + .guide-group { margin-top: 31px; border-top: 1px solid var(--line); }
.group-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px 36px; margin: 0 0 22px; }
.group-heading p { max-width: 38ch; margin: 0; color: var(--muted); }
.guide-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 19px; }
.guide-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); text-decoration: none; min-width: 0; }
.guide-card:hover { border-color: #748978; }
.guide-card:hover h3 { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.guide-card img { width: 100%; height: auto; aspect-ratio: 8/5; object-fit: cover; }
.card-copy { padding: 15px 16px 17px; }
.card-copy h3 { font-family: var(--serif); font-size: clamp(1.15rem, 1.85vw, 1.45rem); font-weight: 400; }
.card-copy p { font-size: .87rem; line-height: 1.52; color: var(--muted); margin: .6rem 0 0; }
.article-heading { margin-block: clamp(40px,6vw,86px) 32px; text-align: center; }
.article-heading h1 { max-width: 890px; margin-inline: auto; }
.article-heading .kicker { width: fit-content; margin-inline: auto; text-underline-offset: 5px; }
.standfirst { max-width: 640px; margin: 21px auto 0; color: var(--muted); font-size: clamp(1rem, 1.75vw, 1.2rem); }
.article-photo { max-width: 1080px; margin: 0 auto 45px; }
.article-photo img { width: 100%; height: min(44vw,520px); min-height: 210px; object-fit: cover; object-position: center; }
.article-photo figcaption { margin-top: 5px; color: var(--muted); font-size: .78rem; }
.reading { max-width: 815px; margin: 0 auto; }
.reading section { margin-block: 0 38px; }
.reading h2 { font-size: clamp(1.7rem,3vw,2.65rem); margin-bottom: .45em; }
.reading h3 { margin-bottom: .5em; }
.reading p:not(.fine) { font-size: 1rem; }
.fine, .reading .sources p { color: var(--muted); font-size: .85rem; }
.data-cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,210px),1fr)); gap: 12px; margin: 16px 0; }
.data-cards > div { padding: 16px; border-top: 2px solid #879e86; background: var(--green); }
.data-cards > div > p:last-child { margin-bottom: 0; }
.data-cards h3 { font-size: 1.04rem; }
.data-cards p { line-height: 1.5; }
.planner { padding: 20px; background: var(--green); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.planner fieldset { margin: 0; padding: 12px 13px; min-inline-size: 0; border: 1px solid #bfcbb9; background: var(--white); }
.planner legend { padding: 0 4px; font-weight: 700; font-size: .88rem; }
.planner label { display: block; color: var(--ink); font-size: .84rem; font-weight: 650; }
.planner input[type=number] { width: 100%; min-width: 0; display: block; margin: 3px 0 10px; padding: 8px; border: 1px solid #87968a; border-radius: 2px; color: var(--deep); background: white; font: 500 1rem/1.25 var(--sans); }
.planner .option { display: flex; align-items: flex-start; gap: 6px; font-size: .79rem; }
.option input { accent-color: var(--dark); margin: .26em 0 0; }
.single-input { margin: 13px 0; max-width: 230px; }
.pack-fields { grid-template-columns: repeat(auto-fit,minmax(min(100%,130px),1fr)); margin-bottom: 7px; }
.reading .planner .result { margin: 13px 0 0; padding: 9px 12px; background: var(--white); border-left: 3px solid #58735d; font-size: .92rem; font-weight: 650; }
.sources { border-top: 1px solid var(--line); padding-top: 23px; }
.sources ul { padding-left: 1.1em; }
.sources a { text-underline-offset: 4px; overflow-wrap: anywhere; }
.related { padding-block: 25px 57px; }
.related h2 { margin-bottom: .55em; }
.related .guide-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.about-page { padding-block: 58px; }
.about-page h1 { margin-bottom: .45em; }
.about-page h2 { margin-top: 1.1em; }
.site-footer { background: var(--green); border-top: 1px solid var(--line); }
.footer-inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 13px 25px; padding-block: 18px; }
.footer-inner p,.footer-inner a:not(.wordmark) { margin: 0; font-size: .86rem; }
.footer-inner a:not(.wordmark) { text-underline-offset: 4px; }
@media (max-width: 960px) {
  .wrap { width: min(100% - 42px,1240px); }
  .hero-inner { min-height: 455px; }
  .hero-inner > img { min-height: 330px; }
  .guide-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { padding: 13px 0 11px; flex-wrap: wrap; gap: 9px 17px; }
  .header-inner nav { gap: 7px 16px; }
  .header-inner nav a { font-size: .78rem; }
  .hero-inner { width: 100%; display: flex; flex-direction: column; min-height: 0; }
  .hero-copy { padding: 30px 16px 24px; }
  .hero-copy > p:not(.kicker) { margin: 16px 0 18px; }
  .hero-inner > img { height: clamp(195px, 53vw, 330px); min-height: 0; }
  .hero .kicker { margin-bottom: 12px; }
  .hero h1 { font-size: clamp(2.53rem,9.35vw,3.9rem); }
  .guides { margin-top: 17px; margin-bottom: 38px; }
  .tabs { gap: 4px 14px; padding-bottom: 10px; }
  .tabs a { font-size: .75rem; }
  .guide-group { padding-top: 28px; }
  .guide-group + .guide-group { margin-top: 21px; }
  .group-heading { display: block; margin-bottom: 15px; }
  .group-heading p { margin-top: 6px; font-size: .91rem; }
  .guide-grid, .related .guide-grid { grid-template-columns: 1fr; gap: 11px; }
  .guide-card { display: grid; grid-template-columns: minmax(88px,33%) minmax(0,1fr); align-items: start; }
  .guide-card img { height: 100%; min-height: 98px; }
  .card-copy { padding: 10px 10px 11px; }
  .card-copy p { font-size: .79rem; margin-top: .35rem; }
  .article-heading { text-align: left; margin-block: 31px 20px; }
  .article-heading .kicker { margin-inline: 0; margin-bottom: 10px; }
  .article-heading h1 { font-size: clamp(2.58rem,9vw,4rem); }
  .standfirst { margin-top: 13px; }
  .article-photo { margin-bottom: 26px; }
  .article-photo img { height: auto; min-height: 0; aspect-ratio: 8/5; }
  .reading section { margin-bottom: 27px; }
  .form-grid { grid-template-columns: 1fr; }
  .pack-fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .planner { padding: 12px; }
  .footer-inner { flex-wrap: wrap; justify-content: flex-start; }
}
