/* ============================================================
   Editorial design system — black / white / red
   Used by index.html (home) and store.html
   ============================================================ */

:root {
    --bg: #0a0a0a;
    --bg-deep: #060606;
    --panel: #101010;
    --ink: #f2f0eb;
    --dim: #98958d;
    --faint: #55534e;
    --line: #232323;
    --red: #e50914;

    --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --pad-section: clamp(90px, 12vw, 160px);
    --gutter: clamp(1.25rem, 4vw, 4rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* Page transition overlay (starts opaque, fades out on load) */
.page-fade {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease;
}
.page-fade.gone { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
    .page-fade { transition: none; }
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { color: inherit; }

::selection { background: var(--red); color: #fff; }

.wrap {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* ---------- Top bar ---------- */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.4rem var(--gutter);
    transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
    border-bottom: 1px solid transparent;
}
.topbar.scrolled {
    background: rgba(8, 8, 8, 0.92);
    backdrop-filter: blur(8px);
    border-color: var(--line);
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}
.topbar-mark {
    font-family: var(--font-display);
    font-size: 1.25rem;
    letter-spacing: 0.08em;
    text-decoration: none;
}
.topbar-mark em { color: var(--red); font-style: normal; }
.topbar-nav {
    display: flex;
    gap: clamp(1rem, 3vw, 2.6rem);
}
.topbar-nav a {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--dim);
    transition: color 0.2s ease;
    padding: 0.2rem 0;
}
.topbar-nav a:hover, .topbar-nav a.active { color: var(--ink); }
.topbar-nav a.accent { color: var(--red); }
.topbar-nav a.accent:hover { color: #ff3540; }

/* ---------- Type ---------- */
.display {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.kicker {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--dim);
}
.kicker .idx { color: var(--red); margin-right: 0.9em; }

.lede {
    color: var(--dim);
    max-width: 62ch;
}

.underline-link {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink);
    border-bottom: 1px solid var(--red);
    padding-bottom: 0.35em;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.underline-link:hover { color: var(--red); }

.btn-solid {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    background: var(--red);
    padding: 0.95em 2.2em;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
.btn-solid:hover { background: #ff1f2b; transform: translateY(-2px); }

.btn-ghost {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink);
    background: transparent;
    border: 1px solid var(--faint);
    padding: 0.95em 2.2em;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn-ghost:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding-top: clamp(90px, 12vh, 140px);
    overflow: hidden;
}

.hero-name {
    position: relative;
    z-index: 2;                 /* behind the figure — the cutout overlaps it */
    text-align: center;
    font-size: clamp(3rem, 10.5vw, 10.5rem);
    color: var(--ink);
    white-space: nowrap;
}

.hero-body {
    position: relative;
    display: grid;
    grid-template-columns: minmax(220px, 300px) 1fr minmax(140px, 200px);
    gap: var(--gutter);
    align-items: start;
    margin-top: clamp(-5rem, -8vw, -9rem);   /* pull the figure up into the name */
}

.hero-intro { padding-top: clamp(5rem, 12vw, 10rem); position: relative; z-index: 4; }
.hero-intro .kicker { display: block; margin-bottom: 1.2rem; color: var(--ink); }
.hero-intro p { color: var(--dim); font-size: 0.85rem; }

.hero-portrait {
    position: relative;
    z-index: 3;                 /* in front of the name */
    justify-self: center;
    width: min(460px, 80vw);
}
.hero-portrait img {
    display: block;
    width: 100%;
    /* Transparent B/W cutout with an intentional red accent — no grayscale, no
       backdrop. A soft bottom fade eases the waist crop into the page. */
    filter: contrast(1.03);
    -webkit-mask-image: linear-gradient(to bottom, black 86%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 86%, transparent 100%);
}

.hero-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    padding-top: clamp(5rem, 12vw, 9rem);
    position: relative;
    z-index: 4;
}

/* Hero community CTA */
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    margin-top: 1.8rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    background: var(--red);
    padding: 0.9em 1.6em;
    transition: background 0.2s ease, transform 0.2s ease, gap 0.2s ease;
}
.hero-cta:hover { background: #ff1f2b; transform: translateY(-2px); gap: 0.9em; }

/* Vertical scroll cue (replaces the old circular badge) */
.scroll-cue {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    text-decoration: none;
    color: var(--dim);
    transition: color 0.25s ease;
}
.scroll-cue:hover { color: var(--ink); }
.scroll-cue-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
}
.scroll-cue-line {
    width: 1px;
    height: 56px;
    background: linear-gradient(to bottom, transparent, var(--red));
}
.scroll-cue-arrow {
    font-size: 1rem;
    color: var(--red);
    animation: cueBounce 1.8s ease-in-out infinite;
}
@keyframes cueBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .scroll-cue-arrow { animation: none; } }

/* Credentials strip */
.cred-strip {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-top: clamp(-3rem, -4vw, -4.5rem);
    position: relative;
    z-index: 5;
    background: var(--bg);
}
.cred-strip .wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 2.6rem;
    row-gap: 0.6rem;
    padding-top: 1.1rem;
    padding-bottom: 1.1rem;
}
.cred {
    font-family: var(--font-mono);
    font-size: 0.64rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--dim);
    display: flex;
    align-items: center;
    gap: 2.6rem;
}
.cred + .cred::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--red);
    display: inline-block;
}

