/* One landscape unites Hero and Education. Warm supporting sections and white
   research surfaces echo the photograph without competing with project media. */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f4e1d3;
  --ink: #111111;
  --sub: var(--ink);
  --line: var(--ink);
  --line-strong: var(--ink);
  --lime: #d5eb9a;
  --accent: #405b29;
  --brand-blue: #0a66c2;
  --accent-deep: #293f19;
  --forest: var(--ink);
  --radius: 0;
  --shadow: none;
  --page-gutter: clamp(20px, 4vw, 64px);
  --page-width: 1180px;
}

html, body { background: var(--bg); color: var(--ink); }
body { font-size: 1rem; line-height: 1.8; }
::selection, body::selection { background: var(--lime); color: var(--ink); }
.wrap, .hero-modern.wrap { width: min(var(--page-width), calc(100% - var(--page-gutter) * 2)); }
h1, h2, h3 { text-wrap: pretty; }
a, button, input, textarea { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible,
.science-showcase__frame:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
.eyebrow { color: var(--ink); font-size: .8125rem; font-weight: 600; letter-spacing: .1em; }
.portfolio-home .sectionhead > div > .eyebrow,
.about-copy > .eyebrow {
  display: inline-flex; align-items: center; gap: 11px;
}
.portfolio-home .sectionhead > div > .eyebrow::before,
.about-copy > .eyebrow::before {
  content: ""; width: 18px; height: 4px; flex: 0 0 18px; background: var(--accent);
}
#experience .sectionhead > div > .eyebrow::before { background: var(--accent); }
#projects .sectionhead > div > .eyebrow::before { background: var(--ink); }
.section { padding-block: clamp(80px, 8vw, 112px); }
.sectionhead { margin-bottom: 48px; }
.sectionhead h2, .about h2, .contact h2 {
  margin-top: 16px;
  color: var(--ink);
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.14;
  font-weight: 650;
  letter-spacing: -.045em;
}
.portfolio-home section[id] { scroll-margin-top: 83px; }

/* Consistent, lightweight navigation. */
.nav, .sff-project-page .nav, .industry-game-page .nav {
  height: 84px; gap: 30px;
  background: transparent; color: var(--ink); backdrop-filter: none;
}
.nav::before {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.brand { font-size: 1.875rem; }
.brand-dot,
.footer-name-dot {
  display: inline-block;
  width: .13em;
  height: .13em;
  margin-left: .08em;
  vertical-align: baseline;
  border-radius: 50%;
  background: currentColor;
  color: var(--brand-blue);
  line-height: 0;
  letter-spacing: 0;
  overflow: hidden;
  user-select: none;
}
.footer-name-dot { font-size: 1.8em; }

.period { color: var(--ink); }
.navlinks { gap: clamp(18px, 2.25vw, 30px); font-size: .875rem; }
.navlinks a { color: var(--sub); }
.navlinks a:hover, .navlinks a.is-current { color: var(--ink); }
.navlinks a::after { height: 2px; background: var(--ink); }
.navmark { color: var(--ink); font-size: .75rem; margin-left: 12px; }
.nav-toggle { color: var(--ink); }

/* A single, responsive photograph across the introduction and both degrees. */
.intro-scene { position: relative; isolation: isolate; background: #fff; }
.intro-scene::before {
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.66), rgba(255,255,255,.4)),
    url("assets/campus-rhine-background.webp") center center / cover no-repeat;
}
/* Dark, high-contrast type lets the softly lit landscape remain visible. */
.hero-modern.wrap {
  width: 100%; max-width: none;
  padding: 40px max(var(--page-gutter), calc((100% - var(--page-width)) / 2)) 76px;
  background: transparent; color: var(--ink);
}
.hero-modern .hero-meta { padding-bottom: 22px; border-bottom: 1px solid var(--line); gap: 24px; }
.hero-modern .hero-meta .eyebrow { color: var(--ink); font-size: .8125rem; }
.hero-modern .status { color: var(--ink); font-size: .875rem; }
.status i { background: var(--ink); }
.hero-modern .status i { background: var(--ink); }
.hero-modern .period { color: var(--ink); }
.hero-modern a:focus-visible { outline-color: var(--ink); }
.hero-layout {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: start; gap: clamp(44px, 6.5vw, 88px); margin-top: 52px;
}
.hero-modern h1 {
  max-width: none; margin: 0 0 30px;
  font-size: clamp(4rem, 7.8vw, 6.75rem);
  line-height: 1.02; letter-spacing: -.06em; font-weight: 700; color: var(--ink);
}
.hero-modern .hero-fields { max-width: 35rem; margin-bottom: 16px; color: var(--ink); font-size: 1.0625rem; }
.hero-modern .hero-equation {
  margin: 0 0 28px; padding: 0; border: 0;
  background: transparent; color: var(--ink);
  font-size: .8125rem; letter-spacing: .085em;
}
.hero-modern .hero-description { max-width: 37rem; font-size: 1rem; line-height: 1.85; color: var(--ink); }
.hero-modern .textlink {
  margin-top: 28px; padding: 5px 0;
  border: 0; border-bottom: 1px solid var(--ink);
  background: transparent; color: var(--ink);
  font-size: .9375rem; font-weight: 600; transition: none;
}
.hero-modern .textlink:hover { color: var(--ink); background: transparent; text-decoration: underline; text-underline-offset: 5px; }
.hero-visual { display: block; min-width: 0; padding: 0; }
.hero-visual::before { content: none; }
.hero-modern .portrait {
  width: 100%; max-width: none; aspect-ratio: 1; object-fit: cover;
  border: 0; border-radius: 0; filter: none; box-shadow: none;
}
.hero-profile-footer {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 22px;
  align-items: stretch; padding-top: 23px; margin-top: 0;
}
.hero-modern .hero-aside {
  position: static; margin: 0; padding: 0; width: auto;
  border: 0; background: transparent; box-shadow: none; gap: 5px;
}
.hero-modern .hero-aside > span { margin: 0 0 3px; color: var(--ink); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.hero-modern .hero-aside strong { color: var(--ink); font-size: .9375rem; font-weight: 600; line-height: 1.55; }
.hero-modern .hero-aside small { color: var(--ink); font-size: .875rem; line-height: 1.6; }
.hero-linkedin {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between;
  gap: 14px; min-width: 104px; padding: 0 0 0 22px;
  border-left: 1px solid var(--line); color: var(--ink);
}
.linkedin-symbol {
  display: grid; place-items: center; width: 30px; height: 30px;
  background: var(--ink); color: #fff;
  font: 800 23px/1 Arial, sans-serif; letter-spacing: -.06em; padding-right: 2px;
}
.linkedin-label { font-size: .75rem; line-height: 1.4; color: var(--ink); }
.linkedin-label strong { display: block; color: var(--ink); font-size: .9375rem; font-weight: 600; }
.hero-linkedin:hover .linkedin-symbol { background: transparent; color: var(--ink); outline: 1px solid var(--ink); }
.hero-linkedin:hover .linkedin-label strong { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* Education and experience share a clear editorial rhythm. */
#research.section.wrap {
  --education-top-space: clamp(36px, 4vw, 56px);
  position: relative;
  width: 100%; max-width: none; margin: 0;
  padding: var(--education-top-space) max(var(--page-gutter), calc((100% - var(--page-width)) / 2)) clamp(76px, 7vw, 100px);
  background: transparent;
  color: var(--ink); border-top: 0;
}
/* No separate picture or panels: the campus continues behind both degrees. */
#research.section.wrap::before { content: none; }
#research .sectionhead {
  min-height: 0; align-items: start; margin-bottom: 44px; padding: 0; border: 0;
}
#research .sectionhead > div > .eyebrow { color: var(--ink); font: 600 .8125rem/1.6 Manrope, sans-serif; letter-spacing: .1em; }
#research .sectionhead h2 { margin: 16px 0 0; font: 650 clamp(2.1rem, 4vw, 3.4rem)/1.14 Manrope, sans-serif; letter-spacing: -.045em; }
#research .education { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 6vw, 80px); }
#research .education > div {
  min-height: 0; padding: 25px 0 0; border: 0; border-top: 1px solid var(--ink);
  border-radius: 0; background: transparent; box-shadow: none;
}
#research a:focus-visible { outline-color: var(--ink); }
#research .education > div::before, #research .education > div::after { content: none; }
#research .education .eyebrow {
  display: block; margin: 0; padding: 0; background: transparent;
  color: var(--ink); font: 600 .8125rem/1.6 Manrope, sans-serif; letter-spacing: .075em;
}
#research .education h3 {
  max-width: 100%; margin: 22px 0 20px; padding: 0;
  font: 650 clamp(1.65rem, 2.45vw, 2.15rem)/1.25 Manrope, sans-serif; letter-spacing: -.035em;
}
#research .education h3 a { border-bottom-color: var(--line); text-decoration: none; }
#research .education h3 a:hover { color: var(--ink); border-bottom-color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
#research .education p { margin: 0; color: var(--sub); font-size: 1rem; line-height: 1.8; }
#research .education .education-institution { color: var(--ink); font-size: 1rem; font-weight: 500; }
#research .education .education-detail { margin-top: 9px; color: var(--sub); font-size: 1rem; }
.dark, #experience { background: var(--surface-soft); color: var(--ink); }
.dark::before { content: none; }
#experience { border-top: 0; }
.dark .eyebrow, #experience .eyebrow { color: var(--ink); }
#experience .sectionhead { margin-bottom: 44px; }
#experience .sectionhead h2 {
  max-width: none; color: var(--ink); font-size: clamp(1.4rem, 4.1vw, 3.4rem);
  white-space: nowrap; letter-spacing: -.045em;
}
.timeline { border-color: var(--line); }
.timeline > div { grid-template-columns: minmax(160px, 24%) minmax(0, 1fr); padding: 32px 0; border-color: var(--line); gap: 24px; }
.timeline time { padding-top: 5px; color: var(--accent); font-size: .875rem; }
.timeline h3 { color: var(--ink); font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 600; line-height: 1.35; }
.timeline strong { margin-top: 6px; font-size: 1rem; font-weight: 500; color: var(--ink); }
.timeline p { margin-top: 13px; color: var(--ink); font-size: 1rem; }
.timeline strong a { border-bottom-color: var(--accent); text-decoration-color: var(--accent); }
.timeline strong a:hover { color: var(--accent-deep); border-bottom-color: var(--accent-deep); }
.timeline a:focus-visible { outline-color: var(--accent); }

