@font-face{font-family:"Fraunces Soft";src:url(/assets/fraunces-softsemibold.06bfd82295.woff2) format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Fraunces Soft Text";src:url(/assets/fraunces-softregular.847ec11459.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Jost";src:url(/assets/jost-regular.07a2364973.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Jost";src:url(/assets/jost-medium.6e3a19a0b9.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}
:root{--paper:#F3ECDC;--ink:#22408F;--red:#D2452B;--mustard:#E0A33A;--graphite:#696962;--pencil:#918F86;--rule:#D4D0C1;--shade:#F5E3BF;--font-display:"Fraunces Soft",Georgia,serif;--font-serif:"Fraunces Soft Text",Georgia,serif;--font-text:"Jost","Futura","Avenir Next",system-ui,sans-serif}
/* trainingcalendars.com. Colors and fonts are CSS variables from brand/tokens.json (written
   above this file by site/build.py). Square corners, 1-2 px ink rules, Jost caps labels and
   Fraunces Soft headlines, after the printed sheet. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--font-text); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; }
button { font: inherit; color: inherit; }
figure { margin: 0; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 40px; }
.narrow { max-width: 720px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 10; background: var(--paper); padding: .5rem; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* type */
.display, .display-sm, h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.005em; margin: 0; text-wrap: balance; }
.display { line-height: 1.02; }
.display-sm, h3 { line-height: 1.12; }
.h2 { font-size: 52px; }
.label { font-family: var(--font-text); font-weight: 500; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--graphite); margin: 0; display: block; line-height: 1.3; }
.label-red { color: var(--red); display: inline; }
.label-light { color: #B7C0DA; margin-bottom: 14px; }
.fine { font-size: 12px; line-height: 1.5; color: var(--graphite); margin: 18px 0 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: 500 12px/1 var(--font-text); letter-spacing: .15em; text-transform: uppercase; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn .arr { flex: none; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #1B3577; }
.btn-ghost:hover { background: var(--shade); }
.btn-paper { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-paper:hover { background: #fff; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
button.btn:disabled { opacity: .6; cursor: wait; }

/* header */
.hdr { background: var(--paper); border-bottom: 1px solid var(--rule); }
.hdr-in { display: flex; align-items: center; gap: 36px; height: 80px; }
.brand img { width: 186px; }
.nav { margin-left: auto; display: flex; gap: 26px; align-items: center; }
.nav a { font-size: 11.5px; line-height: 1; letter-spacing: .15em; text-transform: uppercase; font-weight: 500; text-decoration: none; padding: 4px 0 3px; border-top: 1px solid transparent; border-bottom: 1px solid transparent; }
.nav a:hover { border-bottom-color: var(--ink); }
.hdr-btn { min-height: 42px; }

/* hero: the copy on paper, the room photo fading in behind it with the real print file laid over
   the calendar in it, and labels on the print that reach back across into the copy side */
.hero { position: relative; overflow: hidden; background: var(--paper); border-bottom: 1px solid var(--rule); }
.hero-grid { position: relative; z-index: 3; display: grid; grid-template-columns: 420px 1fr; align-items: center; min-height: 700px; padding-top: 56px; padding-bottom: 64px; }
.hero-wall { position: absolute; inset: 0; overflow: hidden; }
.hero-wall::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, var(--paper) 0, var(--paper) 34%, rgba(243, 236, 220, .82) 42%, rgba(243, 236, 220, 0) 58%); }
/* the left labels start 330px left of the print: keep that clear of the 420px copy column */
.hero-photo { position: absolute; width: 1180px; left: max(390px + max(40px, 50vw - 680px), 70vw - 590px); top: -96px; }
.hero-photo img { display: block; width: 100%; height: auto; }
.hero-photo > img { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); }
/* where the calendar sits in the room photo (2400 px square): x 774 to 1622, y 324 to 1456 */
.hero-pin { position: absolute; left: 32.25%; top: 13.5%; width: 35.33%; height: 47.17%; }
.hero-pin > img { position: absolute; inset: 0; width: 100%; height: 100%; box-shadow: 0 3px 10px rgba(60, 40, 20, .28); filter: sepia(.06) brightness(.98); }
.tape { position: absolute; z-index: 1; top: -9px; width: 60px; height: 20px; background: rgba(226, 210, 180, .85); }
.tape.l { left: 18px; transform: rotate(-5deg); }
.tape.r { right: 18px; transform: rotate(4deg); }
.co { position: absolute; z-index: 2; display: flex; align-items: center; height: 0; }
.co.r { flex-direction: row-reverse; }
.co i { flex: 1; border-top: 1px dashed var(--ink); }
.co b { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px var(--paper); flex: none; }
.co span { max-width: 170px; padding: 0 10px 0 0; font: 500 10px/1.35 var(--font-text); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.co.r span { max-width: 128px; padding: 6px 8px; background: var(--paper); box-shadow: 0 2px 8px rgba(60, 40, 20, .18); }
.hero-h1 { font-size: 54px; line-height: 1.02; }
.hero-p { font-size: 16px; line-height: 1.55; color: var(--graphite); margin: 12px 0 20px; }
.soon { font-size: 13.5px; color: var(--graphite); margin: 0 0 16px; }


/* section head */
.sec-head { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding-bottom: 16px; margin-bottom: 30px; }
.sec-note { font-size: 13.5px; line-height: 1.5; color: var(--graphite); margin: 0; max-width: 420px; }

/* the calendars: mustard band, sun and one column per length */
.compare { padding-bottom: 72px; }
.band { position: relative; background: var(--mustard); padding: 34px 0 30px; overflow: hidden; }
.band-in { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; position: relative; }
.band-in > * { position: relative; z-index: 1; }
.band-note { font-size: 13.5px; margin: 10px 0 0; max-width: 420px; }
.band-field { text-align: right; display: flex; flex-direction: column; gap: 7px; align-items: flex-end; }
.band-field .label { color: var(--ink); }
.band-field strong { font-size: 21px; }
.sun { position: absolute !important; z-index: 0 !important; left: 46%; bottom: -30px; width: 196px; height: 98px; }
/* faint paper rays turn slowly behind the sun, like a vintage sunburst: centred on the sun's centre */
.sun-burst { position: absolute !important; z-index: 0 !important; left: calc(46% - 802px); bottom: -930px; width: 1800px; height: 1800px;
  fill: var(--paper); opacity: .16; pointer-events: none; animation: sunburst 40s linear infinite; }
@keyframes sunburst { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .sun-burst { animation: none; } }
.cmp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin-top: 48px; }
.cmp-col { background: var(--paper); padding: 24px 24px 26px; display: flex; flex-direction: column; }
.cmp-col.on { background: var(--shade); }
.cmp-h { font-size: 24px; margin: 8px 0 22px; min-height: 2.24em; }
.cmp-sheet { margin: 0 auto 22px; }
.cmp-blurb { font-size: 13.5px; line-height: 1.55; color: var(--graphite); }
.cmp-fields { margin: 0 0 14px; }
.cmp-fields > div { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid var(--rule); min-height: 42px; }
.cmp-fields > div:last-child { border-bottom: 1px solid var(--rule); }
.cmp-fields dt { font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--graphite); font-weight: 500; }
.cmp-fields dd { margin: 0; font-size: 14.5px; font-weight: 500; font-feature-settings: "tnum"; }
.order-by { font-size: 12.5px; color: var(--graphite); margin: 0 0 16px; }
.cmp-col .btn { margin-top: auto; }

/* a small drawing of the printed sheet */
.sheet-art { width: 180px; height: 240px; background: var(--paper); border: 1px solid var(--rule); display: flex; flex-direction: column; overflow: hidden; padding: 9px 9px 6px; box-shadow: 0 1px 0 var(--rule); }
.sa-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; padding-bottom: 5px; }
.sa-title { font: 600 10px/1 var(--font-display); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sa-date { font: 600 5.5px/1 var(--font-display); color: var(--red); white-space: nowrap; flex: none; }
.sa-rule { height: 1.5px; background: var(--ink); flex: none; }
.sa-dow, .sa-row { display: grid; grid-template-columns: 13px repeat(7, minmax(0, 1fr)) 16px; }
.sa-dow { border-bottom: 1px solid var(--ink); }
.sa-dow span { font-size: 4.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; text-align: center; padding: 3px 0 2px; }
.sa-dow span:last-child { background: var(--shade); border-left: 1px solid var(--ink); font-size: 3.5px; letter-spacing: 0; }
.sa-body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.sa-row { flex: 1; min-height: 0; border-bottom: 1px solid var(--rule); }
.sa-wk { font: 600 5.5px/1 var(--font-display); display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--rule); }
.sa-row i { display: block; border-right: 1px solid var(--rule); }
.sa-row i:last-child { border-right: 0; }
.sa-mile, .sa-after { background: var(--shade); }
.sa-mile { border-left: 1px solid var(--ink); }
.sa-race { background: var(--red); }

/* sizes */
.sizes { padding: 64px 0 72px; }
.sheets-photo { margin: 14px auto 44px; max-width: 680px; }
.sheets-crop { overflow: hidden; aspect-ratio: 1.27; }
.sheets-img { width: 100%; transform: translateY(-17.5%); }
.table-scroll { overflow-x: auto; }
.spec { width: 100%; border-collapse: collapse; margin-top: 6px; }
.spec thead th { text-align: left; border-bottom: 2px solid var(--ink); padding: 0 12px 12px 0; font: 600 23px/1.1 var(--font-display); }
.spec thead th:first-child, .spec tbody th { font: 500 9.5px/1.3 var(--font-text); letter-spacing: .2em; text-transform: uppercase; color: var(--graphite); }
.spec thead th:first-child { width: 280px; }
.spec tbody th { text-align: left; padding: 0 12px 0 0; border-bottom: 1px solid var(--rule); }
.spec tbody td { font-size: 15.5px; padding: 0 12px 0 0; border-bottom: 1px solid var(--rule); font-feature-settings: "tnum"; }
.spec tbody tr { height: 52px; }

/* what's printed */
.print { background: var(--shade); padding: 64px 0 72px; }
.print-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: end; margin-bottom: 34px; }
.print-copy { font-size: 15px; line-height: 1.62; color: var(--graphite); margin: 14px 0 0; max-width: 540px; }
.print-fields { display: flex; gap: 56px; margin: 0; }
.print-fields > div { border-top: 2px solid var(--ink); padding-top: 12px; }
.print-fields dt { font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--graphite); font-weight: 500; margin-bottom: 7px; }
.print-fields dd { margin: 0; font-size: 14px; line-height: 1.45; max-width: 230px; }
.weekrow { border: 1px solid var(--rule); background: var(--paper); min-width: 760px; }
.weekrow-head, .weekrow-body { display: grid; grid-template-columns: 112px repeat(7, 1fr) 224px; }
.weekrow-head span { font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; padding: 12px 0 11px 9px; border-bottom: 2px solid var(--ink); }
.weekrow-head span:last-child { background: var(--shade); border-left: 1px solid var(--ink); padding-left: 12px; }
.wr-wk { font: 600 26px/1 var(--font-display); padding: 14px 0 0 10px; }
.wr-cell { height: 146px; border-left: 1px solid var(--rule); padding: 9px 0 0 9px; font-size: 9.5px; color: var(--pencil); font-feature-settings: "tnum"; }
.wr-mile { background: var(--shade); border-left: 1px solid var(--ink); }
.print-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; gap: 32px; }
.print-foot p { font-size: 13.5px; color: var(--graphite); margin: 0; }

