:root {
  color-scheme: light;
  --paper: #f6f2e9;
  --white: #fffcf5;
  --ink: #1e352b;
  --muted: #47574c;
  --rust: #a23f25;
  --rule: #d8d3c7;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "Courier New", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--sans); }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.arrow { flex: none; width: .85em; height: .85em; vertical-align: -.05em; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(calc(100% - 96px), 1320px); margin-inline: auto; }
.eyebrow { color: var(--rust); font: 700 .73rem/1.4 var(--mono); letter-spacing: .105em; }
.dot { display: inline-block; width: .57rem; height: .57rem; margin-right: .42rem; border-radius: 50%; background: currentColor; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; left: 1rem; top: 1rem; padding: .65rem 1rem; z-index: 5; background: var(--white); }
.masthead { border-bottom: 1px solid var(--rule); }
.mast-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 81px; }
.brand { display: inline-flex; gap: .7rem; align-items: center; text-decoration: none; flex: none; }
.brand img { width: 56px; height: 56px; }
.brand strong { display: block; font: 700 1.32rem/1.03 var(--serif); letter-spacing: -.035em; }
.brand small { display: block; margin-top: .3rem; font: 650 .68rem/1.2 var(--sans); letter-spacing: .015em; }
nav { display: flex; gap: clamp(.9rem, 2.7vw, 2.8rem); align-items: center; flex-wrap: wrap; }
nav a { font-size: .88rem; font-weight: 650; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.hero {
  display: grid;
  align-items: center;
  min-height: clamp(460px, 40vw, 540px);
  margin-block: clamp(1.25rem, 3.5vw, 3rem) clamp(1.15rem, 2.6vw, 2.1rem);
  --hero-shade: linear-gradient(90deg, rgb(12 22 26 / .68) 0%, rgb(12 22 26 / .45) 43%, rgb(12 22 26 / .06) 85%);
  background: var(--hero-shade), #17262a url("/media/nomadic-dad-banner.webp") 28% center / cover no-repeat;
  color: var(--white);
}
.hero-copy { padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 4.8vw, 4.5rem); }
.hero .eyebrow, .hero h1 em, .hero .text-link:hover { color: #ffc7a6; }
.hero .primary { background: var(--white); color: var(--ink); }
.hero .primary:hover { background: #f0e6d7; }
.hero .primary:focus-visible { outline-color: var(--white); }
.hero .text-link { text-decoration-color: #ffc7a6; }
h1 { margin-top: 1.25rem; font: 700 clamp(4.3rem, 7.7vw, 7.9rem)/.9 var(--serif); letter-spacing: -.075em; }
h1 em { display: inline-block; padding-right: .1em; color: var(--rust); font-weight: 400; letter-spacing: -.085em; }
.hero-deck { margin-top: 1.6rem; max-width: 31rem; font-size: clamp(1rem, 1.45vw, 1.2rem); color: #f1ede5; }
.actions { margin-top: 1.65rem; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.35rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 46px; padding: .62rem .92rem; border: 1px solid transparent; font-size: .88rem; font-weight: 680; text-decoration: none; }
.primary { background: var(--ink); color: var(--white); }
.primary:hover { background: #335346; }
.primary:focus-visible { outline-color: var(--ink); }
.text-link { display: inline-flex; gap: .45rem; align-items: baseline; width: fit-content; min-height: 26px; text-decoration: underline; text-decoration-color: #b86a52; text-decoration-thickness: 1px; font-size: .88rem; font-weight: 680; }
.text-link:hover { color: var(--rust); }
.bearings { display: grid; grid-template-columns: 1fr 1fr 1fr; border-block: 1px solid var(--rule); }
.bearings div { padding: .9rem 1.45rem 1.05rem; border-left: 1px solid var(--rule); }
.bearings div:first-child { padding-left: 0; border-left: 0; }
.bearings strong { display: block; margin-top: .2rem; font: 700 clamp(1rem, 1.7vw, 1.45rem)/1.2 var(--serif); letter-spacing: -.022em; }
.section-space { padding-block: clamp(4rem, 8vw, 7.4rem); }
section[id] { scroll-margin-top: 1rem; }
h2 { margin-top: .5rem; font: 700 clamp(2.65rem, 5.1vw, 5.2rem)/.99 var(--serif); letter-spacing: -.065em; text-wrap: balance; }
h3 { font: 700 clamp(1.35rem, 2.35vw, 2rem)/1.08 var(--serif); letter-spacing: -.04em; }
.story { display: grid; grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr); gap: clamp(2rem, 6vw, 6rem); }
.section-intro p:last-child { margin-top: 1rem; max-width: 23rem; color: var(--muted); }
.chapters { border-top: 1px solid var(--rule); }
.chapters article { display: grid; grid-template-columns: 7.2rem 1fr; gap: 1rem; padding: 1.35rem 0 1.45rem; border-bottom: 1px solid var(--rule); }
.chapter-year { margin-top: .38rem; }
.chapters article p:not(.eyebrow) { margin: .55rem 0 .6rem; color: var(--muted); }
.travel { background: var(--ink); color: var(--white); }
.travel .eyebrow { color: #ffc6a4; }
.travel-top { display: flex; justify-content: space-between; align-items: end; gap: 1rem 3rem; margin-bottom: 1.75rem; }
.travel-top > p { max-width: 28rem; color: #dfebdf; }
.map-shell { border: 1px solid #899b8b; background: #f4f4ef; }
.map-bar { display: flex; justify-content: space-between; align-items: center; gap: .5rem 1rem; flex-wrap: wrap; background: #2a4438; padding: .75rem 1rem; }
.map-bar a { font-size: .82rem; font-weight: 670; }
.route-picker { display: flex; flex-wrap: wrap; gap: .4rem; padding: .65rem; background: #f0eee4; border-bottom: 1px solid var(--rule); }
.route-picker button { flex: 1 1 10rem; padding: .55rem .75rem; text-align: left; background: transparent; border: 1px solid #c3c8bb; color: var(--muted); cursor: pointer; font: 700 .67rem/1.35 var(--mono); letter-spacing: .05em; }
.route-picker button span { display: block; margin-top: .15rem; font: 700 .9rem/1.3 var(--sans); letter-spacing: 0; }
.route-picker button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--white); }
.route-picker button:focus-visible { outline: 2px solid var(--rust); outline-offset: 2px; }
.route-picker button[aria-pressed="false"]:hover { background: #e3e8dc; }
.route-panel { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr); align-items: center; color: var(--ink); background: var(--white); }
.route-panel + .route-panel { border-top: 1px solid var(--rule); }
.route-figure { background: #e7ede4; }
.route-figure img { width: 100%; height: auto; }
.route-figure figcaption { padding: .3rem .75rem .55rem; font-size: .73rem; color: var(--muted); }
.route-copy { padding: clamp(1rem, 3vw, 2.7rem); }
.route-copy .eyebrow { color: var(--rust); }
.route-copy h3 { margin-top: .4rem; }
.route-copy p:not(.eyebrow) { color: var(--muted); margin-top: .7rem; }
.route-copy .text-link { margin-top: .85rem; }
.travel-top a { font-weight: 650; }
.map-note { margin-top: .85rem; color: #e0eae1; font-size: .86rem; }
.now { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(2rem, 7.6vw, 8rem); align-items: center; }
.now-photo { border: 1px solid var(--rule); background: var(--white); padding: .65rem; }
.now-photo img { width: 100%; height: auto; }
.now-photo figcaption { padding: .7rem .15rem .05rem; color: var(--muted); font: 700 .68rem/1.5 var(--mono); letter-spacing: .075em; }
.now-copy h2 { font-size: clamp(2.45rem, 4.65vw, 4.55rem); }
.now-copy p:not(.eyebrow) { max-width: 39rem; margin-top: 1rem; color: var(--muted); }
.now-copy .text-link { margin-top: 1.25rem; }
.journal { background: #eee9dd; border-top: 1px solid var(--rule); }
.journal-top { display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; margin-bottom: 1.7rem; }
.journal-top p:not(.eyebrow) { margin-top: .8rem; color: var(--muted); }
.entries { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.1rem; }
.entries article { background: var(--white); border: 1px solid var(--rule); }
.entries article > a { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.entries article > a:hover h3 { color: var(--rust); text-decoration: underline; }
.entries img, .entry-type { width: 100%; aspect-ratio: 1.8; object-fit: cover; }
.entries img[src*="chalet"] { object-position: center 35%; }
.entry-copy { padding: 1rem 1.1rem 1.3rem; }
.entry-copy h3 { margin-top: .35rem; font-size: clamp(1.15rem, 2.1vw, 1.75rem); }
.entry-copy h3 .arrow { color: var(--rust); font: 700 .9rem var(--sans); }
.entry-copy p:not(.eyebrow) { margin-top: .45rem; font-size: .94rem; color: var(--muted); }
.entry-type { display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; background: #bb5a3c; color: #fff3dc; padding: 1rem 1.1rem; }
.entry-type > span { font: 700 .72rem var(--mono); letter-spacing: .14em; }
.entry-type strong { font: 700 clamp(2.2rem, 5.2vw, 5.2rem)/.78 var(--serif); letter-spacing: -.075em; }
.entry-type strong em { font-weight: 400; }
.entry-type svg { position: absolute; bottom: 12%; right: 7%; width: 42%; opacity: .82; }
.archive-links { display: flex; gap: .65rem 1.6rem; flex-wrap: wrap; margin-top: 1.5rem; }
.archive-links a { font-size: .86rem; font-weight: 650; }
.footer { border-top: 1px solid var(--rule); }
.footer-inner { padding-block: .65rem; }
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .mast-inner { min-height: 0; padding-block: .75rem; flex-wrap: wrap; }
  .mast-inner nav { gap: .45rem 1.3rem; }
  .hero {
    min-height: 0;
    --hero-shade: linear-gradient(105deg, rgb(12 22 26 / .68), rgb(12 22 26 / .42));
    background-position: center, 17% center;
  }
  .hero-copy { padding: 2.2rem clamp(1.15rem, 5vw, 2.4rem); }
  .hero h1 { font-size: clamp(3.1rem, 11vw, 6rem); }
  h1 { font-size: clamp(4.05rem, 13vw, 6.2rem); }
  .hero-deck { margin-top: 1rem; }
  .actions { margin-top: 1rem; }
  .bearings div { padding: .75rem .55rem; }
  .bearings .eyebrow { font-size: .6rem; }
  .bearings strong { font-size: .98rem; }
  .story, .now { grid-template-columns: 1fr; }
  .chapters article { grid-template-columns: 5.5rem 1fr; gap: .65rem; }
  .travel-top, .journal-top { align-items: start; flex-direction: column; }
  .route-panel { grid-template-columns: 1fr; }
  .route-picker button { flex-basis: 7.5rem; }
  .now-photo { grid-row: 2; max-width: 26rem; }
  .entries { grid-template-columns: 1fr; }
  .entries img, .entry-type { aspect-ratio: 2; }
  .entry-type strong { font-size: clamp(3.2rem, 11vw, 5.7rem); }
  .footer-inner { flex-wrap: wrap; padding-block: 1.1rem; }
}
@media (max-width: 380px) {
  .wrap { width: calc(100% - 28px); }
  .mast-inner nav { gap: .45rem .85rem; }
  .chapters article { grid-template-columns: 1fr; gap: .35rem; }
  .map-bar { padding-inline: .65rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
