:root {
  --navy: #0a192f;
  --deep-navy: #020c1b;
  --surface: #112240;
  --line: #233554;
  --heading: #ccd6f6;
  --body: #a8b2d1;
  --muted: #a8b2d1;
  --white: #e6f1ff;
  --accent: #64ffda;
  --accent-tint: rgba(100, 255, 218, 0.08);
  --max: 1160px;
  color-scheme: dark;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--navy);
  color: var(--body);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
::selection {
  color: var(--navy);
  background: var(--accent);
}
a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: color 0.2s;
}
a:hover {
  color: var(--white);
}
button {
  font: inherit;
  color: inherit;
}
a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
  border-radius: 3px;
}
svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  flex-shrink: 0;
}
h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  color: var(--heading);
}
h1,
h2,
h3 {
  letter-spacing: -0.035em;
  line-height: 1.25;
}
h2 {
  font-size: clamp(28px, 3.3vw, 40px);
  font-weight: 650;
}
h3 {
  font-size: 27px;
  font-weight: 600;
}
h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}
p + p {
  margin-top: 18px;
}
.quiet {
  color: var(--muted);
  font-size: 13px;
}
.eyebrow {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.skip-link {
  position: fixed;
  left: 18px;
  top: -100px;
  z-index: 30;
  padding: 10px 18px;
  background: var(--accent);
  color: var(--navy);
  border-radius: 4px;
}
.skip-link:focus {
  top: 12px;
  color: var(--navy);
}
.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  height: 64px;
  padding: 0 max(32px, calc((100vw - 1280px) / 2));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  background: rgba(10, 25, 47, 0.95);
  border-bottom: 1px solid rgba(100, 255, 218, 0.1);
  backdrop-filter: blur(12px);
}
.wordmark {
  color: var(--heading);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: 0.005em;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 27px;
}
.site-header nav a {
  color: var(--body);
  font-size: 13px;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  position: relative;
}
.site-header nav a:hover {
  color: var(--accent);
}
.site-header .nav-cv {
  min-height: 34px;
  color: var(--accent);
  border: 1px solid rgba(100, 255, 218, 0.5);
  border-radius: 4px;
  padding: 2px 12px;
}
.nav-cv svg {
  width: 15px;
  height: 15px;
}
.file-label {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.menu-toggle {
  display: none;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--accent);
  min-height: 44px;
  padding: 8px;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.hero {
  min-height: calc(100vh - 64px);
  min-height: calc(100svh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 92px 24px 82px;
}
.hero-inner {
  width: 100%;
  max-width: 920px;
  text-align: center;
}
.hero .eyebrow {
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 25px;
}
.hero h1 {
  font-size: clamp(40px, 5.7vw, 76px);
  font-weight: 680;
  letter-spacing: -0.045em;
  line-height: 1.15;
}
.intro-name {
  color: var(--accent);
}
.typing-cursor {
  display: inline-block;
  color: var(--accent);
  font-weight: 300;
  margin-left: 10px;
  animation: cursor 1s step-end 3;
}
.hero-bottom {
  margin-top: 34px;
}
.hero-copy {
  max-width: 700px;
  margin: auto;
}
.hero-statement {
  font-size: clamp(25px, 3vw, 37px);
  color: var(--body);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.015em;
}
.hero-copy > p:nth-child(2) {
  max-width: 570px;
  margin: 25px auto 0;
  font-size: 16px;
  color: var(--body);
  line-height: 1.9;
}
.hero-copy .hero-education {
  margin: 18px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.hero-education a {
  display: inline-block;
  padding: 6px 0;
  color: var(--accent);
  text-underline-offset: 4px;
}
.thesis-grade {
  display: block;
  margin-top: 10px;
  color: var(--accent);
  font-weight: 500;
}
.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  min-height: 49px;
  width: max-content;
  padding: 10px 20px;
  border: 1px solid var(--accent);
  border-radius: 5px;
  background: var(--accent-tint);
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button svg {
  width: 17px;
  height: 17px;
}
.button:hover {
  background: rgba(100, 255, 218, 0.13);
  color: var(--accent);
  transform: translateY(-2px);
}
.button-quiet {
  background: transparent;
  border-color: var(--line);
  color: var(--body);
}
.button-quiet:hover {
  border-color: var(--accent);
}
.hero-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 23px;
}
.hero-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
}
.hero-links a:hover {
  color: var(--accent);
}
.hero-links > span {
  color: var(--line);
}
.section {
  max-width: var(--max);
  margin: auto;
  padding: 86px 32px;
}
.section-heading {
  display: grid;
  grid-template-columns: 175px 1fr;
  gap: 34px;
  margin-bottom: 48px;
  align-items: start;
}
.evidence-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 0 0 36px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.evidence-strip a { display: grid; align-content: start; gap: 8px; color: inherit; text-decoration: none; }
.evidence-strip span { color: var(--accent); font-size: 12px; }
.evidence-strip strong { color: var(--heading); font-size: 17px; line-height: 1.4; }
.evidence-strip small { font-size: 12px; line-height: 1.6; }
.evidence-strip a:hover strong { color: var(--accent); }
@media (max-width: 900px) { .evidence-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .evidence-strip { gap: 24px 16px; } .evidence-strip strong { font-size: 15px; } }
.section-heading > .eyebrow {
  padding-top: 7px;
}
.section-heading h2 + p {
  max-width: 630px;
  margin-top: 18px;
  font-size: 15px;
  color: var(--muted);
}
.work-section {
  padding-bottom: 0;
}
.case-study {
  display: grid;
  grid-template-columns: 175px 1fr;
  gap: 34px;
  border-top: 1px solid var(--line);
  padding: 46px 0 62px;
}
.case-index > span {
  font-size: 29px;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-weight: 400;
  letter-spacing: -0.08em;
}
.case-index p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  margin-top: 12px;
}
.case-body {
  max-width: 810px;
}
.case-body > .eyebrow {
  margin-bottom: 14px;
  font-size: 10px;
}
.case-body h3 {
  font-size: clamp(26px, 2.9vw, 36px);
  font-weight: 600;
}
.case-body h3 br {
  display: none;
}
.case-lead {
  color: var(--heading);
  font-size: 18px;
  line-height: 1.7;
  margin: 22px 0 16px;
  max-width: 730px;
}
.case-lead + p {
  margin: 0;
  font-size: 15px;
  max-width: 730px;
}
.evidence-line {
  display: grid;
  grid-template-columns: 184px 1fr;
  align-items: center;
  gap: 26px;
  background: var(--surface);
  border-left: 2px solid var(--accent);
  padding: 21px 23px;
  margin: 29px 0;
  border-radius: 0 4px 4px 0;
}
.evidence-line strong {
  font-size: 25px;
  color: var(--accent);
  font-weight: 550;
  line-height: 1.3;
  letter-spacing: -0.03em;
}
.evidence-line p {
  font-size: 12px;
  line-height: 1.9;
}
.study-detail {
  margin-top: 27px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.study-detail summary {
  cursor: pointer;
  min-height: 57px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  color: var(--heading);
  font-size: 13px;
  font-weight: 500;
  list-style: none;
}
.study-detail summary::-webkit-details-marker {
  display: none;
}
.study-detail summary:hover {
  color: var(--accent);
}
.study-detail summary svg {
  width: 17px;
  color: var(--accent);
  transition: transform 0.2s;
}
.study-detail[open] summary svg {
  transform: rotate(45deg);
}
.detail-body {
  display: grid;
  gap: 25px;
  max-width: 730px;
  padding: 8px 0 27px;
}
.detail-body p {
  font-size: 14px;
}
.case-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 25px;
  margin-top: 22px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}
