:root {
  color-scheme: dark;
  --paper: #181719;
  --ink: #eeeae4;
  --muted: #aaa5ad;
  --line: #3a363e;
  --night: #1d1b1f;
  --accent: #b7a7c9;
  --accent-hover: #ddd6e6;
  --accent-ink: #181719;
  --accent-cool: #c4b5d5;
  --panel: #242127;
  --panel-hover: #2d2931;
  --dark-muted: #aaa5ad;
  --width: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
::selection { color: var(--accent-ink); background: var(--accent); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--accent-cool); outline-offset: 6px; }
.projects a:focus-visible { outline-color: var(--accent); }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; width: 28px; height: 28px; fill: currentColor; flex-shrink: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.08; }
.wrap { width: min(var(--width), calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 10; padding: 12px 20px; background: var(--accent); color: var(--accent-ink); }
.skip-link:focus { top: 16px; }
.site-header { display: flex; align-items: center; gap: 48px; min-height: 100px; border-bottom: 1px solid var(--line); }
.brand { display: inline-block; flex-shrink: 0; font-size: 2.2rem; font-weight: 900; line-height: 1; letter-spacing: -.08em; text-decoration: none; }
.brand span { color: var(--accent); }
.site-header nav { display: flex; gap: 28px; align-items: center; }
.site-header nav a { font-size: .875rem; text-decoration: none; }
.site-header nav a:hover { color: var(--accent); text-decoration: underline; }
.header-note { margin-left: auto; color: var(--muted); font-family: Consolas, 'Courier New', monospace; font-size: .8125rem; }
.eyebrow { font-family: Consolas, 'Courier New', monospace; font-size: .875rem; line-height: 1.5; }
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 80px; padding-block: 72px 80px; align-items: center; }
.hero-name .eyebrow { margin-bottom: 5px; }
.hero-lockup { display: flex; align-items: center; gap: 24px; margin-top: 20px; }
.hero-portrait { width: 144px; height: 144px; flex-shrink: 0; border-radius: 12px; }
.hero h1 { color: var(--ink); font-size: clamp(5.25rem, 8.6vw, 9rem); font-weight: 900; letter-spacing: -.08em; line-height: .98; }
.hero h1 span { color: var(--accent); }
.hero-footnote { color: var(--muted); font-size: .875rem; max-width: 370px; margin-top: 24px; }
.hero-quick-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.hero-coffee { margin-top: 16px; }
.quick-social { display: inline-flex; gap: 9px; align-items: center; padding: 5px 12px 5px 5px; border: 1px solid var(--line); background: var(--social-surface, var(--panel)); font-size: .875rem; text-decoration: none; border-radius: 6px; }
.quick-social:hover { border-color: var(--social-color, var(--accent)); }
.quick-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 4px; background: var(--social-color); }
.quick-icon img { width: 20px; height: 20px; }
.profile-line { display: flex; gap: 15px; align-items: center; margin-bottom: 26px; }
.profile-line p { font-size: .875rem; line-height: 1.5; }
.hero-intro h2 { font-size: clamp(1.9rem, 3.3vw, 2.6rem); letter-spacing: -.045em; font-weight: 700; margin-bottom: 20px; }
.hero-intro > p { color: var(--muted); max-width: 390px; font-size: 1.0625rem; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 28px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 48px; padding: 10px 22px; text-decoration: none; font-size: .875rem; font-weight: 700; border: 1px solid transparent; transition: background .16s ease; }
.button-primary { color: var(--paper); background: var(--accent); }
.button-primary:hover { background: var(--accent-hover); }
.button-accent { color: #211b11; background: #efba4a; }
.button-accent:hover { background: #f6cf79; }
.button-coffee { color: var(--ink); background: #574524; border-color: #9d7b33; }
.button-coffee:hover { background: #6b552b; }
.button-outline { color: var(--ink); border-color: #7f748a; background: transparent; }
.button-outline:hover { border-color: var(--accent); background: var(--panel-hover); }
.text-link { font-size: .875rem; }
.projects { background: var(--night); color: var(--ink); padding-block: 64px 40px; border-block: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 44px; }
.section-heading .eyebrow { margin-bottom: 14px; color: var(--muted); }
.section-heading h2 { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -.045em; font-weight: 700; }
.section-heading h2 span { color: var(--accent); }
.section-heading > p { color: var(--muted); font-size: .875rem; line-height: 1.65; }
.projects .section-heading .eyebrow, .projects .section-heading > p { color: var(--dark-muted); }
.projects .section-heading h2 span { color: var(--accent); }
.featured-project { display: grid; grid-template-columns: .82fr 1.3fr; border: 1px solid #4f4533; border-top: 2px solid #b78a3b; }
.featured-copy { padding: 34px 36px 36px; background: #26221d; }
.project-label { font-family: Consolas, 'Courier New', monospace; font-size: .875rem; color: var(--dark-muted); }
.featured-copy h3 { margin-top: 25px; margin-bottom: 15px; }
.sou-logo { width: 200px; height: 64px; object-fit: cover; }
.project-fullname { margin-top: 7px; font-size: 1rem; font-weight: 700; }
.featured-copy > p:not(.project-fullname) { color: var(--dark-muted); margin-top: 19px; font-size: .9375rem; line-height: 1.7; }
.featured-copy > .project-aside { font-family: Consolas, 'Courier New', monospace; font-size: .8125rem; }
.featured-copy .button { margin-top: 26px; }
.project-preview { display: flex; flex-direction: column; align-self: stretch; justify-content: center; overflow: hidden; padding: 32px 24px; background: var(--panel); text-decoration: none; }
.preview-bar { display: flex; justify-content: space-between; gap: 18px; padding: 10px 14px; background: var(--paper); color: var(--ink); font-family: Consolas, 'Courier New', monospace; font-size: .8125rem; }
.preview-caption { color: var(--muted); white-space: nowrap; }
.project-preview img { width: 100%; border: 1px solid var(--line); border-top: 0; }
.project-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.project-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 16px 20px; padding: 24px 20px; border: 1px solid var(--line); border-left: 3px solid var(--accent); background: var(--panel); }
.project-nyxia { border-left-color: #dc696d; background: #2a2023; }
.project-code { background: #242129; }
.project-row h3 { font-size: 1.5rem; margin-top: 7px; letter-spacing: -.035em; }
.project-row > p { grid-column: 2 / -1; grid-row: 2; font-size: .9375rem; color: var(--dark-muted); }
.project-mark { display: grid; place-items: center; width: 64px; height: 64px; background: var(--panel); }
.nyxia-mark { background: #3b252b; }
.nyxia-mark img { width: 34px; height: 38px; object-fit: contain; }
.code-mark { background: #34303a; }
.code-mark img { width: 32px; height: 32px; }
.project-link { grid-column: 3; grid-row: 1; font-size: .875rem; white-space: nowrap; padding: 10px 0; }
.project-link:hover { color: var(--accent); }
.project-extras { display: flex; gap: 30px; justify-content: space-between; padding-top: 30px; font-size: .875rem; }
.project-extras > span { color: var(--dark-muted); }
.project-extras > div { display: flex; gap: 22px; flex-wrap: wrap; }
.project-extras a { color: var(--ink); }
.project-extras a:hover { color: var(--accent); }
.socials { padding-block: 72px 76px; }
.platform-twitch { --social-color: #9146ff; --social-surface: #2b2337; --social-border: #715092; }
.platform-youtube { --social-color: #d12626; --social-surface: #302223; --social-border: #954b4b; }
.platform-tiktok { --social-color: #151517; --social-surface: #23252a; --social-border: #62656e; }
.platform-instagram { --social-color: #a94679; --social-surface: #30242e; --social-border: #85556f; }
.platform-x { --social-color: #141416; --social-surface: #252427; --social-border: #67636c; }
.platform-steam { --social-color: #26364a; --social-surface: #232831; --social-border: #56667e; }
.platform-github { --social-color: #343039; --social-surface: #28252d; --social-border: #776781; }
.platform-discord { --social-color: #5865f2; --social-surface: #25263b; --social-border: #666eb5; }
.social-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.social-link { display: flex; align-items: center; gap: 18px; min-height: 108px; padding: 22px; border: 1px solid var(--line); border-top: 2px solid var(--social-border); border-radius: 8px; background: var(--social-surface, var(--panel)); text-decoration: none; transition: border-color .16s ease; }
.social-link:hover { border-color: var(--social-border); }
.social-icon { display: grid; place-items: center; width: 52px; height: 52px; flex-shrink: 0; border-radius: 10px; background: var(--social-color); }
.social-icon img { width: 30px; height: 30px; }
.social-identity { display: flex; flex-direction: column; line-height: 1.6; min-width: 0; }
.social-link strong { font-size: 1.125rem; letter-spacing: -.025em; }
.social-identity > span { color: var(--muted); font-family: Consolas, 'Courier New', monospace; font-size: .875rem; }
.social-note { margin-left: auto; font-size: .875rem; color: var(--muted); text-align: right; }
.contact { background: #2b2532; padding-block: 55px 60px; border-top: 1px solid #665571; }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.contact .eyebrow { margin-bottom: 14px; }
.contact h2 { font-size: clamp(2.25rem, 3.6vw, 3rem); letter-spacing: -.045em; }
.contact h2 span { color: var(--accent); }
.contact-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 20px; }
.contact-mail { color: var(--ink); font-size: clamp(1.4rem, 3vw, 2.5rem); letter-spacing: -.045em; text-decoration-thickness: 2px; text-underline-offset: 9px; }
.contact-mail:hover { text-decoration-thickness: 3px; }
.site-footer { display: flex; align-items: center; gap: 32px; padding-block: 34px; border-top: 1px solid var(--line); }
.site-footer .brand { font-size: 1.75rem; }
.footer-note { color: var(--muted); font-size: .8125rem; }
.footer-meta { margin-left: auto; display: flex; gap: 24px; font-size: .8125rem; }
.footer-meta a { color: var(--muted); }
.legal { padding-block: 70px 90px; min-height: 65vh; }
.legal h1 { font-size: clamp(2.75rem, 7vw, 5rem); letter-spacing: -.06em; margin-block: 18px 40px; overflow-wrap: anywhere; }
.legal-copy { max-width: 720px; }
.legal-copy h2 { font-size: 1.5rem; margin-block: 35px 14px; letter-spacing: -.025em; }
.legal-copy p, .legal-copy ul, .legal-copy address { margin-bottom: 18px; color: var(--muted); }
.legal-copy a, .legal-back { color: var(--accent-cool); }
.legal-copy address { font-style: normal; }
.legal-back { display: inline-block; margin-top: 30px; }
@media (min-width: 1600px) { .hero { padding-block: 88px 96px; } }
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  .header-note { display: none; }
  .site-header nav { margin-left: auto; }
  .hero { gap: 45px; padding-block: 64px 72px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .hero-lockup { gap: 18px; }
  .hero-portrait { width: 112px; height: 112px; }
  .hero-intro h2 { font-size: 2.25rem; }
  .featured-copy { padding: 30px; }
  .featured-project { grid-template-columns: 1fr 1.15fr; }
  .project-preview { padding-inline: 18px; }
  .preview-caption { display: none; }
  .project-rows { grid-template-columns: 1fr; }
  .project-extras { flex-direction: column; gap: 14px; }
  .social-grid { gap: 16px; }
  .social-note { display: none; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 20px; }
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 80px; gap: 20px; }
  .brand { font-size: 2rem; }
  .site-header nav { gap: 20px; }
  .site-header nav a { font-size: .875rem; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 36px 48px; }
  .hero h1 { font-size: 5.25rem; line-height: 1; }
  .hero-portrait { width: 100px; height: 100px; }
  .hero-quick-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 360px; }
  .quick-social { flex-direction: column; justify-content: center; gap: 7px; padding: 10px 6px; }
  .hero-name .eyebrow { margin-bottom: 0; }
  .hero-footnote { margin-top: 12px; max-width: none; }
  .hero-intro { display: block; }
  .profile-line { margin-bottom: 14px; }
  .profile-line p br { display: none; }
  .profile-line p strong::before { content: " "; white-space: pre; }
  .hero-intro h2 { font-size: 2rem; margin-bottom: 18px; }
  .hero-intro > p { max-width: 500px; font-size: 1rem; }
  .hero-actions { margin-top: 24px; }
  .section-heading { align-items: flex-start; margin-bottom: 30px; gap: 16px; }
  .section-heading > p { display: none; }
  .section-heading .eyebrow { font-size: .8125rem; margin-bottom: 12px; }
  .section-heading h2 { font-size: 2.125rem; }
  .projects { padding-block: 48px 32px; }
  .featured-project { grid-template-columns: 1fr; }
  .featured-copy { padding: 26px; }
  .featured-copy h3 { margin-top: 18px; }
  .featured-copy > p:not(.project-fullname) { max-width: 480px; }
  .project-preview { padding: 20px; }
  .preview-caption { display: none; }
  .project-row { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 16px; padding: 20px 16px; }
  .project-mark { width: 52px; height: 56px; }
  .project-row-heading .project-label { font-size: .875rem; }
  .project-row h3 { font-size: 1.25rem; }
  .project-row > p { grid-column: 2 / 4; grid-row: 2; font-size: .875rem; }
  .project-row > p br { display: none; }
  .project-link { grid-column: 3; grid-row: 1; font-size: .8125rem; padding-left: 0; }
  .project-extras > div { gap: 12px 22px; }
  .socials { padding-block: 52px 54px; }
  .social-grid { grid-template-columns: 1fr; gap: 12px; }
  .social-link { gap: 16px; padding: 18px; min-height: 92px; }
  .social-icon { width: 48px; height: 48px; }
  .social-link strong { font-size: 1.125rem; }
  .contact { padding-block: 36px 42px; }
  .contact-inner { flex-direction: column; align-items: flex-start; gap: 26px; }
  .contact-actions { align-items: flex-start; }
  .contact .eyebrow { font-size: .8125rem; }
  .contact h2 { font-size: 2.3rem; }
  .contact-mail { font-size: 1.75rem; }
  .site-footer { flex-wrap: wrap; column-gap: 24px; row-gap: 20px; padding-block: 28px; }
  .footer-note { order: 3; width: 100%; }
  .footer-meta { gap: 20px; }
  .legal { padding-block: 45px 65px; }
}
@media (max-width: 360px) {
  .site-header nav { gap: 14px; }
  .hero-intro h2 { font-size: 1.8rem; }
  .hero-lockup { gap: 14px; }
  .hero-portrait { width: 80px; height: 80px; }
  .hero h1 { font-size: 5rem; }
  .social-grid { grid-template-columns: 1fr; }
  .project-row { gap: 12px; grid-template-columns: 42px 1fr auto; }
  .project-mark { width: 42px; }
  .preview-caption { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