/* An open white gallery with quiet dividers and neutral interactive feedback. */
#projects {
  width: 100%; max-width: none;
  padding-inline: max(var(--page-gutter), calc((100% - var(--page-width)) / 2));
  background: #fff; border: 0;
}
#projects .sectionhead { grid-template-columns: .9fr 1.1fr; gap: 60px; padding-top: 32px; border-top: 1px solid var(--ink); }
#projects .sectionhead h2 { white-space: nowrap; font-size: clamp(2rem, 4.1vw, 3.4rem); }
#projects .sectionhead > p { max-width: 40rem; color: var(--sub); line-height: 1.85; }
.projectgrid { gap: 62px 40px; }
.project-link, .projectcard { border-radius: 0; box-shadow: none; }
.projectcard { color: var(--ink); background: #fff; border: 0; overflow: visible; }
.project-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 8px; }
.projectcard .cardimage { height: auto; aspect-ratio: 16 / 10; background: #fff; overflow: hidden; border: 0; }
.projectcard .cardimage img, .projectcard .cardimage video { filter: none; object-fit: cover; transition: none; }
.projectcard .cardimage.ba-photo img { object-position: 50% 52%; }
.projectcard .cardbody { padding: 25px 0 0; background: #fff; }
.cardbody .eyebrow { color: var(--sub); font-size: .75rem; letter-spacing: .07em; }
.cardbody h3 { margin: 13px 0 16px; color: var(--ink); font-size: clamp(1.5rem, 2.2vw, 1.9rem); font-weight: 650; line-height: 1.25; }
.cardbody p { color: var(--sub); font-size: 1rem; line-height: 1.8; margin-bottom: 24px; }
.cardbody small { color: var(--ink); border-color: var(--line); font-size: .875rem; line-height: 1.65; }
.project-cta {
  display: inline-block; width: max-content; margin-top: 21px; padding: 5px 0;
  color: var(--ink); border-bottom: 1px solid var(--ink); font-size: .875rem; font-weight: 600;
  transition: background-color 180ms ease, color 180ms ease, padding 180ms ease;
}
.projectcard--featured { grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr); gap: 40px; align-items: center; }
.projectcard--featured .cardimage { min-height: 410px; aspect-ratio: auto; height: 100%; border: 0; }
.projectcard--featured .cardbody { padding: 12px 0; background: #fff; }
.projectcard--featured .cardbody h3 { color: var(--ink); font-size: clamp(1.8rem, 2.6vw, 2.3rem); }
.projectcard--featured .cardbody .eyebrow,
.projectcard--featured .cardbody p,
.projectcard--featured .cardbody small { color: var(--sub); }
.projectcard--featured .cardbody small { border-color: var(--line); }
#projects .remote-sensing-image { background: #fff; border: 0; }
#projects .remote-sensing-image img { object-fit: contain; padding: 18px; filter: none; }
#projects .projectcard { transform: none; box-shadow: none; outline: 1px solid transparent; outline-offset: 8px; transition: transform 180ms ease, outline-color 180ms ease; }
.projectcard:hover .cardimage img, #projects .remote-sensing-card:hover .cardimage img { transform: none; }
#projects .project-link:focus-visible .projectcard {
  transform: translateY(-2px); box-shadow: none;
}
#projects .project-link:focus-visible h3 { color: var(--ink); }
#projects .project-link:focus-visible .project-cta {
  padding-inline: 12px; background: var(--ink); color: #fff; border-color: var(--ink);
}
@media (hover: hover) and (pointer: fine) {
  #projects .project-link:hover .projectcard {
    transform: translateY(-2px); outline-color: var(--ink); box-shadow: none;
  }
  #projects .project-link:hover h3 { color: var(--ink); }
  #projects .project-link:hover .project-cta {
    padding-inline: 12px; background: var(--ink); color: #fff; border-color: var(--ink);
  }
}
@media (hover: none) {
  #projects .project-link:active .projectcard { outline-color: var(--ink); box-shadow: none; }
}

