/* Offer-specific tokens and readable quest-board content over shared Mission layout. */
body.companion{--bg:#0a0a0f;--bg2:#111318;--surface:#171a20;--surface-hi:#21262d;--line:#343b45;--gold:var(--brand-accent);--gold-hi:var(--brand-accent);--ember:var(--brand-accent);--ember-hi:var(--brand-accent);--burgundy:color-mix(in srgb,var(--brand-accent) 58%,#101218);--burgundy-hi:color-mix(in srgb,var(--brand-accent) 75%,#101218);--bone:#b9b4ac;--dest:var(--brand-accent);--text:#f4f4f4;--dim:#c1bdb7}
/* Bounded companion polish. Mission's shared layout and behavior stay unchanged. */
.companion .hero{padding-top:58px;padding-bottom:64px;gap:48px}
.companion .hero h1{font-size:clamp(36px,4.3vw,52px);line-height:1.04;max-width:11em}
.companion .hero .kick{letter-spacing:.16em;font-size:11px;margin-bottom:18px}
.companion .hero .sub{font-size:17px;line-height:1.7;max-width:29em;margin-top:22px}
.companion .hero .cta-row{gap:12px;margin-top:26px;flex-wrap:wrap}
.companion .hero .free-link{font-size:13px}
body.companion .hero .free-link{color:var(--text)}
.companion .price-note{line-height:1.7;max-width:30em}
.companion .quest-board{transform:rotate(1deg);max-width:395px;box-shadow:0 28px 80px #000b,0 0 70px color-mix(in srgb,var(--brand-accent) 9%,transparent)}
.companion .board-content h2{letter-spacing:.015em;font-size:26px}
.companion .board-next{font-weight:500;line-height:1.5}
.quest-brief{display:grid;grid-template-columns:1fr 1fr;gap:34px;align-items:center;margin:0 0 34px;padding:28px 30px;border:1px solid var(--line);border-left:3px solid var(--brand-accent);border-radius:6px;background:linear-gradient(120deg,color-mix(in srgb,var(--brand-accent) 6%,var(--surface)),var(--bg2))}
.quest-brief .brief-label{font-size:10px;font-weight:750;letter-spacing:.17em;color:var(--brand-accent);text-transform:uppercase;margin-bottom:12px}
.quest-brief h3{font-family:var(--serif);font-size:26px;line-height:1.12;color:#fff;margin:0 0 16px}
.quest-brief p{color:var(--dim);font-size:14px;line-height:1.65;margin:0 0 12px}
.quest-brief p b{color:var(--text);font-weight:600}
.quest-brief .brief-note{font-size:11px;margin:0;color:var(--dim)}
.work-sample{background:#e9dcc4;color:#30271e;padding:20px 22px;border-radius:3px;box-shadow:0 12px 24px #0005;transform:rotate(-1deg);border-top:3px solid var(--brand-accent);min-width:0}
.work-sample .sample-label{font-size:9px;font-weight:750;letter-spacing:.15em;color:#665544;margin-bottom:8px;text-transform:uppercase}
.work-sample h4{font-family:var(--serif);font-size:22px;line-height:1.15;margin:0 0 18px;color:#30271e}
.sample-row{display:grid;grid-template-columns:24px 1fr;gap:10px;padding:10px 0;border-top:1px solid #4a382d3b;font-size:12px;line-height:1.4}
.sample-row .sample-num{color:#79634d;font-size:10px;padding-top:2px}
.sample-row b{font-weight:700;display:block}
.sample-row span:last-child{display:block;color:#6f5b48;font-size:11px;margin-top:3px}
.sample-footer{border-top:1px solid #4a382d66;padding-top:10px;margin-top:4px;font-size:10px;color:#6f5b48}
.companion .chips{column-gap:40px}
.companion .chip b{font-size:15px}.companion .chip span{font-size:13px;line-height:1.6}
.companion .close h2{max-width:19em;font-size:clamp(27px,4.5vw,37px)}
.inquiry-prompt{max-width:540px;margin:0 auto 24px;font-size:15px;line-height:1.7;color:var(--dim)}
@media(max-width:860px){.companion .hero{gap:34px;padding-top:30px}.companion .hero h1{margin:0 auto;max-width:12em}.companion .hero .sub,.companion .price-note{margin-left:auto;margin-right:auto}.companion .quest-board{max-width:395px;transform:none}}
@media(max-width:620px){.quest-brief{grid-template-columns:1fr;gap:24px;padding:24px 22px}.quest-brief h3{font-size:25px}.work-sample{padding:18px 20px}.companion .hero .sub{font-size:16px}.companion .hero .btn{font-size:14px;padding:15px 20px}.companion .hero .cta-row{flex-direction:column}.companion .hero{padding-bottom:48px}.companion .board-content h2{font-size:25px}}
.companion a:focus-visible,.companion summary:focus-visible{outline:3px solid var(--brand-accent);outline-offset:5px}.companion{overscroll-behavior:none}.companion .top{background:rgba(10,10,15,.85)}.brand-lockup{display:flex;gap:10px;align-items:center;color:var(--text);text-decoration:none;font-weight:700;font-size:14px}.brand-lockup img{width:36px;height:34px}.companion .mini{min-height:44px;display:inline-flex;align-items:center}.companion .hero::before{background:radial-gradient(640px 440px at 72% 18%,color-mix(in srgb,var(--brand-accent) 12%,transparent),transparent 65%)}.quest-board{position:relative;justify-self:end;width:100%;max-width:375px;aspect-ratio:576/686;isolation:isolate;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:0 24px 70px #0009}.quest-board>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1}.board-content{position:absolute;inset:13% 11% 15%;display:flex;flex-direction:column;justify-content:flex-start;padding:0;color:#241c14}.board-content .board-brand{display:flex;align-items:center;gap:10px;font-size:12px;text-transform:uppercase;letter-spacing:.1em;color:#3d3022}.board-brand img{width:36px;height:34px}.board-content h2{font-family:var(--serif);font-size:27px;color:#241c14;line-height:1.1;margin:16px 0 20px}.board-checks{list-style:none;font-size:14px;color:#241c14;font-weight:600}.board-checks li{padding:8px 0;border-bottom:1px solid #4c392b30}.board-checks li::before{content:'□';color:var(--brand-accent);margin-right:9px}.board-next{font-size:12px;color:#4d3c2c;margin-top:16px;padding-top:12px;border-top:1px solid #4c392b60}.companion .chip .ic{color:var(--brand-accent)}.companion .map{background:#101218}.companion .phase.now{box-shadow:inset 0 1px 0 #ffffff14,0 18px 50px color-mix(in srgb,var(--brand-accent) 12%,transparent)}.companion .guide{max-width:700px;margin:0 auto 28px;text-align:center}.guide .kick{color:var(--gold);font-size:11px;letter-spacing:.18em;text-transform:uppercase;margin-bottom:8px}.guide h2{font-size:30px;margin-bottom:12px}.guide p{font-size:15px;color:var(--dim)}.companion details{border-top:1px solid var(--line);padding:16px 0}.companion summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-weight:700}.companion details p{color:var(--dim);font-size:14px;margin-top:8px}.companion .contact-note{max-width:650px;margin:18px auto 0;color:var(--dim);font-size:13px}.companion .related{display:flex;justify-content:center;flex-wrap:wrap;gap:12px 24px;margin:24px auto 0}.companion .related a{min-height:44px;display:flex;align-items:center}.companion .btn-buy{color:#0a0a0f;background:var(--brand-accent);border-color:var(--brand-accent)}.companion .phase .ph-cta a{background:var(--brand-accent);color:#0a0a0f}.companion .ph-price{color:var(--dim)}.companion .map .route-g path{stroke:var(--brand-accent)}.companion .map .wp circle{stroke:var(--brand-accent);fill:#101218}.companion .map .summit path,.companion .map .summit line{stroke:var(--brand-accent)}.companion .map .summit .flag{fill:var(--brand-accent)}@media(max-width:860px){.quest-board{justify-self:center;max-width:430px}}@media(max-width:400px){.board-content{padding:0}.board-content h2{font-size:25px}.board-checks{font-size:12px}.board-checks li{padding:6px 0}.board-content h2{margin:12px 0}.board-next{margin-top:12px;padding-top:8px}}

/* Commander-approved shared quest direction; Build emblem is a preview derivative,
   not a replacement for the registered v1 brand master or invoice exports. */
.companion .map{--map-ink:#101218}
.build-guild-lockup{font-family:'Inter',system-ui,sans-serif;font-size:17px;font-weight:700;letter-spacing:-.035em;gap:8px}
.build-guild-lockup img{width:56px;height:56px;object-fit:contain;flex-shrink:0}
body:has(.build-guild-lockup) .board-brand img{width:54px;height:54px;object-fit:contain;flex-shrink:0}
body:has(.build-guild-lockup) .board-brand{font-size:10px;letter-spacing:.08em;gap:6px}
body:has(.build-guild-lockup) .board-content h2{margin:10px 0 16px}
body:has(.build-guild-lockup) .board-checks li{padding:7px 0}
body:has(.build-guild-lockup) .board-next{background:#e8d4b2e6;border-radius:2px;padding:8px 10px;margin-top:10px;font-size:11.5px;line-height:1.45}
@media(max-width:440px){
 .build-guild-lockup{font-size:15px;gap:3px}
 .build-guild-lockup img{width:46px;height:46px}
 .build-guild-lockup + .mini{font-size:11px;padding:8px 10px}
 body:has(.build-guild-lockup) .board-brand img{width:44px;height:44px}
 body:has(.build-guild-lockup) .board-brand{font-size:9px}
 body:has(.build-guild-lockup) .board-content h2{font-size:23px;margin:8px 0}
 body:has(.build-guild-lockup) .board-checks li{padding:6px 0}
 body:has(.build-guild-lockup) .board-next{font-size:11px;line-height:1.45;margin-top:10px;padding-top:8px}
}

@media(max-width:360px){
 .companion .board-content{inset:12% 10% 12%}
 .companion .board-checks li,body:has(.build-guild-lockup) .board-checks li{padding:4px 0}
 .companion .board-content h2{font-size:22px;margin:8px 0}
 .companion .board-content .board-brand{font-size:8px;gap:5px}
 .companion .board-brand img,body:has(.build-guild-lockup) .board-brand img{width:36px;height:36px}
 .companion .board-next{font-size:11px;line-height:1.4;margin-top:8px;padding-top:7px}
}

/* ============================================================================
   PR#2125 companion re-theme v1 — per-brand palettes + shared components.
   Layered on top of body.companion; defined AFTER existing rules so they win.
   Build Guild = co-op game (blue); Guardian Forge = sleek modern (gold/ember).
   ============================================================================ */
body.brand-build{--bg:#071421;--bg2:#0b1d2e;--surface:#13283B;--surface-hi:#1b3a52;--line:#24455f;--brand-accent:#2F9DF4;--gold:#2F9DF4;--gold-hi:#6cb8fb;--ember:#2F9DF4;--ember-hi:#6cb8fb;--burgundy:#13283B;--burgundy-hi:#1b3a52;--bone:#ADB9C3;--dest:#2F9DF4;--text:#F3F7FA;--dim:#ADB9C3}
body.brand-guardian{--bg:#17191C;--bg2:#1d2024;--surface:#23262b;--surface-hi:#2d313a;--line:#3a3f49;--brand-accent:#D9A441;--gold:#D9A441;--gold-hi:#ecc877;--ember:#E8720C;--ember-hi:#f08a2e;--burgundy:#23262b;--burgundy-hi:#2d313a;--bone:#b7b1a3;--dest:#D9A441;--text:#F6F3EC;--dim:#c7c1b4}

/* Full-bleed hero band: art has an intentional dark-left gutter for the copy */
body.companion .hero{position:relative;display:block;min-height:clamp(440px,64vh,580px);padding:0;background:linear-gradient(90deg,rgba(4,8,12,.90) 0%,rgba(4,8,12,.74) 44%,rgba(4,8,12,.34) 66%,transparent 86%),var(--hero-art,none);background-size:cover;background-position:center right;background-repeat:no-repeat;border-bottom:1px solid var(--line);grid-template-columns:none;gap:0;align-items:stretch}
body.companion .hero::before{content:none}
body.companion .hero .hero-copy{position:relative;z-index:1;max-width:var(--maxw);width:100%;margin:0 auto;padding:clamp(44px,7vw,88px) 20px;display:flex;flex-direction:column;align-items:flex-start}
body.companion .hero .hero-copy>*{max-width:31em}
@media(max-width:760px){body.companion .hero{min-height:0;background:linear-gradient(180deg,rgba(4,8,12,.15) 0%,rgba(4,8,12,.72) 52%,var(--bg) 100%),var(--hero-art);background-position:top center;padding-top:54vw}body.companion .hero .hero-copy{padding-top:18px}}

/* 3-step HTML journey (replaces the quest map SVG) */
.journey{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:8px}
@media(max-width:720px){.journey{grid-template-columns:1fr}}
.jstep{border-radius:10px;padding:24px 22px;background:var(--surface);border:1px solid var(--line);border-top:3px solid var(--brand-accent)}
.jstep .jnum{font-family:var(--serif);font-size:13px;font-weight:700;letter-spacing:.14em;color:var(--brand-accent)}
.jstep h3{font-family:var(--serif);font-size:20px;color:var(--text);margin:8px 0 6px}
.jstep p{font-size:14px;color:var(--dim);line-height:1.6;margin:0}

/* Readiness board image (replaces parchment work-sample) */
.readiness-art{width:100%;max-width:420px;height:auto;display:block;margin:0 auto;border-radius:10px;border:1px solid var(--line);box-shadow:0 18px 50px rgba(0,0,0,.5)}
