/* Shared visual system: restrained color, editorial typography, native layout. */
:root {
  --paper: #f5f5f0;
  --ink: #202e2b;
  --muted: #596560;
  --accent: #25634e;
  --line: #d9ded5;
  --wash: #e9ede5;
  --white: #fcfcf8;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
  --sans: Inter, "Segoe UI", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: #cce1cc;
}
a {
  color: inherit;
  text-decoration: none;
}
a,
button {
  touch-action: manipulation;
}
a:hover {
  color: var(--accent);
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
button {
  font: inherit;
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.12;
  font-weight: 550;
  letter-spacing: -0.045em;
}
h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
}
h3 {
  font-size: 1.4rem;
  letter-spacing: -0.025em;
}
.container {
  width: min(1184px, calc(100% - 96px));
  margin-inline: auto;
}
.eyebrow {
  font-family: var(--mono);
  text-transform: uppercase;
  font-size: 0.71rem;
  letter-spacing: 0.11em;
  line-height: 1.5;
  font-weight: 500;
}
.muted,
.section-heading > p {
  color: var(--muted);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 24px;
  background: var(--ink);
  color: white;
  padding: 12px 20px;
  z-index: 100;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wordmark {
  font-size: 2rem;
  font-weight: 750;
  letter-spacing: -0.09em;
  line-height: 1;
}
.wordmark span {
  color: var(--accent);
}
nav {
  display: flex;
  gap: 30px;
}
nav a,
.header-contact {
  font-size: 0.8rem;
  font-weight: 550;
  padding-block: 12px;
}
nav a:hover {
  box-shadow: inset 0 -1px var(--accent);
}
.header-contact span {
  margin-left: 12px;
}
.hero {
  padding-top: 70px;
}
.hero > .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}
.location-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.hero h1 {
  font-size: clamp(4rem, 8vw, 7.5rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
  margin: 32px 0 25px;
  font-weight: 550;
}
.hero h1 > span:not(.name-dot) {
  color: var(--accent);
}
.name-dot {
  color: var(--accent);
}
.hero-disciplines {
  font-family: var(--mono);
  font-size: clamp(0.85rem, 1.3vw, 1.05rem);
  letter-spacing: 0.02em;
}
.hero-disciplines span {
  color: #858f88;
  padding-inline: 10px;
}
.hero-description {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 600px;
  color: var(--muted);
  margin-top: 19px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 30px;
}
.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  background: var(--ink);
  color: var(--white);
  padding: 13px 21px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  font-size: 0.85rem;
  transition: background 0.18s;
}
.button:hover {
  color: white;
  background: var(--accent);
  border-color: var(--accent);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  font-weight: 550;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: #a1aaa2;
}
.social-links {
  display: flex;
  gap: 23px;
  font-size: 0.82rem;
  border-left: 1px solid var(--line);
  padding-left: 28px;
}
.social-links a {
  padding-block: 10px;
}
.hero-foot {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding: 22px 0;
  margin-top: 63px;
  font-size: 0.74rem;
  color: var(--muted);
}
.hero-foot p span {
  margin-left: 12px;
}
.hero-foot a {
  font-family: var(--mono);
  white-space: nowrap;
}
.hero-foot a span {
  margin-left: 20px;
}
.section {
  padding-block: 96px;
}
.projects-section {
  background: var(--wash);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 42px;
}
.section-heading .eyebrow,
.about-grid > .eyebrow {
  margin-bottom: 18px;
}
.section-heading > p {
  font-size: 0.86rem;
  line-height: 1.7;
  max-width: 310px;
}
.project-card {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  border-top: 1px solid #c8d1c6;
  padding-block: 34px;
  gap: 48px;
}
.project-card:last-child {
  padding-bottom: 0;
}
.project-visual {
  align-self: start;
  overflow: hidden;
  border: 1px solid #ccd5cb;
  border-radius: 4px;
  background: #dde5da;
  aspect-ratio: 1.7;
  display: flex;
  align-items: center;
  padding: 24px;
}
.project-visual img {
  width: 100%;
  box-shadow: 0 10px 22px #202e2b15;
  border-radius: 2px;
}
.project-copy > .eyebrow {
  color: var(--accent);
  margin-bottom: 13px;
}
.project-copy h3 {
  font-size: 1.65rem;
  margin-bottom: 12px;
}
.project-copy > p:not(.eyebrow) {
  font-size: 0.91rem;
  color: var(--muted);
}
.project-details {
  font-size: 0.83rem;
  margin: 19px 0;
}
.project-details dt {
  font-weight: 650;
  color: var(--ink);
  margin-top: 13px;
}
.project-details dd {
  margin: 3px 0 0;
  color: var(--muted);
}
.tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 20px 0 0;
  padding: 0;
}
.tags li {
  font-family: var(--mono);
  font-size: 0.64rem;
  border: 1px solid #c8d1c6;
  border-radius: 2px;
  padding: 3px 7px;
  color: #3e5246;
  background: #f5f5f066;
}
.project-links {
  display: flex;
  gap: 22px;
  margin-top: 19px;
}
.project-links a {
  font-size: 0.8rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.network-visual {
  background: #20392f;
  color: #dbe8cf;
  position: relative;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: 30px;
}
.network-diagram {
  width: 100%;
  height: auto;
  max-height: 120px;
}
.network-visual .eyebrow {
  align-self: flex-start;
  color: #cedac6;
}
.network-caption {
  font-family: var(--mono);
  font-size: 0.65rem;
  align-self: flex-start;
  color: #b8ccb9;
}
.about-grid,
.education-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 90px;
}
.about-grid h2,
.education-grid h2 {
  margin-top: 18px;
}
.side-note {
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 26px;
}
.about-copy > p {
  margin-bottom: 22px;
  font-size: 0.96rem;
  color: var(--muted);
}
.about-copy .lead {
  font-size: 1.35rem;
  color: var(--ink);
  line-height: 1.55;
  letter-spacing: -0.02em;
}
.interest-note {
  border-left: 2px solid #8ca98b;
  padding-left: 24px;
  margin-top: 30px;
}
.interest-note > .eyebrow {
  color: var(--accent);
}
.interest-note p {
  font-size: 0.89rem;
  color: var(--muted);
  margin-top: 10px;
}
.skills-section {
  border-block: 1px solid var(--line);
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 40px;
  row-gap: 34px;
}
.skill-group {
  padding-top: 21px;
  border-top: 1px solid var(--line);
}
.skill-group h3 {
  font-size: 0.93rem;
  letter-spacing: 0;
  margin-bottom: 17px;
}
.skill-group ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 7px;
}
.skill-group li {
  padding: 5px 10px;
  background: var(--wash);
  font-size: 0.8rem;
  border-radius: 2px;
}
.interests {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.interests h3 {
  font-family: var(--mono);
  font-size: 0.73rem;
  line-height: 1.7;
  letter-spacing: 0;
  text-transform: uppercase;
  max-width: 210px;
  color: var(--accent);
}
.interests p {
  font-size: 0.9rem;
  color: var(--muted);
}
.interests p span {
  padding-inline: 7px;
  color: #7e8d80;
}
.education-list article {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.education-list article > .eyebrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}
.status {
  color: var(--accent);
  border: 1px solid #c8d4c5;
  border-radius: 2px;
  padding: 3px 6px;
  white-space: nowrap;
  font-size: 0.61rem;
}
.education-list h3 {
  font-size: 1.3rem;
  line-height: 1.35;
  margin-bottom: 9px;
}
.education-list article > p:not(.eyebrow) {
  font-size: 0.86rem;
}
.education-list .muted {
  margin-top: 7px;
}
.education-extra p {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 16px;
}
.education-extra p span {
  padding-inline: 12px;
  color: #8b968d;
}
.contact-section {
  background: var(--ink);
  color: var(--paper);
  padding: 65px 0;
}
.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.contact-inner .eyebrow {
  color: #c0d3bb;
  margin-bottom: 19px;
}
.contact-inner h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}
.contact-inner p:not(.eyebrow) {
  color: #c1cac1;
  font-size: 0.86rem;
  margin-top: 14px;
}
.contact-mail {
  font-size: 0.95rem;
  display: flex;
  gap: 25px;
  border-bottom: 1px solid #9bab9c;
  padding-block: 12px;
  overflow-wrap: anywhere;
}
.contact-mail:hover {
  color: #d2e9ba;
}
.contact-section a:focus-visible {
  outline-color: #d2e9ba;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 28px;
  font-size: 0.72rem;
  color: var(--muted);
}
.site-footer p span {
  margin-left: 8px;
}
.certificates-main {
  padding-block: 72px 90px;
}
.certificates-main h1 {
  font-size: clamp(2.7rem, 5vw, 4.5rem);
  margin: 20px 0;
}
.certificates-main > .lead {
  color: var(--muted);
  font-size: 1.08rem;
}
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 50px 0;
}
.certificate-preview {
  display: block;
  background: var(--wash);
  padding: 15px;
  border: 1px solid var(--line);
  margin-bottom: 22px;
}
.certificate-preview img {
  aspect-ratio: 1.42;
  object-fit: contain;
}
.certificate-preview > span {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  margin-top: 14px;
}
.certificate-card .eyebrow {
  font-size: 0.6rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.certificate-card h2 {
  font-size: 1.15rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.certificate-card > p:last-child {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 9px;
}
.certificate-dialog {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 20px;
  background: var(--paper);
  color: var(--ink);
  width: min(1040px, calc(100% - 32px));
  max-height: 90dvh;
  overflow: auto;
}
.certificate-dialog::backdrop {
  background: #13281ddd;
}
.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.dialog-header h2 {
  font-size: 1.05rem;
  letter-spacing: 0;
  line-height: 1.4;
}
.dialog-close {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--wash);
  border-radius: 2px;
}
.certificate-dialog > img {
  width: 100%;
  max-height: 65dvh;
  object-fit: contain;
}
.certificate-dialog > .text-link {
  margin-top: 16px;
}
body:has(dialog[open]) {
  overflow: hidden;
}
@media (min-width: 1500px) {
  .hero {
    padding-top: 86px;
  }
  .hero-foot {
    margin-top: 74px;
  }
}
@media (max-width: 1000px) {
  .container {
    width: calc(100% - 64px);
  }
  .project-card {
    gap: 30px;
    grid-template-columns: 1fr 1fr;
  }
  .project-visual {
    padding: 16px;
  }
  .about-grid,
  .education-grid {
    gap: 45px;
    grid-template-columns: 1fr 1.3fr;
  }
  .contact-inner {
    align-items: start;
    flex-direction: column;
  }
  .certificates-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  html {
    scroll-padding-top: 120px;
  }
  .container {
    width: calc(100% - 40px);
  }
  .header-inner {
    min-height: 100px;
    gap: 0;
    flex-wrap: wrap;
    padding-block: 12px;
  }
  .wordmark {
    font-size: 1.8rem;
  }
  .header-contact {
    font-size: 0.76rem;
    margin-left: auto;
  }
  nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
  }
  nav a {
    font-size: 0.73rem;
    padding-block: 5px;
  }
  .hero {
    padding-top: 43px;
  }
  .hero h1 {
    font-size: clamp(3.35rem, 12vw, 5.3rem);
    margin-top: 26px;
  }
  .hero-description {
    font-size: 1rem;
    line-height: 1.65;
    max-width: 37ch;
  }
  .hero-actions {
    gap: 18px 22px;
    flex-wrap: wrap;
    margin-top: 26px;
  }
  .hero-actions > .text-link {
    font-size: 0.79rem;
  }
  .button {
    padding: 12px 17px;
    gap: 20px;
    font-size: 0.8rem;
  }
  .social-links {
    width: 100%;
    border: 0;
    padding: 0;
    gap: 24px;
  }
  .hero-foot {
    margin-top: 33px;
    font-size: 0.64rem;
    align-items: end;
    gap: 12px;
  }
  .hero-foot p span {
    display: block;
    margin-left: 0;
    margin-top: 2px;
  }
  .hero-foot a span {
    margin-left: 6px;
  }
  .hero-disciplines {
    font-size: 0.82rem;
  }
  .hero-disciplines span {
    padding-inline: 4px;
  }
  .section {
    padding-block: 60px;
  }
  .section-heading {
    display: block;
    margin-bottom: 28px;
  }
  .section-heading > p {
    margin-top: 17px;
    font-size: 0.82rem;
  }
  .project-card {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-block: 28px;
  }
  .project-copy h3 {
    font-size: 1.55rem;
  }
  .project-visual {
    aspect-ratio: 1.8;
    padding: 18px;
  }
  .project-copy > .eyebrow {
    font-size: 0.63rem;
  }
  .about-grid,
  .education-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .side-note {
    display: none;
  }
  .about-copy .lead {
    font-size: 1.2rem;
  }
  .about-copy > p {
    font-size: 0.92rem;
  }
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 18px;
  }
  .skill-group h3 {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  .skill-group li {
    font-size: 0.73rem;
    padding: 4px 8px;
  }
  .interests {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 32px;
  }
  .interests h3 {
    max-width: none;
  }
  .interests p {
    font-size: 0.83rem;
  }
  .education-list article > .eyebrow {
    font-size: 0.65rem;
  }
  .contact-section {
    padding-block: 45px;
  }
  .contact-mail {
    font-size: 0.83rem;
    max-width: 100%;
  }
  .site-footer {
    flex-wrap: wrap;
    font-size: 0.65rem;
  }
  .site-footer p span {
    display: block;
    margin: 3px 0 0;
  }
  .certificates-main {
    padding-block: 44px 65px;
  }
  .certificates-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-block: 32px;
  }
  .certificate-card h2 {
    font-size: 1.25rem;
  }
  .certificates-main > .lead {
    font-size: 0.95rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  .site-header,
  .hero-actions,
  .hero-foot > a,
  .site-footer > a,
  .skip-link,
  dialog {
    display: none;
  }
  .container {
    width: 100%;
  }
  .hero,
  .section,
  .certificates-main {
    padding-block: 24px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .project-card,
  .education-list article,
  .certificate-card {
    break-inside: avoid;
  }
  .project-visual {
    max-width: 320px;
  }
  .contact-section {
    background: white;
    color: var(--ink);
    padding: 24px 0;
  }
  .contact-inner p,
  .contact-inner .eyebrow {
    color: var(--muted);
  }
  .about-grid,
  .education-grid {
    gap: 30px;
  }
}

.project-placeholder {
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 25px;
}
.project-placeholder > span:last-child {
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.04em;
}