/* Lab imagery remains large, with quiet captions beneath the frame. */
.lab-card, .lab-card-image { background: #fff; border-color: var(--line); border-radius: 0; }
.science-showcase { margin-top: clamp(80px, 8vw, 110px); }
.science-showcase h2 {
  max-width: none; margin-bottom: 26px; padding-top: 26px;
  color: var(--sub); border-color: var(--line);
  font-size: clamp(.875rem, 1.4vw, 1.08rem); letter-spacing: .08em; line-height: 1.5;
}
.science-showcase__frame { aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: 0; box-shadow: none; background: #fff; }
.science-showcase__frame img { background: #fff; object-fit: contain; }
.science-showcase__caption {
  grid-template-columns: auto minmax(0, 1fr); gap: 22px; min-height: 70px; padding: 18px 0;
  color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
}
.science-showcase__status { color: var(--ink); font-size: .8125rem; }
.science-showcase__caption-copy { overflow-x: auto; scrollbar-width: thin; }
.science-showcase__title { padding: 0; color: var(--ink); font-size: clamp(1rem, 1.45vw, 1.2rem); font-weight: 600; white-space: nowrap; }

/* About stays in the same visual language as the research content. */
.about { background: var(--surface-soft); color: var(--ink); border-top: 0; }
.about::before { content: none; }
.about-modern { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(44px, 7vw, 96px); align-items: start; }
.lab-photo { margin: 0; padding: 0; border: 0; }
.lab-photo img { aspect-ratio: 4 / 5; border-radius: 0; filter: none; }
.about .eyebrow { color: var(--ink); }
.about-copy h2 { margin: 16px 0 28px; font-size: clamp(2.1rem, 3.65vw, 3.3rem); }
.about-copy h2 em { color: var(--ink); }
.about-copy p { max-width: 39rem; color: var(--sub); font-size: 1rem; line-height: 1.85; }
#about .about-toolkit { max-width: 39rem; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--ink); }
#about .about-toolkit::before { content: none; animation: none; }
#about .about-toolkit-label { color: var(--accent); font-size: .8125rem; letter-spacing: .08em; }
#about .about-toolkit-core { margin-top: 15px; color: var(--ink); font-size: 1.25rem; font-weight: 600; }
#about .about-toolkit-workflow, #about .about-toolkit-engineering { color: var(--sub); font-size: .9375rem; }
#about .about-toolkit ul { column-gap: 20px; row-gap: 8px; }

/* One confident color field, with open form fields and black type. */
#contact.section.wrap {
  width: 100%; max-width: none; margin: 0;
  padding: clamp(80px, 8vw, 112px) max(var(--page-gutter), calc((100% - var(--page-width)) / 2));
  background: var(--lime); color: var(--ink); border-top: 0;
}
.contact-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(44px, 7vw, 96px); }
.contact-intro .eyebrow { color: var(--ink); }
.contact-intro h2 { color: var(--ink); font-size: clamp(2.1rem, 3.6vw, 3.15rem); }
.contact-intro > p { color: var(--sub); }
.contact-email { color: var(--ink); border-bottom-color: var(--ink); font-size: 1rem; }
.contact-email:hover { color: var(--ink); border-bottom-width: 2px; }
.contact-form { padding: 8px 0 0; border: 0; border-radius: 0; background: transparent; color: var(--ink); box-shadow: none; }
.contact-fields { gap: 0 26px; }
.form-field { gap: 6px; margin-bottom: 25px; }
.form-field label { color: var(--ink); font-size: .875rem; font-weight: 600; }
.form-field input, .form-field textarea {
  padding: 9px 0 12px; background: transparent; color: var(--ink);
  border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; font-size: 1rem;
}
.form-field textarea { min-height: 112px; }
.form-field input:focus, .form-field textarea:focus { border-bottom-color: var(--ink); outline: 2px solid var(--ink); outline-offset: 5px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--ink); opacity: 1; }
.contact .form-note { max-width: 38rem; margin: 14px 0; color: var(--sub); font-size: .875rem; line-height: 1.65; }
.contact-send {
  width: max-content; min-height: 46px; padding: 11px 23px;
  background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: 0; font-size: .9375rem;
}
.contact-send:hover { background: #fff; color: var(--ink); border-color: var(--ink); }
footer { padding: 30px 0; border-color: var(--line); background: #fff; color: var(--sub); }
.footergrid { gap: 24px; font-size: .875rem; }
.footergrid strong { color: var(--ink); font-size: .8125rem; }
.footergrid a:hover { color: var(--accent); }

/* Project detail pages: open white surfaces, controlled reading widths. */
.back, .sff-back { color: var(--sub); border-color: var(--line-strong); font-size: .875rem; }
.back:hover, .sff-back:hover { color: var(--ink); border-color: var(--ink); box-shadow: 0 3px 0 var(--lime); }
.case { padding-top: 40px; }
.project-page-status {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 2rem;
  margin-top: 24px; padding: clamp(16px, 2vw, 24px);
  border: 1px solid rgba(10, 102, 194, .25);
  border-inline-start: 3px solid var(--brand-blue);
  background: #fff; color: var(--ink);
}
.project-page-status > strong {
  font-size: 1rem; font-weight: 700; line-height: 1.6; color: var(--brand-blue);
}
.project-page-status > p {
  flex: 1 1 32rem; min-width: 0; margin: 0;
  font-size: 1rem; line-height: 1.6; overflow-wrap: break-word;
}
.casehero {
  min-height: 410px; margin-top: 24px; gap: 40px;
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  background: #fff; box-shadow: none; padding-bottom: 42px;
}
.casehero > div:first-child { padding: 12px 0; }
.casehero h1 { color: var(--ink); font-size: clamp(2.6rem, 4.4vw, 4.15rem); font-weight: 650; line-height: 1.1; letter-spacing: -.045em; }
.casehero p { color: var(--sub); font-size: 1rem; line-height: 1.85; }
.casehero > img { min-height: 0; border: 1px solid var(--line); background: #fff; object-fit: contain; filter: none; }
.casehero > .plasma-hero-image { height: auto; align-self: center; }
.casehero > img[src*="remote-sensing"] { padding: 24px; background: #fff; filter: none; }
.casebody { max-width: 900px; margin-top: 70px; }
.casebody .lead { color: var(--ink); font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.75; }
.casebody h2 { margin: 62px 0 22px; color: var(--ink); font-size: clamp(1.75rem, 2.7vw, 2.2rem); font-weight: 650; line-height: 1.25; }
.casebody > p:not(.lead), .casebody li { color: var(--sub); font-size: 1rem; line-height: 1.85; }
.casebody figure { margin-block: 48px; }
.casebody figure img, .casebody video { border-radius: 0; }
.casebody figure img { background: #fff; filter: none; }
.casebody figcaption { margin-top: 13px; color: var(--sub); font-size: .875rem; line-height: 1.65; }
.callout {
  padding: 25px 28px; border: 0; border-left: 2px solid var(--accent);
  border-radius: 0; background: var(--surface-soft); color: var(--ink);
}
.callout p { color: var(--sub); }
.factrow small { color: var(--accent); font-size: .75rem; }
.factrow strong { color: var(--ink); }
.steps span, .featurepanel span { background: transparent; border: 1px solid var(--line); color: var(--sub); font-size: .8125rem; }
.next a, .sff-next a { color: var(--ink); border-color: var(--ink); border-bottom-width: 1px; }
.next a:hover, .sff-next a:hover { color: var(--accent-deep); }
.legal-page h1, .legal-page h2 { color: var(--ink); }
.legal-page p, .legal-page address { color: var(--sub); }
.legal-page a { text-decoration: underline; text-underline-offset: 4px; }

/* Bachelor thesis: the experimental figures provide the visual emphasis. */
.sff-project-page { background: #fff; color: var(--ink); }
.sff-project-page figcaption { color: var(--sub); font-size: .875rem; }
.sff-hero-shell { background: #fff; color: var(--ink); }
.sff-hero { padding-bottom: 76px; }
.sff-back { margin-bottom: 48px; }
.sff-kicker, .sff-section-head .sff-kicker, .sff-story-number { color: var(--accent); font-size: .8125rem; font-weight: 600; letter-spacing: .1em; }
.sff-hero-copy h1 { color: var(--ink); font-size: clamp(3.4rem, 6.3vw, 5.7rem); line-height: 1.02; letter-spacing: -.055em; font-weight: 650; }
.sff-hero-copy h1 em { color: var(--accent); font-weight: inherit; }
.sff-hero-lede { color: var(--sub); font-size: 1.0625rem; line-height: 1.85; }
.sff-tags { gap: 8px 18px; margin-top: 28px; }
.sff-tags span { padding: 0; border: 0; border-radius: 0; color: var(--sub); font-size: .8125rem; }
.sff-video-frame, .sff-video-card, .sff-video-card .sff-video-frame,
.sff-method-figure, .sff-process-grid, .sff-validation-figure,
.sff-result-panel, .sff-contribution-grid,
.sff-image-pair img, .sff-registration-grid img, .sff-macro-grid img,
.sff-validation-figure img, .sff-setup-photo img { border-radius: 0; box-shadow: none; }
.sff-video-frame { border-color: var(--line); background: var(--surface-soft); }
.sff-media-index { border: 1px solid var(--ink); border-radius: 0; background: #fff; color: var(--ink); backdrop-filter: none; }
.sff-hero-media figcaption { color: var(--sub); }
.sff-hero-results { margin-top: 48px; }
.sff-hero-results, .sff-hero-results div { border-color: var(--line); }
.sff-hero-results strong { color: var(--ink); font-size: clamp(1.5rem, 2.5vw, 2rem); }
.sff-hero-results span { color: var(--sub); font-size: .8125rem; }
.sff-local-nav { background: #fff; border-top: 1px solid var(--line); border-bottom-color: var(--line); backdrop-filter: none; }
.sff-local-nav a { color: var(--sub); font-size: .875rem; }
.sff-local-nav a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.sff-section { padding-block: clamp(76px, 8vw, 112px); }
.sff-section-head, .sff-band-head { margin-bottom: 44px; }
.sff-section-head h2, .sff-band-head h2 { color: var(--ink); font-size: clamp(2rem, 3.8vw, 3.3rem); font-weight: 650; line-height: 1.14; letter-spacing: -.045em; }
.sff-section-head p, .sff-band-head p, .sff-story-copy p { color: var(--sub); font-size: 1rem; line-height: 1.85; }
.sff-method-figure { padding: 18px; background: #fff; border: 1px solid var(--line); }
.sff-method-figure figcaption { color: var(--sub); }
.sff-process-grid { border-color: var(--line); background: var(--line); }
.sff-process-grid li { min-height: 212px; padding: 25px; background: #fff; color: var(--ink); }
.sff-process-grid h3 { margin-top: 32px; font-size: 1.18rem; }
.sff-process-grid li > span, .sff-contribution-grid > div > span { color: var(--accent); font-size: .8125rem; }
.sff-process-grid p, .sff-contribution-grid p { color: var(--sub); font-size: .9375rem; }
.sff-motion-band, .sff-contribution-band {
  padding-block: clamp(76px, 8vw, 112px); border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line); background: #fff; color: var(--ink);
}
.sff-video-grid { gap: 36px; }
.sff-video-card { padding: 0; background: #fff; border: 0; }
.sff-video-card .sff-video-frame { border: 1px solid var(--line); }
.sff-video-card figcaption { padding: 16px 0 0; color: var(--sub); }
.sff-video-card figcaption strong { color: var(--ink); font-size: 1rem; font-weight: 600; }
.sff-setup-photo { border: 0; padding: 0; }
.sff-setup-photo img { filter: none; height: auto; }
.sff-setup-notes, .sff-setup-notes div { border-color: var(--line); }
.sff-setup-notes span { color: var(--accent); font-size: .8125rem; }
.sff-setup-notes strong { color: var(--ink); font-weight: 500; }
.sff-validation-band { padding-block: clamp(76px, 8vw, 112px); background: var(--surface-soft); color: var(--ink); border-block: 1px solid var(--line); }
.sff-band-head--light { color: var(--ink); }
.sff-band-head--light .sff-kicker { color: var(--accent); }
.sff-band-head--light p { color: var(--sub); }
.sff-validation-figure { background: #fff; border: 1px solid var(--line); }
.sff-validation-figure figcaption { color: var(--sub); }
.sff-result-panel { background: #fff; color: var(--ink); border: 1px solid var(--line); border-top: 2px solid var(--accent); }
.sff-result-label { color: var(--sub); font-size: .8125rem; }
.sff-result-number { color: var(--accent); font-size: clamp(4rem, 6.5vw, 5.75rem); font-weight: 600; }
.sff-result-panel > p { color: var(--sub); }
.sff-result-panel dl, .sff-result-panel dl div,
.sff-result-panel dl div:nth-child(odd) { border-color: var(--line); }
.sff-result-panel dt, .sff-result-panel .sff-result-note { color: var(--sub); font-size: .8125rem; }
.sff-result-panel dd { color: var(--ink); }
.sff-result-story, .sff-result-story:last-child { border-color: var(--line); }
.sff-story-copy h3 { font-size: clamp(1.6rem, 2.7vw, 2.3rem); line-height: 1.18; letter-spacing: -.035em; font-weight: 650; }
.sff-image-pair img, .sff-registration-grid img, .sff-macro-grid img { height: auto; border-color: var(--line); }
.sff-contribution-grid { border-color: var(--line); background: var(--line); }
.sff-contribution-grid > div { min-height: 212px; padding: 25px; background: #fff; color: var(--ink); }
.sff-contribution-grid h3 { margin-top: 32px; font-weight: 600; }
.sff-next { padding-block: 74px; }
.sff-next p { color: var(--sub); }

/* Quiet instrument panel with the homepage's light botanical palette. */
.industry-game-page {
  --game-dark: #eaf0df; --game-panel: #ffffff; --game-line: #cbd5cf; --game-green: #8db6a0;
  --game-bench: #eaf0df; --game-bench-frame: #e2e9d8;
  background: #fff; color: var(--ink);
}
.game-intro { border-color: var(--game-line); gap: 64px; }
.game-intro h1 { color: var(--ink); font-size: clamp(2.8rem, 5vw, 4.3rem); line-height: 1.1; font-weight: 550; letter-spacing: -.045em; }
.game-intro-copy { border-color: var(--game-line); }
.game-intro-copy p { color: var(--sub); font-size: 1rem; line-height: 1.85; }
.laser-game { border-color: var(--game-line); border-radius: 6px; background: #fff; color: var(--ink); box-shadow: none; }
.laser-game__toolbar { background: #fff; align-items: flex-start; }
.laser-game__toolbar>div:first-child { min-width: 0; }
.laser-game__toolbar .eyebrow { color: #557465; font-weight: 600; letter-spacing: .12em; }
.laser-game__toolbar h2 { max-width: 31ch; color: var(--ink); font-size: clamp(1.35rem, 2.1vw, 1.8rem); line-height: 1.35; font-weight: 550; }
.laser-game__readout { flex: 0 0 245px; flex-direction: column; align-items: flex-end; gap: 14px; }
.laser-game__status { padding: 9px 12px; border: 1px solid #cad7ba; border-radius: 4px; background: #eaf0df; color: #354c3d; font-size: .9375rem; line-height: 1.5; }
.laser-game__reset { min-height: 44px; padding: 12px 17px; border-color: #9bafa2; border-radius: 3px; background: #fff; color: #263d30; font-size: .875rem; font-weight: 500; letter-spacing: 0; }
.laser-game__reset:hover, .laser-game__reset:focus-visible { background: #fff; color: var(--brand-blue); border-color: var(--brand-blue); }
.laser-game__reset:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 3px; }
.laser-game__stage { background: var(--game-bench-frame); padding: 12px; }
.laser-board { border: 0; border-radius: 0; background: var(--game-bench); box-shadow: none; }
.laser-board__background { fill: var(--game-bench); }
.laser-board__grid { stroke: #bcc9ad; stroke-width: .8; }
#breadboard-grid circle { fill: #c6d2ba; }
.laser-game__controls { background: #fff; }
.laser-game__controls p { color: #43594d; font-size: 1rem; }
.mirror-sliders label { color: #263d30; font-size: .9375rem; }
.mirror-sliders output { color: #52685b; }
.mirror-sliders input { accent-color: var(--accent); }
.laser-game__unfocused { --notice-bg: #e8e7f2; --notice-ink: #423b5b; --notice-accent: #746393; }
.laser-game__food-hit { --notice-bg: #f7e0da; --notice-ink: #632f2c; --notice-accent: #a7443f; }
.laser-game__warning { --notice-bg: #ffe7b4; --notice-ink: #573a17; --notice-accent: #9a6923; }
.laser-game__success { --notice-bg: #d5eb9a; --notice-ink: #2c4125; --notice-accent: #647e39; }
.laser-game__server-hit { --notice-bg: #dfeaf0; --notice-ink: #2e4554; --notice-accent: #698699; }
.laser-game__unfocused, .laser-game__food-hit, .laser-game__warning, .laser-game__success, .laser-game__server-hit {
  border-color: var(--notice-accent); border-left: 4px solid var(--notice-accent); background: var(--notice-bg);
}
.laser-game__unfocused strong, .laser-game__food-hit strong, .laser-game__warning strong, .laser-game__success strong, .laser-game__server-hit strong { color: var(--notice-ink); font-weight: 550; }
.laser-game__unfocused p, .laser-game__food-hit p, .laser-game__warning p, .laser-game__success p, .laser-game__server-hit p { color: var(--notice-ink); font-size: 1rem; }
.laser-game__unfocused .eyebrow, .laser-game__food-hit .eyebrow, .laser-game__warning .eyebrow, .laser-game__success .eyebrow, .laser-game__server-hit .eyebrow { color: var(--notice-ink); }
.laser-game__success p { border-color: rgba(44,65,37,.2); }
.laser-game.is-unfocused .laser-game__status { background: #e8e7f2; border-color: #b1a6c7; color: #423b5b; }
.laser-game.is-food-hit .laser-game__status { background: #f7e0da; border-color: #d2a09a; color: #632f2c; }
.laser-game.is-exploded .laser-game__status { background: #ffe7b4; border-color: #ccac6c; color: #573a17; }
.laser-game.is-won .laser-game__status { background: #d5eb9a; border-color: #9bbd67; color: #2c4125; }
.laser-game.is-server-hit .laser-game__status { background: #dfeaf0; border-color: #98aebd; color: #2e4554; }
.lab-food-message__badge { border: 1px solid #8e3034; border-radius: 3px; background: #bb3e3f; color: #fff; transform: none; box-shadow: none; }
.laser-warning-sign { filter: none; }
.laser-warning-sign__triangle, .laser-warning-sign__mark { stroke-width: 1.5; }

@media (max-width: 800px) {
  .laser-game__toolbar { flex-direction: column; gap: 20px; }
  .laser-game__toolbar h2 { max-width: 36ch; }
  .laser-game__readout { width: 100%; flex: 0 1 auto; flex-direction: row; align-items: center; justify-content: space-between; }
  .laser-game__status { max-width: 60%; text-align: left; }
  .laser-game__stage { padding: 8px; }
}
@media (max-width: 520px) {
  .laser-game__readout { align-items: flex-start; flex-direction: column; margin-top: 20px; }
  .laser-game__status { max-width: none; }
  .laser-game__stage { padding: 4px; }
}

@media (max-width: 1100px) {
  .navmark { display: none; }
  .hero-layout { gap: 38px; }
  .hero-modern h1 { font-size: clamp(3.8rem, 7.6vw, 5.8rem); }
  .hero-profile-footer { gap: 16px; }
  .hero-linkedin { min-width: 82px; padding-left: 16px; }
  .hero-modern .hero-aside strong { font-size: .875rem; }
  #projects .sectionhead { gap: 38px; }
  .projectcard--featured { gap: 32px; }
  .projectcard--featured .cardimage { min-height: 380px; }
  .about-modern { gap: 44px; }
  .contact-grid { gap: 44px; }
  .sff-hero-copy h1 { font-size: clamp(3rem, 6.2vw, 4.8rem); }
}

@media (max-width: 800px) {
  :root { --page-gutter: 22px; }
  .wrap, .hero-modern.wrap { width: min(620px, calc(100% - 44px)); }
  .nav, .sff-project-page .nav, .industry-game-page .nav { height: 74px; }
  .nav::before { background: #fff; }
  .nav.nav-enhanced .navlinks {
    top: calc(100% - 1px); width: min(340px, calc(100vw - 44px));
    padding: 16px 24px; border: 1px solid var(--line); border-radius: 0;
    background: #fff; box-shadow: none;
  }
  .nav.nav-enhanced .navlinks a { padding-block: 13px; font-size: 1rem; }
  .portfolio-home section[id] { scroll-margin-top: 73px; }
  .section { padding-block: 72px; }
  .sectionhead { margin-bottom: 36px; }
  .intro-scene::before { background-position: center, 52% center; }
  .hero-modern.wrap { width: 100%; padding: 28px max(22px, calc((100% - 620px) / 2)) 56px; }
  .hero-modern .hero-meta { display: flex; flex-wrap: wrap; gap: 12px; padding-bottom: 22px; }
  .hero-modern .status { margin: 0; }
  .hero-layout { grid-template-columns: 1fr; gap: 38px; margin-top: 34px; }
  .hero-modern h1 { font-size: clamp(3.5rem, 13vw, 5.4rem); line-height: 1.02; margin-bottom: 25px; }
  .hero-modern .hero-fields { font-size: 1rem; }
  .hero-visual { display: block; }
  .hero-modern .portrait { width: 100%; max-width: none; border-radius: 0; }
  .hero-profile-footer { gap: 24px; padding-top: 24px; }
  .hero-modern .hero-aside { padding: 0; margin: 0; }
  .hero-modern .hero-aside strong { font-size: 1rem; }
  .hero-linkedin { min-width: 104px; padding-left: 22px; }
  #research.section.wrap, #projects, #contact.section.wrap {
    width: 100%; padding: 72px max(22px, calc((100% - 620px) / 2));
  }
  #research.section.wrap { --education-top-space: 32px; padding-top: 32px; padding-bottom: 64px; }
  #research .sectionhead { min-height: 0; margin-bottom: 36px; }
  #research .education { grid-template-columns: 1fr; gap: 38px; }
  #research .education h3 { margin: 20px 0 18px; font-size: clamp(1.6rem, 5.8vw, 2rem); }
  #experience .sectionhead { margin-bottom: 36px; }
  #experience .sectionhead h2 { font-size: clamp(1.15rem, 4.6vw, 2.5rem); letter-spacing: -.045em; }
  .timeline > div { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .timeline time { padding: 0; }
  .timeline h3 { font-size: 1.4rem; }
  #projects .sectionhead { grid-template-columns: 1fr; gap: 20px; }
  #projects .sectionhead h2 { font-size: clamp(2rem, 7.5vw, 3rem); }
  #projects .sectionhead > p { margin: 0; }
  .projectgrid { grid-template-columns: 1fr; gap: 46px; }
  .project-link--featured { grid-column: auto; }
  .projectcard--featured { grid-template-columns: 1fr; gap: 0; }
  .projectcard--featured .cardimage { min-height: 0; height: auto; aspect-ratio: 16 / 10; border: 0; }
  .projectcard .cardbody, .projectcard--featured .cardbody { padding: 22px 0 0; }
  .projectcard--featured .cardbody h3, .cardbody h3 { font-size: 1.65rem; }
  .science-showcase { margin-top: 64px; }
  .science-showcase__frame { aspect-ratio: 4 / 3; }
  .science-showcase__caption { gap: 18px; padding: 17px 0; min-height: 66px; }
  .science-showcase__title { font-size: 1.0625rem; }
  .about-modern { grid-template-columns: 1fr; gap: 38px; }
  .about-copy h2 { font-size: clamp(2rem, 7.4vw, 3rem); }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-intro h2 { font-size: clamp(2.1rem, 7.4vw, 3rem); }
  .contact-form { padding: 0; }
  .footergrid { column-gap: 24px; row-gap: 18px; }
  .footergrid > strong, .footergrid > span { flex-basis: 100%; }
  .casehero { grid-template-columns: 1fr; min-height: 0; gap: 28px; padding-bottom: 32px; }
  .casehero > div:first-child { padding: 0; }
  .casehero h1 { font-size: clamp(2.35rem, 8.2vw, 3.5rem); }
  .casehero > img { min-height: 0; max-height: none; height: auto; border: 1px solid var(--line); }
  .casebody { margin-top: 48px; }
  .sff-hero { padding-bottom: 54px; }
  .sff-hero-copy h1 { font-size: clamp(3rem, 12vw, 4.7rem); }
  .sff-local-nav { top: 74px; }
  .sff-hero-results span { font-size: .75rem; }
  .sff-section-head h2, .sff-band-head h2 { font-size: clamp(2rem, 7.5vw, 3rem); }
  .sff-process-grid, .sff-contribution-grid { grid-template-columns: 1fr 1fr; }
  .sff-next { padding-block: 58px; }
  .game-intro { gap: 32px; }
  .game-intro h1 { font-size: clamp(2.75rem, 9.5vw, 4rem); }
  .laser-game__toolbar, .laser-game__controls { padding: 22px; }
}

@media (max-width: 520px) {
  :root { --page-gutter: 20px; }
  .wrap, .hero-modern.wrap { width: calc(100% - 40px); }
  .hero-modern.wrap { width: 100%; padding-inline: 20px; }
  #research.section.wrap, #projects, #contact.section.wrap { padding-inline: 20px; }
  .hero-modern .hero-meta .eyebrow { font-size: .75rem; letter-spacing: .08em; }
  .hero-modern h1 { font-size: clamp(3.1rem, 12.8vw, 4.3rem); }
  .hero-profile-footer { gap: 16px; }
  .hero-modern .hero-aside strong { font-size: .875rem; }
  .hero-linkedin { min-width: 84px; padding-left: 16px; }
  .hero-modern .hero-aside small { font-size: .8125rem; }
  .linkedin-label strong { font-size: .875rem; }
  .cardbody h3, .projectcard--featured .cardbody h3 { font-size: 1.5rem; }
  .projectcard .cardbody, .projectcard--featured .cardbody { padding: 22px 0 0; }
  .science-showcase__caption { grid-template-columns: 1fr; }
  .science-showcase__status { display: none; }
  .science-showcase__title { font-size: 1rem; }
  #about .about-toolkit-core { font-size: 1.2rem; }
  .contact-fields { grid-template-columns: 1fr; }
  .sff-process-grid, .sff-contribution-grid { grid-template-columns: 1fr; }
  .sff-process-grid li, .sff-contribution-grid > div { min-height: 0; }
  .sff-result-number { font-size: 4.5rem; }
  .game-intro-copy { padding-left: 0; border: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .navlinks a::after, .hero-linkedin, .linkedin-symbol, .hero-modern .textlink { transition: none; }
  #projects .projectcard, .project-cta { transition: none; }
  #projects .project-link:hover .projectcard,
  #projects .project-link:focus-visible .projectcard { transform: none; }
}