/* ---------- Sections ---------- */
.section {
    padding-top: var(--pad-section);
}
.section-head {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    margin-bottom: clamp(3rem, 6vw, 5rem);
}
.section-head .display {
    font-size: clamp(2.6rem, 6.5vw, 6rem);
}
.section-head.center { align-items: center; text-align: center; }

/* About */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
}
.about-cell {
    padding: 2.4rem 2rem 2.8rem 0;
    border-right: 1px solid var(--line);
    padding-left: 2rem;
}
.about-cell:first-child { padding-left: 0; }
.about-cell:last-child { border-right: none; }
.about-cell h3 {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 1.2rem;
}
.about-cell h3::before { content: '— '; color: var(--red); }
.about-cell p { color: var(--dim); font-size: 0.85rem; }

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-top: clamp(3rem, 6vw, 5rem);
}
.stat {
    padding: 2.2rem 1rem;
    text-align: center;
    border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat .num {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5vw, 4.4rem);
    line-height: 1;
    color: var(--ink);
}
.stat .num em { color: var(--red); font-style: normal; }
.stat .lbl {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--dim);
    margin-top: 0.9rem;
}

/* Expertise */
.exp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
}
.exp-col {
    border-right: 1px solid var(--line);
    padding: 2.4rem 2rem 2.4rem 2rem;
}
.exp-col:first-child { padding-left: 0; }
.exp-col:last-child { border-right: none; }
.exp-col h3 {
    font-family: var(--font-display);
    font-size: 1.9rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}
.exp-col > p { color: var(--dim); font-size: 0.82rem; margin-bottom: 1.6rem; }
.fine-list { list-style: none; }
.fine-list li {
    font-size: 0.82rem;
    color: var(--dim);
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--line);
    transition: color 0.2s ease, padding-left 0.2s ease;
}
.fine-list li::before { content: '·  '; color: var(--red); }
.fine-list li:hover { color: var(--ink); padding-left: 0.4rem; }

/* Portfolio */
.work-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(0.5rem, 2vw, 1.5rem);
    padding: 1rem 0 2rem;
}
.work-item {
    background: #f2f0eb;
    padding: 10px 10px 12px;
    width: clamp(180px, 26vw, 330px);
    text-decoration: none;
    color: #111;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}
.work-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    filter: grayscale(1) contrast(1.05);
    transition: filter 0.35s ease;
}
.work-item:nth-child(1) { transform: rotate(-2.6deg) translateY(10px); }
.work-item:nth-child(2) { transform: rotate(1.4deg) translateY(-6px); z-index: 2; }
.work-item:nth-child(3) { transform: rotate(-1.2deg) translateY(8px); }
.work-item:hover {
    transform: rotate(0deg) translateY(-8px) scale(1.03);
    z-index: 3;
}
.work-item:hover img { filter: grayscale(0) contrast(1); }
.work-cap {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 9px;
}
.work-cap b {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
}
.work-cap span {
    font-family: var(--font-mono);
    font-size: 0.56rem;
    letter-spacing: 0.12em;
    color: #888;
    text-transform: uppercase;
}
.work-cta { text-align: center; margin-top: 2.6rem; }

/* Insights (wiki blog cards, filled by wiki-integration.js) */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0;
    border-top: 1px solid var(--line);
}
.blog-post {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    background: transparent;
    transition: background 0.25s ease;
}
.blog-post:hover { background: var(--panel); }
.blog-image { display: none; }
.blog-meta {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--faint);
    display: flex;
    gap: 1.4rem;
    margin-bottom: 1rem;
}
.blog-category { color: var(--red); }
.blog-title {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.02rem;
    line-height: 1.45;
    color: var(--ink);
    margin-bottom: 0.7rem;
}
.blog-excerpt {
    color: var(--dim);
    font-size: 0.82rem;
    flex-grow: 1;
    margin-bottom: 1.4rem;
}
.blog-link {
    font-family: var(--font-mono);
    font-size: 0.64rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink);
    border-bottom: 1px solid var(--red);
    align-self: flex-start;
    padding-bottom: 0.3em;
}
.blog-link:hover { color: var(--red); }
.blog-link i { display: none; }