/* marquee */
.mq { border-bottom: 1px solid var(--rule); }
.mq-in { display: grid; grid-template-columns: 1fr 176px; align-items: center; padding: 24px 0 24px 40px; }
.mq-view { overflow: hidden; position: relative; }
.mq-view::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 150px; background: linear-gradient(to right, rgba(243, 236, 220, 0), var(--paper) 46%); pointer-events: none; }
.mq-track { display: flex; width: max-content; animation: mq 42s linear infinite; }
.mq.paused .mq-track { animation-play-state: paused; }
.mq-set { display: flex; align-items: center; gap: 56px; padding-right: 56px; }
.mq-item { display: flex; align-items: baseline; gap: 16px; white-space: nowrap; }
.mq-name { font: 600 52px/1 var(--font-display); letter-spacing: -0.005em; }
.mq-date { font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--graphite); font-weight: 500; }
.mq-sep { width: 24px; height: 23px; flex: none; }
.mq-ctl { justify-self: end; margin-right: 40px; height: 34px; padding: 0 13px; background: var(--paper); border: 1px solid var(--ink); font-size: 9.5px; letter-spacing: .17em; text-transform: uppercase; font-weight: 500; cursor: pointer; }
.mq-ctl:hover { background: var(--shade); }
@keyframes mq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .mq-track { animation: none; } }

