/* ============================================================
   napavalleycawine.tours - "Valley Floor" design layer (npa-)
   Deep cabernet + vine green on warm limestone, serif display + neutral sans.
   Loaded after styles.css: re-tokens the palette, adds dark scheme, header, footer,
   hero, picker and the homepage visuals. No sticky/fixed element except the header.
   ============================================================ */
:root {
  --ink: #231A14;
  --ink-soft: #55463A;
  --paper: #F1EADB;
  --paper-2: #E6DCC6;
  --surface: #FBF8F1;
  --surface-2: #F6F0E2;
  --line: #D6C9AE;
  --brand: #5E1626;
  --brand-deep: #2B0C14;
  --accent: #5E1626;
  --accent-deep: #44101B;
  --accent-ink: #FFFFFF;
  --gold: #8A6212;
  --gold-soft: #EBDDB4;
  --gold-ink: #4D3908;
  --cab: #5E1626;
  --vine: #3A5A31;
  --vine-deep: #24391F;
  --vine-soft: #DCE6D0;
  --vine-ink: #1F3319;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --npa-hero-ink: #FFFFFF;
  --shadow: 0 1px 2px rgba(43,12,20,.06), 0 10px 28px rgba(43,12,20,.09);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #F2E9D8;
    --ink-soft: #CFC0A8;
    --paper: #16100D;
    --paper-2: #211813;
    --surface: #1D1511;
    --surface-2: #281E18;
    --line: #3F3227;
    --brand: #F0B3BE;
    --brand-deep: #0E0709;
    --accent: #9E2438;
    --accent-deep: #82192B;
    --gold: #E2B655;
    --gold-soft: #3B2E14;
    --gold-ink: #F1DFAE;
    --cab: #9E2438;
    --vine: #A3C892;
    --vine-deep: #0F1A0C;
    --vine-soft: #223019;
    --vine-ink: #D4E8C8;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 28px rgba(0,0,0,.35);
  }
}
:root[data-theme="dark"] {
  --ink: #F2E9D8; --ink-soft: #CFC0A8; --paper: #16100D; --paper-2: #211813; --surface: #1D1511;
  --surface-2: #281E18; --line: #3F3227; --brand: #F0B3BE; --brand-deep: #0E0709; --accent: #9E2438;
  --accent-deep: #82192B; --gold: #E2B655; --gold-soft: #3B2E14; --gold-ink: #F1DFAE; --vine: #A3C892;
  --cab: #9E2438; --vine-deep: #0F1A0C; --vine-soft: #223019; --vine-ink: #D4E8C8;
}
body { background: var(--paper); color: var(--ink); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.012em; }
h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.6rem); line-height: 1.04; }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.6rem); line-height: 1.1; }
h3 { line-height: 1.2; }
.rule-h2 { border-bottom: 0; position: relative; padding-bottom: .55rem; }
.rule-h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 3px; background: var(--vine); border-radius: 3px; }
a { color: var(--brand); }
.btn { border-radius: 8px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-deep); color: var(--accent-ink); }
.btn-ghost { color: var(--ink); border-color: var(--line); }
.cmp-table, .keyfacts { background: var(--surface); color: var(--ink); }
.cmp-table th { background: var(--paper-2); color: var(--ink); }
.cmp-table td, .cmp-table th { border-color: var(--line); }
.cta-banner { background: linear-gradient(120deg, #5E1626, #2B0C14); }
.cta-banner h3, .cta-banner p { color: #fff; }
.cta-banner .btn-primary { background: #F1EADB; color: #2B0C14; }
.cta-banner .btn-primary:hover { background: #fff; color: #2B0C14; }

/* ---------------- HEADER: logo left, underline tabs, ghost button, slide-down sheet ---------------- */
.npa-header { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--line); }
.npa-nav { display: flex; align-items: center; gap: 1.5rem; min-height: 64px; }
.npa-brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em; white-space: nowrap; }
.npa-brand img { width: 30px; height: 30px; border-radius: 6px; }
.npa-brand em { font-style: normal; color: var(--brand); }
.npa-menu { display: flex; align-items: center; flex: 1; justify-content: space-between; gap: 1rem; }
.npa-tabs { display: flex; gap: 1.75rem; list-style: none; margin: 0 0 0 1rem; padding: 0; }
.npa-tabs a { display: block; padding: 1.3rem 0 1.15rem; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; border-bottom: 3px solid transparent; }
.npa-tabs a:hover { border-bottom-color: var(--line); }
.npa-tabs a[aria-current="page"], .npa-tabs a.is-here { border-bottom-color: var(--vine); color: var(--vine-ink); }
.npa-ghost { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1.2rem; border: 2px solid var(--brand); color: var(--brand); border-radius: 8px; font-weight: 700; text-decoration: none; font-size: .95rem; }
.npa-ghost:hover { background: var(--brand); color: var(--paper); }
.npa-burger { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: transparent; color: var(--ink); cursor: pointer; border-radius: 8px; }
.npa-burger svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
.npa-burger .x { display: none; }
.npa-burger[aria-expanded="true"] .x { display: block; }
.npa-burger[aria-expanded="true"] .b { display: none; }
@media (max-width: 860px) {
  .npa-burger { display: inline-flex; align-items: center; justify-content: center; }
  .npa-menu { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(0,0,0,.18); padding: .25rem 1rem 1.2rem; }
  .npa-tabs { flex-direction: column; gap: 0; margin: 0; }
  .npa-tabs a { padding: 1rem .25rem; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-left: 4px solid transparent; }
  .npa-tabs a[aria-current="page"], .npa-tabs a.is-here { border-bottom-color: var(--line); border-left-color: var(--vine); padding-left: .75rem; }
  .npa-ghost { justify-content: center; margin-top: 1rem; min-height: 48px; }
  .js .npa-menu { transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility 0s .18s; }
  .js .npa-menu[data-open="true"] { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
}
@media (prefers-reduced-motion: reduce) { .js .npa-menu { transition: none; } }

/* ---------------- HERO "Valley Floor" ---------------- */
.npa-hero { position: relative; isolation: isolate; color: #fff; background: #2B0C14; }
.npa-hero-bg { position: absolute; inset: 0; z-index: -2; }
.npa-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.npa-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(36,9,16,.94) 0%, rgba(36,9,16,.84) 42%, rgba(36,9,16,.45) 100%); }
.npa-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 2.5rem; align-items: center; padding-block: 3.5rem 1.8rem; }
.npa-hero h1 { color: #fff; margin: 0 0 1.4rem; max-width: 18ch; }
.npa-chips { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 0 0 1.5rem; }
.npa-chips li { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: .45rem 1rem; font-size: .95rem; color: #fff; }
.npa-chips b { font-family: var(--display); font-size: 1.25rem; margin-right: .3rem; color: #fff; }
.npa-cta-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.npa-hero .btn-light { background: #F1EADB; color: #2B0C14; }
.npa-hero .btn-light:hover { background: #fff; }
.npa-hero .btn-line { color: #fff; border: 2px solid rgba(255,255,255,.7); background: transparent; }
.npa-hero .btn-line:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.npa-hero .booking-panel { padding: 1.1rem 1.25rem; font-size: .93rem; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.npa-hero .booking-panel p, .npa-hero .booking-panel strong, .npa-hero .booking-panel small { color: var(--ink); }
.npa-hero .booking-panel .small, .npa-hero .booking-panel small { color: var(--ink-soft); }
.npa-hero .booking-panel .gold { color: var(--gold); }
.npa-hero .booking-panel .btn { color: var(--accent-ink); }

.npa-route { background: var(--surface); color: var(--ink); border-radius: 12px 12px 0 0; padding: 1.1rem 1.25rem .9rem; margin-top: .6rem; box-shadow: var(--shadow); }
.npa-route-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin: 0 0 .4rem; font-size: .85rem; color: var(--ink-soft); }
.npa-route-head strong { font-family: var(--display); font-size: 1.05rem; color: var(--ink); }
.npa-valley { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); padding-top: .2rem; }
.npa-valley-road { position: absolute; left: 0; right: 0; top: 134px; height: 38px; width: 100%; pointer-events: none; }
.npa-valley-road path { fill: none; vector-effect: non-scaling-stroke; }
.npa-hwy { stroke: var(--brand); stroke-width: 4; }
.npa-trail { stroke: var(--vine); stroke-width: 3; stroke-dasharray: 9 7; }
.npa-town { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding-right: .4rem; }
.npa-town .pins { min-height: 104px; display: flex; flex-direction: column; justify-content: flex-end; gap: .35rem; }
.npa-pin { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; color: var(--ink); font-size: .8rem; line-height: 1.2; font-weight: 600; }
.npa-pin span.ic { flex: none; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--cab); color: #fff; }
.npa-pin.p-train span.ic { background: var(--vine-deep); }
.npa-pin.p-bal span.ic { background: var(--gold); color: #fff; }
.npa-pin.p-suv span.ic { background: var(--ink-soft); color: var(--surface); }
.npa-pin svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.npa-pin:hover b { text-decoration: underline; }
.npa-tname { margin-top: 44px; font-weight: 700; font-size: .9rem; position: relative; }
.npa-tname::before { content: ""; position: absolute; left: 0; top: -30px; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 4px solid var(--ink); }
.npa-trainbar { grid-column: 1 / -1; width: calc(100% * 5 / 6); margin: 0 0 .3rem; height: 24px; display: flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 600; color: var(--vine-ink); border-bottom: 3px solid var(--vine); }
.npa-trainbar a { color: inherit; text-decoration: none; }
.npa-trainbar a:hover { text-decoration: underline; }
.npa-note { margin: .5rem 0 0; font-size: .8rem; color: var(--ink-soft); max-width: none; }
.npa-legend { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; margin: .5rem 0 0; font-size: .8rem; color: var(--ink-soft); }
.npa-legend i { display: inline-block; width: 22px; height: 0; border-top: 4px solid var(--brand); vertical-align: middle; margin-right: .35rem; }
.npa-legend i.d { border-top: 3px dashed var(--vine); }
.npa-valley-m { display: none; }
@media (max-width: 860px) {
  .npa-hero-grid { grid-template-columns: 1fr; padding-block: 1.8rem 1rem; gap: 1.4rem; }
  .npa-valley { display: none; }
  .npa-valley-m { display: block; }
  .npa-hero .bp-reason, .npa-hero .bp-next { display: none; }
  .npa-route { padding: .9rem 1rem .8rem; }
  .npa-route-head span { display: none; }
}
.npa-mroad { display: block; width: 100%; height: 44px; margin: .2rem 0 .1rem; }
.npa-mroad path { fill: none; vector-effect: non-scaling-stroke; }
.npa-mroad circle { fill: var(--surface); stroke: var(--ink); stroke-width: 3; }
.npa-mtowns { margin: 0 0 .6rem; font-size: .85rem; font-weight: 600; color: var(--ink); max-width: none; }
.npa-mpins { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.npa-mpins .npa-pin { min-height: 44px; width: 100%; background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: .25rem .5rem; }
.npa-lede { padding-block: 2rem .5rem; }
.npa-lede .lede { max-width: none; font-size: clamp(1.05rem, 1rem + .35vw, 1.28rem); color: var(--ink); line-height: 1.6; margin: 0; }

/* ---------------- PICKER (3 questions) ---------------- */
.npa-picker { margin: 1.2rem 0 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1.2rem 1.3rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem 1.6rem; }
.npa-picker[hidden] { display: none; }
.npa-q { border: 0; margin: 0; padding: 0; min-width: 0; }
.npa-q legend { font-family: var(--display); font-weight: 700; font-size: 1.05rem; margin-bottom: .5rem; padding: 0; color: var(--ink); }
.npa-q legend span { color: var(--vine); margin-right: .35rem; }
.npa-opts { display: flex; flex-wrap: wrap; gap: .45rem; }
.npa-opt { position: relative; }
.npa-opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.npa-opt span { display: inline-flex; align-items: center; min-height: 44px; padding: .35rem .95rem; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface-2); color: var(--ink); font-size: .92rem; font-weight: 600; }
.npa-opt input:checked + span { background: var(--vine-deep); color: #fff; border-color: var(--vine-deep); }
.npa-opt input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.npa-result { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; border-top: 1px solid var(--line); padding-top: .9rem; font-size: .95rem; }
.npa-result strong { font-family: var(--display); font-size: 1.15rem; }
.npa-result button { min-height: 44px; padding: .4rem 1rem; border-radius: 8px; border: 1.5px solid var(--line); background: transparent; color: var(--ink); font-weight: 600; cursor: pointer; }
.npa-result a { font-weight: 700; }
.npa-empty { display: none; background: var(--gold-soft); color: var(--gold-ink); border-radius: 8px; padding: .8rem 1rem; margin: 0 0 1rem; max-width: none; }
.npa-empty.on { display: block; }
.tour-row[hidden], section[hidden] { display: none !important; }
@media (max-width: 860px) { .npa-picker { grid-template-columns: 1fr; padding: 1rem; } }

/* ---------------- TOUR ROWS (re-skinned) ---------------- */
.tour-row { background: var(--surface); border-color: var(--line); }
.tour-row.is-lead { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold-soft), var(--shadow); }
.tour-row h3 a { color: var(--ink); }
.tour-row .tr-meta, .tour-row .tr-price small { color: var(--ink-soft); }
.pc-tag { background: var(--gold-soft); color: var(--gold-ink); }

/* ---------------- VISUALS ---------------- */
.npa-fig { margin: 1.4rem 0 1.8rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1.3rem 1.4rem 1rem; width: 100%; }
.npa-fig h4 { font-family: var(--display); font-size: 1.1rem; margin: 0 0 .9rem; color: var(--ink); }
.npa-fig figcaption { margin-top: .9rem; font-size: .85rem; color: var(--ink-soft); max-width: none; }
.npa-fig svg.ic { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
/* range bars */
.npa-bars { display: grid; gap: .85rem; margin: 0; padding: 0; list-style: none; }
.npa-bar { display: grid; grid-template-columns: minmax(150px, 22%) 1fr; gap: .4rem 1rem; align-items: center; }
.npa-bar .lab { font-weight: 600; font-size: .92rem; line-height: 1.25; }
.npa-bar .lab small { display: block; font-weight: 500; color: var(--ink-soft); font-size: .8rem; }
.npa-track { position: relative; height: 30px; background: var(--paper-2); border-radius: 6px; }
.npa-fill { position: absolute; top: 4px; bottom: 4px; border-radius: 4px; background: var(--cab); min-width: 6px; }
.npa-fill.v { background: var(--vine); }
.npa-fill.g { background: var(--gold); }
.npa-fill .val { position: absolute; left: calc(100% + 8px); top: 50%; transform: translateY(-50%); font-size: .85rem; font-weight: 700; white-space: nowrap; color: var(--ink); }
.npa-fill .val.in { left: auto; right: 8px; color: #fff; }
.npa-fill.v .val.in { color: #fff; }
.npa-fill.g .val.in { color: #1b1305; }
.npa-axis { display: grid; grid-template-columns: minmax(150px, 22%) 1fr; gap: 0 1rem; margin-top: .4rem; }
.npa-axis div { position: relative; height: 1.3rem; font-size: .78rem; color: var(--ink-soft); }
.npa-axis span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.npa-axis span:first-child { transform: none; }
.npa-mark { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--ink); }
.npa-mark em { position: absolute; top: calc(100% + 2px); left: 50%; transform: translateX(-50%); font-style: normal; font-size: .75rem; font-weight: 700; white-space: nowrap; color: var(--ink); }
.npa-legend2 { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; margin: .6rem 0 0; font-size: .82rem; color: var(--ink-soft); }
.npa-legend2 i { display: inline-block; width: 14px; height: 14px; border-radius: 3px; vertical-align: -2px; margin-right: .35rem; }
@media (max-width: 640px) {
  .npa-bar, .npa-axis { grid-template-columns: 1fr; }
  .npa-axis > :first-child { display: none; }
  .npa-fig { padding: 1rem 1rem .8rem; }
  .npa-track { height: 34px; }
}
/* icon facts grid */
.npa-icons { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .9rem; list-style: none; margin: 0; padding: 0; }
.npa-icons li { display: flex; gap: .75rem; align-items: flex-start; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: .9rem 1rem; }
.npa-icons .ib { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--vine-soft); color: var(--vine-ink); display: inline-flex; align-items: center; justify-content: center; }
.npa-icons strong { display: block; font-family: var(--display); font-size: 1.25rem; line-height: 1.1; color: var(--ink); }
.npa-icons span.t { font-size: .88rem; color: var(--ink-soft); line-height: 1.35; display: block; margin-top: .15rem; }
/* two-column compare */
.npa-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.npa-vs > div { border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.1rem; background: var(--surface-2); }
.npa-vs h4 { margin: 0 0 .15rem; }
.npa-vs .sub { font-size: .85rem; color: var(--ink-soft); margin: 0 0 .6rem; max-width: none; }
.npa-vs ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.npa-vs li { position: relative; padding-left: 1.7rem; font-size: .92rem; line-height: 1.35; }
.npa-vs li::before { content: "\2713"; position: absolute; left: 0; top: 0; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--vine-soft); color: var(--vine-ink); font-weight: 800; font-size: .75rem; display: inline-flex; align-items: center; justify-content: center; }
.npa-vs li.x::before { content: "+"; background: var(--gold-soft); color: var(--gold-ink); font-size: .95rem; }
.npa-vs .pt { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--ink-soft); margin: .8rem 0 .35rem; }
@media (max-width: 700px) { .npa-vs { grid-template-columns: 1fr; } }
/* route / steps */
.npa-steps { display: flex; list-style: none; margin: 0; padding: 0; counter-reset: s; position: relative; }
.npa-steps li { flex: 1; position: relative; padding: 2.4rem .6rem 0 0; font-size: .9rem; line-height: 1.35; min-width: 0; }
.npa-steps li::before { content: ""; position: absolute; top: 10px; left: 0; right: 0; height: 4px; background: var(--vine); }
.npa-steps li::after { content: ""; position: absolute; top: 3px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 4px solid var(--brand); }
.npa-steps li:last-child::before { right: 50%; }
.npa-steps b { display: block; font-family: var(--display); font-size: 1.1rem; margin-bottom: .1rem; color: var(--ink); }
.npa-steps .k { color: var(--ink-soft); font-size: .82rem; display: block; }
@media (max-width: 700px) {
  .npa-steps { flex-direction: column; gap: 0; padding-left: 2rem; }
  .npa-steps li { padding: 0 0 1.3rem 0; }
  .npa-steps li::before { top: 18px; bottom: -4px; left: -23px; right: auto; width: 4px; height: auto; }
  .npa-steps li:last-child::before { display: none; }
  .npa-steps li::after { top: 3px; left: -30px; }
}
.npa-lanes { display: grid; gap: 1.1rem; }
.npa-lane h4 { margin: 0 0 .45rem; font-size: 1rem; }
.npa-seg { display: flex; border-radius: 8px; overflow: hidden; min-height: 52px; }
.npa-seg > div { padding: .55rem .8rem; font-size: .85rem; line-height: 1.3; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.npa-seg b { font-size: .92rem; }
.npa-seg .s1 { background: var(--paper-2); color: var(--ink); }
.npa-seg .s2 { background: var(--vine-deep); color: #fff; }
.npa-seg .s3 { background: var(--gold-soft); color: var(--gold-ink); }
.npa-seg .s4 { background: var(--cab); color: #fff; }
@media (max-width: 640px) { .npa-seg { flex-direction: column; } }
/* glass dot rows */
.npa-glasses { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.npa-glasses li { display: grid; grid-template-columns: 8.5rem 1fr; align-items: center; gap: .6rem; font-size: .9rem; font-weight: 600; }
.npa-glasses .gl { display: flex; gap: .3rem; flex-wrap: wrap; color: var(--cab); }
.npa-glasses .gl svg { width: 26px; height: 26px; stroke: currentColor; stroke-width: 1.6; fill: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.npa-glasses .gl svg.opt { fill: none; opacity: .7; }
.npa-glasses .sum { grid-column: 1 / -1; font-family: var(--display); font-size: 1.1rem; margin-top: .3rem; }
@media (max-width: 520px) { .npa-glasses li { grid-template-columns: 1fr; gap: .2rem; } }
/* duration bars */
.npa-fill.s { background: var(--vine-deep); }

/* ---------------- SORTABLE LATEST-DATA TABLE ---------------- */
.npa-latest { margin: 0 0 .6rem; }
.npa-latest p { max-width: none; }
.th-sort { all: unset; cursor: pointer; font-weight: 700; display: inline-flex; align-items: center; gap: .3rem; min-height: 32px; color: inherit; }
.th-sort:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.th-sort::after { content: "\2195"; font-size: .8em; opacity: .5; }
th[aria-sort="ascending"] .th-sort::after { content: "\2191"; opacity: 1; }
th[aria-sort="descending"] .th-sort::after { content: "\2193"; opacity: 1; }
@media (max-width: 700px) {
  .price-table, .price-table tbody, .price-table tr, .price-table td { display: block; width: 100%; }
  .price-table thead { position: absolute; left: -9999px; }
  .price-table tr { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: .7rem .9rem; margin-bottom: .7rem; }
  .price-table td { border: 0; padding: .2rem 0; }
  .price-table td:first-child { font-weight: 700; font-size: 1.02rem; padding-bottom: .35rem; }
  .price-table td[data-label]:not(:first-child)::before { content: attr(data-label) ": "; color: var(--ink-soft); font-weight: 600; }
  .npa-sortbar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: 0 0 .8rem; }
}
.npa-sortbar { display: none; }
@media (max-width: 700px) { .js .npa-sortbar { display: flex; } }
.npa-sortbar button { min-height: 44px; padding: .3rem .9rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface-2); color: var(--ink); font-weight: 600; cursor: pointer; }
.npa-sortbar button[aria-pressed="true"] { background: var(--vine-deep); color: #fff; border-color: var(--vine-deep); }

/* ---------------- FOOTER ---------------- */
.npa-footer { background: #20090F; color: #DCCBC9; margin-top: 4rem; }
.npa-footer a { color: #F4E9E6; }
.npa-ftiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.npa-ftile { display: flex; flex-direction: column; gap: .35rem; padding: 1.4rem 1.1rem; text-decoration: none; border-right: 1px solid rgba(255,255,255,.14); min-height: 112px; }
.npa-ftile:last-child { border-right: 0; }
.npa-ftile:hover { background: rgba(255,255,255,.06); }
.npa-ftile svg { width: 28px; height: 28px; stroke: #E7C97F; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.npa-ftile b { font-family: var(--display); font-size: 1.2rem; color: #fff; font-weight: 700; }
.npa-ftile span { font-size: .82rem; color: #CBB8B5; line-height: 1.3; }
.npa-fband { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; padding-block: 2.6rem; }
.npa-fband p { color: #DCCBC9; max-width: 46ch; }
.npa-fbrand { font-family: var(--display); font-size: 1.5rem; font-weight: 700; color: #fff; text-decoration: none; display: inline-block; margin-bottom: .6rem; }
.npa-fbrand:hover { text-decoration: underline; }
.npa-fsocial { display: flex; gap: .5rem; margin-top: .9rem; }
.npa-fsocial a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 1.5px solid rgba(255,255,255,.35); border-radius: 8px; font-weight: 700; font-size: .85rem; text-decoration: none; }
.npa-fsocial a:hover { background: rgba(255,255,255,.1); }
.npa-flinks { display: grid; grid-template-columns: 1fr 1fr; gap: .15rem 1.5rem; list-style: none; margin: 0; padding: 0; align-content: start; }
.npa-flinks a { display: block; padding: .5rem 0; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .95rem; }
.npa-flinks a:hover { text-decoration: underline; }
.npa-fh { font-family: var(--display); font-size: 1.1rem; color: #fff; margin: 0 0 .6rem; }
.npa-fdisc { background: #13050A; border-top: 1px solid rgba(255,255,255,.12); }
.npa-fdisc .wrap { padding-block: 1.4rem 1.8rem; font-size: .85rem; line-height: 1.55; color: #CDBBB8; }
.npa-fdisc p { max-width: none; margin: 0 0 .5rem; }
.npa-fdisc strong { color: #fff; }
@media (max-width: 900px) {
  .npa-ftiles { grid-template-columns: repeat(3, 1fr); }
  .npa-ftile:nth-child(3n) { border-right: 0; }
  .npa-ftile { border-bottom: 1px solid rgba(255,255,255,.14); }
  .npa-fband { grid-template-columns: 1fr; gap: 1.8rem; }
}
@media (max-width: 520px) {
  .npa-ftiles { grid-template-columns: repeat(2, 1fr); }
  .npa-ftile:nth-child(3n) { border-right: 1px solid rgba(255,255,255,.14); }
  .npa-ftile:nth-child(2n) { border-right: 0; }
  .npa-flinks { grid-template-columns: 1fr; }
}

/* dark-scheme repairs for older rules with hardcoded light values */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tour-row, :root:not([data-theme="light"]) .rcard { background: var(--surface); }
  :root:not([data-theme="light"]) .faq details { background: var(--surface); }
  :root:not([data-theme="light"]) .npa-opt span { background: var(--surface-2); }
}

.section { padding-block: 2.6rem; }
.npa-pickwrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 1.5rem 2.2rem; align-items: start; }
.npa-pickwrap > p { margin: 0; max-width: none; }
.npa-pickwrap .npa-picker { margin: 0; grid-template-columns: 1fr; gap: .9rem; padding: 1rem 1.2rem; }
.npa-pickwrap .npa-q { display: grid; grid-template-columns: 9.5rem 1fr; gap: .5rem 1rem; align-items: center; }
.npa-pickwrap .npa-q legend { float: left; width: 9.5rem; margin: 0; padding-top: .55rem; }
.npa-pickwrap .npa-q .npa-opts { margin-left: 10.5rem; }
@media (max-width: 960px) { .npa-pickwrap { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .npa-pickwrap .npa-q legend { float: none; width: auto; padding-top: 0; }
  .npa-pickwrap .npa-q .npa-opts { margin-left: 0; }
  .npa-pickwrap .npa-q { display: block; }
  .npa-opt span { min-height: 44px; padding: .3rem .8rem; font-size: .9rem; }
}
@media (max-width: 860px) { .npa-lede { padding-block: 1.2rem .2rem; } }
.section > h2:first-child, .section > .rule-h2:first-child { margin-top: 0; }
.npa-lede .lede { max-width: none; }
.btn { font-family: var(--body); letter-spacing: 0; }
.npa-trainbar svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.npa-trainbar a { display: inline-flex; align-items: center; gap: .45rem; }
.section > h2:first-child, .rule-h2 { border-bottom: 0; padding-bottom: .6rem; }
.npa-route-head { max-width: none; justify-content: flex-start; gap: .4rem 1.2rem; }
.npa-town .pins { min-height: 84px; }
.npa-valley-road { top: 114px; }
.npa-pickwrap .npa-q { display: block; }
.npa-pickwrap .npa-q .npa-opts { margin-left: 10.5rem; }
.npa-pickwrap .npa-q + .npa-q { padding-top: .7rem; border-top: 1px solid var(--line); }
@media (max-width: 640px) { .npa-pickwrap .npa-q .npa-opts { margin-left: 0; } }
/* tightening pass */
.npa-hero h1 { font-size: clamp(2rem, 1.4rem + 2vw, 3.1rem); max-width: 20ch; margin-bottom: 1.1rem; }
.npa-hero-grid { padding-block: 2.4rem 1.1rem; gap: 2rem; }
.npa-hero .booking-panel { padding: 1rem 1.2rem; font-size: .9rem; }
.npa-hero .booking-panel .bp-title { font-size: 1.35rem; margin-bottom: .3rem; }
.npa-hero .booking-panel .bp-reason { font-size: .9rem; line-height: 1.5; margin-bottom: .6rem; }
.npa-hero .booking-panel .bp-price { margin-bottom: .6rem; }
.npa-lede { padding-block: 1.4rem .2rem; }
.npa-lede .lede { font-size: clamp(1rem, .95rem + .3vw, 1.18rem); line-height: 1.55; }
.npa-pickwrap { display: block; }
.npa-pickwrap > p { margin: 0 0 1rem; }
.npa-pickwrap .npa-picker { grid-template-columns: 1.3fr 1fr .9fr; gap: .9rem 1.5rem; padding: 1rem 1.2rem; }
.npa-pickwrap .npa-q { display: block; }
.npa-pickwrap .npa-q + .npa-q { padding-top: 0; border-top: 0; }
.npa-pickwrap .npa-q legend { float: none; width: auto; padding-top: 0; margin-bottom: .45rem; }
.npa-pickwrap .npa-q .npa-opts { margin-left: 0; }
.npa-opt span { padding: .25rem .8rem; }
.npa-result { padding-top: .6rem; }
@media (max-width: 960px) { .npa-pickwrap .npa-picker { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .npa-pickwrap .npa-opts { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 6px; margin-inline: -.2rem; padding-inline: .2rem; -webkit-overflow-scrolling: touch; }
  .npa-pickwrap .npa-opt { flex: none; scroll-snap-align: start; }
  .npa-pickwrap .npa-picker { gap: .6rem; padding: .8rem; }
  .npa-pickwrap .npa-q legend { margin-bottom: .3rem; font-size: 1rem; }
  .npa-result .small { display: none; }
  .npa-hero h1 { font-size: 1.95rem; }
  .npa-chips li { padding: .3rem .8rem; font-size: .88rem; }
  .npa-chips { margin-bottom: 1rem; gap: .4rem; }
}
.npa-trainbar { justify-content: space-between; }
.npa-trainbar a { font-weight: 700; }
.npa-trainbar span { font-weight: 500; color: var(--ink-soft); }
/* article CRO modules carry their own light backgrounds: pin their text to dark so the dark scheme never puts light text on them */
.cro-context, .cro-end, .cro-float, .cro-exit, .cro-image, .cro-support, .cro-result { color: #201A12; }
.cro-context a:not(.cro-book), .cro-end a:not(.cro-book), .cro-float a:not(.cro-book), .cro-exit a:not(.cro-book), .cro-image a:not(.cro-book), .cro-support a:not(.cro-book) { color: #7A1E28; }
.cro-context .cro-kicker, .cro-end .cro-kicker, .cro-context .cro-facts, .cro-end .cro-facts, .cro-image .cro-facts, .cro-float .cro-facts { color: #5E5A50; }
/* transparent CRO modules sit on the page colour, so they follow the scheme tokens */
.cro { color: var(--ink); }
.cro-text, .cro-intro, .cro-calendar, .cro-cost { color: var(--ink); }
.cro-text a:not(.cro-book), .cro-intro a:not(.cro-book), .prose a, .prose .cro-inline-link { color: var(--brand); }
.cro-text .cro-kicker, .cro-intro .cro-kicker, .cro-text .cro-facts, .cro-intro .cro-facts, .cro-text small, .cro-intro small, .cro-text .cro-current-caution { color: var(--ink-soft); }
.cro-context a:not(.cro-book), .cro-end a:not(.cro-book), .cro-float a:not(.cro-book), .cro-exit a:not(.cro-book), .cro-image a:not(.cro-book), .cro-support a:not(.cro-book) { color: #7A1E28; }
.cro-text a:not(.cro-book) { color: var(--brand); }
:is(.cro-end, .cro-context:not(.cro-text), .cro-float, .cro-exit, .cro-support, .cro-image) :is(p, h2, h3, h4, label, strong, li, summary, div, span, output, small):not([class]) { color: inherit; }
:is(.cro-end, .cro-context:not(.cro-text), .cro-float, .cro-exit, .cro-support) :is(.cro-current-title, .cro-float-title, .cro-exit-product, .cro-date-status, .cro-initial, .cro-screen-note) { color: #201A12; }
:is(.cro-end, .cro-exit, .cro-support) label { color: #201A12; }
:root .cro { color: var(--ink); }
:root .cro-text, :root .cro-intro, :root .cro-calendar, :root .cro-cost { color: var(--ink); }
:root .cro-text a:not(.cro-book), :root .cro-intro a:not(.cro-book) { color: var(--brand); }
:root .cro-text .cro-kicker, :root .cro-intro .cro-kicker, :root .cro-text .cro-facts, :root .cro-intro .cro-facts, :root .cro-text small, :root .cro-intro small { color: var(--ink-soft); }
:root .cro-context:not(.cro-text), :root .cro-end, :root .cro-float, :root .cro-exit, :root .cro-image, :root .cro-support { color: #201A12; }
:root .cro-end .cro-calendar, :root .cro-end .cro-cost, :root .cro-exit .cro-calendar, :root .cro-float .cro-calendar { color: #201A12; }
/* cards-first */
.npa-ftoggle, .npa-more { display: none; }
.npa-pickwrap { margin-bottom: 0; }
#categories { padding-block: 1.6rem 1rem; }
@media (max-width: 640px) {
  .js .npa-ftoggle { display: flex; align-items: center; width: 100%; min-height: 48px; padding: .5rem 1rem; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font-weight: 700; font-size: 1rem; cursor: pointer; justify-content: space-between; }
  .js .npa-ftoggle::after { content: "+"; font-size: 1.3rem; }
  .js .npa-ftoggle[aria-expanded="true"]::after { content: "\2212"; }
  .js .npa-pickwrap .npa-picker { display: none; margin-top: .6rem; }
  .js .npa-pickwrap .npa-picker.open { display: grid; }
  .js .npa-lede .lede.clamp:not(.open) { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .js .npa-more { display: inline-flex; align-items: center; min-height: 44px; margin-top: .2rem; padding: 0; border: 0; background: none; color: var(--brand); font-weight: 700; font-size: 1rem; text-decoration: underline; cursor: pointer; }
}

/* ---------------- FIX ROUND 2 ---------------- */
:root { --seg1: #CDBF9F; --seg1-ink: #231A14; --seg2: #3A5A31; --seg2-ink: #FFFFFF; --seg4: #9A6B14; --seg4-ink: #FFFFFF; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --seg1: #7A6652; --seg1-ink: #FFFFFF; --seg2: #6F9B5E; --seg2-ink: #10170C; --seg4: #C0902F; --seg4-ink: #1B1305; } }
:root[data-theme="dark"] { --seg1: #7A6652; --seg1-ink: #FFFFFF; --seg2: #6F9B5E; --seg2-ink: #10170C; --seg4: #C0902F; --seg4-ink: #1B1305; }
/* bars: wider label column, arithmetic row */
.npa-bar, .npa-axis { grid-template-columns: minmax(210px, 28%) 1fr; }
@media (max-width: 640px) { .npa-bar, .npa-axis { grid-template-columns: 1fr; } }
.npa-fill.a { background: repeating-linear-gradient(135deg, var(--ink-soft) 0 6px, var(--surface) 6px 10px); border: 2px solid var(--ink-soft); }
.npa-fill.a .val { background: var(--surface); padding: 0 .35rem; border-radius: 4px; }
.npa-fill.a .val.in { color: var(--ink); }
.npa-legend2 i.hatch { background: repeating-linear-gradient(135deg, var(--ink-soft) 0 3px, var(--surface) 3px 6px); border: 1px solid var(--ink-soft); }
.npa-legend2 i.k1 { background: var(--seg1); } .npa-legend2 i.k2 { background: var(--seg2); } .npa-legend2 i.k4 { background: var(--seg4); }
/* pour math */
.npa-glasses li { grid-template-columns: 8.5rem 1fr; }
.npa-glasses .gl { gap: .9rem; }
.npa-glasses .gl svg { width: 32px; height: 32px; }
.npa-sum { margin: 1rem 0 0; padding: .8rem 1rem; background: var(--vine-soft); color: var(--vine-ink); border-radius: 8px; font-family: var(--display); font-size: clamp(1.05rem, .95rem + .6vw, 1.4rem); font-weight: 700; text-align: center; max-width: none; width: 100%; }
/* fine print grid */
.npa-icons.cols3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .npa-icons.cols3 { grid-template-columns: 1fr; } }
/* private compare: stacked, "Extra" label */
.npa-vs { grid-template-columns: 1fr; }
.npa-vs li.x { padding-left: 4rem; }
.npa-vs li.x::before { content: "Extra"; width: auto; height: auto; border-radius: 4px; padding: .05rem .4rem; font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
/* steps: track ends at the last node; stat chips beneath */
.npa-steps li:last-child::before { display: none; }
.npa-statchips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 1.1rem 0 0; padding: 0; }
.npa-statchips li { background: var(--vine-soft); color: var(--vine-ink); border-radius: 999px; padding: .4rem .9rem; font-size: .88rem; font-weight: 600; }
/* proportional lanes */
.npa-seg { flex-direction: row !important; min-height: 48px; }
.npa-seg > div { align-items: center; text-align: center; padding: .55rem .3rem; }
.npa-seg .s1 { background: var(--seg1); color: var(--seg1-ink); }
.npa-seg .s2 { background: var(--seg2); color: var(--seg2-ink); }
.npa-seg .s4 { background: var(--seg4); color: var(--seg4-ink); }
.npa-seg b { font-size: .9rem; white-space: nowrap; }
/* tables */
.cmp-table { width: 100%; border-collapse: collapse; }
.cmp-table th, .cmp-table td { padding: .75rem .9rem; text-align: left; vertical-align: top; }
.cmp-table thead th { white-space: nowrap; padding-right: 1.4rem; }
.th-sort { white-space: nowrap; overflow: visible; padding-right: .2rem; }
@media (max-width: 700px) {
  .npa-cards, .npa-cards tbody, .npa-cards tr, .npa-cards td { display: block; width: 100%; }
  .npa-cards thead { position: absolute; left: -9999px; }
  .npa-cards tr { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: .7rem .9rem; margin-bottom: .6rem; }
  .npa-cards td { border: 0; padding: .15rem 0; }
  .npa-cards td[data-label]::before { content: attr(data-label) ": "; color: var(--ink-soft); font-weight: 600; }
  #npa-latest tr { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .65rem; padding: .6rem .9rem; margin-bottom: .5rem; }
  #npa-latest td:first-child { flex: 0 0 100%; width: 100%; white-space: normal; font-size: 1rem; }
  #npa-latest td:not(:first-child) { display: inline; width: auto; font-size: .92rem; }
  #npa-latest td[data-label]::before { content: none; }
  .npa-sortbar { flex-wrap: nowrap; gap: .4rem; }
  .npa-sortbar span { font-weight: 600; color: var(--ink-soft); font-size: .9rem; }
  .npa-sortbar button { padding: .3rem .7rem; font-size: .9rem; }
}
/* helpful articles grid: no orphan last row (13 and 16 items end in two rows of two) */
#helpful-articles .cards-3 { grid-template-columns: repeat(6, 1fr); }
#helpful-articles .cards-3 > * { grid-column: span 2; }
#helpful-articles .cards-3 > :nth-last-child(-n+4):nth-child(3n+1):nth-last-child(4) ~ * { }
#helpful-articles .cards-3.odd1 > :nth-last-child(-n+4), #helpful-articles .cards-3.odd2 > :nth-last-child(-n+2) { grid-column: span 3; }
#helpful-articles > h3.mt-0 { margin-top: 2.2rem; }
.npa-seg > div { font-weight: 700; font-size: .9rem; white-space: nowrap; justify-content: center; }
@media (max-width: 820px) { #helpful-articles .cards-3 { grid-template-columns: 1fr; } #helpful-articles .cards-3 > *, #helpful-articles .cards-3.odd1 > :nth-last-child(-n+4), #helpful-articles .cards-3.odd2 > :nth-last-child(-n+2) { grid-column: auto; } }
/* photos: no box-in-box; spacing; consistent H2 accent */
.npa-fig.npa-photo { border: 0; background: none; padding: 0; }
.npa-fig.npa-photo figcaption { margin-top: .6rem; }
.tour-list + *, .tour-list + .npa-fig { margin-top: 1.5rem; }
.section h2 { position: relative; padding-bottom: .6rem; border-bottom: 0; }
.section h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 3px; background: var(--vine); border-radius: 3px; }
.cta-banner h3::after { content: none; }
