:root {
    --bamvp-ink: #17342f;
    --bamvp-muted: #5f716d;
    --bamvp-paper: #fbfaf5;
    --bamvp-card: #ffffff;
    --bamvp-line: #dce5df;
    --bamvp-coral: #ff6f4f;
    --bamvp-coral-dark: #d84b32;
    --bamvp-mint: #dff4e8;
    --bamvp-sun: #f8d875;
    --bamvp-shadow: 0 18px 54px rgba(23, 52, 47, 0.1);
}

body.bamvp-product-page { color: var(--bamvp-ink); }
/* Approved Jannah navigation contrast; only Beta-owned pages, not editorial pages. */
body#tie-body.bamvp-product-page #theme-header #main-nav #main-nav-menu > ul > li > a {
    color: #17342f !important;
}
.bamvp-product-page *, .bamvp-product-page *::before, .bamvp-product-page *::after { box-sizing: border-box; }
.bamvp-product-page a { color: inherit; }
.bamvp-skip-link { position: fixed; z-index: 100000; left: 12px; top: -80px; border-radius: 8px; background: var(--bamvp-ink); color: #fff !important; padding: 10px 14px; }
.bamvp-skip-link:focus { top: 12px; }
.bamvp-main { width: 100%; min-width: 0; padding: 46px 0 82px; }
.bamvp-product-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 42px; border-bottom: 1px solid var(--bamvp-line); padding: 0 0 14px; }
.bamvp-product-nav a { border-radius: 999px; padding: 9px 14px; color: var(--bamvp-muted); font-size: 14px; font-weight: 700; text-decoration: none; }
.bamvp-product-nav a:hover, .bamvp-product-nav a:focus-visible, .bamvp-product-nav a[aria-current="page"] { background: var(--bamvp-mint); color: var(--bamvp-ink); }
.bamvp-hero { max-width: 880px; margin-bottom: 44px; }
.bamvp-hero-plan { padding: 18px 0 8px; }
.bamvp-hero-compact { max-width: 760px; }
.bamvp-eyebrow { margin: 0 0 12px; color: var(--bamvp-coral-dark); font-size: 12px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.bamvp-hero h1 { max-width: 840px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 8vw, 92px); line-height: .94; letter-spacing: -.055em; }
.bamvp-hero-compact h1 { font-size: clamp(44px, 6.5vw, 72px); }
.bamvp-lede { max-width: 720px; margin: 25px 0 0; color: var(--bamvp-muted); font-size: clamp(17px, 2vw, 21px); line-height: 1.62; }
.bamvp-plan-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr); gap: 24px; align-items: start; }
.bamvp-panel { border: 1px solid var(--bamvp-line); border-radius: 24px; background: rgba(255,255,255,.91); box-shadow: var(--bamvp-shadow); padding: clamp(22px, 4vw, 38px); }
.bamvp-result { position: sticky; top: 24px; min-height: 440px; overflow: hidden; isolation: isolate; }
.bamvp-result::after { position: absolute; right: -70px; bottom: -85px; width: 230px; height: 230px; border-radius: 50%; background: var(--bamvp-mint); content: ""; z-index: -1; }
.bamvp-result h2, .bamvp-panel h2 { margin: 0 0 10px; font-size: clamp(25px, 3vw, 34px); letter-spacing: -.035em; }
.bamvp-result > p:not(.bamvp-eyebrow), .bamvp-panel > p { color: var(--bamvp-muted); line-height: 1.65; }
.bamvp-section-heading { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 28px; }
.bamvp-section-heading > span { flex: 0 0 auto; display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 9px; border-radius: 13px; background: var(--bamvp-ink); color: #fff; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.bamvp-section-heading h2, .bamvp-section-heading p { margin: 0; }
.bamvp-section-heading p { margin-top: 4px; color: var(--bamvp-muted); }
.bamvp-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.bamvp-form label, .bamvp-form legend { color: var(--bamvp-ink); font-size: 14px; font-weight: 750; }
.bamvp-form input:not([type="checkbox"]), .bamvp-form select { width: 100%; min-height: 48px; margin-top: 8px; border: 1px solid #b9c8c1; border-radius: 12px; background: #fff; color: var(--bamvp-ink); padding: 10px 13px; font: inherit; }
.bamvp-form input:focus, .bamvp-form select:focus { outline: 3px solid rgba(255,111,79,.25); border-color: var(--bamvp-coral); }
.bamvp-form fieldset { margin: 25px 0 0; padding: 0; border: 0; }
.bamvp-form legend { margin-bottom: 10px; }
.bamvp-chip-grid { display: flex; flex-wrap: wrap; gap: 9px; }
.bamvp-chip-grid label { position: relative; cursor: pointer; }
.bamvp-chip-grid input { position: absolute; opacity: 0; pointer-events: none; }
.bamvp-chip-grid span { display: block; padding: 9px 13px; border: 1px solid var(--bamvp-line); border-radius: 999px; background: #fff; color: var(--bamvp-muted); }
.bamvp-chip-grid input:checked + span { border-color: var(--bamvp-ink); background: var(--bamvp-mint); color: var(--bamvp-ink); }
.bamvp-chip-grid input:focus-visible + span { outline: 3px solid rgba(255,111,79,.3); }
.bamvp-optional { color: var(--bamvp-muted); font-size: 12px; font-weight: 500; }
.bamvp-button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 13px; padding: 11px 17px; font: inherit; font-size: 14px; font-weight: 800; text-decoration: none; cursor: pointer; }
.bamvp-button-primary { margin-top: 28px; background: var(--bamvp-coral); color: #fff !important; box-shadow: 0 9px 22px rgba(216,75,50,.2); }
.bamvp-button-primary:hover { background: var(--bamvp-coral-dark); }
.bamvp-button-secondary { border-color: var(--bamvp-ink); background: var(--bamvp-ink); color: #fff !important; }
.bamvp-button-quiet { border-color: var(--bamvp-line); background: #fff; color: var(--bamvp-ink); }
.bamvp-button[disabled] { opacity: .56; cursor: wait; }
.bamvp-button-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.bamvp-button-row .bamvp-button { margin-top: 20px; }
.bamvp-form-note { margin: 15px 0 0; color: var(--bamvp-muted); font-size: 12px; line-height: 1.5; }
.bamvp-empty-illustration { display: flex; align-items: flex-end; gap: 9px; height: 84px; margin-bottom: 26px; }
.bamvp-empty-illustration span { width: 28px; border-radius: 999px; background: var(--bamvp-mint); }
.bamvp-empty-illustration span:nth-child(1) { height: 38px; }.bamvp-empty-illustration span:nth-child(2) { height: 68px; background: var(--bamvp-sun); }.bamvp-empty-illustration span:nth-child(3) { height: 52px; background: var(--bamvp-coral); }
.bamvp-route { list-style: none; margin: 25px 0 0; padding: 0; }
.bamvp-route li { position: relative; display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 17px 0; border-top: 1px solid var(--bamvp-line); }
.bamvp-route-index { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--bamvp-mint); font-weight: 850; }
.bamvp-route strong { display: block; }.bamvp-route small { color: var(--bamvp-muted); }
.bamvp-notice { margin: 18px 0 0; border-radius: 14px; padding: 13px 15px; background: #fff3cf; color: #624d0d; line-height: 1.5; }
.bamvp-notice-error { background: #fff0ed; color: #872f21; }
.bamvp-dashboard { display: grid; gap: 22px; }
.bamvp-auth-state { max-width: 680px; }
.bamvp-list { display: grid; gap: 14px; }
.bamvp-trip-card, .bamvp-match-card, .bamvp-request { border: 1px solid var(--bamvp-line); border-radius: 18px; background: #fff; padding: 20px; }
.bamvp-trip-card h3, .bamvp-match-card h3, .bamvp-request h3 { margin: 0 0 7px; font-size: 20px; }
.bamvp-meta { display: flex; flex-wrap: wrap; gap: 7px 14px; margin: 0 0 15px; color: var(--bamvp-muted); font-size: 13px; }
.bamvp-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 13px 0; }
.bamvp-tag { border-radius: 999px; background: var(--bamvp-mint); padding: 6px 9px; font-size: 12px; font-weight: 700; }
.bamvp-score { display: inline-grid; place-items: center; min-width: 58px; min-height: 58px; border-radius: 18px; background: var(--bamvp-ink); color: white; font-size: 17px; font-weight: 850; }
.bamvp-match-head { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; }
.bamvp-card-editor { margin-top: 24px; }
.bamvp-field-wide { grid-column: 1 / -1; }
.bamvp-empty { text-align: left; padding: clamp(28px, 5vw, 50px); }
.bamvp-empty .bamvp-button { margin-top: 12px; }
.bamvp-contact { margin-top: 13px; border-radius: 13px; padding: 12px 14px; background: var(--bamvp-mint); overflow-wrap: anywhere; }
.bamvp-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 18px; }
.bamvp-toolbar label { font-weight: 750; }.bamvp-toolbar select { min-height: 44px; min-width: 230px; margin-top: 6px; border: 1px solid #b9c8c1; border-radius: 11px; padding: 8px 12px; background: white; }
.bamvp-product-page #wpadminbar { position: fixed; }

@media (max-width: 820px) {
    .bamvp-main { padding-top: 38px; }
    .bamvp-product-nav { margin-bottom: 34px; }
    .bamvp-plan-layout { grid-template-columns: 1fr; }
    .bamvp-result { position: relative; top: auto; min-height: 320px; }
}

@media (max-width: 560px) {
    .bamvp-main { padding-top: 28px; }
    .bamvp-product-nav { flex-wrap: nowrap; max-width: 100%; overflow-x: auto; margin-bottom: 28px; padding-bottom: 12px; }
    .bamvp-product-nav a { white-space: nowrap; }
    .bamvp-hero { margin-bottom: 30px; }
    .bamvp-hero h1 { font-size: clamp(43px, 14vw, 60px); }
    .bamvp-field-grid { grid-template-columns: 1fr; }
    .bamvp-field-wide { grid-column: auto; }
    .bamvp-panel { border-radius: 18px; padding: 21px; }
    .bamvp-route li { grid-template-columns: 34px 1fr; }.bamvp-route li > small { grid-column: 2; }
}

@media (prefers-reduced-motion: no-preference) {
    .bamvp-button, .bamvp-product-nav a { transition: background-color .18s ease, transform .18s ease; }
    .bamvp-button:hover { transform: translateY(-1px); }
}

/* Tabbed Route Manual: approved material layer. Semantic content is added after
 * the Impeccable plate-position gate passes against the real Jannah chrome. */
.bamvp-product-page {
    background: #e5ddd2;
}

.bamvp-product-page .bamvp-main {
    overflow: hidden;
    padding: 0 0 2rem;
}

.bamvp-product-page .bamvp-product-nav {
    position: relative;
    z-index: 3;
    min-height: clamp(4.75rem, 10vw, 6.2rem);
    align-items: center;
    gap: clamp(1.25rem, 3vw, 3rem);
    margin: 0;
    border: 0;
    background: #fff;
    padding: 0 clamp(1.25rem, 6vw, 6rem);
    box-shadow: 0 8px 24px rgba(16, 17, 11, .08);
}

.bamvp-product-page .bamvp-product-nav a {
    border-radius: 0;
    padding: .65rem 0 .45rem;
    color: #4f514a;
    font-size: clamp(.82rem, 1vw, 1rem);
    font-weight: 800;
    letter-spacing: .04em;
}

.bamvp-product-page .bamvp-product-nav a:hover,
.bamvp-product-page .bamvp-product-nav a:focus-visible,
.bamvp-product-page .bamvp-product-nav a[aria-current="page"] {
    background: transparent;
    color: #10110b;
}

.bamvp-product-page .bamvp-product-nav a[aria-current="page"] {
    box-shadow: inset 0 -4px #efb10a;
}

.bamvp-manual-stage {
    position: relative;
    width: 100%;
    min-height: min(52.7vw, 52rem);
    margin-top: clamp(-2.8rem, -3.4vw, -1.5rem);
}

/* Jannah declares typography and submit-button skins with high-specificity
 * selectors. Keep those rules outside this self-contained manual surface. */
body.bamvp-product-page .bamvp-manual-spine,
body.bamvp-product-page .bamvp-manual-title,
body.bamvp-product-page .bamvp-manual-field > span,
body.bamvp-product-page .bamvp-manual-status h2,
body.bamvp-product-page .bamvp-manual-route-board span,
body.bamvp-product-page .bamvp-manual-tabs {
    font-family: "Karantina", sans-serif !important;
}

body.bamvp-product-page .bamvp-manual-action {
    border: 2px solid #10110b !important;
    border-radius: 0 !important;
    background: #efb10a !important;
    color: #10110b !important;
}

body.bamvp-product-page .bamvp-manual-action:hover {
    background: #ffd044 !important;
}

/* The production theme is framed on editorial pages. Product routes keep its
 * masthead and navigation, but release the frame so the approved manual can
 * use the full planning surface. */
body.bamvp-product-page #tie-container,
body.bamvp-product-page #tie-wrapper,
body.bamvp-product-page #content,
body.bamvp-product-page #main-content-row,
body.bamvp-product-page #theme-header {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
}

body.bamvp-product-page #content {
    margin-top: 0;
    padding-right: 0;
    padding-left: 0;
}

body.bamvp-product-page #tie-container,
body.bamvp-product-page #tie-wrapper {
    margin-top: 0;
    margin-bottom: 0;
}

body.bamvp-product-page .bamvp-product-nav {
    min-height: 5rem;
}

body.bamvp-product-page .bamvp-manual-stage {
    margin-top: -3.25rem;
}

body.bamvp-product-page .bamvp-button-primary {
    border: 2px solid #10110b;
    border-radius: 0;
    background: #efb10a;
    box-shadow: 5px 7px 14px rgba(16, 17, 11, .22);
    color: #10110b !important;
    text-transform: uppercase;
}

body.bamvp-product-page .bamvp-button-primary:hover {
    background: #ffd044;
}

body.bamvp-product-page .bamvp-button-quiet {
    border: 2px solid #10110b;
    border-radius: 0;
    background: transparent;
}

.bamvp-manual-refine {
    display: grid;
    width: min(78rem, calc(100% - 3rem));
    grid-template-columns: minmax(16rem, .7fr) minmax(0, 1.3fr);
    gap: clamp(2rem, 6vw, 6rem);
    margin: clamp(2rem, 5vw, 5rem) auto;
    border-top: 3px solid #10110b;
    border-bottom: 1px solid #10110b;
    background: rgba(250, 247, 239, .78);
    padding: clamp(2rem, 4vw, 4rem) 0;
}

.bamvp-refine-heading h2,
.bamvp-home h1,
.bamvp-home h2,
.bamvp-guide-hero h1,
.bamvp-guide-ledger h2,
.bamvp-guide-principles h2,
.bamvp-japan-decisions h2,
.bamvp-japan-publication h2,
.bamvp-japan-next h2,
.bamvp-record-hero h1,
.bamvp-record-gate h2 {
    margin: 0;
    font-family: "Karantina", sans-serif !important;
    font-weight: 400;
    letter-spacing: -.015em;
    line-height: .92;
}

.bamvp-refine-heading h2 { font-size: clamp(2.7rem, 4.2vw, 4.2rem); }
.bamvp-refine-heading p { max-width: 32rem; color: #4f514a; font-size: 1.05rem; line-height: 1.6; }
.bamvp-refine-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; }
.bamvp-refine-fields > label,
.bamvp-refine-fields legend { color: #10110b; font-size: .78rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.bamvp-refine-fields > label span { display: block; color: #64645e; font-size: .68rem; font-weight: 650; letter-spacing: 0; text-transform: none; }
.bamvp-refine-fields input[type="date"],
.bamvp-refine-fields select { width: 100%; min-height: 3rem; margin-top: .55rem; border: 1px solid #10110b; border-radius: 0; background: #fffef8; padding: .65rem .8rem; color: #10110b; }
.bamvp-refine-fields fieldset { grid-column: 1 / -1; margin: .5rem 0 0; border: 0; padding: 0; }
.bamvp-refine-checks { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .65rem; }
.bamvp-refine-checks label { position: relative; }
.bamvp-refine-checks input { position: absolute; opacity: 0; }
.bamvp-refine-checks span { display: block; border: 1px solid #10110b; background: #fffef8; padding: .58rem .8rem; font-size: .78rem; font-weight: 750; }
.bamvp-refine-checks input:checked + span { background: #76ced8; }
.bamvp-refine-checks input:focus-visible + span { outline: 3px solid #0c6ca8; outline-offset: 3px; }
.bamvp-refine-note { grid-column: 2; margin: 0; color: #565750; font-size: .82rem; line-height: 1.55; }

.bamvp-home {
    background: #e5ddd2;
}

.bamvp-home-hero {
    display: grid;
    min-height: 39rem;
    grid-template-columns: minmax(0, 1.05fr) minmax(28rem, .95fr);
    align-items: stretch;
    border-bottom: 2px solid #10110b;
}

.bamvp-home-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(3rem, 7vw, 7rem);
}

.bamvp-home-hero h1 {
    max-width: 11ch;
    font-size: clamp(4.6rem, 7.2vw, 6rem);
    text-wrap: balance;
}

.bamvp-home-hero-copy > p {
    max-width: 38rem;
    margin: 2rem 0 0;
    color: #3f403a;
    font-size: clamp(1.05rem, 1.45vw, 1.35rem);
    line-height: 1.55;
}

.bamvp-home-route-leaf {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    border-left: 1px solid #10110b;
    background: #f5f1e9;
    padding: 5rem clamp(3rem, 5vw, 5rem);
}

.bamvp-home-route-leaf::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 1.15rem;
    background: #efb10a;
    content: "";
}

.bamvp-home-route-leaf > p {
    margin: 0 0 2rem;
    font-family: "Karantina", sans-serif;
    font-size: 2.1rem;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.bamvp-home-route-leaf ol { margin: 0; padding: 0; list-style: none; }
.bamvp-home-route-leaf li { display: grid; grid-template-columns: 7rem 1fr; gap: 1.2rem; border-top: 1px solid #10110b; padding: 1.5rem 0; color: #42443d; line-height: 1.5; }
.bamvp-home-route-leaf li:last-child { border-bottom: 1px solid #10110b; }
.bamvp-home-route-leaf li span { color: #10110b; font-family: "Karantina", sans-serif; font-size: 1.8rem; text-transform: uppercase; }

.bamvp-home-mechanism,
.bamvp-home-destinations,
.bamvp-home-trust,
.bamvp-guide-hero,
.bamvp-guide-ledger,
.bamvp-guide-principles,
.bamvp-japan-decisions,
.bamvp-japan-publication,
.bamvp-japan-next,
.bamvp-record-hero,
.bamvp-record-gate,
.bamvp-record-dashboard,
.bamvp-record-editor {
    width: min(78rem, calc(100% - 3rem));
    margin-right: auto;
    margin-left: auto;
}

.bamvp-home-mechanism { padding: clamp(4rem, 8vw, 8rem) 0; }
.bamvp-home-mechanism h2,
.bamvp-home-destinations h2,
.bamvp-home-trust h2 { max-width: 12ch; font-size: clamp(3.5rem, 5.5vw, 5.3rem); }
.bamvp-home-steps { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 4rem; border-top: 2px solid #10110b; border-bottom: 1px solid #10110b; }
.bamvp-home-steps article { padding: 2rem 2.5rem 2.5rem 0; }
.bamvp-home-steps article + article { border-left: 1px solid #10110b; padding-left: 2.5rem; }
.bamvp-home-steps h3 { margin: 0 0 1rem; font-family: "Karantina", sans-serif; font-size: 2rem; font-weight: 400; text-transform: uppercase; }
.bamvp-home-steps p { margin: 0; color: #4c4d47; line-height: 1.65; }

.bamvp-home-destinations { display: grid; grid-template-columns: .8fr 1.2fr; gap: 5rem; border-top: 3px solid #10110b; padding: clamp(3.5rem, 7vw, 7rem) 0; }
.bamvp-home-destinations > div > p { max-width: 34rem; color: #4c4d47; line-height: 1.65; }
.bamvp-destination-ledger { border-top: 1px solid #10110b; }
.bamvp-destination-ledger > * { display: grid; grid-template-columns: 8rem 1fr auto; gap: 1rem; align-items: center; border-bottom: 1px solid #10110b; padding: 1.5rem 0; color: #10110b; text-decoration: none; }
.bamvp-destination-ledger span { font-family: "Karantina", sans-serif; font-size: 2rem; text-transform: uppercase; }
.bamvp-destination-ledger small { color: #5e5f59; }
.bamvp-destination-ledger a:hover { background: rgba(239, 177, 10, .13); }

.bamvp-home-trust { margin-bottom: 6rem; border: 2px solid #10110b; background: #76ced8; padding: clamp(2rem, 5vw, 4.5rem); }
.bamvp-home-trust p { max-width: 52rem; font-size: 1.05rem; line-height: 1.65; }
.bamvp-home-trust a { color: #10110b; font-weight: 850; text-underline-offset: .3em; }

.bamvp-guide-hero { padding: clamp(4rem, 8vw, 7rem) 0; }
.bamvp-guide-hero h1 { max-width: 14ch; font-size: clamp(4rem, 7vw, 6rem); text-wrap: balance; }
.bamvp-guide-hero > p { max-width: 48rem; margin: 2rem 0 0; color: #454640; font-size: 1.25rem; line-height: 1.6; }
.bamvp-guide-hero .bamvp-button { margin-top: 2rem; }
.bamvp-guide-ledger { margin-bottom: 6rem; border-top: 3px solid #10110b; }
.bamvp-guide-ledger h2 { padding: 2rem 0 1.5rem; font-size: 3.6rem; }
.bamvp-guide-row { display: grid; grid-template-columns: 11rem 1fr auto; gap: 1.5rem; align-items: center; border-top: 1px solid #10110b; padding: 1.8rem 0; color: #10110b; text-decoration: none; }
.bamvp-guide-row:last-child { border-bottom: 1px solid #10110b; }
.bamvp-guide-row span { font-family: "Karantina", sans-serif; font-size: 2.5rem; text-transform: uppercase; }
.bamvp-guide-row small { color: #5b5d56; }
.bamvp-guide-row[href]:hover { background: rgba(239, 177, 10, .12); }
.bamvp-guide-principles { margin-bottom: 6rem; }
.bamvp-guide-principles h2,
.bamvp-japan-decisions h2,
.bamvp-japan-publication h2,
.bamvp-japan-next h2 { font-size: clamp(3rem, 5vw, 4.8rem); }
.bamvp-guide-principles > div { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 2.5rem; border-top: 2px solid #10110b; }
.bamvp-guide-principles article { padding: 2rem 2rem 2rem 0; }
.bamvp-guide-principles article + article { border-left: 1px solid #10110b; padding-left: 2rem; }
.bamvp-guide-principles h3,
.bamvp-japan-publication h3 { margin: 0 0 .8rem; font-family: "Karantina", sans-serif; font-size: 2rem; font-weight: 400; text-transform: uppercase; }
.bamvp-guide-principles p,
.bamvp-japan-publication p,
.bamvp-japan-next p { color: #4c4d47; line-height: 1.65; }

.bamvp-japan-decisions { padding-bottom: 6rem; }
.bamvp-japan-decisions ol { margin: 2.5rem 0 0; border-top: 2px solid #10110b; padding: 0; list-style: none; }
.bamvp-japan-decisions li { display: grid; grid-template-columns: 13rem 1fr; gap: 3rem; border-bottom: 1px solid #10110b; padding: 1.5rem 0; }
.bamvp-japan-decisions li span { font-family: "Karantina", sans-serif; font-size: 2rem; text-transform: uppercase; }
.bamvp-japan-decisions li p { max-width: 45rem; margin: 0; color: #4c4d47; line-height: 1.6; }
.bamvp-japan-publication { display: grid; grid-template-columns: 1.1fr .9fr; gap: 5rem; margin-bottom: 6rem; border-top: 3px solid #10110b; border-bottom: 1px solid #10110b; padding: 3rem 0; }
.bamvp-japan-next { margin-bottom: 6rem; background: #76ced8; padding: clamp(2.5rem, 5vw, 4.5rem); }
.bamvp-japan-next p { max-width: 48rem; color: #20221e; }

.bamvp-record-hero { display: grid; grid-template-columns: 1fr minmax(24rem, .62fr); gap: 5rem; padding: clamp(4rem, 7vw, 6rem) 0; }
.bamvp-record-hero h1 { max-width: 12ch; font-size: clamp(4rem, 7vw, 6rem); text-wrap: balance; }
.bamvp-record-hero > div > p { max-width: 44rem; color: #474842; font-size: 1.15rem; line-height: 1.65; }
.bamvp-record-hero dl { align-self: end; margin: 0; border-top: 2px solid #10110b; }
.bamvp-record-hero dl div { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid #10110b; padding: 1rem 0; }
.bamvp-record-hero dt { color: #5d5f58; }
.bamvp-record-hero dd { margin: 0; font-weight: 850; }
.bamvp-record-gate { display: flex; align-items: center; justify-content: space-between; gap: 3rem; margin-bottom: 7rem; border-top: 3px solid #10110b; border-bottom: 1px solid #10110b; background: rgba(250,247,239,.72); padding: 3rem 0; }
.bamvp-record-gate h2 { font-size: clamp(3rem, 4.6vw, 4.5rem); }
.bamvp-record-gate p { max-width: 42rem; color: #4d4e48; line-height: 1.6; }
.bamvp-record-loading { border-top: 3px solid #10110b; border-bottom: 1px solid #10110b; padding: 3rem 0; }
.bamvp-record-dashboard { margin-bottom: 6rem; }
.bamvp-record-dashboard .bamvp-panel,
.bamvp-record-editor { border: 0; border-top: 3px solid #10110b; border-bottom: 1px solid #10110b; border-radius: 0; background: rgba(250,247,239,.78); box-shadow: none; }

.bamvp-manual-status.is-loading > p {
    position: absolute;
    left: 21.9%;
    top: 56%;
    margin: 0;
    color: #373730;
    font-weight: 750;
}

.bamvp-manual-status.is-route-ready > .bamvp-eyebrow {
    position: absolute;
    left: 21.9%;
    top: 52.5%;
    margin: 0;
    color: #b53f00;
}

.bamvp-manual-status.is-route-ready > p:nth-of-type(2) {
    position: absolute;
    left: 21.9%;
    top: 59%;
    width: 50%;
    margin: 0;
    color: #373730;
    font-size: clamp(.62rem, .76vw, .76rem);
}

.bamvp-manual-status.is-route-ready > p:nth-of-type(3) {
    position: absolute;
    left: 21.9%;
    top: 62.5%;
    margin: 0;
    color: #55574f;
    font-size: clamp(.6rem, .72vw, .72rem);
}

.bamvp-manual-status.is-route-ready > p:nth-of-type(4) { display: none; }
.bamvp-manual-status-symbol--ready::after { transform: rotate(135deg); }
.bamvp-manual-status.is-route-ready .bamvp-route {
    position: absolute;
    left: 12.9%;
    top: 70.5%;
    display: grid;
    width: 74.6%;
    max-height: 25.8%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    overflow: auto;
    border: 1px solid #10110b;
    background: rgba(255, 254, 248, .35);
    padding: 0;
}

.bamvp-manual-status.is-route-ready .bamvp-route li {
    grid-template-columns: 2rem 1fr auto;
    min-height: 3rem;
    border-top: 0;
    border-bottom: 1px solid rgba(16, 17, 11, .35);
    padding: .55rem .7rem;
}

.bamvp-manual-status.is-route-ready .bamvp-route li:nth-child(odd) { border-right: 1px solid rgba(16, 17, 11, .35); }
.bamvp-manual-status.is-route-ready .bamvp-route-index { width: 1.7rem; height: 1.7rem; border-radius: 0; background: #efb10a; }
.bamvp-manual-status.is-route-ready > .bamvp-button { position: absolute; right: 13%; top: 59%; margin: 0; }
.bamvp-manual-status.is-unavailable > .bamvp-notice { position: absolute; left: 21.9%; top: 66%; width: 48%; margin: 0; }

@media (max-width: 820px) {
    .bamvp-home-hero,
    .bamvp-home-destinations,
    .bamvp-japan-publication,
    .bamvp-record-hero,
    .bamvp-manual-refine {
        grid-template-columns: 1fr;
    }

    .bamvp-home-hero { min-height: 0; }
    .bamvp-home-hero-copy { padding: 4rem 1.5rem; }
    .bamvp-home-hero h1 { max-width: 10ch; font-size: clamp(4rem, 16vw, 5.4rem); }
    .bamvp-home-route-leaf { min-height: 30rem; border-top: 2px solid #10110b; border-left: 0; padding: 4rem 2rem 4rem 3rem; }
    .bamvp-home-steps,
    .bamvp-guide-principles > div { grid-template-columns: 1fr; }
    .bamvp-home-steps article + article,
    .bamvp-guide-principles article + article { border-top: 1px solid #10110b; border-left: 0; padding-left: 0; }
    .bamvp-home-destinations { gap: 2rem; }
    .bamvp-destination-ledger > *,
    .bamvp-guide-row { grid-template-columns: 1fr; gap: .25rem; }
    .bamvp-guide-row small,
    .bamvp-destination-ledger small { margin-top: .35rem; }
    .bamvp-guide-hero { padding: 4rem 0; }
    .bamvp-guide-hero h1 { font-size: clamp(3.8rem, 15vw, 5rem); }
    .bamvp-japan-decisions li { grid-template-columns: 1fr; gap: .4rem; }
    .bamvp-record-hero { gap: 2rem; }
    .bamvp-record-hero h1 { font-size: clamp(3.8rem, 15vw, 5rem); }
    .bamvp-record-gate { align-items: flex-start; flex-direction: column; }
    .bamvp-refine-fields { grid-template-columns: 1fr; }
    .bamvp-refine-fields fieldset,
    .bamvp-refine-note { grid-column: 1; }
}

@media (max-width: 700px) {
    body.bamvp-product-page .bamvp-main { overflow: visible; }
    body.bamvp-product-page .bamvp-product-nav { min-height: 5rem; padding-inline: 1rem; }
    body.bamvp-product-page .bamvp-manual-stage {
        min-height: 0;
        margin-top: 0;
        overflow: hidden;
        background: #f5f1e9;
        padding: 2.2rem 1.25rem 2rem 4.1rem;
    }

    .bamvp-manual-stage::before {
        position: absolute;
        inset: 0 auto 0 0;
        z-index: 1;
        width: 3.2rem;
        border-right: 2px solid #10110b;
        background: #efb10a;
        box-shadow: 7px 0 16px rgba(16,17,11,.16);
        content: "";
    }

    .bamvp-manual-plate { display: none; }
    .bamvp-manual-title,
    .bamvp-manual-lede,
    .bamvp-manual-form,
    .bamvp-manual-status,
    .bamvp-manual-tabs { position: relative; inset: auto; left: auto; top: auto; width: auto; height: auto; }
    .bamvp-manual-spine { left: .55rem; top: 2rem; width: 2rem; height: calc(100% - 4rem); font-size: 2rem; }
    .bamvp-manual-title { font-size: clamp(3.4rem, 15vw, 4.3rem); line-height: .9; }
    .bamvp-manual-lede { margin-top: 1.1rem; font-size: 1rem; line-height: 1.5; }
    .bamvp-manual-form { display: grid; gap: 1rem; margin-top: 1.7rem; }
    .bamvp-manual-rule { position: static; width: 100%; height: 2px; }
    .bamvp-manual-field { position: static; width: 100%; }
    .bamvp-manual-field > span { margin-bottom: .4rem; font-size: .9rem; }
    .bamvp-manual-field select { height: 3.15rem; font-size: .88rem; }
    .bamvp-manual-action { position: static; width: 100%; height: 3.25rem; margin-top: .2rem; }
    .bamvp-manual-status { display: grid; min-height: 0; grid-template-columns: 3rem 1fr; gap: .2rem 1rem; margin-top: 1.5rem; border-top: 2px solid #10110b; padding-top: 1.4rem; }
    .bamvp-manual-status-symbol { position: relative; left: auto; top: auto; grid-row: 1 / span 2; width: 2.5rem; }
    .bamvp-manual-status h2,
    .bamvp-manual-status > p,
    .bamvp-manual-status.is-loading > p,
    .bamvp-manual-status.is-route-ready > .bamvp-eyebrow,
    .bamvp-manual-status.is-route-ready > p:nth-of-type(2),
    .bamvp-manual-status.is-route-ready > p:nth-of-type(3),
    .bamvp-manual-status.is-unavailable > .bamvp-notice {
        position: static;
        left: auto;
        top: auto;
        width: auto;
        margin: 0;
    }
    .bamvp-manual-status h2 { font-size: 1.45rem; line-height: 1; }
    .bamvp-manual-status > p { font-size: .82rem; line-height: 1.5; }
    .bamvp-manual-route-board { position: relative; left: auto; top: auto; grid-column: 1 / -1; width: 100%; height: 10rem; margin-top: 1rem; }
    .bamvp-manual-status.is-route-ready .bamvp-route { position: relative; left: auto; top: auto; display: block; grid-column: 1 / -1; width: 100%; max-height: none; margin-top: 1rem; }
    .bamvp-manual-status.is-route-ready .bamvp-route li { grid-template-columns: 2rem 1fr; }
    .bamvp-manual-status.is-route-ready .bamvp-route li:nth-child(odd) { border-right: 0; }
    .bamvp-manual-status.is-route-ready > .bamvp-button { position: static; grid-column: 1 / -1; margin-top: 1rem; }
    .bamvp-manual-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .25rem; margin-top: 1.5rem; }
    .bamvp-manual-tabs li { position: static; left: auto; top: auto !important; width: auto; height: auto; min-height: 3.4rem; padding: .55rem; }
    .bamvp-manual-tabs li:nth-child(1) { background: #efb10a; }
    .bamvp-manual-tabs li:nth-child(2) { background: #da570d; }
    .bamvp-manual-tabs li:nth-child(3) { background: #84ce4c; }
    .bamvp-manual-tabs li:nth-child(4) { background: #19b8b5; }
    .bamvp-manual-tabs li:nth-child(5) { background: #315eb5; }
    .bamvp-manual-tabs li:nth-child(6) { background: #6f3bb0; }
    .bamvp-manual-refine { width: calc(100% - 2rem); gap: 1rem; margin: 2.5rem auto; padding: 2.5rem 0; }
    .bamvp-refine-heading h2 { font-size: 3.5rem; }
    .bamvp-refine-fields { grid-template-columns: 1fr; }
    .bamvp-refine-checks { gap: .4rem; }
    .bamvp-home-mechanism,
    .bamvp-home-destinations,
    .bamvp-home-trust,
    .bamvp-guide-hero,
    .bamvp-guide-ledger,
    .bamvp-guide-principles,
    .bamvp-japan-decisions,
    .bamvp-japan-publication,
    .bamvp-japan-next,
    .bamvp-record-hero,
    .bamvp-record-gate,
    .bamvp-record-dashboard,
    .bamvp-record-editor { width: calc(100% - 3rem); }
    .bamvp-home-route-leaf li { grid-template-columns: 5.5rem 1fr; }
    .bamvp-home-mechanism h2,
    .bamvp-home-destinations h2,
    .bamvp-home-trust h2 { font-size: 3.7rem; }
}

.bamvp-manual-plate {
    position: absolute;
    inset: 0 auto auto 0;
    width: 99%;
    margin: 0;
}

.bamvp-manual-plate img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 700px) {
    .bamvp-product-page .bamvp-product-nav {
        min-height: 4.5rem;
        overflow-x: auto;
        padding-inline: 1rem;
    }

    .bamvp-manual-stage {
        min-height: 56vw;
        margin-top: -1.15rem;
    }
}

@font-face {
    font-family: "Karantina";
    src: url("fonts/Karantina-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

.bamvp-manual-stage {
    color: #10110b;
    isolation: isolate;
}

.bamvp-manual-stage ::selection {
    background: #10110b;
    color: #efb10a;
}

.bamvp-manual-spine,
.bamvp-manual-title,
.bamvp-manual-lede,
.bamvp-manual-form,
.bamvp-manual-status,
.bamvp-manual-tabs {
    position: absolute;
    z-index: 2;
}

.bamvp-manual-spine {
    left: 2.5%;
    top: 43.7%;
    width: 5.5%;
    height: 39.5%;
    margin: 0;
    font-family: "Karantina", sans-serif;
    font-size: clamp(1.7rem, 3.47vw, 3.44rem);
    font-weight: 400;
    line-height: .85;
    letter-spacing: .01em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.bamvp-manual-title {
    left: 16.7%;
    top: 11.1%;
    width: 43%;
    margin: 0;
    font-family: "Karantina", sans-serif;
    font-size: clamp(3rem, 5.23vw, 5.2rem);
    font-weight: 400;
    line-height: .92;
    letter-spacing: -.015em;
    text-wrap: balance;
}

.bamvp-manual-lede {
    left: 16.8%;
    top: 22.2%;
    width: 27%;
    margin: 0;
    color: #373730;
    font-size: clamp(.85rem, 1.52vw, 1.5rem);
    font-weight: 650;
    line-height: 1.25;
}

.bamvp-manual-form {
    inset: 0;
}

.bamvp-manual-rule {
    position: absolute;
    left: 16.8%;
    width: 69%;
    height: max(1px, .24vw);
    background: #10110b;
}

.bamvp-manual-rule--top { top: 33.4%; }
.bamvp-manual-rule--bottom { top: 50.1%; }

.bamvp-manual-field {
    position: absolute;
    color: #10110b;
    font-weight: 850;
}

.bamvp-manual-field > span {
    display: block;
    margin-bottom: .4em;
    font-family: "Karantina", sans-serif;
    font-size: clamp(.72rem, .95vw, .95rem);
    font-weight: 400;
    letter-spacing: .09em;
    line-height: 1;
    text-transform: uppercase;
}

.bamvp-manual-field select {
    width: 100%;
    height: clamp(2.15rem, 3.2vw, 3.2rem);
    appearance: none;
    border: 2px solid #10110b;
    border-radius: 0;
    background-color: rgba(255, 255, 250, .78);
    background-image: linear-gradient(45deg, transparent 50%, #10110b 50%), linear-gradient(135deg, #10110b 50%, transparent 50%);
    background-position: calc(100% - .9rem) 50%, calc(100% - .58rem) 50%;
    background-repeat: no-repeat;
    background-size: .34rem .34rem, .34rem .34rem;
    color: #10110b;
    padding: 0 2rem 0 clamp(.55rem, .9vw, .9rem);
    font: inherit;
    font-size: clamp(.7rem, .88vw, .88rem);
    font-weight: 800;
}

.bamvp-manual-field select:hover { background-color: #fffef8; }
.bamvp-manual-field select:focus-visible,
.bamvp-manual-action:focus-visible,
.bamvp-product-page .bamvp-product-nav a:focus-visible {
    outline: 3px solid #0c6ca8;
    outline-offset: 3px;
}

.bamvp-manual-field--destination { left: 16.8%; top: 36.3%; width: 14.2%; }
.bamvp-manual-field--duration { left: 33.1%; top: 36.3%; width: 12%; }
.bamvp-manual-field--pace { left: 47.2%; top: 36.3%; width: 12.4%; }
.bamvp-manual-field--focus { left: 61.5%; top: 36.3%; width: 11.2%; }

.bamvp-manual-action {
    position: absolute;
    left: 73.9%;
    top: 38.6%;
    width: 11.8%;
    height: clamp(2.25rem, 3.52vw, 3.5rem);
    border: 2px solid #10110b;
    border-radius: 0;
    background: #efb10a;
    box-shadow: 5px 7px 12px rgba(16, 17, 11, .28);
    color: #10110b;
    font-size: clamp(.68rem, .88vw, .88rem);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
}

.bamvp-manual-action:hover { background: #ffd044; transform: translateY(-2px); }
.bamvp-manual-action:disabled { cursor: wait; filter: saturate(.4); opacity: .72; }

.bamvp-manual-status {
    inset: 0;
}

.bamvp-manual-status-symbol {
    position: absolute;
    left: 17%;
    top: 53.5%;
    width: clamp(1.9rem, 3.15vw, 3.12rem);
    aspect-ratio: 1;
    border: clamp(2px, .25vw, 4px) solid #da570d;
    border-radius: 50%;
}

.bamvp-manual-status-symbol::after {
    position: absolute;
    left: 13%;
    top: 45%;
    width: 74%;
    height: clamp(2px, .22vw, 4px);
    background: #da570d;
    content: "";
    transform: rotate(-35deg);
    transform-origin: center;
}

.bamvp-manual-status h2 {
    position: absolute;
    left: 21.9%;
    top: 54.25%;
    width: 28%;
    margin: 0;
    color: #b53f00;
    font-family: "Karantina", sans-serif;
    font-size: clamp(.94rem, 1.4vw, 1.4rem);
    font-weight: 400;
    letter-spacing: .02em;
    line-height: 1;
    text-transform: uppercase;
}

.bamvp-manual-status > p {
    position: absolute;
    left: 21.9%;
    top: 58.45%;
    width: 34%;
    margin: 0;
    color: #373730;
    font-size: clamp(.66rem, .88vw, .88rem);
    font-weight: 650;
    line-height: 1.25;
}

.bamvp-manual-route-board {
    position: absolute;
    left: 12.9%;
    top: 71.5%;
    display: grid;
    width: 74.6%;
    height: 25.7%;
    grid-template-columns: 18% 1fr;
    border: 2px solid rgba(16, 17, 11, .72);
    color: #10110b;
}

.bamvp-manual-route-board::before {
    position: absolute;
    top: 20%;
    right: 0;
    left: 0;
    height: 1px;
    background: rgba(16, 17, 11, .55);
    content: "";
}

.bamvp-manual-route-board::after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 18%;
    width: 1px;
    background: rgba(16, 17, 11, .55);
    content: "";
}

.bamvp-manual-route-board span {
    padding: 3.2% 4%;
    font-family: "Karantina", sans-serif;
    font-size: clamp(.8rem, 1.1vw, 1.1rem);
    font-weight: 400;
    letter-spacing: .08em;
    line-height: 1;
    text-transform: uppercase;
}

.bamvp-manual-tabs {
    inset: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: "Karantina", sans-serif;
    font-size: clamp(.8rem, 1.12vw, 1.1rem);
    font-weight: 400;
    letter-spacing: .05em;
    line-height: .95;
    text-transform: uppercase;
}

.bamvp-manual-tabs li {
    position: absolute;
    left: 90%;
    display: flex;
    width: 6.8%;
    height: 10.8%;
    flex-direction: column;
    justify-content: center;
    padding-left: 1.2%;
    color: #10110b;
}

.bamvp-manual-tabs li span { display: block; font-size: .7em; }
.bamvp-manual-tabs li:nth-child(1) { top: 5.5%; }
.bamvp-manual-tabs li:nth-child(2) { top: 17.6%; }
.bamvp-manual-tabs li:nth-child(3) { top: 31.1%; }
.bamvp-manual-tabs li:nth-child(4) { top: 44.2%; }
.bamvp-manual-tabs li:nth-child(5) { top: 56.3%; color: #fff; }
.bamvp-manual-tabs li:nth-child(6) { top: 69.7%; color: #fff; }

@media (prefers-reduced-motion: no-preference) {
    .bamvp-manual-plate {
        animation: bamvp-manual-settle .72s cubic-bezier(.16, 1, .3, 1) both;
    }

    .bamvp-manual-action {
        transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
    }

    @keyframes bamvp-manual-settle {
        from { filter: blur(5px); transform: translateY(12px); }
        to { filter: blur(0); transform: translateY(0); }
    }

    .bamvp-home-route-leaf::before {
        animation: bamvp-spine-open .62s cubic-bezier(.16, 1, .3, 1) both;
        transform-origin: top;
    }

    .bamvp-home-route-leaf > p,
    .bamvp-home-route-leaf > ol {
        animation: bamvp-record-reveal .72s .1s cubic-bezier(.16, 1, .3, 1) both;
    }

    @keyframes bamvp-spine-open {
        from { transform: scaleY(.08); }
        to { transform: scaleY(1); }
    }

    @keyframes bamvp-record-reveal {
        from { clip-path: inset(0 100% 0 0); filter: blur(3px); }
        to { clip-path: inset(0); filter: blur(0); }
    }
}

.bamvp-route-family-index,
.bamvp-source-ledger,
.bamvp-route-sheet {
    width: min(1180px, calc(100% - 4rem));
    margin-inline: auto;
}

.bamvp-route-family-index { margin-bottom: 6rem; border-top: 3px solid #10110b; padding-top: 3rem; }
.bamvp-route-family-index > h2,
.bamvp-source-ledger > h2 { max-width: 12ch; font-size: clamp(3.6rem, 6vw, 6rem); }
.bamvp-route-family-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: 2px solid #10110b; }
.bamvp-route-family-grid a { min-height: 19rem; color: #10110b; padding: 2.5rem; text-decoration: none; }
.bamvp-route-family-grid a + a { border-left: 2px solid #10110b; background: #76ced8; }
.bamvp-route-family-grid span { font-size: .78rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.bamvp-route-family-grid h3 { margin-top: 4rem; font-size: clamp(2.8rem, 4vw, 4rem); }
.bamvp-route-family-grid p { max-width: 34rem; line-height: 1.6; }

.bamvp-source-ledger { margin-bottom: 7rem; }
.bamvp-source-ledger > p:not(.bamvp-eyebrow) { max-width: 48rem; color: #4d4e48; line-height: 1.6; }
.bamvp-source-ledger ol { margin: 2.5rem 0 0; padding: 0; border-top: 3px solid #10110b; list-style: none; }
.bamvp-source-ledger li { display: grid; grid-template-columns: minmax(18rem, .9fr) 1.1fr; gap: 2rem; border-bottom: 1px solid #10110b; padding: 1.3rem 0; }
.bamvp-source-ledger a { color: #10110b; font-weight: 850; }
.bamvp-source-ledger span { color: #5b5d55; }

.bamvp-route-sheet { padding: clamp(4rem, 7vw, 7rem) 0 7rem; }
.bamvp-route-sheet-hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 4rem; border-bottom: 3px solid #10110b; padding-bottom: 4rem; }
.bamvp-route-sheet-hero > .bamvp-eyebrow,
.bamvp-route-sheet-hero > h1,
.bamvp-route-sheet-hero > p { grid-column: 1; }
.bamvp-route-sheet-hero h1 { max-width: 9ch; margin: 0; font-size: clamp(5rem, 9vw, 9rem); line-height: .82; }
.bamvp-route-sheet-hero > p { max-width: 48rem; color: #42443e; font-size: 1.15rem; line-height: 1.65; }
.bamvp-route-sheet-hero dl { grid-column: 2; grid-row: 1 / span 3; align-self: end; margin: 0; border-top: 2px solid #10110b; }
.bamvp-route-sheet-hero dl div { display: grid; grid-template-columns: 1fr 1.3fr; border-bottom: 1px solid #10110b; padding: 1rem 0; }
.bamvp-route-sheet-hero dt { color: #5b5d55; }
.bamvp-route-sheet-hero dd { margin: 0; font-weight: 850; }
.bamvp-route-sheet-stops { padding: 5rem 0; }
.bamvp-route-sheet-stops > h2 { font-size: clamp(3.5rem, 6vw, 6rem); }
.bamvp-route-sheet-stops ol { margin: 2rem 0 0; padding: 0; border-top: 3px solid #10110b; list-style: none; }
.bamvp-route-sheet-stops li { display: grid; grid-template-columns: 10rem minmax(13rem, .6fr) 1fr; gap: 2rem; align-items: baseline; border-bottom: 1px solid #10110b; padding: 1.35rem 0; }
.bamvp-route-sheet-stops li span { color: #b53f00; font-size: .8rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.bamvp-route-sheet-stops li strong { font-size: 1.35rem; }
.bamvp-route-sheet-stops li p { margin: 0; color: #55574f; line-height: 1.55; }
.bamvp-route-sheet-proof { display: grid; grid-template-columns: 1.1fr .9fr; gap: 5rem; border-top: 3px solid #10110b; border-bottom: 1px solid #10110b; padding: 3rem 0; }
.bamvp-route-sheet-proof h2 { font-size: clamp(3rem, 5vw, 5rem); }
.bamvp-route-sheet-proof p { color: #4c4d47; line-height: 1.6; }
.bamvp-route-sheet-proof a { color: #10110b; font-weight: 900; }
.bamvp-route-sheet-cta { display: flex; align-items: center; justify-content: space-between; gap: 3rem; margin-top: 5rem; background: #efb10a; padding: 3rem; }
.bamvp-route-sheet--nature .bamvp-route-sheet-cta { background: #76ced8; }
.bamvp-route-sheet-cta h2 { max-width: 12ch; margin: 0; font-size: clamp(3rem, 5vw, 5rem); }

@media (max-width: 820px) {
    .bamvp-route-family-index,
    .bamvp-source-ledger,
    .bamvp-route-sheet { width: calc(100% - 3rem); }
    .bamvp-route-family-grid,
    .bamvp-route-sheet-hero,
    .bamvp-route-sheet-proof { grid-template-columns: 1fr; }
    .bamvp-route-family-grid a + a { border-top: 2px solid #10110b; border-left: 0; }
    .bamvp-route-family-grid a { min-height: 15rem; }
    .bamvp-route-family-grid h3 { margin-top: 2.5rem; }
    .bamvp-source-ledger li,
    .bamvp-route-sheet-stops li { grid-template-columns: 1fr; gap: .35rem; }
    .bamvp-route-sheet-hero > .bamvp-eyebrow,
    .bamvp-route-sheet-hero > h1,
    .bamvp-route-sheet-hero > p,
    .bamvp-route-sheet-hero dl { grid-column: 1; grid-row: auto; }
    .bamvp-route-sheet-hero { gap: 1rem; }
    .bamvp-route-sheet-hero dl { margin-top: 2rem; }
    .bamvp-route-sheet-cta { align-items: flex-start; flex-direction: column; }
}

/* Final mobile cascade: desktop coordinates become a touch-first reading flow. */
@media (min-width: 1001px) {
    body.bamvp-product-page .bamvp-product-nav { min-height: 55px; }
    body.bamvp-product-page .bamvp-manual-stage { margin-top: 0; }
    .bamvp-manual-title { text-transform: uppercase; }
    .bamvp-manual-lede { color: #53524e; font-weight: 400; font-size: clamp(1rem, 1.45vw, 1.4rem); }
    .bamvp-manual-rule { height: 1px; background: #b7afa1; }
    .bamvp-manual-field select { border: 1px solid #9b958a; font-weight: 500; }
    .bamvp-manual-route-board { grid-template-columns: 68% 1fr; border-color: #a89d88; }
    .bamvp-manual-route-board::after { left: 68%; background: #a89d88; }
    .bamvp-manual-route-board span { padding: .5rem 1.5rem; }
    .bamvp-manual-tabs li { left: 95.3%; width: 3.5%; padding-left: .4%; }
    .bamvp-manual-tabs { font-size: clamp(.95rem, 1.15vw, 1.15rem); white-space: nowrap; }
    .bamvp-manual-tabs li span { font-size: 1.1em; }
}
/* Full-canvas overlays must not capture clicks intended for form controls. */
.bamvp-manual-tabs,
.bamvp-manual-plate,
.bamvp-manual-spine,
.bamvp-manual-status { pointer-events: none; }
.bamvp-manual-status > * { pointer-events: auto; }
.bamvp-manual-status-symbol--ready::after { transform: rotate(0deg); }
.bamvp-manual-status-symbol--ready { border-color: #315730; }
.bamvp-manual-status-symbol--ready::after {
    left: 22%; top: 20%; width: 35%; height: 52%;
    border: solid #315730; border-width: 0 3px 3px 0;
    background: none; transform: rotate(45deg);
}
body.bamvp-product-page .bamvp-route-sheet h1,
body.bamvp-product-page .bamvp-route-sheet h2,
body.bamvp-product-page .bamvp-route-family-index h2,
body.bamvp-product-page .bamvp-route-family-index h3,
body.bamvp-product-page .bamvp-source-ledger h2 {
    font-family: "Karantina", sans-serif !important;
    font-weight: 400;
    line-height: .98;
}
.bamvp-main :is(a, button, select, input):focus-visible {
    outline: 3px solid #0c6ca8;
    outline-offset: 3px;
}
.bamvp-home-trust > a,
.bamvp-source-ledger li > a,
.bamvp-route-sheet-proof a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    text-decoration: underline;
    text-underline-offset: .2em;
}
.bamvp-refine-checks label > span { min-height: 44px; display: flex; align-items: center; }
@media (max-width: 1000px) {
    body.bamvp-product-page .bamvp-manual-stage {
        min-height: 0;
        margin-top: 0;
        overflow: hidden;
        background: #f5f1e9;
        padding: 2.2rem 1.25rem 2rem 4.1rem;
    }
    .bamvp-manual-stage::before {
        position: absolute;
        inset: 0 auto 0 0;
        z-index: 1;
        width: 3.2rem;
        border-right: 2px solid #10110b;
        background: #efb10a;
        box-shadow: 7px 0 16px rgba(16,17,11,.16);
        content: "";
    }
    .bamvp-manual-plate { display: none; }
    .bamvp-manual-title,
    .bamvp-manual-lede,
    .bamvp-manual-form,
    .bamvp-manual-status,
    .bamvp-manual-tabs { position: relative; inset: auto; left: auto; top: auto; width: auto; height: auto; }
    .bamvp-manual-spine { left: .55rem; top: 2rem; width: 2rem; height: calc(100% - 4rem); font-size: 2rem; }
    .bamvp-manual-title { font-size: clamp(3.4rem, 15vw, 4.3rem); line-height: .9; }
    .bamvp-manual-lede { margin-top: 1.1rem; font-size: 1rem; line-height: 1.5; }
    .bamvp-manual-form { display: grid; gap: 1rem; margin-top: 1.7rem; }
    .bamvp-manual-rule { position: static; width: 100%; height: 2px; }
    .bamvp-manual-field { position: static; width: 100%; }
    .bamvp-manual-field > span { margin-bottom: .4rem; font-size: .9rem; }
    .bamvp-manual-field select { height: 3.15rem; font-size: 1rem; }
    body.bamvp-product-page .bamvp-manual-action {
        position: static !important;
        left: auto !important;
        top: auto !important;
        width: 100%;
        height: 3.25rem;
        margin-top: .2rem;
    }
    .bamvp-manual-status { display: grid; min-height: 0; grid-template-columns: 3rem 1fr; gap: .2rem 1rem; margin-top: 1.5rem; border-top: 2px solid #10110b; padding-top: 1.4rem; }
    .bamvp-manual-status-symbol { position: relative; left: auto; top: auto; grid-row: 1 / span 2; width: 2.5rem; }
    .bamvp-manual-status h2,
    .bamvp-manual-status > p,
    .bamvp-manual-status.is-loading > p,
    .bamvp-manual-status.is-route-ready > .bamvp-eyebrow,
    .bamvp-manual-status.is-route-ready > p:nth-of-type(2),
    .bamvp-manual-status.is-route-ready > p:nth-of-type(3),
    .bamvp-manual-status.is-unavailable > .bamvp-notice { position: static; left: auto; top: auto; width: auto; margin: 0; }
    .bamvp-manual-status h2 { font-size: 1.45rem; line-height: 1; }
    .bamvp-manual-status > p { font-size: .82rem; line-height: 1.5; }
    .bamvp-manual-status.is-route-ready > h2,
    .bamvp-manual-status.is-route-ready > .bamvp-eyebrow { grid-column: 2; }
    .bamvp-manual-status.is-route-ready > p:nth-of-type(2),
    .bamvp-manual-status.is-route-ready > p:nth-of-type(3) {
        grid-column: 1 / -1;
        font-size: .875rem;
        margin-top: .65rem;
    }
    .bamvp-manual-status .bamvp-route small { font-size: .875rem; }
    body.bamvp-product-page .bamvp-manual-action { font-size: 1rem; }
    .bamvp-manual-route-board { position: relative; left: auto; top: auto; grid-column: 1 / -1; width: 100%; height: 10rem; margin-top: 1rem; }
    .bamvp-manual-status.is-route-ready .bamvp-route { position: relative; left: auto; top: auto; display: block; grid-column: 1 / -1; width: 100%; max-height: none; margin-top: 1rem; }
    .bamvp-manual-status.is-route-ready .bamvp-route li { grid-template-columns: 2rem 1fr; }
    .bamvp-manual-status.is-route-ready .bamvp-route li:nth-child(odd) { border-right: 0; }
    .bamvp-manual-status.is-route-ready > .bamvp-button { position: static; grid-column: 1 / -1; margin-top: 1rem; }
    .bamvp-manual-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .25rem; margin-top: 1.5rem; }
    .bamvp-manual-tabs li { position: static; left: auto; top: auto !important; width: auto; height: auto; min-height: 3.4rem; padding: .55rem; }
    .bamvp-manual-tabs li:nth-child(1) { background: #efb10a; }
    .bamvp-manual-tabs li:nth-child(2) { background: #da570d; }
    .bamvp-manual-tabs li:nth-child(3) { background: #84ce4c; }
    .bamvp-manual-tabs li:nth-child(4) { background: #19b8b5; }
    .bamvp-manual-tabs li:nth-child(5) { background: #315eb5; }
    .bamvp-manual-tabs li:nth-child(6) { background: #6f3bb0; }
}
