:root {
  color-scheme: light;
  --paper: #f7f8f4;
  --ink: #20241f;
  --muted: #777c73;
  --line: #e4e7df;
  --green: #b6ed67;
  --dark-green: #466c27;
  --mono: "DM Mono", monospace;
  --sans: "DM Sans", sans-serif;
  --display: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.shell { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 20; top: 12px; left: 12px; padding: 10px 14px; transform: translateY(-160%); background: var(--ink); color: white; }
.skip-link:focus { transform: translateY(0); }

.site-header { height: 78px; border-bottom: 1px solid rgba(32,36,31,.07); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--paper); background: var(--ink); font: 700 18px var(--display); }
.brand-mark span, .brand-dot { color: #a4df56; }
.brand-name { font: 700 14px var(--display); letter-spacing: -.5px; }
.nav-links { display: flex; align-items: center; gap: 39px; font-size: 13px; font-weight: 600; }
.nav-links > a:not(.nav-contact) { color: #555a52; transition: color .2s; }
.nav-links > a:hover { color: var(--dark-green); }
.nav-contact { padding: 11px 17px; border: 1px solid #d8dbd2; border-radius: 4px; }
.nav-contact span { margin-left: 9px; }
.menu-toggle { display: none; }

.hero { position: relative; min-height: 640px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; padding-top: 10px; }
.hero-copy { padding: 22px 0 45px; }
.eyebrow, .section-label, .project-index, .contact-kicker, .art-caption, .scroll-cue { font: 500 10px var(--mono); letter-spacing: 1px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 27px; color: #62685f; }
.status-dot, .footer-dot { width: 7px; height: 7px; border-radius: 100%; background: #8fc944; box-shadow: 0 0 0 4px #e8f2dc; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin: 0; font: 700 clamp(48px, 6.2vw, 76px)/1.1 var(--display); letter-spacing: -5.3px; }
.hero-title { margin: 13px 0 0; color: #617450; font: 600 17px var(--display); letter-spacing: -.3px; }
.accent-word { color: #929c89; }
.period { color: #91c94b; }
.hero-description { max-width: 430px; margin: 17px 0 25px; color: #6d7269; font-size: 14px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; }
.button { display: inline-flex; align-items: center; gap: 22px; padding: 14px 18px; border-radius: 3px; font-size: 12px; font-weight: 600; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-dark { color: white; background: var(--ink); }
.button-dark:hover { background: #374333; }
.button-dark span { color: var(--green); font-size: 16px; }
.button-resume { gap: 11px; border: 1px solid #d8dbd2; }
.button-resume span { color: #668349; font-size: 15px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; }
.text-link span { font-size: 15px; }
.hero-note { display: flex; align-items: center; gap: 12px; margin-top: 67px; color: #92978e; font-size: 11px; }
.note-line { width: 27px; height: 1px; background: #b4b9ad; }
.hero-art { position: relative; display: grid; min-height: 440px; place-items: center; overflow: hidden; }
.art-orbit { position: absolute; border: 1px solid #e5e9de; border-radius: 50%; }
.orbit-one { width: 382px; height: 382px; }
.orbit-two { width: 474px; height: 474px; }
.code-window { position: relative; z-index: 1; width: min(390px, 88%); padding: 0 0 14px; border: 1px solid #384036; border-radius: 8px; color: #e7eadf; background: #20261f; box-shadow: 0 25px 65px rgba(35,43,30,.19); transform: rotate(-3deg); }
.window-top { height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 0 15px; border-bottom: 1px solid #343b33; color: #a0a69c; font: 10px var(--mono); }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #74806d; }
.window-dots i:first-child { background: #de8a72; }.window-dots i:nth-child(2) { background: #dfc975; }.window-dots i:nth-child(3) { background: #9acb73; }
.window-menu { letter-spacing: 2px; }
.code-content { padding: 19px 14px 12px; font: 11px/2.3 var(--mono); }
.code-content p { margin: 0; white-space: nowrap; }
.code-muted { display: inline-block; width: 25px; color: #687165; }
.code-purple { color: #d5a1ec; }.code-blue { color: #92c9f0; }.code-green { color: #b8d98c; }.code-comment { color: #75806e; }.code-spacer { height: 13px; }
.window-footer { display: flex; align-items: center; gap: 8px; padding: 11px 15px 0; border-top: 1px solid #343b33; color: #8d9688; font: 9px var(--mono); }
.footer-dot { width: 6px; height: 6px; box-shadow: none; }.footer-cursor { margin-left: auto; color: var(--green); }
.art-spark { position: absolute; color: #9bcf5b; }.spark-one { top: 74px; right: 62px; font-size: 31px; }.spark-two { bottom: 70px; left: 54px; color: #d7a78c; font-size: 23px; }
.art-sticker { position: absolute; z-index: 2; right: 6px; bottom: 95px; display: grid; place-items: center; gap: 1px; width: 72px; height: 72px; border-radius: 50%; color: #f7f8f4; background: #829a69; font: 8px var(--mono); letter-spacing: 1px; transform: rotate(11deg); }
.sticker-plus { color: var(--green); font-size: 17px; line-height: .9; }
.art-caption { position: absolute; right: 20px; top: 62px; color: #92978e; font-size: 8px; }
.caption-star { margin-right: 5px; color: #94c750; font-size: 14px; vertical-align: -1px; }
.scroll-cue { position: absolute; bottom: 0; left: 0; display: flex; align-items: center; gap: 12px; color: #858a81; font-size: 8px; }
.scroll-line { width: 1px; height: 37px; background: #b7bcb2; }

.section { padding-top: 117px; padding-bottom: 116px; }
.section-label { display: flex; align-items: center; gap: 14px; color: #72786e; font-size: 9px; }
.section-label span { color: #a2c276; }
.about { border-top: 1px solid var(--line); }
.about-content { display: grid; grid-template-columns: 1fr .7fr; gap: 70px; margin: 42px 0 65px; }
.about h2, .work-heading h2, .skills h2, .contact h2 { margin: 0; font: 600 clamp(34px, 4vw, 49px)/1.2 var(--display); letter-spacing: -2.8px; }
.about h2 span, .work-heading h2 span, .skills h2 span { color: #9aa492; }
.about-body { padding-top: 6px; }
.about-body p, .contact-aside > p { margin-bottom: 16px; color: #6d7269; font-size: 13px; line-height: 1.9; }
.about-link { margin-top: 10px; }
.role-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 7px; }
.role-list span { padding: 7px 11px; border: 1px solid #dce1d4; border-radius: 20px; color: #526543; background: #f1f4ec; font-size: 10px; font-weight: 600; }
.values-row { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.value-item { display: flex; align-items: center; gap: 16px; padding: 21px 12px 0 0; font-size: 12px; font-weight: 600; }
.value-number { color: #a1c873; font: 10px var(--mono); }

.education { border-top: 1px solid var(--line); }
.education-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 38px 0 30px; }
.education-heading h2 { margin: 0; font: 600 clamp(34px, 4vw, 46px)/1.2 var(--display); letter-spacing: -2.6px; }
.education-heading h2 span { color: #9aa492; }
.education-heading p { max-width: 300px; margin: 0 0 4px; color: #777d73; font-size: 12px; line-height: 1.8; }
.education-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.credential-card { min-height: 190px; padding: 22px; border: 1px solid #e3e7df; border-radius: 5px; background: #fbfcf9; box-shadow: 0 6px 20px rgba(34,43,30,.035); }
.credential-top { display: flex; align-items: center; gap: 10px; margin-bottom: 21px; }
.credential-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 4px; color: #526943; background: #edf3e7; font: 10px var(--mono); }
.training-icon { color: #716247; background: #f3efe4; }
.credential-type { color: #858d7e; font: 9px var(--mono); letter-spacing: .8px; }
.credential-card h3 { margin: 0 0 7px; font: 600 16px/1.4 var(--display); letter-spacing: -.3px; }
.credential-provider { margin: 0 0 18px; color: #687064; font-size: 11px; line-height: 1.65; }
.credential-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 14px; padding-top: 12px; border-top: 1px solid #e6e9e2; color: #777d73; font-size: 9px; }

.work { background: #eff1eb; }
.work-heading { display: flex; align-items: end; justify-content: space-between; margin: 41px 0 39px; }
.work-heading h2 { font-size: 48px; }
.work-heading p { max-width: 340px; margin: 0 0 5px; color: #777d73; font-size: 12px; line-height: 1.8; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.project-card { display: flex; min-width: 0; flex-direction: column; padding: 12px; border: 1px solid #e1e5db; border-radius: 7px; background: #fafbf8; box-shadow: 0 5px 18px rgba(34, 43, 30, .035); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.project-card:hover { transform: translateY(-5px); border-color: #d3ddc8; box-shadow: 0 16px 34px rgba(34, 43, 30, .09); }
.project-visual { position: relative; height: 220px; overflow: hidden; border: 1px solid rgba(38, 48, 36, .06); border-radius: 4px; box-shadow: inset 0 1px rgba(255,255,255,.35); }
.weather-visual { padding: 17px; color: #173a37; background: #d6e6d5; }
.weather-top { display: flex; justify-content: space-between; color: #58726d; font: 8px var(--mono); letter-spacing: .5px; }
.weather-main { display: flex; align-items: center; justify-content: space-between; height: 155px; padding: 5px 11px; }
.weather-city, .weather-condition { display: block; font-size: 11px; }
.weather-main strong { display: block; margin: -7px 0 -8px; font: 500 76px var(--display); letter-spacing: -7px; }
.weather-condition { color: #5d7771; }
.sun-icon { color: #e1a85b; font-size: 69px; }
.weather-bottom { display: flex; justify-content: space-between; padding: 10px 2px 0; border-top: 1px solid #bfd3c5; color: #54706b; font-size: 9px; }
.weather-bottom b { padding: 0 7px; color: #91a998; }
.ledger-visual { padding: 15px 19px; color: #263b33; background: #e7e2d7; }
.ledger-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.ledger-logo { font: 700 13px var(--display); }.ledger-logo span { color: #97b783; }
.ledger-avatar { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: white; background: #819979; font-size: 10px; }
.balance-label { color: #8b8d7f; font: 8px var(--mono); letter-spacing: .8px; }
.balance-amount { margin: 3px 0 1px; font: 600 31px var(--display); letter-spacing: -1.7px; }
.balance-amount span { color: #929589; font-size: 17px; }
.balance-change { color: #678b62; font-size: 9px; font-weight: 700; }.balance-change span { margin-left: 5px; color: #929589; font-weight: 400; }
.chart { height: 54px; display: flex; align-items: end; gap: 9px; margin: 14px 2px 7px; border-bottom: 1px solid #cdcdbf; }
.chart span { flex: 1; height: var(--height); border-radius: 2px 2px 0 0; background: #92ac87; }
.chart span:last-child { background: #4d7660; }
.chart-labels { display: flex; justify-content: space-between; color: #969688; font: 6px var(--mono); }
.tasks-visual { display: grid; grid-template-columns: 32% 68%; color: #41443e; background: #e5e1d9; }
.tasks-sidebar { display: flex; flex-direction: column; gap: 14px; padding: 18px 9px; background: #edeae3; font-size: 7px; }
.task-brand { margin-bottom: 10px; font: 700 10px var(--display); }.task-brand span { color: #a4b47d; }
.task-nav { padding: 7px; color: #77776e; }.task-nav.active { border-radius: 3px; color: #506643; background: #e0e8d5; }
.task-sidebar-bottom { margin-top: auto; color: #818278; }
.tasks-main { padding: 22px 14px 10px; }
.tasks-date { margin-bottom: 7px; color: #98958c; font: 7px var(--mono); }
.tasks-main > strong { display: block; margin-bottom: 14px; font: 600 15px var(--display); letter-spacing: -.6px; }.tasks-main > strong span { color: #96b676; }
.task-row { display: flex; align-items: center; gap: 6px; height: 30px; border-top: 1px solid #d6d2c9; font-size: 7px; }
.task-row i { display: grid; place-items: center; width: 10px; height: 10px; border: 1px solid #b3b3a8; border-radius: 50%; font-size: 7px; font-style: normal; }.task-row i.checked { color: white; border-color: #8b9b73; background: #8b9b73; }.task-row small { margin-left: auto; color: #99968c; font-size: 6px; }
.project-info { display: block; margin: 18px 2px 0; }
.project-index { color: #858d7e; font-size: 8px; letter-spacing: .8px; }
.project-info h3 { margin: 5px 0 9px; font: 700 21px var(--display); letter-spacing: -.8px; }
.project-info p { margin: 0; color: #73796f; font-size: 10px; line-height: 1.75; }
.project-info p strong { color: #51574e; font-weight: 700; }
.project-details { display: grid; grid-template-columns: 1fr .78fr; align-content: start; gap: 12px; flex: 1; margin-top: 16px; padding: 14px 2px 12px; border-top: 1px solid #e4e7df; }
.project-details h4 { margin: 0 0 9px; color: #52594f; font: 700 9px var(--display); }
.project-details ul { display: grid; gap: 6px; margin: 0; padding-left: 13px; color: #73796f; font-size: 9px; line-height: 1.6; }
.project-details li::marker { color: #92b767; }
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.project-tags span { padding: 5px 7px; border: 1px solid #dfe4d9; border-radius: 20px; color: #60685a; background: #f7f9f4; font-size: 8px; line-height: 1.3; }
.project-source { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 7px; margin-top: auto; padding: 11px 10px; border: 1px solid #e0e6d9; border-radius: 4px; color: #476237; background: #f2f6ed; font-size: 10px; font-weight: 700; transition: background .2s, border-color .2s; }
.project-source:hover { border-color: #cbd9bd; background: #eaf1e2; }
.project-source:focus-visible { outline: 2px solid #668d45; outline-offset: 3px; }
.project-source > span { font-size: 13px; }
.project-source small { grid-column: 1 / -1; color: #82877d; font-size: 8px; font-weight: 400; }
.project-disclaimer { margin: 24px 0 0; color: #73796f; font-size: 10px; line-height: 1.7; }

.skills { border-bottom: 1px solid var(--line); }
.skills-content { display: grid; grid-template-columns: 1fr .8fr; gap: 70px; margin-top: 42px; }
.skills h2 { font-size: 42px; }
.skills-list > p { margin: 3px 0 22px; color: #777d73; font-size: 12px; line-height: 1.8; }
.skill-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px 16px; }
.skill-group h3 { display: flex; align-items: baseline; gap: 7px; margin: 0 0 9px; font: 600 10px/1.5 var(--display); }
.skill-group h3 span { flex: 0 0 auto; color: #9bbd74; font: 9px var(--mono); }
.skill-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.skill-chips > span { display: inline-flex; align-items: center; padding: 7px 9px; border: 1px solid var(--line); border-radius: 3px; font-size: 9px; line-height: 1.3; font-weight: 600; }
.learning-note { display: flex; align-items: center; gap: 11px; margin-top: 24px; color: #777d73; font-size: 10px; }
.learning-icon { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; color: #476331; background: #e7efdd; }

.contact { padding: 86px 0 25px; color: #eff2e9; background: #222821; }
.contact .section-label { color: #aab1a2; }
.contact .section-label span { color: var(--green); }
.contact-content { display: grid; grid-template-columns: 1fr .55fr; gap: 70px; align-items: end; padding: 44px 0 66px; }
.contact-kicker { margin-bottom: 20px; color: #a9b0a2; font-size: 8px; }
.contact h2 { font-size: clamp(45px, 6vw, 70px); letter-spacing: -4px; }
.contact h2 span { color: #a8d86b; }
.contact-aside { padding-bottom: 4px; }
.contact-aside > p { max-width: 290px; margin-bottom: 22px; color: #aeb4a8; font-size: 12px; }
.contact-email { display: flex; align-items: center; justify-content: space-between; padding: 0 0 11px; border-bottom: 1px solid #51584d; color: #dce7d1; font-size: 12px; }
.contact-email span { color: var(--green); font-size: 16px; }
.email-hint { display: block; margin-top: 9px; color: #969e90; font-size: 9px; }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 17px; }
.social-links a { display: inline-flex; align-items: center; gap: 14px; padding: 9px 12px; border: 1px solid #4b5547; border-radius: 4px; color: #e0e7d9; font-size: 10px; transition: border-color .2s, background .2s; }
.social-links a:hover { border-color: #8ca76b; background: #263024; }
.social-links a span { color: var(--green); font-size: 13px; }
.contact-bottom { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; border-top: 1px solid #444a41; border-bottom: 1px solid #444a41; color: #aeb4a8; font-size: 10px; }
.footer-brand .brand-mark { color: #252a23; background: #e4ebdd; }.footer-brand .brand-name { color: #eff2e9; }
.footer-heart { color: #a8d86b; }
.back-top { font: 9px var(--mono); letter-spacing: .5px; }
.copyright { padding-top: 17px; color: #92998b; font-size: 9px; }

@media (max-width: 800px) {
  .shell { width: min(100% - 44px, 650px); }
  .hero { grid-template-columns: 1fr .84fr; min-height: 570px; }
  .hero h1 { font-size: clamp(46px, 8vw, 62px); letter-spacing: -3.8px; }
  .hero-art { min-height: 360px; }
  .orbit-one { width: 300px; height: 300px; }.orbit-two { width: 360px; height: 360px; }
  .code-content { font-size: 9px; }.art-caption { right: 0; top: 47px; font-size: 7px; }.art-sticker { right: -2px; bottom: 70px; width: 60px; height: 60px; }
  .project-grid { gap: 14px; }.project-card { padding: 9px; }.project-visual { height: 180px; }
  .weather-visual { padding: 13px; }.weather-main { height: 125px; }.weather-main strong { font-size: 60px; }.sun-icon { font-size: 53px; }
  .ledger-visual { padding: 13px; }.chart { gap: 5px; }
  .tasks-main { padding: 19px 9px 7px; }.tasks-sidebar { padding-inline: 6px; }.tasks-main > strong { font-size: 12px; }.task-row { font-size: 6px; }
  .project-info p { min-height: 0; }
  .about-content, .skills-content { gap: 38px; }
}

@media (max-width: 600px) {
  .shell { width: calc(100% - 40px); }
  .site-header { height: 68px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 10px; border: 1px solid var(--line); border-radius: 4px; background: transparent; cursor: pointer; }
  .menu-toggle span { display: block; height: 1px; width: 100%; background: var(--ink); transition: transform .2s; }
  .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); }
  .nav-links { position: absolute; z-index: 5; top: 67px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 16px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .nav-links.is-open { display: flex; }
  .nav-links > a { padding: 14px 3px; border-bottom: 1px solid var(--line); }
  .nav-links .nav-contact { margin-top: 10px; padding: 12px; border: 1px solid var(--line); text-align: center; }
  .hero { display: flex; min-height: initial; flex-direction: column; align-items: stretch; padding-top: 74px; }
  .hero-copy { padding: 0 0 0; }
  .eyebrow { margin-bottom: 21px; font-size: 9px; }
  .hero h1 { font-size: clamp(47px, 12vw, 67px); line-height: 1.08; letter-spacing: -3.7px; }
  .hero-description { max-width: 380px; margin: 19px 0 22px; font-size: 13px; }
  .hero-note { margin-top: 31px; }
  .hero-art { min-height: 350px; margin: 5px 0 35px; }
  .code-window { width: min(370px, 86%); }
  .scroll-cue { position: relative; align-self: flex-start; margin-bottom: 40px; }
  .scroll-line { height: 24px; }
  .section { padding-top: 76px; padding-bottom: 76px; }
  .about-content { grid-template-columns: 1fr; gap: 20px; margin: 31px 0 38px; }
  .about h2, .work-heading h2 { font-size: 38px; letter-spacing: -2px; }
  .about-body p { font-size: 12px; }
  .values-row { grid-template-columns: 1fr; }
  .value-item { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .work-heading { display: block; margin: 31px 0 27px; }
  .work-heading p { margin-top: 12px; }
  .project-grid { grid-template-columns: 1fr; gap: 18px; }
  .project-card { padding: 12px; }
  .project-visual { height: 240px; }
  .weather-visual { padding: 18px; }.weather-main { height: 160px; }.weather-main strong { font-size: 78px; }.sun-icon { font-size: 70px; }
  .ledger-visual { padding: 18px 22px; }.chart { height: 67px; gap: 10px; margin-top: 17px; }
  .tasks-sidebar { padding: 21px 12px; gap: 17px; }.tasks-main { padding: 25px 17px 10px; }.tasks-main > strong { font-size: 16px; }.task-row { height: 34px; font-size: 8px; }
  .project-info { margin-top: 15px; }.project-info p { min-height: 0; font-size: 10px; }
  .project-disclaimer { line-height: 1.7; }
  .skills-content { grid-template-columns: 1fr; gap: 24px; margin-top: 31px; }
  .skills h2 { font-size: 38px; letter-spacing: -2px; }
  .skill-chips > span { padding: 10px; font-size: 9px; }
  .education-heading { display: block; margin: 31px 0 24px; }
  .education-heading h2 { font-size: 38px; letter-spacing: -2px; }
  .education-heading p { margin-top: 10px; }
  .education-grid { grid-template-columns: 1fr; gap: 12px; }
  .credential-card { min-height: 0; padding: 18px; }
  .credential-top { margin-bottom: 16px; }
  .credential-card h3 { font-size: 15px; }
  .contact { padding-top: 66px; }
  .contact-content { grid-template-columns: 1fr; gap: 29px; padding: 32px 0 42px; }
  .contact h2 { font-size: 53px; letter-spacing: -3px; }
  .contact-bottom { flex-wrap: wrap; gap: 18px; }
  .contact-bottom > span { order: 3; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Keep the dark palette after responsive rules so every section stays in sync. */
:root {
  --paper: #1d221e;
  --ink: #eef1e9;
  --muted: #b1b9ac;
  --line: #394137;
}

body { color: var(--ink); background: #1b201c; }
.site-header { border-bottom-color: #343c33; background: rgba(27,32,28,.92); }
.brand-mark { color: #1d221e; }
.brand-name { color: #edf0e8; }
.nav-links > a:not(.nav-contact) { color: #c3c9bd; }
.nav-links > a:not(.nav-contact):hover { color: var(--green); }
.nav-contact { border-color: #465043; color: #e6eadf; }
.nav-contact:hover { border-color: #647f49; color: #eff2e9 !important; background: #293128; }
.hero { color: #f0f2eb; }
.eyebrow { border-color: #3c4639; color: #c4cbbb; background: #252c24; }
.hero-title { color: #c4e3a1; }
.hero-description, .hero-note { color: #b3baae; }
.note-line { background: #677260; }
.hero-art::before { background: radial-gradient(circle at 40% 38%, #303a2d 0, #303a2d 48%, #272f27 49%, #272f27 68%, transparent 69%); }
.art-orbit { border-color: rgba(180,205,151,.19); }
.art-caption, .scroll-cue { color: #b4bcad; }
.button-resume { border-color: #485145; color: #edf0e8; background: #292f28; }
.button-resume:hover { background: #343d31; }
.button-resume span { color: var(--green); }
.hero-actions .text-link { color: #e4e9dc; }

.about { border-top-color: #343c33; }
.about h2 { color: #eff1e9; }
.about h2 span, .education-heading h2 span, .skills h2 span { color: #c5dcaa; }
.about-body p { color: #bac1b5; }
.role-list span { border-color: #43513a; color: #d5e6c2; background: #293329; }
.about-link { color: #e5eadf; }
.values-row, .value-item { border-color: #394137; }
.value-item { color: #e1e6dc; }
.value-number { color: var(--green); }

.education { border-top-color: #384036; background: #242a24; }
.education-heading h2 { color: #eff1e9; }
.education-heading p { color: #b6beb1; }
.credential-card { border-color: #414a3f; background: #2b322a; box-shadow: 0 8px 24px rgba(0,0,0,.14); }
.credential-card::after { border-color: rgba(210,229,192,.08); }
.credential-card h3 { color: #eff2e9; }
.credential-provider, .credential-meta { color: #b9c1b4; }
.credential-meta { border-top-color: #414a3f; }
.credential-icon { color: #d4e9bc; background: #3a4933; }
.training-icon { color: #e5d2a7; background: #4a4130; }
.credential-type { color: #c0c8b8; }

.work { color: #f5f5ed; background: #20271f; }
.project-card { border-color: #424a3e; color: var(--ink); background: #2b322a; box-shadow: 0 9px 24px rgba(0,0,0,.18); }
.project-card:hover { border-color: #91b267; box-shadow: 0 18px 38px rgba(0,0,0,.3); }
.project-index { color: #c1cbb5; }
.project-info h3 { color: #f0f2eb; }
.project-info p, .project-details ul { color: #c1c8bc; }
.project-info p strong, .project-details h4 { color: #e4eadd; }
.project-details { border-top-color: #434b40; }
.project-tags span { border-color: #4a5643; color: #d5e3c8; background: #343e30; }
.project-source { border-color: #506244; color: #e0edcf; background: #35432e; }
.project-source:hover { border-color: #87a965; background: #3d4d35; }
.project-source small, .project-disclaimer { color: #c0c8ba; }

.skills.section.shell { border-color: #424a3e; background: #252c24; }
.skills .section-label { color: #c3cabb; }
.skills .section-label span { border-color: #4a5544; color: var(--green); background: #30392d; }
.skills h2 { color: #f0f2eb; }
.skills-list > p { color: #c1c8bc; }
.skill-group h3 { color: #e8ece2; }
.skill-chips > span { border-color: #4a5447; color: #e2e8dc; background: #303830; }
.learning-note { color: #c3cabb; }

.contact { background: #151a16; }
.contact-bottom { border-color: #394137; }
.footer-brand .brand-name { color: #eff2e9; }

@media (max-width: 600px) {
  .nav-links { border-bottom-color: #3b4439; background: #1d221e; }
  .nav-links > a { border-bottom-color: #343c33; color: #e1e6dc; }
  .nav-links .nav-contact { border-color: #465043; }
  .menu-toggle { border-color: #465043; background: #252c24; }
  .menu-toggle span { background: #e9ede4; }
  .nav-links .nav-contact:hover { color: #eff2e9 !important; background: #293128; }
}

.food-preview { color: #30352d; background: #f2e8d3; }
.preview-browser { height: 34px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; padding: 0 12px; border-bottom: 1px solid rgba(79,64,42,.13); background: #faf5e9; }
.preview-browser > span:first-child { display: flex; gap: 4px; }
.preview-browser i { width: 6px; height: 6px; border-radius: 50%; background: #db8a69; }
.preview-browser i:nth-child(2) { background: #e2bc67; }
.preview-browser i:nth-child(3) { background: #8ca876; }
.preview-browser > b { justify-self: center; color: #34372e; font: 700 9px var(--display); }
.preview-account { justify-self: end; color: #777263; font: 6px var(--mono); }
.food-preview-body { padding: 10px 15px 0; }
.food-preview-heading { display: flex; justify-content: space-between; align-items: end; }
.food-preview-heading > span { align-self: start; padding-top: 4px; color: #937149; font: 7px var(--mono); letter-spacing: .4px; }
.food-preview-heading > strong { margin-right: 7px; color: #34452e; font: 700 19px/1.04 var(--display); letter-spacing: -.8px; }
.food-search { margin: 9px 0 5px; padding: 6px 8px; border: 1px solid #e3dac8; border-radius: 3px; color: #9a978b; background: #fbf8f0; font-size: 7px; }
.food-menu-row { display: grid; grid-template-columns: 25px 1fr auto; align-items: center; gap: 7px; padding: 5px 1px; border-bottom: 1px solid #e6decd; }
.food-thumb { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 4px; font-size: 12px; }
.food-thumb-one { background: #f0d6bb; }.food-thumb-two { background: #dce5ca; }
.food-menu-row > span:nth-child(2) { display: grid; gap: 2px; }
.food-menu-row b { color: #41443a; font-size: 7px; }
.food-menu-row small { color: #8b887d; font-size: 6px; }
.food-menu-row > strong { color: #526a43; font: 700 8px var(--mono); }
.food-cart-bar { display: flex; justify-content: space-between; padding: 7px 1px 0; color: #837d6d; font: 6px var(--mono); letter-spacing: .5px; }
.food-cart-bar span { color: #48643b; }.food-cart-bar b { padding-left: 7px; font-size: 10px; }

.diabetes-preview { color: #ecf1e8; background: #202a25; }
.ml-window-top { display: flex; justify-content: space-between; align-items: center; height: 34px; padding: 0 12px; border-bottom: 1px solid #38473c; color: #aeb9a9; background: #252f29; font: 6px var(--mono); letter-spacing: .5px; }
.ml-status { display: flex; align-items: center; gap: 5px; color: #b7c9a7; }
.ml-status i { width: 5px; height: 5px; border-radius: 50%; background: #b8e56d; }
.diabetes-preview-body { padding: 11px 15px; }
.ml-overline { color: #bbd594; font: 6px var(--mono); letter-spacing: .9px; }
.diabetes-preview-body > strong { display: block; margin-top: 5px; color: #f1f2e9; font: 700 20px/1.02 var(--display); letter-spacing: -.7px; }
.diabetes-preview-body > strong span { color: #b9df84; }
.diabetes-preview-body > p { max-width: 310px; margin: 6px 0 9px; color: #b5c0b2; font-size: 7px; line-height: 1.5; }
.ml-pipeline { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; padding: 6px 8px; border: 1px solid #435044; border-radius: 3px; color: #e1e8d9; background: #2b372e; font: 6px var(--mono); letter-spacing: .4px; }
.ml-pipeline b { color: #b8e56d; font-size: 9px; }
.ml-feature-row { display: flex; justify-content: space-between; padding: 5px 1px; border-top: 1px solid #39453b; color: #aeb9aa; font: 6px var(--mono); }
.ml-feature-row b { color: #e0e8d9; font: 6px var(--sans); }

.sonar-preview { color: #e7f0e9; background: #102d30; }
.sonar-top { display: flex; justify-content: space-between; align-items: center; height: 34px; padding: 0 13px; border-bottom: 1px solid #26494a; background: #143639; }
.sonar-mark { color: #88d5c2; font: 800 14px var(--display); letter-spacing: -.7px; }
.sonar-mark span { color: #e1ede2; font-size: 8px; letter-spacing: 1.6px; }
.sonar-badge { padding: 4px 6px; border: 1px solid #3a6661; border-radius: 15px; color: #a8d9c6; font: 5px var(--mono); letter-spacing: .6px; }
.sonar-preview-body { padding: 11px 14px; }
.sonar-title { display: grid; gap: 4px; }
.sonar-title > span, .sonar-axis { color: #96b8ad; font: 6px var(--mono); letter-spacing: .6px; }
.sonar-title > strong { color: #ecf4e8; font: 700 18px var(--display); letter-spacing: -.5px; }
.sonar-title i { color: #8cceb7; font-style: normal; }
.sonar-chart { display: flex; align-items: center; justify-content: space-between; height: 49px; gap: 3px; margin-top: 9px; padding: 5px 7px; border: 1px solid #285052; border-radius: 3px; background: #153639; }
.sonar-chart span { flex: 1; border-radius: 2px; background: #66b9a2; opacity: .88; }
.sonar-chart span:nth-child(5n + 1) { height: 39%; }.sonar-chart span:nth-child(5n + 2) { height: 69%; }.sonar-chart span:nth-child(5n + 3) { height: 48%; }.sonar-chart span:nth-child(5n + 4) { height: 88%; }.sonar-chart span:nth-child(5n) { height: 56%; }
.sonar-axis { display: flex; justify-content: space-between; margin: 5px 1px 8px; font-size: 5px; }
.sonar-models { display: flex; gap: 4px; }
.sonar-models span, .sonar-models b { padding: 4px 5px; border: 1px solid #315452; border-radius: 2px; color: #adc9bd; font: 5px var(--mono); }
.sonar-models b { border-color: #6c9d73; color: #ddedc9; background: #294a3c; }
.sonar-output { display: flex; justify-content: space-between; align-items: center; margin-top: 7px; padding-top: 6px; border-top: 1px solid #2a4a49; }
.sonar-output span { color: #96b8ad; font: 5px var(--mono); letter-spacing: .5px; }
.sonar-output strong { color: #d4edbc; font: 600 8px var(--display); }

@media (max-width: 600px) {
  .food-preview-body { padding-inline: 18px; }
  .food-preview-heading > strong { font-size: 23px; }
  .food-search { padding: 8px; }
  .food-menu-row { padding-block: 7px; }
  .food-thumb { width: 28px; height: 28px; font-size: 14px; }
  .food-menu-row b { font-size: 8px; }.food-menu-row small { font-size: 7px; }
  .food-preview-body { padding-top: 14px; }
  .diabetes-preview-body { padding: 15px 19px; }
  .diabetes-preview-body > strong { font-size: 23px; }
  .diabetes-preview-body > p { font-size: 8px; }
  .ml-pipeline { padding: 8px; }
  .sonar-preview-body { padding: 15px 18px; }
  .sonar-title > strong { font-size: 22px; }
  .sonar-chart { height: 64px; }
  .sonar-models span, .sonar-models b { padding: 6px; font-size: 6px; }
  .sonar-output { margin-top: 10px; padding-top: 8px; }
}

/* Coordinated dark page palette */
:root {
  --paper: #1d221e;
  --ink: #eef1e9;
  --muted: #b1b9ac;
  --line: #394137;
}

body { color: var(--ink); background: #1b201c; }
.site-header { border-bottom-color: #343c33; background: rgba(27,32,28,.92); }
.brand-mark { color: #1d221e; }
.brand-name { color: #edf0e8; }
.nav-links > a:not(.nav-contact) { color: #c3c9bd; }
.nav-links > a:not(.nav-contact):hover { color: var(--green); }
.nav-contact { border-color: #465043; color: #e6eadf; }
.nav-contact:hover { border-color: #647f49; color: #eff2e9 !important; background: #293128; }

.hero { color: #f0f2eb; }
.eyebrow { border-color: #3c4639; color: #c4cbbb; background: #252c24; }
.hero-title { color: #c4e3a1; }
.hero-description, .hero-note { color: #b3baae; }
.note-line { background: #677260; }
.hero-art::before { background: radial-gradient(circle at 40% 38%, #303a2d 0, #303a2d 48%, #272f27 49%, #272f27 68%, transparent 69%); }
.art-orbit { border-color: rgba(180,205,151,.19); }
.art-caption, .scroll-cue { color: #b4bcad; }
.button-resume { border-color: #485145; color: #edf0e8; background: #292f28; }
.button-resume:hover { background: #343d31; }
.button-resume span { color: var(--green); }
.hero-actions .text-link { color: #e4e9dc; }

.about { border-top-color: #343c33; }
.about h2 { color: #eff1e9; }
.about h2 span, .education-heading h2 span, .skills h2 span { color: #c5dcaa; }
.about-body p { color: #bac1b5; }
.role-list span { border-color: #43513a; color: #d5e6c2; background: #293329; }
.about-link { color: #e5eadf; }
.values-row, .value-item { border-color: #394137; }
.value-item { color: #e1e6dc; }
.value-number { color: var(--green); }

.education { border-top-color: #384036; background: #242a24; }
.education-heading h2 { color: #eff1e9; }
.education-heading p { color: #b6beb1; }
.credential-card { border-color: #414a3f; background: #2b322a; box-shadow: 0 8px 24px rgba(0,0,0,.14); }
.credential-card::after { border-color: rgba(210,229,192,.08); }
.credential-card h3 { color: #eff2e9; }
.credential-provider, .credential-meta { color: #b9c1b4; }
.credential-meta { border-top-color: #414a3f; }
.credential-icon { color: #d4e9bc; background: #3a4933; }
.training-icon { color: #e5d2a7; background: #4a4130; }
.credential-type { color: #c0c8b8; }

.work { background: #20271f; }
.project-card { border-color: #424a3e; background: #2b322a; box-shadow: 0 9px 24px rgba(0,0,0,.18); }
.project-card:hover { border-color: #91b267; box-shadow: 0 18px 38px rgba(0,0,0,.3); }
.project-index { color: #c1cbb5; }
.project-info h3 { color: #f0f2eb; }
.project-info p, .project-details ul { color: #c1c8bc; }
.project-info p strong, .project-details h4 { color: #e4eadd; }
.project-details { border-top-color: #434b40; }
.project-tags span { border-color: #4a5643; color: #d5e3c8; background: #343e30; }
.project-source { border-color: #506244; color: #e0edcf; background: #35432e; }
.project-source:hover { border-color: #87a965; background: #3d4d35; }
.project-source small, .project-disclaimer { color: #c0c8ba; }

.skills.section.shell { border-color: #424a3e; background: #252c24; }
.skills .section-label { color: #c3cabb; }
.skills .section-label span { border-color: #4a5544; color: var(--green); background: #30392d; }
.skills h2 { color: #f0f2eb; }
.skills-list > p { color: #c1c8bc; }
.skill-group h3 { color: #e8ece2; }
.skill-chips > span { border-color: #4a5447; color: #e2e8dc; background: #303830; }
.learning-note { color: #c3cabb; }

.contact { background: #151a16; }
.contact-bottom { border-color: #394137; }
.footer-brand .brand-mark { color: #1d221e; background: var(--green); }
.footer-brand .brand-name { color: #eff2e9; }

@media (max-width: 600px) {
  .nav-links { border-bottom-color: #3b4439; background: #1d221e; }
  .nav-links > a { border-bottom-color: #343c33; color: #e1e6dc; }
  .nav-links .nav-contact { border-color: #465043; }
  .menu-toggle { border-color: #465043; background: #252c24; }
  .menu-toggle span { background: #e9ede4; }
  .nav-links .nav-contact:hover { color: #eff2e9 !important; background: #293128; }
}

/* Portfolio visual refresh */
:root {
  --paper: #f6f5ef;
  --ink: #1c211c;
  --muted: #73796f;
  --line: #e3e5dc;
  --green: #c5f36b;
  --dark-green: #425d30;
}

body { background: var(--paper); }
.site-header { position: sticky; z-index: 10; top: 0; height: 76px; border-bottom-color: rgba(36,43,34,.09); background: rgba(246,245,239,.91); backdrop-filter: blur(14px); }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; color: #1c211c; background: var(--green); font-size: 20px; }
.brand-mark span, .brand-dot { color: #688e3d; }
.brand-name { font-size: 15px; }
.nav-links { gap: 32px; }
.nav-links > a:not(.nav-contact) { color: #52584f; }
.nav-links > a:not(.nav-contact):hover { color: #365426; }
.nav-contact { border-color: #d6d9cf; border-radius: 5px; transition: color .2s, background .2s, border-color .2s; }
.nav-contact:hover { border-color: var(--ink); color: white !important; background: var(--ink); }

.hero { min-height: 690px; grid-template-columns: 1.05fr .95fr; }
.hero-copy { position: relative; z-index: 2; padding-bottom: 30px; }
.eyebrow { width: fit-content; padding: 9px 13px; border: 1px solid #e1e5d9; border-radius: 30px; color: #555e4f; background: #fbfcf8; font-size: 9px; }
.status-dot { background: #77ad3f; box-shadow: 0 0 0 4px #eaf2de; }
.hero h1 { font-size: clamp(66px, 7.3vw, 96px); line-height: 1.01; letter-spacing: -7px; }
.hero .period { color: #75a938; }
.hero-title { margin-top: 16px; color: #58733f; font-size: 19px; font-weight: 700; }
.hero-description { max-width: 450px; margin: 17px 0 26px; color: #646b60; font-size: 15px; line-height: 1.85; }
.hero-actions { gap: 10px; }
.button { min-height: 47px; padding: 13px 16px; border-radius: 5px; font-size: 11px; }
.button-dark { color: #1a2117; background: var(--green); }
.button-dark:hover { background: #b4e65a; }
.button-dark span { color: #334824; }
.button-resume { border-color: #d9ddd2; background: #fbfcf9; }
.button-resume:hover { background: #edf1e7; }
.text-link { padding: 10px 5px; }
.hero-note { margin-top: 51px; color: #777d72; }
.hero-art { min-height: 490px; overflow: visible; }
.hero-art::before { position: absolute; width: min(430px, 92%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 38%, #e5efda 0, #e5efda 48%, #edf0e6 49%, #edf0e6 68%, transparent 69%); content: ""; }
.art-orbit { border-color: rgba(137,157,116,.3); }
.orbit-one { width: 400px; height: 400px; }
.orbit-two { width: 475px; height: 475px; }
.code-window { width: min(415px, 88%); border-color: #323b31; border-radius: 11px; box-shadow: 0 32px 70px rgba(29,39,26,.22); transform: rotate(-4deg); }
.window-top { height: 48px; }
.code-content { padding: 22px 17px 16px; font-size: 12px; }
.window-footer { padding-top: 13px; }
.art-sticker { right: 1px; bottom: 83px; width: 78px; height: 78px; color: #f6f5ef; background: #526f3c; }
.art-caption { right: 9px; top: 35px; }
.scroll-cue { color: #73796f; }

.section { padding-top: 108px; padding-bottom: 108px; }
.section-label { gap: 12px; color: #646b60; font-size: 9px; letter-spacing: 1.2px; }
.section-label span { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid #dfe4d8; border-radius: 50%; color: #59763e; background: #fbfcf8; font-size: 9px; }
.about { border-top-color: #dedfd6; }
.about-content { gap: 85px; margin: 46px 0 54px; }
.about h2, .education-heading h2, .skills h2 { letter-spacing: -3.5px; }
.about h2 span, .education-heading h2 span { color: #789756; }
.about-body p { color: #656b62; font-size: 13px; line-height: 1.95; }
.role-list span { padding: 8px 12px; border-color: #dce4d2; color: #486333; background: #edf2e7; font-size: 10px; }
.education { background: #efeee7; }
.education-heading { margin: 40px 0 34px; }
.education-heading p { color: #656b62; }
.credential-card { position: relative; min-height: 205px; overflow: hidden; padding: 25px; border-color: #e1e2d9; border-radius: 7px; background: #fafaf6; box-shadow: 0 8px 24px rgba(34,43,30,.045); transition: transform .2s, box-shadow .2s; }
.credential-card::after { position: absolute; right: -35px; bottom: -70px; width: 150px; height: 150px; border: 1px solid #e6ebdf; border-radius: 50%; content: ""; }
.credential-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(34,43,30,.08); }
.credential-top { margin-bottom: 23px; }
.credential-icon { width: 34px; height: 34px; border-radius: 8px; color: #486333; background: #eaf1e2; }
.training-icon { color: #755e37; background: #f2ecde; }
.credential-card h3 { font-size: 17px; }
.credential-provider { color: #60675c; font-size: 11px; }
.credential-meta { position: relative; z-index: 1; color: #72786d; font-size: 9px; }

.work { color: #f5f5ed; background: #20271f; }
.work .section-label { color: #b5bcae; }
.work .section-label span { border-color: #475043; color: var(--green); background: #2a3228; }
.work-heading { margin: 42px 0 38px; }
.work-heading h2 { color: #f6f5ef; font-size: 54px; letter-spacing: -3.7px; }
.work-heading h2 span { color: var(--green); }
.work-heading p { color: #b4bbae; }
.project-grid { gap: 18px; }
.project-card { padding: 11px; border-color: #3b4438; border-radius: 8px; color: var(--ink); background: #f8f8f2; box-shadow: 0 9px 24px rgba(0,0,0,.12); }
.project-card:hover { border-color: #9bbd70; box-shadow: 0 18px 38px rgba(0,0,0,.24); }
.project-visual { height: 218px; border-radius: 5px; }
.project-info { margin: 18px 3px 0; }
.project-index { color: #68745d; }
.project-info h3 { font-size: 23px; }
.project-info p { min-height: 56px; color: #666e62; font-size: 10px; }
.project-info p strong { color: #333b30; }
.project-details { margin-top: 13px; padding-top: 13px; border-color: #e1e5dc; }
.project-details h4 { font-size: 9px; }
.project-details ul { color: #646c60; }
.project-tags span { border-color: #dce4d4; color: #4e6140; background: #f0f4eb; }
.project-source { margin: 2px 0 0; border-color: #d9e2d0; border-radius: 5px; color: #405a30; background: #edf3e7; }
.project-source:hover { border-color: #bed2aa; background: #e4eedb; }
.project-source small { color: #737b6c; }
.project-disclaimer { color: #bcc2b6; }

.skills.section.shell { width: min(1120px, calc(100% - 64px)); max-width: 1120px; margin: 82px auto; padding: 64px 68px; border: 1px solid #343d31; border-radius: 10px; color: #f1f3eb; background: #20271f; }
.skills .section-label { color: #bec5b8; }
.skills .section-label span { border-color: #485143; color: var(--green); background: #2b3429; }
.skills-content { gap: 60px; margin-top: 39px; }
.skills h2 { color: #f4f5ee; }
.skills h2 span { color: var(--green); }
.skills-list > p { color: #bcc2b6; }
.skill-group h3 { color: #ecf0e6; }
.skill-group h3 span { color: var(--green); }
.skill-chips > span { border-color: #485044; border-radius: 4px; color: #e0e5d8; background: #293128; }
.learning-note { color: #c1c7ba; }
.learning-icon { color: #25311d; background: var(--green); }

.contact { position: relative; overflow: hidden; padding: 92px 0 27px; background: #171d17; }
.contact::after { position: absolute; top: 70px; right: -150px; width: 400px; height: 400px; border: 1px solid rgba(197,243,107,.12); border-radius: 50%; box-shadow: 0 0 0 45px rgba(197,243,107,.025), 0 0 0 90px rgba(197,243,107,.02); content: ""; pointer-events: none; }
.contact-inner { position: relative; z-index: 1; }
.contact .section-label span { border-color: #4b5742; background: #293128; }
.contact-content { grid-template-columns: 1fr .55fr; gap: 70px; padding: 48px 0 70px; }
.contact h2 { font-size: clamp(52px, 6vw, 76px); }
.contact h2 span { color: var(--green); }
.contact-email { border-color: #4b5547; }
.contact-bottom { border-color: #3c453a; }
.footer-brand .brand-mark { color: #1c211c; background: var(--green); }
.copyright { color: #a6ad9f; }

@media (max-width: 800px) {
  .hero { min-height: 590px; }
  .hero h1 { font-size: clamp(53px, 8vw, 72px); letter-spacing: -4.5px; }
  .hero-art { min-height: 390px; }
  .hero-art::before { width: 340px; }
  .orbit-one { width: 310px; height: 310px; }
  .orbit-two { width: 380px; height: 380px; }
  .skills.section.shell { padding: 48px 40px; }
  .skills-content { gap: 36px; }
  .project-visual { height: 180px; }
  .project-info p { min-height: 80px; }
}

@media (max-width: 600px) {
  .site-header { height: 68px; }
  .brand-mark { width: 35px; height: 35px; }
  .nav-links { top: 67px; }
  .nav-links .nav-contact:hover { color: var(--ink) !important; background: transparent; }
  .hero { padding-top: 57px; }
  .hero h1 { font-size: clamp(57px, 13vw, 76px); letter-spacing: -4.8px; }
  .hero-title { font-size: 17px; }
  .hero-description { font-size: 13px; }
  .hero-actions { gap: 8px; }
  .hero-actions .text-link { padding-left: 8px; }
  .hero-note { margin-top: 29px; }
  .hero-art { min-height: 335px; margin-top: 10px; }
  .hero-art::before { width: 300px; }
  .orbit-one { width: 285px; height: 285px; }
  .orbit-two { width: 345px; height: 345px; }
  .code-window { width: min(350px, 87%); }
  .code-content { font-size: 10px; }
  .art-caption { top: 19px; right: 0; }
  .art-sticker { right: 0; bottom: 54px; }
  .section { padding-top: 78px; padding-bottom: 78px; }
  .about-content { gap: 22px; margin: 34px 0 40px; }
  .about h2, .education-heading h2, .skills h2 { font-size: 37px; letter-spacing: -2.4px; }
  .education-heading { margin: 32px 0 25px; }
  .credential-card { padding: 19px; }
  .work-heading h2 { font-size: 43px; }
  .project-visual { height: 230px; }
  .project-info p { min-height: 0; }
  .project-details { grid-template-columns: 1fr .85fr; }
  .skills.section.shell { width: calc(100% - 32px); margin: 50px auto; padding: 38px 22px; border-radius: 8px; }
  .skills-content { gap: 24px; margin-top: 30px; }
  .skill-groups { gap: 17px 10px; }
  .skill-chips > span { padding: 7px 8px; font-size: 8px; }
  .contact { padding-top: 70px; }
  .contact-content { padding: 38px 0 48px; }
  .contact h2 { font-size: 54px; letter-spacing: -3.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Final palette overrides keep the full page coordinated in dark mode. */
:root {
  --paper: #1d221e;
  --ink: #eef1e9;
  --muted: #b1b9ac;
  --line: #394137;
}
body { color: var(--ink); background: #1b201c; }
.site-header { border-bottom-color: #343c33; background: rgba(27,32,28,.92); }
.brand-mark { color: #1d221e; }
.brand-name, .footer-brand .brand-name { color: #edf0e8; }
.nav-links > a:not(.nav-contact) { color: #c3c9bd; }
.nav-links > a:not(.nav-contact):hover { color: var(--green); }
.nav-contact { border-color: #465043; color: #e6eadf; }
.nav-contact:hover { border-color: #647f49; color: #eff2e9 !important; background: #293128; }
.hero { color: #f0f2eb; }
.eyebrow { border-color: #3c4639; color: #c4cbbb; background: #252c24; }
.hero-title { color: #c4e3a1; }
.hero-description, .hero-note { color: #b3baae; }
.note-line { background: #677260; }
.hero-art::before { background: radial-gradient(circle at 40% 38%, #303a2d 0, #303a2d 48%, #272f27 49%, #272f27 68%, transparent 69%); }
.art-orbit { border-color: rgba(180,205,151,.19); }
.art-caption, .scroll-cue { color: #b4bcad; }
.button-resume { border-color: #485145; color: #edf0e8; background: #292f28; }
.button-resume:hover { background: #343d31; }
.button-resume span { color: var(--green); }
.hero-actions .text-link { color: #e4e9dc; }
.about { border-top-color: #343c33; }
.about h2, .education-heading h2 { color: #eff1e9; }
.about h2 span, .education-heading h2 span, .skills h2 span { color: #c5dcaa; }
.about-body p { color: #bac1b5; }
.role-list span { border-color: #43513a; color: #d5e6c2; background: #293329; }
.about-link { color: #e5eadf; }
.values-row, .value-item { border-color: #394137; }
.value-item { color: #e1e6dc; }
.value-number { color: var(--green); }
.education { border-top-color: #384036; background: #242a24; }
.education-heading p { color: #b6beb1; }
.credential-card { border-color: #414a3f; background: #2b322a; box-shadow: 0 8px 24px rgba(0,0,0,.14); }
.credential-card::after { border-color: rgba(210,229,192,.08); }
.credential-card h3 { color: #eff2e9; }
.credential-provider, .credential-meta { color: #b9c1b4; }
.credential-meta { border-top-color: #414a3f; }
.credential-icon { color: #d4e9bc; background: #3a4933; }
.training-icon { color: #e5d2a7; background: #4a4130; }
.credential-type { color: #c0c8b8; }
.work { color: #f5f5ed; background: #20271f; }
.project-card { border-color: #424a3e; color: var(--ink); background: #2b322a; box-shadow: 0 9px 24px rgba(0,0,0,.18); }
.project-card:hover { border-color: #91b267; box-shadow: 0 18px 38px rgba(0,0,0,.3); }
.project-index { color: #c1cbb5; }
.project-info h3 { color: #f0f2eb; }
.project-info p, .project-details ul { color: #c1c8bc; }
.project-info p strong, .project-details h4 { color: #e4eadd; }
.project-details { border-top-color: #434b40; }
.project-tags span { border-color: #4a5643; color: #d5e3c8; background: #343e30; }
.project-source { border-color: #506244; color: #e0edcf; background: #35432e; }
.project-source:hover { border-color: #87a965; background: #3d4d35; }
.project-source small, .project-disclaimer { color: #c0c8ba; }
.skills.section.shell { border-color: #424a3e; background: #252c24; }
.skills .section-label { color: #c3cabb; }
.skills .section-label span { border-color: #4a5544; color: var(--green); background: #30392d; }
.skills h2 { color: #f0f2eb; }
.skills-list > p { color: #c1c8bc; }
.skill-group h3 { color: #e8ece2; }
.skill-chips > span { border-color: #4a5447; color: #e2e8dc; background: #303830; }
.learning-note { color: #c3cabb; }
.contact { background: #151a16; }
.contact-bottom { border-color: #394137; }
.footer-brand .brand-mark { color: #1d221e; background: var(--green); }

@media (max-width: 600px) {
  .nav-links { border-bottom-color: #3b4439; background: #1d221e; }
  .nav-links > a { border-bottom-color: #343c33; color: #e1e6dc; }
  .nav-links .nav-contact { border-color: #465043; }
  .menu-toggle { border-color: #465043; background: #252c24; }
  .menu-toggle span { background: #e9ede4; }
  .nav-links .nav-contact:hover { color: #eff2e9 !important; background: #293128; }
}