/* year calendar */
.year { background: var(--ink); color: var(--paper); padding: 72px 0; }
.year-grid { display: grid; grid-template-columns: 1fr 600px; gap: 56px; align-items: center; }
.year h2 { color: var(--paper); }
.year-p { font-size: 15px; line-height: 1.62; color: #B7C0DA; margin: 16px 0 0; max-width: 470px; }
.year-fields { margin: 26px 0 0; border-top: 1px solid #3B5599; max-width: 470px; }
.year-fields > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #3B5599; min-height: 44px; }
.year-fields dt { font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: #B7C0DA; font-weight: 500; }
.year-fields dd { margin: 0; font-size: 15px; font-feature-settings: "tnum"; }
.year .btn { margin-top: 24px; }
.year-media { position: relative; height: 560px; }
.year-img { width: 404px; height: 560px; object-fit: cover; object-position: 50% 45%; border: 1px solid #3B5599; margin-left: auto; }
.year-crop { position: absolute; left: -24px; bottom: 12px; width: 460px; aspect-ratio: 2657 / 1590; overflow: hidden; border: 1px solid var(--paper); background: var(--paper); }
.year-crop img { width: 100%; height: 100%; display: block; }
.year-crop { box-shadow: 0 10px 30px rgba(10, 20, 60, .35); }

/* gift */
.gift { padding: 64px 0 68px; }
.gift-grid { display: grid; grid-template-columns: 560px 1fr; gap: 64px; align-items: center; }
.gift-img { width: 100%; height: 380px; object-fit: cover; object-position: 50% 30%; border: 1px solid var(--rule); }
.gift h2 { font-size: 40px; line-height: 1.08; max-width: 540px; margin-top: 10px; }
.gift-p { font-size: 14.5px; line-height: 1.6; color: var(--graphite); margin: 16px 0 0; max-width: 540px; }
.gift-p strong { color: var(--ink); font-weight: 500; }
.gift-note { font-size: 11.5px; color: var(--pencil); margin: 10px 0 0; }
.gift-prices { margin-top: 20px; max-width: 540px; }

/* guides */
.guides-band { padding: 64px 0 56px; border-top: 1px solid var(--rule); }
.guide-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.guide-cards a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 24px; background: var(--paper); text-decoration: none; }
.guide-cards a:hover { background: var(--shade); }
.guide-cards .display-sm { font-size: 22px; }
.guide-sum { font-size: 13.5px; line-height: 1.55; color: var(--graphite); }
.guide-cards .label { margin-top: auto; }
.more { margin: 24px 0 0; display: flex; justify-content: flex-end; }

/* faq */
.faq { padding: 64px 0 72px; border-top: 1px solid var(--rule); }
.faq-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; align-items: start; }
.faq-side { padding-top: 16px; position: sticky; top: 24px; }
.faq-side .sec-note { margin-top: 12px; }
.faq-list { position: relative; padding-top: 2px; }
details { border-bottom: 1px solid var(--rule); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 17px 0; font: 600 19px/1.25 var(--font-display); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 22px/1 var(--font-text); color: var(--graphite); }
details[open] summary::after { content: "–"; }
details p { font-size: 15px; line-height: 1.6; color: var(--graphite); margin: -4px 0 18px; max-width: 640px; }

/* signup */
.signup-band { background: var(--shade); padding: 56px 0 60px; }
.signup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.signup { margin: 0; }
.input { height: 48px; border: 1px solid var(--ink); background: var(--paper); padding: 0 12px; font: 400 16px var(--font-text); color: var(--ink); width: 100%; border-radius: 0; }
.signup .label { margin-bottom: 9px; }
.signup-row { display: flex; gap: 8px; flex-wrap: wrap; }
.signup .input { flex: 1 1 200px; width: auto; background: #fff; }
.signup-status { min-height: 1.4em; margin: 8px 0 0; font-size: 13.5px; }
.signup.is-done .signup-status { color: var(--ink); font-weight: 500; }
.signup-reward { margin: 2px 0 0; font-size: 13.5px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* guides and pages */
.article { padding: 48px 0 0; }
.article > .wrap { padding-bottom: 56px; }
.crumbs { display: flex; gap: 8px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--graphite); margin-bottom: 22px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.art-head { border-bottom: 2px solid var(--ink); padding-bottom: 16px; margin-bottom: 30px; }
.art-h1 { font-size: clamp(34px, 5vw, 56px); max-width: 1000px; }
.meta { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--graphite); font-weight: 500; margin: 16px 0 0; }
.summary { font: 400 20px/1.5 var(--font-serif); margin-bottom: 28px; }
.prose { font: 400 17px/1.65 var(--font-serif); }
.prose h2 { font-size: 30px; margin: 44px 0 14px; padding-top: 14px; border-top: 1px solid var(--rule); }
.prose h3 { font-size: 21px; margin: 30px 0 10px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1.5em 0; padding-left: 18px; border-left: 2px solid var(--red); }
.prose table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; margin: 1.5em 0; font: 400 14.5px/1.45 var(--font-text); font-feature-settings: "tnum"; }
.prose thead th { text-align: left; border-bottom: 2px solid var(--ink); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--graphite); padding: 0 14px 10px 0; }
.prose td { border-bottom: 1px solid var(--rule); padding: 10px 14px 10px 0; }
.prose code { font-size: .9em; }
.prose .tc-calc { border-radius: 0; border-width: 1px; margin: 32px 0; }
.prose .tc-calc input, .prose .tc-calc select { border-radius: 0; border-color: var(--ink); }
.guide-faq { margin-top: 48px; border-top: 2px solid var(--ink); padding-top: 18px; }
.guide-faq h2 { font-size: 30px; margin-bottom: 8px; }
.guide-faq h3 { font-size: 19px; margin: 22px 0 6px; }
.guide-faq p { font-size: 15px; line-height: 1.6; color: var(--graphite); margin: 0; }
.sources { margin-top: 40px; border-top: 1px solid var(--rule); padding-top: 16px; }
.sources ol { margin: 10px 0 0; padding-left: 1.3em; font-size: 13.5px; color: var(--graphite); }
.sources li { margin-bottom: 6px; }
.guide-cta { background: var(--shade); padding: 48px 0 52px; }
.guide-cta h2 { font-size: 30px; margin-bottom: 10px; }
.guide-cta p { font-size: 15px; line-height: 1.6; color: var(--graphite); }

/* footer */
.ftr { border-top: 1px solid var(--rule); padding: 26px 0 34px; }
.ftr-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ftr-brand, .ftr-mid, .ftr-domain { display: flex; align-items: center; gap: 10px; font-size: 11.5px; letter-spacing: .06em; font-weight: 500; text-decoration: none; color: var(--pencil); }
.ftr-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--rule); }
.ftr-nav a { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; text-decoration: none; color: var(--graphite); }
.ftr-nav a:hover { color: var(--ink); }
.ftr-fine { font-size: 11.5px; line-height: 1.5; color: var(--pencil); margin: 14px 0 0; max-width: 760px; }

