:root {
  color-scheme: light;
  --ink: #12110f;
  --paper: #f7f5ef;
  --white: #ffffff;
  --amber: #c77800;
  --amber-light: #ffc968;
  --blue: #2155d9;
  --mint: #9fe0c1;
  --fog: #dfe3e8;
  --muted: #5f5c56;
  --line: #25231f;
  --header: 72px;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.5; letter-spacing: 0; }
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, p { letter-spacing: 0; }
[hidden] { display: none !important; }

.skip-link { position: fixed; left: 12px; top: 12px; z-index: 100; width: 1px; height: 1px; overflow: hidden; padding: 0; border: 0; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { width: auto; height: auto; overflow: visible; padding: 10px 14px; border: 2px solid var(--ink); clip: auto; background: var(--white); }

.masthead {
  position: relative;
  z-index: 40;
  height: var(--header);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 0 4vw;
  border-bottom: 2px solid var(--ink);
  background: var(--white);
}

.wordmark { display: inline-flex; align-items: center; gap: 11px; width: fit-content; min-width: 0; }
.wordmark img { flex: 0 0 auto; border: 1px solid var(--ink); border-radius: 5px; }
.wordmark span { display: grid; line-height: 1.05; }
.wordmark strong { font-size: 15px; font-weight: 900; }
.wordmark small { margin-top: 4px; color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 0; border-left: 1px solid var(--ink); }
.main-nav a { min-height: 70px; display: grid; place-items: center; padding: 0 24px; border-right: 1px solid var(--ink); font-size: 12px; font-weight: 800; }
.main-nav a:hover, .main-nav a:focus-visible { background: var(--amber-light); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 6px 0; background: var(--ink); }

.hero { position: relative; height: min(820px, calc(100svh - var(--header))); min-height: 690px; overflow: hidden; background: var(--amber-light); border-bottom: 2px solid var(--ink); }
.hero-copy { position: relative; z-index: 3; width: min(720px, 72vw); padding: 70px 0 0 7vw; }
.route-code, .panel-code { margin: 0; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.route-code { display: flex; align-items: center; gap: 10px; }
.route-code span { display: inline-grid; place-items: center; width: 34px; height: 26px; background: var(--blue); color: var(--white); }
.hero h1 { margin: 18px 0 0; font-size: 88px; line-height: 0.94; font-weight: 950; }
.hero-lead { width: min(570px, 100%); margin: 22px 0 0; font-size: 20px; font-weight: 600; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 30px; }
.primary-action, .route-button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; border: 2px solid var(--ink); border-radius: 0; background: var(--ink); color: var(--white); font-size: 13px; font-weight: 850; cursor: pointer; }
.primary-action:hover, .primary-action:focus-visible, .route-button:hover, .route-button:focus-visible { background: var(--blue); }
.text-action { padding-bottom: 3px; border-bottom: 2px solid var(--ink); font-size: 13px; font-weight: 850; }
.text-action span { margin-left: 8px; }
.hero-map { position: absolute; z-index: 2; left: 30vw; right: 0; top: 360px; bottom: 0; overflow: hidden; border-top: 2px solid var(--ink); border-left: 2px solid var(--ink); background: var(--paper); }
.hero-map-head { height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; border-bottom: 2px solid var(--ink); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.hero-map-head strong { color: var(--blue); }
.hero-map-route { position: relative; height: calc(100% - 58px); margin: 0; padding: 0; list-style: none; }
.hero-map-route::before { content: ""; position: absolute; left: 4%; right: 3%; top: 51%; height: 3px; background: var(--ink); transform: rotate(-8deg); transform-origin: center; }
.hero-map-route li { position: absolute; z-index: 2; width: 112px; height: 102px; display: flex; flex-direction: column; justify-content: flex-end; padding: 12px; border: 2px solid var(--ink); background: var(--white); }
.hero-map-route li:nth-child(1) { left: 4%; bottom: 12%; }
.hero-map-route li:nth-child(2) { left: 21%; bottom: 34%; }
.hero-map-route li:nth-child(3) { left: 38%; bottom: 17%; }
.hero-map-route li:nth-child(4) { left: 55%; bottom: 43%; }
.hero-map-route li:nth-child(5) { left: 72%; bottom: 27%; }
.hero-map-route li:nth-child(6) { right: 2%; bottom: 54%; }
.hero-map-route li > span { position: absolute; left: -8px; top: -12px; width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid var(--ink); background: var(--white); font-size: 9px; font-weight: 900; }
.hero-map-route li strong { font-size: 22px; }
.hero-map-route li small { font-size: 9px; }
.hero-map-route .route-current { background: var(--amber); color: var(--white); }
.hero-index { position: absolute; right: 2vw; top: 38px; z-index: 4; display: grid; justify-items: center; gap: 5px; font-size: 10px; font-weight: 900; }
.hero-index i { width: 2px; height: 80px; background: var(--ink); }

.manifest { min-height: 104px; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); border-bottom: 2px solid var(--ink); }
.manifest p { display: grid; grid-template-columns: 62px 1fr; align-items: center; margin: 0; padding: 20px 3vw; border-right: 1px solid var(--ink); }
.manifest p:last-child { border-right: 0; }
.manifest span { color: var(--blue); font-size: 11px; font-weight: 900; }
.manifest strong { font-size: 13px; }

.route-section { display: grid; grid-template-columns: 180px minmax(320px, 0.75fr) minmax(430px, 1.25fr); gap: 5vw; padding: 112px 6vw 120px; border-bottom: 2px solid var(--ink); background: var(--paper); }
.section-label { align-self: start; border-top: 5px solid var(--blue); padding-top: 10px; }
.section-label span { font-size: 10px; font-weight: 900; }
.section-label p { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.route-intro h2, .workspace-heading h2, .control-section h2, .legal-crossing h2 { margin: 0; font-size: 54px; line-height: 1.04; font-weight: 900; }
.route-intro > p { margin: 24px 0 0; color: var(--muted); font-size: 17px; }
.route-stations { position: relative; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.route-stations::before { content: ""; position: absolute; left: 25px; top: 25px; bottom: 25px; width: 3px; background: var(--ink); }
.route-stations li { position: relative; z-index: 1; min-height: 80px; display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 18px; border-bottom: 1px solid #a9a59d; }
.route-stations li > span { width: 52px; height: 52px; display: grid; place-items: center; border: 2px solid var(--ink); background: var(--paper); font-size: 13px; font-weight: 900; }
.route-stations .station-active > span { background: var(--amber); color: var(--white); }
.route-stations strong, .route-stations small { display: block; }
.route-stations strong { font-size: 15px; }
.route-stations small { margin-top: 2px; color: var(--muted); }

.workspace-section { padding: 108px 5vw 120px; background: var(--ink); color: var(--white); }
.workspace-heading { display: grid; grid-template-columns: 180px minmax(0, 820px); gap: 5vw; margin-bottom: 44px; }
.section-label-light { border-color: var(--mint); }
.section-label-light p { color: #b7b4ad; }
.workspace { width: min(1240px, 100%); margin: 0 auto; border: 2px solid var(--white); background: var(--white); color: var(--ink); }
.workspace-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 2px solid var(--ink); }
.workspace-tabs button { min-height: 64px; display: flex; align-items: center; justify-content: center; gap: 12px; border: 0; border-right: 1px solid var(--ink); background: var(--fog); color: var(--ink); font-size: 14px; font-weight: 900; cursor: pointer; }
.workspace-tabs button:last-child { border-right: 0; }
.workspace-tabs button span { font-size: 9px; }
.workspace-tabs button[aria-selected="true"] { background: var(--amber-light); }
.workspace-tabs button:hover, .workspace-tabs button:focus-visible { box-shadow: inset 0 -7px 0 var(--blue); }
.workspace-panel { min-height: 530px; }
.map-panel, .contact-panel, .kit-panel { display: grid; grid-template-columns: 0.88fr 1.12fr; }
.panel-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 58px; border-right: 2px solid var(--ink); }
.panel-code { color: var(--blue); }
.panel-copy h3, .clean-entry h3 { margin: 14px 0 0; font-size: 40px; line-height: 1.05; }
.panel-copy > p:not(.panel-code) { max-width: 520px; margin: 20px 0 0; color: var(--muted); }
.route-button { margin-top: 28px; }
.route-button span { padding-left: 10px; }
.route-board { padding: 38px; background: var(--amber-light); }
.route-status { display: flex; justify-content: space-between; padding: 0 0 20px; border-bottom: 2px solid var(--ink); font-size: 12px; }
.route-status strong { color: var(--blue); }
.route-board ol { display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; gap: 7px; min-height: 350px; margin: 0; padding: 20px 0 0; list-style: none; }
.route-board li { position: relative; min-width: 0; min-height: 110px; display: flex; flex-direction: column; justify-content: flex-end; padding: 12px 8px; border: 2px solid var(--ink); background: var(--white); }
.route-board li:nth-child(2) { margin-bottom: 45px; }
.route-board li:nth-child(3) { margin-bottom: 90px; }
.route-board li:nth-child(4) { margin-bottom: 135px; }
.route-board li:nth-child(5) { margin-bottom: 180px; }
.route-board li > span { position: absolute; left: -7px; top: -12px; width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid var(--ink); background: var(--white); font-size: 10px; font-weight: 900; }
.route-board li strong { font-size: 20px; }
.route-board li small { overflow-wrap: break-word; font-size: 9px; }
.route-board li.is-current { background: var(--amber); color: var(--white); }
.route-board li.is-complete { background: var(--mint); }

.contact-index { position: relative; display: grid; grid-template-columns: 170px 1fr; grid-template-rows: 1fr auto; align-items: center; gap: 0 34px; padding: 52px; background: var(--mint); }
.contact-letter { width: 170px; height: 220px; display: grid; place-items: center; border: 3px solid var(--ink); background: var(--white); color: var(--blue); font-size: 100px; font-weight: 900; }
.contact-lines { display: grid; gap: 24px; }
.contact-lines i { display: block; height: 15px; background: var(--ink); }
.contact-lines i:nth-child(2) { width: 78%; }
.contact-lines i:nth-child(3) { width: 52%; }
.contact-merge { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; margin-top: 38px; padding-top: 20px; border-top: 2px solid var(--ink); }
.contact-merge span { font-size: 12px; }
.contact-merge strong { font-size: 18px; }

.clean-panel { display: grid; grid-template-columns: 1.35fr 0.65fr; }
.clean-entry { padding: 58px; }
.clean-entry-photo { background: var(--amber-light); border-right: 2px solid var(--ink); }
.clean-entry-video { background: var(--blue); color: var(--white); }
.clean-entry-video .panel-code { color: var(--mint); }
.clean-entry ul { display: grid; grid-template-columns: repeat(2, 1fr); margin: 40px 0 0; padding: 0; border-top: 2px solid currentColor; list-style: none; }
.clean-entry li { min-height: 58px; display: flex; align-items: center; border-bottom: 1px solid currentColor; font-size: 13px; font-weight: 750; }
.clean-entry li:nth-child(odd) { padding-right: 12px; }
.clean-entry li:nth-child(even) { padding-left: 12px; border-left: 1px solid currentColor; }
.clean-entry-video ul { grid-template-columns: 1fr; }
.clean-entry-video li { padding: 0 !important; border-left: 0 !important; }

.kit-links { display: grid; align-content: center; padding: 42px 54px; background: var(--fog); }
.kit-links a { min-height: 86px; display: flex; align-items: center; justify-content: space-between; border-top: 2px solid var(--ink); font-weight: 850; }
.kit-links a:last-child { border-bottom: 2px solid var(--ink); }
.kit-links strong { color: var(--blue); font-size: 11px; }
.kit-links a:hover span, .kit-links a:focus-visible span { color: var(--blue); }

.control-section { display: grid; grid-template-columns: 170px minmax(340px, 0.8fr) minmax(430px, 1.2fr); gap: 5vw; align-items: start; padding: 110px 6vw; background: var(--blue); color: var(--white); border-bottom: 2px solid var(--ink); }
.control-mark img { border: 2px solid var(--white); border-radius: 7px; }
.control-section .panel-code { color: var(--mint); margin-bottom: 14px; }
.control-points { border-top: 2px solid var(--white); }
.control-points p { display: grid; grid-template-columns: 40px 140px 1fr; gap: 18px; align-items: baseline; margin: 0; padding: 21px 0; border-bottom: 1px solid rgba(255,255,255,0.65); }
.control-points span { color: var(--mint); font-size: 10px; font-weight: 900; }
.control-points strong { font-size: 14px; }
.control-points small { color: #dce4ff; font-size: 13px; }

.legal-crossing { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; padding: 98px 7vw; background: var(--mint); border-bottom: 2px solid var(--ink); }
.legal-crossing .panel-code { margin-bottom: 14px; }
.legal-links { border-top: 2px solid var(--ink); }
.legal-links a { min-height: 78px; display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--ink); font-weight: 850; }
.legal-links strong { color: var(--blue); font-size: 20px; }

.site-footer { min-height: 112px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 22px 4vw; background: var(--white); }
.site-footer p { margin: 0; color: var(--muted); font-size: 11px; text-align: center; }
.site-footer nav { display: flex; justify-content: flex-end; gap: 22px; font-size: 12px; font-weight: 750; }
.site-footer nav a:hover, .site-footer nav a:focus-visible { text-decoration: underline; text-underline-offset: 5px; }

.document-main { min-height: calc(100vh - var(--header)); }
.document-hero { display: grid; grid-template-columns: 180px minmax(0, 850px); gap: 5vw; padding: 76px 6vw 64px; border-bottom: 2px solid var(--ink); background: var(--amber-light); }
.document-hero h1 { margin: 0; font-size: 64px; line-height: 0.98; }
.document-meta { margin: 18px 0 0; font-size: 13px; font-weight: 700; }
.document-layout { display: grid; grid-template-columns: 220px minmax(0, 780px); gap: 7vw; padding: 70px 6vw 110px; }
.document-toc { position: sticky; top: 26px; align-self: start; border-top: 5px solid var(--blue); }
.document-toc > p { margin: 10px 0; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.document-toc a { display: block; padding: 7px 0; color: var(--muted); font-size: 12px; }
.document-toc a:hover, .document-toc a:focus-visible { color: var(--blue); }
.document-content section { scroll-margin-top: 20px; }
.document-content section + section { margin-top: 48px; padding-top: 34px; border-top: 1px solid #aaa69d; }
.document-content h2 { margin: 0 0 16px; font-size: 30px; line-height: 1.2; }
.document-content h3 { margin: 26px 0 8px; font-size: 18px; }
.document-content p, .document-content li { color: #45423d; }
.document-content ul { padding-left: 20px; }
.document-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.policy-note { padding: 20px; border-left: 6px solid var(--amber); background: #fff2d5; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

@media (max-width: 1050px) {
  .hero h1 { font-size: 72px; }
  .route-section { grid-template-columns: 130px 1fr; }
  .route-stations { grid-column: 2; }
  .workspace-heading { grid-template-columns: 130px 1fr; }
  .control-section { grid-template-columns: 130px 1fr; }
  .control-points { grid-column: 2; }
}

@media (max-width: 760px) {
  :root { --header: 64px; }
  .masthead { padding: 0 16px; }
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: calc(100% + 2px); left: 0; right: 0; height: calc(100svh - var(--header)); align-content: start; border: 0; background: var(--white); }
  .main-nav.is-open { display: grid; }
  .main-nav a { min-height: 58px; justify-content: start; padding: 0 20px; border: 0; border-bottom: 1px solid var(--ink); }
  .hero { height: 720px; min-height: 0; }
  .hero-copy { width: 100%; padding: 42px 20px 0; }
  .hero h1 { font-size: 54px; }
  .hero-lead { font-size: 17px; }
  .hero-map { left: 0; top: 370px; height: 350px; border-left: 0; }
  .hero-map-head { height: 50px; padding: 0 14px; }
  .hero-map-route { height: calc(100% - 50px); }
  .hero-map-route::before { left: 2%; right: 1%; top: 52%; transform: rotate(-11deg); }
  .hero-map-route li { width: 62px; height: 74px; padding: 7px; }
  .hero-map-route li:nth-child(1) { left: 2%; bottom: 10%; }
  .hero-map-route li:nth-child(2) { left: 18%; bottom: 35%; }
  .hero-map-route li:nth-child(3) { left: 35%; bottom: 16%; }
  .hero-map-route li:nth-child(4) { left: 52%; bottom: 45%; }
  .hero-map-route li:nth-child(5) { left: 69%; bottom: 25%; }
  .hero-map-route li:nth-child(6) { right: 1%; bottom: 55%; }
  .hero-map-route li > span { width: 21px; height: 21px; font-size: 7px; }
  .hero-map-route li strong { font-size: 14px; }
  .hero-map-route li small { font-size: 7px; }
  .hero-index { display: none; }
  .manifest { grid-template-columns: 1fr; }
  .manifest p { min-height: 72px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .route-section { grid-template-columns: 1fr; gap: 34px; padding: 74px 20px 82px; }
  .section-label { width: 130px; }
  .route-stations { grid-column: 1; }
  .route-intro h2, .workspace-heading h2, .control-section h2, .legal-crossing h2 { font-size: 40px; }
  .workspace-section { padding: 74px 0 82px; }
  .workspace-heading { grid-template-columns: 1fr; padding: 0 20px; }
  .workspace { border-left: 0; border-right: 0; }
  .workspace-tabs { grid-template-columns: repeat(4, minmax(74px, 1fr)); }
  .workspace-tabs button { min-width: 0; min-height: 58px; flex-direction: column; gap: 2px; font-size: 12px; }
  .workspace-panel { min-height: 620px; }
  .map-panel, .contact-panel, .kit-panel { grid-template-columns: 1fr; }
  .panel-copy { padding: 38px 20px; border-right: 0; border-bottom: 2px solid var(--ink); }
  .panel-copy h3, .clean-entry h3 { font-size: 34px; }
  .route-board { padding: 24px 14px; }
  .route-board ol { gap: 4px; min-height: 300px; }
  .route-board li { min-height: 94px; padding: 9px 5px; }
  .route-board li:nth-child(2) { margin-bottom: 32px; }
  .route-board li:nth-child(3) { margin-bottom: 64px; }
  .route-board li:nth-child(4) { margin-bottom: 96px; }
  .route-board li:nth-child(5) { margin-bottom: 128px; }
  .route-board li strong { font-size: 14px; }
  .route-board li small { font-size: 8px; }
  .contact-index { grid-template-columns: 100px 1fr; padding: 34px 20px; }
  .contact-letter { width: 100px; height: 150px; font-size: 68px; }
  .clean-panel { grid-template-columns: 1fr; }
  .clean-entry { padding: 42px 20px; }
  .clean-entry-photo { border-right: 0; border-bottom: 2px solid var(--ink); }
  .kit-links { padding: 28px 20px 42px; }
  .control-section { grid-template-columns: 84px 1fr; gap: 28px 18px; padding: 78px 20px; }
  .control-points { grid-column: 1 / -1; }
  .control-points p { grid-template-columns: 30px 105px 1fr; gap: 10px; }
  .legal-crossing { grid-template-columns: 1fr; padding: 76px 20px; }
  .site-footer { grid-template-columns: 1fr; justify-items: start; }
  .site-footer p { text-align: left; }
  .site-footer nav { justify-content: flex-start; flex-wrap: wrap; }
  .document-hero { grid-template-columns: 1fr; padding: 54px 20px 46px; }
  .document-hero h1 { font-size: 46px; overflow-wrap: break-word; }
  .document-layout { grid-template-columns: 1fr; padding: 52px 20px 80px; }
  .document-toc { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
