:root {
  color-scheme: dark;
  --bg: #080a08;
  --surface: #0c100d;
  --surface-raised: #111612;
  --ink: #edf2eb;
  --muted: #8d978d;
  --line: #252d26;
  --accent: #c1ff4a;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --sans: "Space Grotesk", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image: linear-gradient(#ffffff08 1px, transparent 1px), linear-gradient(90deg, #ffffff08 1px, transparent 1px);
  background-size: 64px 64px;
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.page-shell { max-width: 1440px; margin: 0 auto; overflow: hidden; background: #080a08f2; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  min-height: 76px;
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: #080a08ed;
  backdrop-filter: blur(14px);
}
.wordmark { display: inline-flex; gap: 11px; align-items: center; font-size: 15px; font-weight: 700; letter-spacing: -.04em; }
.wordmark-mark { width: 35px; height: 35px; display: grid; place-items: center; background: var(--accent); color: #080a08; font-size: 15px; font-weight: 700; letter-spacing: -.1em; }
.site-nav { display: flex; align-items: center; gap: 32px; font: 500 10px var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.site-nav a:not(.nav-cta) { color: var(--muted); transition: color .18s ease; }
.site-nav a:not(.nav-cta):hover, .text-link:hover { color: var(--accent); }
.nav-cta { padding: 12px 15px; background: var(--accent); color: #080a08; transition: background .18s ease; }
.nav-cta:hover, .button-primary:hover { background: #d3ff83; }
.nav-cta span { padding-left: 9px; }
.menu-toggle { display: none; }
.hero { position: relative; min-height: 620px; padding: 135px 9% 62px; display: flex; flex-direction: column; justify-content: center; border-bottom: 1px solid var(--line); }
.hero-copy { max-width: 900px; }
.eyebrow { margin: 0 0 25px; color: var(--muted); font: 10px var(--mono); letter-spacing: .11em; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 13px #c1ff4a70; vertical-align: 1px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--sans); }
h1 { max-width: 900px; margin-bottom: 25px; font-size: clamp(58px, 9.5vw, 112px); font-weight: 600; letter-spacing: -.085em; line-height: .96; }
.text-accent { color: var(--accent); }
.hero-intro { max-width: 560px; margin-bottom: 30px; color: #a7b0a7; font-size: 15px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 25px; }
.button { min-height: 47px; padding: 0 17px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; font-size: 11px; font-weight: 700; transition: background .18s ease, transform .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #080a08; }
.text-link { color: #bdc5bd; font-size: 11px; font-weight: 600; transition: color .18s ease; }
.text-link span { padding-left: 6px; }
.hero-meta { position: absolute; right: 9%; bottom: 0; left: 9%; min-height: 53px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); color: #879087; font: 9px var(--mono); letter-spacing: .06em; }
.hero-meta a { color: var(--accent); }
.section-pad { padding-right: 9%; padding-left: 9%; }
.work-section { padding-top: 105px; padding-bottom: 110px; background: #0a0d0a; }
.section-heading { margin-bottom: 47px; display: flex; align-items: end; justify-content: space-between; gap: 35px; }
.section-heading .eyebrow, .skills-heading .eyebrow, .approach-top .eyebrow { margin-bottom: 17px; }
h2 { margin-bottom: 0; font-size: clamp(42px, 5.3vw, 68px); font-weight: 600; letter-spacing: -.075em; line-height: 1.02; }
.muted-heading { color: #7d877d; }
.section-intro { max-width: 310px; margin-bottom: 3px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.project-card { min-width: 0; padding: 13px; border: 1px solid var(--line); background: var(--surface); }
.project-main { grid-column: span 2; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 25px; }
.project-visual { position: relative; min-height: 226px; display: grid; place-items: center; overflow: hidden; border: 1px solid #202921; background: #101510; }
.visual-web { min-height: 300px; }
.visual-ai, .visual-pay { min-height: 226px; }
.visual-index { position: absolute; bottom: 13px; left: 15px; color: #849084; font: 8px var(--mono); letter-spacing: .08em; }
.browser-frame { position: relative; width: 68%; height: 205px; overflow: hidden; border: 1px solid #313d32; background: #0b0f0c; box-shadow: 0 12px 35px #0008; }
.browser-top { height: 24px; padding: 0 9px; display: flex; gap: 5px; align-items: center; border-bottom: 1px solid #293229; color: #899389; font: 7px var(--mono); }
.browser-top i { width: 5px; height: 5px; border-radius: 50%; background: #687368; }
.browser-top span { margin-left: auto; }
.browser-content { position: relative; height: calc(100% - 24px); padding: 27px 19px; overflow: hidden; background: linear-gradient(110deg, #101710 56%, #182318 56%); }
.mock-kicker { display: block; color: var(--accent); font: 7px var(--mono); letter-spacing: .1em; }
.mock-title { position: relative; z-index: 1; display: block; margin-top: 12px; font: 600 22px/1.1 var(--sans); letter-spacing: -.06em; }
.mock-button { position: relative; z-index: 1; display: inline-flex; margin-top: 14px; padding: 7px 8px; gap: 10px; background: var(--accent); color: #101510; font: 7px var(--mono); }
.mock-shape { position: absolute; border-radius: 50%; opacity: .7; }
.shape-one { right: -24px; bottom: -50px; width: 145px; height: 145px; background: #536e38; }
.shape-two { right: 9px; bottom: -27px; width: 94px; height: 120px; border-radius: 52% 52% 0 0; background: #9a7b43; transform: rotate(25deg); }
.project-info { padding: 4px 2px 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.project-type { margin-bottom: 9px; color: #9aa59a; font: 9px var(--mono); letter-spacing: .08em; }
.project-info h3 { margin-bottom: 8px; font-size: 21px; font-weight: 600; letter-spacing: -.05em; }
.project-description { max-width: 400px; margin-bottom: 0; color: #9aa39a; font-size: 11px; line-height: 1.75; }
.project-links { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px 15px; }
.project-links a { color: var(--accent); font: 9px var(--mono); }
.project-links a:hover { color: #e1ffb1; }
.project-links a span { padding-left: 4px; }
.project-stack { margin: 13px 0 0; color: #8d978d; font: 8px/1.8 var(--mono); letter-spacing: .01em; }
.project-stack span { padding-right: 7px; color: var(--accent); }
.project-arrow { width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--line); color: var(--accent); font-size: 13px; }
.ai-window { width: 76%; min-height: 150px; padding: 16px; border: 1px solid #344034; background: #0c110d; }
.ai-window-head { display: flex; gap: 8px; align-items: center; color: #cdd5cc; font: 8px var(--mono); }
.ai-mark { color: var(--accent); }
.ai-status { margin-left: auto; color: #a5b993; font-size: 7px; }
.ai-message { margin: 23px 0 15px; color: #c2cbc1; font-size: 10px; }
.ai-prompt { padding: 9px; display: flex; justify-content: space-between; border: 1px solid #283228; color: #889388; font-size: 8px; }
.ai-prompt span { color: var(--accent); }
.payment-card { width: 70%; min-height: 142px; padding: 17px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid #384434; background: #131a13; color: var(--ink); }
.pay-top, .pay-bottom { display: flex; align-items: center; justify-content: space-between; font: 8px var(--mono); letter-spacing: .05em; }
.pay-chip { color: var(--accent); }
.pay-amount { font-size: 25px; font-weight: 600; letter-spacing: -.04em; }
.pay-amount span { color: #879187; font-size: 13px; }
.pay-bottom { color: #9aa39a; font-size: 7px; }
.pay-check { color: var(--accent); }
.work-note { margin: 25px 0 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.work-note span { padding-right: 7px; color: var(--accent); }
.skills-section { padding-top: 99px; padding-bottom: 104px; }
.skills-heading { margin-bottom: 38px; display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.skills-groups { border-top: 1px solid var(--line); }
.skill-group { padding: 21px 0; display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 24px; border-bottom: 1px solid var(--line); }
.skill-group h3 { margin: 4px 0 0; color: #8d978d; font: 9px var(--mono); letter-spacing: .08em; }
.skill-tags { margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.skill-tags li { padding: 8px 10px; border: 1px solid #293229; background: #0d110d; color: #d3dbd2; font-size: 10px; }
.skill-tags li:hover { border-color: #698f36; color: var(--accent); }
.approach-section { padding-top: 87px; padding-bottom: 92px; border-top: 1px solid var(--line); background: #0a0d0a; }
.approach-content { display: grid; grid-template-columns: 1.1fr .9fr; gap: 9%; align-items: end; }
.approach-content h2 { font-size: clamp(42px, 5.2vw, 66px); }
.approach-copy p { margin-bottom: 17px; color: #9aa39a; font-size: 13px; line-height: 1.85; }
.principles { margin-top: 51px; padding-top: 19px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.principles div { padding: 0 18px; border-left: 1px solid var(--line); }
.principles div:first-child { padding-left: 0; border-left: 0; }
.principles span { display: block; margin-bottom: 14px; color: var(--accent); font: 9px var(--mono); }
.principles strong { font-size: 12px; font-weight: 500; }
.contact-section { margin: 0 9% 80px; padding: 45px; display: flex; align-items: end; justify-content: space-between; gap: 32px; border: 1px solid var(--line); background: var(--surface); }
.contact-section .eyebrow { margin-bottom: 17px; }
.contact-section h2 { margin-bottom: 14px; font-size: clamp(40px, 5vw, 60px); }
.contact-copy > p:not(.eyebrow) { margin-bottom: 22px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.site-footer { min-height: 76px; padding: 0 6%; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); color: #879087; font: 9px var(--mono); letter-spacing: .05em; }
.footer-wordmark { color: var(--ink); font-family: var(--sans); font-size: 13px; }
.footer-wordmark .wordmark-mark { width: 29px; height: 29px; font-size: 12px; }
.site-footer > a:not(.wordmark) { color: #b7c0b7; }
.footer-year { color: #788278; }

@media (max-width: 850px) {
  .site-header { padding: 0 5%; }
  .hero { padding-right: 7%; padding-left: 7%; }
  .hero-meta { right: 7%; left: 7%; }
  .section-pad { padding-right: 7%; padding-left: 7%; }
  .project-main { gap: 18px; }
  .project-visual { min-height: 210px; }
  .visual-web { min-height: 270px; }
  .project-info h3 { font-size: 19px; }
  .skill-group { grid-template-columns: 155px minmax(0, 1fr); }
  .contact-section { margin-right: 7%; margin-left: 7%; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 68px; }
  .site-header { min-height: 66px; padding: 0 6%; }
  .wordmark { font-size: 14px; }
  .wordmark-mark { width: 32px; height: 32px; }
  .menu-toggle { width: 38px; height: 38px; padding: 10px 8px; display: flex; flex-direction: column; justify-content: center; gap: 5px; border: 1px solid var(--line); background: transparent; }
  .menu-toggle span { width: 100%; height: 1px; background: var(--ink); transition: transform .18s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .site-nav { position: absolute; top: 65px; right: 0; left: 0; padding: 21px 6% 24px; display: none; align-items: stretch; gap: 19px; border-bottom: 1px solid var(--line); background: var(--bg); }
  .site-nav.is-open { display: flex; flex-direction: column; }
  .nav-cta { align-self: flex-start; }
  .hero { min-height: 600px; padding: 90px 6% 80px; }
  .eyebrow { margin-bottom: 19px; font-size: 9px; }
  h1 { font-size: clamp(52px, 13vw, 76px); }
  .hero-intro { font-size: 13px; }
  .hero-actions { gap: 18px; }
  .hero-meta { right: 6%; left: 6%; min-height: 53px; flex-wrap: wrap; justify-content: flex-start; gap: 6px 13px; padding: 9px 0; font-size: 8px; }
  .hero-meta span:nth-child(2) { display: none; }
  .hero-meta a { margin-left: auto; }
  .section-pad { padding-right: 6%; padding-left: 6%; }
  .work-section { padding-top: 76px; padding-bottom: 80px; }
  .section-heading, .skills-heading { display: block; margin-bottom: 30px; }
  h2 { font-size: clamp(40px, 10vw, 57px); }
  .section-intro { margin-top: 16px; font-size: 11px; }
  .project-grid { grid-template-columns: 1fr; gap: 17px; }
  .project-main { grid-column: auto; display: block; }
  .project-visual, .visual-web, .visual-ai, .visual-pay { min-height: 215px; }
  .browser-frame { width: 75%; height: 175px; }
  .mock-title { font-size: 19px; }
  .project-info { padding: 16px 2px 3px; }
  .project-info h3 { font-size: 20px; }
  .project-description { font-size: 11px; }
  .work-note { margin-top: 20px; }
  .skills-section { padding-top: 77px; padding-bottom: 80px; }
  .skill-group { padding: 18px 0; display: block; }
  .skill-group h3 { margin: 0 0 13px; }
  .skill-tags { gap: 7px; }
  .skill-tags li { padding: 7px 8px; font-size: 9px; }
  .approach-section { padding-top: 72px; padding-bottom: 76px; }
  .approach-content { display: block; }
  .approach-copy { margin-top: 20px; }
  .approach-copy p { font-size: 12px; }
  .principles { margin-top: 34px; grid-template-columns: 1fr; gap: 15px; }
  .principles div, .principles div:first-child { padding: 0 0 14px; border: 0; border-bottom: 1px solid var(--line); }
  .principles span { display: inline-block; width: 33px; margin-bottom: 0; }
  .contact-section { margin: 0 6% 55px; padding: 28px 22px; display: block; }
  .contact-section h2 { font-size: clamp(39px, 10vw, 55px); }
  .site-footer { min-height: 82px; padding: 14px 6%; flex-wrap: wrap; }
  .site-footer > span:nth-child(2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
