:root {
  color-scheme: dark;
  --bg: #0c1011;
  --bg-soft: #10161a;
  --panel: #141b1f;
  --panel-2: #192227;
  --ink: #eef3ee;
  --muted: #a3b0ab;
  --accent: #c3f46b;
  --accent-soft: rgba(195, 244, 107, .12);
  --line: #28333a;
  --on-accent: #0c1011;
  --accent-hover: #dcffa3;
  --glow: rgba(195, 244, 107, .14);
  --glow-bg: rgba(195, 244, 107, .09);
  --dot: rgba(255, 255, 255, .07);
  --placeholder: #7d8a85;
  --field-line: #3b4850;
  --radius: 16px;
  font-family: "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f8f5;
  --bg-soft: #edf1ec;
  --panel: #ffffff;
  --panel-2: #f1f4f0;
  --ink: #111816;
  --muted: #55625c;
  --accent: #3d7a0a;
  --accent-soft: rgba(61, 122, 10, .12);
  --line: #d6ddd6;
  --on-accent: #ffffff;
  --accent-hover: #2f6207;
  --glow: rgba(61, 122, 10, .13);
  --glow-bg: rgba(61, 122, 10, .07);
  --dot: rgba(17, 24, 22, .09);
  --placeholder: #6b7771;
  --field-line: #9aa89f;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); background-image: radial-gradient(900px 480px at 85% -80px, var(--glow-bg), transparent 70%); background-repeat: no-repeat; }
a { color: inherit; text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 6px; }
p { line-height: 1.7; }
::selection { background: var(--accent); color: var(--on-accent); }
.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; left: 20px; top: -100px; padding: 14px; z-index: 5; background: var(--accent); color: var(--on-accent); border-radius: 8px; }
.skip-link:focus { top: 12px; color: var(--on-accent); }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 96px; }
.wordmark { font-size: 26px; font-weight: 700; letter-spacing: -1.2px; white-space: nowrap; }
.wordmark > span:first-child { font-weight: 400; }
.brand-dot { color: var(--accent); }
nav { display: flex; align-items: center; gap: 30px; font-size: 15px; }
nav a { padding-block: 10px; color: var(--muted); }
nav a:hover { color: var(--ink); }
.nav-contact { color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; background: var(--panel); }
.nav-contact:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--panel); color: var(--ink); font: inherit; font-size: 18px; line-height: 1; cursor: pointer; }
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.hero { padding-top: 64px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px 64px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; font: 600 13px/1.6 "Segoe UI Variable", "Segoe UI", system-ui, sans-serif; letter-spacing: .02em; color: var(--accent); }
.tiny-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
h1, h2, h3 { margin: 0; font-weight: 650; }
h1 { font-size: clamp(44px, 5.6vw, 76px); line-height: 1.06; letter-spacing: -.045em; }
h1 > span { color: var(--accent); }
.hero-intro { max-width: 520px; margin: 28px 0 34px; font-size: 19px; color: var(--muted); }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 28px; background: var(--accent); color: var(--on-accent); padding: 16px 24px; border-radius: 999px; font-size: 15px; font-weight: 650; transition: background .15s ease, transform .15s ease; }
.button:hover { background: var(--accent-hover); color: var(--on-accent); transform: translateY(-1px); }
.button span { font-size: 20px; line-height: 1; }
.hero-art { margin: 0; border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 14px; background: radial-gradient(circle at 70% 10%, var(--glow), transparent 60%), var(--panel); }
.hero-art figcaption { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.demo-doc { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.demo-file { font-size: 14px; font-weight: 600; }
.demo-lines { display: grid; gap: 6px; flex: 1; }
.demo-lines i { display: block; height: 6px; border-radius: 3px; background: var(--line); }
.demo-lines i:nth-child(2) { width: 75%; }
.demo-lines i:nth-child(3) { width: 50%; }
.demo-arrow { align-self: center; color: var(--accent); font-size: 26px; line-height: 1; }
.demo-table { width: 100%; border-collapse: collapse; font-size: 14px; border: 1px solid var(--line); background: var(--bg); }
.demo-table th { text-align: left; padding: 10px 14px; font-size: 12px; font-weight: 650; color: var(--accent); border-bottom: 1px solid var(--line); }
.demo-table td { padding: 12px 14px; color: var(--muted); }
.hero-art .workflow-note { margin: 4px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.hero-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.hero-bottom a span { margin-left: 12px; color: var(--accent); }
.section { padding-block: 96px; }
h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.12; letter-spacing: -.035em; }
.topics { display: grid; grid-template-columns: .9fr 1.3fr; gap: 80px; }
.topics .section-heading { position: sticky; top: 24px; align-self: start; }
.section-heading > p:last-child { color: var(--muted); max-width: 340px; margin-top: 22px; font-size: 16px; }
.topic-list { display: grid; gap: 14px; }
.topic { display: grid; grid-template-columns: 36px 1fr; gap: 18px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); transition: border-color .2s ease, transform .2s ease; }
.topic:hover { border-color: var(--accent); }
.topic-number { font: 600 14px/1.9 Consolas, "Cascadia Mono", monospace; color: var(--accent); }
.topic h3 { font-size: 20px; line-height: 1.4; letter-spacing: -.01em; }
.topic p { margin: 10px 0 0; font-size: 15px; color: var(--muted); }
.project-section { background: var(--bg-soft); border-block: 1px solid var(--line); padding-block: 88px; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.project-copy > p:not(.eyebrow) { color: var(--muted); font-size: 16px; max-width: 480px; }
.project-copy h2 { margin-bottom: 24px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.project-tags span { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--ink); font-size: 13px; font-weight: 550; }
.workflow { margin: 0; padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); }
.workflow figcaption { margin-bottom: 28px; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.workflow ol { list-style: none; margin: 0; padding: 0; }
.workflow li { position: relative; display: flex; gap: 18px; padding-bottom: 30px; }
.workflow li:not(:last-child)::after { content: ""; position: absolute; width: 2px; left: 6px; top: 20px; bottom: 4px; background: var(--line); border-radius: 2px; }
.workflow li:last-child { padding-bottom: 0; }
.step-dot { width: 14px; height: 14px; margin-top: 4px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); flex: 0 0 auto; }
.step-label { display: block; color: var(--accent); font-size: 13px; font-weight: 600; line-height: 1.6; margin-bottom: 4px; }
.workflow strong { font-size: 16px; font-weight: 500; line-height: 1.5; }
.workflow-note { border-top: 1px solid var(--line); padding-top: 18px; margin: 26px 0 0; color: var(--muted); font-size: 13px; }
.about.section { padding-top: 56px; }
.about { display: grid; grid-template-columns: .9fr 1.3fr; gap: 80px; }
.about h2 { margin-bottom: 0; }
.about-text { padding-top: 40px; }
.about-text p:first-child { margin-top: 0; }
.about p:not(.eyebrow) { max-width: 640px; font-size: 18px; color: var(--muted); }
.contact { border-top: 1px solid var(--line); padding: 80px 0 96px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact h2 { font-size: clamp(32px, 4vw, 52px); }
.contact-intro > p:not(.eyebrow) { color: var(--muted); margin: 24px 0; font-size: 18px; }
.email-link { display: inline-flex; align-items: center; gap: 24px; font-size: clamp(18px, 2.2vw, 26px); color: var(--accent); border-bottom: 1px solid var(--accent); padding-bottom: 8px; letter-spacing: -.02em; }
.email-link:hover { color: var(--accent-hover); }
.contact-form[hidden] { display: none; }
.contact-form { min-width: 0; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); }
.contact-form label { display: block; font-size: 14px; font-weight: 500; color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form textarea { width: 100%; margin: 8px 0 18px; padding: 13px 14px; background: var(--bg); border: 1px solid var(--field-line); border-radius: 12px; color: var(--ink); font-family: inherit; font-size: 16px; line-height: 1.5; }
.contact-form textarea { resize: vertical; min-height: 150px; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-color: var(--accent); }
.contact-form textarea::placeholder { color: var(--placeholder); }
.contact-form .button { border: 0; cursor: pointer; font-family: inherit; }
.contact-form .button:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.contact-form .button:disabled { opacity: .7; cursor: default; transform: none; }
.form-note { font-size: 13px; color: var(--muted); margin: 0 0 20px; }
.form-status { font-size: 15px; color: var(--accent); line-height: 1.6; margin-bottom: 0; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.site-footer { border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 28px; }
.site-footer .wordmark { font-size: 21px; }
.site-footer > span, .site-footer > a:last-child { font-size: 13px; color: var(--muted); }
.more-projects { padding-top: 72px; padding-bottom: 56px; }
.more-heading { display: grid; grid-template-columns: .9fr 1.3fr; gap: 0 80px; margin-bottom: 36px; align-items: start; }
.more-heading > p { margin: 0; padding-top: 40px; color: var(--muted); font-size: 16px; max-width: 520px; }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); transition: border-color .2s ease, transform .2s ease; }
.card:hover { border-color: var(--accent); }
.card h3 { font-size: 19px; line-height: 1.4; letter-spacing: -.01em; }
.card p { margin: 0; font-size: 15px; color: var(--muted); }
.status { align-self: flex-start; padding: 4px 11px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-hover); font-size: 12px; font-weight: 650; }
.stack { margin-top: auto; padding-top: 6px; font-size: 13px; color: var(--muted); }
.approach { padding-block: 24px 88px; }
.approach-heading { margin-bottom: 28px; }
.approach-heading h2 { font-size: clamp(28px, 3vw, 40px); }
.approach-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0; margin: 0; }
.approach-steps li { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 26px; }
.approach-steps h3 { font-size: 19px; line-height: 1.4; margin-top: 8px; }
.approach-steps p { font-size: 15px; color: var(--muted); margin-bottom: 0; }
.form-note a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 64px); }
  .hero { gap: 40px; }
        .topics, .about { gap: 48px; }
  .more-heading { column-gap: 48px; }
  .project-grid { gap: 48px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { flex-wrap: wrap; min-height: 80px; padding-block: 18px; gap: 12px; }
  .wordmark { order: 1; }
  .theme-toggle { order: 2; margin-left: auto; }
  .site-header nav { order: 3; flex-basis: 100%; }
  .wordmark { font-size: 24px; }
  nav { flex-wrap: wrap; gap: 6px 16px; font-size: 14px; }
  .nav-contact { padding: 8px 14px; }
  .hero { grid-template-columns: 1fr; padding-top: 40px; gap: 34px; }
  h1 { font-size: clamp(40px, 10vw, 56px); }
  .hero-intro { font-size: 17px; margin-top: 22px; }
          .hero-bottom { align-items: flex-start; font-size: 13px; }
  .hero-bottom > span { max-width: 150px; }
  .hero-bottom a { text-align: right; }
  .hero-bottom a span { margin-left: 6px; }
  .section { padding-block: 60px; }
  .topics, .about, .project-grid { grid-template-columns: 1fr; gap: 28px; }
  .section-heading > p:last-child { max-width: 100%; }
  .eyebrow { margin-bottom: 18px; }
  .topic { grid-template-columns: 1fr; padding: 22px; gap: 6px; }
  .topic h3 { font-size: 18px; }
  .project-section { padding-block: 56px; }
  .project-copy > p:not(.eyebrow) { max-width: 100%; }
  .workflow { padding: 24px; }
  .about { gap: 0; }
  .about p:not(.eyebrow) { font-size: 16px; }
  .more-projects { padding-top: 56px; }
  .more-heading { display: block; }
  .more-heading > p { max-width: 100%; padding-top: 14px; }
  .about-text { padding-top: 14px; }
  .topics .section-heading { position: static; }
  .card-grid { grid-template-columns: 1fr; }
  .approach { padding-block: 8px 56px; }
  .approach-heading { display: block; margin-bottom: 24px; }
  .approach-steps { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; gap: 28px; padding-block: 56px 64px; }
  .contact h2 { font-size: clamp(34px, 9vw, 48px); }
  .contact-form { padding: 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .site-footer { flex-wrap: wrap; gap: 18px; }
  .site-footer > a:last-child { margin-left: auto; }
}
@media (max-width: 380px) {
  nav { gap: 6px 12px; }
  .nav-contact { border: 0; padding-inline: 0; background: none; }
  .wordmark { font-size: 22px; }
  h1 { font-size: 38px; }
  .button { gap: 18px; padding-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .topic, .card, .button, a { transition: none; }
}
