/* =============================================================
   PickBits redesign — About + Work-with-Mark page components
   Builds on pb-redesign.css (same tokens, type, buttons).
   ============================================================= */

/* ---------- shared page hero (sub-pages) ---------- */
.page-hero { padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.page-hero .wrap { max-width: 920px; }
.page-hero .kicker { margin-bottom: 1.6rem; }
.page-hero h1 { margin: 0 0 1.3rem; }
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero .lead { max-width: 46em; }
.page-hero .hero-actions { display: flex; gap: 1.2rem; flex-wrap: wrap; align-items: center; margin-top: 2.1rem; }

/* ---------- two-path chooser (Work hub) ---------- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 0; }
@media (max-width: 820px) { .paths { grid-template-columns: 1fr; } }
.path { display: flex; flex-direction: column; gap: 0.7rem; padding: 1.9rem 1.8rem; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--paper-2); border-top: 3px solid var(--accent); transition: transform .16s ease, box-shadow .16s ease; }
.path:hover { transform: translateY(-3px); box-shadow: 0 22px 48px -32px rgba(28,24,19,0.45); }
.path .p-for { font-family: var(--ff-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.path h3 { font-family: var(--ff-display); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0; letter-spacing: -0.02em; }
.path .p-sub { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.55; margin: 0; }
.path .p-meta { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.3rem; }
.path .p-meta span { font-family: var(--ff-mono); font-size: 0.7rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0.25rem 0.65rem; }
.path .p-go { margin-top: 0.6rem; }

/* ---------- stats row ---------- */
.statrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 0.5rem; }
@media (max-width: 700px) { .statrow { grid-template-columns: 1fr; } }
.statcard { padding: 1.6rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); }
.statcard .sv { font-family: var(--ff-display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3rem); letter-spacing: -0.03em; color: var(--accent); line-height: 1; }
.statcard .sl { font-family: var(--ff-mono); font-size: 0.74rem; letter-spacing: 0.06em; color: var(--muted); margin-top: 0.7rem; text-transform: uppercase; }

