/* Owner resume page (PS-RESUME-PAGE-OWNER-001, D1).
 * Locked visual: layout idea 1 "One story, told once", worn in Keynote Lagoon (toned) since PS-RESUME-FACELIFT-S1-001.
 * Light theme only. The --rp-* tokens below keep today's values for everything that still reads them (the Guide, the
 * editor, the constellation's night colours); this page's own colours come from the shared --lg-* layer in
 * peerslate-lagoon.css. */

/* ---------- theme tokens (presentation:resume-page:theme) ---------- */
.rp,
body.rp-body {
    --rp-backdrop: #3f6a51;
    --rp-frame: #f3ece0;
    --rp-frame-line: #e3d7c1;
    --rp-card: #faf8f2;
    --rp-card-line: #e6dfd1;
    --rp-card-soft: #fffdf8;
    --rp-rail-card: #faf6ec;
    --rp-rail-line: #e3d7c1;
    --rp-current: #e8dfc9;
    --rp-current-line: #d6c9a9;
    --rp-gold-edge: #a8781e;
    --rp-band: #f0e9da;
    --rp-chip: #ece4d3;
    --rp-box-line: #cfc3a8;
    --rp-panel: #f3ecdd;
    --rp-head: #1d3527;
    --rp-ink: #2d3932;
    --rp-ink2: #495a51;
    --rp-muted: #596860;
    --rp-green: #3a6a4f;
    --rp-green-deep: #214e3c;
    --rp-link: #2f5640;
    --rp-num: #a8690a;
    --rp-accent-ink: #7d5916;
    --rp-badge: #e8efe6;
    --rp-badge-line: #c8d5bd;
    --rp-btn: #f4dfa6;
    --rp-btn-edge: #d6b968;
    --rp-btn-hover: #efd690;
    --rp-btn-press: #e8d08d;
    --rp-sheen: linear-gradient(180deg, rgba(255, 255, 255, .40) 0%, rgba(255, 255, 255, .10) 46%, rgba(118, 83, 22, 0) 54%, rgba(118, 83, 22, .10) 100%);
    --rp-night: #17263f;
    --rp-cream: #fbf6ea;
    --rp-dawn: #f1d9a0;
    --rp-serif: "Newsreader", Georgia, serif;
    --rp-sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    --rp-text: max(var(--ps-text-min), calc(12.5px * var(--ps-scale)));
    --rp-line: 1.6;
    --rp-rail-width: calc(268px * var(--ps-scale));
    --rp-gap: calc(20px * var(--ps-scale));
    --rp-wrap: min(calc(100% - calc(32px * var(--ps-scale))), calc(1240px * var(--ps-scale)));
    --rp-sticky-top: calc(84px * var(--ps-scale));
}

/* ---------- Keynote Lagoon (toned), PS-RESUME-FACELIFT-S1-001 ----------
 * The page wears the new shared --lg-* layer (static/css/peerslate-lagoon.css). The --rp-* block above keeps today's
 * values untouched for everything that still reads them (the Guide, the editor, the constellation night colours);
 * these rules do not use them for colour. Layout dims below are the theme's: rail 300px, column up to 1440px. */
.rp,
body.rp-body {
    --lg-rail-width: calc(300px * var(--ps-scale));
    --lg-gap: calc(28px * var(--ps-scale));
    --lg-wrap: min(calc(100% - calc(56px * var(--ps-scale))), calc(1440px * var(--ps-scale)));
    --lg-rhythm: clamp(calc(20px * var(--ps-scale)), calc(2.4vw * var(--ps-scale)), calc(32px * var(--ps-scale)));
}

/* ---------- page surface: one continuous flowing background ---------- */
body.rp-body {
    position: relative;
    isolation: isolate;
    background: var(--lg-page-bg) !important;
    background-image: none !important;
}
body.rp-body::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--lg-flow); }
body.rp-body .site-sky { display: none; }
/* PS-PROFILE-HEADER-LEFTOVERS-001 (d): on a visitor's resume the footer sat, about 50 ms, right under the header before the sections were drawn.
 * It is held out of sight until resume-page.js has drawn them (it then removes rp-pending); the animation shows it anyway after 4 s if the script never runs. */
body.rp-pending #site-footer { visibility: hidden; animation: rp-footer-failsafe 0s linear 4s forwards; }
@keyframes rp-footer-failsafe { to { visibility: visible; } }
body.rp-body .main-content { max-width: none; margin: 0; padding: 0; background: transparent; }
@media (prefers-reduced-motion: no-preference) { html:has(body.rp-body) { scroll-behavior: smooth; } }

/* ---------- base ---------- */
.rp { color: var(--lg-ink2); font: 400 1rem/1.55 var(--lg-sans); letter-spacing: -.006em; -webkit-font-smoothing: antialiased; }
/* Resets apply only to the page's own parts, never to today's editor inside .rp-editor. */
:is(.rp-rail, .rp-toolbar, .rp-jump, .rp-status, .rp-snap, .rp-glance--phone, .rp-sections, .rp-addproj),
:is(.rp-rail, .rp-toolbar, .rp-jump, .rp-status, .rp-snap, .rp-glance--phone, .rp-sections, .rp-addproj) *,
:is(.rp-rail, .rp-toolbar, .rp-jump, .rp-status, .rp-snap, .rp-glance--phone, .rp-sections, .rp-addproj) *::before,
:is(.rp-rail, .rp-toolbar, .rp-jump, .rp-status, .rp-snap, .rp-glance--phone, .rp-sections, .rp-addproj) *::after { box-sizing: border-box; }
:is(.rp-rail, .rp-toolbar, .rp-jump, .rp-status, .rp-snap, .rp-glance--phone, .rp-sections, .rp-addproj) :is(p, h1, h2, h3, ul, ol) { margin: 0; }
:is(.rp-rail, .rp-toolbar, .rp-jump, .rp-snap, .rp-glance--phone, .rp-sections, .rp-addproj) :where(button, input, select, textarea) { font: inherit; color: inherit; }
:is(.rp-rail, .rp-toolbar, .rp-jump, .rp-snap, .rp-glance--phone, .rp-sections, .rp-addproj) :focus-visible { outline: 3px solid var(--lg-focus); outline-offset: 3px; border-radius: calc(8px * var(--ps-scale)); }
:is(.rp-rail, .rp-toolbar, .rp-jump, .rp-status, .rp-snap, .rp-glance--phone, .rp-sections, .rp-addproj) svg { display: block; flex: none; }
.rp [hidden] { display: none !important; }
.rp-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rp-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.rp-wrap, .rp-content { box-sizing: border-box; }
/* Today's editor keeps its own look: the Lagoon type and colour stop at its edge. */
.rp-editor { font: 400 16px/1.5 var(--rp-sans); letter-spacing: normal; color: var(--rp-ink); }

/* ---------- big screens (Pete views on 27 to 32 inch monitors) ----------
 * The page grows in steps on big monitors (THEME_LAGOON v2: x1.125 from 1800px, x1.25 from 2200px, x1.333 from 2500px, so the
 * 1440px column shows about 1620, 1800 and 1920px wide). Since PS-GLASS-CORE-1-001 (reviewer F2) the step is a token, not CSS
 * zoom: glass-theme.css raises --ps-scale at those widths, so the root size, every calc(Npx * var(--ps-scale)) length, the shared
 * bar and the home page and My Story all grow together. resume-page.js still joins layout and screen pixels through pageZoom(),
 * which now reads 1. The flowing background is on the body, so it stays full-bleed. */

/* ---------- layout ---------- */
.rp-wrap { width: var(--lg-wrap); margin: calc(10px * var(--ps-scale)) auto calc(64px * var(--ps-scale)); display: grid; grid-template-columns: var(--lg-rail-width) minmax(0, 1fr); gap: var(--lg-gap); align-items: start; }
/* Pete 10-28: the public page has no profile band above the photo card, so the first card starts one page gutter under the sub-tab strip (the rail's and the cards' own gap). */
@media (min-width: 960px) { .rp-body--visitor .rp-wrap { margin-top: var(--lg-gap); } }
.rp-rail { position: sticky; top: var(--rp-rail-top, var(--rp-sticky-top)); display: flex; flex-direction: column; gap: calc(14px * var(--ps-scale)); min-width: 0; }
.rp-rail.is-tall { position: static; }
/* PS-LIVE-FIXES-RESUME-001: the rail is pinned chrome, never a scroll anchor: when the fit is judged again (pinned or scrolling) and its parts move, the page must not follow them (a #impact landing was pulled 32px back). */
.rp-rail, .rp-rail * { overflow-anchor: none; }
.rp-rail .rp-ask__log { overflow-anchor: auto; }   /* the small transcript is a real scroller: it keeps the browser's own anchoring */
.rp-content { min-width: 0; }
/* The column runs a little past its last section so the pinned section list (the dock) clears the column's end. */
@media (min-width: 960px) { .rp-content:not(.rp-content--after) { padding-bottom: calc(88px * var(--ps-scale)); } }

