:root {
  --ink: #11120f;
  --paper: #f0eee7;
  --paper-2: #e2dfd4;
  --acid: #d1fe5f;
  --muted: #6b6d65;
  --line: rgba(17,18,15,.18);
  --buffalo: #ff6d51;
  --highland: #d1fe5f;
  --waste: #b5a7ff;
  --radius: 18px;
  --shadow: 0 18px 60px rgba(0,0,0,.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; transform: translateY(-160%); background: var(--acid); color: var(--ink); padding: 10px 14px; font-weight: 700; border-radius: 999px; }
.skip-link:focus { transform: translateY(0); }

.topbar { position: fixed; z-index: 40; top: 0; left: 0; right: 0; min-height: 64px; padding: max(12px, env(safe-area-inset-top)) 18px 10px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: rgba(17,18,15,.92); color: var(--paper); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.12); }
.brand { display: inline-flex; align-items: center; gap: 14px; min-width: 0; font-weight: 800; text-decoration: none; }
.brand-place { flex: 0 0 auto; color: var(--acid); font-size: 13px; font-weight: 900; letter-spacing: .09em; white-space: nowrap; }
.brand-taglines { display: flex; min-width: 0; flex-direction: column; gap: 2px; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.24); line-height: 1; }
.brand-tagline { font-size: 9px; font-weight: 900; letter-spacing: .09em; white-space: nowrap; }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.icon-button, .text-button { border: 1px solid rgba(255,255,255,.24); background: transparent; color: inherit; border-radius: 999px; min-height: 40px; cursor: pointer; }
.icon-button { width: 42px; font-size: 20px; }
.text-button { padding: 0 14px; font-weight: 700; }

