/* Kevin Yu · design layer
   Part 1 styles the parts every design shares (hero art, marquee, résumé, new mocks, switcher).
   Part 2 holds the five looks, each scoped to :root[data-design="…"]. Tokens come from main.css. */

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.55s; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
.is-switching ::view-transition-new(root) { animation-name: dd-in; }
.is-switching ::view-transition-old(root) { animation-name: dd-out; }
@keyframes dd-in { from { opacity: 0; transform: scale(1.015); filter: blur(6px); } }
@keyframes dd-out { to { opacity: 0; transform: scale(0.99); filter: blur(4px); } }

/* =================================================================
   Part 1 · shared
   ================================================================= */

/* Hero */
.hero { min-height: min(100svh, 1000px); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hero > .wrap { position: relative; z-index: 1; }
.hero-art { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-art canvas { display: block; width: 100%; height: 100%; }
.hero-title { font-size: clamp(3.4rem, 8.4vw, 7.6rem); }
.hero-title .line-sub { font-size: 0.46em; }
.hero-side { max-width: 520px; justify-self: end; }
[data-design="editorial"] .hero-art, [data-design="aurora"] .hero-art { -webkit-mask-image: linear-gradient(100deg, transparent 18%, rgba(0,0,0,.55) 48%, #000 75%); mask-image: linear-gradient(100deg, transparent 18%, rgba(0,0,0,.55) 48%, #000 75%); }

/* Marquee of tools */
.marquee { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 24px; margin-top: clamp(28px, 4vw, 44px); }
.marquee-label { font-size: var(--t-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.marquee-track { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track ul { display: flex; flex: none; gap: 40px; padding-right: 40px; animation: marquee 38s linear infinite; }
.marquee-track li { font-weight: 500; color: var(--ink-2); white-space: nowrap; font-size: 0.975rem; }
.marquee-track li::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 14px; border-radius: 50%; background: var(--accent); vertical-align: middle; opacity: 0.7; }
.marquee:hover .marquee-track ul { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* Intro curtain */
.curtain { position: fixed; inset: 0; z-index: 200; background: var(--band); color: var(--band-ink); display: grid; place-items: center; clip-path: inset(0 0 0 0); }
.curtain-in { display: grid; justify-items: center; gap: 18px; }
.curtain-mark { display: block; overflow: hidden; font: 500 clamp(3rem, 8vw, 5.5rem)/1 var(--f-display); letter-spacing: -0.03em; }
.curtain-bar { width: 140px; height: 1px; background: color-mix(in srgb, var(--band-ink) 20%, transparent); overflow: hidden; }
.curtain-bar i { display: block; height: 100%; background: var(--band-ink); transform-origin: 0 50%; }
.has-curtain body { overflow: hidden; }

/* Cursor light (only some designs show it) */
.cursor-light { position: fixed; left: 0; top: 0; z-index: 60; width: 360px; height: 360px; margin: -180px 0 0 -180px; border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity 0.4s, width 0.3s, height 0.3s; display: none; }
.cursor-light.is-on { opacity: 1; }

/* Work: four compact cards in a 2×2 grid */
.work-trio { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 28px); }
.work-trio .work-compact { grid-template-columns: minmax(0, 1fr); }
.work-trio .work-visual { min-height: 260px; }
@media (max-width: 860px) { .work-trio { grid-template-columns: minmax(0, 1fr); } }
.work-card { transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.4s; will-change: transform; }

/* Risk tool mock */
.risk { width: 100%; max-width: 520px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-2); overflow: hidden; }
.risk .mock-bar { border-bottom: 1px solid var(--line); padding: 10px 14px; }
.risk-body { display: grid; gap: 14px; padding: 16px; }
.risk-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.risk-stats > div { display: grid; gap: 2px; padding: 12px 14px; border-radius: 10px; background: var(--paper-2); }
.risk-num { font: 600 1.5rem/1 var(--f-display); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.risk-stats span { font-size: 0.75rem; color: var(--muted); }
.risk-list { display: grid; border-top: 1px solid var(--line); }
.risk-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "co pill" "src pill"; align-items: center; gap: 0 12px; padding: 10px 2px; border-bottom: 1px solid var(--line); opacity: 0.35; transform: translateX(-6px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.risk-co { grid-area: co; font-weight: 600; font-size: 0.9rem; }
.risk-src { grid-area: src; font-size: 0.72rem; color: var(--muted); }
.risk-list .pill { grid-area: pill; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 600; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-ok { background: var(--live-soft); color: var(--live); }
.pill-warn { background: var(--progress-soft); color: var(--progress); }
.risk-draft { display: grid; gap: 2px; padding: 12px 14px; border-radius: 10px; border: 1px dashed var(--line-2); opacity: 0.35; transition: opacity 0.6s var(--ease-out) 1.2s; }
.risk-draft span { font-size: 0.7rem; color: var(--human); }
.risk-draft p { font-size: 0.875rem; }
.risk.is-in .risk-list li { opacity: 1; transform: none; }
.risk.is-in .risk-list li:nth-child(2) { transition-delay: 0.15s; }
.risk.is-in .risk-list li:nth-child(3) { transition-delay: 0.3s; }
.risk.is-in .risk-list li:nth-child(4) { transition-delay: 0.45s; }
.risk.is-in .risk-draft { opacity: 1; }
.risk.is-in .pill-warn { animation: warn 1.6s ease-in-out 1s 2; }
@keyframes warn { 50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--progress) 22%, transparent); } }

/* Phone mocks */
.phone { position: relative; width: 210px; aspect-ratio: 9 / 18.5; border-radius: 34px; padding: 34px 14px 16px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-2), inset 0 0 0 6px var(--paper-2); display: grid; align-content: start; gap: 12px; }
.phone-notch { position: absolute; top: 12px; left: 50%; width: 64px; height: 16px; margin-left: -32px; border-radius: 99px; background: var(--ink); opacity: 0.9; }
.phone-h { font-weight: 700; font-size: 0.95rem; }
.slots { display: grid; grid-template-columns: auto repeat(3, 1fr); gap: 6px; align-items: center; }
.slots span { font-size: 0.65rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.slots i { height: 22px; border-radius: 6px; background: var(--paper-2); border: 1px solid var(--line); transition: background-color 0.5s, transform 0.5s var(--ease-out); }
.slots i.is-taken { background: repeating-linear-gradient(-45deg, var(--line) 0 3px, transparent 3px 7px); }
.slots i.is-mine { background: var(--line); }
.phone.is-in .slots i.is-mine { background: var(--human); border-color: var(--human); transform: scale(1.06); transition-delay: 0.6s; }
.qr-tile { position: relative; display: grid; justify-items: center; gap: 8px; padding: 14px 10px 10px; border-radius: 16px; background: var(--paper-2); }
.qr-ring { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; transform: rotate(-90deg); }
.qr-ring circle { fill: none; stroke: var(--line-2); stroke-width: 4; }
.qr-ring .qr-ring-fg { stroke: var(--human); stroke-dasharray: 100; stroke-dashoffset: 0; }
.phone.is-in .qr-ring-fg { animation: qr 30s linear infinite; }
@keyframes qr { to { stroke-dashoffset: 100; } }
.qr-code { display: grid; grid-template-columns: repeat(3, 22px); gap: 4px; padding: 8px; background: #fff; border-radius: 8px; }
.qr-code i { width: 22px; height: 22px; background: #111; border-radius: 3px; }
.qr-code i:nth-child(2), .qr-code i:nth-child(4), .qr-code i:nth-child(9) { background: transparent; border: 5px solid #111; }
.qr-code i:nth-child(6) { transform: scale(0.5); }
.qr-t { font-size: 0.66rem; color: var(--muted); }
.phone-btn { margin-top: auto; padding: 11px 12px; border-radius: 14px; background: var(--ink); color: var(--paper); font-size: 0.75rem; font-weight: 600; text-align: center; opacity: 0.25; transform: translateY(8px); transition: opacity 0.5s, transform 0.6s var(--ease-out); transition-delay: 0.9s; }
.phone.is-in .phone-btn { opacity: 1; transform: none; }
.phone { grid-template-rows: auto auto auto 1fr; }
.phone-game { grid-template-rows: auto auto 1fr; }

.phone-game { padding-inline: 10px; }
.scene { position: relative; height: 250px; border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, #BFE3F5, #EAF6E8 70%); }
.stk { position: absolute; display: block; transition: transform 0.9s cubic-bezier(.34, 1.56, .64, 1), opacity 0.4s; opacity: 0.25; }
.stk::after { content: ""; position: absolute; inset: -3px; border: 2px dashed rgba(0, 0, 0, 0.18); border-radius: inherit; opacity: 1; transition: opacity 0.4s; }
.stk-sun { right: 18px; top: 18px; width: 42px; height: 42px; border-radius: 50%; background: #FFC94A; }
.stk-cloud { left: 16px; top: 30px; width: 62px; height: 22px; border-radius: 20px; background: #fff; }
.stk-hill { left: -20px; right: -20px; bottom: -40px; height: 120px; border-radius: 50% 50% 0 0; background: #7CC47A; }
.stk-tree { left: 30px; bottom: 54px; width: 34px; height: 52px; border-radius: 50% 50% 40% 40%; background: #3E9B5B; }
.stk-house { right: 34px; bottom: 50px; width: 56px; height: 44px; border-radius: 4px; background: #F08A5D; }
.stk-house::before { content: ""; position: absolute; left: 50%; bottom: 100%; margin-left: -34px; border: 34px solid transparent; border-bottom: 24px solid #C2553B; border-top: 0; }
.phone-game.is-in .stk { opacity: 1; }
.phone-game.is-in .stk::after { opacity: 0; }
.phone-game .stk-sun { transform: translate(40px, -30px) rotate(40deg); }
.phone-game .stk-cloud { transform: translate(-40px, -10px); }
.phone-game .stk-tree { transform: translate(-30px, 60px) rotate(-20deg); }
.phone-game .stk-house { transform: translate(40px, 70px) rotate(14deg); }
.phone-game.is-in .stk { transform: none; }
.phone-game.is-in .stk-cloud { transition-delay: 0.2s; }
.phone-game.is-in .stk-tree { transition-delay: 0.45s; }
.phone-game.is-in .stk-house { transition-delay: 0.7s; }
.stars { display: flex; justify-content: center; gap: 8px; }
.stars i { width: 22px; height: 22px; background: var(--line-2); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); transition: background-color 0.4s, transform 0.5s cubic-bezier(.34, 1.56, .64, 1); }
.phone-game.is-in .stars i { background: #FFC94A; transform: scale(1.15); }
.phone-game.is-in .stars i:nth-child(1) { transition-delay: 1.2s; }
.phone-game.is-in .stars i:nth-child(2) { transition-delay: 1.35s; }
.phone-game.is-in .stars i:nth-child(3) { transition-delay: 1.5s; }

/* Résumé */
.cv { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
.cv-col { display: grid; align-content: start; gap: 22px; }
.cv-col > .cv-h:not(:first-child) { margin-top: 26px; }
.cv-h { display: flex; align-items: center; gap: 14px; font: 600 var(--t-label)/1 var(--f-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.cv-h::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.cv-list { display: grid; }
.cv-item { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 18px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.cv-item:first-child { padding-top: 4px; }
.cv-when { font-size: 0.8125rem; color: var(--muted); padding-top: 0.25em; }
.cv-what { display: grid; gap: 6px; }
.cv-what p { color: var(--ink-2); font-size: var(--t-small); line-height: 1.55; text-wrap: pretty; }
.cv-what .cv-role { color: var(--ink); font: 500 1.2rem/1.25 var(--f-display); letter-spacing: -0.01em; }
.cv-role b { font-weight: 600; }
.skills { display: grid; }
.skills > div { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 18px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.skills dt { font-weight: 600; font-size: var(--t-small); }
.skills dd { margin: 0; font-size: var(--t-small); color: var(--ink-2); line-height: 1.55; }
@media (max-width: 900px) { .cv { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .cv-item, .skills > div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* Design switcher */
.design-dock { position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 80; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; padding: 6px; max-width: calc(100vw - 24px); overflow-x: auto; border-radius: 999px; background: color-mix(in srgb, var(--surface) 82%, transparent); border: 1px solid var(--line-2); box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.35); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); scrollbar-width: none; }
.dd-label { padding: 0 10px 0 12px; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.design-dock button { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 8px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: 500 0.82rem/1 var(--f-body); white-space: nowrap; cursor: pointer; transition: background-color 0.25s, color 0.25s; }
.design-dock button:hover { background: var(--paper-2); color: var(--ink); }
.design-dock button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.dd-swatch { width: 18px; height: 18px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15); }
.dd-editorial { background: linear-gradient(135deg, #F3EEE4 50%, #B4502E 50%); }
.dd-aurora { background: linear-gradient(135deg, #5EEAD4, #A78BFA 55%, #07080F 56%); }
.dd-swiss { background: linear-gradient(135deg, #fff 50%, #E4322B 50%); }
.dd-bento { background: conic-gradient(#FDBA74, #93C5FD, #C4B5FD, #86EFAC, #FDBA74); }
.dd-noir { background: linear-gradient(135deg, #0B0A09 50%, #D4A853 50%); }
@media (max-width: 720px) { .design-dock button span { display: none; } .design-dock button { padding: 0 9px; } .dd-label { display: none; } }

/* Print the résumé */
@media print {
  .site-header, .design-dock, .hero-art, .marquee, .cursor-light, .curtain, .work, .build, .lanes, .newsletter, .contact-ways, .wordmark, .site-footer, .facts, .cta-row, [data-print], .skip { display: none !important; }
  body { background: #fff; color: #000; }
  .hero { min-height: 0; padding: 0 0 12px; }
  .hero-top { grid-template-columns: 1fr; gap: 8px; }
  .hero-title { font-size: 34pt; }
  .section { padding-block: 12px; }
  .contact { background: none; color: #000; padding: 0; }
  .contact-head .kicker, .contact-title { display: none; }
  * { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* =================================================================
   Part 2 · the five designs
   ================================================================= */

/* ---------- 1 · Editorial: warm paper, big serif, engraved contours ---------- */
:root[data-design="editorial"] {
  --paper: #F3EEE4; --paper-2: #EAE3D6; --surface: #FBF8F2; --ink: #1A1714; --ink-2: #3E3832; --muted: #75695C;
  --line: #E0D7C7; --line-2: #CDBFA9; --accent: #2B3A55; --accent-soft: #E3E4E3; --accent-line: #A9B0BC;
  --human: #B4502E; --human-soft: #F1DFD3; --band: #1A1714; --band-ink: #F3EEE4;
  --r-lg: 6px; --r-md: 6px;
}
:root[data-design="editorial"][data-theme="dark"] {
  --paper: #15120F; --paper-2: #1D1915; --surface: #201B17; --ink: #F0E9DC; --ink-2: #CFC5B5; --muted: #9D907F;
  --line: #2E2822; --line-2: #463D33; --accent: #AFC0DC; --accent-soft: #232A35; --human: #E58A62; --human-soft: #3A2419; --band: #0E0C0A;
}
@media (prefers-color-scheme: dark) {
  :root[data-design="editorial"]:not([data-theme="light"]) {
    --paper: #15120F; --paper-2: #1D1915; --surface: #201B17; --ink: #F0E9DC; --ink-2: #CFC5B5; --muted: #9D907F;
    --line: #2E2822; --line-2: #463D33; --accent: #AFC0DC; --accent-soft: #232A35; --human: #E58A62; --human-soft: #3A2419; --band: #0E0C0A;
  }
}
[data-design="editorial"] body { background-image: radial-gradient(var(--dot) 0.6px, transparent 0.6px); background-size: 4px 4px; }
[data-design="editorial"] .hero-title { font-weight: 400; letter-spacing: -0.035em; }
[data-design="editorial"] .hero-title em { font-style: italic; }
[data-design="editorial"] .hero-top { border-bottom: 1px solid var(--ink); padding-bottom: clamp(28px, 4vw, 48px); }
[data-design="editorial"] .facts { border-top: 0; }
[data-design="editorial"] .fact-v { font-weight: 400; font-style: italic; font-size: clamp(2.6rem, 4.4vw, 3.8rem); }
[data-design="editorial"] h2 { font-weight: 400; font-size: clamp(2.6rem, 5.6vw, 4.8rem); letter-spacing: -0.03em; }
[data-design="editorial"] .section-head { border-top: 3px double var(--ink); padding-top: 22px; max-width: none; }
[data-design="editorial"] .kicker-n { font: italic 400 2.2rem/1 var(--f-display); color: var(--human); letter-spacing: 0; }
[data-design="editorial"] .kicker-n::after { width: 36px; }
[data-design="editorial"] .work-card { background: var(--surface); border-color: var(--line-2); box-shadow: none; }
[data-design="editorial"] .work-card:hover { border-color: var(--ink); }
[data-design="editorial"] .work-title { font-weight: 400; font-size: clamp(1.9rem, 3vw, 2.7rem); letter-spacing: -0.025em; }
[data-design="editorial"] .work-visual { background: var(--paper-2); }
[data-design="editorial"] .btn { border-radius: 2px; }
[data-design="editorial"] .marquee-track li { font: italic 400 1.15rem/1 var(--f-display); }
[data-design="editorial"] .cv-what .cv-role { font-size: 1.35rem; font-weight: 400; }

/* ---------- 2 · Aurora: deep night, glowing agent network, glass ---------- */
:root[data-design="aurora"] {
  --paper: #07080F; --paper-2: #0D0F1C; --surface: rgba(20, 23, 40, 0.62); --ink: #ECEFFA; --ink-2: #C3C8DD; --muted: #8990AC;
  --line: rgba(255, 255, 255, 0.08); --line-2: rgba(255, 255, 255, 0.16);
  --accent: #A78BFA; --accent-soft: rgba(167, 139, 250, 0.14); --accent-line: rgba(167, 139, 250, 0.4);
  --human: #5EEAD4; --human-soft: rgba(94, 234, 212, 0.12);
  --live: #5EEAD4; --live-soft: rgba(94, 234, 212, 0.12); --progress: #FBBF77; --progress-soft: rgba(251, 191, 119, 0.12); --done: #A1A7C0; --done-soft: rgba(161, 167, 192, 0.12);
  --band: #05060B; --band-2: #10121E; --band-ink: #ECEFFA; --band-muted: #8990AC; --shelf: #2A2E45;
  --dot: rgba(255, 255, 255, 0.06);
  --shadow-1: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 20px 50px -30px rgba(0, 0, 0, 0.8);
  --shadow-2: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 30px 70px -30px rgba(0, 0, 0, 0.9);
  --glow-1: #5EEAD4; --glow-2: #A78BFA; --glow-3: #38BDF8;
  --f-display: "Space Grotesk", "Hanken Grotesk", "PingFang SC", sans-serif;
  --r-lg: 24px; --r-md: 16px;
  color-scheme: dark;
}
[data-design="aurora"] .theme-toggle { display: none; }
[data-design="aurora"] body { background: radial-gradient(1200px 600px at 80% -10%, rgba(167, 139, 250, 0.12), transparent 60%), radial-gradient(900px 500px at 0% 40%, rgba(56, 189, 248, 0.06), transparent 60%), var(--paper); }
[data-design="aurora"] .hero-title { font-weight: 600; letter-spacing: -0.045em; font-size: clamp(3rem, 7.4vw, 6.6rem); }
[data-design="aurora"] .hero-title em, [data-design="aurora"] h2 em { font-style: normal; background: linear-gradient(90deg, #5EEAD4, #A78BFA 60%, #38BDF8); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-design="aurora"] h2 { font-weight: 600; letter-spacing: -0.04em; }
[data-design="aurora"] .work-title, [data-design="aurora"] .cv-what .cv-role { font-weight: 600; letter-spacing: -0.02em; }
[data-design="aurora"] .work-card, [data-design="aurora"] .stack-card, [data-design="aurora"] .loop-step, [data-design="aurora"] .risk, [data-design="aurora"] .mock {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)), var(--surface);
  border: 1px solid var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
[data-design="aurora"] .work-card:hover { border-color: rgba(167, 139, 250, 0.45); box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.2), 0 30px 80px -30px rgba(94, 234, 212, 0.25); }
[data-design="aurora"] .work-visual { background: radial-gradient(500px 300px at 50% 0%, rgba(167, 139, 250, 0.12), transparent 70%), rgba(255, 255, 255, 0.015); }
[data-design="aurora"] .btn-ink { background: linear-gradient(90deg, #5EEAD4, #A78BFA); color: #07080F; }
[data-design="aurora"] .btn-ink:hover { filter: brightness(1.1); color: #07080F; }
[data-design="aurora"] .btn-line { border-color: var(--line-2); }
[data-design="aurora"] .site-header.is-scrolled { background: rgba(7, 8, 15, 0.6); }
[data-design="aurora"] .kicker-n { color: var(--human); }
[data-design="aurora"] .fact-v { background: linear-gradient(180deg, #fff, #A8AED0); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-design="aurora"] .cursor-light { display: block; background: radial-gradient(circle, rgba(94, 234, 212, 0.10), rgba(167, 139, 250, 0.06) 40%, transparent 70%); mix-blend-mode: screen; }
[data-design="aurora"] .scene { filter: saturate(0.9); }
[data-design="aurora"] .qr-tile, [data-design="aurora"] .risk-stats > div { background: rgba(255, 255, 255, 0.04); }

/* ---------- 3 · Swiss: strict grid, heavy sans, one red ---------- */
:root[data-design="swiss"] {
  --paper: #FFFFFF; --paper-2: #F2F2F0; --surface: #FFFFFF; --ink: #0A0A0A; --ink-2: #2B2B2B; --muted: #6B6B6B;
  --line: #E2E2E2; --line-2: #0A0A0A; --accent: #0A0A0A; --accent-soft: #EFEFEF; --accent-line: #9A9A9A;
  --human: #E4322B; --human-soft: #FBE3E1; --band: #0A0A0A; --band-ink: #FFFFFF;
  --f-display: "Inter Tight", "Helvetica Neue", Arial, "PingFang SC", sans-serif;
  --f-body: "Inter Tight", "Helvetica Neue", Arial, "PingFang SC", sans-serif;
  --r-lg: 0px; --r-md: 0px; --r-sm: 0px;
  --shadow-1: none; --shadow-2: none;
}
:root[data-design="swiss"][data-theme="dark"] {
  --paper: #0A0A0A; --paper-2: #151515; --surface: #0F0F0F; --ink: #F4F4F4; --ink-2: #D2D2D2; --muted: #8E8E8E;
  --line: #262626; --line-2: #F4F4F4; --accent: #F4F4F4; --accent-soft: #1E1E1E; --human: #FF4A3D; --human-soft: #351410; --band: #000;
}
@media (prefers-color-scheme: dark) {
  :root[data-design="swiss"]:not([data-theme="light"]) {
    --paper: #0A0A0A; --paper-2: #151515; --surface: #0F0F0F; --ink: #F4F4F4; --ink-2: #D2D2D2; --muted: #8E8E8E;
    --line: #262626; --line-2: #F4F4F4; --accent: #F4F4F4; --accent-soft: #1E1E1E; --human: #FF4A3D; --human-soft: #351410; --band: #000;
  }
}
[data-design="swiss"] main { background-image: repeating-linear-gradient(90deg, transparent 0 calc((min(100vw, 1280px) - 80px) / 12 - 1px), color-mix(in srgb, var(--line) 55%, transparent) calc((min(100vw, 1280px) - 80px) / 12 - 1px) calc((min(100vw, 1280px) - 80px) / 12)); background-position: center top; background-size: min(100vw, 1280px) 100%; background-repeat: repeat-y; }
[data-design="swiss"] .hero-side { background: var(--paper); padding: 26px 0 26px 26px; border-left: 2px solid var(--human); }
[data-design="swiss"] .hero-title { background: linear-gradient(var(--paper), var(--paper)) 0 0 / 0 0 no-repeat; }
[data-design="swiss"] .hero-title { font-weight: 800; letter-spacing: -0.06em; line-height: 0.88; text-transform: none; }
[data-design="swiss"] .hero-title .line-sub { font-weight: 600; letter-spacing: -0.04em; }
[data-design="swiss"] .hero-title em, [data-design="swiss"] h2 em { font-style: normal; }
[data-design="swiss"] .hero-title .agent { color: var(--ink); }
[data-design="swiss"] h2 { font-weight: 800; letter-spacing: -0.05em; line-height: 0.95; }
[data-design="swiss"] .kicker { font: 700 0.75rem/1 var(--f-body); text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink); }
[data-design="swiss"] .kicker-n { color: var(--human); font-size: 0.75rem; }
[data-design="swiss"] .kicker-n::after { background: var(--ink); opacity: 1; width: 40px; }
[data-design="swiss"] .facts { border-top: 2px solid var(--ink); }
[data-design="swiss"] .fact-v { font-weight: 800; letter-spacing: -0.05em; font-size: clamp(2.8rem, 5vw, 4.4rem); }
[data-design="swiss"] .facts li:first-child .fact-v { color: var(--human); }
[data-design="swiss"] .work-card { border: 2px solid var(--ink); }
[data-design="swiss"] .work-card:hover { box-shadow: 8px 8px 0 var(--human); transform: translate(-3px, -3px); }
[data-design="swiss"] .work-title { font-weight: 800; letter-spacing: -0.04em; }
[data-design="swiss"] .work-visual { background: var(--paper-2); border-left: 2px solid var(--ink); }
[data-design="swiss"] .work-reverse .work-visual { border-left: 0; border-right: 2px solid var(--ink); }
[data-design="swiss"] .work-compact .work-visual { border: 0; border-bottom: 2px solid var(--ink); }
[data-design="swiss"] .btn { border-radius: 0; font-weight: 600; }
[data-design="swiss"] .btn-ink:hover { background: var(--human); color: #fff; }
[data-design="swiss"] .btn-line { border: 2px solid var(--ink); }
[data-design="swiss"] .status::before { border-radius: 0; }
[data-design="swiss"] .cv-what .cv-role { font-weight: 700; letter-spacing: -0.02em; }
[data-design="swiss"] .cv-h { color: var(--ink); }
[data-design="swiss"] .cv-h::after { background: var(--ink); height: 2px; }
[data-design="swiss"] .marquee-track li { font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.85rem; }
[data-design="swiss"] .marquee-track li::before { border-radius: 0; background: var(--human); opacity: 1; }
[data-design="swiss"] .phone { border-radius: 26px; border: 2px solid var(--ink); }
[data-design="swiss"] .cursor-light { display: block; width: 14px; height: 14px; margin: -7px 0 0 -7px; background: var(--human); mix-blend-mode: multiply; }
[data-design="swiss"] .cursor-light.is-link { width: 44px; height: 44px; margin: -22px 0 0 -22px; }

/* ---------- 4 · Bento: soft tiles, rounded, Apple-style ---------- */
:root[data-design="bento"] {
  --paper: #F5F5F7; --paper-2: #EDEDF0; --surface: #FFFFFF; --ink: #1D1D1F; --ink-2: #424245; --muted: #6E6E73;
  --line: #E3E3E8; --line-2: #D2D2D7; --accent: #0071E3; --accent-soft: #E6F0FC; --accent-line: #9CC3F2;
  --human: #FF6A3D; --human-soft: #FFE9E1; --band: #1D1D1F; --band-ink: #F5F5F7;
  --orb-1: #FDBA74; --orb-2: #93C5FD; --orb-3: #C4B5FD; --orb-4: #86EFAC;
  --f-display: "Inter", "Hanken Grotesk", "PingFang SC", sans-serif;
  --f-body: "Inter", "Hanken Grotesk", "PingFang SC", sans-serif;
  --r-lg: 30px; --r-md: 18px;
  --shadow-1: 0 2px 6px rgba(0, 0, 0, 0.03), 0 20px 50px -30px rgba(0, 0, 0, 0.18);
  --shadow-2: 0 2px 6px rgba(0, 0, 0, 0.04), 0 30px 70px -30px rgba(0, 0, 0, 0.22);
}
:root[data-design="bento"][data-theme="dark"] {
  --paper: #000; --paper-2: #161618; --surface: #1C1C1E; --ink: #F5F5F7; --ink-2: #D1D1D6; --muted: #98989D;
  --line: #2C2C2E; --line-2: #3A3A3C; --accent: #2997FF; --accent-soft: #10243A; --human: #FF8A5C; --human-soft: #3A2017; --band: #000;
  --orb-1: #C2410C; --orb-2: #1D4ED8; --orb-3: #6D28D9; --orb-4: #15803D;
}
@media (prefers-color-scheme: dark) {
  :root[data-design="bento"]:not([data-theme="light"]) {
    --paper: #000; --paper-2: #161618; --surface: #1C1C1E; --ink: #F5F5F7; --ink-2: #D1D1D6; --muted: #98989D;
    --line: #2C2C2E; --line-2: #3A3A3C; --accent: #2997FF; --accent-soft: #10243A; --human: #FF8A5C; --human-soft: #3A2017; --band: #000;
    --orb-1: #C2410C; --orb-2: #1D4ED8; --orb-3: #6D28D9; --orb-4: #15803D;
  }
}
[data-design="bento"] .hero { min-height: 0; padding-bottom: 24px; }
[data-design="bento"] .hero { padding-top: calc(var(--header-h) + 16px); }
[data-design="bento"] .hero-top { position: relative; isolation: isolate; min-height: min(62svh, 580px); padding: clamp(28px, 4vw, 56px); padding-top: clamp(48px, 8vw, 120px); align-items: end; border-radius: 36px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-1); }
[data-design="bento"] .hero-top > .hero-art { z-index: -1; }
[data-design="bento"] .hero-title { font-weight: 700; letter-spacing: -0.05em; font-size: clamp(3rem, 7vw, 6.4rem); }
[data-design="bento"] .hero-title em, [data-design="bento"] h2 em { font-style: normal; }
[data-design="bento"] h2 { font-weight: 700; letter-spacing: -0.045em; }
[data-design="bento"] .work-title, [data-design="bento"] .cv-what .cv-role { font-weight: 700; letter-spacing: -0.03em; }
[data-design="bento"] .kicker { font: 600 0.9rem/1 var(--f-body); color: var(--human); }
[data-design="bento"] .kicker-n { color: var(--muted); }
[data-design="bento"] .facts { border: 0; gap: 14px; margin-top: 16px; }
[data-design="bento"] .facts li, [data-design="bento"] .facts li + li { padding: 22px 24px; border: 0; border-radius: 26px; background: var(--surface); box-shadow: var(--shadow-1); }
[data-design="bento"] .fact-v { font-weight: 700; letter-spacing: -0.04em; }
[data-design="bento"] .facts li:nth-child(1) .fact-v { color: var(--human); }
[data-design="bento"] .facts li:nth-child(2) .fact-v { color: var(--accent); }
[data-design="bento"] .marquee { padding: 16px 22px; border-radius: 26px; background: var(--surface); box-shadow: var(--shadow-1); }
[data-design="bento"] .work-card { border: 0; box-shadow: var(--shadow-1); }
[data-design="bento"] .work-card:hover { box-shadow: var(--shadow-2); }
[data-design="bento"] .work-visual { background: var(--paper); margin: 12px; border-radius: 22px; }
[data-design="bento"] .cv-col { padding: clamp(22px, 3vw, 36px); border-radius: 30px; background: var(--surface); box-shadow: var(--shadow-1); }
[data-design="bento"] .cv-item:last-child, [data-design="bento"] .skills > div:last-child { border-bottom: 0; }
[data-design="bento"] .lane-list { background: var(--surface); border-radius: 30px; padding: 8px 24px; box-shadow: var(--shadow-1); }
[data-design="bento"] .btn-ink { background: var(--accent); color: #fff; }
[data-design="bento"] .btn-ink:hover { background: color-mix(in srgb, var(--accent) 85%, #000); color: #fff; }
@media (max-width: 860px) { [data-design="bento"] .facts { grid-template-columns: 1fr 1fr; } }

/* ---------- 5 · Noir: cinematic black, gold light, film grain ---------- */
:root[data-design="noir"] {
  --paper: #0B0A09; --paper-2: #13110E; --surface: #171411; --ink: #EFE7D6; --ink-2: #CBBFA8; --muted: #968B78;
  --line: rgba(239, 231, 214, 0.09); --line-2: rgba(239, 231, 214, 0.2);
  --accent: #D4A853; --accent-soft: rgba(212, 168, 83, 0.12); --accent-line: rgba(212, 168, 83, 0.45);
  --human: #D4A853; --human-soft: rgba(212, 168, 83, 0.14);
  --live: #A9C79A; --live-soft: rgba(169, 199, 154, 0.12); --progress: #E3B26A; --progress-soft: rgba(227, 178, 106, 0.12); --done: #A39B8C; --done-soft: rgba(163, 155, 140, 0.12);
  --band: #050404; --band-2: #14110E; --band-ink: #EFE7D6; --band-muted: #968B78; --shelf: #2B251E;
  --dot: rgba(239, 231, 214, 0.05);
  --shadow-1: 0 30px 60px -30px rgba(0, 0, 0, 0.9); --shadow-2: 0 40px 80px -30px rgba(0, 0, 0, 0.95);
  --f-display: "Fraunces", "Newsreader", Georgia, "Songti SC", serif;
  --r-lg: 4px; --r-md: 4px;
  color-scheme: dark;
}
[data-design="noir"] .theme-toggle { display: none; }
[data-design="noir"] body::after { content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.07; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); animation: grain 0.9s steps(4) infinite; }
@keyframes grain { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -4%); } 75% { transform: translate(-1%, 3%); } }
[data-design="noir"] .hero::before, [data-design="noir"] .hero::after { content: ""; position: absolute; left: 0; right: 0; z-index: 2; height: 6vh; background: #000; pointer-events: none; }
[data-design="noir"] .hero::before { top: 0; } [data-design="noir"] .hero::after { bottom: 0; }
[data-design="noir"] .hero { background: radial-gradient(120% 90% at 70% 10%, #1A1510, #0B0A09 60%); }
[data-design="noir"] .hero-title { font-weight: 300; font-variation-settings: "opsz" 144, "SOFT" 50; letter-spacing: -0.035em; }
[data-design="noir"] .hero-title em, [data-design="noir"] h2 em { font-style: italic; color: var(--accent); }
[data-design="noir"] .hero-title .agent { color: var(--ink); }
[data-design="noir"] h2 { font-weight: 300; font-variation-settings: "opsz" 144; letter-spacing: -0.03em; }
[data-design="noir"] .work-title, [data-design="noir"] .cv-what .cv-role { font-weight: 400; font-style: italic; }
[data-design="noir"] .kicker { font-family: var(--f-body); font-style: normal; text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.72rem; color: var(--accent); }
[data-design="noir"] .kicker-n { color: var(--muted); }
[data-design="noir"] .fact-v { font-weight: 300; color: var(--accent); }
[data-design="noir"] .work-card { background: linear-gradient(180deg, #181511, #110F0C); border-color: var(--line); }
[data-design="noir"] .work-card:hover { border-color: var(--accent-line); box-shadow: 0 0 60px -20px rgba(212, 168, 83, 0.25); }
[data-design="noir"] .work-visual { background: radial-gradient(400px 260px at 50% 30%, rgba(212, 168, 83, 0.08), transparent 70%), #0E0C0A; }
[data-design="noir"] .btn { border-radius: 0; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.8rem; }
[data-design="noir"] .btn-ink { background: var(--accent); color: #0B0A09; }
[data-design="noir"] .btn-ink:hover { background: #E8C27A; color: #0B0A09; }
[data-design="noir"] .btn-line { border-color: var(--accent-line); color: var(--accent); }
[data-design="noir"] .site-header.is-scrolled { background: rgba(11, 10, 9, 0.7); }
[data-design="noir"] .marquee-track li { font: italic 300 1.15rem/1 var(--f-display); color: var(--ink-2); }
[data-design="noir"] .marquee-track li::before { background: var(--accent); }
[data-design="noir"] .cursor-light { display: block; width: 520px; height: 520px; margin: -260px 0 0 -260px; background: radial-gradient(circle, rgba(212, 168, 83, 0.07), transparent 65%); }
[data-design="noir"] .scene, [data-design="noir"] .yt-thumb, [data-design="noir"] .shelf-books { filter: sepia(0.25) saturate(0.85); }
[data-design="noir"] .qr-tile, [data-design="noir"] .risk-stats > div { background: rgba(239, 231, 214, 0.04); }

@media (prefers-reduced-motion: reduce) {
  .marquee-track ul, [data-design="noir"] body::after { animation: none; }
  .stk, .risk-list li, .risk-draft, .stars i, .slots i { transition: none; }
}