/* ---------- section banner video (coaching / consulting) ---------- */
.wm-video { margin-top: 1.9rem; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; background: #0b0c12; line-height: 0; }
.wm-video video { display: block; width: 100%; max-height: 420px; object-fit: cover; }

/* ---------- roles strip ---------- */
.roles { margin-top: 2rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.3rem 0; }
.roles .rlabel { font-family: var(--ff-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-bottom: 0.9rem; }
.roles .ritems { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; }
.roles .ritems span { font-family: var(--ff-mono); font-size: 0.84rem; color: var(--ink-soft); }
.roles .ritems span b { color: var(--accent); font-weight: 600; margin-right: 0.3rem; }

/* ---------- generic included-list (two columns) ---------- */
.inclrow { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; margin-top: 1.5rem; }
@media (max-width: 700px) { .inclrow { grid-template-columns: 1fr; } }
.inclrow .ic { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.inclrow .ic .icn { font-family: var(--ff-mono); font-size: 0.8rem; color: var(--accent); font-weight: 600; padding-top: 0.15rem; }
.inclrow .ic h4 { font-family: var(--ff-display); font-weight: 700; font-size: 1.05rem; margin: 0 0 0.25rem; }
.inclrow .ic p { margin: 0; font-size: 0.9rem; color: var(--muted); line-height: 1.45; }

/* ---------- deliverables tabs ---------- */
.tabs { margin-top: 1.5rem; }
.tabs-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; }
.tabs-nav button { background: transparent; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 0.7rem 0.95rem; cursor: pointer; font-family: var(--ff-body); font-weight: 600; font-size: 0.92rem; color: var(--muted); transition: color .14s, border-color .14s; }
.tabs-nav button:hover { color: var(--ink); }
.tabs-nav button.active { color: var(--ink); border-bottom-color: var(--accent); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: tab-in .25s ease; }
@keyframes tab-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.tab-lead { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 2.5rem; align-items: start; }
@media (max-width: 760px) { .tab-lead { grid-template-columns: 1fr; gap: 1.5rem; } }
.tab-lead h4 { font-family: var(--ff-display); font-weight: 700; font-size: 1.4rem; margin: 0 0 0.6rem; letter-spacing: -0.015em; }
.tab-lead p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; line-height: 1.55; }
.codecards { display: flex; flex-direction: column; gap: 1rem; }
.codecard { border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.codecard .cf { font-family: var(--ff-mono); font-size: 0.74rem; color: var(--panel-muted); padding: 0.6rem 0.9rem; border-bottom: 1px solid var(--panel-line); letter-spacing: 0.02em; }
.codecard pre { margin: 0; padding: 1rem 0.9rem; overflow-x: auto; }
.codecard code { font-family: var(--ff-mono); font-size: 0.78rem; line-height: 1.55; color: var(--panel-ink); white-space: pre; }
.codecard .c-cm { color: #8a8475; }
.codecard .c-hl { color: var(--accent); }
.codecard .c-st { color: #6fae8e; }

/* chat example */
.chat { display: flex; flex-direction: column; gap: 0.8rem; }
.cmsg { max-width: 86%; padding: 0.85rem 1.05rem; border-radius: 10px; font-size: 0.9rem; line-height: 1.5; }
.cmsg .who { font-family: var(--ff-mono); font-size: 0.66rem; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 0.35rem; text-transform: uppercase; }
.cmsg.you { align-self: flex-end; background: var(--ink); color: var(--paper); border-bottom-right-radius: 2px; }
.cmsg.you .who { color: var(--paper-3); }
.cmsg.pb { align-self: flex-start; background: var(--paper-3); color: var(--ink-soft); border-bottom-left-radius: 2px; }
.cmsg code { font-family: var(--ff-mono); font-size: 0.82em; background: rgba(0,0,0,0.18); padding: 0.1em 0.35em; border-radius: 3px; }
.cmsg.you code { background: rgba(255,255,255,0.16); }

/* ---------- experience timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 1.5rem; }
@media (max-width: 760px) { .timeline { grid-template-columns: 1fr 1fr; gap: 1rem 0; } }
@media (max-width: 440px) { .timeline { grid-template-columns: 1fr; } }
.tstep { position: relative; padding: 0 1.4rem 0 0; }
.tstep .tnode { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--paper-2); display: flex; align-items: center; justify-content: center; font-family: var(--ff-mono); font-weight: 600; font-size: 0.9rem; color: var(--accent); margin-bottom: 1rem; position: relative; z-index: 1; }
.tstep::before { content: ''; position: absolute; top: 19px; left: 38px; right: 0; height: 1px; background: var(--line-2); }
.tstep:last-child::before { display: none; }
@media (max-width: 760px) { .tstep::before { display: none; } }
.tstep .twhen { font-family: var(--ff-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.tstep h4 { font-family: var(--ff-display); font-weight: 700; font-size: 1.08rem; margin: 0.3rem 0 0.4rem; }
.tstep p { margin: 0 1rem 0 0; font-size: 0.88rem; color: var(--muted); line-height: 1.45; }

/* ---------- ROI calculator ---------- */
.roi { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 0; margin-top: 1.5rem; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 820px) { .roi { grid-template-columns: 1fr; } }
.roi-in { padding: 1.8rem; background: var(--paper-2); border-right: 1px solid var(--line); }
@media (max-width: 820px) { .roi-in { border-right: 0; border-bottom: 1px solid var(--line); } }
.roi-field { margin-bottom: 1.3rem; }
.roi-field:last-child { margin-bottom: 0; }
.roi-field label { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; font-size: 0.88rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 0.6rem; }
.roi-field label .rv { font-family: var(--ff-mono); font-size: 0.82rem; color: var(--accent); font-weight: 600; }
.roi-field input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 2px; background: var(--line-2); outline: none; }
.roi-field input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); cursor: pointer; border: 2px solid var(--paper-2); box-shadow: 0 1px 4px rgba(0,0,0,0.3); }
.roi-field input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--accent); cursor: pointer; border: 2px solid var(--paper-2); }
.roi-toggle { display: flex; gap: 0.5rem; }
.roi-toggle button { flex: 1; padding: 0.6rem; border: 1px solid var(--line-2); background: transparent; border-radius: var(--radius); font-family: var(--ff-mono); font-size: 0.78rem; color: var(--muted); cursor: pointer; transition: all .14s; }
.roi-toggle button.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.roi-out { padding: 1.8rem; background: var(--ink); color: var(--paper); display: flex; flex-direction: column; }
.roi-head-stat .rhl { font-family: var(--ff-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--paper-3); }
.roi-head-stat .rhn { font-family: var(--ff-display); font-weight: 800; font-size: clamp(2.6rem, 6vw, 3.6rem); letter-spacing: -0.03em; line-height: 1; margin: 0.4rem 0; color: var(--paper); }
.roi-head-stat .rgl { font-family: var(--ff-mono); font-size: 0.72rem; color: var(--paper-3); }
.roi-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin: 1.5rem 0; padding: 1.2rem 0; border-top: 1px solid var(--panel-line); border-bottom: 1px solid var(--panel-line); }
.roi-metrics .rm .rmn { font-family: var(--ff-display); font-weight: 700; font-size: 1.4rem; color: var(--accent); letter-spacing: -0.02em; }
.roi-metrics .rm .rml { font-family: var(--ff-mono); font-size: 0.62rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--paper-3); margin-top: 0.3rem; }
.roi-fine { font-family: var(--ff-mono); font-size: 0.66rem; line-height: 1.5; color: var(--faint); margin-top: auto; }

