:root {
  --paper: #f7f7f2;
  --ink: #222720;
  --muted: #73786d;
  --line: #dcded5;
  --lime: #d8f36a;
  --mono: "IBM Plex Mono", monospace;
  --sans: "DM Sans", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #38715a;
  outline-offset: 5px;
}
::selection {
  background: var(--lime);
  color: var(--ink);
}
[hidden] {
  display: none !important;
}
.mono,
.eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  font-weight: 450;
}
.eyebrow {
  margin: 0;
  text-transform: uppercase;
  line-height: 1.8;
}
.section-wrap {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 64px;
}
.section-space {
  padding-top: 112px;
  padding-bottom: 112px;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1,
h2 {
  font-weight: 450;
  letter-spacing: -0.06em;
}
h2 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.12;
  margin-bottom: 22px;
}
h3 {
  letter-spacing: -0.035em;
  font-weight: 550;
}
p {
  line-height: 1.7;
}
.muted {
  color: var(--muted);
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 15px;
  background: var(--lime);
  padding: 15px;
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}
/* Navigation */
.site-header {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 64px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 247, 242, 0.97);
  gap: 24px;
}
.wordmark {
  display: flex;
  gap: 13px;
  align-items: center;
  font-weight: 650;
  font-size: 17px;
  line-height: 1.2;
  white-space: nowrap;
}
.brand-symbol {
  font-family: var(--mono);
  font-size: 30px;
  letter-spacing: -5px;
  width: 47px;
  line-height: 1;
}
.brand-symbol span {
  color: #658239;
}
.wordmark-sub {
  display: block;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  font-weight: 450;
  margin-top: 7px;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13px;
}
.site-header nav > a:not(.nav-contact):hover {
  color: #527225;
}
.nav-contact {
  padding: 12px 20px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  margin-left: 16px;
}
.nav-contact span {
  margin-left: 30px;
}
.nav-contact:hover {
  background: var(--ink);
  color: var(--paper);
}
.menu-toggle {
  display: none;
}
/* Hero and original CSS feedback diagram */
.hero {
  background-image: radial-gradient(#b9beb047 0.85px, transparent 0.85px);
  background-size: 22px 22px;
  padding-top: 32px;
}
.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hero-top > span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}
.status-dot {
  display: inline-block;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6a8630;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 25px;
  align-items: center;
  min-height: 580px;
  padding-block: 50px;
}
.hero h1 {
  font-size: clamp(60px, 6.5vw, 94px);
  line-height: 1.02;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.ai-word {
  white-space: nowrap;
}
.asterisk {
  display: inline-block;
  font-size: 0.87em;
  color: #748b41;
  vertical-align: baseline;
  margin-left: 19px;
  line-height: 1;
}
.hero-intro {
  max-width: 460px;
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 16px;
}
.hero-detail {
  color: #62685e;
  font-size: 13px;
  line-height: 1.75;
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  gap: 27px;
  align-items: center;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  min-height: 46px;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 550;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button-dark {
  background: var(--ink);
  color: var(--paper);
}
.button-dark:hover {
  background: #3d4932;
  transform: translateY(-2px);
}
.button:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}
.text-link {
  font-size: 12px;
  border-bottom: 1px solid #a0a797;
  padding-block: 10px;
  display: inline-flex;
  gap: 22px;
}
.text-link:hover {
  border-color: var(--ink);
}
.hero-art {
  position: relative;
  height: 430px;
  width: 100%;
  max-width: 510px;
  justify-self: center;
}
.art-coordinates {
  position: absolute;
  top: 8px;
  left: 13px;
  color: #757e68;
  font-size: 9px;
}
.orbit {
  position: absolute;
  border: 1px solid #d7ddd0;
  border-radius: 50%;
  width: 330px;
  height: 330px;
  left: 15%;
  top: 38px;
}
.orbit-two {
  width: 230px;
  height: 230px;
  left: 25%;
  top: 88px;
  border-style: dashed;
}
.diagram-node {
  position: absolute;
  border: 1px solid #abb4a0;
  background: var(--paper);
  padding: 15px 18px;
  box-shadow: 6px 6px 0 #e7eadf;
  width: 208px;
}
.input-node {
  left: 0;
  top: 47px;
  transform: rotate(-5deg);
}
.node-label {
  font-size: 8px;
  display: block;
  color: #68715e;
}
.code-glyph {
  display: block;
  font-family: var(--mono);
  font-size: 49px;
  letter-spacing: -6px;
  margin-block: 11px;
  line-height: 1.25;
}
.node-caption {
  font-size: 9px;
  color: #657058;
}
.human-node {
  position: absolute;
  left: 25%;
  top: 157px;
  width: 236px;
  min-height: 130px;
  border: 1px solid #afc648;
  background: var(--lime);
  display: flex;
  gap: 17px;
  align-items: center;
  padding: 21px;
  z-index: 2;
  box-shadow: 7px 7px 0 #d8ddcc;
}
.human-star {
  font-size: 59px;
  line-height: 1;
}
.human-node > span:last-child {
  font-size: 24px;
  letter-spacing: -0.05em;
  line-height: 1.12;
}
.human-node .mono {
  display: block;
  font-size: 7px;
  letter-spacing: 0.04em;
  margin-top: 13px;
  white-space: nowrap;
}
.output-node {
  right: 0;
  bottom: 0;
  transform: rotate(4deg);
  width: 217px;
}
.signal-lines {
  display: flex;
  height: 38px;
  align-items: flex-end;
  gap: 8px;
  margin-block: 13px 9px;
}
.signal-lines i {
  background: #647e41;
  width: 10px;
  height: 30%;
}
.signal-lines i:nth-child(2n) {
  height: 55%;
}
.signal-lines i:nth-child(3n) {
  height: 75%;
}
.signal-lines i:nth-child(5),
.signal-lines i:nth-child(8) {
  height: 100%;
}
.diagram-connector {
  position: absolute;
  border: 1px dashed #8d9a7d;
  width: 65px;
  height: 78px;
}
.connector-one {
  top: 156px;
  left: 11%;
  border-top: 0;
  border-right: 0;
}
.connector-two {
  right: 10%;
  top: 247px;
  border-bottom: 0;
  border-left: 0;
}
.art-foot {
  position: absolute;
  bottom: -20px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 8px;
  color: #6e7666;
}
.hero-bottom {
  display: flex;
  justify-content: space-between;
  padding-block: 25px;
  border-top: 1px solid var(--line);
  color: #6a7361;
}
.hero-bottom a {
  display: flex;
  gap: 28px;
}
/* Evidence and expertise */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 35px;
  padding-bottom: 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #eeefe8;
}
.metrics > div {
  padding-left: 32px;
  border-left: 1px solid #d5dacb;
}
.metrics > div:first-child {
  padding-left: 0;
  border-left: 0;
}
.metrics strong {
  font-size: 48px;
  letter-spacing: -0.055em;
  font-weight: 450;
  line-height: 1.2;
}
.metrics strong span {
  color: #7c876b;
  font-size: 35px;
}
.metrics p {
  font-size: 12px;
  margin: 9px 0 8px;
  line-height: 1.45;
}
.metrics .mono {
  font-size: 8px;
  color: #616957;
}
.section-heading {
  display: grid;
  grid-template-columns: 1fr 2.4fr;
  gap: 40px;
  margin-bottom: 55px;
}
.section-heading > .eyebrow {
  padding-top: 9px;
}
.section-heading > div > p {
  color: #666f5d;
  max-width: 560px;
  font-size: 15px;
  margin-bottom: 0;
}
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}
.expertise-card {
  padding: 30px;
  border-left: 1px solid var(--line);
}
.expertise-card:first-child {
  border-left: 0;
}
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #7c866e;
  margin-bottom: 34px;
}
.line-icon {
  font-size: 30px;
  line-height: 1;
  font-family: var(--mono);
  color: var(--ink);
}
.expertise-card h3 {
  font-size: 23px;
  margin-bottom: 15px;
}
.expertise-card p {
  font-size: 13px;
  color: #616958;
  line-height: 1.85;
  margin-bottom: 25px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.tags span {
  font-family: var(--mono);
  font-size: 8px;
  padding: 6px 9px;
  border: 1px solid #d6dcce;
  color: #5c6851;
  line-height: 1.4;
}
/* Interactive evaluation */
.evaluation-section {
  background: #222820;
  color: #f4f5ed;
  padding-block: 90px;
}
.evaluation-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 80px;
  align-items: center;
}
.evaluation-copy .eyebrow {
  color: #b7c39e;
  margin-bottom: 30px;
}
.evaluation-copy h2 {
  font-size: 61px;
  line-height: 1.07;
}
.evaluation-copy h2 span {
  color: var(--lime);
}
.evaluation-copy > p:not(.eyebrow) {
  font-size: 14px;
  color: #c2c9b8;
  max-width: 345px;
}
.evaluation-steps {
  display: flex;
  gap: 22px;
  color: var(--lime);
  font-size: 9px;
  margin-top: 29px;
  margin-bottom: 30px;
}
.evaluation-copy .demo-note {
  font-size: 11px !important;
  color: #a9b39e !important;
  max-width: 310px !important;
}
.code-panel {
  background: #181d18;
  border: 1px solid #49513f;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 20px 65px #10170f33;
}
.editor-top {
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #b7bfb0;
  border-bottom: 1px solid #364030;
  font-size: 9px;
  gap: 12px;
}
.editor-top > span:first-child {
  display: flex;
  gap: 5px;
}
.editor-top i {
  width: 6px;
  height: 6px;
  background: #727b65;
  border-radius: 50%;
}
.editor-top i:first-child {
  background: #c4d994;
}
.task-prompt {
  padding: 21px 22px;
}
.task-prompt .mono {
  color: #aab995;
  font-size: 8px;
}
.task-prompt p {
  font-size: 12px;
  margin: 6px 0 0;
  line-height: 1.6;
}
.code-tabs {
  display: flex;
  border-block: 1px solid #364030;
  align-items: center;
}
.code-tabs button {
  font-family: var(--mono);
  font-size: 10px;
  background: transparent;
  border: 0;
  border-right: 1px solid #364030;
  color: #a5af9c;
  padding: 13px 20px;
}
.code-tabs button[aria-selected="true"] {
  background: #303c29;
  color: var(--lime);
  box-shadow: inset 0 -2px var(--lime);
}
.code-tabs > span {
  font-size: 7px;
  margin-left: auto;
  padding-right: 16px;
  color: #9da98f;
}
.code-panel pre {
  margin: 0;
  padding: 24px;
  font: 12px/1.9 var(--mono);
  overflow-x: auto;
  min-height: 194px;
  tab-size: 2;
}
.code-panel code {
  font: inherit;
}
.code-comment {
  color: #93a086;
}
.code-purple {
  color: #d9b3f1;
}
.code-blue {
  color: #a9d9de;
}
.code-yellow {
  color: #e0da9c;
}
.run-row {
  padding: 17px 21px;
  background: #20281e;
  border-block: 1px solid #364030;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.run-row > .mono {
  font-size: 8px;
  color: #b5c2a7;
}
.run-row button {
  font-family: var(--mono);
  font-size: 10px;
  background: var(--lime);
  border: 0;
  padding: 10px 13px;
  color: #222820;
  white-space: nowrap;
}
.run-row button:hover {
  background: #e6ff94;
}
.run-row button span {
  margin-left: 14px;
}
.evaluation-result {
  padding: 20px;
  display: flex;
  gap: 12px;
  min-height: 110px;
}
.result-indicator {
  color: #c2d298;
  font-size: 19px;
  line-height: 1.3;
}
.evaluation-result strong {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 450;
}
.evaluation-result p {
  font-size: 11px;
  color: #acb79f;
  line-height: 1.6;
  margin: 7px 0 0;
}
.evaluation-result.is-fail .result-indicator {
  color: #f2ba93;
}
.evaluation-result.is-pass .result-indicator {
  color: var(--lime);
}
.editor-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #364030;
  padding: 11px 17px;
  font-size: 7px;
  color: #a5b198;
  gap: 12px;
}
/* Career */
.career {
  display: grid;
  grid-template-columns: 1fr 2.4fr;
  gap: 40px;
  border-top: 1px solid var(--line);
  padding-block: 37px;
}
.career:last-child {
  border-bottom: 1px solid var(--line);
}
.career-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding-top: 6px;
}
.career-meta > .mono {
  font-size: 10px;
}
.career-meta > span:last-child:not(.mono) {
  font-size: 11px;
  color: #727a69;
  line-height: 1.6;
}
.current-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font: 8px var(--mono);
  background: #e6edce;
  padding: 6px 9px;
}
.career-main h3 {
  font-size: 28px;
  margin: 0 0 8px;
  line-height: 1.2;
}
.career-role {
  font-size: 13px;
  color: #50623d;
  line-height: 1.7;
  margin-bottom: 18px;
}
.career-role > span {
  display: block;
  font: 9px var(--mono);
  color: #707c62;
  margin-top: 5px;
}
.career-main > p:not(.career-role),
.career-main li {
  font-size: 13px;
  line-height: 1.8;
  color: #616958;
}
.career-main strong {
  font-weight: 600;
  color: var(--ink);
}
.career-main ul {
  padding-left: 16px;
  margin-top: 12px;
  margin-bottom: 23px;
}
.career-main li {
  padding-left: 6px;
  margin-block: 7px;
}
.career-main li::marker {
  color: #829762;
}
.career-main > p:last-child {
  margin-bottom: 0;
}
.featured-career {
  border-top: 2px solid #7b9350;
}
/* Selected work */
.projects-section {
  background: #eeefe8;
  border-block: 1px solid var(--line);
}
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px 32px;
}
.project-open {
  display: block;
  width: 100%;
  padding: 0;
  background: none;
  border: 0;
  text-align: left;
}
.project-visual {
  height: 290px;
  overflow: hidden;
  position: relative;
  padding: 51px 32px 0;
  display: flex;
  align-items: flex-start;
  border: 1px solid #d5ddc9;
}
.support-visual {
  background: #dce4d1;
}
.aria-visual {
  background: #dddff1;
}
.alumat-visual {
  background: #e5e3ce;
}
.helios-visual {
  background: #d4e3df;
}
.project-index {
  position: absolute;
  left: 20px;
  top: 18px;
  font-size: 8px;
  color: #5c6651;
}
.project-visual img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: top;
  border: 1px solid #aab0a0;
  box-shadow: 0 8px 20px #343d251a;
  transition: transform 0.4s;
  filter: saturate(0.7);
}
.project-open:hover img {
  transform: translateY(-5px);
  filter: saturate(1);
}
.project-arrow {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: var(--paper);
  border: 1px solid #bcc7ac;
  padding: 5px 11px;
  font-size: 20px;
  transition: background 0.2s;
}
.project-open:hover .project-arrow {
  background: var(--lime);
}
.project-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}
.project-heading h3 {
  font-size: 22px;
  margin: 0;
  line-height: 1.3;
}
.project-heading .mono {
  font-size: 8px;
  color: #6e785f;
}
.project-card > p {
  font-size: 13px;
  color: #626b58;
  max-width: 460px;
  margin: 12px 0 15px;
}
/* Skills and education */
.foundation-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 50px;
}
.foundation-grid h3.eyebrow {
  margin-bottom: 25px;
  font-size: 9px;
  color: #727e62;
  letter-spacing: 0.04em;
}
.stack-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.stack-list span {
  font-family: var(--mono);
  font-size: 11px;
  border-bottom: 1px solid #d1d9c6;
  padding: 6px 0;
  margin-right: 10px;
}
.education h4 {
  font-weight: 500;
  line-height: 1.5;
  margin: 0 0 10px;
  font-size: 17px;
}
.education > p {
  font-size: 11px;
  color: #707a64;
}
.education-extra {
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 12px;
}
.education-extra p {
  font-size: 12px;
  margin-bottom: 10px;
}
.education-extra span {
  display: block;
  font-size: 10px;
  color: #707a64;
}
.languages > p {
  font-size: 17px;
  margin-bottom: 17px;
}
.languages > p span {
  display: block;
  font-size: 11px;
  color: #707a64;
  margin-top: 2px;
}
.remote-note {
  font-size: 11px;
  line-height: 1.8;
  color: #67755a;
  display: flex;
  gap: 9px;
  margin-top: 23px;
}
.remote-note .status-dot {
  margin-top: 7px;
}
/* Contact and project dialog */
.contact-section {
  background: #e5eacb;
  border-block: 1px solid #d1d9b7;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}
.contact-grid .eyebrow {
  color: #56623e;
  margin-bottom: 29px;
}
.contact-grid h2 {
  font-size: 60px;
  line-height: 1.03;
  margin-bottom: 24px;
}
.contact-grid h2 span {
  color: #657544;
}
.contact-grid > div > p:not(.eyebrow) {
  font-size: 13px;
  max-width: 330px;
  color: #5d684c;
}
.contact-email {
  font-size: 15px;
  display: inline-flex;
  gap: 20px;
  border-bottom: 1px solid #9ba784;
  padding-bottom: 9px;
  margin-top: 9px;
  overflow-wrap: anywhere;
}
.contact-links {
  display: flex;
  gap: 30px;
  margin-top: 22px;
  font-size: 11px;
}
.contact-links a:hover {
  text-decoration: underline;
}
#contact-form {
  padding: 32px;
  border: 1px solid #b8c39a;
  background: #edf0dc;
}
.form-title {
  font-size: 9px;
  margin-bottom: 28px;
}
.form-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
label {
  display: block;
  font-size: 11px;
  margin-bottom: 8px;
}
input,
textarea {
  background: #f4f5ea;
  border: 1px solid #c9d0b7;
  border-radius: 0;
  padding: 13px 12px;
  width: 100%;
  color: var(--ink);
  font-size: 12px;
  margin-bottom: 23px;
}
input::placeholder,
textarea::placeholder {
  color: #707963;
}
textarea {
  resize: vertical;
  min-height: 120px;
  max-height: 500px;
}
#contact-form .button {
  width: 100%;
}
.form-status {
  font-size: 12px;
  line-height: 1.6;
  margin: 14px 0 0;
}
.form-status:empty {
  display: none;
}
.form-status.error {
  color: #8c3527;
}
.form-status.success {
  color: #345722;
}
.form-note {
  font-size: 10px;
  line-height: 1.7;
  margin: 14px 0 0;
  color: #687553;
}
.site-footer {
  min-height: 105px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-footer .wordmark {
  font-size: 13px;
}
.site-footer .brand-symbol {
  font-size: 26px;
  width: 40px;
}
.site-footer p {
  font-size: 8px;
  margin: 0;
  color: #757d6b;
}
.site-footer > span {
  font-size: 10px;
  color: #757d6b;
}
.site-footer > a:last-child {
  font-size: 21px;
}
dialog {
  width: min(800px, calc(100% - 32px));
  max-height: 85vh;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid #a4b18f;
  border-radius: 3px;
  overscroll-behavior: contain;
}
dialog::backdrop {
  background: #151e16bb;
  backdrop-filter: blur(5px);
}
.dialog-inner {
  padding: 38px;
}
.dialog-close {
  position: absolute;
  right: 15px;
  top: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 25px;
}
.dialog-inner > .eyebrow {
  padding-right: 35px;
  color: #687a50;
  margin-bottom: 20px;
}
.dialog-inner h2 {
  font-size: 36px;
  max-width: 90%;
}
.dialog-inner > p:not(.eyebrow),
.dialog-inner li {
  font-size: 14px;
  color: #5b6850;
  line-height: 1.7;
}
.dialog-inner > img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  background: #e7ebdf;
  margin-block: 25px;
}
.dialog-inner h3 {
  font-size: 18px;
}
.dialog-inner ul {
  padding-left: 20px;
  margin-bottom: 25px;
}
body.dialog-open {
  overflow: hidden;
}
/* Secondary text keeps AA contrast on both paper backgrounds. */
.card-top,
.career-meta > span:last-child:not(.mono),
.career-role > span,
.project-heading .mono,
.foundation-grid h3.eyebrow,
.education > p,
.education-extra span,
.languages > p span,
.form-note,
.site-footer p,
.site-footer > span {
  color: #5b6850;
}
@media (min-width: 1600px) {
  .site-header {
    padding-inline: max(64px, calc((100vw - 1312px) / 2));
  }
}
@media (max-width: 1100px) {
  .section-wrap {
    padding-inline: 40px;
  }
  .site-header {
    padding-inline: 40px;
  }
  .hero h1 {
    font-size: 70px;
  }
  .hero-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 10px;
  }
  .hero-art {
    transform: scale(0.87);
    transform-origin: center;
  }
  .hero-intro {
    font-size: 15px;
  }
  .hero-detail {
    font-size: 12px;
  }
  .hero-actions {
    gap: 20px;
  }
  .metrics > div {
    padding-left: 22px;
  }
  .metrics p {
    font-size: 11px;
  }
  .metrics .mono {
    font-size: 7px;
  }
  .section-heading,
  .career {
    grid-template-columns: 1fr 2.5fr;
    gap: 30px;
  }
  .expertise-card {
    padding: 24px;
  }
  .expertise-card h3 {
    font-size: 20px;
  }
  .evaluation-layout {
    gap: 40px;
  }
  .evaluation-copy h2 {
    font-size: 52px;
  }
  .evaluation-steps {
    gap: 14px;
    font-size: 8px;
  }
  .project-visual {
    height: 240px;
    padding-inline: 24px;
  }
  .project-heading {
    align-items: flex-start;
  }
  .project-heading h3 {
    font-size: 20px;
  }
  .project-heading .mono {
    font-size: 7px;
  }
  .foundation-grid {
    gap: 28px;
  }
  .contact-grid {
    gap: 45px;
  }
  .contact-grid h2 {
    font-size: 52px;
  }
  #contact-form {
    padding: 25px;
  }
  .form-pair {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
@media (max-width: 800px) {
  html {
    scroll-padding-top: 85px;
  }
  .site-header {
    height: 80px;
    padding-inline: 25px;
  }
  .site-header nav {
    gap: 20px;
    font-size: 12px;
  }
  .nav-contact {
    margin-left: 0;
    padding: 10px 13px;
  }
  .nav-contact span {
    margin-left: 15px;
  }
  .section-wrap {
    padding-inline: 28px;
  }
  .section-space {
    padding-block: 75px;
  }
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    min-height: 490px;
    padding-block: 40px;
  }
  .hero h1 {
    font-size: 55px;
  }
  .hero-intro {
    font-size: 14px;
  }
  .hero-art {
    transform: scale(0.73);
    width: 390px;
    margin-left: -25px;
  }
  .hero-top {
    font-size: 8px;
  }
  .hero-top .location {
    font-size: 7px;
  }
  .hero-actions {
    gap: 12px;
  }
  .button {
    font-size: 11px;
    gap: 20px;
  }
  .text-link {
    font-size: 11px;
  }
  .hero-bottom .mono {
    font-size: 8px;
  }
  .metrics {
    padding-block: 28px;
  }
  .metrics strong {
    font-size: 40px;
  }
  .metrics strong span {
    font-size: 27px;
  }
  .metrics p {
    max-width: 130px;
    min-height: 32px;
  }
  .metrics > div {
    padding-left: 15px;
  }
  .metrics .mono {
    font-size: 6px;
  }
  .section-heading {
    grid-template-columns: 1fr 2.5fr;
    gap: 20px;
  }
  .section-heading > .eyebrow {
    font-size: 8px;
  }
  .expertise-card {
    padding: 22px 18px;
  }
  .expertise-card h3 {
    font-size: 19px;
  }
  .expertise-card p {
    font-size: 12px;
  }
  .tags span {
    font-size: 7px;
  }
  .evaluation-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .evaluation-copy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 35px;
  }
  .evaluation-copy > .eyebrow {
    grid-column: 1/-1;
    margin-bottom: 20px;
  }
  .evaluation-copy h2 {
    grid-row: 2/5;
    font-size: 50px;
    margin-bottom: 0;
  }
  .evaluation-copy > p:not(.eyebrow) {
    font-size: 13px;
  }
  .evaluation-copy .evaluation-steps {
    margin-block: 0 18px;
  }
  .evaluation-copy .demo-note {
    margin-bottom: 0;
  }
  .code-panel {
    max-width: 600px;
    width: 100%;
    justify-self: center;
  }
  .evaluation-section {
    padding-block: 65px;
  }
  .career {
    grid-template-columns: 1fr 2.5fr;
    gap: 20px;
  }
  .career-meta > .mono {
    font-size: 8px;
  }
  .career-meta > span:last-child:not(.mono) {
    font-size: 10px;
  }
  .career-main h3 {
    font-size: 24px;
  }
  .project-grid {
    gap: 35px 22px;
  }
  .project-visual {
    height: 220px;
    padding-inline: 20px;
  }
  .project-visual img {
    height: 210px;
  }
  .project-heading {
    flex-direction: column;
    gap: 7px;
  }
  .project-card > p {
    font-size: 12px;
  }
  .foundation-grid {
    grid-template-columns: 1fr 1fr;
  }
  .foundation-grid > div:first-child {
    grid-column: 1/-1;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
  }
  .contact-grid {
    gap: 30px;
  }
  .contact-grid h2 {
    font-size: 43px;
  }
  .contact-email {
    font-size: 12px;
    gap: 8px;
  }
  .site-footer .mono {
    display: none;
  }
}
@media (max-width: 620px) {
  .site-header {
    padding-inline: 20px;
    height: 76px;
  }
  .wordmark {
    font-size: 15px;
  }
  .wordmark-sub {
    font-size: 7px;
  }
  .brand-symbol {
    font-size: 28px;
    width: 42px;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 19px;
    border: 1px solid #bbc5af;
    padding: 9px 12px;
    background: transparent;
    font: 11px var(--mono);
  }
  .menu-toggle > span {
    font-size: 17px;
  }
  .site-header nav {
    display: none;
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-shadow: 0 15px 25px #2635190d;
  }
  .site-header nav.is-open {
    display: flex;
  }
  .site-header nav > a {
    padding: 15px 10px;
  }
  .site-header nav > a:not(.nav-contact) {
    border-bottom: 1px solid var(--line);
  }
  .site-header nav > .nav-contact {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    padding-inline: 12px;
  }
  .section-wrap {
    padding-inline: 22px;
  }
  .hero {
    padding-top: 24px;
  }
  .hero-top {
    font-size: 7px;
  }
  .hero-top .location {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 39px;
    padding-bottom: 23px;
    gap: 0;
  }
  .hero h1 {
    font-size: clamp(47px, 10.4vw, 65px);
    margin-bottom: 23px;
  }
  .asterisk {
    margin-left: 12px;
  }
  .hero-intro {
    max-width: 440px;
    font-size: 15px;
  }
  .hero-detail {
    font-size: 12px;
    margin-bottom: 24px;
  }
  .hero-actions {
    gap: 24px;
  }
  .hero-art {
    width: 100%;
    max-width: 390px;
    height: 415px;
    transform: scale(0.84);
    transform-origin: center;
    margin: -8px 0 -30px;
  }
  .hero-bottom {
    padding-block: 20px;
    align-items: center;
  }
  .hero-bottom > .mono {
    font-size: 7px;
    max-width: 155px;
    line-height: 1.6;
  }
  .hero-bottom a {
    font-size: 7px;
    gap: 14px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
    padding-block: 0;
  }
  .metrics > div {
    padding: 25px 0 25px 20px;
    border-bottom: 1px solid #d5dacb;
  }
  .metrics > div:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }
  .metrics > div:nth-child(n + 3) {
    border-bottom: 0;
  }
  .metrics strong {
    font-size: 43px;
  }
  .metrics p {
    font-size: 11px;
    max-width: 150px;
    min-height: 0;
  }
  .metrics .mono {
    font-size: 7px;
  }
  .section-space {
    padding-block: 65px;
  }
  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 33px;
  }
  .section-heading > .eyebrow {
    font-size: 9px;
    padding: 0;
  }
  .section-heading h2 {
    font-size: 36px;
  }
  .section-heading > div > p {
    font-size: 13px;
  }
  .expertise-grid {
    grid-template-columns: 1fr;
  }
  .expertise-card {
    padding: 27px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .expertise-card:first-child {
    border-top: 0;
  }
  .card-top {
    margin-bottom: 21px;
  }
  .expertise-card h3 {
    font-size: 23px;
  }
  .expertise-card p {
    font-size: 13px;
    margin-bottom: 20px;
  }
  .tags span {
    font-size: 8px;
  }
  .evaluation-section {
    padding-block: 60px;
  }
  .evaluation-copy {
    display: block;
  }
  .evaluation-copy .eyebrow {
    font-size: 9px;
    margin-bottom: 26px;
  }
  .evaluation-copy h2 {
    font-size: 49px;
    margin-bottom: 23px;
  }
  .evaluation-copy > p:not(.eyebrow) {
    max-width: 100%;
  }
  .evaluation-copy .evaluation-steps {
    margin-block: 24px;
    font-size: 9px;
    gap: 22px;
  }
  .evaluation-copy .demo-note {
    max-width: 100% !important;
  }
  .editor-top {
    font-size: 8px;
    padding-inline: 12px;
  }
  .editor-top > span:first-child {
    gap: 4px;
  }
  .editor-top i {
    width: 5px;
    height: 5px;
  }
  .task-prompt {
    padding: 17px;
  }
  .code-tabs button {
    padding: 13px;
    font-size: 9px;
  }
  .code-tabs > span {
    font-size: 6px;
    padding-right: 10px;
  }
  .code-panel pre {
    padding: 20px 17px;
    font-size: 11px;
  }
  .run-row {
    padding: 14px 12px;
  }
  .run-row > .mono {
    font-size: 7px;
  }
  .run-row button {
    font-size: 9px;
    padding: 10px;
  }
  .run-row button span {
    margin-left: 5px;
  }
  .evaluation-result {
    padding: 17px;
  }
  .editor-bottom {
    font-size: 6px;
    padding-inline: 12px;
  }
  .career {
    grid-template-columns: 1fr;
    gap: 19px;
    padding-block: 27px;
  }
  .career-meta {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 15px;
  }
  .career-meta > .mono {
    font-size: 9px;
  }
  .career-meta > span:last-child:not(.mono) {
    flex-basis: 100%;
  }
  .career-main h3 {
    font-size: 26px;
  }
  .career-role {
    font-size: 12px;
  }
  .career-main > p:not(.career-role),
  .career-main li {
    font-size: 13px;
  }
  .project-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .project-visual {
    height: 245px;
    padding-inline: 25px;
  }
  .project-visual img {
    height: 235px;
  }
  .project-heading {
    flex-direction: row;
    align-items: center;
  }
  .project-heading h3 {
    font-size: 20px;
  }
  .project-heading .mono {
    font-size: 7px;
  }
  .project-card > p {
    font-size: 13px;
  }
  .foundation-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .foundation-grid > div:first-child {
    grid-column: auto;
  }
  .foundation-grid h3.eyebrow {
    margin-bottom: 18px;
  }
  .education {
    border-bottom: 1px solid var(--line);
    padding-bottom: 20px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 37px;
  }
  .contact-grid h2 {
    font-size: 52px;
  }
  .contact-grid > div > p:not(.eyebrow) {
    max-width: 100%;
  }
  .contact-email {
    font-size: 14px;
    gap: 16px;
  }
  .contact-grid .eyebrow {
    margin-bottom: 25px;
  }
  .form-pair {
    grid-template-columns: 1fr;
  }
  .contact-links {
    font-size: 12px;
  }
  .site-footer {
    min-height: 125px;
    flex-wrap: wrap;
    gap: 16px;
    padding-block: 26px;
  }
  .site-footer .wordmark {
    flex-basis: 60%;
  }
  .site-footer > span {
    order: 3;
    flex-basis: 100%;
    font-size: 9px;
  }
  .site-footer > a:last-child {
    margin-left: auto;
  }
  .dialog-inner {
    padding: 28px 22px;
  }
  .dialog-inner h2 {
    font-size: 28px;
  }
  .dialog-inner > .eyebrow {
    font-size: 8px;
  }
}
@media (max-width: 380px) {
  .hero-art .orbit-one {
    width: 90%;
    height: auto;
    aspect-ratio: 1;
    left: 10%;
    top: 60px;
  }
  .hero h1 {
    font-size: 43px;
  }
  .contact-grid h2 {
    font-size: 44px;
  }
  .project-heading {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-actions {
    gap: 15px;
  }
  .code-tabs > span {
    font-size: 5px;
  }
  .run-row {
    gap: 5px;
  }
  .run-row > .mono {
    font-size: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