.menu-panel { position: fixed; z-index: 35; top: 64px; right: 12px; width: min(320px, calc(100vw - 24px)); background: var(--ink); color: var(--paper); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; box-shadow: var(--shadow); padding: 10px; }
.menu-panel a, .menu-reset { display: block; width: 100%; padding: 14px 12px; color: inherit; text-decoration: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.12); background: none; text-align: left; cursor: pointer; }
.menu-panel a:last-of-type { border-bottom: 0; }
.menu-reset { margin-top: 8px; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; color: #ffb5a6; }

.hero { position: relative; min-height: 92svh; padding: 120px 6vw 56px; background: var(--ink); color: var(--paper); overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .42fr); align-items: end; gap: 40px; }
.hero-grid { position: absolute; inset: 0; opacity: .3; background-image: linear-gradient(rgba(209,254,95,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(209,254,95,.14) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(circle at 74% 42%, black, transparent 70%); }
.hero::after { content: ''; position: absolute; width: 42vw; height: 42vw; min-width: 320px; min-height: 320px; right: -10vw; top: 16vh; border-radius: 50%; border: 1px solid rgba(209,254,95,.4); box-shadow: 0 0 0 40px rgba(209,254,95,.025), 0 0 0 80px rgba(209,254,95,.018), 0 0 0 120px rgba(209,254,95,.012); }
.hero-copy, .hero-stat { position: relative; z-index: 2; }
.eyebrow, .section-label { text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 800; }
.eyebrow { color: var(--acid); }
.hero h1 { margin: 12px 0 22px; font-size: clamp(78px, 15vw, 220px); line-height: .72; letter-spacing: -.085em; text-transform: uppercase; max-width: 1100px; }
.dek { max-width: 760px; font-size: clamp(20px, 2.4vw, 34px); line-height: 1.08; letter-spacing: -.035em; color: #d9d9d2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 20px; border-radius: 999px; text-decoration: none; font-weight: 800; border: 1px solid var(--acid); cursor: pointer; }
.primary-button { background: var(--acid); color: var(--ink); }
.secondary-button { background: transparent; color: var(--paper); }
.location-status { color: #9d9f96; font-size: 13px; margin-top: 12px; }
.hero-stat { justify-self: end; max-width: 260px; color: #b8baaf; font-size: 14px; line-height: 1.3; }
.hero-stat-number { display: block; font-size: 82px; line-height: .9; color: var(--acid); font-weight: 900; letter-spacing: -.08em; }

.warning-band { background: var(--acid); padding: 16px 6vw; }
.warning-band p { max-width: 1180px; margin: auto; font-size: 14px; line-height: 1.35; }
.section { padding: 86px 6vw; border-bottom: 1px solid var(--line); }
.section-label { color: var(--muted); margin-bottom: 30px; }
.intro-grid, .network-grid, .sources-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 8vw; }
.section h2 { margin: 0; font-size: clamp(42px, 6vw, 92px); line-height: .9; letter-spacing: -.065em; max-width: 850px; }
.prose { max-width: 760px; font-size: clamp(18px, 2vw, 26px); line-height: 1.3; letter-spacing: -.025em; }
.prose p:first-child { margin-top: 0; }
.about-link { display: inline-flex; align-items: center; min-height: 48px; margin-top: 10px; padding: 0 18px; border-radius: 999px; background: var(--ink); color: var(--acid); font-size: 13px; font-weight: 900; text-decoration: none; }
.about-link:hover, .about-link:focus { text-decoration: underline; text-underline-offset: 4px; }
.pullquote { font-size: clamp(28px, 4vw, 58px); line-height: 1; font-weight: 900; letter-spacing: -.055em; padding-left: 18px; border-left: 7px solid var(--acid); }

.uranium { background: #1a1c17; color: var(--paper); }
.uranium .section-label { color: var(--acid); }
.uranium-head { margin-bottom: 0; }
.uranium .progress-copy { color: #9ea097; }
.uranium .progress-track { background: rgba(255,255,255,.16); }
.uranium .progress-bar { background: var(--acid); }
.uranium-context { max-width: 1060px; margin: 30px 0 34px; color: #b9bbb2; font-size: 19px; line-height: 1.45; }
.route-progress { width: min(380px, 100%); margin: 0 0 48px auto; }
.uranium-context strong { color: var(--acid); }
.uranium-context a { color: var(--acid); font-weight: 800; text-underline-offset: 3px; }
.process-line { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid rgba(255,255,255,.18); }
.process-line li { min-height: 250px; padding: 18px 18px 18px 0; border-right: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; align-items: flex-start; }
.process-line li:last-child { border-right: 0; }
.process-line span { display: block; color: var(--acid); font-size: 12px; margin-bottom: 72px; }
.process-line strong { display: block; font-size: 18px; letter-spacing: -.025em; }
.process-line small { display: block; color: #9ea097; margin-top: 8px; line-height: 1.3; }

.process-directions { display: inline-flex; align-items: center; width: max-content; min-height: 44px; margin-top: auto; padding: 16px 12px 0 0; color: var(--acid); font-size: 11px; font-weight: 900; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.process-directions:hover, .process-directions:focus { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }
.process-directions-group { display: flex; flex-direction: column; align-items: flex-start; margin-top: auto; }
.process-directions-group .process-directions { min-height: 34px; margin-top: 0; padding-top: 7px; }
.process-visit-toggle { margin-top: 8px; padding: 8px 0 0; border: 0; border-top: 1px solid rgba(255,255,255,.18); background: transparent; color: #9ea097; font-size: 11px; font-weight: 800; text-align: left; cursor: pointer; }
.process-visit-toggle:hover, .process-visit-toggle:focus { color: var(--acid); }
.process-line li.route-visited { background: rgba(209,254,95,.055); }
.process-line li.route-visited > strong::after { content: 'Visited'; display: inline-block; margin-left: 7px; padding: 4px 6px; border-radius: 999px; background: var(--acid); color: var(--ink); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; }
.process-line li.route-visited .process-visit-toggle { color: var(--acid); }

.tour { background: var(--paper); }
.tour-heading { display: grid; grid-template-columns: 1fr minmax(260px, 380px); align-items: end; gap: 50px; margin-bottom: 34px; }
.progress-wrap { padding-bottom: 6px; }
.progress-copy { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.progress-track { height: 8px; background: #d0cdc2; border-radius: 999px; overflow: hidden; }
.progress-bar { width: 0%; height: 100%; background: var(--ink); transition: width .25s ease; }
.corridor-legend { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 34px 0 22px; color: var(--muted); font-size: 12px; }
.corridor-legend span { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot-buffalo { background: var(--buffalo); }
.dot-highland { background: var(--highland); border: 1px solid #7f9234; }
.dot-waste { background: var(--waste); }
.tour-list { border-top: 1px solid var(--ink); }
.stop-card { display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(220px, .42fr); gap: 28px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: start; }
.stop-number { font-size: 13px; color: var(--muted); padding-top: 6px; }
.stop-kicker { text-transform: uppercase; letter-spacing: .12em; font-size: 10px; font-weight: 800; color: var(--muted); margin-bottom: 8px; }
.stop-title { margin: 0 0 12px; font-size: clamp(34px, 4vw, 64px); line-height: .92; letter-spacing: -.055em; }
.stop-summary { margin: 0; max-width: 780px; font-size: 18px; line-height: 1.35; color: #30322d; }
.stop-meta { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.stop-distance { min-height: 18px; font-size: 12px; color: var(--muted); }
.stop-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stop-actions button, .stop-actions a { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border-radius: 999px; border: 1px solid var(--ink); background: transparent; text-decoration: none; font-weight: 700; font-size: 13px; cursor: pointer; text-align: center; }
.stop-actions .details-button { background: var(--ink); color: var(--paper); }
.stop-actions.multiple .details-button { grid-column: 1 / -1; }
.visit-toggle { border: 0; background: transparent; padding: 8px 0; text-align: left; color: var(--muted); cursor: pointer; font-size: 12px; }
.stop-card.visited .stop-title::after { content: 'Visited'; display: inline-block; vertical-align: middle; margin-left: 10px; padding: 5px 8px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.stop-card[data-corridor="buffalo"] { box-shadow: inset 4px 0 0 var(--buffalo); padding-left: 18px; }
.stop-card[data-corridor="highland"] { box-shadow: inset 4px 0 0 var(--highland); padding-left: 18px; }
.stop-card[data-corridor="waste"] { box-shadow: inset 4px 0 0 var(--waste); padding-left: 18px; }

.network { background: #dedbd0; }
.sources { background: #cbc7ba; }
footer { background: var(--ink); color: var(--paper); padding: 42px 6vw calc(42px + env(safe-area-inset-bottom)); display: flex; justify-content: space-between; gap: 30px; font-size: 13px; line-height: 1.45; }
footer a { color: var(--acid); text-underline-offset: 3px; }
footer a:hover, footer a:focus { color: var(--paper); }
.footer-project { white-space: nowrap; font-size: clamp(10px, 2.8vw, 13px); }
.footer-note { display: flex; align-items: center; justify-content: flex-end; gap: 10px; color: #8f9188; text-align: right; }
.ny-love-mark { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 2px; color: var(--paper); font-size: 15px; font-weight: 900; line-height: 1; letter-spacing: -.05em; white-space: nowrap; transform: skew(-3deg); }
.ny-love-heart { color: var(--buffalo); font-size: 1.08em; line-height: 1; }
.ny-love-ny { letter-spacing: -.09em; }
.footer-note-divider { color: rgba(255,255,255,.28); }
.footer-note-text { white-space: nowrap; }

.stop-dialog { width: min(780px, calc(100vw - 24px)); max-height: calc(100svh - 24px); margin: auto; border: 0; border-radius: 20px; padding: 0; background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.stop-dialog::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(6px); }
.dialog-close { position: sticky; z-index: 3; top: 12px; float: right; margin: 12px 12px 0 0; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 26px; cursor: pointer; }
.dialog-inner { padding: 48px 34px 36px; }
.dialog-number { color: var(--muted); font-size: 12px; }
.dialog-inner h3 { margin: 10px 0 8px; font-size: clamp(42px, 8vw, 78px); line-height: .88; letter-spacing: -.065em; }
.dialog-kicker { margin: 0 0 28px; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .11em; }
.dialog-summary { font-size: 24px; line-height: 1.16; letter-spacing: -.035em; font-weight: 700; }
.dialog-body { font-size: 17px; line-height: 1.45; }
.dialog-callout { margin: 30px 0; padding: 20px; background: var(--acid); font-size: 24px; font-weight: 900; line-height: 1.05; letter-spacing: -.04em; }
.dialog-look { padding-top: 20px; border-top: 1px solid var(--line); }
.dialog-look strong { display: block; margin-bottom: 8px; text-transform: uppercase; font-size: 10px; letter-spacing: .12em; }
.dialog-sources { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.dialog-sources strong { display: block; margin-bottom: 10px; text-transform: uppercase; font-size: 10px; letter-spacing: .12em; }
.dialog-sources a { display: block; padding: 9px 0; overflow-wrap: anywhere; }
.dialog-maps { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.dialog-map { display: inline-flex; min-height: 48px; align-items: center; padding: 0 18px; border-radius: 999px; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 800; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; align-items: end; min-height: 100svh; }
  .hero-stat { justify-self: start; display: flex; align-items: end; gap: 12px; max-width: 340px; }
  .hero-stat-number { font-size: 54px; }
  .intro-grid, .network-grid, .sources-grid, .tour-heading { grid-template-columns: 1fr; gap: 30px; }
  .uranium-context { margin: 24px 0 28px; font-size: 16px; }
  .route-progress { margin-bottom: 34px; }
  .process-line { grid-template-columns: 1fr; border-top: 0; }
  .process-line li { min-height: auto; display: grid; grid-template-columns: 40px 1fr; gap: 8px; padding: 18px 0; border-right: 0; border-top: 1px solid rgba(255,255,255,.16); }
  .process-line span { margin: 3px 0 0; grid-row: 1 / span 3; }
  .process-line small { margin-top: 2px; }
  .process-directions { grid-column: 2; min-height: 42px; margin-top: 4px; padding: 8px 12px 0 0; }
  .process-directions-group { grid-column: 2; margin-top: 4px; }
  .process-visit-toggle { grid-column: 2; width: max-content; margin-top: 4px; }
  .stop-card { grid-template-columns: 44px 1fr; gap: 12px; }
  .stop-meta { grid-column: 2; }
}

@media (max-width: 620px) {
  .brand { gap: 8px; }
  .brand-place { font-size: 10.5px; letter-spacing: .06em; }
  .brand-taglines { gap: 1px; padding-left: 8px; }
  .brand-tagline { font-size: 6.5px; font-weight: 900; letter-spacing: .06em; }
  .topbar { padding-left: 12px; padding-right: 12px; }
  .hero { padding: 108px 18px 40px; }
  .hero h1 { font-size: clamp(70px, 27vw, 116px); }
  .dek { font-size: 20px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .section { padding: 64px 18px; }
  .warning-band { padding-left: 18px; padding-right: 18px; }
  .stop-card[data-corridor] { padding-left: 12px; }
  .stop-number { grid-column: 1; }
  .stop-main { grid-column: 2; }
  .stop-actions { grid-template-columns: 1fr; }
  .dialog-inner { padding: 46px 20px 28px; }
  footer { padding-left: 18px; padding-right: 18px; flex-direction: column; }
  .footer-note { justify-content: flex-start; text-align: left; }
  .footer-note-text { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* Portrait phone masthead: keep the tagline inside its own column. */
@media (max-width: 620px) and (orientation: portrait) {
  .topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    min-height: calc(76px + max(12px, env(safe-area-inset-top)));
  }
  .brand { flex-direction: column; align-items: flex-start; gap: 4px; }
  .brand-place { font-size: 18px; letter-spacing: .06em; }
  .brand-taglines { width: 100%; padding-left: 0; border-left: 0; }
  .brand-tagline { font-size: clamp(8px, 2.3vw, 10px); line-height: 1.3; white-space: normal; }
  .topbar-actions { flex-shrink: 0; flex-direction: column; }
  .menu-panel { top: calc(76px + max(12px, env(safe-area-inset-top))); }
}

/* Two-leg tour chooser. */
#pick-your-poison, #uranium-route, #tour { scroll-margin-top: calc(88px + env(safe-area-inset-top)); }
.tour-choice { background: var(--acid); }
.tour-choice .section-label { color: var(--ink); }
.tour-choice-intro { margin: 24px 0 32px; font-size: clamp(18px, 2vw, 26px); }
.tour-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tour-choice-card { display: flex; min-width: 0; flex-direction: column; gap: 22px; padding: clamp(22px, 3vw, 40px); background: var(--ink); color: var(--acid); border: 1px solid var(--ink); border-radius: var(--radius); text-decoration: none; }
.tour-choice-leftovers { background: var(--paper); color: var(--ink); }
.tour-choice-label { font-size: 11px; font-weight: 800; letter-spacing: .1em; line-height: 1.4; text-transform: uppercase; }
.tour-choice-card strong { font-size: clamp(32px, 4vw, 58px); line-height: 1; letter-spacing: -.05em; }
.tour-choice-link { margin-top: auto; padding-top: 12px; font-size: 14px; font-weight: 800; line-height: 1.4; }
.tour-choice-card:hover .tour-choice-link { text-decoration: underline; text-underline-offset: 4px; }
.tour-choice-card:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
@media (max-width: 620px) {
  .tour-choice-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Footer credit and visitor sharing. */
footer { padding-left: clamp(12px, 4vw, 48px); flex-wrap: wrap; align-items: flex-start; }
.footer-community { min-width: 0; flex: 1 1 360px; }
.footer-project { white-space: normal; }
.footer-share { margin-top: 16px; }
.footer-share p { margin: 0 0 10px; }
.footer-share-button { min-height: 44px; padding: 10px 18px; border: 1px solid var(--acid); border-radius: 999px; background: transparent; color: var(--acid); font-weight: 800; cursor: pointer; }
.footer-share-button:hover { background: var(--acid); color: var(--ink); }
.footer-share-button:focus-visible { outline: 2px solid var(--paper); outline-offset: 4px; }
@media (max-width: 620px) {
  footer { padding-left: 12px; }
  .footer-community { flex: none; width: 100%; }
}

/* Keep sharing beside the credit except on portrait phones. */
.footer-community { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; flex-basis: 660px; }
.footer-share { margin-top: 0; display: flex; align-items: center; gap: 12px; }
.footer-share p { margin: 0; }
.footer-social-links { flex-shrink: 0; }
.footer-social-links { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-share-button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-size: 12px; }
@media (max-width: 620px) and (orientation: portrait) {
  .footer-community { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