/* Feed (Notes from the field) */
.feed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.feed-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: var(--panel);
    border: 1px solid var(--line);
    transition: border-color 0.25s ease, transform 0.25s ease;
}
.feed-card:hover { border-color: #3a3a3a; transform: translateY(-4px); }
.feed-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}
.feed-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.05);
    transition: filter 0.3s ease, transform 0.5s ease;
}
.feed-card:hover .feed-thumb img { filter: grayscale(0) contrast(1); transform: scale(1.04); }
.feed-thumb .gen {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.4rem;
    text-align: center;
    background:
        radial-gradient(ellipse at 70% 15%, rgba(229, 9, 20, 0.18), transparent 60%),
        #0c0c0c;
    font-family: var(--font-display);
    font-size: 1.5rem;
    line-height: 1;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--ink);
}
.feed-badge {
    position: absolute;
    top: 0;
    left: 0;
    font-family: var(--font-mono);
    font-size: 0.56rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #fff;
    background: var(--red);
    padding: 0.4em 0.9em;
}
.feed-badge.wiki { background: #1a1a1a; color: var(--ink); border-right: 2px solid var(--red); }
.feed-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.feed-play span {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(229, 9, 20, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
}
.feed-play span::before {
    content: '';
    border-left: 15px solid #fff;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    margin-left: 4px;
}
.feed-card:hover .feed-play span { transform: scale(1.12); }
.feed-info { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 0.6rem; flex-grow: 1; }
.feed-meta {
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--faint);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}
.feed-meta .src { color: var(--red); }
.feed-title {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.98rem;
    line-height: 1.4;
    color: var(--ink);
}
.feed-loading {
    grid-column: 1 / -1;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--faint);
    padding: 2rem 0;
}

/* Support */
.support-rows { border-top: 1px solid var(--line); }
.support-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: 1.9rem 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    transition: padding-left 0.25s ease, background 0.25s ease;
}
.support-row:hover { padding-left: 1.2rem; background: var(--panel); }
.support-row .idx {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    color: var(--red);
    letter-spacing: 0.2em;
}
.support-row .ttl {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.4vw, 2.6rem);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--ink);
}
.support-row .sub {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--dim);
    text-align: right;
}
.support-row:hover .sub { color: var(--red); }

/* Contact */
.contact { text-align: center; }
.contact .display {
    font-size: clamp(3rem, 9vw, 8.5rem);
}
.contact-mail {
    display: inline-block;
    margin-top: 2.6rem;
    font-family: var(--font-mono);
    font-size: clamp(0.85rem, 2vw, 1.15rem);
    letter-spacing: 0.14em;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 2px solid var(--red);
    padding-bottom: 0.5em;
    transition: color 0.2s ease;
}
.contact-mail:hover { color: var(--red); }
.contact-social {
    display: flex;
    justify-content: center;
    gap: 2.4rem;
    margin-top: 3rem;
}
.contact-social a {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--dim);
    text-decoration: none;
    transition: color 0.2s ease;
}
.contact-social a:hover { color: var(--ink); }

/* Footer */
.footer {
    margin-top: var(--pad-section);
    border-top: 1px solid var(--line);
}
.footer .wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.6rem;
    padding-bottom: 1.6rem;
}
.footer p, .footer a {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--faint);
    text-decoration: none;
}
.footer a:hover { color: var(--ink); }
.footer .links { display: flex; gap: 1.8rem; }

/* ---------- Store page ---------- */
.store-hero {
    padding-top: clamp(120px, 16vh, 180px);
    text-align: center;
}
.store-hero .display { font-size: clamp(3.4rem, 11vw, 10rem); }
.store-hero .lede { margin: 1.8rem auto 0; }

.trust-line {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 2.4rem;
    row-gap: 0.6rem;
    margin-top: 2.6rem;
    padding: 1.1rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.trust-line span {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--dim);
}
.trust-line span::before { content: '· '; color: var(--red); }

.product-rows { border-top: 1px solid var(--line); }
.product {
    display: grid;
    grid-template-columns: minmax(200px, 340px) 1fr minmax(180px, 220px);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    padding: clamp(2.4rem, 5vw, 4rem) 0;
    border-bottom: 1px solid var(--line);
}
.product-id .kicker { display: block; margin-bottom: 1rem; }
.product-id h3 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.6vw, 3.6rem);
    line-height: 0.95;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.product-id .tag {
    display: inline-block;
    margin-top: 1.1rem;
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--red);
    border: 1px solid rgba(229, 9, 20, 0.45);
    padding: 0.35em 0.9em;
}
.product-info p { color: var(--dim); font-size: 0.88rem; max-width: 56ch; }
.product-info .fine-list { margin-top: 1.4rem; max-width: 460px; }
.product-side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.3rem;
    justify-content: center;
}
.price {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 0.03em;
    color: var(--ink);
}
.price.soon { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--dim); }

