/* About page v2 — 2026-08-25, implementing the owner's Claude Design draft
   `PDM About Page.dc.html` inside the site layout.

   The draft is dark-only with fixed hex; this page also renders light, so every
   colour maps to a site token. Mono is the local stack — no Google Fonts.

   Section numbers (01, 02, 03) come from a CSS counter on the kickers, the same
   device the features page uses, so the markup stays clean.

   Everything animated is behind a reduced-motion guard: the orbit in the hero
   is decoration, and decoration must never be the reason someone cannot use
   the page. */

html { overflow-x: clip; }
body { counter-reset: a2sec; }

.a2-mono { font-family: ui-monospace, Consolas, "JetBrains Mono", monospace; }

@keyframes a2-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes a2-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes a2-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes a2-orbit { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes a2-dash { to { stroke-dashoffset: -40; } }

[data-rv] { opacity: 0; transform: translateY(24px); transition: opacity .65s cubic-bezier(.2,.7,.3,1), transform .65s cubic-bezier(.2,.7,.3,1); }
[data-rv].on { opacity: 1; transform: none; }
.a2-rise { animation: a2-rise .6s both; }

@media (prefers-reduced-motion: reduce) {
    .a2-rise, [data-rv] { animation: none; opacity: 1; transform: none; transition: none; }
    .a2-dot, .a2-orbit, .a2-orbit-2, .a2-logo, .a2-ring-dash, .a2-mini-dot { animation: none !important; }
}

/* ---- hero orbit ---------------------------------------------------------- */
.a2-hero { text-align: center; padding-top: 48px; }
.a2-orbitbox { position: relative; width: 220px; height: 220px; margin: 0 auto; }
.a2-orbitbox svg { position: absolute; inset: 0; }
.a2-ring-dash { stroke: color-mix(in srgb, var(--primary) 28%, transparent); animation: a2-dash 3s linear infinite; }
.a2-ring-out { stroke: var(--border); }
.a2-orbit, .a2-orbit-2 { position: absolute; inset: 0; }
.a2-orbit { animation: a2-orbit 14s linear infinite; }
.a2-orbit-2 { animation: a2-orbit 22s linear infinite reverse; }
.a2-orbit i, .a2-orbit-2 i {
    position: absolute; left: 50%; border-radius: 50%; display: block;
}
.a2-orbit i { top: 16px; margin-left: -5px; width: 10px; height: 10px; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.a2-orbit-2 i { bottom: 2px; margin-left: -4px; width: 8px; height: 8px; background: var(--primary); box-shadow: 0 0 12px var(--primary); }
.a2-logo {
    position: absolute; inset: 0; margin: auto;
    width: 92px; height: 92px; border-radius: 24px;
    box-shadow: 0 24px 60px -12px var(--ring);
    animation: a2-float 5s ease-in-out infinite;
}

.a2-badge {
    margin-top: 34px;
    display: inline-flex; align-items: center; gap: 9px;
    min-height: 34px; padding: 6px 17px;
    border: 1px solid color-mix(in srgb, var(--primary) 35%, transparent);
    border-radius: 30px;
    background: color-mix(in srgb, var(--primary) 8%, transparent);
    font-size: 12.5px; font-weight: 600; line-height: 1.7;
    color: color-mix(in srgb, var(--primary) 75%, var(--fg));
}
.a2-dot { width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: var(--accent2); animation: a2-pulse 2s infinite; }

.a2-hero h1 { margin: 22px auto 0; max-width: 680px; font-size: clamp(27px, 5.6vw, 48px); font-weight: 800; line-height: 1.4; letter-spacing: -.5px; }
.a2-h1-b {
    display: block;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.a2-hero .lead { margin: 18px auto 0; max-width: 520px; }

/* ---- stats --------------------------------------------------------------- */
.a2-stats { max-width: 860px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.a2-stat { padding: 24px 14px; text-align: center; border: 1px solid var(--border); border-radius: 16px; background: var(--card); transition: border-color .2s; }
.a2-stat:hover { border-color: color-mix(in srgb, var(--primary) 40%, transparent); }
.a2-stat-n { font-size: clamp(24px, 5vw, 34px); font-weight: 700; color: var(--primary); line-height: 1.2; }
.a2-stat-l { margin-top: 6px; font-size: 12.5px; font-weight: 600; color: var(--muted); }

/* ---- numbered section heads ---------------------------------------------- */
.section-head .kicker { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.section-head .kicker::before {
    counter-increment: a2sec;
    content: "0" counter(a2sec);
    direction: ltr;
    font-family: ui-monospace, Consolas, "JetBrains Mono", monospace;
    font-size: 12px; font-weight: 700; color: var(--primary);
    padding-inline-end: 2px;
    border-inline-end: 1px solid color-mix(in srgb, var(--primary) 40%, transparent);
    margin-inline-end: 2px;
}
.section-head .kicker::after { content: ""; width: 34px; height: 1px; background: color-mix(in srgb, var(--primary) 50%, transparent); }

/* ---- story --------------------------------------------------------------- */
.a2-story { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.a2-story p {
    margin: 0; padding: 26px 24px;
    border: 1px solid var(--border); border-radius: 18px; background: var(--card);
    font-size: 14px; line-height: 2.2; color: var(--fg);
}
.a2-quote {
    position: relative; margin-top: 16px; padding: 34px 38px;
    border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
    border-radius: 20px;
    background: color-mix(in srgb, var(--primary) 5%, transparent);
    text-align: center; overflow: hidden;
}
.a2-quote-mark {
    position: absolute; top: 4px; inset-inline-start: 22px;
    font-size: 88px; font-weight: 900; line-height: 1;
    color: color-mix(in srgb, var(--primary) 20%, transparent);
    font-family: Georgia, "Times New Roman", serif;
    pointer-events: none; user-select: none;
}
.a2-quote p { position: relative; margin: 0 auto; max-width: 560px; font-size: 18px; font-weight: 600; line-height: 2; }

/* ---- values -------------------------------------------------------------- */
.a2-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.a2-value {
    padding: 28px 24px; border: 1px solid var(--border); border-radius: 18px;
    background: var(--card); transition: border-color .2s, transform .2s;
}
.a2-value:hover { border-color: color-mix(in srgb, var(--primary) 45%, transparent); transform: translateY(-3px); }
.a2-value .icon-chip { margin-bottom: 18px; }
.a2-value h3 { margin: 0 0 9px; font-size: 17px; font-weight: 800; }
.a2-value p { margin: 0; font-size: 13.5px; line-height: 2.1; color: var(--muted); }

/* ---- maker --------------------------------------------------------------- */
.a2-maker { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); border: 1px solid var(--border); border-radius: 22px; background: var(--card); overflow: hidden; }
.a2-maker-main { padding: 32px; }
.a2-maker-id { display: flex; align-items: center; gap: 16px; }
.a2-avatar {
    width: 64px; height: 64px; flex-shrink: 0; border-radius: 18px;
    background: var(--primary); color: var(--card);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; font-weight: 900;
}
.a2-maker-name { margin: 0; font-size: 20px; font-weight: 800; }
.a2-maker-role { margin: 4px 0 0; font-size: 12.5px; font-weight: 600; color: var(--primary); }
.a2-maker-d { margin: 20px 0 0; font-size: 13.5px; line-height: 2.2; color: var(--muted); }
.a2-skills {
    list-style: none; margin: 0; padding: 32px;
    border-inline-start: 1px solid var(--border);
    background: color-mix(in srgb, var(--primary) 3%, transparent);
    display: flex; flex-direction: column; justify-content: center; gap: 14px;
}
.a2-skills li { display: flex; align-items: center; gap: 12px; font-size: 13.5px; font-weight: 600; }
.a2-skill-chip {
    width: 30px; height: 30px; flex-shrink: 0; border-radius: 9px;
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
}

/* ---- CTA ----------------------------------------------------------------- */
.a2-cta {
    max-width: 860px; margin: 0 auto; text-align: center;
    padding: 56px 30px;
    border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent);
    border-radius: 26px;
    background: color-mix(in srgb, var(--primary) 4%, transparent);
}
.a2-cta h2 { margin: 0; font-size: clamp(24px, 5vw, 34px); font-weight: 800; }
.a2-cta p { margin: 14px auto 0; max-width: 430px; font-size: 14.5px; line-height: 2.1; color: var(--muted); }
.a2-cta .btn { margin-top: 26px; }
.a2-mini { max-width: 460px; margin: 34px auto 0; display: flex; flex-direction: column; gap: 9px; }
.a2-mini-row {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 14px; border: 1px solid var(--border); border-radius: 12px;
    background: var(--bg2);
}
.a2-mini-dot { width: 8px; height: 8px; flex-shrink: 0; border-radius: 50%; background: var(--primary); }
.a2-mini-row.is-live .a2-mini-dot { animation: a2-pulse 1.4s infinite; }
.a2-mini-row.is-done .a2-mini-dot { background: var(--accent2); }
.a2-mini-name { flex: 1; min-width: 0; font-size: 11.5px; color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: start; }
.a2-mini-v { font-size: 11.5px; font-weight: 700; color: var(--primary); white-space: nowrap; }
.a2-mini-row.is-done .a2-mini-v { color: var(--accent2); }

/* ---- responsive ---------------------------------------------------------- */
@media (max-width: 860px) {
    .a2-maker { grid-template-columns: minmax(0, 1fr); }
    .a2-skills { border-inline-start: 0; border-top: 1px solid var(--border); }
}
@media (max-width: 620px) {
    .a2-hero { padding-top: 30px; }
    .a2-orbitbox { width: 176px; height: 176px; }
    .a2-logo { width: 74px; height: 74px; border-radius: 20px; }
    .a2-quote { padding: 28px 20px; }
    .a2-quote p { font-size: 16px; }
    .a2-quote-mark { font-size: 64px; inset-inline-start: 12px; }
    .a2-story p, .a2-value { padding: 22px 18px; }
    .a2-maker-main, .a2-skills { padding: 24px 18px; }
    .a2-cta { padding: 36px 20px; }
    .a2-cta .btn { width: 100%; justify-content: center; }
    .section-head .kicker::after { display: none; }
}
