/*
  Incontainerhome shared UI contract
  ----------------------------------
  Layout: .container, .container-wide, .section, .content-layout, .split-feature
  Header: .site-header, .header-inner, .brand, .desktop-nav, .menu-button, #mobile-panel
  Hero: .home-hero, .hero-layout, .home-copy, .hero-visual, .hero-photo, .hero-route-card
  Content: .page-hero, .article-shell, .content-section, .page-aside, .example-card,
           .worksheet-card, .note-card, .source-card, .faq-list
  Directories: .guide-directory, .guide-card, .toolkit-grid, .toolkit-card
  Tools: .local-tool, .field, .choice-row, .checklist-items, .tool-result, .tool-actions
  Print: .print-sheet, .print-grid, .writing-lines, [data-print]
  Behaviour hooks: #menu-button, #mobile-panel, [data-reveal], [data-route-preview],
                   [data-departure-checklist], [data-post-trip-note], #editorial-form
*/

:root {
  --ink: #111313;
  --ink-soft: #414646;
  --paper: #f3efe6;
  --paper-deep: #e7e0d3;
  --white: #fffdf8;
  --orange: #f2542d;
  --orange-dark: #b93418;
  --blue: #79b9ff;
  --blue-dark: #165aa7;
  --blue-pale: #dcecff;
  --sand: #d7c7a5;
  --line: #c8c0b2;
  --success: #23653c;
  --danger: #9d2c24;
  --shadow: 0 24px 70px rgba(17, 19, 19, .15);
  --radius: 0;
  --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, "Segoe UI", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.container, .container-wide { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.container-wide { --max: 1380px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link { position: fixed; z-index: 999; left: 16px; top: 12px; padding: .65rem 1rem; background: var(--white); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 239, 230, .96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(32, 39, 41, .17);
}
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand-mark { position: relative; width: 40px; height: 40px; border: 2px solid var(--ink); display: grid; place-items: center; background: var(--blue); overflow: hidden; }
.brand-mark::before { content: ""; position: absolute; width: 44px; border-top: 3px solid var(--ink); transform: rotate(-38deg); }
.brand-mark::after { content: ""; position: absolute; width: 8px; height: 8px; border: 2px solid var(--ink); border-radius: 50%; background: var(--orange); }
.brand-mark span { position: absolute; width: 3px; height: 17px; background: var(--white); transform: rotate(38deg); }
.brand-mark span:first-child { translate: -8px 7px; }
.brand-mark span:last-child { translate: 9px -8px; }
.brand-name { font-family: Georgia, "Times New Roman", serif; font-size: 1.3rem; line-height: 1; letter-spacing: -.025em; }
.brand-name small { display: block; margin-top: 5px; font: 700 .63rem/1 ui-sans-serif, system-ui, sans-serif; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-soft); }
.desktop-nav { display: flex; align-items: center; justify-content: flex-end; gap: 3px; }
.nav-group { position: relative; }
.nav-group > summary { list-style: none; cursor: pointer; padding: .7rem .7rem; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary::after { content: " +"; color: var(--orange); }
.nav-group[open] > summary::after { content: " −"; }
.nav-menu { position: absolute; right: 0; top: calc(100% + 11px); width: 245px; padding: 10px; background: var(--white); border: 1px solid var(--ink); box-shadow: var(--shadow); }
.nav-menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-menu a { display: block; padding: .7rem .8rem; text-decoration: none; border-left: 3px solid transparent; font-size: .9rem; line-height: 1.25; }
.nav-menu a:hover, .nav-menu a[aria-current="page"] { background: var(--paper); border-left-color: var(--orange); }
.menu-button { display: none; align-items: center; gap: 10px; border: 1px solid var(--ink); background: transparent; padding: .6rem .8rem; color: var(--ink); font-weight: 800; }
.menu-button i { width: 20px; height: 12px; border-top: 2px solid; border-bottom: 2px solid; }
.mobile-panel { padding: 10px 20px 24px; background: var(--white); border-top: 1px solid var(--line); max-height: calc(100vh - 112px); overflow: auto; }
.mobile-nav-group { padding: .8rem 0; border-bottom: 1px solid var(--line); }
.mobile-nav-group strong { display: block; font-size: .75rem; letter-spacing: .12em; color: var(--orange-dark); text-transform: uppercase; }
.mobile-nav-group a { display: block; padding: .6rem 0; text-decoration: none; }
.independence-bar { color: var(--paper); background: var(--ink); font-size: .71rem; font-weight: 800; text-transform: uppercase; letter-spacing: .11em; }
.independence-bar .container-wide { min-height: 34px; display: flex; align-items: center; gap: 8px; }
.independence-bar b { color: var(--orange); }
.status-dot { width: 7px; height: 7px; background: var(--orange); border-radius: 50%; }

.kicker, .source-label, .tool-tag, .aside-number, .stamp {
  display: inline-block; color: var(--orange-dark); font-size: .72rem; line-height: 1.2; font-weight: 900;
  letter-spacing: .15em; text-transform: uppercase;
}
h1, h2, h3, h4 { line-height: 1.08; margin: 0 0 .65em; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.035em; }
h1 { font-size: clamp(3rem, 6.2vw, 6.5rem); max-width: 900px; }
h2 { font-size: clamp(2.1rem, 3.8vw, 4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.2rem; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-soft); line-height: 1.6; max-width: 780px; }
.section { padding: clamp(72px, 9vw, 130px) 0; }
.section-heading { max-width: 780px; margin-bottom: 48px; }
.section-heading > p { font-size: 1.15rem; color: var(--ink-soft); }

.home-hero {
  position: relative; min-height: 760px; padding: clamp(70px, 9vw, 130px) 0; overflow: hidden;
  background:
    linear-gradient(90deg, transparent 0 49.9%, rgba(17,19,19,.055) 50% 50.1%, transparent 50.2%),
    var(--paper);
}
.home-hero::before {
  content: ""; position: absolute; width: 330px; height: 330px; top: -175px; left: 46%;
  border: 52px solid var(--blue); border-radius: 50%; opacity: .9; pointer-events: none;
}
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr); gap: clamp(55px, 7vw, 110px); align-items: center; }
.home-copy { position: relative; z-index: 2; }
.home-copy h1 { margin-top: .25em; }
.home-copy h1 em { color: var(--orange); font-style: italic; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 2rem 0 0; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 51px;
  padding: .8rem 1.2rem; border: 2px solid var(--orange); background: var(--orange); color: white;
  text-decoration: none; font-size: .78rem; line-height: 1.2; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; cursor: pointer;
}
.button:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.button-outline { color: var(--ink); background: transparent; border-color: var(--ink); }
.button-outline:hover { color: white; background: var(--ink); border-color: var(--ink); }
.button-dark { background: var(--ink); border-color: var(--ink); }
.button-dark:hover { background: #0c1011; border-color: #0c1011; }
.button-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.button-ghost:hover { background: var(--paper-deep); color: var(--ink); border-color: var(--ink); }
.button-small { min-height: 42px; padding: .6rem .9rem; font-size: .69rem; }
.dark-outline { border-color: var(--paper); color: var(--paper); }
.dark-outline:hover { background: var(--paper); color: var(--ink); }
.hero-disclaimer { margin-top: 32px; padding: 20px 22px; display: grid; grid-template-columns: 34px 1fr; gap: 14px; border-left: 4px solid var(--orange); background: rgba(255, 253, 248, .7); }
.hero-disclaimer > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: white; font-family: Georgia, serif; font-style: italic; }
.hero-disclaimer p { margin: 0; font-size: .88rem; line-height: 1.55; }

.hero-visual { position: relative; min-width: 0; z-index: 1; }
.hero-photo { position: relative; margin: 0; min-height: 600px; overflow: hidden; background: var(--ink); border: 2px solid var(--ink); box-shadow: 18px 18px 0 var(--blue); }
.hero-photo img { width: 100%; height: 600px; object-fit: cover; object-position: center; filter: saturate(.86) contrast(1.04); }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(17,19,19,.74), transparent 48%); pointer-events: none; }
.hero-photo figcaption { position: absolute; z-index: 2; left: 26px; right: 26px; bottom: 22px; color: white; font-size: .78rem; letter-spacing: .04em; }
.hero-route-card {
  position: absolute; z-index: 3; left: -48px; bottom: 56px; width: min(360px, 80%); padding: 24px;
  background: var(--white); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--orange);
}
.hero-route-card > span { color: var(--blue-dark); font-size: .67rem; font-weight: 900; text-transform: uppercase; letter-spacing: .15em; }
.hero-route-card strong { display: block; margin: .6rem 0 .8rem; font: 400 1.5rem/1.1 Georgia, serif; }
.route-mini { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 7px; }
.route-mini b { width: 12px; height: 12px; border-radius: 50%; background: var(--orange); border: 2px solid var(--ink); }
.route-mini i { border-top: 2px dashed var(--ink-soft); }
.route-mini small { font-size: .62rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }

.stat-band { color: var(--paper); background: var(--ink); }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat-item { padding: 30px clamp(20px, 4vw, 54px); border-right: 1px solid rgba(255,255,255,.18); }
.stat-item:last-child { border-right: 0; }
.stat-item span { display: block; color: var(--blue); font: 900 .68rem/1.2 ui-monospace, monospace; text-transform: uppercase; letter-spacing: .14em; }
.stat-item strong { display: block; margin-top: .45rem; font: 400 clamp(1.4rem, 2.5vw, 2.1rem)/1.1 Georgia, serif; }

.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--ink); background: var(--white); }
.process-card { position: relative; min-height: 300px; padding: 36px; border-right: 1px solid var(--ink); }
.process-card:last-child { border-right: 0; }
.process-card::after { content: "→"; position: absolute; z-index: 2; right: -20px; top: 52px; width: 38px; height: 38px; display: grid; place-items: center; color: white; background: var(--orange); border-radius: 50%; }
.process-card:last-child::after { display: none; }
.process-card > span { color: var(--blue-dark); font: 900 .69rem/1 ui-monospace, monospace; letter-spacing: .14em; }
.process-card h3 { margin-top: 90px; font: 400 1.8rem/1.1 Georgia, serif; }
.process-card p { color: var(--ink-soft); font-size: .94rem; }