/* ---------- about: story panels ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 820px) { .story { grid-template-columns: 1fr; } }
.panel { padding: 1.9rem 1.8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); }
.panel .pk { font-family: var(--ff-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.9rem; display: block; }
.panel h3 { font-family: var(--ff-display); font-weight: 700; font-size: 1.4rem; margin: 0 0 0.9rem; letter-spacing: -0.015em; }
.panel p { margin: 0 0 0.9rem; color: var(--ink-soft); font-size: 0.96rem; line-height: 1.6; }
.panel p:last-child { margin-bottom: 0; }

/* about founder narrative */
.narrative { max-width: 760px; }
.narrative p { font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.65; color: var(--ink-soft); margin: 0 0 1.3rem; }
.narrative p:first-child::first-letter { font-family: var(--ff-display); font-weight: 800; font-size: 3.4em; line-height: 0.8; float: left; margin: 0.08em 0.12em 0 0; color: var(--accent); }
.narrative .sig { font-family: var(--ff-mono); font-size: 0.8rem; color: var(--muted); letter-spacing: 0.04em; margin-top: 1.8rem; }

/* tech stack */
.stack { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 0.5rem; }
@media (max-width: 760px) { .stack { grid-template-columns: 1fr; } }
.stackcat { padding: 1.5rem 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); }
.stackcat h4 { font-family: var(--ff-display); font-weight: 700; font-size: 1.1rem; margin: 0 0 0.8rem; }
.stackcat .tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.stackcat .tags span { font-family: var(--ff-mono); font-size: 0.72rem; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 4px; padding: 0.22rem 0.5rem; background: var(--paper); }

/* section CTA inline */
.sec-cta { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.sec-cta .note { font-family: var(--ff-mono); font-size: 0.78rem; color: var(--muted); }

/* anchor offset for sticky header */
.section[id], section[id] { scroll-margin-top: 80px; }

/* ============================================================
   DARK-THEME ("cyber") SURFACE OVERRIDES — pages
   Same idea as in pb-redesign.css: re-skin the inverted (ink-bg)
   blocks as cyber panels so their var(--paper) text stays readable.
   ============================================================ */
[data-theme="ink"] .cmsg.you { background: var(--paper-3); color: var(--ink); border: 1px solid var(--line-2); }
[data-theme="ink"] .cmsg.you .who { color: var(--muted); }
[data-theme="ink"] .cmsg.you code { background: rgba(0,244,255,0.12); }

[data-theme="ink"] .roi-out { background: var(--panel-2); color: var(--ink); border-left: 1px solid var(--line-2); }
[data-theme="ink"] .roi-head-stat .rhn { color: var(--ink); }
[data-theme="ink"] .roi-head-stat .rhl,
[data-theme="ink"] .roi-head-stat .rgl,
[data-theme="ink"] .roi-metrics .rm .rml { color: var(--muted); }

[data-theme="ink"] .roi-toggle button.active { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

/* ============================================================
   ARCADE PAGE — game cards (theme-aware; light paper / cyber dark)
   ============================================================ */
.arcade-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 940px) { .arcade-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .arcade-cards { grid-template-columns: 1fr; } }
.acard { display: flex; flex-direction: column; background: var(--paper-2); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.acard:hover { transform: translateY(-3px); box-shadow: 0 22px 48px -32px rgba(28,24,19,0.45); border-color: var(--accent); }
.acard .shot { aspect-ratio: 16/10; background-size: cover; background-position: center; border-bottom: 1px solid var(--line); position: relative; }
.acard .shot .flag { position: absolute; top: 0.7rem; left: 0.7rem; font-family: var(--ff-mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-accent); background: var(--accent); padding: 0.2rem 0.5rem; border-radius: 3px; }
.acard .abody { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.acard h3 { font-family: var(--ff-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.015em; margin: 0 0 0.35rem; }
.acard .tagline { color: var(--muted); font-size: 0.88rem; line-height: 1.45; margin: 0 0 0.9rem; }
.acard .atags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 1rem; }
.acard .atags span { font-family: var(--ff-mono); font-size: 0.66rem; letter-spacing: 0.04em; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0.18rem 0.55rem; }
.acard .aplay { margin-top: auto; align-self: flex-start; }
