:root {
  color-scheme: dark;
  --bg: #10130f;
  --surface: #171b16;
  --surface-raised: #1d221c;
  --text: #f1f2e9;
  --muted: #a1a79a;
  --dim: #72796e;
  --line: rgba(228, 236, 216, .13);
  --acid: #c7f36b;
  --acid-dark: #9bc64c;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--acid); color: #151a10; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 99; padding: 12px 16px; transform: translateY(-150%); background: var(--acid); color: #11150d; }
.skip-link:focus { transform: translateY(0); }
.site-header { width: min(1280px, calc(100% - 96px)); height: 84px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); position: relative; z-index: 5; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(199,243,107,.65); color: var(--acid); font: 700 19px var(--mono); letter-spacing: -4px; padding-right: 4px; transform: rotate(-4deg); }
.brand-mark span { font-size: 23px; }
.brand-name { font: 700 11px var(--mono); letter-spacing: .12em; }
.brand-name span { color: var(--muted); font-weight: 400; }
.site-nav { display: flex; align-items: center; gap: 38px; color: #c2c6bc; font-size: 13px; }
.site-nav a { transition: color .2s ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--acid); }
.nav-contact { padding: 11px 15px; border: 1px solid var(--line); color: var(--text); }
.nav-contact span { margin-left: 8px; color: var(--acid); }
.menu-toggle { display: none; }
.section-shell { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }
.hero { min-height: 660px; height: min(780px, calc(100svh - 84px)); max-height: 800px; position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 30px; padding-top: 30px; padding-bottom: 46px; }
.hero::before { content: ""; position: absolute; z-index: -1; top: 6%; left: -8%; width: 62%; height: 92%; pointer-events: none; background: radial-gradient(ellipse, rgba(84,111,45,.11), transparent 66%); }
.eyebrow { display: flex; align-items: center; gap: 11px; color: var(--acid); font: 500 10px var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.eyebrow-line { width: 28px; height: 1px; background: var(--acid); }
.hero h1 { margin: 25px 0 20px; font-size: clamp(48px, 6vw, 79px); font-weight: 580; letter-spacing: -.072em; line-height: 1.01; }
.hero h1 span { color: var(--acid); }
.hero-hi { max-width: 485px; color: #b5bbb0; font-size: 15px; line-height: 1.9; }
.hero-hi strong { color: var(--text); font-weight: 650; }
.hero-actions { margin-top: 30px; display: flex; gap: 12px; align-items: center; }
.button { min-height: 48px; display: inline-flex; align-items: center; gap: 22px; justify-content: center; padding: 0 18px; font-size: 12px; font-weight: 650; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--acid); color: #11150d; }
.button-primary:hover { background: #d8ff89; }
.button-quiet { border: 1px solid var(--line); color: var(--text); }
.button-quiet span { color: var(--acid); }
.hero-socials { margin-top: 36px; display: flex; gap: 25px; color: #a8aea2; font: 11px var(--mono); }
.hero-socials a:hover { color: var(--acid); }
.hero-socials span { color: var(--acid); margin-left: 4px; }
.hero-art { height: min(510px, 70vw); min-height: 380px; position: relative; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid rgba(199,243,107,.14); border-radius: 50%; }
.orbit-one { width: 390px; height: 390px; }
.orbit-two { width: 480px; height: 480px; border-style: dashed; border-color: rgba(227,236,216,.09); }
.code-window { position: relative; z-index: 1; width: min(100%, 405px); border: 1px solid rgba(210,229,190,.2); background: rgba(20,25,19,.96); box-shadow: 0 25px 80px rgba(0,0,0,.3); transform: rotate(2deg); }
.window-top, .window-footer { min-height: 39px; display: flex; align-items: center; justify-content: space-between; padding: 0 15px; color: #818a7b; font: 9px var(--mono); letter-spacing: .08em; }
.window-top { border-bottom: 1px solid var(--line); }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 6px; height: 6px; display: block; border-radius: 50%; background: #5d6758; }
.window-dots i:first-child { background: var(--acid); }
.window-lock { color: var(--acid); font-size: 16px; }
.code-content { padding: 26px 20px 18px; color: #e0e4d8; font: 12px/2.1 var(--mono); }
.code-content p { margin: 0; }
.code-muted { display: inline-block; width: 26px; color: #576052; }
.code-purple { color: #c4a1f3; }
.code-green { color: var(--acid); }
.code-yellow { color: #e2d895; }
.code-prompt { padding-top: 14px; }
.code-prompt > span:first-child { color: var(--acid); }
.cursor { padding-left: 5px; color: var(--acid); animation: blink 1s steps(2, start) infinite; }
.window-footer { min-height: 35px; border-top: 1px solid var(--line); font-size: 8px; }
.window-footer span:first-child { color: #c3c8bb; }
.window-footer i { width: 6px; height: 6px; display: inline-block; margin-right: 7px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 10px rgba(199,243,107,.6); }
.hero-stamp { position: absolute; right: 0; bottom: 68px; width: 90px; height: 90px; display: flex; flex-direction: column; justify-content: center; align-items: center; border: 1px solid rgba(199,243,107,.65); border-radius: 50%; background: var(--bg); color: var(--acid); font: 9px/1.35 var(--mono); letter-spacing: .1em; transform: rotate(12deg); }
.hero-stamp strong { font-size: 10px; }
.hero-cross { position: absolute; color: var(--acid); font: 22px var(--mono); opacity: .75; }
.cross-one { top: 11%; left: 12%; }
.cross-two { right: 12%; top: 20%; }
.art-coordinate { position: absolute; left: 8%; bottom: 13%; color: #7b8277; font: 9px var(--mono); letter-spacing: .1em; }
.scroll-note { position: absolute; bottom: 0; left: 0; display: flex; align-items: center; gap: 10px; color: #838a7f; font: 9px var(--mono); letter-spacing: .09em; }
.scroll-note span { width: 32px; height: 1px; background: var(--acid); }
.about-section, .skills-section, .work-section, .contact-section { padding-top: 106px; padding-bottom: 108px; border-top: 1px solid var(--line); }
.section-kicker { display: flex; align-items: center; gap: 14px; color: #a4aa9f; font: 9px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.section-kicker > span:first-child { color: var(--acid); }
.kicker-rule { width: min(115px, 13vw); height: 1px; background: var(--line); }
.about-layout { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 11%; }
.section-title { margin: 0; font-size: clamp(38px, 5vw, 60px); font-weight: 530; line-height: 1.11; letter-spacing: -.06em; }
.section-title em { color: var(--acid); font-style: normal; }
.about-copy { max-width: 520px; }
.about-copy > p { margin: 0 0 18px; color: #b1b8ac; font-size: 14px; line-height: 1.95; }
.principle-row { margin-top: 30px; padding-top: 18px; display: flex; align-items: center; flex-wrap: wrap; column-gap: 10px; row-gap: 12px; border-top: 1px solid var(--line); color: #d3d8cd; font: 9px var(--mono); }
.principle-index { color: var(--acid); }
.principle-index:not(:first-child) { margin-left: 9px; }
.skills-section { background: linear-gradient(180deg, rgba(255,255,255,.013), transparent); }
.skills-heading, .work-heading { margin-top: 46px; margin-bottom: 46px; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.skills-heading > p, .work-heading > p { max-width: 300px; margin: 0 0 4px; color: #aab0a5; font-size: 13px; line-height: 1.8; }
.skills-list { border-top: 1px solid var(--line); }
.skill-row { min-height: 96px; display: grid; grid-template-columns: 55px minmax(200px, 1fr) minmax(220px, .8fr) 25px; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); transition: background .2s ease, padding .2s ease; }
.skill-row:hover { padding-inline: 11px; background: rgba(199,243,107,.035); }
.skill-number { color: var(--acid); font: 10px var(--mono); }
.skill-row h3 { margin: 0; font-size: 19px; font-weight: 520; letter-spacing: -.025em; }
.skill-row p { margin: 0; color: #9ca398; font-size: 12px; line-height: 1.6; }
.skill-arrow { color: #697265; font-size: 17px; transition: color .2s ease, transform .2s ease; }
.skill-row:hover .skill-arrow { color: var(--acid); transform: translate(2px, -2px); }
.work-section { background: #131611; }
.work-heading { align-items: end; }
.work-grid { display: grid; grid-template-columns: 1.08fr 1fr 1fr; gap: 14px; }
.work-card { min-width: 0; padding: 17px; border: 1px solid var(--line); background: #171b16; transition: border-color .25s ease, transform .25s ease; }
.work-card:hover { border-color: rgba(199,243,107,.48); transform: translateY(-4px); }
.card-top { display: flex; align-items: center; justify-content: space-between; color: #92998d; font: 8px var(--mono); letter-spacing: .12em; }
.card-index { color: var(--acid); font-size: 12px; }
.card-visual { height: 174px; margin: 17px 0 20px; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #20261d; }
.card-visual::before, .card-visual::after { content: ""; position: absolute; width: 210px; height: 210px; border: 1px solid rgba(199,243,107,.11); border-radius: 50%; }
.card-visual::after { width: 150px; height: 150px; }
.visual-web { gap: 9px; color: var(--acid); }
.visual-bracket { z-index: 1; font: 25px var(--mono); color: #96b65c; }
.visual-shield { z-index: 1; width: 66px; height: 76px; display: grid; place-items: center; border: 1px solid var(--acid); clip-path: polygon(50% 0, 93% 18%, 86% 70%, 50% 100%, 14% 70%, 7% 18%); font-size: 31px; }
.visual-label { position: absolute; z-index: 1; bottom: 12px; color: #aeb7a4; font: 7px var(--mono); letter-spacing: .16em; }
.visual-code { background: linear-gradient(135deg, #22261c, #1c241c); }
.visual-code-mark { z-index: 1; color: var(--acid); font: 58px var(--mono); letter-spacing: -.12em; }
.visual-notes { flex-direction: column; align-items: center; gap: 11px; background: linear-gradient(135deg, #242319, #1d2119); }
.note-line { z-index: 1; width: 42%; height: 1px; background: #a8be79; opacity: .72; }
.note-line.short { width: 27%; margin-left: -15%; }
.card-type { margin: 0 0 9px; color: var(--acid); font: 8px var(--mono); letter-spacing: .1em; }
.work-card h3 { margin: 0 0 9px; font-size: 18px; font-weight: 550; letter-spacing: -.03em; }
.work-card > p:last-child { min-height: 62px; margin: 0; color: #a4aba0; font-size: 11px; line-height: 1.75; }
.contact-section { padding-top: 90px; padding-bottom: 100px; background: radial-gradient(ellipse at 25% 80%, rgba(101,127,55,.08), transparent 52%); }
.contact-layout { margin-top: 50px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 9%; align-items: end; }
.contact-layout .eyebrow { margin-bottom: 20px; }
.contact-intro { max-width: 430px; margin: 21px 0 0; color: #a8afa3; font-size: 13px; line-height: 1.8; }
.contact-actions { border-top: 1px solid var(--line); }
.call-card { min-height: 88px; display: grid; grid-template-columns: 1fr auto; align-content: center; padding: 12px 5px; border-bottom: 1px solid var(--line); }
.call-label { grid-column: 1; color: #9ca497; font: 9px var(--mono); letter-spacing: .12em; }
.call-card strong { grid-column: 1; margin-top: 5px; color: var(--text); font-size: 22px; font-weight: 550; letter-spacing: .025em; }
.call-arrow { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--acid); font-size: 21px; }
.social-card { min-height: 54px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); color: #d8ddd2; font-size: 12px; transition: color .2s ease; }
.social-card span:last-child { color: var(--acid); }
.social-card:hover { color: var(--acid); }
.site-footer { min-height: 96px; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 30px; border-top: 1px solid var(--line); color: #8e9589; }
.footer-brand { color: var(--text); font: 700 15px var(--mono); letter-spacing: .08em; }
.footer-brand span { color: var(--acid); }
.site-footer p { margin: 0; font-size: 10px; }
.back-top { color: #c1c7bb; font: 9px var(--mono); }
.back-top:hover { color: var(--acid); }
.copyright { color: #777e73; font: 8px var(--mono); letter-spacing: .06em; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes blink { to { visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } .reveal { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .site-header, .section-shell { width: min(100% - 56px, 1160px); }
  .hero { min-height: 600px; grid-template-columns: 1.08fr .92fr; gap: 8px; }
  .hero h1 { font-size: clamp(43px, 6vw, 64px); }
  .hero-art { min-height: 350px; }
  .orbit-one { width: 300px; height: 300px; }
  .orbit-two { width: 370px; height: 370px; }
  .code-window { width: 350px; }
  .hero-stamp { right: -8px; bottom: 52px; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-card-feature { grid-column: span 2; }
  .work-card-feature .card-visual { height: 200px; }
  .work-card > p:last-child { min-height: auto; }
  .about-layout { gap: 6%; }
}
@media (max-width: 640px) {
  .site-header, .section-shell { width: calc(100% - 40px); }
  .site-header { height: 70px; }
  .brand-name { font-size: 10px; }
  .menu-toggle { width: 40px; height: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
  .menu-toggle span { width: 16px; height: 1px; background: var(--acid); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav { position: absolute; top: 69px; left: -20px; right: -20px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 18px; border-bottom: 1px solid var(--line); background: #131711; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .site-nav .nav-contact { margin-top: 10px; padding: 13px; border: 1px solid rgba(199,243,107,.3); }
  .hero { min-height: initial; height: auto; max-height: none; grid-template-columns: 1fr; gap: 0; padding-top: 71px; padding-bottom: 53px; }
  .hero h1 { margin: 22px 0 17px; font-size: clamp(44px, 11.5vw, 67px); }
  .hero-hi { font-size: 13px; line-height: 1.8; }
  .hero-actions { margin-top: 24px; }
  .button { min-height: 46px; }
  .hero-socials { margin-top: 24px; }
  .hero-art { height: 390px; min-height: 0; margin-top: 16px; }
  .orbit-one { width: 275px; height: 275px; }
  .orbit-two { width: 340px; height: 340px; }
  .code-window { width: min(100%, 350px); }
  .hero-stamp { width: 75px; height: 75px; right: -2px; bottom: 40px; font-size: 8px; }
  .hero-stamp strong { font-size: 9px; }
  .art-coordinate { left: 1%; bottom: 8%; }
  .scroll-note { bottom: 0; }
  .about-section, .skills-section, .work-section, .contact-section { padding-top: 72px; padding-bottom: 76px; }
  .section-kicker { gap: 9px; font-size: 8px; }
  .kicker-rule { width: 26px; }
  .about-layout { grid-template-columns: 1fr; gap: 26px; margin-top: 32px; }
  .section-title { font-size: clamp(38px, 10vw, 52px); }
  .about-copy > p { font-size: 13px; }
  .principle-row { gap: 9px; font-size: 8px; }
  .skills-heading, .work-heading { margin-top: 32px; margin-bottom: 28px; display: block; }
  .skills-heading > p, .work-heading > p { margin-top: 18px; font-size: 12px; }
  .skill-row { min-height: initial; padding: 17px 0; grid-template-columns: 30px 1fr 20px; gap: 10px; }
  .skill-number { align-self: start; padding-top: 3px; }
  .skill-row h3 { font-size: 16px; }
  .skill-row p { grid-column: 2; grid-row: 2; font-size: 11px; }
  .skill-arrow { grid-column: 3; grid-row: 1; }
  .work-grid { grid-template-columns: 1fr; gap: 12px; }
  .work-card-feature { grid-column: auto; }
  .work-card-feature .card-visual, .card-visual { height: 160px; }
  .work-card { padding: 15px; }
  .contact-layout { grid-template-columns: 1fr; gap: 28px; margin-top: 33px; }
  .contact-intro { font-size: 12px; }
  .site-footer { min-height: 124px; grid-template-columns: auto 1fr auto; gap: 12px; padding-top: 18px; padding-bottom: 18px; }
  .site-footer p { grid-column: 2 / 4; grid-row: 1; text-align: right; font-size: 9px; }
  .back-top { grid-column: 3; grid-row: 2; }
  .copyright { grid-column: 1 / 3; grid-row: 2; }
}
@media (max-width: 360px) {
  .site-header, .section-shell { width: calc(100% - 32px); }
  .site-nav { left: -16px; right: -16px; padding-inline: 16px; }
  .hero h1 { font-size: 42px; }
  .hero-art { height: 340px; }
  .orbit-one { width: 240px; height: 240px; }
  .orbit-two { width: 300px; height: 300px; }
  .code-content { padding-inline: 12px; font-size: 10px; }
}