.guide-directory { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.guide-card { position: relative; min-height: 255px; padding: 29px 28px 60px; color: var(--ink); background: var(--white); border: 1px solid var(--ink); text-decoration: none; overflow: hidden; }
.guide-card:nth-child(4n+2), .guide-card:nth-child(4n+3) { background: var(--blue-pale); }
.guide-card:hover { color: white; background: var(--ink); }
.guide-card > span { color: var(--orange-dark); font: 900 .67rem/1 ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; }
.guide-card:hover > span { color: var(--blue); }
.guide-card h3 { margin-top: 52px; font: 400 1.5rem/1.08 Georgia, serif; }
.guide-card p { color: var(--ink-soft); font-size: .88rem; }
.guide-card:hover p { color: rgba(255,255,255,.72); }
.guide-card::after { content: "↗"; position: absolute; right: 24px; bottom: 20px; color: var(--orange); font-size: 1.5rem; }

.tool-preview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tool-preview { padding: 30px; border: 1px solid var(--ink); background: var(--paper); }
.tool-preview:nth-child(2) { background: var(--blue-pale); }
.tool-preview:nth-child(3) { color: var(--paper); background: var(--ink); }
.tool-preview h3 { margin-top: 40px; font: 400 1.55rem/1.1 Georgia, serif; }
.tool-preview p { color: var(--ink-soft); font-size: .9rem; }
.tool-preview:nth-child(3) p { color: rgba(255,255,255,.7); }
.tool-preview .tool-tag { color: var(--orange-dark); }
.tool-preview:nth-child(3) .tool-tag { color: var(--blue); }

.hero-folio {
  position: relative; min-height: 590px; padding: 58px 42px 42px; background: var(--white); border: 2px solid var(--ink);
  box-shadow: 18px 18px 0 var(--blue), var(--shadow); transform: rotate(1.2deg);
}
.hero-folio::before { content: ""; position: absolute; left: 0; right: 0; top: 116px; border-top: 1px solid var(--line); }
.hero-folio::after { content: ""; position: absolute; right: -2px; top: -2px; border-style: solid; border-width: 0 42px 42px 0; border-color: transparent var(--paper) transparent transparent; filter: drop-shadow(-1px 1px 0 var(--ink)); }
.folio-tab { position: absolute; top: -34px; left: 26px; padding: .55rem 1rem; color: white; background: var(--orange); font-size: .7rem; font-weight: 900; letter-spacing: .15em; }
.folio-top { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding-bottom: 28px; }
.folio-top span { font-size: .69rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.folio-top strong { font-family: Georgia, serif; font-size: 1.7rem; font-weight: 400; }
.folio-route { display: grid; grid-template-columns: auto 1fr auto 1fr auto 1fr auto; align-items: center; margin: 50px 0 55px; }
.folio-route i { border-top: 2px dashed var(--ink); opacity: .45; }
.route-point { width: 68px; height: 68px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--ink); background: var(--white); font-size: .55rem; font-weight: 900; letter-spacing: .07em; }
.route-point.active { color: white; background: var(--orange); border-color: var(--orange); }
.method-slip { padding: 18px 20px; border: 1px solid var(--ink); background: var(--paper); display: grid; grid-template-columns: 1fr auto; gap: 4px 18px; }
.method-slip span { font-size: .65rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.method-slip strong { color: var(--orange-dark); letter-spacing: .13em; }
.method-slip small { grid-column: 1 / -1; color: var(--ink-soft); }
.folio-checkboxes { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 22px; margin-top: 30px; font-size: .77rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.folio-checkboxes span { display: flex; gap: 8px; align-items: center; }
.folio-checkboxes i { width: 17px; height: 17px; border: 1px solid var(--ink); }
.folio-stamp { position: absolute; right: 24px; bottom: 20px; padding: .55rem .8rem; color: var(--orange-dark); border: 2px solid var(--orange); transform: rotate(-6deg); font-size: .74rem; line-height: 1.2; font-weight: 900; letter-spacing: .12em; text-align: center; opacity: .8; }
.folio-stamp small { letter-spacing: .08em; }

.route-section { background: var(--ink); color: var(--paper); }
.route-section .section-heading > p { color: rgba(245, 241, 232, .72); }
.trip-timeline { display: grid; gap: 0; }
.trip-stop { position: relative; display: grid; grid-template-columns: 70px 1fr; gap: 25px; padding: 28px 0; border-top: 1px solid rgba(32, 39, 41, .22); }
.route-section .trip-stop { border-color: rgba(245, 241, 232, .2); }
.trip-stop:last-child { border-bottom: 1px solid rgba(32, 39, 41, .22); }
.route-section .trip-stop:last-child { border-color: rgba(245, 241, 232, .2); }
.trip-dot { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--orange); font: 800 .8rem/1 ui-monospace, monospace; }
.trip-stop h3 { margin: .3rem 0 .2rem; font-family: Georgia, serif; font-size: 1.7rem; font-weight: 400; }
.trip-stop p { margin: 0; color: var(--ink-soft); }
.route-section .trip-stop p { color: rgba(245, 241, 232, .68); }
.route-section .stamp { color: var(--sand); }

.arrangement-section { background: var(--blue); }
.split-feature { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(45px, 7vw, 100px); align-items: center; }
.path-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.path-cards article { min-height: 340px; padding: 34px; background: var(--paper); border: 1px solid var(--ink); position: relative; }
.path-cards article:nth-child(2) { transform: translateY(36px); background: var(--ink); color: var(--paper); }
.path-cards article > span { font-size: .65rem; font-weight: 900; letter-spacing: .17em; color: var(--orange-dark); }
.path-cards article:nth-child(2) > span { color: var(--sand); }
.path-cards h3 { margin-top: 90px; font-family: Georgia, serif; font-size: 2.1rem; font-weight: 400; }
.path-cards p { color: var(--ink-soft); }
.path-cards article:nth-child(2) p { color: rgba(245, 241, 232, .7); }

.private-section { background: var(--paper-deep); }
.photo-split { grid-template-columns: .78fr 1.22fr; }
.home-photo { margin: 0; border: 2px solid var(--ink); background: var(--ink); box-shadow: 14px 14px 0 var(--sand); }
.home-photo img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 43%; filter: saturate(.65) contrast(1.08); }
.home-photo figcaption, .editorial-photo figcaption { padding: 13px 16px; background: var(--ink); color: rgba(255,255,255,.72); font-size: .74rem; line-height: 1.45; }
.feature-list { list-style: none; padding: 0; margin: 2rem 0; }
.feature-list li { display: flex; gap: 18px; align-items: center; padding: 17px 0; border-top: 1px solid var(--line); font-weight: 800; }
.feature-list li:last-child { border-bottom: 1px solid var(--line); }
.feature-list span { color: var(--orange-dark); font: 800 .73rem/1 ui-monospace, monospace; }
.text-link { color: var(--orange-dark); font-weight: 900; text-decoration-thickness: 1px; }
.text-link.large { font-size: 1.05rem; }

.tools-section { background: var(--white); }
.folio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.folio-card { position: relative; min-height: 255px; padding: 35px 29px 28px; background: var(--paper); border: 1px solid var(--ink); overflow: hidden; }
.folio-card::after { content: ""; position: absolute; right: -1px; top: -1px; border-style: solid; border-width: 0 30px 30px 0; border-color: transparent var(--white) transparent transparent; }
.folio-card:nth-child(3n+2) { background: var(--paper-deep); }
.folio-index { font: 900 .7rem/1 ui-monospace, monospace; color: var(--orange-dark); letter-spacing: .1em; }
.folio-card h3 { margin-top: 70px; font-family: Georgia, serif; font-size: 1.55rem; font-weight: 400; }
.folio-card p { color: var(--ink-soft); font-size: .92rem; }
.source-strip { color: var(--paper); background: var(--orange-dark); }
.source-strip p { color: rgba(245, 241, 232, .83); font-size: 1.08rem; }
.source-strip .kicker { color: var(--sand); }

.breadcrumb { padding-top: 20px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; }
.breadcrumb li + li::before { content: "/"; margin-right: 7px; color: var(--orange); }
.breadcrumb a { color: var(--ink-soft); }
.page-hero { padding: clamp(75px, 9vw, 125px) 0 80px; border-bottom: 1px solid var(--line); background: var(--paper); }
.page-hero-grid { display: grid; grid-template-columns: 120px 1fr; gap: 48px; align-items: start; }
.page-hero h1 { max-width: 980px; margin-top: .28em; font-size: clamp(3rem, 5.6vw, 5.8rem); }
.page-file { height: 160px; padding: 17px 12px; border: 2px solid var(--ink); display: grid; grid-template-rows: auto 1fr auto; text-align: center; background: var(--white); box-shadow: 8px 8px 0 var(--blue); }
.page-file span { font-size: .6rem; font-weight: 900; letter-spacing: .16em; }
.page-file b { align-self: center; color: var(--orange); font: 400 3rem/1 Georgia, serif; }
.page-file small { font: 800 .65rem/1 ui-monospace, monospace; }
.hero-boundary { display: flex; flex-wrap: wrap; gap: 8px 15px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; }
.hero-boundary strong { color: var(--orange-dark); }
.hero-boundary span { color: var(--ink-soft); }
.article-shell { background: var(--white); }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(55px, 7vw, 110px); align-items: start; }
.article-copy { min-width: 0; }
.content-section { margin-bottom: 80px; scroll-margin-top: 130px; }
.content-section:last-child { margin-bottom: 0; }
.content-section > h2 { font-size: clamp(2rem, 3.4vw, 3.4rem); }
.content-section > p, .content-section > ul { max-width: 800px; }
.content-section ul { padding-left: 1.3rem; }
.content-section li { margin: .65rem 0; padding-left: .35rem; }
.content-section li::marker { color: var(--orange); }
.page-aside { position: sticky; top: 145px; display: grid; gap: 14px; }
.aside-card { padding: 24px; border: 1px solid var(--ink); background: var(--paper); }
.aside-card h2 { margin-top: .7rem; font: 400 1.55rem/1.1 Georgia, serif; }
.aside-card p { margin: 0; font-size: .86rem; color: var(--ink-soft); }
.aside-card ul { list-style: none; padding: 0; margin: 1rem 0 0; }
.aside-card li { border-top: 1px solid var(--line); }
.aside-card li:last-child { border-bottom: 1px solid var(--line); }
.aside-card li a { display: block; padding: .65rem 0; font-weight: 800; font-size: .85rem; }
.privacy-card { color: var(--paper); background: var(--ink); }
.privacy-card p { color: rgba(245,241,232,.7); }
.privacy-card .aside-number { color: var(--sand); }
.source-date { background: var(--blue); }

