:root {
  color-scheme: light;
  --paper: #f7f4eb;
  --ink: #191e17;
  --muted: #50594b;
  --line: #d6d8c9;
  --accent: #d5eb82;
  --forest: #263b29;
  --panel: #eeeddf;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.58 var(--sans); }
a { color: inherit; text-underline-offset: .24em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #417744; outline-offset: 4px; }
img { display: block; width: 100%; height: auto; }
figure, p, h1, h2, h3 { margin: 0; }
p + p { margin-top: 1em; }
.shell { width: min(100% - 96px, 1320px); margin-inline: auto; }
.skip { position: absolute; top: -10em; left: 16px; z-index: 2; background: white; padding: 10px; }
.skip:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--line); }
.bar { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; width: max-content; font: 800 .8rem/.99 var(--sans); letter-spacing: .13em; text-decoration: none; }
.mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--paper); background: var(--forest); font-size: 24px; letter-spacing: 0; }
.bar nav { display: flex; align-items: center; gap: clamp(17px, 4vw, 48px); font-size: .93rem; }
.bar nav a { text-decoration: none; white-space: nowrap; }
.bar nav a:hover, .bar nav a[aria-current] { text-decoration: underline; }
.hero { display: grid; grid-template-columns: .78fr 1.22fr; min-height: 520px; margin-top: 26px; }
.hero-content { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(24px, 4.7vw, 70px) 30px clamp(24px, 4.7vw, 70px) 0; }
.label { font-size: .72rem; font-weight: 800; letter-spacing: .135em; text-transform: uppercase; }
h1, h2, .tool-card h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; }
h1 { font-size: clamp(3.45rem, 7.5vw, 7.5rem); line-height: .96; overflow-wrap: anywhere; }
h2 { font-size: clamp(2.1rem, 4vw, 4.2rem); line-height: 1.02; }
.hero h1 { margin-top: 16px; }
.hero h1 em { color: #456148; font-weight: inherit; }
.hero-content > p:not(.label) { margin-top: 24px; color: var(--muted); max-width: 36ch; }
.hero-figure { position: relative; min-height: 100%; overflow: hidden; background: var(--panel); }
.hero-figure img { position: absolute; height: 100%; object-fit: cover; object-position: 58% 58%; }
.hero-figure figcaption, .article-cover figcaption { position: absolute; bottom: 13px; right: 13px; padding: 5px 9px; background: #f7f4eb; color: #262e23; font-size: .73rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 30px; }
.button { display: inline-flex; gap: 14px; align-items: center; justify-content: center; background: var(--accent); color: var(--ink); font: 700 .94rem/1.2 var(--sans); padding: 14px 19px; border: 1px solid var(--ink); border-radius: 2px; min-height: 48px; text-decoration: none; cursor: pointer; }
.button:hover { background: #c5df6e; }
.quiet-link { font-weight: 700; }
.section { padding-block: 54px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: 23px; padding-top: 12px; border-top: 1px solid var(--line); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 21px; }
.frame { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--panel); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame-mtb img { object-position: 55% 56%; }
.frame-bmx img { object-position: 51% 56%; }
.frame-desk img { object-position: 50% 63%; }
.card .label { margin-top: 14px; color: var(--muted); }
.card h3 { font-size: clamp(1.16rem, 2vw, 1.42rem); line-height: 1.18; margin-block: 6px 7px; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card h3 span, .quiet-link span, .article-next span { font-size: .85em; }
.card > p:not(.label), .small { color: var(--muted); }
.small { font-size: .88rem; }
.club-band { background: var(--forest); color: var(--paper); }
.split { padding-block: 42px; display: grid; grid-template-columns: 1.13fr .87fr; gap: clamp(24px, 6vw, 92px); align-items: center; }
.split figure { aspect-ratio: 15 / 11; }
.split .label { color: var(--accent); }
.split h2 { margin-block: 10px 15px; }
.split div > p:not(.label) { max-width: 42ch; }
.link-list { padding: 0; margin: 15px 0 0; list-style: none; }
.link-list li { border-bottom: 1px solid #72816e; }
.link-list a { display: block; padding: 10px 0; }
.tool-card { padding: clamp(18px, 3vw, 34px); background: #e4ebc9; border: 1px solid #cdd8a7; }
.tool-card h3 { font-size: clamp(1.85rem, 3vw, 2.8rem); line-height: 1.05; margin-block: 12px; }
.tool-card .quiet-link { display: inline-block; margin-top: 18px; }
.last-section { padding-bottom: 72px; }
.site-footer { color: var(--paper); background: #202a20; padding-block: 43px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1fr; gap: 28px; }
.footer-grid > * { min-width: 0; }
.footer-grid p { color: #dee1d5; font-size: .87rem; margin-top: 10px; }
.footer-grid nav a { display: block; margin-top: 5px; font-size: .92rem; }
.contact { display: grid; gap: 3px; margin-block: 6px 12px; font-style: normal; }
.contact a { width: fit-content; max-width: 100%; overflow-wrap: anywhere; }
.footer-grid .contact { font-size: .92rem; }
.footer-grid .mark { background: var(--accent); color: var(--ink); }
.page-intro { padding-block: 57px 22px; }
.page-intro h1, .article-heading h1 { font-size: clamp(3rem, 6.6vw, 6.6rem); }
.page-intro p, .article-heading > p:last-child { max-width: 60ch; margin-top: 14px; color: var(--muted); font-size: clamp(1rem, 1.7vw, 1.24rem); }
.listing { padding-block: 21px 43px; }
.listing:last-child { padding-bottom: 65px; }
.listing > p { margin-top: 25px; }
.article-layout { padding-block: 44px 70px; }
.article-heading { max-width: 940px; margin: 0 auto 26px; }
.crumb { margin-bottom: 14px; font-size: .9rem; color: var(--muted); }
.crumb span { margin-inline: 5px; }
.article-cover { max-width: 940px; margin-inline: auto; aspect-ratio: 16 / 8; }
.reading { max-width: 720px; margin-inline: auto; font-size: 1.06rem; }
.reading section, .reading > h2 { margin-top: 28px; }
.reading h2 { font-size: clamp(1.72rem, 3.4vw, 2.55rem); margin-bottom: 7px; line-height: 1.1; }
.source-list, .article-next { border-top: 1px solid var(--line); padding-top: 18px; }
.source-list ul { padding-left: 22px; }
.article-next { margin-top: 25px; font-weight: 700; }
.editorial-note { background: var(--panel); border-left: 4px solid var(--forest); padding: 16px 20px; margin-top: 25px; }
.editorial-note p { margin-top: 3px; }
.info-layout { padding-bottom: 60px; }
.info-layout .reading { margin-inline: 0; }
.planner-layout { display: grid; grid-template-columns: 1.15fr .85fr; align-items: start; gap: 24px; padding-block: 17px 65px; }
.panel { border: 1px solid var(--line); padding: clamp(17px, 3vw, 32px); }
.panel h2 { font-size: clamp(1.9rem, 3vw, 2.9rem); margin-bottom: 16px; }
.panel label { display: block; font-weight: 700; font-size: .9rem; margin-block: 11px 5px; }
.panel input, .panel select { display: block; width: 100%; color: var(--ink); background: #fffef8; font: inherit; padding: 9px; border: 1px solid #717a6a; border-radius: 2px; min-height: 44px; }
.fields { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.fields > div { display: flex; flex-direction: column; justify-content: flex-end; }
.panel .small { margin-block: 12px; }
.panel .button { margin-top: 7px; }
.estimate { font: 400 clamp(2.5rem, 5.5vw, 5rem)/1.02 var(--serif); letter-spacing: -.05em; margin-top: 10px; }
.results p + p:not(.estimate) { margin-top: 8px; }
[hidden] { display: none !important; }
@media(max-width: 1050px) {
  .shell { width: min(100% - 56px, 1320px); }
  .hero { min-height: 455px; }
  .fields { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width: 720px) {
  .shell { width: calc(100% - 36px); }
  .bar { align-items: flex-start; flex-direction: column; gap: 11px; padding-block: 12px; }
  .bar nav { gap: 14px; flex-wrap: wrap; font-size: .88rem; }
  .bar nav a { display: inline-block; padding-block: 6px; }
  .hero { display: flex; flex-direction: column; margin-top: 0; min-height: 0; }
  .hero-content { padding: 34px 0 22px; }
  .hero-content > p:not(.label) { margin-top: 18px; }
  .hero-figure { aspect-ratio: 5 / 4; min-height: 0; }
  .hero-figure img { object-position: 59% 55%; }
  .actions { margin-top: 20px; }
  .section { padding-block: 32px; }
  .section-head { align-items: flex-start; }
  .section-head .quiet-link { font-size: .87rem; }
  .card-grid, .split, .planner-layout { grid-template-columns: 1fr; }
  .card-grid { gap: 24px; }
  .split { padding-block: 27px; }
  .split figure { aspect-ratio: 3 / 2; }
  .page-intro { padding-block: 36px 16px; }
  .article-layout { padding-top: 25px; }
  .article-cover { aspect-ratio: 3 / 2; }
  .footer-grid { gap: 21px; }
}
@media(max-width: 380px) { .footer-grid { grid-template-columns: 1fr; } }