.text-link:hover {
  text-decoration: underline;
}
.case-links .quiet {
  font-size: 11px;
  line-height: 1.8;
  max-width: 325px;
}
.system-list {
  margin: 28px 0 0;
}
.system-list > div {
  display: grid;
  grid-template-columns: 164px 1fr;
  gap: 23px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}
.system-list dt {
  font-size: 12px;
  color: var(--heading);
  font-weight: 600;
}
.system-list dd {
  margin: 0;
  font-size: 14px;
}
.research-process {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 30px 0 0;
  padding: 0;
}
.research-process li {
  border-top: 1px solid rgba(100, 255, 218, 0.45);
  padding-top: 12px;
  font-size: 12px;
  color: var(--heading);
}
.research-process span {
  color: var(--accent);
  display: block;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  margin-bottom: 6px;
}
.demo-list {
  border-top: 1px solid var(--line);
}
.demo-row {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 24px;
  padding: 29px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.row-number {
  color: var(--accent);
  font-size: 11px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  padding-top: 5px;
}
.demo-row h3 {
  font-size: 23px;
  font-weight: 550;
  line-height: 1.4;
}
.demo-row h3 a {
  color: var(--heading);
  text-decoration: none;
}
.demo-row h3 a:hover {
  color: var(--accent);
}
.demo-row h3 span {
  display: inline-block;
  color: var(--accent);
  font-size: 20px;
  transition: transform 0.2s;
}
.demo-row h3 a:hover span {
  transform: translate(2px, -2px);
}
.demo-row p {
  font-size: 14px;
  margin-top: 9px;
  max-width: 740px;
}
.demo-row p.demo-limit {
  color: var(--muted);
  font-size: 12px;
  margin-top: 8px;
}
.source-link {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  text-decoration: none;
  font-size: 12px;
}
.source-link svg {
  width: 15px;
}
.further-work {
  display: grid;
  grid-template-columns: 175px 1fr;
  gap: 34px;
  margin-top: 54px;
}
.further-work h3 {
  font-size: 21px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.further-work p {
  display: grid;
  grid-template-columns: 165px 1fr;
  gap: 24px;
  font-size: 13px;
  margin-bottom: 24px;
}
.further-work a {
  font-weight: 500;
}
.further-work span {
  color: var(--muted);
}
.about-section {
  border-top: 1px solid var(--line);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  margin-left: 209px;
}
.about-grid p {
  font-size: 15px;
}
.about-grid .large-copy {
  color: var(--heading);
  font-size: 22px;
  line-height: 1.55;
  letter-spacing: -0.025em;
}
.background-details h3 {
  color: var(--accent);
  font-size: 11px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.background-details p + h3 {
  margin-top: 29px;
}
.background-details strong {
  color: var(--heading);
  font-weight: 500;
}
.background-details .text-link {
  margin-top: 18px;
}
.contact-section {
  border-top: 1px solid var(--line);
  padding: 86px 24px 80px;
}
.contact-inner {
  max-width: 820px;
  margin: auto;
  text-align: center;
}
.contact-inner .eyebrow {
  margin-bottom: 20px;
}
.contact-inner h2 {
  font-size: clamp(32px, 4.2vw, 51px);
}
.contact-inner > p:not(.eyebrow) {
  font-size: 15px;
  margin: 22px auto 0;
  max-width: 540px;
}
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-top: 24px;
  padding: 10px 0;
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 450;
  letter-spacing: -0.035em;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact-email svg {
  width: 23px;
  height: 23px;
}
.contact-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 23px;
}
.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
}
.contact-links a:hover {
  color: var(--accent);
}
.site-footer {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max);
  gap: 24px;
  margin: auto;
  padding: 22px 32px;
  font-size: 11px;
}
.site-footer p + p {
  margin: 0;
}
.site-footer a {
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}
.site-footer a:hover {
  color: var(--accent);
}
.research-figure {
  display: grid;
  grid-template-columns: minmax(0, 300px) 1fr;
  gap: 24px;
  align-items: end;
  margin: 6px 0 8px;
}
.research-figure img {
  display: block;
  width: 100%;
  height: auto;
  background: white;
  border-radius: 3px;
}
.research-figure figcaption {
  font-size: 12px;
  line-height: 1.9;
}
.anchor-alias {
  display: block;
  position: relative;
  top: -24px;
}
.hero-enter {
  animation: enter 0.7s both;
}
.hero h1 {
  animation-delay: 0.08s;
}
.hero-bottom {
  animation-delay: 0.16s;
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes cursor {
  50% {
    opacity: 0;
  }
}
[hidden] {
  display: none !important;
}
@media (max-width: 1050px) {
  .section-heading,
  .case-study,
  .further-work {
    grid-template-columns: 145px 1fr;
    gap: 28px;
  }
  .about-grid {
    margin-left: 173px;
    gap: 40px;
  }
  .further-work p {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .evidence-line {
    grid-template-columns: 160px 1fr;
    gap: 20px;
  }
}
@media (max-width: 900px) {
  .site-header {
    height: auto;
    min-height: 64px;
    padding: 0 24px;
    flex-wrap: wrap;
    gap: 0;
  }
  .wordmark {
    padding: 17px 0;
    font-size: 15px;
  }
  .site-header nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 3px 23px;
    padding: 0 0 17px;
  }
  .menu-toggle:not([hidden]) {
    display: flex;
  }
  .enhanced .site-header nav {
    display: none;
  }
  .enhanced .site-header nav[data-open] {
    display: flex;
  }
  .site-header .nav-cv {
    margin-left: auto;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 87px;
  }
  .hero {
    min-height: calc(100svh - 64px);
    padding: 70px 22px 62px;
  }
  .hero h1 {
    font-size: clamp(35px, 8vw, 56px);
    letter-spacing: -0.055em;
  }
  .hero .eyebrow {
    font-size: 9px;
    letter-spacing: 0.025em;
    margin-bottom: 24px;
  }
  .typing-cursor {
    margin-left: 5px;
  }
  .hero-bottom {
    margin-top: 24px;
  }
  .hero-statement {
    font-size: 25px;
    line-height: 1.55;
    letter-spacing: -0.035em;
  }
  .hero-copy > p:nth-child(2) {
    font-size: 14px;
    max-width: 475px;
    margin-top: 21px;
    line-height: 1.85;
  }
  .hero-copy .hero-education {
    font-size: 11px;
    margin-top: 16px;
  }
  .hero-actions {
    margin-top: 28px;
    gap: 11px;
  }
  .button {
    min-height: 47px;
    padding: 9px 16px;
    font-size: 12px;
    gap: 10px;
  }
  .hero-links {
    margin-top: 18px;
  }
  .section {
    padding: 59px 22px;
  }
  .section-heading {
    display: block;
    margin-bottom: 32px;
  }
  .section-heading > .eyebrow {
    padding: 0;
    margin-bottom: 15px;
  }
  .section-heading h2 + p {
    font-size: 14px;
    margin-top: 16px;
  }
  .section-heading h2 br {
    display: none;
  }
  .case-study {
    display: block;
    padding: 28px 0 41px;
  }
  .case-index {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
  }
  .case-index > span {
    font-size: 24px;
  }
  .case-index p {
    font-size: 11px;
    margin: 0;
  }
  .case-index br {
    display: none;
  }
  .case-body > .eyebrow {
    font-size: 9px;
    letter-spacing: 0.035em;
  }
  .case-body h3 {
    font-size: 27px;
  }
  .case-lead {
    font-size: 16px;
    margin-top: 18px;
  }
  .case-lead + p {
    font-size: 14px;
  }
  .evidence-line {
    display: block;
    padding: 17px 18px;
    margin: 24px 0;
  }
  .evidence-line strong {
    font-size: 23px;
  }
  .evidence-line p {
    margin-top: 9px;
    font-size: 12px;
  }
  .study-detail summary {
    font-size: 12px;
    min-height: 55px;
  }
  .detail-body p {
    font-size: 13px;
  }
  .case-links {
    gap: 6px;
    margin-top: 17px;
  }
  .case-links .quiet {
    max-width: none;
  }
  .system-list > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .system-list dd {
    font-size: 13px;
  }
  .research-process {
    gap: 12px;
  }
  .research-process li {
    font-size: 11px;
  }
  .work-section {
    padding-bottom: 0;
  }
  .demo-row {
    grid-template-columns: 24px 1fr;
    gap: 12px;
    padding: 24px 0;
  }
  .demo-row h3 {
    font-size: 20px;
  }
  .demo-row p {
    font-size: 13px;
  }
  .demo-row .source-link {
    grid-column: 2;
    width: max-content;
    min-height: 36px;
  }
  .demo-row p.demo-limit {
    font-size: 12px;
  }
  .further-work {
    display: block;
    margin-top: 41px;
  }
  .further-work h3 {
    max-width: 300px;
    margin-bottom: 21px;
  }
  .further-work p {
    font-size: 13px;
    margin-bottom: 23px;
  }
  .about-grid {
    margin: 0;
    gap: 32px;
    grid-template-columns: 1fr;
  }
  .about-grid .large-copy {
    font-size: 22px;
  }
  .background-details {
    padding-top: 26px;
    border-top: 1px solid var(--line);
  }
  .contact-section {
    padding: 56px 22px 48px;
  }
  .contact-inner > p:not(.eyebrow) {
    font-size: 14px;
  }
  .contact-email {
    font-size: clamp(19px, 5.4vw, 29px);
    gap: 12px;
  }
  .contact-email svg {
    width: 20px;
    height: 20px;
  }
  .site-footer {
    padding: 24px 22px;
    flex-wrap: wrap;
    gap: 13px 18px;
    font-size: 10px;
  }
  .site-footer p:nth-child(2) {
    order: 3;
    width: 100%;
  }
  .site-footer a {
    margin-left: auto;
  }
  .research-figure {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .research-figure img {
    max-width: 300px;
  }
  .research-figure figcaption {
    max-width: 400px;
  }
}
@media (max-width: 370px) {
  .site-header {
    padding: 0 18px;
  }
  .wordmark {
    font-size: 13px;
  }
  .menu-toggle {
    font-size: 12px;
    padding-right: 0;
  }
  .hero {
    padding-inline: 18px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero-statement {
    font-size: 22px;
  }
  .hero .eyebrow {
    font-size: 8px;
  }
  .button {
    padding-inline: 13px;
  }
  .section,
  .contact-section {
    padding-inline: 18px;
  }
  .research-process {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .research-process span {
    display: inline;
    margin-right: 10px;
  }
  .research-process li {
    padding-top: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  :root {
    --navy: white;
    --heading: black;
    --body: #222;
    --muted: #444;
    --accent: #174f5a;
    --line: #bbb;
    --surface: #f4f4f4;
    color-scheme: light;
  }
  body {
    font-size: 11pt;
  }
  .site-header,
  .hero-actions,
  .hero-links,
  .typing-cursor,
  .site-footer,
  .contact-links {
    display: none !important;
  }
  .hero {
    min-height: 0;
    padding: 24px 0;
  }
  .hero h1 {
    font-size: 32pt;
  }
  .hero-statement {
    font-size: 18pt;
  }
  .section,
  .contact-section {
    padding: 24px 0;
    max-width: none;
  }
  .case-study,
  .section-heading {
    grid-template-columns: 130px 1fr;
    gap: 24px;
  }
  .case-study {
    break-inside: avoid;
  }
  .contact-email {
    font-size: 22pt;
  }
  .about-grid {
    margin-left: 154px;
    gap: 35px;
  }
  a {
    color: inherit;
  }
  .study-detail {
    display: none;
  }
  .case-body h3 {
    font-size: 22pt;
  }
  .hero-enter {
    animation: none;
  }
  h2 {
    font-size: 26pt;
  }
}

/* Original personal monogram; the source pixels and colors are unchanged. */
.wordmark { display: inline-flex; align-items: center; gap: 10px; }
.personal-logo { display: block; width: 32px; height: 32px; object-fit: contain; flex-shrink: 0; }
@media (max-width: 900px) { .personal-logo { width: 28px; height: 28px; } .wordmark { gap: 8px; } }
@media (max-width: 370px) { .personal-logo { width: 26px; height: 26px; } }

/* Short operating paths keep each demo easy to inspect without adding panels. */
.demo-walkthrough { margin-top: 13px; max-width: 740px; }
.demo-walkthrough summary { color: var(--accent); cursor: pointer; font-size: 12px; min-height: 32px; padding: 5px 0; }
.demo-walkthrough summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.demo-walkthrough p { font-size: 13px; line-height: 1.75; margin: 6px 0 0; }
.demo-walkthrough[open] { padding-bottom: 4px; }
@media (max-width: 600px) { .demo-walkthrough summary { min-height: 44px; padding: 12px 0; } }

/* Real project previews remain readable links without changing the hero. */
.project-preview { margin: 24px 0; }
.project-preview a { display: block; }
.project-preview img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 4px; }
.project-preview figcaption { margin-top: 9px; color: var(--muted); font-size: 12px; line-height: 1.6; }