.product-note {
    font-size: 0.74rem;
    line-height: 1.55;
    color: var(--dim);
    max-width: 240px;
    margin-top: 0.2rem;
}
.product-note strong { color: var(--ink); font-weight: 600; }
.product-note .accent { color: var(--red); font-weight: 600; }
.product-note a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--red); }
.product-note a:hover { color: var(--red); }

.how-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
}
.how-cell {
    border-right: 1px solid var(--line);
    padding: 2.2rem 2rem 2.2rem 2rem;
}
.how-cell:first-child { padding-left: 0; }
.how-cell:last-child { border-right: none; }
.how-cell .idx {
    font-family: var(--font-display);
    font-size: 2.4rem;
    color: var(--red);
    line-height: 1;
    display: block;
    margin-bottom: 1rem;
}
.how-cell h4 {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}
.how-cell p { color: var(--dim); font-size: 0.82rem; }

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid var(--line);
}
.faq-item {
    padding: 2rem 2rem 2rem 2rem;
    border-bottom: 1px solid var(--line);
}
.faq-item:nth-child(odd) { border-right: 1px solid var(--line); padding-left: 0; }
.faq-item h4 {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}
.faq-item h4::before { content: 'Q — '; color: var(--red); }
.faq-item p { color: var(--dim); font-size: 0.84rem; }
.faq-note {
    text-align: center;
    margin-top: 3rem;
    color: var(--dim);
    font-size: 0.85rem;
}
.faq-note a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--red); }

/* ---------- Experience timeline (recruiter) ---------- */
.xp-rows { border-top: 1px solid var(--line); counter-reset: xp; }
.xp-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: clamp(1.4rem, 3.5vw, 3.2rem);
    padding: clamp(2rem, 4vw, 2.8rem) 0;
    border-bottom: 1px solid var(--line);
}
.xp-when {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    color: var(--dim);
    white-space: nowrap;
    padding-top: 0.55rem;
}
.xp-when::before {
    counter-increment: xp;
    content: counter(xp, decimal-leading-zero);
    display: block;
    color: var(--red);
    margin-bottom: 0.45rem;
}
.xp-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.4rem 1.6rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--line);
}
.xp-head h3 {
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2.8vw, 2rem);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1;
}
.xp-place {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--dim);
}
.xp-body p {
    color: var(--dim);
    font-size: 0.85rem;
    margin-top: 1rem;
    max-width: 66ch;
}
.xp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.2rem;
}
.xp-tag {
    font-family: var(--font-mono);
    font-size: 0.56rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--dim);
    border: 1px solid var(--line);
    border-radius: 2px;
    padding: 0.35em 0.8em;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.xp-row:hover .xp-tag { border-color: #3a3a3a; }
.xp-tag:hover { color: var(--ink); border-color: var(--red); }

/* ---------- Reveal on scroll ---------- */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .cred-strip { margin-top: 2.5rem; }
    .hero-body { grid-template-columns: 1fr; }
    .hero-intro { order: 2; text-align: center; padding-top: 1.5rem; }
    .hero-intro p { margin: 0 auto; max-width: 46ch; }
    .hero-side { display: none; }
    .about-grid, .exp-grid, .how-row { grid-template-columns: 1fr; }
    .about-cell, .exp-col, .how-cell {
        border-right: none;
        border-bottom: 1px solid var(--line);
        padding-left: 0;
    }
    .about-cell:last-child, .exp-col:last-child, .how-cell:last-child { border-bottom: none; }
    .stats-row { grid-template-columns: 1fr 1fr; }
    .stat:nth-child(2) { border-right: none; }
    .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .work-strip { flex-wrap: wrap; }
    .work-item { width: min(330px, 84vw); }
    .product { grid-template-columns: 1fr; gap: 1.6rem; }
    .faq-grid { grid-template-columns: 1fr; }
    .faq-item:nth-child(odd) { border-right: none; padding-left: 0; }
    .faq-item { padding-left: 0; }
    .support-row { grid-template-columns: auto 1fr; }
    .support-row .sub { display: none; }
    .xp-row { grid-template-columns: 1fr; gap: 0.9rem; }
    .xp-when { padding-top: 0; display: flex; gap: 1rem; align-items: baseline; }
    .xp-when::before { margin-bottom: 0; }
    .topbar-nav a:not(.accent):not(:last-child) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .spin-badge svg { animation: none; }
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}
