/* Compiled portfolio stylesheet. Source: build-css.js; CSS files concatenated in exact cascade order. */

/* SOURCE: styles.css */
:root {
  --bg: #fcf9f8;
  --paper: #ffffff;
  --soft: #f7eef0;
  --soft-alt: #f4e7eb;
  --rose: #b65c7d;
  --rose-dark: #904461;
  --plum: #352937;
  --ink: #352b34;
  --secondary: #655662;
  --border: #e9dce0;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}
* {box-sizing:border-box}
html {scroll-behavior:smooth;scroll-padding-top:90px}
body {margin:0;background:var(--bg);color:var(--ink);font:400 16px/1.75 var(--sans);overflow-x:hidden}
a {color:inherit;text-decoration:none}
button,input {font:inherit}
button {cursor:pointer}
img,svg {max-width:100%;display:block}
img {height:auto}
::selection {background:#edbfd0;color:#422b37}
:focus-visible {outline:3px solid #aa4c76;outline-offset:4px}
[hidden] {display:none!important}
.container {width:min(1120px,calc(100% - 64px));margin-inline:auto}
.section {padding:106px 0}
.section-heading {margin-bottom:40px}
.eyebrow {font-size:11px;line-height:1.5;font-weight:700;letter-spacing:.16em;color:var(--rose-dark);text-transform:uppercase;margin:0 0 18px}
h1,h2,h3,p {margin-top:0}
h1,h2,h3 {font-family:var(--serif);font-weight:500;letter-spacing:-.035em}
h1 em,h2 em,h3 em {font-weight:400;color:var(--rose-dark)}
h2 {font-size:clamp(36px,4vw,56px);line-height:1.22;margin-bottom:20px}
h3 {font-size:24px;line-height:1.24}
p {color:var(--secondary)}
.section-description {max-width:600px;font-size:15px;margin:0}
.skip-link {position:fixed;z-index:100;left:16px;top:-70px;background:var(--plum);color:#fff;border-radius:6px;padding:9px 15px}
.skip-link:focus {top:12px}
.site-header {position:sticky;top:0;z-index:50;background:rgba(252,249,248,.97);border-bottom:1px solid var(--border);backdrop-filter:blur(12px)}
.nav {height:78px;display:flex;align-items:center;justify-content:space-between;gap:26px}
.logo,.footer-logo {font:500 31px/1 var(--serif);letter-spacing:-.05em;color:var(--plum)}
.logo span,.footer-logo span {color:var(--rose);font-family:var(--serif)}
.nav-links {display:flex;gap:23px;align-items:center}
.nav-links a {font:600 12px/1.5 var(--sans);color:#4e414e;white-space:nowrap;transition:color .18s}
.nav-links a:hover,.nav-links a[aria-current="location"] {color:var(--rose-dark)}
.nav-links .nav-cta {color:#fff;background:var(--plum);padding:11px 18px;border-radius:100px}
.nav-links .nav-cta:hover {color:#fff;background:var(--rose-dark)}
.menu-toggle {display:none}
.hero {padding-top:90px;padding-bottom:105px;display:grid;grid-template-columns:1.16fr .84fr;align-items:center;gap:95px;min-height:660px}
.hero h1 {font-size:clamp(60px,6.4vw,89px);line-height:1.09;letter-spacing:-.065em;margin:0 0 24px}
.hero-subtitle {font:500 clamp(24px,2.5vw,31px)/1.42 var(--serif);color:var(--plum);max-width:520px;margin-bottom:22px}
.hero-description {font-size:15px;line-height:1.95;max-width:495px;margin:0 0 31px}
.hero-buttons,.resume-actions {display:flex;flex-wrap:wrap;gap:12px}
.btn {display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:48px;padding:11px 23px;border-radius:100px;border:1px solid transparent;font-size:13px;font-weight:700;transition:background .18s,color .18s,transform .18s}
.btn:hover {transform:translateY(-2px)}
.btn-primary {background:var(--rose-dark);color:white}
.btn-primary:hover {background:#773550}
.btn-outline {background:transparent;border-color:#c8a4b2;color:var(--plum)}
.btn-outline:hover {background:#f5e7ed}
.hero-signoff {font:italic 15px/1.7 var(--serif);color:#876b7a;margin:33px 0 0}
.hero-photo {margin:0;position:relative}
.hero-photo img {width:100%;height:518px;object-fit:cover;object-position:center 50%;border-radius:160px 160px 14px 14px}
.hero-photo figcaption {font:italic 13px var(--serif);padding:14px 3px;color:#7b6171;text-align:right}
.about-section {background:white;border-block:1px solid var(--border)}
.about-grid {display:grid;grid-template-columns:1.25fr .75fr;gap:115px;align-items:center}
.about-copy p:not(.eyebrow) {font-size:15px;line-height:1.95;margin:0 0 17px}
.about-chips,.tag-row,.repo-meta,.interest-tags {display:flex;flex-wrap:wrap;gap:8px}
.about-chips {margin-top:25px}
.about-chips span,.tag-row span,.repo-meta span,.interest-tags span {display:inline-flex;align-items:center;border:1px solid var(--border);border-radius:100px;background:#fbf7f8;padding:5px 12px;font-size:11px;line-height:1.5;color:#725764}
.about-photo,.feature-visual,.experience-photo,.education-photo,.interest-photo {margin:0}
.about-photo img {width:100%;height:400px;object-fit:cover;object-position:center;border-radius:12px}
figure figcaption {font:italic 13px/1.6 var(--serif);color:#7d6673;margin-top:11px}
.work-section {background:var(--bg)}
.feature-project {display:grid;grid-template-columns:.91fr 1.09fr;border:1px solid var(--border);background:white;border-radius:14px;overflow:hidden}
.feature-visual {position:relative;background:#eee7ea;min-height:432px}
.feature-visual img {height:100%;width:100%;object-fit:cover;object-position:center}
.feature-visual figcaption {position:absolute;bottom:15px;left:17px;right:17px;background:rgba(255,255,255,.92);padding:8px 11px;border-radius:6px;font:italic 12px/1.5 var(--serif);color:#68455a;margin:0;width:max-content;max-width:calc(100% - 34px)}
.feature-content {padding:43px 44px;align-self:center}
.project-kicker {font:700 10px/1.5 var(--sans);letter-spacing:.12em;color:var(--rose-dark)!important;text-transform:uppercase;margin:0 0 11px}
.feature-content h3 {font-size:39px;line-height:1.24;margin:0 0 19px}
.feature-content>p:not(.project-kicker) {font-size:14px;line-height:1.85;margin-bottom:21px}
.project-metrics {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;padding:18px 0;margin:0 0 21px;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.project-metrics>div {display:flex;flex-direction:column}
.project-metrics strong {font:500 25px/1.1 var(--serif);color:var(--plum)}
.project-metrics span {font-size:11px;line-height:1.6;color:#735f6d;margin-top:7px}
.text-link,.repo-link {font-weight:700;font-size:13px;color:var(--rose-dark);display:inline-block;text-decoration:underline;text-underline-offset:5px}
.text-link {margin-top:20px}
.text-link:hover,.repo-link:hover {color:#76334f}
.project-cards {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin-top:20px}
.project-card {background:#fff;border:1px solid var(--border);border-radius:12px;padding:30px;min-height:285px}
.project-card .card-top {display:flex;justify-content:flex-end;margin-bottom:7px}
.project-symbol {display:none}
.project-year {font:600 10px var(--sans);letter-spacing:.06em;color:#967789}
.project-card h3 {margin:0 0 12px}
.project-card p:not(.project-kicker) {font-size:13px;line-height:1.8;margin-bottom:21px}
.project-card small {display:block;font-size:11px;color:#7a6773;margin-top:10px}
.github-section {background:#f8f1f3;border-block:1px solid var(--border)}
.github-heading {display:flex;align-items:end;justify-content:space-between;gap:30px}
.github-heading .section-heading {margin:0}
.github-intro {max-width:605px;font-size:15px;margin:0}
.github-intro a {color:var(--rose-dark);text-decoration:underline;text-underline-offset:3px;font-weight:700}
.github-profile-link {border:1px solid #d6bcc6;border-radius:100px;padding:10px 16px;font-size:12px;font-weight:700;white-space:nowrap}
.github-profile-link:hover {background:white}
.repo-toolbar {display:flex;gap:24px;align-items:end;justify-content:space-between;margin-bottom:15px}
.repo-filters {display:flex;gap:7px;flex-wrap:wrap}
.repo-filter {padding:9px 14px;min-height:44px;border:1px solid #dfcbd2;background:transparent;border-radius:100px;color:#685562;font-size:12px;font-weight:600;line-height:1.4}
.repo-filter:hover {background:#fff}
.repo-filter.active {color:#fff;border-color:var(--plum);background:var(--plum)}
.repo-search-wrap {flex:none;width:245px}
.repo-search-wrap label {display:block;font-size:11px;font-weight:700;margin-bottom:7px;color:#685460}
.repo-search-wrap input {width:100%;padding:11px 13px;min-height:45px;border:1px solid #d2bfc9;border-radius:8px;background:white;color:var(--ink);font-size:13px}
.repo-result-count {font-size:11px;color:#826b79;margin:0 0 15px}
.repo-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
.repo-card {display:flex;flex-direction:column;padding:29px 30px;background:#fff;border:1px solid var(--border);border-radius:12px;min-width:0}
.repo-card[hidden] {display:none}
.repo-card-top {display:flex;justify-content:space-between;align-items:center}
.repo-symbol {display:none}
.repo-category {font:700 10px/1.5 var(--sans);letter-spacing:.08em;color:#9d5e7c;text-transform:uppercase}
.repo-card h3 {margin:20px 0 12px;font-size:26px}
.repo-card>p {font-size:13px;line-height:1.82;margin-bottom:20px;flex:1}
.repo-card .repo-meta {margin-bottom:18px}
.repo-link {margin-top:auto}
.repo-empty {padding:20px;border-radius:10px;border:1px dashed #ca9eaf;background:white;text-align:center}
.repo-empty p {margin:0 0 10px}
.repo-more {margin:24px 0 0;font-size:12px}
.repo-more a {color:var(--rose-dark);text-decoration:underline}
.robot-section {background:var(--bg)}
.robot-layout {display:grid;grid-template-columns:.8fr 1.2fr;align-items:center;gap:72px}
.robot-copy p:not(.eyebrow) {font-size:15px;line-height:1.9}
.robot-aside {border-left:2px solid #d69aaf;padding-left:14px;margin:21px 0 26px;font-size:12px!important;color:#705f69}
.robot-action-row {display:flex;flex-wrap:wrap;gap:8px}
.pose-button,.sequence-button,.sequence-stop {border-radius:100px;min-height:44px;padding:10px 15px;font-size:12px;font-weight:700;background:#fff;border:1px solid #d9bbc9;color:#684a5d}
.pose-button:hover,.sequence-button:hover,.sequence-stop:hover {background:#f8e9ee}
.pose-button.active,.pose-button[aria-pressed="true"] {color:white;background:var(--rose-dark);border-color:var(--rose-dark)}
.sequence-wrap {margin-top:13px;display:flex;flex-wrap:wrap;gap:8px}
.sequence-button {color:var(--rose-dark);background:transparent;border-color:var(--rose-dark)}
.sequence-button:disabled {opacity:.64;cursor:wait}
.robot-console {overflow:hidden;border-radius:16px;background:#35293b;border:1px solid #3c3247;box-shadow:0 22px 45px rgba(55,37,58,.11)}
.console-header,.console-bottom {display:flex;justify-content:space-between;gap:10px;align-items:center;color:#eedce7;padding:15px 18px;font-size:10px;letter-spacing:.08em;line-height:1.5}
.console-header {border-bottom:1px solid #59475f}
.console-tag {color:#d1b8c9}
.live-pip {display:inline-block;width:7px;height:7px;background:#f4a7bd;border-radius:100%;margin-right:8px}
#arm-svg {width:100%;height:auto;background:#35293b}
.console-svg-label {font:10px var(--sans);fill:#d7b6cf;letter-spacing:1px}
.console-bottom {letter-spacing:0;border-top:1px solid #58465f}
.telemetry {display:flex;gap:15px;flex-wrap:wrap}
.telemetry b {color:#fff}
.experience-section {background:#fff;border-block:1px solid var(--border)}
.experience-layout {display:grid;grid-template-columns:1.25fr .75fr;gap:88px;align-items:start}
.timeline {position:relative}
.timeline-item {display:grid;grid-template-columns:96px 20px 1fr;gap:14px;align-items:start;padding:0 0 32px}
.timeline-date {font-size:11px;line-height:1.6;color:#947789;font-weight:700;padding-top:4px}
.timeline-dot {margin:10px auto;width:8px;height:8px;border-radius:100%;background:var(--rose)}
.timeline-item:not(:last-child) .timeline-dot:after {content:"";display:block;position:relative;top:12px;left:3px;width:1px;height:150px;background:#e6d6dd}
.timeline-item h3 {font-size:22px;margin-bottom:11px}
.timeline-item p:not(.project-kicker) {font-size:13px;line-height:1.8;margin-bottom:0}
.experience-photo img {height:430px;width:100%;object-fit:cover;object-position:center;border-radius:12px}
.education-panel {margin-top:50px;background:var(--soft);padding:32px;display:grid;grid-template-columns:1fr 180px;gap:40px;align-items:center;border-radius:14px}
.education-panel .eyebrow {margin-bottom:10px}
.education-panel h3 {font-size:30px;margin-bottom:12px}
.education-panel p:not(.eyebrow) {font-size:13px;line-height:1.9;margin-bottom:7px}
.education-photo img {width:180px;height:190px;object-fit:cover;border-radius:9px}
.education-photo figcaption {font-size:11px}
.skills-section {background:var(--bg)}
.skill-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:46px}
.skill-column {padding-top:21px;border-top:1px solid #dcbfcb}
.skill-icon {display:none}
.skill-column h3 {font-size:23px;margin-bottom:14px}
.skill-column p {font-size:13px;line-height:1.95;margin:0}
.interests-section {background:white;border-block:1px solid var(--border)}
.interest-layout {display:grid;grid-template-columns:1.05fr .95fr;gap:92px;align-items:center}
.interest-copy p:not(.eyebrow) {font-size:15px;line-height:1.95;margin-bottom:18px}
.interest-tags {margin-top:24px}
.interest-photo img {width:100%;height:380px;object-fit:cover;border-radius:12px}
.resume-section {background:#f7edf1}
.resume-layout {display:grid;grid-template-columns:1.15fr .85fr;gap:100px;align-items:center}
.resume-text p:not(.eyebrow) {font-size:15px;line-height:1.9;max-width:555px}
.resume-actions {margin-top:27px}
.resume-note {background:white;padding:43px 38px;border-radius:12px;border:1px solid var(--border);box-shadow:0 12px 25px rgba(74,44,66,.04)}
.resume-caption {display:block;font-size:11px;letter-spacing:.16em;color:#9c6180;margin-bottom:20px;font-weight:700}
.resume-note strong {font:500 28px/1.3 var(--serif);color:var(--plum)}
.resume-note p {font-size:13px;margin:17px 0}
.resume-small {font:italic 13px var(--serif);color:#7b6472}
.contact-section {background:var(--plum);padding:90px 0;text-align:center}
.contact-inner {max-width:640px}
.contact-inner .eyebrow {color:#f2bfd0}
.contact-inner h2 {color:white}
.contact-inner h2 em {color:#f1b5c8}
.contact-inner>p:not(.eyebrow) {font-size:15px;color:#e0d0dd;margin:0 auto 27px}
.btn-dark {color:var(--plum);background:#fff;border:1px solid #fff}
.btn-dark:hover {background:#f8e8ed}
.contact-links {margin-top:30px;display:flex;justify-content:center;gap:28px;flex-wrap:wrap}
.contact-links a {color:#f5dce8;font-size:13px;text-decoration:underline;text-underline-offset:5px}
.footer {background:var(--bg)}
.footer-inner {display:flex;justify-content:space-between;align-items:center;gap:20px;padding:33px 0}
.footer-logo {font-size:25px}
.footer-inner p,.top-link {font-size:12px;color:#806977;margin:0}
.back-top {position:fixed;z-index:25;bottom:19px;right:19px;padding:10px 15px;border-radius:100px;color:white;background:var(--plum);font-size:12px;font-weight:700;box-shadow:0 6px 15px rgba(48,34,53,.19);opacity:0;visibility:hidden;transform:translateY(9px);transition:opacity .2s,transform .2s,visibility .2s}
.back-top.is-visible {opacity:1;visibility:visible;transform:translateY(0)}
@media(max-width:1020px) {
 .hero{gap:45px}.about-grid,.interest-layout,.resume-layout{gap:48px}.experience-layout{gap:35px}.robot-layout{gap:35px}.nav-links{gap:13px}.nav-links a{font-size:11px}
 .feature-content{padding:34px 29px}.feature-content h3{font-size:34px}
}
@media(max-width:860px) {
 .menu-toggle{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:45px;height:45px;background:transparent;border:1px solid var(--border);border-radius:8px}
 .menu-toggle span{display:block;width:19px;height:2px;background:var(--plum);border-radius:2px}
 .nav-links{display:none;position:absolute;top:77px;left:0;right:0;background:var(--bg);padding:18px max(24px,calc((100vw - 1120px)/2));border-bottom:1px solid var(--border);box-shadow:0 12px 22px #3323380f;flex-direction:column;gap:0;align-items:stretch}
 .nav-links.open{display:flex}.nav-links a{font-size:14px;min-height:48px;padding:12px 10px;display:flex;align-items:center}
 .nav-links .nav-cta{justify-content:center;margin-top:6px}
 .hero{min-height:unset;gap:24px;padding-top:66px}.hero-photo img{height:420px}
 .about-grid,.experience-layout,.interest-layout,.resume-layout{grid-template-columns:1fr 1fr;gap:30px}
 .robot-layout{grid-template-columns:1fr}.robot-copy{max-width:700px}
 .repo-toolbar{display:block}.repo-search-wrap{margin-top:17px;width:100%;max-width:500px}
 .experience-photo img{height:350px}
}
@media(max-width:660px){
 .container{width:calc(100% - 36px)}.section{padding:76px 0}.section-heading{margin-bottom:29px}.nav{height:67px}.nav-links{top:66px}.logo{font-size:28px}
 h2{font-size:clamp(34px,9vw,45px)}
 .hero{padding:55px 0 75px;grid-template-columns:1fr;gap:34px}.hero h1{font-size:clamp(55px,13vw,77px)}.hero-subtitle{font-size:25px}.hero-photo{max-width:455px;width:100%;justify-self:center}.hero-photo img{height:410px;border-radius:130px 130px 11px 11px}
 .about-grid,.experience-layout,.interest-layout,.resume-layout,.feature-project{grid-template-columns:1fr;gap:25px}.about-photo{max-width:490px}.about-photo img{height:330px}
 .feature-visual{min-height:260px;height:285px}.feature-content{padding:30px 24px}.feature-content h3{font-size:33px}.project-metrics{gap:8px}.project-metrics strong{font-size:23px}.project-metrics span{font-size:10px}
 .project-cards,.repo-grid,.skill-grid{grid-template-columns:1fr}.project-card{min-height:0;padding:25px}.github-heading{align-items:flex-start;flex-direction:column;gap:16px}.github-profile-link{display:inline-flex}.repo-card{padding:26px}.repo-toolbar{margin-top:30px}
 .robot-layout{gap:24px}.robot-console{max-width:580px}.console-header,.console-bottom{font-size:9px;padding:13px 12px}.telemetry{gap:8px}.robot-copy h2{margin-bottom:18px}
 .experience-photo img{height:350px}.timeline-item{grid-template-columns:90px 14px 1fr;gap:10px}.timeline-date{font-size:10px}.timeline-item h3{font-size:20px}.education-panel{grid-template-columns:1fr;gap:20px;padding:24px}.education-photo{display:flex;align-items:center;gap:14px}.education-photo img{width:120px;height:120px}.education-photo figcaption{margin:0}
 .skill-grid{gap:20px}.skill-column{padding-top:17px}
 .interest-photo img{height:280px}.resume-note{padding:28px}.footer-inner{flex-direction:column;align-items:flex-start;gap:12px}.footer-inner p{font-size:11px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* Optional MP4 demonstrations: only appear after the visitor-uploaded videos load. */
.video-demos{margin-top:36px;padding-top:30px;border-top:1px solid #ead7e0}.video-demos-intro{max-width:650px}.video-demos-intro h3{font:500 clamp(26px,3vw,36px)/1.22 var(--serif);margin:0 0 8px;letter-spacing:-.035em}.video-demos-intro h3 em{color:var(--pink-deep)}.video-demos-intro>p:last-child{font-size:14px;color:var(--muted)}.video-demos-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:20px}.video-demo{margin:0;border:1px solid #ead5de;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 8px 24px #5a344d0c}.video-demo[hidden]{display:none}.video-demo video{display:block;width:100%;aspect-ratio:16/9;background:#2b2430;object-fit:contain}.video-demo figcaption{display:grid;gap:3px;padding:15px 18px}.video-demo figcaption strong{font:600 18px var(--serif)}.video-demo figcaption span{font-size:12px;color:var(--muted)}.video-demos-grid:has(.video-demo:not([hidden])){margin-bottom:8px}.video-demos:has(.video-demo[hidden]):not(:has(.video-demo:not([hidden]))){display:none}@media(max-width:760px){.video-demos-grid{grid-template-columns:1fr}}


/* Image clarity: respect the dimensions of user-supplied JPEGs. */
.about-photo,.experience-photo,.interest-photo{
  width:min(100%,260px);
  max-width:260px;
  justify-self:center;
}
.about-photo img,.experience-photo img,.interest-photo img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:3/4;
  object-fit:contain;
  object-position:center;
}
.feature-visual{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:400px;
  padding:24px 20px 56px;
  background:linear-gradient(155deg,#f8f0f3,#ede0e8);
}
.feature-visual img{
  display:block;
  width:min(100%,250px);
  height:auto;
  max-height:334px;
  aspect-ratio:3/4;
  object-fit:contain;
  border-radius:10px;
  box-shadow:0 12px 34px rgba(55,35,54,.13);
}
.feature-visual figcaption{
  bottom:16px;
  left:50%;
  right:auto;
  transform:translateX(-50%);
  text-align:center;
  max-width:calc(100% - 30px);
  width:max-content;
}
@media(max-width:660px){
  .about-photo,.experience-photo,.interest-photo{max-width:260px;}
  .about-photo img,.experience-photo img,.interest-photo img{height:auto;}
  .feature-visual{height:auto;min-height:370px;padding:24px 20px 54px;}
  .feature-visual img{max-height:300px;}
}

/* SOURCE: enhancements.css */

/* Kailani portfolio interactions: progressive enhancement, no external libraries. */
.hero{position:relative;isolation:isolate}
.hero-orbit{position:absolute;inset:12% -4% auto auto;width:200px;height:200px;z-index:-1;pointer-events:none;opacity:.32}
.hero-orbit .orbital-ring{position:absolute;inset:18px;border:1px solid #cf9eae;border-radius:50%;transform:rotate(-19deg) scaleY(.56)}
.hero-orbit .orbital-dot{position:absolute;width:8px;height:8px;left:50%;top:50%;background:var(--rose);border-radius:50%;box-shadow:0 0 0 7px rgba(182,92,125,.13);animation:soft-orbit 22s linear infinite;transform-origin:-63px 0}
@keyframes soft-orbit{from{transform:rotate(0deg) translateX(78px)}to{transform:rotate(360deg) translateX(78px)}}
html.motion-ready .motion-reveal{opacity:0;transform:translateY(17px);transition:opacity .62s ease,transform .62s cubic-bezier(.2,.7,.2,1)}
html.motion-ready .motion-reveal.in-view{opacity:1;transform:none}
.case-study,.repo-details,.experience-more{border-top:1px solid var(--border);margin-top:17px;padding-top:14px}
.case-study summary,.repo-details summary,.experience-more summary{display:list-item;cursor:pointer;color:var(--rose-dark);font-size:13px;font-weight:700;padding:7px 0}
.case-study summary:hover,.repo-details summary:hover,.experience-more summary:hover{text-decoration:underline;text-underline-offset:4px}
.case-study[open],.repo-details[open]{background:linear-gradient(180deg,transparent,#fffafb)}
.case-body p,.repo-details p,.experience-more p{font-size:13px;line-height:1.8;margin:5px 0 11px}
.case-body strong,.repo-details strong{color:var(--plum)}
.case-study .case-note{font-size:12px;color:var(--secondary);margin-top:7px}
.feature-content .case-study{margin-top:18px}
.repo-card .repo-details{margin-top:auto;margin-bottom:12px}
.repo-card .repo-details p{margin-bottom:7px}
.repo-extra-link{display:inline-block;padding:8px 0;color:var(--rose-dark);font-size:12px;font-weight:700;text-decoration:underline;text-underline-offset:4px}
.video-demos{scroll-margin-top:100px}
.robot-tuner{border:1px solid #dbcbd4;border-radius:16px;background:rgba(255,255,255,.57);padding:18px;margin:22px 0 8px;max-width:470px}
.robot-tuner h3{font:600 16px/1.35 var(--sans);margin:0 0 2px}
.robot-tuner .tuner-hint{font-size:12px;margin-bottom:16px}
.joint-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 12px;align-items:center;margin:12px 0}
.joint-row label{font-size:13px;font-weight:700}
.joint-row output{font:600 12px var(--sans);font-variant-numeric:tabular-nums;color:var(--rose-dark)}
.joint-row input[type="range"]{grid-column:1/-1;width:100%;min-height:28px;accent-color:var(--rose-dark);cursor:pointer}
.tuner-bottom{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:17px;flex-wrap:wrap}
.tuner-bottom p{font-size:11px;line-height:1.6;margin:0;max-width:255px}
.tuner-reset{border:1px solid var(--rose-dark);background:#fff;color:var(--rose-dark);border-radius:999px;padding:9px 17px;font-size:12px;font-weight:700;min-height:42px}
.tuner-reset:hover{background:var(--soft)}
.timeline-item:has(.experience-more[open]){background:rgba(247,238,240,.52);border-radius:12px}
.experience-more{max-width:620px;margin-top:13px}
.experience-more p{color:var(--secondary)}
.reading-shelf{margin-top:26px;border:1px solid var(--border);border-radius:18px;padding:24px;background:rgba(255,255,255,.78);max-width:700px}
.reading-shelf h3{font:500 23px/1.25 var(--serif);margin:0 0 9px}
.reading-shelf .shelf-intro{font-size:13px;margin:0 0 18px}
.shelf-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:15px}
.shelf-tab{min-height:44px;padding:9px 14px;border:1px solid #d6bdc9;border-radius:999px;background:#fff;color:var(--plum);font-size:12px;font-weight:700}
.shelf-tab:hover{background:var(--soft)}
.shelf-tab[aria-selected="true"]{background:var(--plum);border-color:var(--plum);color:white}
.shelf-panel{background:var(--bg);border-radius:12px;padding:19px 20px;min-height:130px}
.shelf-panel h4{font:500 20px/1.4 var(--serif);margin:0 0 8px}
.shelf-panel p{font-size:13px;line-height:1.75;margin:0}
.interactive-caption{font-size:12px;color:var(--secondary)}
@media(max-width:760px){.hero-orbit{width:120px;height:120px;inset:1% -5% auto auto}.robot-tuner{padding:15px}.reading-shelf{padding:18px}.shelf-panel{padding:16px}}
@media(prefers-reduced-motion:reduce){.hero-orbit .orbital-dot{animation:none;transform:translateX(78px)}html.motion-ready .motion-reveal{opacity:1;transform:none;transition:none}}

/* SOURCE: bookshelf.css */

/* Project storybook: CSS-only book visuals, no media dependencies. */
.bookshelf-section{background:linear-gradient(180deg,#fbf6f5 0%,#f5e8ec 100%);border-block:1px solid #eddde4}
.bookshelf-heading{max-width:760px;margin-bottom:35px}
.bookshelf-heading h2{margin-bottom:15px}
.bookshelf-heading>p:last-child{max-width:680px;margin:0;font-size:15px;line-height:1.9}
.bookshelf-cabinet{max-width:980px;margin:0 auto;padding:37px 26px 30px;border:1px solid #e2ccd4;border-radius:18px;background:linear-gradient(90deg,rgba(90,56,73,.05) 0,transparent 9%,transparent 91%,rgba(90,56,73,.05) 100%),linear-gradient(180deg,#fff7f7,#f2e2e8);box-shadow:inset 0 8px 18px #b6869a19,0 24px 50px #5d3c500c;position:relative}
.shelf-level+.shelf-level{margin-top:20px}
.shelf-books{display:flex;gap:9px;align-items:flex-end;justify-content:center;min-height:211px;padding:2px 10px 0;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin}
.book-spine{--spine:#81536d;--spine-border:#533a4b;--spine-text:#fff;flex:0 0 clamp(43px,5.3vw,63px);height:185px;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:space-between;color:var(--spine-text);background:linear-gradient(90deg,rgba(0,0,0,.17),transparent 21%,rgba(255,255,255,.10) 58%,rgba(0,0,0,.18)),var(--spine);border:1px solid var(--spine-border);border-radius:4px 7px 4px 4px;padding:9px 4px;box-shadow:inset 3px 0 3px #ffffff18,inset -4px 0 4px #00000025,3px 5px 5px #412f3a2c;transition:transform .2s ease,box-shadow .2s ease;cursor:pointer}
.book-spine:before,.book-spine:after{content:"";position:absolute;left:4px;right:4px;height:1px;background:#ffffff5e;pointer-events:none}
.book-spine:before{top:28px}.book-spine:after{bottom:31px}
.book-spine:nth-child(2n){height:173px}.book-spine:nth-child(3n){height:195px}.book-spine:nth-child(4n){height:182px}
.book-spine:is(:hover,:focus-visible){transform:translateY(-9px);box-shadow:inset 3px 0 3px #ffffff26,inset -4px 0 4px #00000025,5px 12px 11px #412f3a35}
.book-spine-title{font-family:var(--serif);font-weight:500;font-size:clamp(12px,1.3vw,16px);line-height:1.08;writing-mode:vertical-rl;transform:rotate(180deg);white-space:nowrap;flex:1;min-height:0;display:flex;justify-content:center;align-items:center;overflow:hidden;padding:4px 0;letter-spacing:.015em}
.book-spine-year{font:700 9px/1 var(--sans);white-space:nowrap}
.book-spine-ornament{font:15px/1 var(--serif)}
.book-rose{--spine:#aa5478;--spine-border:#7d3955}.book-sienna{--spine:#915e58;--spine-border:#72423c}.book-indigo{--spine:#55527b;--spine-border:#3a3858}.book-sage{--spine:#47675d;--spine-border:#334f47}.book-gold{--spine:#997343;--spine-border:#77552d}.book-plum{--spine:#62435e;--spine-border:#462f44}.book-wine{--spine:#82485e;--spine-border:#5d3043}.book-teal{--spine:#416c73;--spine-border:#2f545b}.book-lavender{--spine:#777399;--spine-border:#534c74}
.book-ink{--spine:#444b72;--spine-border:#323452}
.book-copper{--spine:#945f4d;--spine-border:#6c4638}
.book-jade{--spine:#436f71;--spine-border:#2b4f53}
.shelf-plank{height:17px;border-radius:4px;background:linear-gradient(180deg,#a17c89 0%,#795362 26%,#6f4b59 75%,#523745 100%);box-shadow:0 10px 14px #47323e24, inset 0 2px 0 #e3c5cd9e}
.bookshelf-help{text-align:center;font-size:13px;margin:19px 0 0;color:#795b6c}


/* A complete, readable volume. Project information is printed on the book pages. */
.project-book-dialog{
  box-sizing:border-box;
  width:min(1070px,calc(100vw - 24px));
  max-width:1070px;
  max-height:min(96dvh,920px);
  padding:0;
  margin:auto;
  border:0;
  border-radius:0;
  color:#342733;
  background:transparent;
  overflow-y:auto;
  overscroll-behavior:contain;
  box-shadow:none;
  scrollbar-color:#c49ca9 transparent;
  scrollbar-width:thin;
}
.project-book-dialog::backdrop{
  background:rgba(34,22,36,.83);
  backdrop-filter:blur(7px);
}
.project-book-shell{padding:5px 16px 22px;background:transparent;border:0;box-shadow:none;}
.project-book-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  min-height:55px;
  padding:0 5px 10px;
}
.project-book-eyebrow{
  color:#f4dce7;
  font:700 10px/1.55 var(--sans);
  letter-spacing:.19em;
  text-transform:uppercase;
}
.project-book-close{
  display:inline-flex;align-items:center;gap:10px;
  min-height:42px;padding:8px 13px;
  border:1px solid rgba(255,236,241,.6);
  border-radius:999px;background:rgba(255,250,251,.08);
  color:white;font:700 12px/1.4 var(--sans);
}
.project-book-close span{font:22px/1 var(--sans)}
.project-book-close:hover{background:rgba(255,248,250,.2)}
.book-open-stage{
  --active-book-color:#874861;
  --active-book-border:#54354a;
  position:relative;
  isolation:isolate;
  perspective:1800px;
  transform-style:preserve-3d;
  min-height:525px;
  margin:7px 9px 18px;
}
.book-open-stage::before{
  content:"";position:absolute;
  inset:-8px -8px -12px;
  border:2px solid #4a3246;
  border-radius:11px 14px 16px 11px;
  background:linear-gradient(90deg,#4b3044 0%,#77445d 4%,#8f536b 50%,#6c3a57 96%,#47283e);
  box-shadow:0 6px 0 #463042,0 11px 0 #e3d4c4,0 14px 1px #694658,0 25px 70px rgba(0,0,0,.54);
  z-index:-1;
  opacity:1;
}
.book-spread{
  position:relative;
  display:grid;
  grid-template-columns:1fr 1fr;
  min-height:525px;
  overflow:hidden;
  isolation:isolate;
  background:#fbf6ec;
  border:1px solid #d2c3b2;
  border-radius:4px 8px 11px 4px;
  box-shadow:inset 0 0 0 4px #f7ecdd,0 2px 0 #fff8e9,0 5px 0 #eadbcc,0 8px 0 #c6b6a7;
}
.book-spread::after{
  content:"";position:absolute;
  pointer-events:none;z-index:2;
  top:0;bottom:0;
  width:38px;left:calc(50% - 19px);
  background:linear-gradient(90deg,transparent 0%,rgba(77,51,55,.08) 23%,rgba(67,47,56,.17) 44%,rgba(67,47,56,.22) 50%,rgba(67,47,56,.12) 59%,transparent 100%);
}
.book-page{
  position:relative;display:flex;flex-direction:column;
  padding:clamp(31px,4.5vw,57px) clamp(28px,4.7vw,59px) 31px;
  min-width:0;
  min-height:525px;
  background:
    radial-gradient(ellipse at 14% 18%,rgba(255,255,255,.72),transparent 48%),
    repeating-linear-gradient(94deg,rgba(161,132,99,.017) 0px,rgba(161,132,99,.017) 1px,transparent 1px,transparent 5px),
    #f9f3e9;
  color:#473747;
}
.book-page-left{
  border-right:1px solid rgba(99,75,73,.12);
  background:
    linear-gradient(90deg,rgba(167,133,124,.1),transparent 8%,transparent 82%,rgba(82,57,59,.08)),
    radial-gradient(ellipse at 20% 13%,#fffcf3,#f8f0e5 95%);
}
.book-page-right{
  background:
    linear-gradient(90deg,rgba(82,57,59,.12),transparent 12%,transparent 92%,rgba(167,133,124,.11)),
    radial-gradient(ellipse at 77% 16%,#fffcf3,#f8f0e5 95%);
}
.book-page-topline,.book-page-bottomline{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  color:#8a7175;
  font:700 9px/1.5 var(--sans);
  letter-spacing:.17em;
  text-transform:uppercase;
}
.book-page-topline{padding-bottom:13px;border-bottom:1px solid #d7c4b2;margin-bottom:26px}
.book-page-chapter{font:italic 19px/1 var(--serif);color:#b08893}
.book-page-bottomline{
  border-top:1px solid #dac9bb;
  padding-top:12px;
  margin-top:auto;
}
.book-page-number{color:#936775;font:italic 18px/1 var(--serif);letter-spacing:0}
.book-edition{
  font:700 10px/1.4 var(--sans);
  color:#905d70;
  letter-spacing:.13em;
  text-transform:uppercase;
  margin:0 0 13px;
}
.book-page h2{
  font:500 clamp(30px,3.5vw,43px)/1.16 var(--serif);
  color:#412d3c;
  letter-spacing:-.038em;
  margin:0 0 11px;
  overflow-wrap:break-word;
}
.book-modal-subtitle{
  font:italic 17px/1.6 var(--serif);
  color:#865f72;
  margin:0 0 3px;
}
.book-page-rule{
  height:1px;width:64px;
  background:#b78699;
  margin:26px 0 23px;
}
.book-page h3{
  color:#50354a;
  font:500 24px/1.25 var(--serif);
  letter-spacing:-.02em;
  margin:0 0 13px;
}
.book-story-prose{
  color:#584953;
  font:400 14px/1.92 var(--sans);
  letter-spacing:.003em;
  margin:0 0 29px;
  text-wrap:pretty;
}
.book-story-prose::first-letter{
  float:left;
  margin:3px 8px -6px 0;
  font:500 49px/.84 var(--serif);
  color:#98647b;
}
.book-project-facts{margin:0 0 14px;}
.book-project-facts>div{margin:0 0 16px;}
.book-project-facts dt{
  margin:0 0 4px;
  color:#905a74;
  font:700 10px/1.4 var(--sans);
  text-transform:uppercase;
  letter-spacing:.15em;
}
.book-project-facts dd{
  color:#574955;
  font:400 13px/1.75 var(--sans);
  margin:0;
}
.book-project-link{
  align-self:flex-start;
  display:inline-flex;align-items:center;
  padding:4px 0;
  margin:0 0 22px;
  background:transparent;
  border-bottom:1px solid #a57489;
  color:#784663;
  font:700 12px/1.6 var(--sans);
  text-decoration:none;
}
.book-project-link:hover{color:#4a2e41;border-color:#4a2e41}
.book-modal-actions{
  display:flex;justify-content:space-between;align-items:center;gap:13px;
  padding:8px 8px 2px;
}
.book-page-control{
  min-height:42px;padding:9px 16px;
  border:1px solid rgba(255,239,242,.6);
  border-radius:999px;
  background:rgba(255,250,252,.08);
  color:#fffafc;
  font:700 12px/1.4 var(--sans);
}
.book-page-control:hover{background:rgba(255,245,248,.19)}
.book-page-control:disabled{opacity:.38;cursor:not-allowed}
#book-counter{
  font:600 12px/1.4 var(--sans);
  color:#f5e4eb;
  font-variant-numeric:tabular-nums;
}
.book-mobile-turn{display:none}
.book-flipping-cover{
  display:none;
  position:absolute;
  z-index:5;
  top:0;bottom:0;left:50%;width:50%;
  border:3px solid var(--active-book-border);
  border-radius:5px 12px 13px 5px;
  background:linear-gradient(90deg,rgba(13,8,14,.37),transparent 12%,rgba(255,255,255,.1) 48%,rgba(29,15,26,.21)),var(--active-book-color);
  box-shadow:inset 13px 0 16px -7px #1b1118af,inset 0 0 0 13px rgba(255,239,211,.065),10px 14px 32px #23172385;
  transform-origin:left center;
  transform-style:preserve-3d;
  backface-visibility:visible;
  align-items:center;justify-content:space-evenly;flex-direction:column;gap:10px;
  text-align:center;
  color:#fef3e4;
  pointer-events:none;
}
.book-flipping-cover::before{
  content:"";position:absolute;
  inset:22px 24px;
  border:1px solid rgba(254,235,202,.58);
  box-shadow:0 0 0 5px rgba(254,235,202,.06);
  border-radius:2px;
  backface-visibility:hidden;
}
.book-flipping-cover::after{
  content:"";position:absolute;
  inset:0;z-index:0;
  background:
    linear-gradient(90deg,rgba(79,50,55,.2),transparent 13%),
    repeating-linear-gradient(to bottom,transparent 0,transparent 22px,rgba(149,127,114,.04) 23px),
    #fdf6ec;
  transform:rotateY(180deg) translateZ(1px);
  backface-visibility:hidden;
  border:2px solid #e0d0bd;
  border-radius:8px;
}
.book-cover-emblem,.book-cover-title,.book-cover-foot{
  position:relative;z-index:1;
  backface-visibility:hidden;
}
.book-cover-emblem{font:34px/1 var(--serif);}
.book-cover-title{
  max-width:80%;
  font:500 clamp(22px,3.1vw,38px)/1.29 var(--serif);
  text-wrap:balance;
  overflow-wrap:anywhere;
}
.book-cover-foot{font:700 10px var(--sans);letter-spacing:.14em}
.book-open-stage.is-closed::before{opacity:0}
.book-open-stage.is-closed .book-spread{visibility:hidden;opacity:0}
.book-open-stage.is-closed .book-flipping-cover{
  display:flex;
  left:25%;
  transform:rotateY(0deg) scale(.92);
  opacity:1;
}
.book-open-stage.is-opening::before{animation:hardback-appears 1.05s ease-out both}
.book-open-stage.is-opening .book-spread{visibility:visible;animation:pages-appear 1.05s linear both}
.book-open-stage.is-opening .book-flipping-cover{display:flex;animation:hardback-opens 1.05s cubic-bezier(.19,.66,.2,1) both}
.book-open-stage.is-open .book-spread{opacity:1;visibility:visible}
.book-open-stage.is-open .book-flipping-cover{display:none}
@keyframes hardback-appears{0%,15%{opacity:0}40%,100%{opacity:1}}
@keyframes pages-appear{0%,18%{opacity:0}37%,100%{opacity:1}}
@keyframes hardback-opens{
  0%{left:25%;transform:rotateY(0deg) scale(.92);opacity:1}
  19%{left:50%;transform:rotateY(0deg) scale(1);opacity:1}
  46%{left:50%;transform:rotateY(-45deg);opacity:1}
  83%{left:50%;transform:rotateY(-165deg);opacity:1}
  100%{left:50%;transform:rotateY(-179deg);opacity:0}
}
.book-turning-page{
  display:none;
  position:absolute;z-index:6;top:0;left:50%;
  width:50%;height:100%;
  border:1px solid #ddcebd;
  border-radius:0 7px 7px 0;
  transform-origin:left 50%;
  pointer-events:none;
  background:
    repeating-linear-gradient(to bottom,transparent 0,transparent 24px,rgba(146,124,107,.055) 25px),
    linear-gradient(110deg,#e4d8c9,#fffbf3 17%,#fbf3e8 94%,#d9cbb9);
  box-shadow:-3px 2px 19px #3b2e3670;
  backface-visibility:visible;
}
.book-turning-page::before{
  content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,#e3d6c7,#fffaf1 11%,#f9f0e5);
  transform:rotateY(180deg) translateZ(1px);
  backface-visibility:hidden;
}
.book-open-stage.page-turn-next .book-turning-page{display:block;animation:page-flip-next .72s ease-in-out both}
.book-open-stage.page-turn-prev .book-turning-page{
  display:block;left:0;transform-origin:right center;border-radius:7px 0 0 7px;
  animation:page-flip-prev .72s ease-in-out both;
}
@keyframes page-flip-next{0%{transform:rotateY(0);opacity:1}50%{transform:rotateY(-92deg);opacity:1}99%{transform:rotateY(-179deg);opacity:1}100%{transform:rotateY(-179deg);opacity:0}}
@keyframes page-flip-prev{0%{transform:rotateY(0);opacity:1}50%{transform:rotateY(92deg);opacity:1}99%{transform:rotateY(179deg);opacity:1}100%{transform:rotateY(179deg);opacity:0}}
@media(max-width:780px){
  .bookshelf-cabinet{padding:22px 10px 23px}
  .shelf-books{gap:6px;min-height:195px;padding-inline:3px}
  .book-spine{flex-basis:clamp(43px,11vw,55px)}
  .book-spine-title{font-size:13px}
  .project-book-dialog{width:min(520px,calc(100vw - 15px));max-height:96dvh;}
  .project-book-shell{padding:4px 13px 22px}
  .project-book-toolbar{min-height:52px;padding:0 2px 9px}
  .project-book-eyebrow{max-width:57%;font-size:9px;letter-spacing:.1em}
  .book-open-stage{min-height:490px;margin:2px 5px 15px}
  .book-spread{grid-template-columns:1fr;min-height:490px;border-radius:6px}
  .book-spread::after{display:none}
  .book-page{min-height:490px;padding:30px 33px 24px}
  .book-page-left{border-right:0}
  .book-page h2{font-size:clamp(31px,7.3vw,44px)}
  .book-story-prose{font-size:14px}
  .book-open-stage[data-mobile-page="1"] .book-page-right{display:none}
  .book-open-stage[data-mobile-page="2"] .book-page-left{display:none}
  .book-mobile-turn{
    display:flex;align-items:center;justify-content:space-between;
    width:100%;min-height:44px;padding:10px 0 0;margin-top:9px;
    background:transparent;border:0;border-top:1px solid #e5d6c9;
    color:#7e4b65;font:700 12px/1.4 var(--sans);
  }
  .book-mobile-turn:hover{color:#4f3548}
  .book-page-bottomline{margin-top:auto}
  .book-open-stage.is-closed .book-flipping-cover{
    left:5%;width:90%;height:100%;transform:scale(.92);
  }
  .book-open-stage.is-opening .book-flipping-cover{
    left:5%;width:90%;height:100%;
    animation:hardback-opens-mobile 1.05s ease-in-out both;
  }
  @keyframes hardback-opens-mobile{
    0%{transform:rotateY(0deg) scale(.92);opacity:1}
    20%{transform:rotateY(0deg) scale(1);opacity:1}
    77%{transform:rotateY(-150deg);opacity:1}
    100%{transform:rotateY(-179deg);opacity:0}
  }
  .book-open-stage.page-turn-mobile-forward .book-turning-page,
  .book-open-stage.page-turn-mobile-backward .book-turning-page{
    display:block;left:0;top:0;width:100%;height:100%;
    transform-origin:left center;
    border-radius:7px;
    animation:mobile-page-turn .56s ease-in-out both;
  }
  @keyframes mobile-page-turn{
    0%{transform:rotateY(0deg);opacity:1}
    75%{transform:rotateY(-118deg);opacity:1}
    100%{transform:rotateY(-172deg);opacity:0}
  }
  .book-modal-actions{gap:7px;padding-inline:0}
  .book-page-control{font-size:11px;padding:8px 11px}
}
@media(max-width:390px){
  .book-spine{flex-basis:42px}
  .shelf-books{gap:4px}
  .project-book-shell{padding-inline:9px}
  .book-page{padding:25px 23px 21px}
  .book-modal-actions{flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){
  .book-spine{transition:none}
  .book-spine:is(:hover,:focus-visible){transform:none}
  .book-spine.is-pulling{transform:none}
  .book-open-stage.is-opening::before,
  .book-open-stage.is-opening .book-spread,
  .book-open-stage.is-opening .book-flipping-cover{animation:none}
  .book-open-stage.is-opening .book-spread{visibility:visible;opacity:1}
  .book-open-stage.is-opening .book-flipping-cover{display:none}
  .book-open-stage.page-turn-next .book-turning-page,
  .book-open-stage.page-turn-prev .book-turning-page,
  .book-open-stage.page-turn-mobile-forward .book-turning-page,
  .book-open-stage.page-turn-mobile-backward .book-turning-page{display:none;animation:none}
}

/* Two new volumes, colored to harmonize with the existing blush-and-plum shelf. */
.book-slate{--spine:#586775;--spine-border:#394b59}
.book-orchid{--spine:#795d90;--spine-border:#533e69}



/* Mobile-first bookshelf navigation: native touch scrolling, large spines. */
.shelf-level{scroll-margin-top:115px}
.shelf-label-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 10px 12px}
.shelf-label-row h3{font:500 18px/1.35 var(--serif);color:var(--plum);margin:0}
.shelf-label-row h3 span{display:block;font:500 11px/1.4 var(--sans);color:var(--secondary);letter-spacing:.04em;margin-top:3px}
.shelf-collection-link{min-height:44px;display:inline-flex;align-items:center;gap:6px;border:1px solid #dfc7d1;background:#fffafc;border-radius:999px;color:#764660;font-size:11px;font-weight:700;padding:9px 12px;white-space:nowrap;position:relative}
.shelf-collection-link:hover{background:#f9ebf1}
.shelf-swipe-hint{display:none;color:#865f73;font-size:11px;margin:0 11px 10px;line-height:1.45}
.shelf-books{scroll-snap-type:x proximity;scroll-padding-inline:14px;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y}
.book-spine{scroll-snap-align:start}
.book-spine.last-opened{box-shadow:inset 3px 0 3px #ffffff18,inset -4px 0 4px #00000025,0 0 0 2px #dbb7c6,3px 5px 5px #412f3a2c}
.book-page-status{display:none;color:#f7e4ec;font:600 12px/1.5 var(--sans);margin:0 12px 8px}
.project-book-close.return-bookshelf{padding:9px 16px;min-height:48px;background:rgba(255,250,251,.16);font-size:13px}
.project-book-close.return-bookshelf:hover{background:rgba(255,248,251,.3)}
html.restoring-shelf-position{scroll-behavior:auto!important}
html.restoring-shelf-position .shelf-books{scroll-behavior:auto!important}
@media(max-width:780px){
 .bookshelf-cabinet{padding:20px 10px 23px}
 .shelf-label-row{padding:0 5px 9px;align-items:flex-start}
 .shelf-label-row h3{font-size:17px}
 .shelf-collection-link{padding:9px 10px;min-height:46px}
 .shelf-swipe-hint{display:block}
 .shelf-books{
   display:flex;justify-content:flex-start;
   padding:6px 11px 9px;gap:11px;min-height:210px;
   overflow-x:auto;overflow-y:hidden;
   scroll-snap-type:x mandatory;
   scroll-padding-inline:11px;
   scrollbar-width:thin;
   scrollbar-color:#c59cac transparent;
   overscroll-behavior-inline:contain;
 }
 .book-spine,.book-spine:nth-child(2n),.book-spine:nth-child(3n),.book-spine:nth-child(4n){
   flex:0 0 clamp(58px,17vw,72px);
   min-width:58px;
   min-height:177px;
   max-height:195px;
   scroll-snap-align:start;
 }
 .book-spine-title{font-size:clamp(14px,4vw,16px)}
 .book-spine:focus-visible{outline:3px solid #703753;outline-offset:3px}
 .book-page-status{display:block}
 .project-book-dialog{width:min(530px,calc(100vw - 12px));max-height:96dvh}
 .book-open-stage{min-height:0}
 .book-spread{min-height:0}
 .book-page{height:auto;min-height:420px;padding:clamp(23px,6vw,34px);padding-bottom:22px}
 .book-story-prose{font-size:15px;line-height:1.9}
 .book-project-facts dd{font-size:14px;line-height:1.75}
 .book-mobile-turn{min-height:48px;font-size:13px;text-align:left}
 .book-page-topline{letter-spacing:.09em}
 .project-book-toolbar{gap:7px;align-items:center}
 .project-book-eyebrow{max-width:42%;font-size:9px}
 .project-book-close.return-bookshelf{font-size:12px;min-height:48px;padding:10px 12px}
 .book-modal-actions{padding-bottom:8px}
 .book-page-control{min-height:46px}
}
@media(max-width:390px){
 .shelf-books{gap:10px}
 .book-spine,.book-spine:nth-child(2n),.book-spine:nth-child(3n),.book-spine:nth-child(4n){flex-basis:60px;min-width:60px}
 .shelf-label-row h3{font-size:16px}
 .shelf-collection-link{font-size:10px}
 .book-page{padding:22px}
}
@media(prefers-reduced-motion:reduce){
 .book-spine{transition:none}
 .shelf-books{scroll-behavior:auto!important}
}


/* Two thematic shelves, with independent jacket colors for all 16 books. */
.shelf-level+.shelf-level{margin-top:34px}
.shelf-level{--collection-ink:#70536f;scroll-margin-top:106px}
.shelf-space{--collection-ink:#66506f}
.shelf-digital{--collection-ink:#4f6c7b}
.shelf-sensing{--collection-ink:#a06179}
.shelf-label-row h3{display:flex;flex-wrap:wrap;align-items:center;column-gap:12px}
.shelf-label-row h3::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--collection-ink);box-shadow:0 0 0 4px color-mix(in srgb,var(--collection-ink) 12%,transparent)}
.shelf-label-row h3 span{flex-basis:calc(100% - 24px);margin-left:20px;font-family:var(--sans);font-size:13px;font-weight:700;color:var(--collection-ink);letter-spacing:0}
.shelf-collection-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.shelf-collection-link{padding-inline:11px}
.shelf-collection-description{margin:0 10px 7px;max-width:620px;font-size:12px;color:#7e6876;line-height:1.6}
.shelf-preview{min-height:68px;display:grid;grid-template-columns:88px minmax(0,1fr);grid-template-rows:auto auto;column-gap:14px;align-content:center;padding:12px 18px;margin-top:8px;border:1px solid #e8d7df;border-radius:10px;background:rgba(255,255,255,.65)}
.shelf-preview-label{grid-row:1 / span 2;align-self:center;color:var(--collection-ink);font-size:9px;font-weight:800;letter-spacing:.11em;line-height:1.5}
.shelf-preview strong{display:block;font-family:var(--serif);font-weight:500;font-size:16px;line-height:1.3;color:var(--plum)}
.shelf-preview [data-preview-text]{display:block;font-size:12px;line-height:1.55;color:#715c69}
.shelf-level.is-previewing .shelf-preview{border-color:#d9b7c6;background:#fffafc}
.shelf-level .book-spine:focus-visible{outline:3px solid var(--collection-ink);outline-offset:4px}
@media(max-width:780px){
 .shelf-level+.shelf-level{margin-top:29px}
 .shelf-label-row{align-items:center}
 .shelf-label-row h3{font-size:17px}
 .shelf-label-row h3 span{font-size:12px}
 .shelf-collection-actions{gap:5px}
 .shelf-collection-link{font-size:10px;min-height:44px}
 .shelf-collection-description{margin:0 5px 9px;font-size:12px}
 .shelf-swipe-hint{margin-top:0}
 .shelf-preview{grid-template-columns:72px minmax(0,1fr);column-gap:10px;padding:12px 11px;margin:10px 0 0;min-height:72px}
 .shelf-preview-label{font-size:9px}
 .shelf-preview strong{font-size:15px}
 .shelf-preview [data-preview-text]{font-size:12px}
}
@media(max-width:430px){
 .shelf-label-row{align-items:flex-start}
 .shelf-collection-actions{max-width:54%;justify-content:flex-end}
 .shelf-collection-link{font-size:10px;padding:8px 10px;white-space:normal;text-align:center;line-height:1.1}
 .shelf-label-row h3{flex:1;min-width:110px}
 .shelf-label-row h3 span{overflow-wrap:anywhere}
 .shelf-preview-label{font-size:8px}
}
@media(prefers-reduced-motion:reduce){
 .shelf-preview{transition:none}
}


/* Individual book-jacket colors on both shelves. Keep the family cohesive,
   but don't repeat a single color across all books in a category. */
.book-rose{--spine:#aa5478;--spine-border:#763651}
.book-ink{--spine:#444b72;--spine-border:#303855}
.book-plum{--spine:#62435e;--spine-border:#442c40}
.book-sage{--spine:#47675d;--spine-border:#305047}
.book-copper{--spine:#945f4d;--spine-border:#674132}
.book-jade{--spine:#436f71;--spine-border:#2b5052}
.book-orchid{--spine:#795d90;--spine-border:#553d69}
.book-sienna{--spine:#915e58;--spine-border:#6a433e}
.book-indigo{--spine:#55527b;--spine-border:#393858}
.book-gold{--spine:#856134;--spine-border:#644826}
.book-slate{--spine:#586775;--spine-border:#374b59}
.book-wine{--spine:#82485e;--spine-border:#5c3041}
.book-teal{--spine:#416c73;--spine-border:#2c5159}
.book-lavender{--spine:#6b6288;--spine-border:#4e466a}

/* Give rotated book titles real length to breathe. No clipping or ellipses;
   the companion JS measures each exact name and scales only when necessary. */
.shelf-books{min-height:250px;align-items:flex-end}
.shelf-books .book-spine{
  height:215px;
  min-height:0;
  max-height:none;
  flex-shrink:0;
  padding-block:9px;
}
.shelf-books .book-spine:nth-child(2n){height:207px}
.shelf-books .book-spine:nth-child(3n){height:225px}
.shelf-books .book-spine:nth-child(4n){height:213px}
.shelf-books .book-spine-title{
  flex:1 1 auto;
  min-height:0;
  font-size:15px;
  line-height:1.05;
  letter-spacing:0;
  padding:3px 0;
  white-space:nowrap;
  overflow:visible;
  text-overflow:clip;
}
.shelf-books .book-spine-year{flex-shrink:0}
.shelf-books .book-spine-ornament{flex-shrink:0}
@media(max-width:780px){
  .shelf-books{min-height:246px}
  .shelf-books .book-spine,
  .shelf-books .book-spine:nth-child(2n),
  .shelf-books .book-spine:nth-child(3n),
  .shelf-books .book-spine:nth-child(4n){
    min-height:0;
    max-height:none;
    height:215px;
  }
  .shelf-books .book-spine:nth-child(2n){height:206px}
  .shelf-books .book-spine:nth-child(3n){height:222px}
  .shelf-books .book-spine:nth-child(4n){height:211px}
  .shelf-books .book-spine-title{font-size:15px}
}

/* New source-backed engineering volumes, complementary to existing jackets. */
.book-bronze{--spine:#795531;--spine-border:#52391f}
.book-pine{--spine:#355d51;--spine-border:#234439}


/* Final reading-room polish. Preview is part of each shelf, not another card. */
.bookshelf-cabinet{
  padding:clamp(25px,3.2vw,38px) clamp(14px,2.7vw,27px) 28px;
  box-shadow:inset 0 8px 18px #b6869a13,0 20px 44px #5d3c500c;
}
.shelf-level+.shelf-level{margin-top:31px}
.shelf-label-row{padding-bottom:11px}
.shelf-collection-description{margin-bottom:10px}
.shelf-preview{
  border-color:#e2ced8;
  border-left:3px solid var(--collection-ink);
  background:rgba(255,252,253,.76);
  transition:border-color .18s ease,background .18s ease;
}
.shelf-level.is-previewing .shelf-preview{
  border-color:#caa9b9;
  border-left-color:var(--collection-ink);
  background:#fffafc;
}
.shelf-preview strong{font-size:17px}
.shelf-preview [data-preview-text]{font-size:12px;line-height:1.6}
.shelf-books .book-spine.last-opened{
  outline:2px solid rgba(117,73,106,.63);
  outline-offset:3px;
  box-shadow:inset 3px 0 3px #ffffff18,inset -4px 0 4px #00000025,3px 6px 8px #412f3a2c;
}
.shelf-books .book-spine:focus-visible{
  outline:3px solid #714f79;
  outline-offset:4px;
}
@media(max-width:780px){
  .bookshelf-cabinet{padding:22px 14px 24px}
  .shelf-level+.shelf-level{margin-top:27px}
  .shelf-swipe-hint{
    display:block;
    margin:4px 4px 13px;
    color:#6f4b67;
    font-size:12px;
    font-weight:700;
  }
  .shelf-books{
    justify-content:flex-start;
    scroll-snap-type:x mandatory;
    padding:10px 7px 14px;
    scrollbar-color:#b98ea4 #f3e7eb;
    scrollbar-width:thin;
  }
  .shelf-books::-webkit-scrollbar{height:5px}
  .shelf-books::-webkit-scrollbar-thumb{background:#b98ea4;border-radius:20px}
  .shelf-books::-webkit-scrollbar-track{background:#f3e7eb}
  .book-spine:is(:hover,:focus-visible){transform:translateY(-5px)}
  .shelf-preview{margin-top:13px;min-height:79px}
  .shelf-preview strong{font-size:15px}
}
@media(prefers-reduced-motion:reduce){
  .shelf-preview{transition:none}
  .book-spine:is(:hover,:focus-visible){transform:none}
}

/* SOURCE: ux.css */

/* Calm visual polish: the bookshelf remains the primary way to explore projects. */
html{scroll-padding-top:102px}
.section[id],#bookshelf,#github-projects,#robot-lab{scroll-margin-top:105px}
.section{padding-block:clamp(68px,7.5vw,94px)}
.section-heading{max-width:760px;margin-bottom:34px}
.hero{min-height:600px;padding-block:68px 80px;gap:clamp(36px,6vw,86px)}
.hero-description,.about-copy p,.feature-content>p{max-width:62ch}
.hero-secondary-link{display:inline-block;margin-top:14px;font-size:12px;font-weight:700;color:var(--rose-dark);text-underline-offset:4px;text-decoration:underline}
.hero-secondary-link:hover{color:var(--plum)}
.site-header{isolation:isolate}
.scroll-progress{height:3px;position:absolute;bottom:0;left:0;right:0;overflow:hidden;pointer-events:none}
.scroll-progress span{display:block;width:100%;height:100%;background:linear-gradient(90deg,#c8879e,#9c6488,#615578);transform:scaleX(0);transform-origin:left center;will-change:transform}
.pathways{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-block:-24px 40px;position:relative;z-index:2}
.pathway{min-height:85px;padding:15px 18px;display:flex;align-items:center;gap:13px;border:1px solid #e8d8df;background:#fffdfd;border-radius:13px;box-shadow:0 7px 26px #5d3c4e0d;transition:border-color .2s,box-shadow .2s,transform .2s}
.pathway:hover{border-color:#c894a9;transform:translateY(-3px);box-shadow:0 9px 24px #5d3c4e19}
.pathway-icon{width:39px;height:39px;border-radius:12px;flex:none;display:grid;place-items:center;background:#f7eef2;color:#92556f;font:24px/1 var(--serif)}
.pathway strong{font-size:13px;line-height:1.35;display:block;color:#473642}
.pathway small{font-size:11px;line-height:1.5;color:#806b78;display:block;margin-top:3px}
.pathway-arrow{margin-left:auto;color:#b27d95;font-size:15px}
.project-index{border:1px solid #ead8df;border-radius:14px;background:#fffafc;margin-top:22px;overflow:hidden}
.project-index>summary{min-height:76px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1px 16px;padding:18px 24px;align-content:center;cursor:pointer;list-style:none;position:relative}
.project-index>summary::-webkit-details-marker{display:none}
.project-index>summary:hover{background:#fdf4f7}
.project-index-heading{color:var(--plum);font-size:15px;line-height:1.4;font-weight:700}
.project-index-caption{grid-column:1;color:#796470;font-size:12px}
.project-index-symbol{grid-column:2;grid-row:1/3;width:27px;height:27px;border:1px solid #d8b9c7;background:#fff;border-radius:100%;position:relative;align-self:center}
.project-index-symbol:before,.project-index-symbol:after{content:"";position:absolute;background:#7e4a65;left:7px;right:7px;top:12px;height:2px;border-radius:2px}
.project-index-symbol:after{transform:rotate(90deg)}
.project-index[open] .project-index-symbol:after{transform:rotate(0)}
.project-index[open]>summary{border-bottom:1px solid #ead8df;background:#fff8fa}
.project-index .project-cards-wrapper{padding:6px 19px 22px}
.project-index .project-cards{margin-top:14px}
.project-index .project-card{min-height:0}
.bookshelf-section{position:relative;overflow:hidden}
.bookshelf-heading{position:relative;padding-right:140px}
.space-orbiter{position:absolute;width:100px;height:100px;right:7px;top:3px;pointer-events:none;opacity:.59}
.space-orbiter-body{position:absolute;inset:29px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#efd9e3,#c691aa 67%,#845c7c);box-shadow:0 3px 15px #6e4b6330}
.space-orbiter-ring{position:absolute;inset:35px 6px;border:2px solid #a36c89;border-radius:50%;transform:rotate(-28deg) scaleY(.72);animation:space-tilt 20s ease-in-out infinite alternate}
.space-orbiter-star{position:absolute;right:0;top:3px;width:10px;height:10px;background:#af8199;clip-path:polygon(50% 0,61% 36%,100% 50%,61% 64%,50% 100%,39% 64%,0 50%,39% 36%)}
@keyframes space-tilt{from{transform:rotate(-28deg) scaleY(.72)}to{transform:rotate(-10deg) scaleY(.79)}}
.star-trio{position:absolute;pointer-events:none;width:140px;height:100px;opacity:.54}
.star-trio-hero{right:28%;top:45px}
.star-trio span{position:absolute;width:14px;height:14px;background:#b8809e;clip-path:polygon(50% 0,60% 40%,100% 50%,60% 60%,50% 100%,40% 60%,0 50%,40% 40%);animation:star-flicker 5.6s ease-in-out infinite}
.star-trio span:nth-child(1){top:12px;left:6px;width:9px;height:9px}
.star-trio span:nth-child(2){top:55px;left:73px;animation-delay:-1.5s}
.star-trio span:nth-child(3){top:9px;right:8px;width:7px;height:7px;animation-delay:-3s}
@keyframes star-flicker{0%,100%{opacity:.28;transform:scale(.88)}50%{opacity:.82;transform:scale(1.09)}}
.interests-section{position:relative;overflow:hidden}
.interest-layout{position:relative}
.constellation-shape{position:absolute;right:10%;top:-61px;pointer-events:none;width:94px;height:56px;opacity:.46;transform:rotate(-8deg)}
.constellation-shape span{position:absolute;width:7px;height:7px;border-radius:50%;background:#a76d90;animation:star-flicker 7s ease-in-out infinite}
.constellation-shape span:nth-child(1){left:4px;top:32px}
.constellation-shape span:nth-child(2){left:38px;top:12px;animation-delay:-1s}
.constellation-shape span:nth-child(3){right:6px;top:30px;animation-delay:-2.3s}
.constellation-shape span:nth-child(4){left:56px;bottom:1px;width:5px;height:5px;animation-delay:-3.5s}
.constellation-shape:before,.constellation-shape:after{content:"";position:absolute;height:1px;background:#b28ca2;transform-origin:left;left:9px;top:35px}
.constellation-shape:before{width:39px;transform:rotate(-29deg)}
.constellation-shape:after{left:43px;top:17px;width:46px;transform:rotate(22deg)}
.robot-section{position:relative;overflow:hidden}
.robot-section:before{content:"";position:absolute;right:5%;top:41px;width:102px;height:2px;background:linear-gradient(90deg,transparent,#c58caa);transform:rotate(-24deg);opacity:.35;pointer-events:none;animation:streak-glimmer 11s ease-in-out infinite}
.robot-section:after{content:"";position:absolute;right:4%;top:24px;width:12px;height:12px;background:#c18da8;clip-path:polygon(50% 0,60% 40%,100% 50%,60% 60%,50% 100%,40% 60%,0 50%,40% 40%);opacity:.4;pointer-events:none;animation:star-flicker 5.3s ease-in-out infinite}
@keyframes streak-glimmer{0%,70%,100%{opacity:.08;transform:translateX(-10px) rotate(-24deg)}83%{opacity:.4;transform:translateX(8px) rotate(-24deg)}}
.bookshelf-help{max-width:590px;margin-inline:auto}
a,button,summary{ -webkit-tap-highlight-color:rgba(158,91,123,.12)}
@media(max-width:1020px){.hero{min-height:0}}
@media(max-width:760px){
 .section{padding-block:64px}
 .hero{padding-block:60px 70px}
 .pathways{grid-template-columns:1fr;gap:9px;margin-block:-15px 31px}
 .pathway{min-height:70px;padding:10px 16px}
 .pathway-icon{width:37px;height:37px}
 .bookshelf-heading{padding-right:0}
 .space-orbiter{width:63px;height:63px;right:0;top:-32px;opacity:.3}
 .space-orbiter-body{inset:20px}
 .space-orbiter-ring{inset:23px 2px}
 .star-trio-hero{right:6px;top:70px;opacity:.3}
 .constellation-shape{right:15px;top:-29px;opacity:.3}
 .project-index>summary{padding:16px 17px}
 .project-index .project-cards-wrapper{padding:0 13px 13px}
}
@media(min-width:761px) and (max-width:900px){.pathways{gap:10px}.pathway{padding:13px 11px}.pathway-icon{width:33px;height:33px}.pathway strong{font-size:12px}}
@media(prefers-reduced-motion:reduce){
 .star-trio span,.constellation-shape span,.space-orbiter-ring,.robot-section:before,.robot-section:after{animation:none}
 .pathway{transition:none}
 .pathway:hover{transform:none}
 .scroll-progress span{will-change:auto}
}

/* Quiet academic recognition, without a separate crowded awards panel. */
.about-copy .about-honors{margin-top:16px;font-size:12px;line-height:1.7;color:var(--rose-dark);max-width:540px}


/* Space is a navigation motif, not background confetti. Retire scattered effects. */
.hero-orbit,.star-trio-hero,.space-orbiter-shelf,.constellation-shape{display:none!important}
.robot-section::before,.robot-section::after{display:none!important}
.hero-copy{position:relative;z-index:1}
.intro-planet{position:absolute;top:10%;right:40%;width:70px;height:70px;pointer-events:none;opacity:.48;z-index:0;animation:intro-planet-drift 24s linear infinite}
.intro-planet-core{position:absolute;inset:20px;border-radius:50%;background:radial-gradient(circle at 30% 30%,#f0cedb 0%,#cc91aa 60%,#895d7f 100%);box-shadow:inset -4px -5px 7px #593d6045}
.intro-planet-ring{position:absolute;inset:28px 1px;border:1.8px solid #ab6e8c;border-radius:50%;transform:rotate(-24deg) scaleY(.6)}
.intro-planet-moon{position:absolute;left:10px;top:8px;width:6px;height:6px;border-radius:50%;background:#a57d9d;box-shadow:0 0 0 4px #b385a512}
@keyframes intro-planet-drift{0%{transform:rotate(0deg) translateX(7px) rotate(0deg)}100%{transform:rotate(360deg) translateX(7px) rotate(-360deg)}}
.constellation-break{width:280px;max-width:70vw;height:48px;margin:-20px auto;position:relative;color:#ab849f;opacity:.58;pointer-events:none}
.constellation-break svg{width:100%;height:100%;overflow:visible}
.constellation-break svg circle{transform-origin:center;transform-box:fill-box}
html.space-reveal-ready .constellation-break path{stroke-dasharray:320;stroke-dashoffset:320;transition:stroke-dashoffset 1.5s ease}
html.space-reveal-ready .constellation-break circle{opacity:.15;transform:scale(.65);transition:opacity .9s ease,transform .9s ease}
html.space-reveal-ready .constellation-break.is-visible path{stroke-dashoffset:0}
html.space-reveal-ready .constellation-break.is-visible circle{opacity:1;transform:scale(1)}
.collection-star-trail{position:absolute;top:9px;right:19px;width:50px;height:34px;opacity:0;pointer-events:none}
.collection-star-trail i{position:absolute;width:7px;height:7px;background:#af7d9b;clip-path:polygon(50% 0,60% 40%,100% 50%,60% 60%,50% 100%,40% 60%,0 50%,40% 40%)}
.collection-star-trail i:nth-child(1){left:0;top:15px}
.collection-star-trail i:nth-child(2){left:9px;top:3px;width:5px;height:5px}
.collection-star-trail i:nth-child(3){left:18px;top:22px;width:6px;height:6px}
.shelf-collection-link.is-traveling .collection-star-trail{opacity:1}
.shelf-collection-link.is-traveling .collection-star-trail i{animation:collection-star-travel .72s ease-out both}
.shelf-collection-link.is-traveling .collection-star-trail i:nth-child(2){animation-delay:.08s}
.shelf-collection-link.is-traveling .collection-star-trail i:nth-child(3){animation-delay:.14s}
@keyframes collection-star-travel{0%{opacity:0;transform:translate(0,0) scale(.6)}35%{opacity:.8}100%{opacity:0;transform:translate(36px,-11px) scale(1.1)}}
@media(max-width:760px){
 .intro-planet{width:50px;height:50px;top:0;right:9%;opacity:.35}
 .intro-planet-core{inset:14px}
 .intro-planet-ring{inset:20px 1px}
 .intro-planet-moon{width:4px;height:4px}
 .constellation-break{width:205px;max-width:65vw;height:36px;margin:-12px auto;opacity:.46}
}
@media(prefers-reduced-motion:reduce){
 .intro-planet{animation:none}
 html.space-reveal-ready .constellation-break path{stroke-dashoffset:0;transition:none}
 html.space-reveal-ready .constellation-break circle{opacity:1;transform:none;transition:none}
 .shelf-collection-link.is-traveling .collection-star-trail{display:none}
}


/* Homepage simplification: one clear identity, two CTAs, books before summaries. */
.hero{min-height:0;padding-block:clamp(54px,6vw,86px) clamp(58px,7vw,88px);gap:clamp(34px,5vw,76px)}
.hero h1{font-size:clamp(54px,5.8vw,79px);margin-bottom:18px}
.hero-subtitle{font-size:clamp(22px,2.6vw,29px);line-height:1.38;margin-bottom:16px}
.hero-description{max-width:520px;font-size:15px;line-height:1.83;margin-bottom:26px}
.hero-buttons{gap:12px}
.hero-buttons .btn{white-space:nowrap;min-height:50px}
.hero-photo img{height:clamp(340px,38vw,470px);object-position:center 45%}
.bookshelf-section{padding-block:clamp(65px,7vw,95px)}
.bookshelf-heading{margin-bottom:28px}
.about-section,.work-section{padding-block:clamp(60px,6.5vw,85px)}
.about-copy p:not(.eyebrow){line-height:1.83}
.work-section .feature-project{grid-template-columns:.8fr 1.2fr}
.work-section .feature-visual{min-height:330px;padding:20px 22px 49px}
.work-section .feature-visual img{max-height:290px;width:min(100%,218px);object-fit:contain}
.work-section .feature-content{padding:clamp(22px,3.4vw,38px)}
.work-section .feature-content h3{font-size:clamp(26px,3.1vw,36px);margin-bottom:12px}
.work-section .feature-content>p:not(.project-kicker){font-size:14px;line-height:1.74;margin-bottom:17px}
.work-section .project-metrics{padding:13px 0;margin:0 0 16px}
.github-section .repo-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.github-section .repo-card{padding:22px;min-height:0}
.github-section .repo-card h3{font-size:21px;line-height:1.3;margin:13px 0 9px}
.github-section .repo-card>p{font-size:13px;line-height:1.65;margin-bottom:15px}
.github-section .repo-card .repo-meta{margin-bottom:15px}
.github-section .repo-card .repo-link{margin-top:auto;font-size:12px}
.github-heading{margin-bottom:26px}
.github-intro{font-size:14px;line-height:1.75}
.github-refine{border:1px solid #e2ccd4;border-radius:11px;background:#fffafc;margin:0 0 21px;overflow:hidden}
.github-refine>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;list-style:none;cursor:pointer;font-size:12px;font-weight:700;color:var(--plum);min-height:46px}
.github-refine>summary::-webkit-details-marker{display:none}
.github-refine>summary:hover{background:#fff3f7}
.github-refine>summary span{font-size:19px;color:var(--rose-dark);line-height:1}
.github-refine[open]>summary{border-bottom:1px solid #eadce1}
.github-refine[open]>summary span{transform:rotate(45deg)}
.github-refine .repo-toolbar{padding:18px;margin:0;align-items:end;gap:18px}
.github-section .repo-result-count{margin:0 0 13px;font-size:11px}
.github-section .repo-more{font-size:12px}
@media(max-width:1060px){
 .github-section .repo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
 .hero{padding-block:48px 56px;gap:27px}
 .hero h1{font-size:clamp(49px,10.5vw,66px)}
 .hero-subtitle{font-size:23px}
 .hero-buttons .btn{flex:1 1 158px;padding-inline:15px;justify-content:center}
 .hero-photo img{height:340px}
 .bookshelf-section{padding-block:62px}
 .work-section .feature-project{grid-template-columns:1fr}
 .work-section .feature-visual{min-height:255px;padding:18px 20px 54px}
 .work-section .feature-visual img{max-height:205px;width:min(100%,170px)}
 .github-section .repo-grid{grid-template-columns:1fr;gap:12px}
 .github-section .repo-card{padding:20px 22px}
 .github-refine .repo-toolbar{display:block;padding:14px}
 .github-refine .repo-search-wrap{margin-top:16px}
}


/* October 2026 visual system: stable spacing, quiet detail and clear hierarchy.
   All floral/celestial ornaments remain in existing background layers. */
:root{
  --section-rhythm:clamp(68px,7.2vw,92px);
  --section-heading-gap:clamp(26px,3.2vw,38px);
  --reading-ink:#594854;
}
.section{padding-block:var(--section-rhythm)}
.section-heading{margin-bottom:var(--section-heading-gap)}
.section-heading h2{max-width:780px;line-height:1.19;text-wrap:balance}
.section-heading p:not(.eyebrow){max-width:64ch;line-height:1.75}
.hero{padding-block:clamp(60px,7vw,91px) clamp(68px,7vw,92px)}
.bookshelf-section{padding-block:clamp(78px,8.2vw,104px)}
.work-section{padding-block:clamp(76px,7.6vw,100px)}
.about-section,.github-section,.robot-section,.experience-section,
.skills-section,.interests-section,.resume-section,.contact-section{
  padding-block:var(--section-rhythm);
}
.about-copy,.feature-content,.interest-copy,.robot-copy{line-height:1.75}
.about-copy p:not(.eyebrow),
.interest-copy p:not(.eyebrow),
.robot-copy p:not(.eyebrow){max-width:65ch}
.feature-project,.repo-card,.resume-note{box-shadow:0 12px 32px rgba(70,43,60,.055)}
.repo-card{transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  .repo-card:hover,.repo-card:focus-within{
    transform:translateY(-3px);
    box-shadow:0 15px 34px rgba(70,43,60,.10);
  }
}
a:focus-visible,
button:focus-visible,
summary:focus-visible{
  outline:3px solid #8b5e7c;
  outline-offset:3px;
}

/* Preserve the two responsive hero CTAs as the strongest actions. */
.hero-buttons .btn{min-height:49px}
.hero-buttons .btn-primary{box-shadow:0 8px 21px rgba(137,75,105,.11)}

/* Constellation lines and floral SVGs never create blank gaps between blocks. */
main>.constellation-break,main>.botanical-divider{display:none}

@media(max-width:780px){
  :root{
    --section-rhythm:56px;
    --section-heading-gap:27px;
  }
  .section{padding-block:var(--section-rhythm)}
  .bookshelf-section{padding-block:65px}
  .work-section{padding-block:62px}
  .hero{padding-block:51px 58px}
  .section-heading h2{text-wrap:balance}
  .github-section .repo-card{padding:21px 20px}
}
@media(max-width:440px){
  :root{--section-rhythm:52px;--section-heading-gap:23px}
  .hero{padding-block:45px 52px}
  .hero-buttons{gap:10px}
  .hero-buttons .btn{font-size:12px;min-width:0}
}
@media(prefers-reduced-motion:reduce){
  .repo-card{transition:none}
}

/* SOURCE: botanical.css */
/*
 * Botanical background illustrations. Mexican cempasuchil + dahlia and
 * Samoan teuila + plumeria use inline SVG symbols from index.html.
 * These are decoration only: no new sections, heights, images or spacer rows.
 */
.floral-definitions{
  position:absolute;width:0;height:0;overflow:hidden;pointer-events:none;
}

/* Consistent but deliberately asymmetric positions and sizes. */
.ambient-field .botanical-background{
  position:absolute;
  display:block;
  width:90px;height:90px;
  overflow:visible;
  color:#a86f8a;
  opacity:.28;
  pointer-events:none;
  user-select:none;
  z-index:0;
}
.ambient-field .botanical-background.bloom-mexico{color:#a76e87}
.ambient-field .botanical-background.bloom-samoa{color:#88779a}

/* Placed in the margins; the content containers stack above the scenery. */
.botanical-background-hero{left:2%;bottom:9%;transform:rotate(-12deg)}
.botanical-background-bookshelf{right:3%;bottom:11%;transform:rotate(9deg)}
.botanical-background-about{left:2%;bottom:9%;transform:rotate(-9deg)}
.botanical-background-work{right:2%;bottom:7%;transform:rotate(14deg)}
.botanical-background-robot{left:1%;bottom:10%;transform:rotate(10deg)}
.botanical-background-experience{right:2%;bottom:8%;transform:rotate(-15deg)}
.botanical-background-interests{left:2%;bottom:8%;transform:rotate(14deg)}
.botanical-background-contact{right:3%;bottom:14%;transform:rotate(-10deg)}

.botanical-background-hero{width:98px;height:98px;opacity:.27}
.botanical-background-bookshelf{width:78px;height:78px;opacity:.23}
.botanical-background-about{width:96px;height:96px;opacity:.25}
.botanical-background-work{width:82px;height:82px;opacity:.24}
.botanical-background-robot{width:103px;height:103px;opacity:.23}
.botanical-background-experience{width:82px;height:82px;opacity:.21}
.botanical-background-interests{width:102px;height:102px;opacity:.26}
.botanical-background-contact{width:86px;height:86px;color:#e6b6d1!important;opacity:.32}

/* Even quieter on phones, without colliding with headings or shelf controls. */
@media(max-width:780px){
  .ambient-field .botanical-background{width:56px;height:56px;opacity:.17}
  .botanical-background-hero{left:0;bottom:3%}
  .botanical-background-bookshelf{right:0;bottom:2%}
  .botanical-background-about{left:0;bottom:5%}
  .botanical-background-work{right:0;bottom:4%}
  .botanical-background-robot{left:0;bottom:4%}
  .botanical-background-experience{right:0;bottom:4%}
  .botanical-background-interests{left:0;bottom:4%}
  .botanical-background-contact{right:1%;bottom:10%;opacity:.23}
}
@media(max-width:390px){
  .ambient-field .botanical-background{width:45px;height:45px;opacity:.14}
}
@media(forced-colors:active){
  .ambient-field .botanical-background{display:none}
}
@media print{
  .ambient-field .botanical-background{display:none!important}
}

/* SOURCE: ambient.css */
/*
 * Quiet ambient visuals for the engineering portfolio.
 * Decorative CSS-only shapes, no downloaded imagery or canvas render loops.
 * All effects sit behind content and respect reduced-motion preferences.
 */

/* Scenery belongs behind meaningful content, never above it. */
.hero,
.bookshelf-section,
.about-section,
.work-section,
.github-section,
.contact-section {
  position: relative;
  isolation: isolate;
}

.hero > .hero-copy,
.hero > .hero-photo,
.bookshelf-section > .container,
.about-section > .container,
.work-section > .container,
.github-section > .container,
.contact-section > .container {
  position: relative;
  z-index: 1;
}

/* Static soft glows. Opacity is deliberately restrained. */
.hero::before,
.bookshelf-section::before,
.about-section::before,
.work-section::before,
.github-section::before,
.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero::before {
  background:
    radial-gradient(ellipse 31% 43% at 89% 40%, rgba(177, 141, 180, .10), transparent 85%),
    radial-gradient(ellipse 30% 30% at 8% 92%, rgba(220, 173, 194, .075), transparent 92%);
}

.bookshelf-section::before {
  background:
    radial-gradient(circle at 7% 12%, rgba(151, 115, 156, .14) 0 1px, transparent 1.6px),
    radial-gradient(circle at 89% 19%, rgba(151, 115, 156, .12) 0 1.1px, transparent 1.8px),
    radial-gradient(circle at 23% 82%, rgba(151, 115, 156, .11) 0 1px, transparent 1.6px),
    radial-gradient(ellipse 60% 21% at 50% 16%, rgba(217, 190, 206, .105), transparent 85%);
}

.about-section::before {
  background:
    radial-gradient(ellipse 31% 65% at 0% 45%, rgba(184, 139, 167, .09), transparent 90%),
    radial-gradient(ellipse 26% 45% at 97% 88%, rgba(152, 170, 156, .065), transparent 90%);
}

.work-section::before {
  background: radial-gradient(ellipse 28% 42% at 95% 12%, rgba(189, 159, 196, .08), transparent 90%);
}

/* A drafting-paper grid hint, especially faint behind the GitHub cards. */
.github-section::before {
  background-image:
    linear-gradient(to right, rgba(118, 95, 123, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(118, 95, 123, .045) 1px, transparent 1px),
    radial-gradient(ellipse 40% 45% at 96% 92%, rgba(157, 127, 164, .095), transparent 85%);
  background-size: 58px 58px, 58px 58px, auto;
  background-position: center;
  opacity: .42;
}

.contact-section::before {
  background:
    radial-gradient(circle at 14% 21%, rgba(250, 226, 239, .27) 0 1px, transparent 1.8px),
    radial-gradient(circle at 82% 17%, rgba(250, 226, 239, .21) 0 1.3px, transparent 2px),
    radial-gradient(circle at 91% 74%, rgba(250, 226, 239, .2) 0 1.2px, transparent 2px),
    radial-gradient(ellipse 37% 72% at 94% 54%, rgba(180, 135, 174, .19), transparent 85%),
    radial-gradient(ellipse 34% 55% at 8% 80%, rgba(229, 163, 190, .09), transparent 95%);
}

/* Sparse hand-placed stars. Small opacity changes, no flashing. */
.ambient-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  overflow: hidden;
}

.ambient-star {
  position: absolute;
  display: block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(146, 106, 144, .66);
  box-shadow: 0 0 0 3px rgba(173, 133, 162, .045), 0 0 10px rgba(177, 140, 181, .12);
  animation: ambient-twinkle 10.8s ease-in-out infinite;
}

.ambient-field-hero .ambient-star:nth-child(1){left:6%;top:19%;animation-delay:-1s}
.ambient-field-hero .ambient-star:nth-child(2){left:51%;top:12%;animation-delay:-6.3s;width:2px;height:2px}
.ambient-field-hero .ambient-star:nth-child(3){left:93%;top:72%;animation-delay:-3.7s;width:2px;height:2px}
.ambient-field-hero .ambient-star:nth-child(4){left:43%;top:86%;animation-delay:-8.1s}

.ambient-field-bookshelf .ambient-star:nth-child(1){left:10%;top:9%;animation-delay:-3.1s}
.ambient-field-bookshelf .ambient-star:nth-child(2){left:89%;top:22%;animation-delay:-6.6s;width:2px;height:2px}
.ambient-field-bookshelf .ambient-star:nth-child(3){left:94%;top:75%;animation-delay:-1.4s}

.ambient-field-contact .ambient-star{
  background: rgba(249, 224, 238, .7);
  box-shadow: 0 0 0 3px rgba(253, 226, 239, .06), 0 0 12px rgba(250, 218, 240, .17);
}
.ambient-field-contact .ambient-star:nth-child(1){left:9%;top:17%;animation-delay:-1.5s}
.ambient-field-contact .ambient-star:nth-child(2){left:24%;top:73%;animation-delay:-6.2s;width:2px;height:2px}
.ambient-field-contact .ambient-star:nth-child(3){left:74%;top:21%;animation-delay:-3.7s}
.ambient-field-contact .ambient-star:nth-child(4){left:91%;top:67%;animation-delay:-8s;width:2px;height:2px}
.ambient-field-contact .ambient-star:nth-child(5){left:58%;top:86%;animation-delay:-4.9s}



/* Single elliptical orbital sketch at the edge of the hero photograph. */
.ambient-orbit-track{
  position:absolute;
  display:block;
  right:2%;
  top:12%;
  width:clamp(125px,17vw,205px);
  aspect-ratio:1;
  border:1px solid rgba(157, 118, 157, .23);
  border-radius:50%;
  transform:rotate(-28deg) scaleY(.52);
}

.ambient-orbit-runner{
  position:absolute;
  inset:0;
  border-radius:50%;
  animation:ambient-orbit-travel 38s linear infinite;
}

.ambient-orbit-dot{
  position:absolute;
  top:-3px;
  left:calc(50% - 3px);
  width:6px;
  height:6px;
  border-radius:50%;
  background:#af8ba6;
  box-shadow:0 0 0 4px rgba(173, 137, 170, .11);
}

@keyframes ambient-orbit-travel{
  to{transform:rotate(360deg)}
}

/* A rare, short streak, only active while the contact section is visible. */
.ambient-comet{
  position:absolute;
  top:20%;
  right:13%;
  width:74px;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg,transparent,rgba(251, 225, 239, .63),rgba(255, 245, 253, .9));
  transform:rotate(-28deg);
  transform-origin:100% 50%;
  opacity:0;
  animation:ambient-comet-cross 19s linear infinite;
  animation-play-state:paused;
}

.contact-section.ambient-active .ambient-comet{
  animation-play-state:running;
}

@keyframes ambient-comet-cross{
  0%,85%,100%{opacity:0;translate:0 0}
  87%{opacity:0;translate:12px -8px}
  89%{opacity:.5}
  93%{opacity:0;translate:-125px 68px}
}

/* One-time scroll reveals, enabled only by ambient.js when observer + motion
   support exist. With JS off, content is never hidden. */
html.ambient-ready [data-ambient-reveal]{
  opacity:0;
  transform:translate3d(0,12px,0);
  transition:opacity .64s ease, transform .64s cubic-bezier(.2,.68,.28,1);
}
html.ambient-ready [data-ambient-reveal].ambient-visible{
  opacity:1;
  transform:none;
}

/* Only meaningful hover/focus feedback, not looping CTA shimmer. */
.hero .btn-primary:is(:hover,:focus-visible),
.resume-section .btn-primary:is(:hover,:focus-visible){
  box-shadow:0 8px 24px rgba(135,75,107,.15);
}

@media(max-width:760px){
  .ambient-orbit-track{width:115px;top:48%;right:-19px;opacity:.5}
  .ambient-field-hero .ambient-star:nth-child(3),
  .ambient-field-bookshelf .ambient-star:nth-child(3){display:none}
  .bookshelf-section::before{opacity:.65}
  .github-section::before{opacity:.25;background-size:70px 70px,70px 70px,auto}
  .ambient-comet{width:48px;right:8%;top:17%}
  html.ambient-ready [data-ambient-reveal]{transform:translate3d(0,8px,0);transition-duration:.48s}
}

@media(prefers-reduced-motion:reduce){
  .ambient-star,
  .ambient-orbit-runner,
  .ambient-comet,
  .floral-accent > svg{
    animation:none!important;
  }
  .ambient-star{opacity:.48!important}
  .ambient-comet{display:none}
  html.ambient-ready [data-ambient-reveal]{
    opacity:1!important;
    transform:none!important;
    transition:none!important;
  }
}

@media(forced-colors:active){
  .ambient-field,.ambient-orbit-track{display:none}
  .hero::before,.bookshelf-section::before,.about-section::before,
  .work-section::before,.github-section::before,.contact-section::before{display:none}
  html.ambient-ready [data-ambient-reveal]{opacity:1;transform:none}
}

@media print{
  .ambient-field{display:none!important}
  .hero::before,.bookshelf-section::before,.about-section::before,
  .work-section::before,.github-section::before,.contact-section::before{display:none}
  html.ambient-ready [data-ambient-reveal]{opacity:1!important;transform:none!important}
}


/* Full-site visual rhythm. Every section has a restrained star layer and
   a corner glow, reusing the exact same decorative language as the hero. */
.robot-section,
.experience-section,
.skills-section,
.interests-section,
.resume-section {
  position: relative;
  isolation: isolate;
}

.robot-section > .container,
.experience-section > .container,
.skills-section > .container,
.interests-section > .container,
.resume-section > .container {
  position: relative;
  z-index: 1;
}

.robot-section::before,
.experience-section::before,
.skills-section::before,
.interests-section::before,
.resume-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Older robot-section decorations are disabled in ux.css. Re-enable only
   this subtle gradient layer; the old shooting-star pseudo remains off. */
.robot-section::before {
  display: block!important;
  background:
    radial-gradient(ellipse 27% 42% at 97% 22%, rgba(179, 146, 190, .085), transparent 90%),
    radial-gradient(ellipse 33% 42% at 3% 85%, rgba(167, 132, 162, .065), transparent 92%);
}

.experience-section::before {
  background:
    radial-gradient(ellipse 36% 57% at 1% 65%, rgba(181, 140, 169, .085), transparent 88%),
    radial-gradient(ellipse 28% 40% at 97% 9%, rgba(179, 173, 201, .06), transparent 90%);
}

.skills-section::before {
  background:
    radial-gradient(ellipse 26% 58% at 95% 36%, rgba(178, 137, 166, .105), transparent 90%),
    radial-gradient(ellipse 34% 35% at 4% 89%, rgba(146, 168, 158, .06), transparent 90%);
}

.interests-section::before {
  background:
    radial-gradient(ellipse 35% 52% at 0% 15%, rgba(169, 135, 181, .075), transparent 90%),
    radial-gradient(ellipse 37% 56% at 100% 91%, rgba(210, 164, 184, .08), transparent 89%);
}

.resume-section::before {
  background:
    radial-gradient(ellipse 26% 48% at 94% 15%, rgba(149, 116, 163, .115), transparent 90%),
    radial-gradient(ellipse 32% 58% at 3% 83%, rgba(185, 146, 181, .075), transparent 92%);
}

/* Position only the new sections' stars. Existing hero/shelf/contact star
   placement is left unchanged. Values keep the points at section edges. */
.ambient-field-section{
  --star-a-x:5%; --star-a-y:18%;
  --star-b-x:93%; --star-b-y:20%;
  --star-c-x:96%; --star-c-y:81%;
}
.ambient-field-section .ambient-star:nth-child(1){
  left:var(--star-a-x);top:var(--star-a-y);animation-delay:-1.7s;
}
.ambient-field-section .ambient-star:nth-child(2){
  left:var(--star-b-x);top:var(--star-b-y);
  width:2px;height:2px;animation-delay:-6.6s;
}
.ambient-field-section .ambient-star:nth-child(3){
  left:var(--star-c-x);top:var(--star-c-y);animation-delay:-3.4s;
}
.ambient-field-about{
  --star-a-x:4%;--star-a-y:16%;--star-b-x:89%;--star-b-y:9%;--star-c-x:96%;--star-c-y:79%;
}
.ambient-field-work{
  --star-a-x:6%;--star-a-y:14%;--star-b-x:92%;--star-b-y:9%;--star-c-x:96%;--star-c-y:83%;
}
.ambient-field-github{
  --star-a-x:5%;--star-a-y:12%;--star-b-x:91%;--star-b-y:18%;--star-c-x:95%;--star-c-y:86%;
}
.ambient-field-robot{
  --star-a-x:4%;--star-a-y:17%;--star-b-x:93%;--star-b-y:12%;--star-c-x:96%;--star-c-y:85%;
}
.ambient-field-experience{
  --star-a-x:5%;--star-a-y:14%;--star-b-x:93%;--star-b-y:34%;--star-c-x:95%;--star-c-y:88%;
}
.ambient-field-skills{
  --star-a-x:4%;--star-a-y:23%;--star-b-x:92%;--star-b-y:14%;--star-c-x:94%;--star-c-y:79%;
}
.ambient-field-interests{
  --star-a-x:5%;--star-a-y:11%;--star-b-x:91%;--star-b-y:19%;--star-c-x:96%;--star-c-y:85%;
}
.ambient-field-resume{
  --star-a-x:5%;--star-a-y:13%;--star-b-x:92%;--star-b-y:16%;--star-c-x:95%;--star-c-y:83%;
}

/* Occasional extra orbital sketches: three quiet echoes of the hero orbit,
   not additional foreground planets. */
.ambient-sky-arc{
  position:absolute;
  display:block;
  width:170px;
  aspect-ratio:1;
  border:1px solid rgba(157, 118, 157, .24);
  border-radius:50%;
  transform:rotate(-25deg) scaleY(.54);
  opacity:.36;
}
.ambient-sky-arc .ambient-orbit-runner{animation-duration:57s}
.ambient-sky-arc .ambient-orbit-dot{
  width:4px;height:4px;top:-2px;left:calc(50% - 2px);
  background:#ab91a9;box-shadow:0 0 0 3px rgba(164, 128, 166, .09);
}
.ambient-field-robot .ambient-sky-arc{right:2%;top:7%;width:165px}
.ambient-field-experience .ambient-sky-arc{left:-20px;bottom:2%;width:154px}
.ambient-field-resume .ambient-sky-arc{right:3%;top:0;width:140px}

/* Only visible sections animate. On a slow connection or without JS, all
   scenery and content still render normally; this class is JS-enabled only. */
html.ambient-ready .ambient-field .ambient-star,
html.ambient-ready .ambient-field .ambient-orbit-runner{
  animation-play-state:paused;
}
html.ambient-ready .ambient-active > .ambient-field .ambient-star,
html.ambient-ready .ambient-active > .ambient-field .ambient-orbit-runner{
  animation-play-state:running;
}

@media(max-width:760px){
  .ambient-field-section .ambient-star:nth-child(3){display:none}
  .ambient-sky-arc{width:105px!important;opacity:.22}
  .ambient-field-experience .ambient-sky-arc{left:-22px;bottom:0}
  .ambient-field-resume .ambient-sky-arc{right:-10px;top:7%}
  .ambient-watermark{width:54px;height:54px;opacity:.085}
  .ambient-watermark-contact{width:49px;height:49px;opacity:.11}
  .robot-section::before,.experience-section::before,
  .skills-section::before,.interests-section::before,.resume-section::before{
    opacity:.72;
  }
}

@media(prefers-reduced-motion:reduce){
  .ambient-sky-arc .ambient-orbit-runner,
  .ambient-watermark svg{animation:none!important}
}

@media(forced-colors:active){
  .ambient-sky-arc,.ambient-watermark{display:none}
  .robot-section::before,.experience-section::before,.skills-section::before,
  .interests-section::before,.resume-section::before{display:none!important}
}

@media print{
  .ambient-sky-arc,.ambient-watermark{display:none!important}
  .robot-section::before,.experience-section::before,.skills-section::before,
  .interests-section::before,.resume-section::before{display:none!important}
}


/* Visibility pass: the earlier 2-3px stars and 0.1-alpha glows were barely
   perceptible at normal desktop zoom. Keep the same style but give it form. */
.ambient-field{
  background:
    radial-gradient(ellipse 30% 40% at 98% 11%,rgba(178,132,173,.075),transparent 90%),
    radial-gradient(ellipse 27% 44% at 1% 88%,rgba(194,153,183,.065),transparent 88%);
}

.ambient-field .ambient-star{
  width:4px;
  height:4px;
  background:rgba(143,91,134,.82);
  box-shadow:0 0 0 5px rgba(165,109,147,.07),0 0 17px rgba(141,86,133,.19);
}
.ambient-field .ambient-star:nth-child(2){width:3px;height:3px}
.ambient-field-contact .ambient-star{
  background:rgba(255,232,246,.92);
  box-shadow:0 0 0 5px rgba(254,222,241,.10),0 0 16px rgba(255,223,244,.26);
}



/* Discernible but quiet orbit details in the engineering sections. */
.ambient-sky-arc{
  border-width:1.5px;
  border-color:rgba(139,99,151,.5);
  opacity:.69;
}
.ambient-sky-arc .ambient-orbit-dot{
  width:5px;height:5px;top:-3px;left:calc(50% - 2.5px);
  background:#936d99;
}
.ambient-orbit-track{
  border-color:rgba(143,101,149,.39);
}
.ambient-watermark{opacity:.25}
.ambient-watermark-contact{opacity:.23}

/* Keep the distinctive palette in every area. The backgrounds have more
   presence now, while portraits, books and text remain the visual anchors. */
.hero::before,
.about-section::before,
.work-section::before,
.experience-section::before,
.skills-section::before,
.interests-section::before,
.resume-section::before{
  background-image:
    radial-gradient(ellipse 33% 45% at 97% 13%,rgba(168,125,175,.125),transparent 84%),
    radial-gradient(ellipse 33% 46% at 3% 89%,rgba(204,163,188,.11),transparent 88%);
}
.bookshelf-section::before{
  background:radial-gradient(ellipse 54% 32% at 50% 14%,rgba(191,145,186,.13),transparent 90%);
}
.github-section::before{opacity:.68}

/* Paused offscreen with the same observer used for stars and orbital dots. */
html.ambient-ready .ambient-field .ambient-constellation{animation-play-state:paused}
html.ambient-ready .ambient-active > .ambient-field .ambient-constellation{animation-play-state:running}

@media(max-width:760px){
  .ambient-constellation{width:125px;opacity:.36;filter:none}
  .ambient-field-hero .ambient-constellation{width:100px;right:0;top:1%;opacity:.38}
  .ambient-field-bookshelf .ambient-constellation{left:auto;right:1%;top:2%;opacity:.34}
  .ambient-field-about .ambient-constellation{right:1%;top:2%;opacity:.34}
  .ambient-field-robot .ambient-constellation{right:0;left:auto;top:3%;opacity:.38}
  .ambient-field-experience .ambient-constellation{width:100px}
  .ambient-field-github .ambient-constellation{left:auto;right:1%;top:1%;opacity:.36}
  .ambient-field-contact .ambient-constellation{width:116px;opacity:.4}
  .ambient-field .ambient-star{width:3px;height:3px}
  .ambient-field .ambient-star:nth-child(2){width:2.5px;height:2.5px}
  .ambient-sky-arc{opacity:.40}
}

@media(prefers-reduced-motion:reduce){
  .ambient-constellation{animation:none!important}
}
@media(forced-colors:active){
  .ambient-constellation{display:none}
}
@media print{
  .ambient-constellation{display:none!important}
}


/* Layout correction: stop treating every section heading as a star-map canvas.
   The eleven repeated maps were removed from the HTML to prevent collisions.
   Keep the two dedicated constellation breaks, planet and sparse starfields. */
.constellation-break {
  margin:20px auto;
  height:48px;
  pointer-events:none;
}
.ambient-sky-arc {
  width:112px;
  opacity:.28;
}
.ambient-field-robot .ambient-sky-arc {
  left:auto;right:0;top:auto;bottom:2%;width:110px;
}
.ambient-field-experience .ambient-sky-arc {
  left:0;right:auto;top:auto;bottom:2%;width:108px;
}
.ambient-field-resume .ambient-sky-arc {
  left:auto;right:0;top:auto;bottom:2%;width:104px;
}
.ambient-sky-arc .ambient-orbit-dot {
  width:4px;height:4px;top:-2px;left:calc(50% - 2px);
}
@media(max-width:760px){
  .constellation-break {
    margin:16px auto;
    max-width:54vw;
    height:36px;
  }
  /* Keep all moving orbital shapes away from small-screen text and buttons. */
  .ambient-sky-arc {display:none!important}
  .ambient-field .ambient-star:nth-child(3){display:none}
}
@media(prefers-reduced-motion:reduce){
  .ambient-sky-arc .ambient-orbit-runner{animation:none!important}
}


/* No inserted gaps: the two legacy constellation illustrations live as
   absolutely-positioned ornaments inside existing section backgrounds. */
.ambient-field .constellation-break{
  position:absolute;
  display:block;
  margin:0;
  width:clamp(120px,15vw,185px);
  max-width:24vw;
  height:34px;
  pointer-events:none;
  color:#a686a0;
  opacity:.26;
  z-index:0;
}
.ambient-field-work .constellation-break{
  left:2%;bottom:9%;top:auto;right:auto;
}
.ambient-field-skills .constellation-break{
  right:2%;bottom:8%;top:auto;left:auto;
}

/* Stars gently float as they twinkle. The existing scene observer pauses
   them outside the viewport; reduced-motion users see static stars. */
/* Gentle stars rather than constant large movement.
   One definition of ambient-twinkle now controls all sections. */
@keyframes ambient-twinkle{
  0%,100%{opacity:.10;transform:translate3d(0,0,0) scale(.84)}
  24%{opacity:.35;transform:translate3d(2px,-2px,0) scale(.91)}
  52%{opacity:.90;transform:translate3d(var(--star-dx,8px),var(--star-dy,-9px),0) scale(1.09)}
  78%{opacity:.42;transform:translate3d(var(--star-dx,8px),var(--star-dy,-9px),0) scale(.94)}
}
@media(max-width:760px){
  .ambient-field .constellation-break{display:none!important}
  .ambient-field .ambient-star{box-shadow:0 0 0 3px rgba(165,109,147,.045)}
}
@media(prefers-reduced-motion:reduce){
  .ambient-field .ambient-star{animation:none!important;translate:0 0}
  .ambient-field .constellation-break{opacity:.25}
}
@media(forced-colors:active){
  .ambient-field .constellation-break{display:none!important}
}
@media print{
  .ambient-field .constellation-break{display:none!important}
}


/* Celestial motion pass: slow, non-flashing stars and rotating pastel planets.
   Decorative shapes stay in existing clipped background fields behind content.
   Only viewport-visible scenes animate, and reduced-motion disables everything. */
.ambient-field .ambient-star{
  animation-name:ambient-twinkle;
  animation-duration:var(--twinkle-time,18s);
  animation-timing-function:ease-in-out;
  animation-iteration-count:infinite;
  --star-dx:8px;
  --star-dy:-9px;
}
.ambient-field .ambient-star:nth-child(2){
  --twinkle-time:22s;--star-dx:-10px;--star-dy:7px;
}
.ambient-field .ambient-star:nth-child(3){
  --twinkle-time:25s;--star-dx:5px;--star-dy:11px;
}
.ambient-field .ambient-star:nth-child(4){
  --twinkle-time:20s;--star-dx:-7px;--star-dy:-6px;
}
.ambient-field .ambient-star:nth-child(5){
  --twinkle-time:24s;--star-dx:9px;--star-dy:-6px;
}
/* An extra pair of tiny distant stars per section, without added markup. */
.ambient-field::before,.ambient-field::after{
  content:"";
  display:block;
  position:absolute;
  z-index:0;
  width:2px;height:2px;
  border-radius:50%;
  background:rgba(141,104,149,.70);
  box-shadow:0 0 8px rgba(164,121,170,.27);
  pointer-events:none;
  animation:ambient-twinkle 22s ease-in-out infinite;
}
.ambient-field::before{
  left:23%;top:71%;animation-delay:-9s;
  --star-dx:9px;--star-dy:-7px;
}
.ambient-field::after{
  right:17%;top:39%;animation-duration:27s;animation-delay:-16s;
  --star-dx:-10px;--star-dy:8px;
}
.ambient-field-contact::before,.ambient-field-contact::after{
  background:rgba(255,237,247,.77);
  box-shadow:0 0 8px rgba(255,228,242,.27);
}
/* The independent case-study section has its own quiet star coordinates. */
.case-studies-section{position:relative;isolation:isolate}
.case-studies-section>.technical-dossiers{position:relative;z-index:1}
.ambient-field-cases .ambient-star:nth-child(1){left:4%;top:13%;animation-delay:-5s}
.ambient-field-cases .ambient-star:nth-child(2){right:6%;top:37%;animation-delay:-12s;--twinkle-time:22s}
.ambient-field-cases .ambient-star:nth-child(3){left:9%;bottom:13%;animation-delay:-18s;--twinkle-time:25s}

/* Actual slowly rotating sphere textures, not static planet circles. */
.ambient-planet{
  --planet-light:#f4dce9;
  --planet-mid:#c3a1c5;
  --planet-dark:#816f9a;
  --planet-ring:rgba(157,117,165,.61);
  position:absolute;
  display:block;
  width:clamp(75px,9vw,125px);
  aspect-ratio:1;
  pointer-events:none;
  opacity:.57;
  isolation:isolate;
  filter:saturate(.86);
  animation:ambient-planet-hover 32s ease-in-out infinite;
}
.ambient-planet--rose{
  --planet-light:#f8e6ec;--planet-mid:#dbabbf;
  --planet-dark:#a0799b;--planet-ring:rgba(183,120,154,.56);
}
.ambient-planet--sage{
  --planet-light:#f2eadf;--planet-mid:#b9c8bc;
  --planet-dark:#829c9e;--planet-ring:rgba(129,156,153,.58);
}
.ambient-planet-body{
  position:absolute;
  inset:15%;
  border-radius:50%;
  background:
    radial-gradient(ellipse at 29% 33%,rgba(255,255,255,.52) 0 7%,transparent 11%),
    radial-gradient(ellipse at 76% 66%,rgba(255,255,255,.25) 0 9%,transparent 12%),
    repeating-linear-gradient(155deg,transparent 0 12px,rgba(255,255,255,.19) 14px 18px,transparent 22px 34px),
    radial-gradient(circle at 33% 29%,var(--planet-light) 0%,var(--planet-mid) 54%,var(--planet-dark) 100%);
  box-shadow:
    inset -10px -9px 16px rgba(77,65,98,.19),
    inset 5px 5px 10px rgba(255,255,255,.33),
    0 0 22px rgba(166,135,178,.14);
  animation:ambient-planet-spin 74s linear infinite;
}
.ambient-planet-body::after{
  content:"";
  position:absolute;inset:0;border-radius:50%;
  background:radial-gradient(circle at 28% 25%,rgba(255,255,255,.32),transparent 45%);
}
.ambient-planet-ring{
  position:absolute;
  display:block;
  inset:11% -9%;
  border:2px solid var(--planet-ring);
  border-radius:50%;
  box-shadow:0 0 0 1px rgba(250,247,251,.18);
  transform:rotate(-29deg) scaleY(.42);
  animation:ambient-planet-ring-turn 112s linear infinite;
}
@keyframes ambient-planet-spin{to{transform:rotate(360deg)}}
@keyframes ambient-planet-hover{
  0%,100%{translate:0 0}
  50%{translate:3px -9px}
}
@keyframes ambient-planet-ring-turn{
  from{transform:rotate(-29deg) scaleY(.42)}
  to{transform:rotate(331deg) scaleY(.42)}
}
.ambient-planet-work{right:2%;top:6%;width:105px}
.ambient-planet-cases{right:1.5%;top:2%;width:115px}
.ambient-planet-bookshelf{left:1%;top:5%;width:105px}
.ambient-planet-robot{right:2%;bottom:6%;width:119px}
.ambient-planet-experience{left:1%;top:5%;width:98px}
.ambient-planet-interests{right:3%;bottom:5%;width:110px}

/* Include the existing hero planet in the slow rotation language. */
.intro-planet-core{animation:ambient-planet-spin 86s linear infinite}

/* Extend the existing visibility observer's pause policy to every new effect. */
html.ambient-ready .ambient-field::before,
html.ambient-ready .ambient-field::after,
html.ambient-ready .ambient-field .ambient-planet,
html.ambient-ready .ambient-field .ambient-planet-body,
html.ambient-ready .ambient-field .ambient-planet-ring{
  animation-play-state:paused;
}
html.ambient-ready .ambient-active>.ambient-field::before,
html.ambient-ready .ambient-active>.ambient-field::after,
html.ambient-ready .ambient-active>.ambient-field .ambient-planet,
html.ambient-ready .ambient-active>.ambient-field .ambient-planet-body,
html.ambient-ready .ambient-active>.ambient-field .ambient-planet-ring{
  animation-play-state:running;
}
@media(max-width:760px){
  .ambient-field .ambient-star{--star-dx:4px;--star-dy:-5px}
  .ambient-field::before,.ambient-field::after{width:2px;height:2px}
  .ambient-planet{width:64px!important;opacity:.33;filter:saturate(.70)}
  .ambient-planet-work,.ambient-planet-cases{right:0;top:3%}
  .ambient-planet-bookshelf{left:0;top:3%}
  .ambient-planet-robot{right:0;bottom:4%}
  .ambient-planet-experience{left:0;top:3%}
  .ambient-planet-interests{right:0;bottom:3%}
}
@media(prefers-reduced-motion:reduce){
  .ambient-field::before,.ambient-field::after,
  .ambient-planet,.ambient-planet-body,.ambient-planet-ring,
  .intro-planet-core{
    animation:none!important;
  }
  .ambient-field::before,.ambient-field::after{opacity:.38;transform:none}
  .ambient-planet{translate:0 0}
}
@media(forced-colors:active){
  .ambient-field::before,.ambient-field::after,.ambient-planet{display:none!important}
}
@media print{
  .ambient-field::before,.ambient-field::after,.ambient-planet{display:none!important}
}

/* SOURCE: engineering.css */
/*
 * Engineering-first visual layer.
 * Existing space, botanical artwork, book colors and interactions are preserved.
 * All graphical drafting details are CSS-only, behind the real content.
 */

:root{
  --eng-ink:#333f51;
  --eng-graphite:#566272;
  --eng-rule:#cdd2db;
  --eng-accent:#77657e;
  --eng-surface:rgba(255,253,253,.88);
  --eng-mono:ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace;
}

/* Typography: editorial name, unmistakably technical supporting information. */
.hero .eyebrow,
.section .eyebrow,
.project-kicker,
.repo-category,
.shelf-preview-label,
.book-edition,
.timeline-date,
.book-page-topline,
.book-page-bottomline,
.book-project-facts dt{
  font-family:var(--eng-mono);
  font-weight:650;
  letter-spacing:.075em;
}
.hero .eyebrow{font-size:10px;color:#785871;letter-spacing:.09em}
.hero h1{
  font-size:clamp(47px,5.6vw,72px);
  line-height:1.09;
  letter-spacing:-.047em;
  text-wrap:balance;
  margin-bottom:17px;
}
.hero .hero-subtitle{
  font-size:clamp(23px,2.1vw,28px);
  line-height:1.38;
  max-width:520px;
  margin-bottom:17px;
  color:#51445b;
}
.hero .hero-description{font-size:14px;line-height:1.85;max-width:62ch}
.hero .hero-buttons{margin-top:22px}

/* Three factual focus areas, like a compact instrument legend.
   This is within the hero, not an inserted spacer between sections. */
.engineering-focus{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0;
  max-width:575px;
  margin-top:30px;
  border-block:1px solid var(--eng-rule);
  background:rgba(255,252,253,.5);
}
.engineering-focus>div{
  padding:13px 12px 13px 0;
  min-width:0;
}
.engineering-focus>div+div{
  border-left:1px solid var(--eng-rule);
  padding-left:13px;
}
.engineering-focus .focus-code{
  display:block;
  margin-bottom:8px;
  color:#786779;
  font:700 10px/1.5 var(--eng-mono);
  letter-spacing:.035em;
}
.engineering-focus strong{
  display:block;
  color:var(--eng-ink);
  font:700 12px/1.35 var(--sans);
  letter-spacing:-.012em;
}
.engineering-focus small{
  display:block;
  margin-top:5px;
  color:var(--eng-graphite);
  font:400 10px/1.5 var(--sans);
}
.figure-index{
  font:700 10px/1.5 var(--eng-mono);
  color:#77647d;
  letter-spacing:.06em;
  margin-right:8px;
}
.hero-photo figcaption{font-style:normal;line-height:1.7}

/* Technically informed line/grid details. Only background layers; content
   remains above the scenery in its existing stacking context. */
.ambient-field-github{
  background-image:
    linear-gradient(to right,rgba(82,100,117,.048) 1px,transparent 1px),
    linear-gradient(to bottom,rgba(82,100,117,.048) 1px,transparent 1px);
  background-size:46px 46px;
}
.ambient-field-work,
.ambient-field-robot,
.ambient-field-skills{
  background-image:
    linear-gradient(90deg,transparent 0 92%,rgba(90,104,122,.085) 92% 92.18%,transparent 92.18%),
    linear-gradient(0deg,transparent 0 86%,rgba(90,104,122,.075) 86% 86.2%,transparent 86.2%);
  background-size:146px 146px;
  opacity:.92;
}
.ambient-field-robot{background-size:172px 172px}
.ambient-field-skills{background-size:162px 162px}

.section-heading h2{letter-spacing:-.038em}
.section-heading .eyebrow{color:#765a70}
.section-heading>p:not(.eyebrow){font-size:14px;color:#646272}

/* Distinct engineering assessment panel, not fabricated numerical data. */
.work-section .feature-project{
  border-color:#d4cbd6;
  box-shadow:0 10px 34px rgba(53,58,75,.06);
}
.work-section .feature-content{position:relative}
.work-section .feature-content::before{
  content:"CASE STUDY / 01";
  position:absolute;
  top:13px;
  right:18px;
  font:700 9px/1.35 var(--eng-mono);
  letter-spacing:.11em;
  color:#a399aa;
}
.feature-content .project-kicker{font-size:10px;color:#775b74}
.feature-content>p:not(.project-kicker){color:#5a5662}
.engineering-flow{
  margin:16px 0 10px;
  padding:13px 0 14px;
  border-block:1px solid #ded6de;
}
.engineering-flow .flow-label{
  display:block;
  font:700 10px/1.5 var(--eng-mono);
  letter-spacing:.065em;
  color:#736177;
  margin-bottom:9px;
}
.engineering-flow ol{
  display:flex;
  align-items:stretch;
  flex-wrap:wrap;
  list-style:none;
  padding:0;
  margin:0;
  gap:6px;
}
.engineering-flow li{
  display:flex;
  align-items:center;
  gap:7px;
  padding:7px 9px;
  border:1px solid #ddd5dc;
  background:#f8f7f9;
  border-radius:4px;
  color:#4a5160;
  font:650 11px/1.35 var(--sans);
  white-space:normal;
}
.engineering-flow li>span{
  color:#795f7c;
  font:700 10px/1 var(--eng-mono);
}
.engineering-flow li+li::before{
  content:"→";
  margin-left:-5px;
  margin-right:3px;
  color:#836e82;
  font:700 12px/1 var(--eng-mono);
}
.project-metrics strong{font-family:var(--eng-mono);font-variant-numeric:tabular-nums;letter-spacing:-.05em}
.project-metrics span{font-size:11px}

/* Cards and the project-library pages present methods and evidence clearly. */
.github-section .repo-card{
  border:1px solid #d9d5df;
  border-top:2px solid #b1a2b8;
  box-shadow:0 8px 26px rgba(45,55,73,.055);
}
.github-section .repo-category,.repo-meta,.repo-result-count{
  font-family:var(--eng-mono);
  letter-spacing:.01em;
}
.github-section .repo-card>p{color:#5d5e6a}
.shelf-label-row h3>span{font-size:12px;letter-spacing:0}
.shelf-preview-label,.shelf-collection-description{font-family:var(--eng-mono)}
.shelf-collection-description{font-size:11px;line-height:1.6}
.shelf-preview [data-preview-text]{color:#565d69}
.book-project-facts dt{color:#795b74;font-size:10px;letter-spacing:.065em}
.book-project-facts dd{line-height:1.75}
.skill-column{
  border-top:2px solid #ada3b5;
  padding-top:17px;
}
.skill-column h3{font-size:22px}
.skill-column p{font-size:13px;line-height:1.85;color:#57606b}
.timeline-date{font-size:10px;letter-spacing:.04em}

/* Decorative flowers and drifting stars stay subtle and noninteractive.
   No changes to their position, number, or accessibility properties. */
@media(max-width:1100px){
  .engineering-focus small{font-size:9.5px}
  .engineering-focus>div{padding-right:8px}
  .engineering-focus>div+div{padding-left:9px}
  .engineering-flow li{padding:6px 7px}
}
@media(max-width:780px){
  .hero h1{font-size:clamp(46px,10vw,65px)}
  .engineering-focus{margin-top:24px;max-width:650px}
  .engineering-focus>div{padding-block:11px}
  .engineering-focus strong{font-size:11px}
  .engineering-focus small{font-size:10px}
  .ambient-field-work,.ambient-field-robot,.ambient-field-skills{opacity:.57}
  .work-section .feature-content::before{top:9px;right:12px}
  .engineering-flow li+li::before{display:none}
}
@media(max-width:480px){
  .hero h1{font-size:clamp(42px,10.3vw,55px)}
  .engineering-focus .focus-code{font-size:9px}
  .engineering-focus strong{font-size:10px;line-height:1.38}
  .engineering-focus small{display:none}
  .engineering-focus>div{padding:10px 6px 10px 0}
  .engineering-focus>div+div{padding-left:9px}
  .engineering-flow ol{gap:6px}
  .engineering-flow li{font-size:10px}
  .figure-index{display:block;margin-bottom:3px}
  .skill-column h3{font-size:21px}
}
@media(prefers-reduced-motion:reduce){
  .engineering-focus,.engineering-flow{transition:none}
}
@media print{
  .ambient-field-github,.ambient-field-work,.ambient-field-robot,
  .ambient-field-skills{background-image:none}
}

/* SOURCE: case-studies.css */
/*
 * Technical case studies: explanatory, readable engineering evidence.
 * No fabricated plots and no media assets. In the existing #work section.
 */
.technical-dossiers{
  position:relative;
  z-index:1;
  width:min(1120px,calc(100% - 64px));
  margin:clamp(46px,6vw,72px) auto 0;
  display:grid;
  gap:19px;
}
.dossier-intro{max-width:780px;margin-bottom:8px}
.dossier-intro h2{
  margin:0 0 11px;
  font:500 clamp(31px,3.5vw,43px)/1.2 var(--serif);
  color:#463448;
  letter-spacing:-.035em;
}
.dossier-intro h2 em{color:#a16e8b}
.dossier-intro>p:last-child{
  font-size:14px;
  line-height:1.8;
  color:#6b6370;
  max-width:65ch;
}
.technical-dossier{
  min-width:0;
  padding:clamp(21px,3.1vw,34px);
  border:1px solid #ded4de;
  border-left:3px solid #9d83a1;
  border-radius:12px;
  background:rgba(255,253,254,.93);
  box-shadow:0 13px 31px rgba(50,43,57,.052);
  scroll-margin-top:114px;
}
.technical-dossier:nth-of-type(2){border-left-color:#957f91}
.technical-dossier:nth-of-type(3){border-left-color:#8595a3}
.dossier-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  flex-wrap:wrap;
  gap:12px 22px;
  padding-bottom:14px;
  border-bottom:1px solid #e5dfe6;
}
.dossier-id,.dossier-status,.dossier-figure figcaption,.chain-index,
.dossier-evidence>div>span,.dossier-source-note{
  font-family:var(--eng-mono,ui-monospace,monospace);
  letter-spacing:.045em;
}
.dossier-id{
  font-size:10px;
  font-weight:700;
  line-height:1.6;
  color:#836881;
  margin:0 0 7px;
}
.dossier-head h4{
  margin:0;
  max-width:660px;
  font:500 clamp(24px,2.7vw,32px)/1.24 var(--serif);
  letter-spacing:-.035em;
  color:#3f3547;
}
.dossier-status{
  flex:0 1 auto;
  font-size:10px;
  line-height:1.5;
  font-weight:700;
  padding:6px 10px;
  color:#61526d;
  background:#f3edf3;
  border:1px solid #ded2df;
  border-radius:5px;
  max-width:230px;
}
.dossier-summary{
  max-width:88ch;
  margin:17px 0 23px;
  color:#565361;
  font-size:14px;
  line-height:1.85;
}
.dossier-body{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(310px,.98fr);
  align-items:start;
  gap:clamp(20px,4vw,42px);
}
.dossier-notes h5{
  margin:0 0 9px;
  color:#634b64;
  font:700 11px/1.5 var(--eng-mono,monospace);
  text-transform:uppercase;
  letter-spacing:.055em;
}
.dossier-notes h5:not(:first-child){margin-top:20px}
.dossier-notes p,
.dossier-notes li{
  color:#5c5965;
  font-size:13px;
  line-height:1.85;
}
.dossier-notes p{margin:0}
.dossier-notes ul{
  margin:0;
  padding:0 0 0 19px;
}
.dossier-notes li+li{margin-top:6px}
.dossier-notes li::marker{color:#a483a0}
.dossier-notes strong{font-weight:700;color:#4b3c53}
.dossier-figure{
  margin:0;
  border:1px solid #d9dce4;
  border-radius:9px;
  padding:16px 16px 13px;
  background:
    linear-gradient(to right,rgba(82,94,114,.042) 1px,transparent 1px),
    linear-gradient(to bottom,rgba(82,94,114,.042) 1px,transparent 1px),
    #faf9fb;
  background-size:26px 26px,26px 26px,auto;
}
.dossier-figure figcaption{
  margin:0 0 17px;
  font-size:10px;
  font-weight:750;
  color:#6d6480;
  line-height:1.5;
}
.dossier-chain{
  display:grid;
  list-style:none;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px 10px;
  padding:0;
  margin:0;
  counter-reset:chain;
}
.dossier-chain li{
  position:relative;
  min-width:0;
  padding:13px 10px 11px;
  border:1px solid #cdd1dc;
  border-top:2px solid #a190ae;
  background:#fffdfd;
  border-radius:5px;
}
.chain-index{
  display:block;
  color:#886c91;
  font-weight:700;
  font-size:10px;
  margin-bottom:5px;
}
.dossier-chain strong{
  display:block;
  color:#3f4958;
  font:700 12px/1.4 var(--sans);
}
.dossier-chain small{
  display:block;
  color:#6b6d7a;
  font-size:10px;
  line-height:1.5;
  margin-top:4px;
}
.dossier-chain li:nth-child(2n+1)::after{
  content:"→";
  position:absolute;
  right:-15px;
  top:42%;
  z-index:1;
  color:#857592;
  font:700 14px/1 var(--eng-mono,monospace);
}
.dossier-chain li:nth-child(-n+2)::before{
  content:"↓";
  position:absolute;
  bottom:-20px;
  left:calc(50% - 4px);
  z-index:1;
  color:#857592;
  font:700 14px/1 var(--eng-mono,monospace);
}
.dossier-figure .figure-foot{
  margin:17px 0 0;
  color:#77727d;
  font-size:10px;
  line-height:1.6;
  font-style:italic;
}
.dossier-evidence{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin-top:23px;
}
.dossier-evidence>div{
  border:1px solid #ded8e1;
  border-radius:6px;
  padding:13px 12px;
  background:#f9f7fa;
}
.dossier-evidence>div>span{
  display:block;
  color:#766479;
  font-size:10px;
  font-weight:700;
  line-height:1.35;
}
.dossier-evidence strong{
  display:block;
  color:#3f4358;
  font:700 clamp(18px,2.4vw,27px)/1.4 var(--eng-mono,monospace);
  font-variant-numeric:tabular-nums;
  letter-spacing:-.045em;
  margin-top:7px;
}
.dossier-evidence small{
  display:block;
  color:#716b76;
  font-size:10px;
  line-height:1.55;
  margin-top:4px;
}
.dossier-footer{
  margin-top:21px;
  padding-top:15px;
  border-top:1px solid #e5dfe6;
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px 22px;
}
.dossier-footer p{
  flex:1 1 340px;
  color:#716b76;
  font-size:11px;
  line-height:1.7;
  margin:0;
}
.dossier-footer strong{color:#514858}
.dossier-footer-links{
  display:flex;
  align-items:baseline;
  justify-content:flex-end;
  gap:8px 19px;
  flex-wrap:wrap;
}
.dossier-footer a{
  flex:0 1 auto;
  color:#755371;
  font:700 11px/1.5 var(--sans);
  text-decoration:underline;
  text-underline-offset:4px;
}
.dossier-footer a:is(:hover,:focus-visible){color:#49354d}
.dossier-source-note{
  max-width:91ch;
  margin:5px 0 0;
  font-size:10px;
  line-height:1.7;
  color:#746777;
}
@media(max-width:880px){
  .dossier-body{grid-template-columns:minmax(0,1fr)}
  .dossier-figure{max-width:750px}
  .dossier-chain{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
  .dossier-chain li:nth-child(-n+2)::before{display:none}
  .dossier-chain li:nth-child(2)::after{content:"→";right:-12px;top:42%;position:absolute;color:#857592;font:700 14px/1 var(--eng-mono,monospace)}
  .dossier-chain li:nth-child(3)::after{content:"→";right:-12px;top:42%}
}
@media(max-width:650px){
  .technical-dossiers{width:calc(100% - 36px);margin-top:42px;gap:16px}
  .technical-dossier{padding:20px 17px}
  .dossier-head h4{font-size:clamp(23px,5.6vw,28px)}
  .dossier-summary{margin:13px 0 20px}
  .dossier-chain{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 9px}
  .dossier-chain li:nth-child(2)::after{display:none}
  .dossier-chain li:nth-child(3)::after{right:-13px}
  .dossier-chain li:nth-child(-n+2)::before{display:block}
  .dossier-evidence{gap:7px}
  .dossier-evidence>div{padding:10px 9px}
  .dossier-evidence strong{font-size:16px}
  .dossier-evidence small{font-size:9px}
}
@media(max-width:390px){
  .dossier-evidence{grid-template-columns:1fr}
  .dossier-evidence>div{display:grid;grid-template-columns:1fr auto;gap:3px 9px;align-items:center}
  .dossier-evidence>div>span{grid-row:1}
  .dossier-evidence strong{grid-column:2;grid-row:1;margin:0}
  .dossier-evidence small{grid-column:1/-1}
}
@media(prefers-reduced-motion:reduce){
  .technical-dossier{animation:none;transition:none}
}
@media(forced-colors:active){
  .dossier-figure{background:Canvas}
  .dossier-chain li,.dossier-evidence>div{border-color:CanvasText}
}
@media print{
  .technical-dossier{break-inside:avoid;box-shadow:none}
  .dossier-figure{background:#fff}
}

/* Independent case-study section; no empty separator rows. */
.case-studies-section{
  background:radial-gradient(ellipse 40% 35% at 95% 10%,rgba(174,146,184,.07),transparent 90%),#faf8fb;
  border-block:1px solid #eee7ef;
}
.case-studies-section .technical-dossiers{margin:0 auto}
.case-studies-section .dossier-intro h2{
  font-size:clamp(32px,3.5vw,45px);line-height:1.2;
  margin:0 0 11px;max-width:800px;
}
.case-studies-section .technical-dossier{background:#fffefe}

/* FIG. A: related, parallel NASA engineering workstreams. */
.nasa-dossier .dossier-body{grid-template-columns:minmax(0,1fr);gap:22px}
.nasa-dossier .dossier-notes{max-width:95ch}
.dossier-system-figure{max-width:100%;width:100%;padding:clamp(15px,2.5vw,27px)}
.nasa-system-architecture{
  display:flex;flex-direction:column;align-items:stretch;
  gap:27px;margin:4px auto 0;max-width:850px;
}
.nasa-arch-stage,.nasa-arch-branch{
  border:1px solid #cfd6df;border-top:3px solid #a79bb1;
  border-radius:7px;background:#fffefd;position:relative;
  min-width:0;padding:14px clamp(13px,2.1vw,20px);text-align:center;
}
.nasa-arch-stage{max-width:640px;width:100%;align-self:center}
.nasa-arch-branches{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:13px;width:100%;position:relative;align-items:stretch;
}
.nasa-arch-branch{border-top-color:#8da0b2;display:flex;flex-direction:column;justify-content:center}
.nasa-arch-branch:nth-child(2){border-top-color:#a18ba9}
.nasa-arch-output{border-top-color:#8d9eaa}
.nasa-arch-input::after,.nasa-arch-branches::after{
  content:"↓";position:absolute;bottom:-24px;left:calc(50% - 7px);
  color:#8c7d93;font:700 16px/1 var(--eng-mono,monospace);
}
.nasa-arch-label{
  display:block;margin-bottom:6px;font:700 10px/1.5 var(--eng-mono,monospace);
  color:#796581;letter-spacing:.055em;
}
.nasa-arch-stage strong,.nasa-arch-branch strong{
  display:block;color:#384759;font:700 15px/1.4 var(--sans);
}
.nasa-system-architecture p{
  margin:6px auto 0;max-width:51ch;
  font:400 12px/1.65 var(--sans);color:#68707a;
}
.dossier-system-figure .figure-foot{margin-top:21px}

/* Requirement/measurement status tables. */
.dossier-verification{margin-top:26px;padding-top:19px;border-top:1px solid #e4dee6}
.dossier-verification h5{
  color:#65516e;font:700 11px/1.5 var(--eng-mono,monospace);
  letter-spacing:.055em;text-transform:uppercase;margin:0 0 11px;
}
.verification-scroll{
  max-width:100%;overflow-x:auto;border:1px solid #dbe0e7;
  border-radius:7px;background:#fff;scrollbar-color:#aea4b6 transparent;
}
.verification-scroll:focus-visible{outline:3px solid #835f81;outline-offset:3px}
.verification-table{
  border-collapse:collapse;width:100%;min-width:590px;table-layout:fixed;
  font-size:12px;line-height:1.65;color:#535966;
}
.verification-table caption{
  caption-side:bottom;padding:9px 13px;border-top:1px solid #e7e2e9;
  text-align:left;font-size:10px;color:#746d7b;background:#fbfafc;
}
.verification-table :is(th,td){
  text-align:left;vertical-align:top;padding:12px 13px;
  border-bottom:1px solid #e8e6eb;overflow-wrap:break-word;
}
.verification-table thead th{
  background:#f1edf3;color:#66526b;
  font:700 10px/1.55 var(--eng-mono,monospace);
  letter-spacing:.025em;text-transform:uppercase;
}
.verification-table tbody th{font-weight:700;color:#434c5c}
.verification-table tr:last-child :is(td,th){border-bottom:0}
.verification-table th:nth-child(1){width:26%}
.verification-table th:nth-child(2){width:32%}
.verification-table th:nth-child(3){width:42%}
@media(max-width:650px){
  .case-studies-section .dossier-intro h2{font-size:clamp(32px,8vw,42px)}
  .nasa-system-architecture{gap:25px}
  .nasa-arch-branches{grid-template-columns:1fr;gap:9px}
  .nasa-arch-input::after,.nasa-arch-branches::after{bottom:-22px}
  .dossier-system-figure{padding:15px 12px}
  .verification-table{min-width:560px;font-size:11px}
  .verification-table :is(th,td){padding:10px 11px}
  .dossier-verification{margin-top:20px}
}
@media print{
  .verification-scroll{overflow:visible}
  .verification-table{min-width:0}
  .nasa-arch-stage,.nasa-arch-branch{break-inside:avoid}
}

/* SOURCE: project-pages.css */
/*
 * Engineering drafting paper and project navigation.
 * 20px subdivisions and 100px heavy 5-by-5 engineering grid.
 * Decoration remains underneath content, photos, project books and controls.
 */
:root{
  --draft-minor:rgba(84,108,130,.070);
  --draft-major:rgba(83,103,131,.17);
  --draft-major-warm:rgba(145,106,137,.075);
  --draft-paper:#fcfaf9;
}
body{background-color:var(--draft-paper)}
.hero,.section{position:relative;isolation:isolate}
.robot-section::after{display:block!important}
.hero::after,.section::after{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background-image:
    linear-gradient(90deg,var(--draft-minor) 1px,transparent 1px),
    linear-gradient(var(--draft-minor) 1px,transparent 1px),
    linear-gradient(90deg,var(--draft-major) 1px,transparent 1px),
    linear-gradient(var(--draft-major) 1px,transparent 1px);
  background-size:20px 20px,20px 20px,100px 100px,100px 100px;
  background-position:0 0;
  opacity:.66;
  -webkit-mask-image:linear-gradient(90deg,rgba(0,0,0,.88),rgba(0,0,0,.27) 25%,rgba(0,0,0,.14) 74%,rgba(0,0,0,.66));
  mask-image:linear-gradient(90deg,rgba(0,0,0,.88),rgba(0,0,0,.27) 25%,rgba(0,0,0,.14) 74%,rgba(0,0,0,.66));
}
.hero>.hero-copy,.hero>.hero-photo,
.section>.container,.section>.technical-dossiers,.section>.featured-projects-inner{
  position:relative;z-index:1;
}
.section .feature-project,.section .technical-dossier{background-color:rgba(255,253,254,.96)}
.case-studies-section{background-color:#faf8fb}
.contact-section::after{opacity:.22}
@media(max-width:760px){
  .hero::after,.section::after{opacity:.42;background-size:18px 18px,18px 18px,90px 90px,90px 90px}
}
/* Four quick, keyboard-accessible ways to enter the strongest engineering work. */
.featured-projects-section{padding:32px 0 40px!important}
.featured-projects-inner{width:min(1120px,calc(100% - 64px));margin:auto}
.featured-projects-head{
  display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;
  gap:6px 20px;margin-bottom:15px
}
.featured-projects-head .eyebrow{margin:0}
.featured-projects-head p:last-child{margin:0;font-size:12px;color:#77717e}
.featured-project-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.featured-project-card{
  display:flex;flex-direction:column;gap:7px;
  padding:18px 17px 16px;border:1px solid #d8d4df;
  border-top:3px solid #9b83a0;border-radius:8px;
  background:rgba(255,253,254,.94);
  text-decoration:none;min-width:0;min-height:155px;
  box-shadow:0 8px 20px rgba(60,46,72,.033);
  transition:transform .20s ease,box-shadow .20s ease,border-color .20s ease;
}
.featured-project-card:nth-child(2){border-top-color:#a5a2b3}
.featured-project-card:nth-child(3){border-top-color:#8d9eae}
.featured-project-card:nth-child(4){border-top-color:#a89987}
.featured-project-card .featured-category{
  color:#795b78;font:700 10px/1.5 var(--eng-mono,monospace);letter-spacing:.055em
}
.featured-project-card strong{
  color:#414154;font:600 20px/1.22 var(--serif)
}
.featured-project-card small{color:#625e6c;font:400 12px/1.55 var(--sans);flex:1}
.featured-project-card .featured-more{
  color:#735775;font:700 11px/1.45 var(--sans)
}
.featured-project-card:hover,.featured-project-card:focus-visible{
  border-color:#ab8dae;box-shadow:0 12px 25px rgba(69,53,80,.10);
  transform:translateY(-2px)
}
.featured-project-card:focus-visible{outline:3px solid #795f86;outline-offset:3px}
/* A simple scope and responsibility note on case studies. */
.dossier-role{
  display:grid;grid-template-columns:120px minmax(0,1fr);
  gap:12px;align-items:baseline;margin:16px 0 23px;
  border:1px solid #e0d9e4;border-left:3px solid #aa8eab;
  border-radius:6px;background:#f9f7fa;padding:12px 15px;
}
.dossier-role strong{
  color:#705975;font:700 10px/1.5 var(--eng-mono,monospace);
  text-transform:uppercase;letter-spacing:.04em
}
.dossier-role p{margin:0;color:#565563;font-size:12px;line-height:1.7}
.dossier-detail-link{
  display:inline-flex;align-items:center;gap:5px;font-weight:700;
  font-size:11px;color:#725574;text-decoration:underline;text-underline-offset:3px
}
/* Individual static pages: no JavaScript needed, one durable share URL per book. */
body.project-page{min-height:100vh;background-color:var(--draft-paper);color:#414050}
.project-page .detail-navigation{
  background:rgba(255,253,254,.94);border-bottom:1px solid #e1d9e2;
  position:relative;z-index:1
}
.detail-nav-inner{
  width:min(980px,calc(100% - 46px));margin:auto;
  display:flex;gap:20px;align-items:center;justify-content:space-between;
  min-height:68px;flex-wrap:wrap;
}
.detail-home{
  color:#604967;text-decoration:none;font:600 26px/1.3 var(--serif)
}
.detail-nav-actions{display:flex;flex-wrap:wrap;gap:9px 19px}
.detail-nav-actions a,.detail-home-link{
  color:#6d536d;text-decoration:underline;text-underline-offset:4px;
  font:600 12px/1.5 var(--sans)
}
.project-page .project-paper{
  position:relative;isolation:isolate;padding:clamp(42px,7vw,86px) 0 94px
}
.project-page .project-paper::before{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
  background-image:
    linear-gradient(90deg,var(--draft-minor) 1px,transparent 1px),
    linear-gradient(var(--draft-minor) 1px,transparent 1px),
    linear-gradient(90deg,var(--draft-major) 1px,transparent 1px),
    linear-gradient(var(--draft-major) 1px,transparent 1px);
  background-size:20px 20px,20px 20px,100px 100px,100px 100px;
  opacity:.55;
}
.project-page .project-paper>.detail-container{
  position:relative;z-index:1;width:min(980px,calc(100% - 46px));margin:auto
}
.project-page .detail-heading{max-width:850px;margin-bottom:27px}
.project-page .detail-heading .eyebrow{margin-bottom:12px}
.project-page .detail-heading h1{
  font:500 clamp(38px,5vw,62px)/1.1 var(--serif);
  letter-spacing:-.04em;color:#3d3749;margin:0 0 13px
}
.project-page .detail-heading>p:last-child{max-width:67ch;color:#665f6d;line-height:1.8}
.project-page .detail-card{
  padding:clamp(19px,3.4vw,35px);border:1px solid #dcd5df;
  background:rgba(255,253,254,.97);border-radius:12px
}
.project-page .detail-tag{
  display:inline-block;font:700 10px/1.4 var(--eng-mono,monospace);
  color:#715a7b;letter-spacing:.05em;margin-bottom:13px
}
.project-page .detail-lead{
  font-size:15px;line-height:1.85;color:#555160;
  max-width:90ch;margin:0 0 20px
}
.project-page .detail-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:19px 0
}
.project-page .detail-panel{
  padding:17px 18px;border:1px solid #e2dce4;border-radius:7px;
  background:#faf8fb;min-width:0
}
.project-page .detail-panel h2,.project-page .detail-results h2{
  color:#67566e;font:700 11px/1.5 var(--eng-mono,monospace);
  text-transform:uppercase;letter-spacing:.06em;margin:0 0 8px
}
.project-page .detail-panel p,.project-page .detail-results p{
  color:#545563;font-size:13px;line-height:1.75;margin:0
}
.project-page .detail-results{
  border-left:3px solid #9c85a4;background:#f8f5f9;
  padding:16px 20px;margin-top:17px
}
.project-page .detail-source-note{
  font-size:11px;line-height:1.7;color:#77717e;
  margin:18px 0 0
}
.project-page .detail-buttons{
  display:flex;flex-wrap:wrap;gap:11px;margin-top:24px
}
.project-page .detail-buttons a{
  padding:11px 16px;border:1px solid #927896;border-radius:5px;
  color:#563d5d;text-decoration:none;font:700 12px/1.4 var(--sans);
  background:#fff;transition:background-color .18s ease
}
.project-page .detail-buttons a:first-child{
  color:#fff;background:#645067;border-color:#645067
}
.project-page .detail-buttons a:hover,.project-page .detail-buttons a:focus-visible{
  outline:2px solid #927896;outline-offset:2px;background:#eee6f0;color:#4e4056
}
.project-page .detail-footer{
  margin-top:36px;color:#77717e;font-size:12px;line-height:1.6
}
@media(max-width:850px){.featured-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){
  .featured-projects-inner{width:calc(100% - 36px)}
  .featured-projects-section{padding:22px 0 27px!important}
  .featured-project-card{min-height:146px;padding:13px}
  .featured-project-card strong{font-size:18px}
  .featured-project-card small{font-size:11px}
  .dossier-role{grid-template-columns:1fr;gap:3px}
  .project-page .detail-grid{grid-template-columns:1fr}
  .project-page .detail-nav-inner{padding:10px 0}
}
@media(max-width:400px){.featured-project-grid{grid-template-columns:1fr}.featured-project-card{min-height:0}}
@media(prefers-reduced-motion:reduce){
  .featured-project-card,.project-page .detail-buttons a{transition:none!important;transform:none!important}
}
@media(forced-colors:active){
  .hero::after,.section::after,.project-page .project-paper::before{display:none!important}
}
@media print{
  .hero::after,.section::after,.project-page .project-paper::before{display:none!important}
  .featured-project-card,.detail-card{box-shadow:none}
}