.source-stack { display: grid; gap: 14px; margin-top: 25px; }
.source-card { position: relative; padding: 25px 28px; border: 1px solid var(--line); background: var(--paper); }
.source-card h3 { margin: .55rem 0; }
.source-card p { color: var(--ink-soft); font-size: .88rem; }
.source-card a { font-weight: 900; color: var(--orange-dark); }
.example-card, .worksheet-card, .note-card, .definition-card {
  position: relative; margin: 30px 0; padding: clamp(25px, 4vw, 38px); border: 1px solid var(--ink); background: var(--paper);
}
.example-card { box-shadow: 9px 9px 0 var(--blue); }
.example-card::before, .worksheet-card::before, .definition-card::before {
  content: attr(data-label); display: inline-block; margin-bottom: 24px; color: var(--orange-dark);
  font-size: .68rem; line-height: 1; font-weight: 900; text-transform: uppercase; letter-spacing: .15em;
}
.example-card h3, .worksheet-card h3, .note-card h3, .definition-card h3 { font: 400 1.65rem/1.12 Georgia, serif; }
.example-card dl, .worksheet-card dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; margin: 24px 0; }
.example-card dt, .worksheet-card dt { font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; }
.example-card dd, .worksheet-card dd { margin: 0; color: var(--ink-soft); }
.worksheet-card { background: var(--blue-pale); border-width: 2px; }
.worksheet-card ol, .worksheet-card ul { margin-bottom: 0; }
.note-card { border-left: 7px solid var(--orange); background: var(--white); }
.note-card p:last-child { margin-bottom: 0; }
.definition-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.definition-card { margin: 0; min-height: 190px; background: var(--white); }
.definition-card:nth-child(3n+2) { background: var(--blue-pale); }
.definition-card p:last-child { margin-bottom: 0; color: var(--ink-soft); }
.inline-links { display: flex; flex-wrap: wrap; gap: 9px; margin: 28px 0; }
.inline-links a { padding: .7rem .85rem; border: 1px solid var(--line); background: var(--white); color: var(--orange-dark); font-size: .78rem; font-weight: 900; text-decoration: none; }
.inline-links a:hover { border-color: var(--ink); background: var(--ink); color: white; }
.article-callout { margin: 36px 0; padding: 30px; color: var(--paper); background: var(--ink); border-left: 10px solid var(--blue); }
.article-callout strong { display: block; margin-bottom: .5rem; font: 400 1.45rem/1.15 Georgia, serif; }
.article-callout p:last-child { margin-bottom: 0; color: rgba(255,255,255,.76); }
.article-callout a { color: var(--blue); font-weight: 900; }
.editorial-photo { margin: 35px 0; max-width: 620px; background: var(--ink); border: 2px solid var(--ink); }
.editorial-photo img { width: 100%; max-height: 620px; object-fit: cover; object-position: center; filter: saturate(.65) contrast(1.08); }
.reminder-card { margin-top: 25px; padding: 32px; border: 3px double var(--ink); background: var(--paper); display: grid; gap: 16px; justify-items: start; }
.reminder-card > span { color: var(--orange-dark); font-size: .7rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.reminder-card strong { font: 400 clamp(1.5rem, 3vw, 2.4rem)/1.15 Georgia, serif; }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--ink); }
.faq-list summary { cursor: pointer; padding: 22px 50px 22px 0; list-style: none; position: relative; font-weight: 900; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 12px; top: 15px; color: var(--orange); font: 400 2rem/1 Georgia, serif; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details > div { padding: 0 55px 10px 0; color: var(--ink-soft); }

.local-tool { margin: 28px 0; padding: clamp(24px, 4vw, 42px); border: 2px solid var(--ink); background: var(--paper); box-shadow: 10px 10px 0 var(--blue); }
.local-tool-head { display: flex; align-items: start; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.local-tool-head h3 { margin: .5rem 0 0; font: 400 2rem/1.1 Georgia, serif; }
.tool-state, .tool-count { padding: .45rem .65rem; color: var(--ink); background: var(--sand); font-size: .65rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.privacy-boundary, .tool-limit { padding: 14px 16px; border-left: 4px solid var(--orange); background: var(--white); font-size: .82rem; line-height: 1.5; }
.tool-limit { margin-top: 22px; border-color: var(--blue-dark); }
.local-tool progress { width: 100%; height: 8px; margin: 18px 0; appearance: none; }
.local-tool progress::-webkit-progress-bar { background: var(--paper-deep); }
.local-tool progress::-webkit-progress-value { background: var(--orange); }
.local-tool progress::-moz-progress-bar { background: var(--orange); }
.checklist-items { display: grid; gap: 8px; }
.checklist-items label { display: grid; grid-template-columns: 24px 1fr; gap: 13px; align-items: start; padding: 14px 16px; border: 1px solid var(--line); background: var(--white); cursor: pointer; }
.checklist-items input { width: 20px; height: 20px; accent-color: var(--orange); }
.checklist-items label:has(input:checked) { border-color: var(--ink); background: #eef0e8; }
.checklist-items.compact { grid-template-columns: 1fr 1fr; }
.priority-note { margin: 18px 0 0; padding: 14px 16px; color: var(--danger); border: 1px solid var(--danger); font-size: .82rem; font-weight: 800; }
.priority-note.is-complete { color: var(--success); border-color: var(--success); }
.tool-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.local-tool fieldset { margin: 22px 0; padding: 18px; border: 1px solid var(--line); }
.local-tool legend { padding: 0 8px; font-weight: 900; font-size: .9rem; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-row label { flex: 1 1 130px; padding: 12px 14px; border: 1px solid var(--line); background: var(--white); cursor: pointer; }
.choice-row input { margin-right: 8px; accent-color: var(--orange); }
.field { display: grid; gap: 7px; margin: 17px 0; font-size: .82rem; font-weight: 900; }
.field input, .field select, .field textarea, .local-tool select { width: 100%; padding: 12px 13px; color: var(--ink); background: var(--white); border: 1px solid var(--ink); border-radius: 0; }
.field textarea { resize: vertical; }
.time-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.time-field { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 !important; background: var(--white); }
.time-field label { display: grid; gap: 6px; font-size: .72rem; font-weight: 800; }
.time-field input { width: 100%; padding: 9px; border: 1px solid var(--line); }
.review-date { grid-column: 1 / -1; max-width: 380px; }
.tool-result { margin-top: 24px; padding: 20px; border: 2px solid var(--ink); background: var(--white); }
.tool-result strong { display: block; margin-bottom: .5rem; font: 400 1.4rem/1.15 Georgia, serif; }
.tool-result p:last-child { margin-bottom: 0; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--white); }
caption { padding: .8rem 0; text-align: left; font-weight: 900; }
th, td { padding: 13px; border: 1px solid var(--line); text-align: left; }
th { font-size: .8rem; }
td select { min-width: 190px; }
.record-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.record-column { margin: 0 !important; background: var(--white); }
.safety-alert { padding: 18px; color: var(--danger); border: 1px solid var(--danger); background: #fff8f3; }
.safety-alert strong { display: block; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-help { margin-top: -10px; color: var(--ink-soft); font-size: .78rem; }
.error-summary { margin: 18px 0; padding: 18px; color: var(--danger); border: 2px solid var(--danger); background: #fff8f3; }
.error-summary ul { margin: .5rem 0 0; }
.toolkit-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.toolkit-card { position: relative; display: grid; grid-template-columns: 58px 1fr; gap: 22px; min-height: 190px; padding: 28px; border: 1px solid var(--ink); background: var(--white); text-decoration: none; }
.toolkit-card:nth-child(4n+2), .toolkit-card:nth-child(4n+3) { background: var(--blue-pale); }
.toolkit-card:hover { box-shadow: 8px 8px 0 var(--orange); transform: translate(-2px,-2px); }
.toolkit-card > span { width: 58px; height: 76px; display: grid; place-items: center; color: white; background: var(--ink); font: 400 1.6rem/1 Georgia, serif; }
.toolkit-card h3 { margin: .2rem 0 .55rem; font: 400 1.45rem/1.1 Georgia, serif; }
.toolkit-card p { margin: 0; color: var(--ink-soft); font-size: .88rem; }
.toolkit-card small { display: block; margin-top: 1rem; color: var(--orange-dark); font-size: .69rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.print-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.print-panels section { min-height: 220px; padding: 20px; border: 1px solid var(--ink); background: var(--white); }
.print-panels section > span { color: var(--orange-dark); font: 900 .7rem/1 ui-monospace, monospace; }
.print-panels h4 { margin-top: 30px; font-family: Georgia, serif; font-size: 1.25rem; }
.writing-lines { min-height: 70px; background: repeating-linear-gradient(to bottom, transparent 0, transparent 22px, var(--line) 23px); }
.print-sheet { margin: 28px 0; padding: clamp(22px, 4vw, 42px); border: 2px solid var(--ink); background: var(--white); }
.print-sheet-header { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; padding-bottom: 20px; border-bottom: 3px solid var(--ink); }
.print-sheet-header h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.print-sheet-header span { font-size: .7rem; font-weight: 900; text-transform: uppercase; letter-spacing: .13em; }
.print-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin-top: 18px; }
.print-block { min-height: 150px; padding: 18px; border: 1px solid var(--ink); }
.print-block.full { grid-column: 1 / -1; }
.print-block h3 { font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
.blank-line { display: block; height: 29px; border-bottom: 1px solid var(--line); }
.blank-checks { display: grid; gap: 8px; padding: 0; margin: 12px 0 0; list-style: none; }
.blank-checks li::before { content: "□"; display: inline-block; width: 1.4rem; font-size: 1.1rem; }
.print-note { margin-top: 18px; padding: 12px 14px; border: 1px solid var(--ink); font-size: .75rem; }

.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

.site-footer { padding: 80px 0 28px; color: var(--paper); background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 45px; }
.brand-light .brand-mark { border-color: var(--paper); }
.brand-light .brand-name small { color: rgba(245,241,232,.62); }
.footer-intro p { max-width: 330px; margin-top: 28px; color: rgba(245,241,232,.65); }
.footer-email { color: var(--sand); font-weight: 800; }
.footer-grid h2 { font: 900 .72rem/1.2 ui-sans-serif, system-ui, sans-serif; text-transform: uppercase; letter-spacing: .15em; color: var(--sand); }
.footer-grid > div:not(:first-child) a { display: block; padding: .42rem 0; color: rgba(245,241,232,.75); font-size: .85rem; text-decoration: none; }
.footer-grid a:hover { color: white !important; }
.footer-disclaimer { margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(245,241,232,.18); color: rgba(245,241,232,.58); font-size: .72rem; line-height: 1.55; }

/* Builder compatibility: long-form pages, directory, local tools and print sheets. */
.section-number { display: inline-block; margin-bottom: 15px; color: var(--orange-dark); font: 900 .68rem/1 ui-monospace, monospace; letter-spacing: .14em; }
.content-section { margin-bottom: 80px; scroll-margin-top: 130px; }
.content-section:last-child { margin-bottom: 0; }
.content-section > h2 { font-size: clamp(2rem, 3.4vw, 3.4rem); }
.content-section > p, .content-section > ul { max-width: 800px; }
.content-section ul { padding-left: 1.3rem; }
.content-section li { margin: .65rem 0; padding-left: .35rem; }
.content-section li::marker { color: var(--orange); }
.folio-aside h2 { margin-bottom: .25rem; font-size: 2rem; }
.source-date { background: var(--blue); }
.source-date .aside-number { color: var(--ink); }
.source-date a { font-weight: 900; }
.independent-note { margin-top: 60px; padding: 28px 30px; border: 2px solid var(--ink); border-left: 10px solid var(--orange); background: var(--paper); }
.independent-note strong { display: block; margin-bottom: .55rem; font: 400 1.4rem/1.15 Georgia, serif; }
.independent-note p { margin: 0; color: var(--ink-soft); font-size: .9rem; }

.tool-lab { background: var(--blue-pale); }
.tool-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tool-tabs button { min-height: 46px; padding: .7rem 1rem; border: 1px solid var(--ink); color: var(--ink); background: var(--white); font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
.tool-tabs button[aria-selected="true"] { color: white; background: var(--ink); }
.tool-panel[hidden] { display: none !important; }
.compact-tool { margin-top: 0; }

.section.guide-directory { display: block; background: var(--paper-deep); }
.directory-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.directory-card { position: relative; display: grid; align-content: start; min-height: 250px; padding: 28px 28px 56px; border: 1px solid var(--ink); background: var(--white); text-decoration: none; }
.directory-card:nth-child(4n+2), .directory-card:nth-child(4n+3) { background: var(--blue-pale); }
.directory-card > span { color: var(--orange-dark); font: 900 .67rem/1 ui-monospace, monospace; letter-spacing: .12em; }
.directory-card strong { margin-top: 54px; font: 400 1.5rem/1.08 Georgia, serif; }
.directory-card small { margin-top: .7rem; color: var(--ink-soft); font-size: .82rem; line-height: 1.5; }
.directory-card > i { position: absolute; right: 24px; bottom: 18px; color: var(--orange); font-size: 1.5rem; font-style: normal; }
.directory-card:hover { color: white; background: var(--ink); }
.directory-card:hover small { color: rgba(255,255,255,.72); }

.worksheet-groups { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin: 28px 0; }
.worksheet-groups .worksheet-card { margin: 0; }
.print-field { display: grid; grid-template-columns: max-content 1fr; gap: 14px; align-items: end; min-height: 38px; margin-top: 10px; font-size: .8rem; font-weight: 800; }
.print-field i { display: block; border-bottom: 1px solid var(--ink); }
.check-list { display: grid; gap: 10px; padding: 0 !important; margin: 18px 0 0; list-style: none; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 9px; margin: 0; padding: 0; }
.check-list li > span { width: 18px; height: 18px; border: 1px solid var(--ink); background: var(--white); }

.footer-directory { display: grid; grid-template-columns: .9fr 2fr .9fr; gap: 48px; }
.footer-guide-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.footer-guide-list h2 { grid-column: 1 / -1; }
.footer-guide-list a, .footer-meta a { display: block; padding: .38rem 0; color: rgba(245,241,232,.75); font-size: .8rem; line-height: 1.25; text-decoration: none; }
.footer-guide-list a:hover, .footer-meta a:hover { color: white; }
.footer-directory h2 { font: 900 .72rem/1.2 ui-sans-serif, system-ui, sans-serif; text-transform: uppercase; letter-spacing: .15em; color: var(--sand); }

.print-page { background: var(--paper-deep); }
.print-page main { padding: 26px 20px; }
.print-sheet { width: min(100%, 1020px); margin: 0 auto; padding: clamp(28px, 5vw, 58px); }
.print-sheet-header { display: block; }
.print-sheet-header h1 { max-width: 840px; margin: .35em 0 .25em; font-size: clamp(2.8rem, 6vw, 5.3rem); }
.print-sheet-header p { max-width: 800px; color: var(--ink-soft); }
.print-privacy { margin: 28px 0 45px; padding: 16px 18px; border: 1px solid var(--danger); color: var(--danger); background: #fff8f3; font-size: .82rem; }
.print-privacy strong { display: block; }
.print-sheet-foot { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 14px; border-top: 2px solid var(--ink); font-size: .68rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.print-actions { width: min(calc(100% - 40px), 1020px); margin: 0 auto 36px; display: flex; gap: 10px; justify-content: flex-end; }
.photo-label { position: absolute; z-index: 3; right: 18px; top: 18px; padding: .45rem .65rem; color: var(--ink); background: var(--blue); font-size: .65rem; font-weight: 900; letter-spacing: .1em; }

@media (max-width: 1120px) {
  .desktop-nav { display: none; }
  .menu-button { display: inline-flex; }
  .hero-layout { grid-template-columns: 1fr; }
  .home-copy { max-width: 900px; }
  .hero-visual { width: min(100%, 820px); margin: 28px auto 0; }
  .hero-route-card { left: 24px; }
  .hero-folio { width: min(100%, 720px); margin: 30px auto 0; }
  .content-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 45px; }
  .folio-grid { grid-template-columns: 1fr 1fr; }
  .guide-directory { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .directory-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-directory { grid-template-columns: 1fr 1.7fr; }
  .footer-directory > div:last-child { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / 4; display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .footer-grid > div:last-child h2 { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  body { font-size: 16px; }
  .container, .container-wide { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 70px; }
  .brand-name { font-size: 1.15rem; }
  .brand-name small { font-size: .55rem; }
  .brand-mark { width: 32px; height: 32px; }
  .independence-bar { font-size: .58rem; letter-spacing: .07em; }
  .home-hero { padding-top: 70px; }
  .home-hero::before { left: auto; right: -120px; }
  .hero-photo, .hero-photo img { min-height: 480px; height: 480px; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .stat-item:last-child { border-bottom: 0; }
  .process-grid { grid-template-columns: 1fr; }
  .process-card { min-height: 220px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .process-card:last-child { border-bottom: 0; }
  .process-card::after { content: "↓"; right: auto; left: 36px; top: auto; bottom: -20px; }
  .process-card h3 { margin-top: 50px; }
  .tool-preview-grid { grid-template-columns: 1fr; }
  .hero-folio { min-height: 520px; padding: 48px 24px 30px; box-shadow: 10px 10px 0 var(--blue); }
  .folio-top { display: grid; }
  .folio-route { margin: 40px 0; }
  .route-point { width: 48px; height: 48px; font-size: .46rem; }
  .folio-checkboxes { grid-template-columns: 1fr; }
  .split-feature, .photo-split { grid-template-columns: 1fr; }
  .photo-split .home-photo { max-width: 480px; }
  .path-cards { margin-bottom: 35px; }
  .path-cards article:nth-child(2) { transform: translateY(20px); }
  .page-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .page-file { width: 100px; height: 115px; }
  .page-file b { font-size: 2rem; }
  .content-layout { grid-template-columns: 1fr; }
  .page-aside { position: static; grid-template-columns: 1fr 1fr; }
  .source-date { grid-column: 1 / -1; }
  .record-compare { grid-template-columns: 1fr; }
  .definition-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-intro { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; display: block; }
  .footer-grid > div:last-child h2 { grid-column: auto; }
  .footer-directory { grid-template-columns: 1fr 1fr; }
  .footer-directory .footer-intro { grid-column: 1 / -1; }
  .footer-directory > div:last-child { grid-column: auto; }
}

@media (max-width: 570px) {
  h1 { font-size: clamp(2.8rem, 15vw, 4.3rem); }
  .section { padding: 68px 0; }
  .menu-button span { display: none; }
  .menu-button { padding: .55rem; }
  .cta-row { display: grid; }
  .button { width: 100%; }
  .hero-disclaimer { grid-template-columns: 1fr; }
  .hero-photo, .hero-photo img { min-height: 420px; height: 420px; }
  .hero-route-card { position: relative; left: auto; bottom: auto; width: calc(100% - 24px); margin: -64px auto 0; }
  .hero-folio { min-height: 540px; transform: none; }
  .folio-route { grid-template-columns: auto 1fr auto; gap: 6px; }
  .folio-route span:nth-of-type(3), .folio-route span:nth-of-type(4), .folio-route i:nth-of-type(2), .folio-route i:nth-of-type(3) { display: none; }
  .method-slip { grid-template-columns: 1fr; }
  .method-slip small { grid-column: 1; }
  .path-cards { grid-template-columns: 1fr; }
  .path-cards article:nth-child(2) { transform: none; }
  .folio-grid { grid-template-columns: 1fr; }
  .guide-directory, .toolkit-grid, .print-grid { grid-template-columns: 1fr; }
  .directory-grid, .worksheet-groups { grid-template-columns: 1fr; }
  .worksheet-card { min-width: 0; overflow-wrap: anywhere; }
  .print-field { grid-template-columns: 1fr; align-items: start; }
  .print-field i { width: 100%; min-height: 18px; }
  .guide-card { min-height: 230px; }
  .toolkit-card { grid-template-columns: 46px 1fr; padding: 22px; }
  .toolkit-card > span { width: 46px; height: 64px; }
  .example-card dl, .worksheet-card dl { grid-template-columns: 1fr; }
  .example-card dd, .worksheet-card dd { margin-bottom: 10px; }
  .print-block.full { grid-column: auto; }
  .print-sheet-header { grid-template-columns: 1fr; }
  .folio-card { min-height: 230px; }
  .page-aside { grid-template-columns: 1fr; }
  .source-date { grid-column: auto; }
  .local-tool { padding: 20px 16px; box-shadow: 6px 6px 0 var(--blue); }
  .local-tool-head { display: grid; }
  .tool-state, .tool-count { justify-self: start; white-space: normal; }
  .checklist-items.compact, .time-grid, .form-grid, .print-panels { grid-template-columns: 1fr; }
  .time-field { grid-template-columns: 1fr; }
  .review-date { grid-column: auto; }
  .tool-actions { display: grid; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-intro { grid-column: auto; }
  .footer-directory { grid-template-columns: 1fr; }
  .footer-directory .footer-intro, .footer-directory > div:last-child { grid-column: auto; }
  .footer-guide-list { grid-template-columns: 1fr; }
  .footer-guide-list h2 { grid-column: auto; }
  .print-page main { padding: 0; }
  .print-sheet { padding: 24px 18px; }
  .print-actions { width: calc(100% - 28px); display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  @page { margin: 14mm; }
  body { color: #000; background: #fff; font-size: 11pt; }
  .site-header, .independence-bar, .breadcrumb, .page-aside, .site-footer, .menu-button, .tool-actions, .print-actions, .home-photo, .hero-photo, .editorial-photo, .source-strip { display: none !important; }
  .page-hero, .section, .article-shell { padding: 0; background: #fff; }
  .page-hero-grid, .content-layout { display: block; }
  .page-file { display: none; }
  h1 { font-size: 28pt; margin: 0 0 8mm; }
  h2 { font-size: 20pt; break-after: avoid; }
  h3 { break-after: avoid; }
  .content-section { margin: 0 0 10mm; break-inside: avoid; }
  .local-tool, .folio-card, .source-card, .reminder-card, .print-panels section, fieldset, table tr { color: #000; background: #fff; border-color: #000; box-shadow: none; break-inside: avoid; }
  .local-tool { margin: 6mm 0; padding: 6mm; }
  .local-tool::before { content: "Incontainerhome — Independent First Toll Trip Planner"; display: block; margin-bottom: 4mm; font: 700 9pt/1.3 Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
  .privacy-boundary, .tool-limit { background: #fff; border-color: #000; }
  .checklist-items label { background: #fff; border-color: #555; }
  .button { display: none !important; }
  input, select, textarea { color: #000 !important; background: #fff !important; border-color: #000 !important; }
  .page-hero::after, .local-tool::after, .print-sheet::after { content: "Independent planning worksheet. Do not write plate, tag, account, payment, statement or notice details."; display: block; margin: 4mm 0; padding: 3mm; border: 1px solid #000; font-size: 9pt; }
  a { color: #000; text-decoration: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8pt; }
  .hero-layout, .split-feature, .folio-grid, .path-cards, .trip-timeline { display: block; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .print-sheet { margin: 0; padding: 0; border: 0; }
  .print-page main { padding: 0; }
  .print-grid { grid-template-columns: 1fr 1fr; gap: 4mm; }
  .print-block { min-height: 35mm; padding: 4mm; break-inside: avoid; }
}