/* ---------- buttons, pills, links ---------- */
.rp-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44.8px; padding: 0 1.4rem; border-radius: calc(999px * var(--ps-scale)); border: 0; font: 650 1rem/1 var(--lg-sans); letter-spacing: -.006em; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .2s; }
.rp-btn:hover { transform: translateY(-1px); }
/* the primary button: one of the three signature gradient moments */
.rp-btn--gold { background-color: var(--lg-btn-solid); background-image: var(--lg-btn); color: var(--lg-btn-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 .5rem 1.1rem -.5rem var(--lg-btn-glow); }
.rp-btn--gold:hover { filter: brightness(1.04); }
.rp-btn--gold:active { transform: none; box-shadow: inset 0 2px 5px rgba(5, 30, 90, .4); }
.rp-btn--gold:disabled { opacity: .6; cursor: default; transform: none; }
.rp-btn--outline { background: rgba(255, 255, 255, .9); color: var(--lg-ink); box-shadow: 0 0 0 1.5px var(--lg-line); }
.rp-btn--outline:hover { box-shadow: 0 0 0 1.5px var(--lg-lagoon); }
.rp-btn--sm { min-height: 36.8px; padding: 0 1rem; font-size: max(var(--ps-text-min), .88rem); }
.rp-link { display: inline-flex; align-items: center; gap: calc(5px * var(--ps-scale)); min-height: 24px; padding: 0; border: 0; background: none; color: var(--lg-lagoon-text); font: 650 .95rem/1.3 var(--lg-sans); text-decoration: none; cursor: pointer; white-space: nowrap; }
.rp-link:hover { text-decoration: underline; text-underline-offset: .2em; }
.rp-pill { display: inline-flex; align-items: center; gap: calc(6px * var(--ps-scale)); height: 28px; padding: 0 12px; border-radius: calc(999px * var(--ps-scale)); background: #fff; box-shadow: 0 0 0 1px var(--lg-line); color: var(--lg-ink); font: 700 max(var(--ps-text-min), .75rem) var(--lg-sans); }
.rp-pill svg { width: 13px; height: 13px; color: var(--lg-mint); }
.rp-kicker { display: block; font: 650 max(var(--ps-text-min), .82rem)/1.2 var(--lg-sans); letter-spacing: .07em; text-transform: uppercase; color: var(--lg-lagoon-text); margin: 0 0 calc(7px * var(--ps-scale)); }

/* ---------- toolbar, status, jump bar ---------- */
.rp-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: calc(10px * var(--ps-scale)); min-height: calc(34px * var(--ps-scale)); margin: 0 0 calc(12px * var(--ps-scale)); }
.rp-toolbar__note { font-size: max(var(--ps-text-min), .88rem); color: var(--lg-quiet-text); }
.rp-toolbar__acts { margin-left: auto; display: flex; gap: calc(8px * var(--ps-scale)); }
.rp-status { margin: 0 0 calc(12px * var(--ps-scale)); padding: calc(8px * var(--ps-scale)) calc(14px * var(--ps-scale)); border-radius: calc(14px * var(--ps-scale)); background: rgba(255, 255, 255, .8); box-shadow: 0 0 0 1px var(--lg-line); color: var(--lg-ink2); }
.rp-status[data-kind="error"] { box-shadow: 0 0 0 1px #e2b8b5; background: #fdf3f2; color: #8a2c2c; }
.rp-status:empty { display: none; }
.rp-jump { display: none; }

/* ---------- rail cards (glass) ---------- */
.rp-card { position: relative; background: var(--lg-card); border: 1px solid var(--lg-cardline); border-radius: var(--lg-r); box-shadow: var(--lg-shadow); }
.rp-rail .rp-card { border-radius: calc(var(--lg-r) - calc(4px * var(--ps-scale))); padding: calc(18px * var(--ps-scale)) calc(16px * var(--ps-scale)) calc(16px * var(--ps-scale)); -webkit-backdrop-filter: blur(var(--lg-blur)) saturate(1.3); backdrop-filter: blur(var(--lg-blur)) saturate(1.3); }
.rp-card__title { font: 650 max(var(--ps-text-min), .82rem)/1.3 var(--lg-sans); letter-spacing: .07em; text-transform: uppercase; color: var(--lg-lagoon-text); margin: 0 0 calc(8px * var(--ps-scale)); }
.rp-secnav { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.rp-secnav__a { display: flex; align-items: center; gap: .7rem; min-height: 38.4px; padding: .5rem .7rem; border-radius: .8rem; color: var(--lg-ink2); font: 550 .95rem/1.3 var(--lg-sans); text-decoration: none; }
.rp-secnav__a svg { width: calc(14px * var(--ps-scale)); height: calc(14px * var(--ps-scale)); color: var(--lg-quiet); }
.rp-secnav__a:hover { background: color-mix(in srgb, var(--lg-lagoon) 7%, #fff); color: var(--lg-ink); }
/* "you are here": the second signature gradient moment */
.rp-secnav__a[aria-current="true"] { background-color: #0a74c9; background-image: var(--lg-nav-on); color: #fff; font-weight: 650; }
.rp-secnav__a[aria-current="true"] svg { color: #fff; }
.rp-glance__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.rp-glance__list li { display: flex; gap: calc(8px * var(--ps-scale)); align-items: flex-start; padding: .55rem 0; border-top: 1px solid var(--lg-line); font: 500 .9rem/1.3 var(--lg-sans); color: var(--lg-ink); }
.rp-glance__list svg { width: calc(16px * var(--ps-scale)); height: calc(16px * var(--ps-scale)); margin-top: 1px; color: var(--lg-mint); }
.rp-glance__list b { display: block; font-weight: 650; color: var(--lg-ink); }
.rp-glance__sub { display: block; font-size: max(var(--ps-text-min), .8rem); font-weight: 500; color: var(--lg-quiet-text); }
.rp-glance__all { display: flex; align-items: center; min-height: 28px; margin-top: calc(9px * var(--ps-scale)); font: 650 .95rem/1.3 var(--lg-sans); color: var(--lg-lagoon-text); text-decoration: none; }
.rp-glance__all:hover { text-decoration: underline; text-underline-offset: .2em; }
.rp-glance--phone { display: none; }

/* ---------- Ask AI ---------- */
.rp-ask { position: relative; background: var(--lg-card); border: 1px solid var(--lg-cardline); border-radius: calc(var(--lg-r) - calc(4px * var(--ps-scale))); box-shadow: var(--lg-shadow); overflow: hidden; -webkit-backdrop-filter: blur(var(--lg-blur)) saturate(1.3); backdrop-filter: blur(var(--lg-blur)) saturate(1.3); }
.rp-ask__top { position: relative; }
.rp-ask__art { position: absolute; top: 0; right: 0; bottom: 0; width: 52%; background-image: url("../images/resume-page/ask-mountains.png"); background-size: cover; background-repeat: no-repeat; background-position: right 20%; opacity: .92; -webkit-mask-image: linear-gradient(90deg, transparent, #000 55%); mask-image: linear-gradient(90deg, transparent, #000 55%); pointer-events: none; }
.rp-ask__lead { position: relative; z-index: 1; }
.rp-ask__kicker { display: flex; align-items: center; gap: calc(8px * var(--ps-scale)); font: 650 max(var(--ps-text-min), .82rem) var(--lg-sans); letter-spacing: .07em; text-transform: uppercase; color: var(--lg-lagoon-text); }
.rp-ask-mark circle { fill: var(--lg-mint); }
.rp-ask-mark g { fill: #fff; }
.rp-ask__title { font: 800 clamp(1.5rem, calc(2.6vw * var(--ps-scale)), 2rem)/1.1 var(--lg-sans); letter-spacing: -.04em; color: var(--lg-ink); }
.rp-ask__hint { margin: 0 0 calc(6px * var(--ps-scale)); font: 650 .9rem var(--lg-sans); color: var(--lg-ink2); }
.rp-ask__chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: calc(10px * var(--ps-scale)); }
.rp-chip { min-height: 38.4px; padding: .5em 1.1em; border-radius: calc(999px * var(--ps-scale)); border: 0; background: #fff; box-shadow: 0 0 0 1.5px var(--lg-line); color: var(--lg-ink); font: 600 .95rem/1.35 var(--lg-sans); text-align: left; cursor: pointer; }
.rp-chip:hover { box-shadow: 0 0 0 1.5px var(--lg-lagoon); }
.rp-ask__box { display: flex; align-items: flex-end; gap: .5rem; padding: .4rem .4rem .4rem 1.1rem; border-radius: 1.4rem; background: #fff; box-shadow: 0 0 0 1.5px var(--lg-line); }
.rp-ask__box textarea { flex: 1; min-width: 0; min-height: 38.4px; border: 0; outline: 0; resize: none; background: none; font: 400 1rem/1.4 var(--lg-sans); color: var(--lg-ink); padding: .5em 0; max-height: 7.5rem; overflow-y: auto; }
.rp-ask__box textarea::placeholder { color: var(--lg-quiet-text); }
.rp-ask__box:focus-within { box-shadow: 0 0 0 2px var(--lg-lagoon); }
.rp-ask__go { min-height: 2.5rem; padding: 0 1.2rem; }
.rp-ask__note { display: flex; align-items: center; gap: calc(6px * var(--ps-scale)); margin: calc(8px * var(--ps-scale)) 0 0; font-size: max(var(--ps-text-min), .82rem); color: var(--lg-quiet-text); }
.rp-ask__note svg { width: calc(12px * var(--ps-scale)); height: calc(12px * var(--ps-scale)); }
.rp-ask__log { margin: 0 0 calc(10px * var(--ps-scale)); padding: .9rem; max-height: 22rem; overflow-y: auto; scrollbar-width: thin; border-radius: 1rem; background: rgba(255, 255, 255, .75); box-shadow: 0 0 0 1px var(--lg-line); }
.rp-turn__me { margin: 0 0 calc(10px * var(--ps-scale)) auto; width: max-content; max-width: 85%; padding: .5rem .9rem; border-radius: 1.1rem 1.1rem .3rem 1.1rem; background: var(--lg-ink); color: #fff; font: 600 .92rem/1.4 var(--lg-sans); }
.rp-turn__ai { padding: .7rem .9rem; border-radius: .9rem; background: #fff; box-shadow: 0 0 0 1px var(--lg-line); }
.rp-turn__ai p + p { margin-top: calc(9px * var(--ps-scale)); }
.rp-turn__ai--unavailable { color: var(--lg-ink2); }
.rp-turn__label { font: 650 max(var(--ps-text-min), .85rem)/1.4 var(--lg-sans); color: var(--lg-ink2); }
.rp-turn__claims { margin: calc(10px * var(--ps-scale)) 0 0; padding: 0; list-style: none; display: grid; gap: calc(8px * var(--ps-scale)); }
.rp-turn__claim { padding-left: calc(10px * var(--ps-scale)); border-left: 2px solid var(--lg-line); }
.rp-turn__claim > span { display: block; }
.rp-turn__claim-label, .rp-turn__claim-limit, .rp-turn__claim-src { margin-top: 2px; font-size: max(var(--ps-text-min), .85rem); color: var(--lg-ink2); }
.rp-turn__claim-label { font-weight: 650; }
.rp-thinking { display: flex; align-items: center; gap: calc(10px * var(--ps-scale)); color: var(--lg-ink2); font-weight: 550; }
.rp-thinking__stones { width: calc(26px * var(--ps-scale)); height: calc(26px * var(--ps-scale)); overflow: visible; }
.rp-stone { fill: var(--lg-mint); }
@media (prefers-reduced-motion: no-preference) {
    .rp-stone { opacity: 0; animation: rp-stack 1.8s ease-in-out infinite; }
    .rp-stone--2 { animation-delay: .3s; }
    .rp-stone--3 { animation-delay: .6s; }
}
@keyframes rp-stack {
    0% { opacity: 0; transform: translateY(-6px); }
    18%, 72% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(0); }
}

.rp-ask--main .rp-ask__top { position: static; min-height: 0; display: block; padding: 0; }
.rp-ask--main .rp-ask__lead { flex: 1; min-width: 0; display: grid; gap: .5rem; justify-items: start; }
.rp-ask--main .rp-ask__body { position: relative; z-index: 2; padding: 0; }

/* rail Ask: always the full panel (Pete, D1 review round 2) */
.rp-ask--rail .rp-ask__top { padding: calc(14px * var(--ps-scale)) calc(14px * var(--ps-scale)) 0; }
.rp-ask--rail .rp-ask__kicker { font-size: max(var(--ps-text-min), .72rem); gap: calc(6px * var(--ps-scale)); }
.rp-ask--rail .rp-ask__art { position: relative; display: block; width: calc(100% + 28px * var(--ps-scale)); height: calc(42px * var(--ps-scale)); margin: calc(-14px * var(--ps-scale)) calc(-14px * var(--ps-scale)) calc(3px * var(--ps-scale)); background-size: 100% auto; background-position: right calc(-7px * var(--ps-scale)); opacity: .8; }   /* at the shared 200px rail the picture is a band across the top of the card with its whole tagline, and the kicker and title sit below it on the card: nothing crosses the tagline */
.rp-ask--rail .rp-ask__title { margin-top: calc(3px * var(--ps-scale)); max-width: calc(165px * var(--ps-scale)); font-size: 1.08rem; line-height: 1.15; }
.rp-ask--rail .rp-ask__body { padding: .55rem calc(14px * var(--ps-scale)) calc(14px * var(--ps-scale)); }
.rp-ask--rail .rp-ask__hint { font-size: max(var(--ps-text-min), .8rem); }
.rp-ask--rail .rp-ask__chips { flex-direction: column; align-items: flex-start; gap: calc(6px * var(--ps-scale)); margin-bottom: calc(9px * var(--ps-scale)); }
.rp-ask--rail .rp-chip { min-height: 33.6px; padding: .5em .9em; font-size: max(var(--ps-text-min), .85rem); }
.rp-ask--rail .rp-ask__box { padding: .3rem .3rem .3rem .8rem; border-radius: 1rem; }
.rp-ask--rail .rp-ask__box textarea { font-size: .9rem; min-height: 30.4px; padding: .35em 0; }
.rp-ask--rail .rp-ask__go { min-height: 2.1rem; padding: 0 .9rem; font-size: max(var(--ps-text-min), .88rem); }
.rp .rp-ask--rail .rp-ask__go { min-width: 0; padding: 0 .6rem; }   /* at the shared 200px rail the 68px-wide Ask button left the question only 85px; a snug Ask button leaves it about 110, enough for the one-line placeholder */
.rp-ask--rail .rp-ask__note { font-size: max(var(--ps-text-min), .75rem); }
.rp-ask--rail .rp-ask__log { max-height: 13rem; padding: .6rem; }

/* main Ask tabs (D1d): a pill tab bar under the title; the selected tab is a "you are here" mark */
.rp-ask__tabs { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .3rem; max-width: 100%; margin-top: .5rem; padding: .25rem; border-radius: calc(999px * var(--ps-scale)); background: rgba(255, 255, 255, .8); box-shadow: 0 0 0 1px var(--lg-line); }
.rp-tab { display: inline-flex; align-items: center; gap: .5em; flex: none; min-height: 36.8px; padding: .45em 1em; border: 0; border-radius: calc(999px * var(--ps-scale)); background: none; font: 600 .92rem/1 var(--lg-sans); color: var(--lg-ink2); white-space: nowrap; cursor: pointer; }
.rp-tab:hover { color: var(--lg-ink); }
.rp-tab[aria-selected="true"] { background-color: #0a74c9; background-image: var(--lg-nav-on); color: #fff; }
.rp-tab__soon { padding: .15em .6em; border-radius: calc(999px * var(--ps-scale)); box-shadow: 0 0 0 1px var(--lg-line); background: #fff; font: 700 max(var(--ps-text-min), .7rem)/1.4 var(--lg-sans); color: var(--lg-quiet-text); }
.rp-tab[aria-selected="true"] .rp-tab__soon { background: rgba(255, 255, 255, .18); color: #fff; box-shadow: none; }
.rp-ask__panel:focus-visible { outline-offset: 4px; }
.rp-placeholder--ask { margin: 0 0 calc(10px * var(--ps-scale)); padding: calc(10px * var(--ps-scale)) calc(12px * var(--ps-scale)); }
.rp-placeholder--ask .rp-placeholder__tag { margin-bottom: calc(4px * var(--ps-scale)); }
/* the public page's Career highlights (PS-RESUME-PAGE-LIVE-001): the profile's own impact lines */
.rp-ask__highlights { list-style: none; margin: 0 0 calc(10px * var(--ps-scale)); padding: 0; display: grid; gap: .4rem; }
.rp-ask__highlights li { padding: .65rem .9rem; border-radius: .9rem; background: rgba(255, 255, 255, .85); box-shadow: 0 0 0 1px var(--lg-line); font-size: .95rem; color: var(--lg-ink2); }
.rp-ask__highlights b { color: var(--lg-ink); }
.rp-placeholder__text { color: #5b4a2a; }
.rp-soon { display: flex; align-items: center; gap: calc(10px * var(--ps-scale)); margin: 0 0 calc(10px * var(--ps-scale)); padding: .8rem 1rem; border-radius: .9rem; background: rgba(255, 255, 255, .85); box-shadow: 0 0 0 1px var(--lg-line); }
.rp-soon p { color: var(--lg-ink2); font-size: .95rem; }
.rp-soon__tag { flex: none; padding: .15em .6em; border-radius: calc(999px * var(--ps-scale)); box-shadow: 0 0 0 1px var(--lg-line); background: #fff; font: 700 max(var(--ps-text-min), .7rem)/1.5 var(--lg-sans); color: var(--lg-quiet-text); }

/* ---------- overview: hero + main Ask (two glass cards, one rhythm) ---------- */
.rp-snap { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--lg-rhythm); background: none; border: 0; box-shadow: none; overflow: visible; scroll-margin-top: var(--rp-land-top, var(--rp-sticky-top)); }
.rp-hero { position: relative; display: grid; grid-template-columns: calc(200px * var(--ps-scale)) minmax(0, 1fr) calc(250px * var(--ps-scale)); grid-template-areas: "ph id side" "hl hl hl"; column-gap: clamp(calc(18px * var(--ps-scale)), calc(2.6vw * var(--ps-scale)), calc(34px * var(--ps-scale))); padding: clamp(calc(20px * var(--ps-scale)), calc(2.6vw * var(--ps-scale)), calc(36px * var(--ps-scale))); background: var(--lg-card); border: 1px solid var(--lg-cardline); border-radius: var(--lg-r); box-shadow: var(--lg-shadow); -webkit-backdrop-filter: blur(var(--lg-blur)) saturate(1.3); backdrop-filter: blur(var(--lg-blur)) saturate(1.3); }
.rp-hero[data-has-side="false"] { grid-template-columns: calc(200px * var(--ps-scale)) minmax(0, 1fr); grid-template-areas: "ph id" "hl hl"; }
.rp-hero__photo { grid-area: ph; height: calc(216px * var(--ps-scale)); border-radius: var(--lg-r2); overflow: hidden; display: grid; place-items: center; background: linear-gradient(160deg, #cfe6f7, #a9d9e4); align-self: start; box-shadow: 0 0 0 .4rem rgba(255, 255, 255, .8), 0 0 0 .55rem rgba(11, 155, 224, .35), 0 1.6rem 2.6rem -1.4rem rgba(11, 100, 200, .5); }
.rp-hero[data-has-photo="false"] .rp-hero__photo { height: calc(180px * var(--ps-scale)); }
.rp-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; }
.rp-hero__initials { font: 800 3.4rem var(--lg-sans); color: #fff; letter-spacing: -.04em; }
.rp-hero__id { grid-area: id; padding: 0; display: grid; gap: .7rem; align-content: start; min-width: 0; }
/* the name is solid ink, never gradient (the toning rule) */
.rp-hero__name { font: 850 clamp(2.6rem, calc(5vw * var(--ps-scale)), 3.9rem)/.96 var(--lg-sans); letter-spacing: -.065em; color: var(--lg-ink); overflow-wrap: anywhere; }
.rp-hero__headline { margin-top: 0 !important; font: 700 1.15rem/1.3 var(--lg-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--lg-lagoon-deep); }
/* PS-GUIDE-O5C: where the owner's headline comes from (their current job title), small and quiet under it; owner page only */
.rp-hero__source { margin-top: .15rem !important; font-size: max(var(--ps-text-min, 0px), .82rem); line-height: 1.35; color: var(--lg-quiet-text); }
.rp-hero__source[hidden] { display: none; }
.rp-hero__statement { margin-top: .3rem !important; font-size: 1.05rem; line-height: 1.55; color: var(--lg-ink2); max-width: 34em; }
.rp-hero__side { grid-area: side; padding: 0; display: grid; gap: 1rem; align-content: start; }
.rp-hero__side .rp-kicker { margin-bottom: calc(6px * var(--ps-scale)); }
.rp-hero__contact { list-style: none; padding: 0; display: grid; gap: .25rem; font-size: .95rem; color: var(--lg-ink2); }
.rp-hero__contact-link { color: var(--lg-ink); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.rp-hero__contact-link:hover { color: var(--lg-lagoon-text); }
.rp-noscript { margin: calc(16px * var(--ps-scale)) auto; max-width: calc(720px * var(--ps-scale)); padding: calc(12px * var(--ps-scale)) calc(16px * var(--ps-scale)); border-radius: calc(14px * var(--ps-scale)); background: var(--lg-card); color: var(--lg-ink); }
.rp-hero__contact li { display: grid; grid-template-columns: calc(16px * var(--ps-scale)) minmax(0, 1fr); gap: calc(7px * var(--ps-scale)); overflow-wrap: anywhere; }
.rp-hero__contact svg { width: calc(14px * var(--ps-scale)); height: calc(14px * var(--ps-scale)); margin-top: calc(4px * var(--ps-scale)); color: var(--lg-mint); }
.rp-hero__acts { display: flex; flex-wrap: wrap; gap: .7rem; }
/* PS-LIVE-FIXES-RESUME-001 (live bug 8): #impact / #rp-impact lands on the highlight tiles just under the pinned header; its focus (tabindex -1) draws no ring. */
.rp-hero__highlights { scroll-margin-top: var(--rp-land-top, var(--rp-sticky-top)); }   /* wide screens: header bottom + 16px; phones: under the tab row */
.rp-snap .rp-hero__highlights:is(:focus, :focus-visible) { outline: none; }   /* the container is not a control: the ring would circle all four tiles */
/* PS-LIVE-FIXES-RESUME-001 (live bug 15): the skip link focuses the landmark itself, which is not a control and needs no ring. */
body.rp-body #main-content:focus { outline: none; }
body.rp-body #main-content { scroll-margin-top: var(--rp-skip-top, 0px); }   /* set by resume-page.js when the skip link is used: the start of main lands below the pinned bars */
.rp-hero__highlights { grid-area: hl; margin-top: clamp(calc(20px * var(--ps-scale)), calc(2.4vw * var(--ps-scale)), calc(30px * var(--ps-scale))); padding: 0; display: grid; grid-template-columns: repeat(var(--rp-hl-count, 4), minmax(0, 1fr)); gap: calc(12px * var(--ps-scale)); }
/* impact tiles: plain tinted tiles (no blur); the big numbers are solid deep lagoon */
.rp-hl { container-type: inline-size; position: relative; display: flex; flex-direction: column; gap: .4rem; padding: calc(16px * var(--ps-scale)) calc(18px * var(--ps-scale)); border-radius: var(--lg-r2); background: var(--lg-tilebg); border: 1px solid var(--lg-tileline); box-shadow: var(--lg-tileshadow); text-align: left; cursor: pointer; min-width: 0; }
.rp-hl strong { font: 800 min(28px, 19cqi)/1.05 var(--lg-sans); letter-spacing: -.045em; font-variant-numeric: tabular-nums; color: var(--lg-lagoon-deep); white-space: nowrap; }
.rp-hl__label { font: 650 .95rem/1.3 var(--lg-sans); color: var(--lg-ink); }
.rp-hl em { display: inline-flex; align-items: center; gap: calc(4px * var(--ps-scale)); font: 650 max(var(--ps-text-min), .85rem) var(--lg-sans); font-style: normal; color: var(--lg-lagoon-text); }
.rp-hl em svg { width: calc(12px * var(--ps-scale)); height: calc(12px * var(--ps-scale)); }
.rp-hl:hover strong { text-decoration: underline; text-underline-offset: 3px; }
/* D2: a tile the Guide suggests waits, dashed, for the member's OK (never a saved or public tile). */
div.rp-hl { cursor: default; }
div.rp-hl:hover strong { text-decoration: none; }
.rp-hl--waiting { border: 1px dashed #cfa659 !important; background: #fbf5e9; padding: calc(10px * var(--ps-scale)) calc(12px * var(--ps-scale)) !important; }
.rp-hl__tag { align-self: flex-start; margin-bottom: calc(4px * var(--ps-scale)); padding: 2px calc(8px * var(--ps-scale)); border-radius: calc(9px * var(--ps-scale)); background: #f3dfba; color: #6b4d13; font: 700 max(var(--ps-text-min), calc(10.5px * var(--ps-scale)))/1.4 var(--lg-sans); }
.rp-snap__ask { padding: 0; }

/* ---------- sections: they sit on the flowing surface; only tiles inside them are cards ---------- */
.rp-sec { position: relative; margin-top: var(--lg-rhythm); padding: 0; background: none; border: 0; box-shadow: none; scroll-margin-top: var(--rp-land-top, var(--rp-sticky-top)); }   /* PS-LIVE-FIXES-RESUME-004: --rp-land-top is the ONE landing offset (set by resume-page.js from 960px up: the real header's bottom + 16px). The section, snap, band and role jump targets read it, so a later sticky bar adds its height there once. Below 960px the tab row decides, as before. */
.rp-sec:focus { outline: none; }
.rp-sec__head { display: grid; gap: .5rem; margin-bottom: 1.4rem; justify-items: start; }
.rp-sec__title { font: 850 clamp(2rem, calc(3.5vw * var(--ps-scale)), 2.8rem)/1.04 var(--lg-sans); letter-spacing: -.055em; color: var(--lg-ink); }
.rp-sec__sub { color: var(--lg-ink2); font-size: 1.05rem; }
.rp-sec > .rp-sec__title { margin-bottom: 1.4rem; }
.rp-empty { padding: clamp(calc(20px * var(--ps-scale)), calc(2.3vw * var(--ps-scale)), calc(32px * var(--ps-scale))); background: var(--lg-card); border: 1px solid var(--lg-cardline); border-radius: var(--lg-r); box-shadow: var(--lg-shadow); }
.rp-empty .rp-sec__sub { margin-top: calc(6px * var(--ps-scale)); }

/* my story: a glass card with the picture flush to its edges (the compact card Pete approved, in Lagoon type) */
.rp-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: stretch; min-height: 148px; padding: 0; overflow: hidden; background: var(--lg-card); border: 1px solid var(--lg-cardline); border-radius: var(--lg-r); box-shadow: var(--lg-shadow); }
.rp-story__text { position: relative; z-index: 1; padding: calc(18px * var(--ps-scale)) calc(12px * var(--ps-scale)) calc(18px * var(--ps-scale)) calc(24px * var(--ps-scale)); display: flex; flex-direction: column; justify-content: center; }
.rp-story .rp-sec__title { font-size: clamp(1.4rem, calc(2.2vw * var(--ps-scale)), 1.8rem); }
.rp-story__lead { margin-top: calc(8px * var(--ps-scale)) !important; color: var(--lg-ink2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rp-story__more { margin-top: calc(8px * var(--ps-scale)); align-self: flex-start; }
.rp-story__pic { position: relative; margin: 0; background: url("../images/cinematic/future-path.jpg") 62% 50% / cover no-repeat; }
.rp-body--visitor .rp-story { min-height: calc(220px * var(--ps-scale)); }
.rp-body--visitor .rp-story__text { padding: calc(22px * var(--ps-scale)) calc(12px * var(--ps-scale)) calc(22px * var(--ps-scale)) calc(24px * var(--ps-scale)); }

/* skills in practice */
.rp-skills { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(calc(16px * var(--ps-scale)), calc(2vw * var(--ps-scale)), calc(28px * var(--ps-scale))); align-items: stretch; }
.rp-skills--plain { grid-template-columns: 1fr; }
.rp-skills__grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(8px * var(--ps-scale)) calc(10px * var(--ps-scale)); align-self: start; }
.rp-skill { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: calc(6px * var(--ps-scale)); min-height: 44px; padding: 8px 12px; border-radius: var(--lg-r2); border: 0; background: var(--lg-wash-0); box-shadow: 0 0 0 1px var(--lg-tileline); color: var(--lg-ink); font: 700 .9rem/1.12 var(--lg-sans); text-align: left; transition: box-shadow .2s, transform .2s; }
/* the script sets the column counts the skill count calls for (Model.skillColumns): 3 to 5 on a wide window, 2 or 3 from 960 to 1200 wide */
@media (min-width: 1201px) {
    .rp-skills__grid[data-cols="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .rp-skills__grid[data-cols="5"] { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (min-width: 960px) and (max-width: 1200px) {
    .rp-skills__grid[data-cols] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rp-skills__grid[data-cols-mid="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}   /* beside the lines panel the grid is narrower; the 959px rule below sets the phone's two */
.rp-skills__grid > li { display: flex; }   /* the buttons in a row are the height of the tallest one, so the rows read even */
@media (max-width: 959px) { .rp-skill { min-height: 44px; font-size: .98rem; } }   /* a phone keeps the old 44px-tall touch size; the smaller buttons are for a pointer */
button.rp-skill { cursor: pointer; }
.rp-skill svg { width: calc(13px * var(--ps-scale)); height: calc(13px * var(--ps-scale)); color: var(--lg-lagoon); opacity: .7; }
button.rp-skill:hover { transform: translateY(-1px); }
button.rp-skill[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--lg-lagoon); }
/* The panel is as tall as the skill grid (contain: size keeps its lines from stretching the row). */
.rp-skills__line { position: relative; contain: size; min-height: calc(200px * var(--ps-scale)); border-radius: var(--lg-r2); background: rgba(255, 255, 255, .8); box-shadow: 0 0 0 1px var(--lg-line); overflow: hidden; }
.rp-skills__scroll { position: absolute; inset: 0; display: flex; flex-direction: column; padding: .7rem; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: auto; scrollbar-color: #5f7a8c #e3edf3; }
/* The site-wide `body.ps-scaled :focus-visible` rule (glass-theme.css, outline-offset 2px) outranks a bare
   `.rp-skills__scroll:focus-visible`, which pushed the ring outside the box where .rp-skills__line's overflow:hidden
   clipped it. Out-rank it so the ring sits inside the panel edge, in light and dark. */
.rp-skills .rp-skills__line .rp-skills__scroll:focus-visible { outline: 3px solid var(--lg-focus); outline-offset: -3px; border-radius: var(--lg-r2); }
.rp-skills__scroll::-webkit-scrollbar { width: calc(12px * var(--ps-scale)); }
.rp-skills__scroll::-webkit-scrollbar-track { background: #e3edf3; border-radius: calc(6px * var(--ps-scale)); }
.rp-skills__scroll::-webkit-scrollbar-thumb { background: #5f7a8c; border-radius: calc(6px * var(--ps-scale)); border: 2px solid #e3edf3; }
.rp-skills__in { display: grid; gap: .6rem; margin-block: auto; }
.rp-skills__line.has-drawn-bar .rp-skills__scroll { padding-right: calc(26px * var(--ps-scale)); }
.rp-skills__line .rp-kicker { color: var(--lg-lagoon-text); }
.rp-skills__lines { list-style: none; padding: 0; display: grid; gap: calc(7px * var(--ps-scale)); }
.rp-skills__item + .rp-skills__item { padding-top: calc(7px * var(--ps-scale)); border-top: 1px solid var(--lg-line); }
.rp-skills__quote { font: 500 max(var(--ps-text-min), .875rem)/1.3 var(--lg-sans); color: var(--lg-ink); }
.rp-skills__src { margin-top: calc(4px * var(--ps-scale)) !important; font-size: max(var(--ps-text-min), .75rem); color: var(--lg-quiet-text); }
.rp-skills__role { margin-top: calc(4px * var(--ps-scale)); }
/* Drawn where the browser hides its own scrollbar at rest (the Guide's J20 bar). */
.rp-scrollbar { position: absolute; top: calc(8px * var(--ps-scale)); right: calc(6px * var(--ps-scale)); bottom: calc(8px * var(--ps-scale)); width: calc(12px * var(--ps-scale)); border-radius: calc(6px * var(--ps-scale)); background: #e3edf3; cursor: pointer; }
.rp-scrollbar__thumb { width: 100%; min-height: 24px; border-radius: calc(6px * var(--ps-scale)); background: #5f7a8c; box-shadow: inset 0 0 0 2px #e3edf3; cursor: grab; }

/* experience */
.rp-roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(14px * var(--ps-scale)); }
.rp-role { display: flex; flex-direction: column; gap: .45rem; min-height: 21.75rem; padding: calc(20px * var(--ps-scale)); border: 1px solid var(--lg-tileline); border-radius: var(--lg-r2); background: var(--lg-role-0); box-shadow: var(--lg-tileshadow); min-width: 0; }
.rp-roles > :nth-child(3n + 2) { background: var(--lg-role-1); }
.rp-roles > :nth-child(3n + 3) { background: var(--lg-role-2); }
.rp-role.is-open { border-color: var(--lg-lagoon); box-shadow: 0 0 0 2px var(--lg-lagoon), var(--lg-tileshadow); }
.rp-role__top { display: flex; flex-direction: column; align-items: flex-start; gap: calc(10px * var(--ps-scale)); padding-bottom: calc(12px * var(--ps-scale)); margin-bottom: calc(8px * var(--ps-scale)); border-bottom: 1px solid var(--lg-line); }
.rp-badge { flex: none; display: grid; place-items: center; width: 2.7rem; height: 2.7rem; border-radius: .8rem; background: #fff; box-shadow: 0 0 0 1.5px var(--lg-line); color: var(--lg-ink); font: 800 .95rem/1 var(--lg-sans); }
.rp-role .rp-badge { width: 2.7rem; height: 2.7rem; border-radius: .8rem; font-size: .95rem; }
.rp-role__org { font: 800 1.3rem/1.15 var(--lg-sans); letter-spacing: -.035em; color: var(--lg-ink); overflow-wrap: anywhere; }
.rp-role__dates { margin-top: 2px !important; font-weight: 700; font-size: .92rem; color: var(--lg-lagoon-text); }
.rp-role__place { font-size: max(var(--ps-text-min), .85rem); font-weight: 600; color: var(--lg-quiet-text); }
.rp-role__title { font-weight: 700; font-size: .98rem; line-height: 1.3; color: var(--lg-ink); }
.rp-role__summary { margin: calc(8px * var(--ps-scale)) 0 calc(12px * var(--ps-scale)) !important; font-size: .92rem; line-height: 1.5; color: var(--lg-ink2); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.rp-role .rp-link { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--lg-line); align-self: stretch; }
.rp-chapter { margin-top: calc(12px * var(--ps-scale)); padding-top: calc(12px * var(--ps-scale)); border-top: 1px solid var(--lg-line); }
.rp-chapter:focus { outline: none; }
.rp-chapter__head { margin-bottom: calc(10px * var(--ps-scale)) !important; color: var(--lg-ink2); }
.rp-chapter__head b { color: var(--lg-ink); }
.rp-chapter__summary { margin-bottom: calc(10px * var(--ps-scale)) !important; }
.rp-bullets { list-style: none; padding: 0; display: grid; gap: calc(8px * var(--ps-scale)); }
.rp-bullets li { position: relative; padding-left: calc(16px * var(--ps-scale)); }
.rp-bullets li::before { content: ""; position: absolute; left: 2px; top: .62em; width: calc(6px * var(--ps-scale)); height: calc(6px * var(--ps-scale)); border-radius: 50%; background: color-mix(in srgb, var(--lg-lagoon) 55%, #fff); }
.rp-unlinked { margin-top: calc(14px * var(--ps-scale)); padding: 12px 14px; border: 1px dashed var(--lg-line); border-radius: var(--lg-r2); background: var(--lg-tilebg); }
.rp-unlinked .rp-kicker { color: var(--lg-amber-text); }

/* projects (D2): name, optional category, one line, organization and dates, up to three links */
.rp-projects { list-style: none; padding: 0; display: grid; gap: calc(10px * var(--ps-scale)); }
.rp-project { padding: calc(14px * var(--ps-scale)) calc(18px * var(--ps-scale)); border: 1px solid var(--lg-tileline); border-radius: var(--lg-r2); background: var(--lg-tilebg); box-shadow: var(--lg-tileshadow); }
.rp-project__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: calc(4px * var(--ps-scale)) calc(10px * var(--ps-scale)); }
.rp-project__name { font: 750 1.15rem/1.3 var(--lg-sans); letter-spacing: -.02em; color: var(--lg-ink); overflow-wrap: anywhere; }
.rp-project__cat { padding: .15em .75em; border-radius: calc(999px * var(--ps-scale)); color: var(--lg-lagoon-deep); background: color-mix(in srgb, var(--lg-lagoon) 11%, #fff); font: 700 max(var(--ps-text-min), .7rem)/1.5 var(--lg-sans); letter-spacing: .06em; text-transform: uppercase; }
.rp-project__line { margin-top: calc(4px * var(--ps-scale)) !important; color: var(--lg-ink2); overflow-wrap: anywhere; }
.rp-project__meta { margin-top: 2px !important; font-size: max(var(--ps-text-min), .85rem); color: var(--lg-quiet-text); }
.rp-project__foot { display: flex; align-items: center; flex-wrap: wrap; gap: calc(6px * var(--ps-scale)) calc(14px * var(--ps-scale)); margin-top: calc(6px * var(--ps-scale)); }
.rp-project__links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: calc(4px * var(--ps-scale)) calc(14px * var(--ps-scale)); }
.rp-project__links svg { width: 12px; height: 12px; }
.rp-project__edit { margin-left: auto; }
.rp-project.is-editing > :not(form) { display: none; }

/* owner forms on the page (D2): Looking Ahead line, Projects */
.rp-form { display: grid; gap: calc(10px * var(--ps-scale)); margin-top: calc(10px * var(--ps-scale)); }
.rp-form__title { font: 750 1.15rem/1.3 var(--lg-sans); letter-spacing: -.02em; color: var(--lg-ink); }
.rp-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(10px * var(--ps-scale)) calc(14px * var(--ps-scale)); }
.rp-form__field { display: grid; gap: calc(4px * var(--ps-scale)); margin: 0; min-width: 0; }
.rp-form__field--wide { grid-column: 1 / -1; }
.rp-form__label { font: 650 max(var(--ps-text-min), .85rem)/1.3 var(--lg-sans); color: var(--lg-ink); }
.rp-form__opt { margin-left: calc(6px * var(--ps-scale)); font-weight: 500; color: var(--lg-quiet-text); }
.rp-form__input { width: 100%; min-width: 0; min-height: 38.4px; padding: 6px 12px; border: 1px solid #6c8294; border-radius: .8rem; background: #fff; color: var(--lg-ink); font: 400 .95rem/1.4 var(--lg-sans); }
.rp-form__input:focus-visible { outline: 3px solid var(--lg-focus); outline-offset: 1px; }
.rp-form__links { display: grid; gap: calc(6px * var(--ps-scale)); margin: 0; padding: 0; border: 0; min-width: 0; }
.rp-form__links legend { padding: 0; margin-bottom: calc(4px * var(--ps-scale)); }
.rp-form__acts { display: flex; align-items: center; gap: calc(14px * var(--ps-scale)); margin: 0; }
.rp-form__status:empty { display: none; }
.rp-form__status { font-size: max(var(--ps-text-min), .85rem); color: var(--lg-ink2); }
.rp-form__status[data-kind="error"] { color: #8a2f1d; }
.rp-ahead__edit { align-self: flex-start; margin-top: calc(8px * var(--ps-scale)); }
.rp-addproj { margin-top: calc(14px * var(--ps-scale)); padding: calc(16px * var(--ps-scale)) calc(18px * var(--ps-scale)); font-size: var(--rp-text); line-height: var(--rp-line); }
.rp-addproj[hidden], .rp-editor:not(.is-open) .rp-addproj { display: none; }
.rp-addproj .rp-card__title { margin-bottom: calc(8px * var(--ps-scale)); }

/* looking ahead */
.rp-ahead { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); min-height: 200px; padding: 0; overflow: hidden; background: var(--lg-card); border: 1px solid var(--lg-cardline); border-radius: var(--lg-r); box-shadow: var(--lg-shadow); }
.rp-ahead--text { grid-template-columns: minmax(0, 1fr); }
.rp-ahead__pic { position: relative; overflow: hidden; background: color-mix(in srgb, var(--lg-lagoon) 8%, #fff); }
/* A 200px desktop crop grows with long text; inline member focal points win. */
.rp-ahead__pic img { display: block; width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 50% 96%; }
.rp-ahead__text { padding: calc(22px * var(--ps-scale)) calc(24px * var(--ps-scale)); display: flex; flex-direction: column; justify-content: center; }
.rp-ahead__line { font: 400 clamp(1.3rem, calc(2.2vw * var(--ps-scale)), 1.8rem)/1.2 var(--lg-sans); letter-spacing: -.04em; color: var(--lg-ink); overflow-wrap: anywhere; }
.rp-placeholder { border: 1px dashed #cfa659; border-radius: var(--lg-r2); background: #fbf5e9; padding: calc(12px * var(--ps-scale)) calc(14px * var(--ps-scale)); }
.rp-placeholder__tag { display: inline-block; margin-bottom: calc(6px * var(--ps-scale)); padding: 2px calc(8px * var(--ps-scale)); border-radius: calc(9px * var(--ps-scale)); background: #f3dfba; color: #6b4d13; font: 700 max(var(--ps-text-min), calc(10.5px * var(--ps-scale)))/1.4 var(--lg-sans); letter-spacing: .06em; text-transform: uppercase; }
.rp-placeholder__line { font: italic 500 1.05rem/1.35 var(--lg-sans); color: #5b4a2a; }
.rp-placeholder__note { margin-top: calc(4px * var(--ps-scale)) !important; color: #6e5d3b; font-size: max(var(--ps-text-min), .85rem); }

/* credentials */
.rp-creds { display: grid; grid-template-columns: 1.1fr .75fr 1.15fr; gap: calc(14px * var(--ps-scale)); }
.rp-creds--2 { grid-template-columns: 1fr 1fr; }
.rp-creds--1 { grid-template-columns: 1fr; }
.rp-creds__col { padding: calc(20px * var(--ps-scale)); min-width: 0; border-radius: var(--lg-r2); background: var(--lg-tilebg); border: 1px solid var(--lg-tileline); box-shadow: var(--lg-tileshadow); }
.rp-creds__head { margin: 0 0 calc(9px * var(--ps-scale)); font: 650 max(var(--ps-text-min), .82rem)/1.2 var(--lg-sans); letter-spacing: .07em; text-transform: uppercase; color: var(--lg-lagoon-text); }
.rp-creds__list { list-style: none; padding: 0; display: grid; gap: 0; }
.rp-creds__list li { padding: .55rem 0; border-top: 1px solid var(--lg-line); line-height: 1.3; }
.rp-creds__list b { display: block; color: var(--lg-ink); font-weight: 650; font-size: .95rem; }
.rp-creds__meta { font-size: max(var(--ps-text-min), .82rem); color: var(--lg-ink2); }
.rp-creds__meta em { font-style: normal; font-weight: 700; color: var(--lg-amber-text); }

/* career constellation: the night-sky illustration keeps its own colours (THEME_LAGOON exception) */
.rp-const { min-height: 400px; padding: 0; overflow: hidden; border-radius: var(--lg-r); background: var(--rp-night); border: 1px solid var(--rp-night); color: var(--rp-cream); }
.rp-const::before { content: ""; position: absolute; inset: 0; background: url("../images/Mockups/resume2/resume2-blue-mountain-background.webp") center 30% / cover no-repeat; opacity: .55; }
.rp-const::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 28, 48, .86) 0%, rgba(18, 36, 58, .55) 45%, rgba(16, 32, 44, .8) 100%); }
.rp-const__in { position: relative; z-index: 2; padding: 22px 24px 20px; }
.rp-const .rp-kicker { color: var(--rp-dawn); }
.rp-const .rp-sec__title { color: var(--rp-cream); font-size: clamp(25.6px, 2.6vw, 35.2px); }
.rp-const__sky { position: relative; height: 290px; margin-top: 6px; }
.rp-const__line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rp-const__line path { fill: none; stroke: rgba(244, 237, 224, .55); stroke-width: 1.5; }
.rp-const__stops { list-style: none; padding: 0; }
.rp-stop { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; }
.rp-stop__b { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); display: block; min-width: 24px; min-height: 24px; border: 0; background: none; padding: 0; color: var(--rp-cream); text-decoration: none; cursor: pointer; }
.rp-stop__dot { display: block; width: calc(12px * var(--ps-scale)); height: calc(12px * var(--ps-scale)); margin: calc(6px * var(--ps-scale)) auto; border-radius: 50%; background: var(--rp-cream); box-shadow: 0 0 0 4px rgba(251, 246, 234, .16); }
.rp-stop--job .rp-stop__dot { width: calc(18px * var(--ps-scale)); height: calc(18px * var(--ps-scale)); margin: calc(3px * var(--ps-scale)) auto; background: var(--rp-dawn); box-shadow: 0 0 0 5px rgba(241, 217, 160, .22), 0 0 18px rgba(241, 217, 160, .55); }
.rp-stop--future .rp-stop__dot { background: transparent; border: 1.5px dashed var(--rp-cream); box-shadow: none; }
.rp-stop__lab { position: absolute; left: 50%; transform: translateX(-50%); width: calc(150px * var(--ps-scale)); text-align: center; line-height: 1.3; }
.rp-stop__lab b { display: block; font: 600 max(var(--ps-text-min), calc(12.5px * var(--ps-scale)))/1.3 var(--lg-sans); color: var(--rp-cream); }
.rp-stop__lab i { display: block; font: 500 max(var(--ps-text-min), calc(12px * var(--ps-scale)))/1.3 var(--lg-sans); font-style: normal; color: rgba(244, 237, 224, .8); }
.rp-stop--above .rp-stop__lab { bottom: calc(100% + calc(6px * var(--ps-scale))); }
.rp-stop--below .rp-stop__lab { top: calc(100% + calc(6px * var(--ps-scale))); }
.rp-stop--job .rp-stop__lab b { font: 600 calc(15px * var(--ps-scale))/1.25 var(--rp-serif); color: var(--rp-dawn); }
.rp-stop__b:hover .rp-stop__lab b { text-decoration: underline; text-underline-offset: 3px; }

/* the closing card (the Let's talk half is gone, Pete Nov 9; the philosophy panel is not drawn by any page now) */
.rp-end { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: 260px; padding: 0; overflow: hidden; background: var(--lg-card); border: 1px solid var(--lg-cardline); border-radius: var(--lg-r); box-shadow: var(--lg-shadow); }
.rp-end__philo { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(24px * var(--ps-scale)); color: var(--rp-cream); background: linear-gradient(180deg, rgba(20, 24, 40, .38), rgba(20, 24, 40, .8)), url("../images/cinematic/story-sunset-bg.jpg") center / cover no-repeat; }
.rp-end__philo .rp-kicker { color: var(--rp-dawn); }
.rp-end__quote { font: 750 clamp(1.3rem, calc(2.2vw * var(--ps-scale)), 1.8rem)/1.15 var(--lg-sans); letter-spacing: -.04em; margin: 0 0 calc(8px * var(--ps-scale)) !important; }
.rp-end__text { color: rgba(251, 246, 234, .9); }
.rp-end__acts { display: flex; align-items: center; gap: calc(16px * var(--ps-scale)); margin-top: calc(12px * var(--ps-scale)); flex-wrap: wrap; }
.rp-unavailable { padding: clamp(calc(20px * var(--ps-scale)), calc(2.3vw * var(--ps-scale)), calc(32px * var(--ps-scale))); background: var(--lg-card); border: 1px solid var(--lg-cardline); border-radius: var(--lg-r); box-shadow: var(--lg-shadow); }

/* today's editor, reachable with Edit myself (D1 keeps it unchanged) */
/* Closed: today's editor takes no room, but the Guide and media dialogs inside it still work. */
.rp-editor:not(.is-open) > .owner-app { display: contents; }
.rp-editor:not(.is-open) .resume-editor__sections,
.rp-editor:not(.is-open) .resume-editor__panel { display: none; }
.rp-editor.is-open { margin-top: calc(14px * var(--ps-scale)); }
.rp-editor .owner-app { scroll-margin-top: var(--rp-sticky-top); }

/* ---------- narrower windows: the hero side column wraps, then one column ---------- */
@media (max-width: 1320px) {
    .rp-hero { grid-template-columns: calc(170px * var(--ps-scale)) minmax(0, 1fr); grid-template-areas: "ph id" "side side" "hl hl"; }
    .rp-hero[data-has-side="false"] { grid-template-columns: calc(170px * var(--ps-scale)) minmax(0, 1fr); grid-template-areas: "ph id" "hl hl"; }
    .rp-hero__photo { height: calc(190px * var(--ps-scale)); }
    .rp-hero__side { grid-template-columns: minmax(0, 1fr) auto; align-items: start; margin-top: clamp(calc(14px * var(--ps-scale)), calc(1.6vw * var(--ps-scale)), calc(20px * var(--ps-scale))); padding-top: clamp(calc(14px * var(--ps-scale)), calc(1.6vw * var(--ps-scale)), calc(20px * var(--ps-scale))); border-top: 1px solid var(--lg-line); gap: calc(16px * var(--ps-scale)); }
    .rp-hero__acts { align-self: start; }
}
@media (max-width: 1100px) {
    .rp-hero__highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rp-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 959px) {
    .rp-wrap { display: flex; flex-direction: column; align-items: stretch; gap: 0; width: calc(100% - calc(32px * var(--ps-scale))); max-width: calc(760px * var(--ps-scale)); margin: calc(10px * var(--ps-scale)) auto calc(40px * var(--ps-scale)); }
    .rp-rail { display: none; }
    .rp-toolbar__note { display: none; }
    .rp-jump { display: flex; align-items: center; gap: calc(8px * var(--ps-scale)); position: sticky; top: calc(var(--rp-sticky-top) - calc(20px * var(--ps-scale))); z-index: 20; margin: 0 0 calc(10px * var(--ps-scale)); padding: calc(8px * var(--ps-scale)) calc(12px * var(--ps-scale)); border: 1px solid var(--lg-cardline); border-radius: calc(999px * var(--ps-scale)); background: rgba(244, 249, 255, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--lg-tileshadow); }
    .rp-jump[hidden] { display: none !important; }
    .rp-jump label { font: 650 max(var(--ps-text-min), .85rem) var(--lg-sans); color: var(--lg-ink); white-space: nowrap; }
    .rp-jump select { flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; border: 0; border-radius: calc(999px * var(--ps-scale)); box-shadow: 0 0 0 1.5px var(--lg-line); background: #fff; color: var(--lg-ink); }
    .rp-glance--phone { display: block; margin-top: calc(12px * var(--ps-scale)); padding: calc(16px * var(--ps-scale)); background: var(--lg-card); border-color: var(--lg-cardline); border-radius: calc(var(--lg-r) - calc(4px * var(--ps-scale))); }
    .rp-hero, .rp-hero[data-has-side="false"] { grid-template-columns: minmax(0, 1fr); grid-template-areas: "ph" "id" "hl" "side"; row-gap: calc(16px * var(--ps-scale)); padding: calc(20px * var(--ps-scale)); }
    .rp-hero__photo { width: calc(150px * var(--ps-scale)); height: calc(170px * var(--ps-scale)); }
    .rp-hero[data-has-photo="false"] .rp-hero__photo { height: calc(120px * var(--ps-scale)); width: calc(120px * var(--ps-scale)); }
    .rp-hero__side { grid-template-columns: 1fr; margin-top: 0; padding-top: calc(16px * var(--ps-scale)); border-top: 1px solid var(--lg-line); }
    .rp-hero__highlights { grid-template-columns: 1fr 1fr; margin-top: 0; }
    .rp-ask--main .rp-ask__art { display: block; }
    /* Phones: the three tabs share the card width (a label may take two lines), so none hides off-screen. */
    .rp-ask__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 6px; width: 100%; border-radius: 1.4rem; }
    .rp-ask__tabs .rp-tab { flex-wrap: wrap; align-content: center; align-items: center; justify-content: center; gap: calc(3px * var(--ps-scale)) calc(5px * var(--ps-scale)); min-height: var(--ps-tap-min); padding: 5px 8px; border-radius: 1.1rem; white-space: normal; text-align: center; line-height: 1.25; }
    .rp-ask--main .rp-ask__title { overflow-wrap: break-word; }
    /* The question box keeps room for its placeholder's lines, two on a wider phone and three up to 420px wide, while it is
       showing (the script's auto-size only ever sets the height of what is typed). */
    .rp-ask--main .rp-ask__box textarea:placeholder-shown { min-height: 60.8px; }
    .rp-sec { margin-top: calc(20px * var(--ps-scale)); padding: 0; }
    .rp-sec__title { font-size: clamp(1.7rem, calc(7vw * var(--ps-scale)), 2rem); }
    .rp-skills { grid-template-columns: 1fr; }
    /* Keep the next section still as each skill changes its evidence. */
    .rp-skills__line { contain: none; min-height: 0; height: calc(240px * var(--ps-scale)); }
    .rp-skills__scroll { position: absolute; inset: 0; max-height: none; }
    .rp-skills__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rp-story { grid-template-columns: 1fr; }
    .rp-story__pic { margin: 0; height: calc(112px * var(--ps-scale)); order: -1; }
    .rp-story__text { padding: calc(6px * var(--ps-scale)) calc(14px * var(--ps-scale)) calc(18px * var(--ps-scale)); }
    .rp-body--visitor .rp-story__pic { height: calc(170px * var(--ps-scale)); }
    .rp-roles { grid-template-columns: 1fr; }
    .rp-role { min-height: 0; }
    .rp-ahead { grid-template-columns: 1fr; }
    .rp-ahead__pic img { position: static; height: auto; aspect-ratio: 4 / 3; }
    .rp-ahead__text { padding: calc(16px * var(--ps-scale)) calc(14px * var(--ps-scale)) calc(18px * var(--ps-scale)); }
    .rp-form__grid { grid-template-columns: 1fr; }
    /* Phones (Q8): Edit myself first, the Guide button after it in outline style. */
    .rp-toolbar__guide { order: 2; background: rgba(255, 255, 255, .9); background-image: none; color: var(--lg-ink); box-shadow: 0 0 0 1.5px var(--lg-line); }
    .rp-creds, .rp-creds--2 { grid-template-columns: 1fr; gap: calc(14px * var(--ps-scale)); }
    .rp-const { min-height: 0; }
    .rp-const__in { padding: 18px 16px; }
    .rp-const__sky { height: auto; margin-top: 14px; }
    .rp-const__line { display: none; }
    .rp-const__stops { position: relative; display: flex; gap: 0; width: max-content; min-width: 100%; padding: 8px 12px 6px; }
    .rp-const__stops::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 1.5px; background: rgba(244, 237, 224, .45); }
    .rp-stop { position: relative; left: auto; top: auto; flex: 0 0 auto; width: calc(150px * var(--ps-scale)); min-width: 118px; height: auto; }
    .rp-stop__b { position: relative; transform: none; display: flex; flex-direction: column; align-items: center; gap: calc(8px * var(--ps-scale)); width: 100%; min-height: var(--ps-tap-min); text-align: center; }
    .rp-stop__dot { margin: calc(8px * var(--ps-scale)) 0 0; }
    .rp-stop--job .rp-stop__dot { margin-top: calc(5px * var(--ps-scale)); }
    .rp-stop__lab, .rp-stop--above .rp-stop__lab, .rp-stop--below .rp-stop__lab { position: static; transform: none; width: 100%; padding: 0 6px; text-align: center; }
    .rp-end { grid-template-columns: 1fr; }
    .rp-end__philo { min-height: calc(240px * var(--ps-scale)); }
}
@media (max-width: 420px) {
    .rp-ask--main .rp-ask__box textarea:placeholder-shown { min-height: 83.2px; }
}
@media (pointer: coarse) {
    .rp-secnav__a, .rp-chip, .rp-link, .rp-btn--sm, .rp-form__input { min-height: 44px; }
}

/* ---------- after the frame: desktop career constellation band + closing card ---------- */
/* ---------- after the frame: desktop career constellation band + closing card ---------- */
/* The band reproduces the live /petec/resume constellation (living-resume-v2.css,
   .lr-constellation*) in this page's own classes. Colours, sizes and geometry are
   the live values; content comes from the member's own data. */
.rp-wrap { margin-bottom: calc(24px * var(--ps-scale)); }
.rp-band {
    --rp-band-blue: #203767; --rp-band-cyan: #2f5296; --rp-band-amber: #b87900; --rp-band-ink: #101b30;
    --rp-band-display: "Newsreader", Georgia, serif;
    width: min(calc(100% - 48px), 1600px); margin: 0 auto 24px; font-family: var(--lg-sans); color: var(--rp-band-ink);
}
.rp-band *, .rp-band *::before, .rp-band *::after { box-sizing: border-box; }
.rp-band :is(p, h2, h3, ul, blockquote) { margin: 0; }
.rp-band svg:not(.rp-band__line) { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rp-band :is(button, a):focus-visible { outline: 2px solid #7ce8ee; outline-offset: 2px; }
.rp-band__section { scroll-margin-top: var(--rp-land-top, var(--rp-sticky-top)); }
.rp-band__section:focus { outline: none; }
.rp-band__scene { position: relative; min-height: 1010px; overflow: hidden; color: #f3f8ff; background: linear-gradient(100deg, #04172e 0%, #0a2b4d 34%, #8faabd 55%, #dceaf2 70%, #f5faff 100%); border: 2px solid rgb(170 213 245 / 82%); border-radius: 28px; box-shadow: 0 2rem 5rem rgb(4 22 43 / 28%), 0 0 1.8rem rgb(82 176 255 / 17%), inset 0 0 0 0.45rem rgb(255 255 255 / 34%), inset 0 0 2.5rem rgb(133 206 255 / 12%); }
.rp-band__intro { position: absolute; z-index: 3; top: 48px; left: 40px; width: 496px; }
.rp-band__kicker { color: #77dce7; font-size: max(var(--ps-text-min), 11.52px); font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; }
.rp-band__intro h2 { margin: 16px 0 0; font-family: var(--rp-band-display); font-size: 59.2px; font-weight: 600; letter-spacing: 0; line-height: 0.98; color: #f3f8ff; }
.rp-band__intro em { display: block; margin-top: 12.8px; color: #c3d0df; font-family: var(--rp-band-display); font-size: 23.2px; }
.rp-band__rule { display: block; width: 64px; height: 2.88px; margin-top: 24px; background: var(--rp-band-cyan); }
.rp-band__lead { max-width: 320px; margin-top: 19.2px !important; color: #c1cfde; font-size: 13.28px; line-height: 1.6; }
.rp-band__legend { position: absolute; z-index: 4; top: 40px; left: 40%; display: flex; gap: 20.8px; padding: 11.2px 16px; color: #e9f3ff; background: rgb(7 29 55 / 36%); border: 1px solid rgb(255 255 255 / 28%); border-radius: 10.4px; font-size: max(var(--ps-text-min), 10.88px); }
.rp-band__legend span { display: flex; align-items: center; gap: 6.4px; }
.rp-band__legend i { width: 12px; height: 12px; background: var(--rp-band-blue); border-radius: 50%; }
.rp-band__legend .is-experience { background: var(--rp-band-cyan); }
.rp-band__legend .is-credential { background: var(--rp-band-amber); }
.rp-band__legend .is-future { background: #78c7ff; box-shadow: 0 0 0.65rem #78c7ff; }
.rp-band__evolution { position: absolute; z-index: 5; top: 112px; left: 42.2%; width: 184px; padding: 14.4px 16px; color: #173b5e; background: rgb(240 248 253 / 92%); border: 1px solid rgb(255 255 255 / 72%); border-radius: 11.2px; box-shadow: 0 0.8rem 2rem rgb(9 40 69 / 16%); }
.rp-band__evolution small, .rp-band__evolution span { display: block; color: #326687; font-size: max(var(--ps-text-min), 8.8px); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.rp-band__evolution small { display: flex; align-items: center; gap: 7.2px; }
.rp-band__evolution small svg { width: 20px !important; height: 20px !important; color: #00a8be; }
.rp-band__evolution::after { position: absolute; top: 100%; left: calc(50% + 16px); width: 1px; height: 152px; border-left: 2px dotted rgb(222 246 255 / 76%); content: ""; }
.rp-band__evolution p { margin: 7.2px 0 12px; padding-bottom: 12px; border-bottom: 1px solid #b7cddd; font-size: max(var(--ps-text-min), 9.6px); line-height: 1.45; }
.rp-band__evolution strong { display: block; margin-top: 4.8px; font-size: max(var(--ps-text-min), 9.92px); line-height: 1.4; }
.rp-band__evolution i { color: #00667a; font-style: normal; }   /* 5.6:1 on the pale card (was #008ca1, 3.4:1) */
.rp-band__canvas { position: absolute; z-index: 2; inset: 120px 24px 208px; }
.rp-band__line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rp-band__line path { fill: none; stroke: #82c8ff; stroke-width: 3; }
.rp-band__line .rp-band__glow { stroke: rgb(84 200 255 / 26%); stroke-width: 13; }
.rp-band__line .rp-band__branch { stroke: #87c8ff; stroke-width: 2; }
.rp-band__line .rp-band__future-tail { stroke: #7dc9ff; stroke-width: 3; }
.rp-band__line marker path { fill: #74c6ff; stroke: none; }
.rp-band__junction { position: absolute; top: 58.9%; left: 50%; z-index: 7; display: grid; width: 66.4px; height: 66.4px; place-items: center; background: #087292; border: 3px solid #8bf1f6; border-radius: 50%; box-shadow: 0 0 0 0.42rem rgb(33 203 219 / 24%), 0 0 1.8rem rgb(69 224 238 / 86%); transform: translate(-50%, -50%); }
.rp-band__junction i { width: 21.6px; height: 21.6px; background: #ffffff; border-radius: 50%; box-shadow: 0 0 0.8rem #ffffff; }
.rp-band__nodes { position: absolute; inset: 0; padding: 0; list-style: none; }
.rp-band-node { position: absolute; top: var(--node-y); left: var(--node-x); z-index: 3; width: 208px; transform: translate(-50%, -50%); }
.rp-band-node__b { position: relative; display: grid; width: 100%; justify-items: center; padding: 0; color: var(--rp-band-ink); text-align: center; background: transparent; border: 0; font: inherit; }
button.rp-band-node__b { cursor: pointer; }
.rp-band-node__marker { display: grid; width: 57.6px; height: 57.6px; place-items: center; color: #ffffff; background: #126a92; border: 2px solid #72e2ea; border-radius: 50%; box-shadow: 0 0 0 0.45rem rgb(48 194 218 / 14%), 0 0 1.5rem rgb(46 200 211 / 58%); transition: transform 160ms ease-out; }
.rp-band-node__marker svg { width: 29.6px !important; height: 29.6px !important; stroke-width: 1.7 !important; }
.rp-band-node.is-education .rp-band-node__marker { background: var(--rp-band-blue); border-color: #94a7ff; }
.rp-band-node.is-credential .rp-band-node__marker { color: #573c06; background: var(--rp-band-amber); border-color: #ffe0a0; box-shadow: 0 0 0 0.45rem rgb(215 163 62 / 14%), 0 0 1.5rem rgb(215 163 62 / 54%); }
.rp-band-node.is-future .rp-band-node__marker { background: #409dd6; border-color: #b4ebff; }
button.rp-band-node__b:hover .rp-band-node__marker { transform: scale(1.1); }
.rp-band-node__copy { position: absolute; left: 50%; display: block; width: 208px; color: #0b3456; text-align: left; transform: translateX(-50%); }
.rp-band-node.track-main .rp-band-node__copy, .rp-band-node.track-branch.is-education .rp-band-node__copy { width: 184px; }
.rp-band-node.track-pre.is-experience .rp-band-node__copy { width: 224px; }
.rp-band-node.is-credential .rp-band-node__copy, .rp-band-node.is-future .rp-band-node__copy { width: 168px; }
.rp-band-node.label-above .rp-band-node__copy { bottom: 72px; }
.rp-band-node.label-below .rp-band-node__copy { top: 72px; }
.rp-band-node__copy > small, .rp-band-node__copy > strong, .rp-band-node__copy > span { display: block; }
.rp-band-node__copy > small { color: #007b9b; font-size: max(var(--ps-text-min), 10.56px); font-weight: 700; }
.rp-band-node__copy > strong { margin-top: 3.2px; font-family: var(--rp-band-display); font-size: 17.28px; line-height: 1.05; }
.rp-band-node__sub { margin-top: 4px; color: #183b5d; font-size: max(var(--ps-text-min), 10.88px); font-weight: 600; line-height: 1.25; }
.rp-band-node__copy ul, .rp-band-node__copy p { margin: 7.2px 0 0; padding-left: 14.4px; color: #244a68; font-size: max(var(--ps-text-min), 9.76px); line-height: 1.35; }
.rp-band-node__copy p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; padding-left: 0; }
.rp-band-node__copy li { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.rp-band-node__copy li::marker { color: #00a1b7; }
.rp-band-node.on-dark :is(.rp-band-node__copy > strong, .rp-band-node__sub, .rp-band-node__copy ul, .rp-band-node__copy p) { color: #eef7ff; }
.rp-band-node.on-dark .rp-band-node__copy > small { color: #72e1e9; }
.rp-band-node.on-dark .rp-band-node__copy { text-shadow: 0 1px 10px rgb(4 23 46 / 85%), 0 0 2px rgb(4 23 46 / 60%); }
/* PS-RESUME-NOLIVE-001 (Pete, 2026-11-01, "just fix... small and subtle"): a role label whose line or curve passes behind it (the constellation's bright line crosses "B.S. Electrical Engineering") sits on a soft dark plate, so every label reads at 4.5:1 or better wherever a line runs */
.rp-band-node.on-dark .rp-band-node__copy > :is(small, strong, span) { width: fit-content; max-width: 100%; margin-left: -6px; padding: 1px 6px; border-radius: 6px; background: rgb(5 26 49 / 58%); }
.rp-band__skills { position: absolute; z-index: 5; right: 80px; bottom: 232px; left: 416px; display: flex; justify-content: space-between; gap: 7.2px; }
.rp-band__skills span { padding: 4.8px 11.2px; color: #0a526f; background: rgb(229 246 252 / 78%); border: 1px solid #2fb6c6; border-radius: 999px; font-size: max(var(--ps-text-min), 8.8px); line-height: 1.15; text-align: center; }
.rp-band__skills span:nth-child(3) { color: #ffffff; background: #08728b; box-shadow: 0 0 0.8rem rgb(46 200 211 / 32%); }
.rp-band__evidence { position: absolute; z-index: 6; bottom: 272px; left: 49%; display: grid; width: 232px; grid-template-columns: 1fr 1fr; overflow: hidden; color: #e9fbff; background: #07516d; border: 1px solid #74d9e4; border-radius: 8.8px; box-shadow: 0 0.8rem 1.8rem rgb(4 34 57 / 24%); transform: translateX(-50%); }
.rp-band__evidence h3 { grid-column: 1 / -1; padding: 7.2px 10.4px; color: #ffffff; background: #09677f; font-family: var(--rp-band-display); font-size: max(var(--ps-text-min), 9.92px); }
.rp-band__evidence span { padding: 7.2px 9.6px; font-size: max(var(--ps-text-min), 8px); line-height: 1.2; }
.rp-band__evidence strong { display: block; color: #92edf1; font-size: max(var(--ps-text-min), 11.52px); }
.rp-band__outcomes { position: absolute; z-index: 5; right: 40px; bottom: 115.2px; left: 384px; display: grid; grid-template-columns: 128px minmax(0, 1fr); align-items: center; gap: 16px; padding: 14.4px 16px; color: #e5f7ff; background: rgb(16 58 91 / 88%); border: 1px solid rgb(177 225 255 / 48%); border-radius: 12.8px; }
.rp-band__outcomes h3 { font-family: var(--rp-band-display); font-size: max(var(--ps-text-min), 10.56px); letter-spacing: 0.16em; line-height: 1.5; text-transform: uppercase; }
.rp-band__outcomes > div { display: grid; grid-template-columns: repeat(var(--outcome-count, 8), minmax(0, 1fr)); }
.rp-band__outcomes span { position: relative; min-height: 50.4px; min-width: 0; padding: 2.4px 6.4px 0 37.6px; border-left: 1px solid rgb(206 235 255 / 20%); font-size: max(var(--ps-text-min), 8.8px); line-height: 1.25; }
.rp-band__outcomes span svg { position: absolute; top: 4px; left: 8.8px; width: 23.2px !important; height: 23.2px !important; color: #a2eff4; stroke-width: 1.55 !important; }
.rp-band__outcomes strong { display: block; color: #8eeaf0; font-size: 16.8px; }
.rp-band__scene:not(.has-footer) .rp-band__outcomes { bottom: 40px; }
.rp-band__scene:not(.has-footer) .rp-band__skills { bottom: 160px; }
.rp-band__scene:not(.has-footer) .rp-band__evidence { bottom: 200px; }
.rp-band__footer { position: absolute; z-index: 6; right: 0; bottom: 0; left: 0; display: grid; min-height: 96px; grid-template-columns: minmax(288px, 0.9fr) minmax(544px, 1.7fr); align-items: center; gap: 32px; padding: 20px 48px; background: rgb(3 22 45 / 92%); border-top: 1px solid rgb(154 211 248 / 42%); }
.rp-band__footer blockquote { color: #e8f3ff; font-family: var(--rp-band-display); font-size: 13.6px; font-style: italic; }
.rp-band__footer > div { display: flex; justify-content: flex-end; padding-right: 72px; }
.rp-band__footer span { display: grid; min-width: 0; flex: 1; grid-template-columns: 25.6px minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; column-gap: 8px; padding: 0 12px; color: #d4e5f5; border-left: 1px solid rgb(171 210 239 / 30%); font-size: max(var(--ps-text-min), 10.4px); font-weight: 600; }
.rp-band__footer span svg { grid-row: 1 / 3; width: 21.6px !important; height: 21.6px !important; color: #d8ecff; }
.rp-band__footer span small { color: #aebfd0; font-size: max(var(--ps-text-min), 8.8px); font-weight: 400; }
.rp-band__compass { position: absolute; z-index: 8; right: 22.4px; bottom: 17.6px; display: grid; width: 64px; height: 64px; place-items: center; color: #8ce8ff; border: 1px dashed #27b9ed; border-radius: 50%; box-shadow: 0 0 1.2rem rgb(39 185 237 / 25%); }
.rp-band__compass svg { width: 32px !important; height: 32px !important; }
@media (prefers-reduced-motion: reduce) { .rp-band-node__marker { transition: none; } }
/* Pete 2026-10-26: the career constellation never stacks. Its items stay in one row at every width; when they do not fit, the row
   scrolls sideways and a left and a right arrow (44px, keyboard and touch) move it. The desktop scene keeps the layout it has at
   1440 (its width never drops below 1392px, the width it has at a 1440 window) and the phone card is one row of stops. */
.rp-hscroll { position: relative; }
.rp-hscroll__vp { overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: rgba(130, 200, 255, .7) rgba(4, 23, 46, .35); }
.rp-hscroll__vp:focus-visible { outline: 3px solid var(--lg-focus); outline-offset: 2px; }
.rp-hscroll__arrow { display: none; position: absolute; top: 50%; z-index: 12; width: var(--ps-tap-min); height: var(--ps-tap-min); margin: calc(var(--ps-tap-min) / -2) 0 0; padding: 0; place-items: center;
    color: #fff; background: rgba(6, 28, 58, .86); border: 2px solid rgba(255, 255, 255, .9); border-radius: 50%; box-shadow: 0 6px 16px rgba(4, 22, 43, .35); cursor: pointer; }
.rp-hscroll__arrow--prev { left: 8px; }
.rp-hscroll__arrow--next { right: 8px; }
.rp-hscroll.is-scrollable .rp-hscroll__arrow { display: grid; }
.rp-hscroll__arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.rp-hscroll__arrow[aria-disabled="true"] { opacity: .38; cursor: default; box-shadow: none; }
.rp-hscroll__arrow:focus-visible { outline: 3px solid #fff; outline-offset: 0; box-shadow: 0 0 0 6px var(--lg-focus); }
.rp-band .rp-hscroll__vp .rp-band__scene { min-width: 1392px; }
/* On the phone card the arrows sit in gutters beside the row, so no label ever runs under an arrow (Mac re-check). */
.rp-const .rp-hscroll { padding: 0 calc(var(--ps-tap-min) + 8px); }
.rp-const .rp-hscroll__arrow--prev { left: 2px; }
.rp-const .rp-hscroll__arrow--next { right: 2px; }
@media (forced-colors: active) {
    .rp-band__scene { color: CanvasText; background: Canvas; border-color: CanvasText; box-shadow: none; }
    .rp-band-node__marker { color: ButtonText; background: ButtonFace; border-color: ButtonText; box-shadow: none; }
}
.rp-after { width: var(--lg-wrap); margin: 0 auto calc(64px * var(--ps-scale)); display: grid; grid-template-columns: var(--lg-rail-width) minmax(0, 1fr); gap: var(--lg-gap); align-items: start; }
.rp-content--after > .rp-sec:first-child { margin-top: 0; }
/* PS-LIVE-FIXES-RESUME-002 (live bug 11): the simplified card stands in for the desktop band up to 1024 wide, where the 1392px band could
   show only a few stops; from 1025 the band is unchanged. */
@media (min-width: 1025px) { #rp-constellation-phone { display: none; } }
@media (max-width: 1024px) { .rp-band { display: none !important; } }
@media (max-width: 959px) {
    .rp-wrap { margin-bottom: 0; }
    .rp-after { display: block; width: calc(100% - calc(32px * var(--ps-scale))); max-width: calc(760px * var(--ps-scale)); margin: 0 auto calc(40px * var(--ps-scale)); }
    .rp-after__spacer { display: none; }
    .rp-content--after > .rp-sec:first-child { margin-top: calc(20px * var(--ps-scale)); }
}

/* ---------- round 2, public page: section navigation (Pete, 2026-10-19) ----------
   Desktop: the rail runs the full column and its three cards stay pinned together (the dock: Details & contact, Credentials at a glance, Ask Pete AI;
   PS-RESUME-LEFT-RAIL-001 replaced the "On this resume" list with the sticky section bar); a window too short for all three lets the rail scroll. Phones: a row of section tabs under the site header replaces
   the Jump to dropdown and tucks away on scroll down (resume-page.js). The owner page has neither. */
.rp-tabs-slot, .rp-tabs { display: none; }
@media (min-width: 960px) {
    .rp-body--visitor .rp-rail { position: static; align-self: stretch; }
    .rp-dock { position: sticky; top: var(--rp-rail-top, var(--rp-sticky-top)); display: flex; flex-direction: column; gap: calc(14px * var(--ps-scale)); }
    .rp-dock.is-tight { position: static; }   /* PS-RESUME-LEFT-RAIL-001: a window too short for the three rail cards lets the whole rail scroll with the page */
}
@media (max-width: 959px) {
    body.rp-body.rp-body--visitor, body.rp-body--visitor .rp { --rp-sticky-top: var(--rp-tabs-offset, calc(133px * var(--ps-scale))); }  /* a section lands just under the row */
    .rp-body--visitor .rp-jump { display: none !important; }
    .rp-tabs-slot { display: block; height: var(--rp-tabs-h, 61px); margin-bottom: calc(10px * var(--ps-scale)); }
    .rp-tabs { display: block; position: fixed; left: 0; right: 0; top: var(--rp-tabs-top, calc(64px * var(--ps-scale))); z-index: 1100; font-family: var(--lg-sans);
        background: rgba(244, 249, 255, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
        border-bottom: 1px solid var(--lg-line); box-shadow: 0 6px 16px rgba(10, 60, 120, .12);
        transition: transform .24s ease; }
    .rp-tabs[hidden] { display: none; }
    .rp-tabs.is-away { transform: translateY(calc(-100% - 2px)); }
    .rp-tabs__list { list-style: none; margin: 0; display: flex; gap: calc(8px * var(--ps-scale)); overflow-x: auto; overscroll-behavior-x: contain;
        padding: 8px max(16px, env(safe-area-inset-right, 0px)) 8px max(16px, env(safe-area-inset-left, 0px)); scrollbar-width: none; }
    .rp-tabs__list::-webkit-scrollbar { display: none; }
    .rp-tabs__list li { flex: none; }
    .rp-tabs .rp-tab { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: calc(999px * var(--ps-scale)); border: 0;
        background: rgba(255, 255, 255, .8); box-shadow: 0 0 0 1px var(--lg-line);
        color: var(--lg-ink2); text-decoration: none; white-space: nowrap; font: 600 max(var(--ps-text-min), .88rem)/1 var(--lg-sans); }
    .rp-tabs .rp-tab[aria-current="location"] { background-color: #0a74c9; background-image: var(--lg-nav-on); box-shadow: none; color: #fff; }
    .rp-tabs .rp-tab:focus-visible { outline: 3px solid var(--lg-focus); outline-offset: 2px; }
}
@media (prefers-reduced-motion: reduce) { .rp-btn, .rp-skill, .rp-tabs { transition: none; } .rp-btn:hover, button.rp-skill:hover, .rp-tabs.is-away { transform: none; } }
/* ---------- round 3, public page: the private question (trust's Ask Pete companion, Option A) ----------
   The companion is mounted only when the private question is available. On this page it shows only while its
   private form is open, as a drawer (desktop) or a bottom sheet (phone), and only the "Ask Pete directly" part:
   the page's own Ask card stays the one AI entry. Trust's code and markup are unchanged; this is page styling. */
.rp-body--visitor .ask-pete-evidence-companion {
    --ape-ivory: var(--lg-page-bg); --ape-ink: var(--lg-ink); --ape-ink-soft: var(--lg-ink); --ape-muted: var(--lg-ink2);
    --ape-forest: #0a5d96; --ape-forest-hover: #0b74c9; --ape-gold: var(--lg-lagoon); --ape-line: var(--lg-line);
}
.rp-body--visitor .ask-pete-evidence-companion:not(:has(#ask-direct-question:not([hidden]))),
.rp-body--visitor .ask-pete-evidence-companion[hidden] { display: none !important; }
.rp-body--visitor .ask-pete-evidence-companion:not([hidden]):has(#ask-direct-question:not([hidden])) {
    position: fixed !important; inset: 0 0 0 auto !important; z-index: 1300; display: flex !important; flex-direction: column;
    width: min(calc(460px * var(--ps-scale)), 100vw) !important; max-width: none !important; height: 100% !important; max-height: none !important;
    margin: 0 !important; transform: none !important; border-radius: 0 !important;
    background: var(--lg-page-bg) !important; color: var(--lg-ink); border-left: 1px solid var(--lg-line);
    box-shadow: -12px 0 40px rgba(10, 60, 120, .22) !important; font-family: var(--lg-sans);
}
.rp-body--visitor .ask-pete-evidence-companion :is([data-ask-pete-capability], [data-ask-pete-context], [data-ask-pete-answer],
    [data-ask-pete-recovery], .ask-pete-evidence-companion__header, .ask-pete-evidence-companion__dock) { display: none !important; }
.rp-body--visitor .ask-pete-evidence-companion__scroll { flex: 1; overflow: auto; padding: calc(8px * var(--ps-scale)) calc(22px * var(--ps-scale)) calc(24px * var(--ps-scale)) !important; }
.rp-body--visitor .rp-private-bar { display: flex; align-items: center; justify-content: space-between; gap: calc(12px * var(--ps-scale)); padding: calc(14px * var(--ps-scale)) 0 calc(6px * var(--ps-scale)); }
.rp-body--visitor .rp-private-bar p { margin: 0; font: 650 max(var(--ps-text-min), .82rem)/1 var(--lg-sans); letter-spacing: .07em; text-transform: uppercase; color: var(--lg-lagoon-text); }
.rp-body--visitor .rp-private-close { min-height: 44px; padding: 0 16px; border-radius: calc(999px * var(--ps-scale)); border: 0; box-shadow: 0 0 0 1.5px var(--lg-line);
    background: rgba(255, 255, 255, .9); color: var(--lg-ink); font: 650 .95rem/1 var(--lg-sans); cursor: pointer; }
.rp-body--visitor .rp-private-close:focus-visible { outline: 3px solid var(--lg-focus); outline-offset: 2px; }
.rp-body--visitor .ask-pete-direct > summary { font: 800 1.5rem/1.15 var(--lg-sans); letter-spacing: -.04em; color: var(--lg-ink); list-style: none; }
.rp-body--visitor .ask-pete-direct__form [data-ask-pete-submit] { background-color: var(--lg-btn-solid); background-image: var(--lg-btn); border: 0; border-radius: calc(999px * var(--ps-scale)); color: #fff; min-height: calc(44px * var(--ps-scale)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 .5rem 1.1rem -.5rem var(--lg-btn-glow); }
.rp-body--visitor .ask-pete-direct__form [data-ask-pete-submit]:hover { filter: brightness(1.04); }
.rp-body--visitor .ask-pete-direct__form textarea { background: #fff; border: 1px solid #6c8294; border-radius: .8rem; color: var(--lg-ink); }
.rp-private-scrim { position: fixed; inset: 0; z-index: 1250; background: rgba(11, 29, 42, .35); }
.rp-private-scrim[hidden] { display: none; }
@media (max-width: 959px) {
    .rp-body--visitor .ask-pete-evidence-companion:not([hidden]):has(#ask-direct-question:not([hidden])) {
        inset: auto 0 0 0 !important; width: 100% !important; height: auto !important; max-height: 88vh !important;
        border-left: 0; border-radius: calc(20px * var(--ps-scale)) calc(20px * var(--ps-scale)) 0 0 !important; box-shadow: 0 -12px 40px rgba(10, 60, 120, .22) !important;
    }
    .rp-body--visitor .ask-pete-evidence-companion__scroll { padding: calc(4px * var(--ps-scale)) calc(16px * var(--ps-scale)) calc(20px * var(--ps-scale)) !important; }
}
/* Approved hero contact rows (Pete, 2026-10-20): plain text at rest, underlined on hover and keyboard focus. */
.rp-body--visitor .rp-hero__contact-link { text-decoration: none; }
.rp-body--visitor .rp-hero__contact-link:hover,
.rp-body--visitor .rp-hero__contact-link:focus-visible { text-decoration: underline; text-underline-offset: 2px; }

/* Impact tiles take a sentence of any length: it wraps (even a long word), and "See the role" sits at the foot of
   every tile, so a row stays one row. */
.rp-body--visitor .rp-hl__label { overflow-wrap: anywhere; }
.rp-body--visitor .rp-hl em { margin-top: auto; }
/* The career constellation's words read at 4.5:1 (Pete, 2026-10-20: "Looks good" to the before/after crops): the
   legend and outcomes strip backings are more solid, each light-sky role's words get a soft pale panel like the
   Evolution card, and the small year/status labels are one shade darker. Nothing moves. */
.rp-body--visitor .rp-band__legend { background: rgb(7 29 55 / 55%); }
.rp-body--visitor .rp-band__outcomes { background: rgb(16 58 91 / 90%); }
.rp-body--visitor .rp-band-node:not(.on-dark) .rp-band-node__copy::before { content: ""; position: absolute;
    inset: -0.4rem -0.55rem; z-index: -1; background: rgb(240 248 253 / 60%); border-radius: 8.8px; }
.rp-body--visitor .rp-band-node:not(.on-dark) .rp-band-node__copy > small { color: #00566c; }
/* The private question's "Send to Pete" keeps its whole label. */
.rp-body--visitor .ask-pete-direct__form [data-ask-pete-submit] { padding: 0 16px; white-space: nowrap; }
@media (max-width: 959px) {
    .rp-body--visitor .rp-const__line { display: none; }
}

/* Targets keep the size they had on main (never shrunk below 24px): the hero contact links and the profile band's "View Full Bio" link. */
body.rp-body :is(.rp-hero__contact-link, .ps-link) { display: inline-flex; align-items: center; min-height: 24px; }

/* The experience cards stay portrait (a little more vertical, D1b) on desktop: the page width is limited by the window, not scaled with the type, so the
   cards would otherwise come out squarer after the 15% scale. */
@media (min-width: 960px) { .rp-role { aspect-ratio: 1 / 1.05; } }
/* Tap targets are never smaller than they were before the 15% scale (reviewer F1, 2026-10-26): the Ask buttons keep their old size, the main one is a full 44px. */
/* Every button-like control on the page is at least 44px tall at every width (reviewer, 2026-10-26: chips 34 vs 38, Ask 40 and tabs 37 at 2560 vs 44). */
.rp .rp-btn, .rp .rp-tab, .rp .rp-chip, .rp .rp-ask--rail .rp-chip, .rp .rp-secnav__a, .rp .rp-ask__go, .rp .rp-ask--rail .rp-ask__go { min-height: var(--ps-tap-min); }
.rp .rp-ask__go { min-width: 68px; }
button.rp-link { min-height: var(--ps-tap-min); }

/* PS-GCP-PRESENT-001 (Pete, 2026-10-28; mockups P-0096 / P-0097): the honest "live page" banner, a green Live tag and a clear blue edge on the main Ask box */
body.rp-body .gx-live { display: flex; align-items: center; gap: calc(14px * var(--ps-scale)); margin: 0 0 var(--lg-gap, 24px); padding: calc(12px * var(--ps-scale)) calc(14px * var(--ps-scale)) calc(12px * var(--ps-scale)) calc(20px * var(--ps-scale)); }
body.rp-body .gx-live p { margin: 0; flex: 1; font-size: max(14px, calc(16px * var(--ps-scale, .85))); line-height: 1.45; color: var(--lg-ink2); }
body.rp-body .gx-live strong { color: var(--lg-ink); }
body.rp-body .gx-live__btn {
    display: inline-flex; align-items: center; min-height: var(--ps-tap-min); padding: 0 calc(20px * var(--ps-scale)); border-radius: 999px; color: var(--lg-btn-ink) !important;   /* the look is .rp-btn--gold's (the template adds that class) */
    font-weight: 700; font-size: max(13px, calc(15px * var(--ps-scale, .85))); text-decoration: none; white-space: nowrap;
}
/* LinkedIn in Details & contact reads as a link */
body.rp-body .rp-hero__contact-link[href*="linkedin.com"] { text-decoration: underline; text-underline-offset: 3px; }
/* the main Ask box: a clear blue edge on the text box itself so the eye lands on it (an edge, not a fill) */
body.rp-body .rp-ask--main .rp-ask__box { box-shadow: 0 0 0 calc(2px * var(--ps-scale)) color-mix(in srgb, var(--lg-focus) 62%, transparent), var(--lg-glass-rim-in) !important; }
body.rp-body .rp-ask--main .rp-ask__box:has(textarea:focus-visible) { box-shadow: 0 0 0 3px var(--lg-focus), var(--lg-glass-rim-in) !important; }
body.rp-body .rp-ask--main .rp-ask__box textarea:focus-visible { outline: none; }
@media (forced-colors: active) {
    body.rp-body .rp-ask--main .rp-ask__box textarea:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; }
}
/* the rail's small Ask box: the same single ring as the main one (PS-LIVE-FIXES-RESUME-001, tester finding B): the box carries it, the text area draws none */
body.rp-body .rp-ask--rail .rp-ask__box:has(textarea:focus-visible) { box-shadow: 0 0 0 3px var(--lg-focus), var(--lg-glass-rim-in) !important; }
body.rp-body .rp-ask--rail .rp-ask__box textarea:focus-visible { outline: none; }
@media (forced-colors: active) {
    body.rp-body .rp-ask--rail .rp-ask__box textarea:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; }
}
/* a jump to the Ask box (the banner's button, the home page link) lands below the fixed bars, like every other jump target */
body.rp-body .rp-ask--main { scroll-margin-top: calc(var(--rp-sticky-top) + calc(8px * var(--ps-scale))); }
body.rp-body .rp-ask--main .rp-ask__note { margin-top: 10px; }   /* keeps the note's line clear of the box's blue edge */
body.rp-body .gx-livetag { display: inline-flex; align-items: center; gap: calc(6px * var(--ps-scale)); margin-left: calc(10px * var(--ps-scale)); padding: calc(2px * var(--ps-scale)) calc(10px * var(--ps-scale)); border-radius: 999px; font-size: max(12px, .8em); letter-spacing: .08em;
    color: var(--lg-live); border: 1px solid color-mix(in srgb, var(--lg-live) 40%, transparent); }
body.rp-body .gx-livetag i { width: calc(7px * var(--ps-scale)); height: calc(7px * var(--ps-scale)); border-radius: 50%; background: var(--lg-live-dot); display: block; }
@media (max-width: 959px) {
    body.rp-body .gx-live { flex-wrap: wrap; padding: calc(14px * var(--ps-scale)) calc(16px * var(--ps-scale)); gap: calc(10px * var(--ps-scale)) calc(12px * var(--ps-scale)); margin-bottom: calc(16px * var(--ps-scale)); }
    body.rp-body .gx-live p { flex-basis: calc(100% - calc(30px * var(--ps-scale))); }
    body.rp-body .gx-live__btn { width: 100%; justify-content: center; }
}

/* ==== PS-RESUME-NOLIVE-001 (Pete, 2026-11-01: the new navy-bar mockups "look fantastic"): the shared navy rail ====
   Credentials at a glance and On this resume become ONE navy rail with a divider, at the one rail width the whole site shares; the Ask Pete AI
   card below keeps its own look. The --ps-rail-* names and values are the ones Why PeerSlate defines (static/css/why-peerslate.css), repeated
   here until a shared sheet exists; tests/test_resume_nolive_browser.py fails if the two ever differ. The page's cards are clear glass by default
   (glass-theme.css), so the rules below use body.ps-scaled.rp-body to win over it. */
body.rp-body { --ps-rail-width: calc(236px * var(--ps-scale)); --ps-rail-pad-block: calc(16px * var(--ps-scale)); --ps-rail-pad-inline: calc(12px * var(--ps-scale)); --ps-rail-radius: calc(24px * var(--ps-scale)); --ps-rail-gap: calc(10px * var(--ps-scale)); }
body.rp-body .rp-rail, body.rp-body .rp-glance--phone { --ps-rail-bg: linear-gradient(150deg, #16396a 0%, #0d234a 100%); --ps-rail-ink: #fff; --ps-rail-quiet: rgba(255, 255, 255, .78); --ps-rail-label: rgba(255, 255, 255, .72); --ps-rail-on: linear-gradient(120deg, rgba(255, 255, 255, .17) 0%, rgba(255, 255, 255, .07) 100%); --ps-rail-on-line: rgba(255, 255, 255, .22); --ps-rail-hover: rgba(255, 255, 255, .09); --ps-rail-accent: rgb(38, 94, 213); --ps-rail-focus: #fff; --ps-rail-field: rgba(255, 255, 255, .12); --ps-rail-field-line: rgba(255, 255, 255, .28); --ps-rail-divider: rgba(255, 255, 255, .16); }
html[data-theme="dark"] body.rp-body .rp-rail, html[data-theme="dark"] body.rp-body .rp-glance--phone { --ps-rail-bg: linear-gradient(150deg, #152340 0%, #0f1a2c 100%); }
@media (min-width: 960px) { .rp-wrap { grid-template-columns: var(--ps-rail-width) minmax(0, 1fr); } }
body.ps-scaled.rp-body :is(.rp-rail .rp-glance, .rp-rail .rp-nav, .rp-glance--phone) { padding: var(--ps-rail-pad-block) var(--ps-rail-pad-inline); border: 0; border-radius: var(--ps-rail-radius); background: var(--ps-rail-bg); color: var(--ps-rail-ink); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .10), 0 calc(24px * var(--ps-scale)) calc(48px * var(--ps-scale)) calc(-24px * var(--ps-scale)) rgba(8, 20, 48, .55); }
body.ps-scaled.rp-body :is(.rp-rail .rp-glance, .rp-rail .rp-nav, .rp-glance--phone)::before,
body.ps-scaled.rp-body :is(.rp-rail .rp-glance, .rp-rail .rp-nav, .rp-glance--phone)::after { display: none; }
/* PS-RESUME-LEFT-RAIL-001: the visitor rail's cards are separate navy cards (Details & contact, Credentials at a glance), not one joined block with the section list. */
body.rp-body :is(.rp-rail .rp-glance, .rp-rail .rp-nav, .rp-glance--phone) .rp-card__title { color: var(--ps-rail-label); font-size: max(var(--ps-text-min), calc(13px * var(--ps-scale))); letter-spacing: .04em; }   /* the card titles stay on one line in the narrower rail */
body.rp-body :is(.rp-rail, .rp-glance--phone) .rp-glance__list li { border-top-color: var(--ps-rail-divider); color: var(--ps-rail-ink); font-size: max(var(--ps-text-min), calc(14.7px * var(--ps-scale))); }
body.rp-body :is(.rp-rail, .rp-glance--phone) .rp-glance__list svg { color: var(--ps-rail-quiet); }
body.rp-body :is(.rp-rail, .rp-glance--phone) .rp-glance__list b { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: var(--ps-rail-ink); }   /* a name wraps to two lines; the whole text is the row's title (hover); the rows are plain text and not Tab stops */
body.rp-body :is(.rp-rail, .rp-glance--phone) .rp-glance__sub { font-size: max(var(--ps-text-min), calc(14px * var(--ps-scale))); color: var(--ps-rail-quiet); }
body.rp-body :is(.rp-rail, .rp-glance--phone) .rp-glance__all { color: var(--ps-rail-ink); }
body.rp-body .rp-rail .rp-secnav__a { color: var(--ps-rail-quiet); }
body.rp-body .rp-rail .rp-secnav__a svg { color: var(--ps-rail-quiet); }
body.rp-body .rp-rail .rp-secnav__a:hover { background: var(--ps-rail-hover); color: var(--ps-rail-ink); }
body.rp-body .rp-rail .rp-secnav__a[aria-current="true"] { background: var(--ps-rail-on); color: var(--ps-rail-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 0 0 1px var(--ps-rail-on-line); }
body.rp-body .rp-rail .rp-secnav__a[aria-current="true"] svg { color: var(--ps-rail-ink); }
body.rp-body :is(.rp-rail .rp-glance, .rp-rail .rp-nav, .rp-glance--phone) :is(a, [tabindex]):focus-visible { outline: 3px solid var(--ps-rail-focus); outline-offset: calc(-3px * var(--ps-scale)); border-radius: calc(8px * var(--ps-scale)); }


/* ---------- My Resume round (Pete, 2026-11-02): rail top, compact rail Ask, no blue bars, chapters in place ---------- */
/* The page's start marker is a focus target for a link to #resume-start, not a control: it never draws a ring around the whole column. */
.rp .rp-start, .rp .rp-start:focus, .rp .rp-start:focus-visible, .rp .rp-start:target { outline: none; }

/* The rail's Ask: compact (header and one button) until the main Ask card has scrolled past. */
.rp-ask__toggle { display: none; }
@media (min-width: 960px) {
    .rp-ask--rail[data-compact] .rp-ask__title { max-height: 4rem; overflow: hidden; transition: max-height .32s ease, margin .32s ease, opacity .22s ease; }
    .rp-ask--rail[data-compact] .rp-ask__body { max-height: 44rem; overflow: hidden; transition: max-height .32s ease, padding .32s ease, opacity .22s ease, visibility 0s; }
    .rp-ask--rail:not([data-compact]) .rp-ask__title { max-height: 0; margin-top: 0; opacity: 0; }   /* until the script decides, the panel is not drawn open */
    .rp-ask--rail:not([data-compact]) .rp-ask__body { max-height: 0; padding-top: 0; padding-bottom: 0; opacity: 0; visibility: hidden; overflow: hidden; }
    .rp-ask--rail.is-settling .rp-ask__title, .rp-ask--rail.is-settling .rp-ask__body { transition: none !important; }
    .rp-ask--rail[data-compact="true"] .rp-ask__title { max-height: 0; margin-top: 0; opacity: 0; }
    .rp-ask--rail[data-compact="true"] .rp-ask__body { max-height: 0; padding-top: 0; padding-bottom: 0; opacity: 0; visibility: hidden; transition: max-height .32s ease, padding .32s ease, opacity .22s ease, visibility 0s .32s; }
    .rp-ask--rail[data-compact="true"] .rp-ask__toggle { display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; min-height: max(var(--ps-tap-min, 44px), 44px); margin: calc(8px * var(--ps-scale)) 0 calc(12px * var(--ps-scale)); padding: 0 calc(16px * var(--ps-scale)); }
    .rp-ask--rail[data-compact="true"] .rp-ask__toggle[hidden] { display: none; }
    .rp-ask--rail .rp-ask__toggle:focus-visible { outline: 3px solid var(--lg-focus); outline-offset: 3px; }
}
@media (prefers-reduced-motion: reduce) {
    .rp-ask--rail[data-compact] .rp-ask__title, .rp-ask--rail[data-compact] .rp-ask__body,
    .rp-ask--rail[data-compact="true"] .rp-ask__title, .rp-ask--rail[data-compact="true"] .rp-ask__body,
    .rp-ask--rail.is-settling .rp-ask__title, .rp-ask--rail.is-settling .rp-ask__body { transition: none !important; }
}

/* An Experience chapter opens inside its own card; the cards beside it keep their own height. */
.rp-roles { align-items: start; }
.rp-role { scroll-margin-top: calc(var(--rp-land-top, var(--rp-sticky-top)) + 8px); }
.rp-role > .rp-chapter { margin-top: calc(4px * var(--ps-scale)); overflow-wrap: anywhere; }
.rp-role > .rp-chapter[hidden] { display: none; }
.rp-role > .rp-chapter .rp-chapter__head, .rp-role > .rp-chapter .rp-chapter__summary { display: none; }   /* the card above already says it */
@media (min-width: 960px) { .rp-role.is-open { aspect-ratio: auto; } }   /* a box with a minimum height and a ratio does not grow past its ratio, so the open card is sized by what it holds */
.rp-role.is-open .rp-role__summary { display: block; -webkit-line-clamp: unset; overflow: visible; }
.rp-role.is-open .rp-link { margin-top: calc(10px * var(--ps-scale)); }

/* The My Story band's own picture (Pete, 2026-11-02: the new-house photo with Danielle). It fills the band's picture side and keeps its look
   in light and dark; a band without a picture keeps the landscape above. */
.rp-story__pic--photo { background: none; overflow: hidden; }
.rp-story__pic--photo picture { display: block; position: absolute; inset: 0; }
.rp-story__pic--photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }

/* ---------- Experience cards, July behaviour restored (Pete, 2026-11-02/03) ----------
   When a person has exactly three roles (.rp-roles--stage) the cards are one row from 960px up, level and exactly as before while none is open (a card keeps its
   1 : 1.05 shape from 1100px up). One opened: it grows wide (flex-grow 3.4), the other two step aside into slim cards (0.62) with their preview hidden, and the
   grow and the shrink run together over 460 ms. Between 960 and 1180px the slim cards are a little wider so their words stay readable. Any other number of roles,
   and every width below 960px, keep today's grid: stacked on a phone, the opened card growing in place (above). */
@media (min-width: 960px) {
    .rp-roles--stage { display: flex; align-items: stretch; gap: calc(14px * var(--ps-scale)); }
    .rp-roles--stage > .rp-role { flex: 1 1 0; min-width: 0; aspect-ratio: auto;
        transition: flex-grow 460ms cubic-bezier(.22, .82, .26, 1), box-shadow 460ms ease, border-color 460ms ease; }
    .rp-roles--stage.is-expanded > .rp-role.is-open { flex-grow: 3.4; }
    .rp-roles--stage.is-expanded > .rp-role.is-aside { flex-grow: .62; cursor: pointer; overflow: hidden; padding-inline: calc(12px * var(--ps-scale)); }
    .rp-roles--stage > .rp-role .rp-role__summary { max-height: 9rem; }
    .rp-roles--stage > .rp-role .rp-role__place { max-height: 3rem; }
    .rp-roles--stage > .rp-role.is-open .rp-role__summary, .rp-roles--stage > .rp-role.is-open .rp-role__place { max-height: none; }   /* the opened card shows its whole summary, whatever its length */
    .rp-roles--stage > .rp-role.is-aside .rp-role__summary { max-height: 0; margin: 0 !important; opacity: 0; overflow: hidden; }
    .rp-roles--stage > .rp-role.is-aside .rp-role__place { max-height: 0; margin: 0; opacity: 0; overflow: hidden; }
    .rp-roles--stage > .rp-role .rp-role__summary, .rp-roles--stage > .rp-role .rp-role__place { transition: opacity 340ms ease, max-height 460ms cubic-bezier(.22, .82, .26, 1); }
    .rp-roles--stage > .rp-role.is-aside .rp-role__org { font-size: 1.05rem; overflow-wrap: break-word; hyphens: auto; }
    .rp-roles--stage > .rp-role.is-aside .rp-link { white-space: normal; text-align: left; overflow-wrap: break-word; }
}
@media (min-width: 1100px) {
    /* PS-RESUME-EXPERIENCE-CARD-HEIGHT-001: the resting cards keep their 1 : 1.05 shape as a computed height (a third of the row less the two gaps, times 1.05, read from
       the row itself), not as an aspect-ratio that is switched off while a card is open: WebKit (Safari, the iPad) keeps the open row's stretched height when the ratio comes back,
       so the cards stayed as tall as the last card opened. A height has nothing to remember, and it is the number the ratio gave, so the resting cards are the size they were. */
    .rp-roles--stage:not(.is-expanded) > .rp-role { aspect-ratio: 1 / 1.05; }   /* the base, and the whole answer for a browser without container query units (Safari 15 and 16 and older) */
    @supports (container-type: inline-size) and (height: calc(100cqw / 3)) {
        .rp-roles--stage { container-type: inline-size; }
        .rp-roles--stage:not(.is-expanded) > .rp-role { aspect-ratio: auto; height: calc((100cqw - 2 * calc(14px * var(--ps-scale))) / 3 * 1.05); }
    }
}
@media (min-width: 960px) and (max-width: 1180px) {
    .rp-roles--stage.is-expanded > .rp-role.is-open { flex-grow: 3; }
    .rp-roles--stage.is-expanded > .rp-role.is-aside { flex-grow: .9; }
}
@media (prefers-reduced-motion: reduce) {
    .rp-roles--stage > .rp-role { transition: none; }
    .rp-roles--stage > .rp-role .rp-role__summary, .rp-roles--stage > .rp-role .rp-role__place { transition: none; }
}

/* P-0744/P-0745: the AA-safe fills keep the approved sheen; Ask controls retain their inset rim. */
.rp { --rp-gloss: inset 0 1px 0 rgba(255,255,255,.38), inset 0 -1px 0 rgba(0,0,0,.18), 0 8px 18px -12px rgba(0,0,0,.55); --rp-safe-sheen: linear-gradient(180deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,.07) 46%, rgba(255,255,255,0) 54%, rgba(0,0,0,.10) 100%); }
.rp-hl:not(.rp-hl--waiting) { padding: 12px 14px 11px; gap: 4px; background: var(--rp-safe-sheen), linear-gradient(160deg, #134a96, #0b3274); box-shadow: var(--rp-gloss); }
.rp-hl:not(.rp-hl--waiting) :is(strong, .rp-hl__label, em) { color: #fff; }
.rp-role[data-band] .rp-role__top { margin: -4px -4px 6px; padding: 10px 14px; gap: 6px; border-radius: 14px; border-bottom: 0; background: linear-gradient(160deg, #3b8048, #2b6a36); box-shadow: var(--rp-gloss); }
.rp-role[data-band] :is(.rp-role__org, .rp-role__dates) { color: #fff; }
.rp-role .rp-badge { display: none; }
.rp .rp-ask .rp-chip, .rp .rp-ask .rp-ask__go { background: linear-gradient(160deg, #3b8048, #2b6a36); color: #fff; box-shadow: var(--rp-gloss); }
.rp .rp-ask--rail .rp-ask__toggle { background: linear-gradient(160deg, #16396a, #0d234a); color: #fff; box-shadow: var(--rp-gloss); }
.rp .rp-ask .rp-chip:hover { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #2b6a36; }
.rp-ask-mark circle { fill: #2b6a36; }
.rp-ask--main { padding: 20px 26px 16px; }
.rp-ask--main .rp-ask__art { position: absolute; inset: 0; width: auto; opacity: 1; background-position: center 62%; mask-image: none; -webkit-mask-image: none; }
.rp-ask--main .rp-ask__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.9) 0, rgba(255,255,255,.9) 110px, transparent 150px), linear-gradient(90deg, rgba(255,255,255,.96), rgba(255,255,255,.88) 42%, rgba(255,255,255,.35) 75%, rgba(255,255,255,.08)), linear-gradient(0deg, rgba(255,255,255,.6), transparent 45%); }
.rp-ask--main .rp-ask__lead { position: relative; z-index: 2; max-width: 60%; gap: 4px; }
.rp-ask--main .rp-ask__title { margin: 0 0 8px; font-size: max(var(--ps-text-min), 1.375rem); font-weight: 500; letter-spacing: 0; }
.rp-ask--main .rp-ask__box { background: rgba(255,255,255,.72); backdrop-filter: blur(3px); }
.rp-ask--main .rp-ask__note { color: #233a49; }
.rp-ask__script { position: absolute; right: 5%; top: 12px; z-index: 2; margin: 0; text-align: right; font: 400 30px/1.15 "Segoe Script", "Brush Script MT", cursive; color: #17345d; transform: rotate(-6deg); transform-origin: top right; pointer-events: none; }
.rp-skills__grid li .rp-skill { background: var(--rp-safe-sheen), linear-gradient(160deg, #134a96, #0b3274); color: #fff; box-shadow: var(--rp-gloss); }
.rp-skills__grid li .rp-skill svg { color: inherit; }
.rp-skills__line { box-shadow: 0 0 0 2px #134a96; }
.rp-creds__head { display: block; padding: 10px 14px; margin: -4px -4px 12px; border-radius: 12px; background: var(--rp-safe-sheen), linear-gradient(160deg, #cfe8fb, #b6dbf7); color: #0f2c4a; font-weight: 800; box-shadow: var(--rp-gloss); }
@media (min-width: 1280px) { .rp-ask--main .rp-ask__top { min-height: 112px; } }
@media (min-width: 960px) and (max-width: 1279px) {
    .rp-ask--main .rp-ask__script { position: relative; inset: auto; width: max-content; max-width: 100%; margin-left: auto; margin-bottom: 40px; }
    .rp-ask--main .rp-ask__lead { max-width: none; }
}
@media (max-width: 959px) { .rp-ask--main { padding: 18px 16px; } .rp-ask--main .rp-ask__lead { max-width: none; } }
/* the top bar's "Ask Pete AI" jumps to the question box: it lands well down the window, under the bars, with the card's heading and suggestions in view above it */
#resume-page-ask-main-q { scroll-margin-top: calc(var(--rp-sticky-top) + 40vh); }
.rp-ask--main .rp-ask__title { max-width: 560px; line-height: 1.2; text-wrap: balance; }
/* Skills: the chosen skill wears a lagoon ring over its glass rim (the glass theme's rim alone had hidden the ring) */
.rp-skills__grid button.rp-skill[aria-pressed="true"], .rp-skills__grid button.rp-skill[aria-pressed="true"]:hover { box-shadow: 0 0 0 3px #fff, 0 0 0 5px #134a96, var(--rp-gloss); }
.rp-skills__grid button.rp-skill:focus-visible { outline: none; box-shadow: 0 0 0 3px #fff, 0 0 0 6px #0b3274, var(--rp-gloss); }
/* Skills panel header: the skill in bold, then how many resume lines show it */
.rp-skills__head { margin: 0 0 .6rem; padding: 8px 10px; border-radius: 10px; background: var(--rp-safe-sheen), linear-gradient(160deg, #134a96, #0b3274); font: 600 max(var(--ps-text-min), .82rem)/1.3 var(--lg-sans); color: #fff; box-shadow: var(--rp-gloss); }
.rp-skills__name { font-weight: 800; color: inherit; }
@media (max-width: 959px) { .rp-ask--main .rp-ask__script { display: none; } }

/* ---------- PS-LIVE-FIXES-RESUME-002 (Pete's visitor test, Nov 6, live bugs 4 and 11) ---------- */
/* Bug 4: the chosen skill chip has its own face (gold, with navy ink) and a check mark in place of its chevron (the script swaps the icon), so it is told apart by more than a
   ring or a color; the ring, the gloss and the focus ring below are the ones it already had. */
.rp-skills__grid button.rp-skill[aria-pressed="true"] svg { opacity: .9; }   /* a crisper mark than the chevron's .7; still under 1 so the chips paint exactly as before */
.rp-skills__grid li button.rp-skill[aria-pressed="true"], .rp-skills__grid li button.rp-skill[aria-pressed="true"]:hover { background: var(--rp-safe-sheen), linear-gradient(160deg, #f6e3b1, #e9c978); color: #0b2a5e; }

/* Bug 11, tablet: from 700 to 959 the chips and the lines panel sit side by side (the way 960 to 1200 already does), so a pick shows its lines
   beside the chips instead of under eight rows of them. */
@media (min-width: 700px) and (max-width: 959px) {
    .rp-skills:not(.rp-skills--plain) { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
    .rp-skills__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rp-skills__line { contain: size; height: auto; min-height: calc(200px * var(--ps-scale)); }
}

/* Bug 11, tablet: from 600 to 1024 the constellation card is one row that never stacks (Pete, 2026-10-26) and fits: the stops share the width
   equally, the dots stay on one line, and the labels alternate above and below it, each up to twice the stop spacing wide, so no two
   labels touch and every stop is in view with no scrolling. The script sets --stops. Under 600 the phone card (one scrolling row with
   arrows) is unchanged. */
@media (min-width: 600px) and (max-width: 1024px) {
    .rp-const .rp-hscroll { padding: 0; }
    .rp-const__sky { height: auto; margin-top: calc(10px * var(--ps-scale)); }
    .rp-const .rp-const__line { display: none; }
    .rp-const__stops { position: relative; display: grid; grid-template-columns: repeat(var(--stops, 7), minmax(0, 1fr)); align-items: center;
        width: auto; min-width: 0; height: calc(330px * var(--ps-scale)); padding: 0 calc(100% / (var(--stops, 7) + 1)); }
    .rp-const__stops::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: rgba(244, 237, 224, .45); }
    .rp-stop { position: relative; left: auto; top: auto; width: auto; min-width: 0; height: var(--ps-tap-min); display: flex; align-items: center; justify-content: center; }
    .rp-stop__b { position: static; transform: none; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 24px; }
    .rp-stop__dot, .rp-stop--job .rp-stop__dot { margin: 0; }
    .rp-stop__lab, .rp-stop--above .rp-stop__lab, .rp-stop--below .rp-stop__lab { position: absolute; left: 50%; transform: translateX(-50%); width: calc(200% - 8px); padding: 0; }
    .rp-stop--above .rp-stop__lab { top: auto; bottom: calc(100% + 2px); }
    .rp-stop--below .rp-stop__lab { bottom: auto; top: calc(100% + 2px); }
    .rp-stop--job .rp-stop__lab b { font-size: max(var(--ps-text-min), calc(14px * var(--ps-scale))); }
}

/* ==== PS-RESUME-LEFT-RAIL-001 (Pete, Nov 8: "Okay, left row looks great." Approved pictures P-0956 to P-0959) ====
   The public page, from 960px up only (744 to 959px and phones are as they were): three rail cards (Details & contact, Credentials at a glance,
   the small Ask Pete AI box), a sticky section bar above the top card, and a bigger top card. The owner's page is not touched. */
.rp-secbar__bar { display: none; }
@media (min-width: 960px) {
    body.rp-body--visitor { --rp-bar-h: calc(54px * var(--ps-scale)); }
    /* the bar: a direct child of the page root and itself the sticky element, so it stays pinned under the header to the page's end; it takes no room of its own (its
       bottom margin cancels its height), hangs over the content column (the rail starts at the same top, the top card starts below the bar's height) */
    .rp-body--visitor .rp-wrap { margin-top: 0; }
    .rp-body--visitor .rp-content:not(.rp-content--after) { padding-top: calc(var(--rp-bar-h) + calc(16px * var(--ps-scale))); }
    .rp-secbar__bar { box-sizing: border-box; position: sticky; top: var(--rp-bar-top, calc(97px * var(--ps-scale))); z-index: 30; display: flex; align-items: stretch;
        width: calc(var(--lg-wrap) - var(--ps-rail-width) - var(--lg-gap) + 6px); height: var(--rp-bar-h);
        margin: var(--lg-gap) 0 calc(-1 * var(--rp-bar-h)) calc((100% - var(--lg-wrap)) / 2 + var(--ps-rail-width) + var(--lg-gap) - 3px); padding: 0 calc(9px * var(--ps-scale));
        background: var(--lg-page-bg); border-radius: 0 0 calc(18px * var(--ps-scale)) calc(18px * var(--ps-scale)); box-shadow: 0 0 0 1px var(--lg-line), 0 6px 16px -12px rgba(20, 38, 62, .45); }
    .rp-secbar__bar[hidden] { display: none; }
    /* nothing peeks out under the lower edge: the backing is solid, and the page fades out behind the edge */
    .rp-secbar__bar::after { content: ""; position: absolute; left: 6px; right: 6px; top: 100%; height: 9px; background: linear-gradient(180deg, color-mix(in srgb, var(--lg-page-bg) 92%, transparent) 0, color-mix(in srgb, var(--lg-page-bg) 45%, transparent) 50%, color-mix(in srgb, var(--lg-page-bg) 0%, transparent) 100%); }
    .rp-secbar__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; gap: calc(2px * var(--ps-scale)); position: relative; width: 100%; overflow-x: auto; scrollbar-width: none; }
    .rp-secbar__list::-webkit-scrollbar { display: none; }
    .rp-secbar__list > li { display: flex; flex: none; }
    .rp-secbar__a { position: relative; display: flex; align-items: center; padding: 0 calc(16px * var(--ps-scale)); border-radius: calc(10px * var(--ps-scale)); font: 650 max(var(--ps-text-min), calc(16.5px * var(--ps-scale)))/1 var(--lg-sans); color: var(--lg-ink2); text-decoration: none; white-space: nowrap; transition: color .2s; }
    @media (max-width: 1200px) { .rp-secbar__bar { padding: 0 calc(4px * var(--ps-scale)); } .rp-secbar__a { padding: 0 calc(10px * var(--ps-scale)); font-size: max(var(--ps-text-min), calc(15.3px * var(--ps-scale))); } }   /* seven entries in the narrower column */
    .rp-secbar__a:hover, .rp-secbar__a[aria-current="true"] { color: var(--lg-lagoon-deep); }
    body.ps-scaled .rp-secbar__a:focus-visible { outline: 3px solid var(--lg-focus); outline-offset: -3px; }   /* (the site's body.ps-scaled :focus-visible rule would otherwise push the ring out of the bar's clip) */
    .rp-secbar__list > .rp-secbar__ind { position: absolute; left: 0; bottom: 0; display: block; height: 3px; width: 0; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, var(--lg-lagoon), var(--lg-mint)); pointer-events: none;
        transition: transform .35s cubic-bezier(.4, .1, .2, 1), width .35s cubic-bezier(.4, .1, .2, 1); }
    @media (prefers-reduced-motion: reduce) { .rp-secbar__list > .rp-secbar__ind, .rp-secbar__a { transition: none; } }
    @media (forced-colors: active) { .rp-secbar__bar { border: 1px solid CanvasText; } .rp-secbar__list > .rp-secbar__ind { background: Highlight; } .rp-secbar__a[aria-current="true"] { color: Highlight; } }

    /* a section reached from the bar or a link lands under it (--rp-land-top, set by resume-page.js, already counts the bar) */
    /* the rail: Details & contact, Credentials at a glance and Ask are separate cards */
    body.rp-body.rp-body--visitor .rp-rail .rp-glance { margin: 0; }
    .rp-body--visitor .rp-rail .rp-glance .rp-glance__list li { padding-top: calc(9px * var(--ps-scale)); padding-bottom: calc(9px * var(--ps-scale)); }   /* (visitor only: the owner's rail keeps its .55rem) */
    /* A short window (or a long answer): the Details and Credentials cards scroll away with the page and the small Ask pins under the header, so its question box
       stays on screen (as main's pinned list did); an answer scrolls inside its own capped area instead of growing the rail past the window. */
    .rp-body--visitor .rp-dock.is-tight { display: contents; }
    .rp-body--visitor .rp-dock.is-tight > .rp-ask--rail { position: sticky; top: var(--rp-rail-top, var(--rp-sticky-top)); z-index: 2; }
    .rp-body--visitor .rp .rp-ask--rail .ax-chip { padding-block: 8px; line-height: 1.3; }   /* a follow-up that wraps to three lines in the narrow rail grows its box instead of running over its top border */
    .rp-body--visitor .rp .rp-ask--rail .rp-ask__log { max-height: max(8rem, calc(100vh - var(--rp-rail-top, 7rem) - 13rem)); overflow-y: auto; overscroll-behavior: contain; }
    .rp-body--visitor .rp .rp-ask--rail .rp-turn { grid-template-columns: minmax(0, 1fr); }   /* the answer's column may be as narrow as the rail: it was 245px wide in a 175px area and its right side was cut off */
    .rp-details .rp-hero__details > .rp-kicker { display: none; }   /* the card's own title says it */
    .rp-details .rp-card__title { margin-bottom: calc(9px * var(--ps-scale)); }
    .rp .rp-details .rp-hero__contact { gap: calc(10px * var(--ps-scale)); font-size: max(var(--ps-text-min), calc(14.8px * var(--ps-scale))); line-height: 1.3; color: var(--ps-rail-ink); }
    .rp .rp-details .rp-hero__contact li { grid-template-columns: calc(17px * var(--ps-scale)) minmax(0, 1fr); gap: calc(7px * var(--ps-scale)); }
    .rp .rp-details .rp-hero__contact svg { width: calc(17px * var(--ps-scale)); height: calc(17px * var(--ps-scale)); margin-top: calc(2px * var(--ps-scale)); color: var(--ps-rail-quiet); }
    .rp .rp-details .rp-hero__contact-link { color: var(--ps-rail-ink); font-weight: 500; }
    .rp .rp-details .rp-hero__contact-link:hover { color: var(--ps-rail-ink); }
    .rp .rp-details .rp-hero__contact li > span { color: var(--ps-rail-ink); }
    body.rp-body .rp .rp-details :is(a, [tabindex]):focus-visible { outline: 3px solid var(--ps-rail-focus); outline-offset: 2px; border-radius: calc(8px * var(--ps-scale)); }   /* outside the words: an inset ring ran through the first letter */

    /* the bigger top card: the photo about 40% bigger, the name larger, the intro filling where Details & contact was (that block is in the rail now) */
    .rp-body--visitor .rp-hero, .rp-body--visitor .rp-hero[data-has-side] { grid-template-columns: calc(290px * var(--ps-scale)) minmax(0, 1fr); grid-template-areas: "ph id" "hl hl";
        column-gap: clamp(calc(24px * var(--ps-scale)), calc(3.5vw * var(--ps-scale)), calc(47px * var(--ps-scale))); }
    .rp-body--visitor .rp-after { grid-template-columns: var(--ps-rail-width) minmax(0, 1fr); }   /* the closing card lines up with the content column above it (the rail's width, as the wrap uses) */
    .rp-body--visitor .rp-end--story { width: fit-content; margin-inline: auto; }
    .rp-body--visitor .rp-hero__side { display: none; }
    .rp-body--visitor .rp-hero__photo { height: calc(330px * var(--ps-scale)); }
    .rp-body--visitor .rp-hero__name { font-size: clamp(3.2rem, calc(6.2vw * var(--ps-scale)), 4.6rem); }
    .rp-body--visitor .rp-hero__headline { font-size: 1.28rem; }
    .rp-body--visitor .rp-hero__statement { font-size: 1.14rem; line-height: 1.6; max-width: none; }

    /* the rail Ask's button is a compact circle (Pete's review, Nov 8: too wide and tall) */
    .rp-body--visitor .rp-ask--rail .rp-ask__go { box-sizing: border-box; flex: none; display: inline-flex; align-items: center; justify-content: center; width: calc(42px * var(--ps-scale)); height: calc(42px * var(--ps-scale));
        min-width: calc(42px * var(--ps-scale)); min-height: calc(42px * var(--ps-scale)); padding: 0; border-radius: 50%; font-size: max(var(--ps-text-min), calc(14px * var(--ps-scale))); }

    /* the main Ask card (Pete, Nov 8: the ONLY changes allowed are these two): half the gap between its heading and the suggestions, and the tagline moved left so more of the mountain shows */
    @media (min-width: 1280px) {   /* (below 1280px the heading's block and the tagline already stack, and there is no tall top row to trim) */
        .rp-body--visitor .rp-ask--main .rp-ask__top { min-height: 91.5px; }   /* main's 112px row leaves 41.1px between the heading and the chips at 1440; half of that, 20.6px, is Pete's "cut in half" */
        .rp-body--visitor .rp-ask--main :is(.rp-ask__lead, .rp-ask__title) { max-width: calc(440px * var(--ps-scale)); }   /* the heading's box ends before the tagline's box begins */
        .rp-body--visitor .rp-ask--main .rp-ask__script { right: 36%; }
    }

    /* The Skills panel breathes (Pete, Nov 8): from 960px up the evidence panel is as tall as the chip grid beside it, from its top to the bottom of the last chip row
       (16 skills in 4 rows, or 8 in 2: the panel follows the chips), and the Skills block stays as tall as the chips whatever skill is picked. A skill whose lines
       are longer than the panel scrolls inside it (the scroll region keeps its bar and its keyboard stop). This replaces, from 960px up, the sized-to-its-words panel
       of the earlier "RESUME-003" fix, which still applies from 744 to 959px. */
    .rp-body--visitor .rp-skills:not(.rp-skills--plain) { align-items: stretch; min-height: 0; }
    .rp-body--visitor .rp-skills__line { contain: size; height: auto; min-height: calc(190px * var(--ps-scale)); align-self: stretch; }   /* the window always holds the panel header and one whole entry; the panel passes the chip grid only when the grid is shorter than this */
    .rp-body--visitor .rp-skills__scroll { position: absolute; inset: 0; max-height: none; }
    .rp-body--visitor .rp-skills__in { margin-block: auto; }

    /* pictures complement the words, never overpower them (Pete's review, Nov 8): the Looking Ahead and My Story photos take about 40% of their card */
    .rp-body--visitor .rp-ahead:not(.rp-ahead--text) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
    .rp-body--visitor .rp-story { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
}

/* Pete's review, Nov 8, at every width of the public page: the Looking Ahead line was "way too big", so it reads at the body size the other sections' text does; and
   the page ends with one link to My Story (no "Let's talk" card), a slim card with that link. */
.rp-body--visitor .rp-ahead__line { font: 400 1.05rem/1.55 var(--lg-sans); letter-spacing: -.01em; }   /* one body size at every width (the section-intro size) */
.rp-body--visitor .rp-end--story { display: flex; align-items: center; justify-content: center; min-height: 0; padding: calc(26px * var(--ps-scale)) calc(20px * var(--ps-scale)); }
.rp-body--visitor .rp-end--story .rp-end__acts { margin-top: 0; justify-content: center; }
/* White words on a dark bar had the light page's white heading glow behind them (the site's `body.slate-light h1, h2, h3` halo, made for dark words on the sky), which measured
   3.6 to 4.2:1 on the green Experience bars and the navy card titles; light words on a dark face carry no glow. */
.rp-body--visitor .rp-role__top :is(h1, h2, h3, .rp-role__org), .rp-body--visitor .rp-rail .rp-card__title, .rp-body--visitor .rp-glance--phone .rp-card__title { text-shadow: none; }

/* Measured on the build (the new Mac manager's audit): at 960 to 1024px the strip card is followed by a 95px gap where every other gap is about 21px (the column's
   88px bottom padding was for the tall pinned list that is gone), and from 960 to 1279px the main Ask card has a row of 109px that holds only the handwriting. */
@media (min-width: 960px) and (max-width: 1024px) { .rp-body--visitor .rp-content:not(.rp-content--after) { padding-bottom: 0; } }
@media (min-width: 960px) and (max-width: 1279px) { .rp-body--visitor .rp-ask--main .rp-ask__script { margin-bottom: calc(6px * var(--ps-scale)); } }

/* The full career band stays from 1025px up, as on main, at its designed size (Pete's ruling: no band text under 12px): where the window is narrower than the band
   (1392px plus the page's side space, so from 1025 to 1439px) it scrolls sideways with its arrows, as on main. From 960 to 1024px the compact one-row card stands in, as before. */
.rp-body--visitor .rp-hscroll__vp, .rp-body--visitor .rp-band { scroll-margin-top: var(--rp-land-top, var(--rp-sticky-top)); }   /* a Tab onto the band (or the card) brings its top just under the bar */

/* ---------- PS-LIVE-FIXES-RESUME-003 (Pete's visitor test, Nov 6, live bugs q and r) ---------- */
/* From 744px up (an iPad mini and wider; phones keep their own 240px box above) the evidence panel is as tall as its words: a one-line skill such as "AI"
   is a small panel with no empty band above and below it, and a three-line skill is shown whole instead of being cut off mid-sentence inside a box that
   scrolls. The Skills block stays as tall as its tallest skill's panel (the script measures them all, --rp-skills-room) or the chips, whichever is taller,
   so changing the pick never moves what sits below. The scroll region is still there as the safety net for a very short window or very large text: it keeps
   its always-visible bar and its keyboard stop (the script sets tabindex while it overflows). */
@media (min-width: 744px) {
    .rp-skills:not(.rp-skills--plain) { align-items: start; min-height: var(--rp-skills-room, 0px); }
    .rp-skills__line { contain: none; height: auto; min-height: 0; align-self: start; }
    .rp-skills__scroll { position: relative; inset: auto; max-height: max(calc(260px * var(--ps-scale)), calc(100vh - 12rem)); }
    .rp-skills__in { margin-block: 0; }
}
/* The hidden copy of the panel the script measures each skill in; it takes no room, shows nothing and is never reachable. */
.rp-skills__probe { position: absolute; left: 0; top: 0; visibility: hidden; pointer-events: none; contain: none; height: auto; min-height: 0; }
.rp-skills__probe .rp-skills__scroll { position: relative; inset: auto; max-height: none; overflow: visible; }

