:root {
  color-scheme: light;
  --paper: #f5f4ef;
  --paper-2: #ebeae3;
  --ink: #202923;
  --muted: #5c675f;
  --soft: #5f6a61;
  --line: #d4d6cc;
  --line-dark: #3c4a40;
  --accent: #8fae4f;
  --accent-pale: #e1e9cc;
  --forest: #26362c;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.7 var(--sans); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid #5a781d; outline-offset: 4px; border-radius: 2px; }
.skip-link { position: absolute; top: -60px; left: 16px; z-index: 20; padding: 10px 14px; background: var(--forest); color: white; }
.skip-link:focus { top: 12px; }
.site-header { width: min(1200px, calc(100% - 64px)); min-height: 78px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font: 700 14px var(--sans); letter-spacing: .04em; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 33px; height: 33px; border: 1px solid var(--ink); border-radius: 50%; font: 700 18px var(--serif); }
.brand-caption { color: var(--soft); font-size: 10px; font-weight: 500; letter-spacing: .14em; }
.site-header nav { display: flex; gap: clamp(18px, 3vw, 38px); color: var(--muted); font-size: 13px; }
.site-header nav a, .nav-contact, .site-footer a:last-child { transition: color .18s ease; }
.site-header nav a:hover, .nav-contact:hover, .site-footer a:last-child:hover { color: #5b751f; }
.nav-contact { font-size: 13px; font-weight: 700; }
.nav-contact span { margin-left: 5px; color: var(--accent); }
.section { width: min(1080px, calc(100% - 64px)); margin-inline: auto; }
.hero { min-height: 630px; position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 70px; padding-top: 72px; padding-bottom: 88px; }
.eyebrow { margin: 0 0 19px; color: var(--soft); font: 700 11px/1.5 var(--sans); letter-spacing: .13em; }
.eyebrow-rule { display: inline-block; width: 25px; height: 1px; margin: 0 8px 3px 0; background: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: 700px; margin-bottom: 25px; font: 500 clamp(45px, 6vw, 73px)/1.04 var(--serif); letter-spacing: -.055em; }
.hero h1 em, h2 em { color: #536b35; font-style: italic; }
.hero-summary { max-width: 590px; margin-bottom: 0; color: var(--muted); font-size: 17px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 30px; }
.button { min-height: 47px; display: inline-flex; align-items: center; justify-content: center; gap: 19px; padding: 11px 16px; border: 1px solid transparent; border-radius: 2px; font-size: 13px; font-weight: 700; transition: transform .18s ease, background .18s ease, color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--forest); color: #f8f7f1; }
.button-dark:hover { background: #394b3c; }
.button-dark span { color: #c7de91; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 13px; font-weight: 700; }
.text-link span { color: #637e39; }
.text-link:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; }
.hero-location { margin: 41px 0 0; color: var(--soft); font-size: 12px; letter-spacing: .02em; }
.hero-location span { padding-inline: 9px; color: var(--accent); }
.hero-note { min-height: 330px; position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 24px; border: 1px solid #465749; background: var(--forest); color: #f2f1e9; }
.note-top, .note-bottom { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #c2cbbd; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.hero-note > p { position: relative; z-index: 1; margin: 25px 0; font: 500 clamp(28px, 3.1vw, 39px)/1.27 var(--serif); letter-spacing: -.02em; }
.hero-note > p em { color: #d2e49e; font-style: italic; }
.note-bottom { justify-content: flex-start; font-size: 9px; }
.note-dot { width: 4px; height: 4px; border-radius: 50%; background: #c8e18e; }
.note-watermark { position: absolute; right: -5px; bottom: -105px; color: #ffffff08; font: 400 310px/.9 var(--serif); }
.hero-index { position: absolute; bottom: 28px; left: 0; color: var(--soft); font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.hero-index span { margin-left: 9px; color: #5b751f; }
.trajectory-section, .projects-section, .certificates-section { display: grid; grid-template-columns: 150px 1fr; gap: 40px; padding-top: 90px; padding-bottom: 100px; border-top: 1px solid var(--line); }
.section-label { display: flex; flex-direction: column; gap: 8px; color: var(--soft); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.section-label span:first-child { color: #5f793a; font: 22px var(--serif); letter-spacing: 0; }
.trajectory-content, .projects-content, .certificates-content { min-width: 0; }
.section-heading h2 { max-width: 760px; margin: 0; font: 500 clamp(34px, 4.2vw, 53px)/1.12 var(--serif); letter-spacing: -.045em; }
.trajectory-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 28px; }
.trajectory-copy p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.9; }
.skill-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 36px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.skill-grid div { min-height: 92px; display: flex; flex-direction: column; justify-content: center; gap: 9px; padding: 13px 15px; border-right: 1px solid var(--line); }
.skill-grid div:first-child { padding-left: 0; }
.skill-grid div:last-child { border-right: 0; }
.skill-grid span { color: #71864e; font-size: 10px; }
.skill-grid b { font: 600 13px/1.5 var(--sans); }
.projects-section { padding-bottom: 100px; }
.projects-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 34px; }
.section-aside { max-width: 300px; margin: 0 0 4px; color: var(--muted); font-size: 13px; }
.project { overflow: hidden; border: 1px solid var(--line); background: #f9f8f3; }
.project-featured { display: grid; grid-template-columns: 1.02fr .98fr; margin-bottom: 14px; }
.project-visual { min-height: 260px; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.visual-students { background: #dfe5d7; }
.visual-students::before, .visual-students::after { content: ""; position: absolute; width: 320px; height: 200px; border: 1px solid #64784a33; border-radius: 50%; transform: rotate(-27deg); }
.visual-students::after { width: 270px; height: 280px; border-color: #38543d30; transform: rotate(38deg); }
.visual-kicker, .visual-index { position: absolute; z-index: 1; color: #475749; font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.visual-kicker { top: 18px; left: 20px; }
.visual-index { right: 18px; bottom: 16px; }
.terminal-window { z-index: 1; width: 76%; max-width: 340px; border: 1px solid #647365; background: #25322a; color: #e8eee1; box-shadow: 0 18px 45px #21302420; transform: rotate(-2deg); }
.terminal-bar { height: 31px; display: flex; align-items: center; gap: 5px; padding: 0 10px; border-bottom: 1px solid #71817165; }
.terminal-bar i { width: 6px; height: 6px; border-radius: 50%; background: #a5b696; }
.terminal-bar span { margin-left: auto; color: #c3cdbd; font: 9px var(--sans); }
.terminal-content { min-height: 126px; padding: 14px 17px; font: 12px/1.9 Consolas, monospace; }
.terminal-content p { margin: 0; }
.terminal-content b { padding-right: 8px; color: #c2df8b; }
.terminal-active { color: #d8e7c7; }
.terminal-cursor { display: inline-block; width: 7px; height: 13px; margin-top: 3px; background: #c2df8b; vertical-align: middle; }
.project-copy { padding: 28px; }
.project-copy .eyebrow { margin-bottom: 10px; font-size: 10px; }
.project-copy h3 { margin: 0 0 12px; font: 500 26px/1.2 var(--serif); letter-spacing: -.025em; }
.project-copy > p:not(.eyebrow) { margin-bottom: 20px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.project-meta { display: flex; gap: 18px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 11px; }
.project-meta span { min-width: 88px; color: var(--soft); font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.project-meta b { color: #3a473d; font-weight: 600; }
.project-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 17px; color: #4f6b2b; font-size: 12px; font-weight: 700; }
.project-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.project-standard { display: flex; flex-direction: column; }
.project-standard .project-visual { min-height: 190px; }
.visual-sipe { background: #e9e8df; }
.visual-sipe::before { content: ""; position: absolute; width: 220px; height: 220px; border: 1px solid #77905133; border-radius: 50%; }
.flow-chart { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 9px; width: 92%; }
.flow-chart span { padding: 9px 10px; border: 1px solid #9ca993; background: #f5f4ef; color: #334235; font-size: 10px; text-align: center; }
.flow-chart i { color: #6d853c; font-style: normal; }
.visual-article { background: #ede3d3; }
.visual-article::before { content: ""; position: absolute; inset: 18px; border: 1px solid #917c5d45; }
.article-quote { position: relative; max-width: 85%; color: #473e33; font: italic 26px/1.3 var(--serif); text-align: center; }
.project-studio { grid-column: 1 / -1; display: grid; grid-template-columns: 190px 1fr; align-items: center; min-height: 160px; padding: 10px 20px; background: #eff0e6; }
.studio-mark { display: grid; place-items: center; width: 110px; height: 110px; border: 1px solid #899973; border-radius: 50%; color: #3e5842; font: 500 40px var(--serif); letter-spacing: -.1em; }
.studio-mark span { color: #708b46; font-size: 20px; vertical-align: top; }
.project-studio .project-copy { padding: 20px 15px; }
.project-studio .project-copy h3 { font-size: 23px; }
.project-studio .project-copy > p:not(.eyebrow) { max-width: 680px; margin-bottom: 0; }
.certificates-section { padding-bottom: 105px; }
.certificates-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 30px; }
.certificates-heading .section-heading h2 { max-width: 620px; }
.certificate-list { border-top: 1px solid var(--ink); }
.certificate-item { min-height: 98px; display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 15px; padding: 16px 5px; border-bottom: 1px solid var(--line); }
.certificate-number { color: #71864e; font: 20px var(--serif); }
.certificate-item h3 { margin: 0 0 4px; font: 500 19px/1.35 var(--serif); }
.certificate-item p { margin: 0; color: var(--muted); font-size: 12px; }
.certificate-item p span { padding: 0 5px; color: var(--accent); }
.certificate-item > a { display: inline-flex; align-items: center; gap: 8px; color: #4f6b2b; font-size: 12px; font-weight: 700; }
.certificate-item > a:hover { text-decoration: underline; text-underline-offset: 4px; }
.certificate-note { margin: 17px 0 0; color: var(--muted); font-size: 13px; }
.contact-section { background: var(--forest); color: #f3f2eb; }
.contact-inner { min-height: 270px; display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: 55px; padding-top: 58px; padding-bottom: 58px; }
.contact-inner .eyebrow { color: #bdc7b8; }
.contact-inner h2 { margin: 0; font: 500 clamp(37px, 4.4vw, 54px)/1.12 var(--serif); letter-spacing: -.04em; }
.contact-inner h2 em { color: #d0e39d; }
.contact-copy p { max-width: 430px; margin-bottom: 18px; color: #d0d5cb; font-size: 14px; }
.button-light { background: #f0efe7; color: #26362c; }
.button-light:hover { background: #dce8c1; }
.site-footer { width: min(1200px, calc(100% - 64px)); min-height: 80px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--soft); font-size: 11px; }
.site-footer .brand { color: var(--ink); font-size: 12px; }

@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr .82fr; gap: 30px; }
  .hero-note { min-height: 300px; }
  .trajectory-section, .projects-section, .certificates-section { grid-template-columns: 110px 1fr; gap: 25px; }
  .skill-grid { grid-template-columns: repeat(2, 1fr); }
  .skill-grid div:nth-child(2) { border-right: 0; }
  .skill-grid div:nth-child(3), .skill-grid div:nth-child(4) { border-top: 1px solid var(--line); }
  .project-featured { grid-template-columns: 1fr .95fr; }
}
@media (max-width: 650px) {
  html { scroll-padding-top: 20px; }
  .site-header { width: calc(100% - 40px); min-height: 70px; flex-wrap: wrap; gap: 12px; padding: 14px 0 10px; }
  .site-header nav { order: 3; width: 100%; gap: 24px; overflow-x: auto; padding: 3px 0 5px; white-space: nowrap; }
  .nav-contact { margin-left: auto; }
  .section { width: calc(100% - 40px); }
  .hero { display: block; padding-top: 57px; padding-bottom: 73px; }
  .hero h1 { font-size: clamp(43px, 11vw, 60px); }
  .hero-summary { font-size: 15px; }
  .hero-note { min-height: 255px; margin-top: 38px; }
  .hero-note > p { font-size: 31px; }
  .hero-index { bottom: 22px; }
  .trajectory-section, .projects-section, .certificates-section { display: block; padding-top: 62px; padding-bottom: 70px; }
  .section-label { flex-direction: row; align-items: center; gap: 10px; margin-bottom: 24px; }
  .section-label span:first-child { font-size: 18px; }
  .section-heading h2 { font-size: clamp(34px, 8.5vw, 44px); }
  .trajectory-copy { grid-template-columns: 1fr; gap: 16px; margin-top: 22px; }
  .skill-grid { margin-top: 25px; }
  .skill-grid div { min-height: 83px; padding: 11px; }
  .skill-grid div:first-child { padding-left: 11px; }
  .skill-grid b { font-size: 12px; }
  .projects-heading, .certificates-heading { display: block; }
  .section-aside { margin-top: 15px; }
  .project-featured { display: block; }
  .project-featured .project-visual { min-height: 238px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-studio { grid-column: auto; grid-template-columns: 82px 1fr; gap: 12px; padding: 10px; }
  .studio-mark { width: 72px; height: 72px; font-size: 27px; }
  .project-studio .project-copy { padding: 16px 8px; }
  .project-copy { padding: 21px; }
  .project-copy h3 { font-size: 23px; }
  .flow-chart { gap: 5px; }
  .flow-chart span { padding: 8px 6px; font-size: 9px; }
  .certificates-heading .text-link { margin-top: 19px; }
  .certificate-item { grid-template-columns: 32px 1fr; gap: 11px; padding: 17px 2px; }
  .certificate-item h3 { font-size: 17px; }
  .certificate-item > a { grid-column: 2; margin-top: 4px; }
  .contact-inner { min-height: 0; display: block; padding-top: 58px; padding-bottom: 60px; }
  .contact-copy { margin-top: 22px; }
  .site-footer { width: calc(100% - 40px); min-height: 105px; flex-wrap: wrap; padding: 18px 0; }
  .site-footer > span { order: 3; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