/* motion, after the sample page: site/theme/motion.js adds .pending to things below the fold
   and removes it as each scrolls in. Rules draw in from the left; calendar rows fill in from
   race day back to week 1. */
.sec-head::after, .faq-side::before, .faq-list::before { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--ink); transform-origin: left center; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.sec-head::after { bottom: 0; }
.faq-side { position: sticky; }
.faq-side::before, .faq-list::before { top: 0; }
.pending.sec-head::after, .pending.faq-side::before, .pending.faq-list::before { transform: scaleX(0); }
.sa-row { transition: opacity .35s ease-out var(--d, 0ms), transform .35s ease-out var(--d, 0ms); }
.cmp.pending .sa-row { opacity: 0; transform: translateY(4px); }
.btn, .nav a, .ftr-nav a, .guide-cards a, .span, .mq-ctl { transition: background-color .2s, color .2s, border-color .2s; }
.btn .arr { transition: transform .2s ease-out; }
.btn:hover .arr { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* narrower screens */
@media (max-width: 1180px) {
  .nav { gap: 18px; }
  .nav a:nth-child(n+4) { display: none; }
  .cmp { grid-template-columns: repeat(2, 1fr); }
  .year-grid { grid-template-columns: 1fr 1fr; }
  .year-img { width: 100%; }
  .year-crop { width: 80%; }
  .gift-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 1440px) {
  .hero-photo { width: 960px; left: max(400px + max(40px, 50vw - 680px), 70vw - 480px); top: -70px; }
}
@media (max-width: 1180px) {
  .co { display: none; }
  /* no labels: keep the whole print on screen, 40px in from the right */
  .hero-photo { width: 900px; left: auto; right: -232px; top: -60px; }
}
@media (max-width: 900px) {
  .h2 { font-size: 40px; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; padding-top: 0; padding-bottom: 36px; }
  .hero-wall { position: relative; height: 420px; }
  .hero-wall::after { background: linear-gradient(180deg, rgba(243, 236, 220, 0) 78%, var(--paper) 100%); }
  .hero-photo { width: 760px; left: calc(50% - 380px); top: -50px; }
  .hero-photo > img { -webkit-mask-image: none; mask-image: none; }
  .hero-card { padding-top: 28px; }
  .hero-h1 { font-size: 36px; }
  .nav { display: none; }
  .hdr-btn { margin-left: auto; }
  .print-top, .signup-grid, .faq-grid, .year-grid, .gift-grid { grid-template-columns: 1fr; gap: 32px; }
  .faq-side { position: relative; top: 0; }
  .print-fields { gap: 24px; }
  /* a small sun at the right of the band, with a fainter, slower sunburst centred on it */
  .sun { left: auto; right: 20px; bottom: -13px; width: 84px; height: 42px; }
  .sun-burst { left: auto; right: -58px; bottom: -91px; width: 240px; height: 240px; opacity: .2; animation-duration: 60s;
    -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%); mask-image: radial-gradient(circle, #000 30%, transparent 70%); }
}
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .hdr-in { height: 68px; gap: 16px; }
  .brand img { width: 140px; }
  .hdr-btn { min-height: 40px; padding: 0 14px; font-size: 11px; }
  .hero-h1 { font-size: 34px; }
    .sec-head, .print-foot, .band-in { flex-direction: column; align-items: flex-start; gap: 14px; }
  .band-field { text-align: left; align-items: flex-start; }
  .print-foot .btn { width: 100%; white-space: normal; text-align: center; }
  .cmp { grid-template-columns: 1fr; }
  .cmp-h { min-height: 0; }
  .spec thead th:first-child { width: 34%; }
  .spec thead th { font-size: 18px; }
  .spec tbody td { font-size: 14px; }
  .mq-in { grid-template-columns: 1fr; padding: 18px 0; }
  .mq-view::after { width: 60px; }
  .mq-name { font-size: 36px; }
  .mq-ctl { display: none; }
  .year { padding: 56px 0; }
  .year-media { height: auto; }
  .year-img { height: 420px; }
  .year-crop { left: 0; bottom: -20px; width: 72%; }
  .year-media { margin-bottom: 20px; }
  .gift-img { height: 260px; }
  .gift h2 { font-size: 32px; }
  .guide-cards { grid-template-columns: 1fr; }
  .more .btn { width: 100%; }
  .signup-row .btn { width: 100%; }
  .ftr-in { flex-direction: column; align-items: flex-start; gap: 8px; }
  .prose th, .prose td { white-space: nowrap; }
}
