/* White, charcoal, and cobalt. Consistent reading order across every project. */
:root{--paper:#fff;--ink:#202733;--muted:#505c6d;--surface:#f3f6fa;--line:#dce2ea;--accent:#2456b8;--blue:#2456b8;--bold:#2456b8}
body,.hero,.experience-band,.experience-section,.contact{background:#fff;color:var(--ink)}
.wrap{width:min(1120px,calc(100% - 64px))}.header{background:#fff;padding:16px max(32px,calc((100% - 1120px)/2));backdrop-filter:none}.brand .monogram,.primary{background:var(--accent);color:#fff}.primary:hover,.nav-contact:hover{background:#183e88;color:#fff}.brand .monogram:after{background:#fff}
body{font-size:18px;line-height:1.7}.eyebrow,.hero .eyebrow,.project-copy .eyebrow{font-size:14px;letter-spacing:.025em;color:var(--muted)}
.hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.8fr);align-items:center;gap:48px;min-height:0;width:min(1120px,calc(100% - 64px));margin:auto;padding:72px 0}
.hero-copy{grid-column:1;grid-row:1;width:100%;pointer-events:auto;transform:none!important}.hero h1{font-size:clamp(48px,5vw,68px);line-height:1.15;letter-spacing:-.035em}.hello-wave{display:none}.hero .intro{max-width:550px;font-size:20px;line-height:1.7}.hero-depth{position:static;grid-column:2;grid-row:1;width:100%;height:360px;border-radius:8px;background:var(--surface);transform:none!important}.hero-depth img{mix-blend-mode:normal;object-fit:contain}.hero-footer,.scroll-progress{display:none}
.experience-band{border-block:1px solid var(--line)}.band-inner{padding-block:22px;gap:20px;flex-wrap:wrap}.band-inner p{color:var(--muted);font-size:14px}.band-inner>a{font-size:18px}.band-inner>a:hover{color:var(--accent)}
.section{padding-block:72px}h2,.about h2,.contact h2{font-size:clamp(32px,3.7vw,44px);line-height:1.25;letter-spacing:-.025em}.section-heading{margin-bottom:24px}.gallery-filters{gap:12px;margin-bottom:24px}.gallery-filters button{font-size:16px;padding:8px 16px;border:1px solid var(--line);border-radius:6px}.gallery-filters button.active{background:var(--accent);color:#fff;border-color:var(--accent)}.gallery-filters button.active span{color:#fff}
.projects{display:flex;flex-direction:column;gap:0}.project,.feature-project,.feature-project:nth-child(2),.secondary-project{display:grid;grid-template-columns:320px minmax(0,1fr);gap:40px;width:100%;align-items:center;padding:32px 0;border-bottom:1px solid var(--line)}
.project .project-cover,.feature-project:nth-child(2) .project-cover{grid-column:1;grid-row:1;aspect-ratio:1.15;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.project .project-copy,.feature-project:nth-child(2) .project-copy{grid-column:2;grid-row:1;padding:0}.project-copy h3,.secondary-project h3{font-size:28px;line-height:1.25;letter-spacing:-.02em;font-weight:600}.project-copy .eyebrow{margin-bottom:10px}.project-copy>p:not(.eyebrow){font-size:18px;line-height:1.7;margin-top:12px;max-width:650px}.project-result{margin-block:18px;gap:18px}.project-result strong,.secondary-project .project-result strong{font-size:28px}.project-result span{max-width:320px;font-size:16px}.case-link{color:var(--accent);border-color:var(--accent);font-weight:600}.motion-ready .reveal{opacity:1;transform:none;transition:none}
.job{grid-template-columns:180px minmax(0,1fr);gap:32px;padding-block:32px}.job h3{font-size:28px}.job h4,.job p,.job .achievement{font-size:18px}.job-date{font-size:15px}.about{gap:64px;grid-template-columns:1.4fr .8fr}.about>div:first-child{position:static}.about-portrait img{max-height:380px}.contact{padding-block:64px;border-block:1px solid var(--line)}.contact .eyebrow,.contact .contact-note,.contact .form-note{color:var(--muted)}.contact-email,.contact-links a,.contact-links button{color:var(--accent)}.contact-layout{gap:40px}.contact-email{font-size:22px}.contact-links a,.contact-links button{font-size:16px}footer{font-size:14px}
.case-intro h1{font-size:clamp(38px,5vw,64px);line-height:1.2;letter-spacing:-.03em}.case-deck{font-size:21px;line-height:1.7}.case-facts dt{font-size:15px}.case-facts dd{font-size:18px;line-height:1.65}.case-body{width:min(760px,calc(100% - 64px));font-size:18px;line-height:1.8;margin-block:64px}.case-body h2,.engineering-lessons h2{font-size:34px;line-height:1.3}.case-body h3,.engineering-lessons h3{font-size:24px;line-height:1.35}.engineering-lessons p{font-size:18px}.case-body img{background:var(--surface)}.report-link{font-size:16px}
@media(max-width:800px){.wrap{width:calc(100% - 40px)}.hero{width:calc(100% - 40px);gap:28px;padding:44px 0;grid-template-columns:1fr}.hero-depth{grid-column:1;grid-row:2;height:300px;border-radius:8px}.hero h1{font-size:52px}.hero .intro{font-size:18px}.project,.feature-project,.feature-project:nth-child(2),.secondary-project{grid-template-columns:1fr;gap:22px;padding-block:28px}.project .project-cover{max-width:480px;max-height:320px}.project .project-copy,.feature-project:nth-child(2) .project-copy{grid-column:1;grid-row:2}.section{padding-block:48px}.section-heading h2{font-size:34px}.about,.contact-layout{grid-template-columns:1fr;gap:32px}.job{grid-template-columns:1fr;gap:14px}.header{padding:12px 20px}.header nav{gap:12px}.case-body{width:calc(100% - 40px)}.band-inner{justify-content:flex-start}.band-inner p{width:100%;text-align:left}.project-result{flex-wrap:wrap}.contact-email{font-size:20px}}
.brand-icon{width:40px;height:40px;flex:none}.brand span{letter-spacing:-.02em}.hero{grid-template-columns:minmax(0,1.3fr) minmax(0,.8fr);gap:72px;padding-block:64px}.hero h1{font-size:clamp(44px,4.5vw,62px)}.hero h1 small{display:block;font-size:clamp(28px,3vw,40px);line-height:1.25;letter-spacing:-.025em;font-weight:500;margin-top:20px}.hero .intro{font-size:18px;line-height:1.75;margin-top:22px}.hero .eyebrow{font-family:inherit;font-weight:600;max-width:none;margin-bottom:20px}.portrait-frame{display:block;height:420px;overflow:visible;background:none;border-radius:0;position:relative}.portrait-frame:before{content:"";position:absolute;left:-12px;top:18px;width:4px;height:48px;background:#c25f15}.portrait-frame img{height:360px;width:100%;object-fit:cover;object-position:50% 56%;border-radius:8px}.portrait-frame figcaption{display:flex;flex-direction:column;gap:2px;padding-top:14px;color:var(--muted);font-size:14px;line-height:1.5}.portrait-frame figcaption span:first-child{font-size:12px;letter-spacing:.1em;font-weight:650;color:var(--ink)}.section-heading h2{font-size:40px}.project .project-cover{position:relative}.project-copy .eyebrow:before{content:"";display:inline-block;width:12px;height:2px;background:#c25f15;vertical-align:middle;margin-right:8px}.gallery-filters span{font-size:14px}.engineering-lessons{counter-reset:lesson}.engineering-lessons h3{position:relative;padding-left:42px;counter-increment:lesson;margin-top:34px}.engineering-lessons h3:before{content:counter(lesson,decimal-leading-zero);position:absolute;left:0;top:4px;font:14px ui-monospace,monospace;color:#a94d12}.engineering-lessons p{padding-left:42px}.case-cover{border:1px solid var(--line);background:var(--surface);max-height:560px}.case-cover img{max-height:560px}.case-body h2{letter-spacing:-.025em}.contact-links button:hover,.contact-links a:hover{text-decoration-thickness:2px}.case-facts{padding-bottom:12px}.next-case>a:first-of-type{font-size:32px;line-height:1.3}.project-cover img{transition:transform .25s ease}.project-cover:hover img{transform:scale(1.025)}.report-link{text-decoration:underline;text-underline-offset:4px}
@media(max-width:800px){.hero{grid-template-columns:1fr;gap:36px;padding-block:40px}.hero h1{font-size:44px}.hero h1 small{font-size:30px}.portrait-frame{height:auto;max-width:420px}.portrait-frame img{height:320px}.hero-copy .actions{flex-wrap:wrap}.section-heading h2{font-size:34px}.engineering-lessons h3,.engineering-lessons p{padding-left:34px}.case-facts{grid-template-columns:1fr;gap:18px}.brand-icon{width:34px;height:34px}}
@media(min-width:701px) and (max-width:1000px){.header{flex-wrap:wrap}.header nav{font-size:15px}.brand span{font-size:18px}}
@media(max-width:380px){.header nav{gap:6px;font-size:13px}.header .nav-contact{padding-inline:8px}.hero h1{font-size:40px}.project-copy h3{font-size:26px}}
.portrait-frame{inset:auto}
.brand-icon{width:64px;height:40px;object-fit:cover;object-position:center}.cycloidal-gearbox-cover img{object-fit:contain;padding:10px}
@media(max-width:800px){.brand-icon{width:56px;height:36px}}
.portrait-frame{height:auto;display:flex;flex-direction:column;align-items:center}.portrait-frame img{width:360px;height:360px;max-width:100%;border-radius:50%;object-fit:cover;object-position:50% 56%}.portrait-frame:before{display:none}.portrait-frame figcaption{width:100%;text-align:center;padding-top:20px}
@media(max-width:800px){.portrait-frame{width:100%;max-width:none}.portrait-frame img{width:300px;height:300px}.portrait-frame figcaption{text-align:center}}
.portrait-frame img{height:auto;aspect-ratio:1;flex:none}
.portrait-crop{width:min(360px,100%);aspect-ratio:1;border-radius:50%;overflow:hidden}.portrait-crop img{width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 61%;transform:scale(1.15)}
@media(max-width:800px){.portrait-crop{width:min(300px,100%)}}
.project .project-cover,.case-cover,.case-body img,.portrait-crop{background:#fff}.project .project-cover{border-color:#edf0f4}.case-cover{border-color:#edf0f4}.pulse-pal-cover img{object-fit:contain}.project-cover img{padding:12px}.portrait-crop img{background:#fff}
.project-copy .eyebrow:before{background:#a6193c}.engineering-lessons h3:before{color:#a6193c}.gallery-filters button:not(.active):hover{background:#e5f3ff;border-color:#91c9ed;color:#184ba5}::selection{background:#ffdf65;color:#202733}.brand-icon{width:42px;height:42px;object-fit:contain}
@media(max-width:800px){.brand-icon{width:36px;height:36px}}
.portrait-crop img{object-position:50% 48%;transform:scale(1.15) translateX(-2%)}.band-inner{gap:28px;padding-block:24px}.company-logo{display:flex;align-items:center;justify-content:center;min-height:48px}.company-logo img{object-fit:contain;max-width:100%;height:auto}.apple-logo img{width:28px;height:32px}.jnj-logo img{width:196px;max-height:32px}.boston-logo img{width:160px;max-height:44px}
@media(max-width:800px){.band-inner{justify-content:center;gap:20px 30px}.band-inner p{text-align:center}.jnj-logo img{width:170px}.boston-logo img{width:145px}.band-inner>a:last-child{font-size:16px}}

.job-rail{display:flex;flex-direction:column;align-items:flex-start;gap:22px;padding-top:3px}.job-logo-slot{height:48px;display:flex;align-items:center}.job-rail .job-logo{display:block;object-fit:contain;object-position:left center;width:160px;height:42px}.job-rail .apple-job-logo{width:30px;height:36px}.job-rail .jnj-job-logo{height:22px}.job-details h3{margin:0 0 5px}.job-details .job-division{margin:0 0 14px;font-size:16px;color:var(--muted);line-height:1.5}.job-details h4{margin:0 0 18px}.resume-bullets{margin:0;padding-left:21px;display:grid;gap:12px;font-size:17px;line-height:1.65;color:var(--ink)}.resume-bullets li{padding-left:5px}.resume-bullets li::marker{color:var(--accent)}
@media(max-width:800px){.job-rail{gap:14px;flex-direction:row;align-items:center;justify-content:space-between}.job-rail .job-logo{width:130px}.job-rail .apple-job-logo{width:28px}.job-rail .job-date{font-size:13px;text-align:right}.resume-bullets{font-size:16px}.job{gap:20px}}
.project .project-cover{border:0;border-radius:0;background:transparent;box-shadow:none}

.project .project-cover{border:0;border-radius:0;background:transparent;box-shadow:none}
.job-rail .job-date span{display:block;margin-top:5px}
@media(max-width:800px){.job-rail .job-date{line-height:1.6}.job-rail .job-date span{margin-top:0}}

.robot-arm-cover img{object-fit:contain;object-position:center;padding:8px}.project .robot-arm-cover{aspect-ratio:1.65}

.growth-timeline{list-style:none;padding:0;margin:0}.journey-step{display:grid;grid-template-columns:180px minmax(0,1fr);gap:32px}.journey-date{padding-top:3px}.journey-date>span{font-size:22px;font-weight:600;color:var(--accent)}.journey-date>p{font-size:15px;color:var(--muted);margin-top:4px}.journey-content{position:relative;border-left:1px solid var(--line);padding:0 0 40px 30px}.journey-content:before{content:"";position:absolute;left:-6px;top:8px;width:11px;height:11px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 5px #fff}.journey-content>h3{font-size:25px;line-height:1.3;letter-spacing:-.02em;margin-bottom:20px}.journey-events{list-style:none;margin:0;padding:0;display:grid;gap:20px}.journey-events h4{font-size:17px;line-height:1.5;font-weight:600}.journey-events p,.journey-project-note>p:last-child{font-size:17px;line-height:1.7;color:var(--muted);margin-top:4px}.journey-events a:hover,.journey-project-note a:hover{color:var(--accent)}.journey-events a{text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:4px}.journey-step:last-child .journey-content{padding-bottom:0;border-left-color:transparent}.journey-project-note{margin-top:36px;padding:24px 0;border-top:1px solid var(--line)}.journey-project-note h3{font-size:22px;line-height:1.4;margin-top:10px}
@media(max-width:800px){.journey-step{grid-template-columns:1fr;gap:15px}.journey-date{padding-left:30px;display:flex;align-items:baseline;gap:12px}.journey-date>span{font-size:20px}.journey-date>p{margin:0}.journey-content{margin-left:5px;padding-left:24px;padding-bottom:35px}.journey-content>h3{font-size:23px}.journey-events{gap:17px}.journey-events h4,.journey-events p,.journey-project-note>p:last-child{font-size:16px}}

.eyebrow,.hero .eyebrow,.project-copy .eyebrow{font-family:inherit;font-weight:600;letter-spacing:.01em}.hero-project-label,.hero-footer{font-family:inherit}.career-note{color:var(--accent);font-weight:500}.job-rail{align-items:center}.job-logo-slot{width:100%;justify-content:center}.job-rail .job-logo{object-position:center}.job-rail .job-date{text-align:center}.job-rail .job-date span{margin-left:0}.journey-scroll-hint{font-size:14px;color:var(--muted);margin:0 0 20px}.journey-scroll{overflow-x:auto;padding:8px 0 22px;scroll-snap-type:x proximity;scrollbar-color:var(--accent) var(--line);scrollbar-width:thin}.journey-scroll:focus-visible{outline:2px solid var(--accent);outline-offset:5px}.growth-timeline{display:grid;grid-auto-flow:column;grid-auto-columns:310px;gap:0;width:max-content;min-width:100%}.journey-step{display:flex;flex-direction:column;gap:0;position:relative;padding:0 28px 0 0;scroll-snap-align:start}.journey-date{min-height:85px;padding:0 0 24px;display:block;border-bottom:2px solid var(--line);position:relative}.journey-date:after{content:"";position:absolute;bottom:-7px;left:0;width:12px;height:12px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 5px #fff}.journey-date>span{font-size:20px;display:block}.journey-date>p{font-size:14px;margin-top:4px}.journey-content,.journey-step:last-child .journey-content{border:0;margin:0;padding:28px 0 0}.journey-content:before{display:none}.journey-content>h3{font-size:23px;line-height:1.3;min-height:90px;margin:0 0 20px}.journey-events h4{font-size:16px}.journey-events p{font-size:16px;line-height:1.65}.journey-step:last-child .journey-date{border-color:transparent}.journey-step:last-child .journey-date:after{background:#a6193c}
@media(max-width:800px){.job-rail{flex-direction:column;gap:10px}.job-logo-slot{height:42px}.job-rail .job-date{text-align:center}.growth-timeline{grid-auto-columns:min(310px,80vw)}.journey-date{padding-left:0;display:block}.journey-date>p{margin-top:4px}.journey-content{padding-left:0}.journey-content>h3{font-size:22px}.journey-events{gap:18px}}
.section-heading .eyebrow{font-family:inherit;font-weight:600;letter-spacing:.01em}.journey-step:not(:last-child) .journey-date{width:calc(100% + 28px)}

/* Unframed images, text tabs, and a clear next-project action. */
.case-cover,.project .project-cover{border:0;box-shadow:none;background:#fff}
.gallery-filters{gap:8px 28px}
.gallery-filters button{border:0;border-bottom:2px solid transparent;border-radius:0;padding:10px 0;background:transparent;color:var(--muted)}
.gallery-filters button.active{background:transparent;color:var(--accent);border-color:var(--accent);font-weight:600}
.gallery-filters button.active span{color:var(--accent)}
.gallery-filters button:not(.active):hover{background:transparent;color:var(--accent);border-color:var(--line)}
.next-case>a:first-of-type{display:inline-flex;align-items:center;max-width:100%;border:1px solid var(--accent);border-radius:8px;padding:16px 24px;font-size:clamp(20px,3vw,28px);line-height:1.35;letter-spacing:-.02em;color:var(--accent);transition:background .2s,color .2s}
.next-case>a:first-of-type:hover{background:var(--accent);color:#fff}
@media(max-width:800px){.gallery-filters{gap:8px 22px}.next-case>a:first-of-type{padding:14px 18px}}

/* Keep complete CAD geometry visible at every screen width. */
.case-cover{border:0;background:transparent;box-shadow:none}
.case-cover img{object-fit:contain}
.cad-renderings{margin-block:40px;display:grid;gap:32px}
.cad-renderings figure{margin:0;min-width:0}
.case-body .cad-renderings img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;margin:0 0 12px}
.gallery-filters button:focus-visible,.next-case>a:first-of-type:focus-visible{outline:3px solid var(--accent);outline-offset:5px}

/* Robot-arm hero: transparent, unframed, and never clipped. */
.robot-arm-page .case-cover{background:transparent;border:0;border-radius:0;box-shadow:none;padding:0;max-height:none;overflow:visible}
.robot-arm-page .case-cover img{background:transparent;border:0;border-radius:0;box-shadow:none;padding:0;width:100%;height:auto;max-height:none;object-fit:contain}

/* Current robot-arm CAD: overview, matched comparison, then stage layout. */
.robot-arm-page .case-cover{display:block;width:min(960px,calc(100% - 64px));margin-inline:auto}
.robot-arm-page .case-cover figcaption{font-size:14px;line-height:1.6;color:var(--muted);padding-top:14px}
.robot-arm-page .robot-cad-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;width:min(1120px,calc(100vw - 64px));position:relative;left:50%;transform:translateX(-50%);margin:40px 0}
.robot-arm-page .robot-cad-pair figure,.robot-arm-page .robot-cad-profile figure{margin:0;min-width:0}
.robot-arm-page .robot-cad-pair img,.robot-arm-page .robot-cad-profile img{width:100%;height:auto;max-height:none;object-fit:contain;background:transparent;border:0;border-radius:0;margin:0 0 14px}
.robot-arm-page .robot-cad-profile{margin:48px 0 56px}
.project .robot-arm-cover{aspect-ratio:1390/952}
.robot-arm-cover img{padding:0}
@media(max-width:800px){.robot-arm-page .case-cover{width:calc(100% - 40px)}.robot-arm-page .robot-cad-pair{grid-template-columns:1fr;width:100%;position:static;transform:none;gap:32px;margin:32px 0}.robot-arm-page .robot-cad-profile{margin:32px 0 40px}}

.robot-arm-page .robot-cad-exploded{margin:36px 0 44px}.robot-arm-page .robot-cad-exploded img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;background:transparent;border:0;border-radius:0;margin:0 0 14px}

/* Compact next-project link on the robot-arm case study. */
.robot-arm-page .next-case>a:first-of-type{font-size:17px;font-weight:500;line-height:1.45;letter-spacing:0;padding:10px 16px;border:1px solid var(--line);border-radius:6px;background:transparent;color:var(--ink);transition:background .2s,border-color .2s,color .2s}
.robot-arm-page .next-case>a:first-of-type:hover{background:var(--surface);border-color:var(--accent);color:var(--accent)}

/* Give the in-progress robot render a clear, quiet caption. */
#planetary .robot-project-visual{grid-column:1;grid-row:1;min-width:0;margin:0}
#planetary .robot-project-visual .project-cover{display:flex;width:100%;max-width:none;max-height:none}
#planetary .robot-project-visual figcaption{font-size:14px;line-height:1.55;color:var(--muted);margin-top:12px;max-width:340px}

/* Shared image-caption treatment across the portfolio and case studies. */
body main figure figcaption,
#planetary .robot-project-visual figcaption,
.robot-arm-page .case-cover figcaption,
.portrait-frame figcaption{
  width:100%;max-width:none;margin:14px auto 0;padding:0;
  text-align:center;font-size:14px;font-weight:400;line-height:1.6;
  letter-spacing:0;color:var(--muted);text-wrap:pretty;
}
body main figure:has(>figcaption)>img{margin-bottom:0}

.robot-arm-page .case-body figure>img{margin-bottom:0}

/* Technical comparisons and compact project navigation. */
.technical-table{margin:32px 0;overflow-x:auto}
.technical-table table{border-collapse:collapse;width:100%;font-size:16px;line-height:1.6;text-align:left}
.technical-table caption{text-align:left;font-size:18px;font-weight:600;color:var(--ink);margin-bottom:12px}
.technical-table th,.technical-table td{padding:14px 16px;border-bottom:1px solid var(--line);vertical-align:top}
.technical-table thead{background:var(--surface);color:var(--ink)}
.technical-table th{font-weight:600}.technical-table tbody th{width:25%;color:var(--ink)}
.case-page .next-case>a:first-of-type{font-size:17px;font-weight:500;line-height:1.45;letter-spacing:0;padding:10px 16px;border:1px solid var(--line);border-radius:6px;background:transparent;color:var(--ink)}
.case-page .next-case>a:first-of-type:hover{background:var(--surface);border-color:var(--accent);color:var(--accent)}
@media(max-width:800px){.technical-table th,.technical-table td{padding:10px 8px;font-size:14px}.projects .feature-project .project-cover{max-width:none;max-height:none}}


/* One project layout, with all artwork contained in the same unframed space. */
.projects .project{
 display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
 align-items:center;gap:48px;padding:36px 0;
}
.projects .project>.project-cover,
.projects .project>.robot-project-visual{grid-column:1;grid-row:1;min-width:0;max-width:none;max-height:none}
.projects .project>.project-copy{grid-column:2;grid-row:1;padding:0}
.projects .project .project-cover{
 aspect-ratio:1.46;width:100%;max-width:none;max-height:none;
 border:0;border-radius:0;box-shadow:none;background:transparent;
}
.projects .project .project-cover img{width:100%;height:100%;object-fit:contain;padding:0}
.projects .project h3{font-size:30px;line-height:1.25}
.project-copy .eyebrow:before{background:var(--accent)}
.engineering-lessons h3:before{color:var(--accent)}
#work{padding-top:56px;padding-bottom:32px}
#work .gallery-filters{margin-bottom:8px}

/* Show the entire chronology; never crop a year behind horizontal scrolling. */
.journey-section{padding-top:40px;padding-bottom:56px}
.journey-scroll{overflow:visible;padding:0;scroll-snap-type:none}
.growth-timeline{width:100%;min-width:0;grid-auto-flow:row;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px}
.journey-step{display:flex;flex-direction:column;min-width:0;padding:0;gap:0}
.journey-date,.journey-step:not(:last-child) .journey-date,.journey-step:last-child .journey-date{
 width:100%;min-height:98px;padding:0 0 18px;border-bottom:1px solid var(--line);
}
.journey-date>span{font-size:18px;line-height:1.4}
.journey-date:after,.journey-step:last-child .journey-date:after{width:8px;height:8px;bottom:-4px;background:var(--accent)}
.journey-content,.journey-step:last-child .journey-content{padding:22px 0 0;border:0;margin:0}
.journey-content>h3{min-height:0;font-size:20px;line-height:1.35;margin-bottom:16px}
.journey-events{gap:16px}
.journey-events h4{font-size:16px;line-height:1.5}
.journey-events p{font-size:15px;line-height:1.6}

/* A shared, compact introduction for every case study. */
.case-page .case-intro{padding:32px 0}
.case-page .back-link{margin-bottom:20px}
.case-page .case-intro .eyebrow{margin-bottom:16px}
.case-page .case-intro h1{font-size:clamp(38px,4.5vw,58px);line-height:1.15}
.case-page .case-deck{max-width:820px;margin-top:20px;font-size:20px;line-height:1.65}
.case-page .case-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin-top:28px;padding:20px 0 0}
.case-page .case-facts dt{font-size:14px;margin-bottom:6px}
.case-page .case-facts dd{font-size:17px;line-height:1.6}
.case-page .case-cover{max-height:none;overflow:visible;background:transparent;border:0;border-radius:0}
.case-page .case-cover>img{max-height:500px;object-fit:contain}
.robot-arm-page .case-cover{width:min(820px,calc(100% - 64px))}
.robot-arm-page .case-cover>img{max-height:none}
.cycloidal-page .case-cover{width:min(640px,calc(100% - 64px))}
.case-page .case-body{margin-block:48px}

@media(min-width:801px) and (max-width:1099px){
 .growth-timeline{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px}
 .journey-date,.journey-step:not(:last-child) .journey-date{min-height:78px}
 .projects .project{gap:32px}
}
@media(max-width:800px){
 .projects .project{grid-template-columns:1fr;gap:24px;padding-block:28px}
 .projects .project>.project-copy{grid-column:1;grid-row:2}
 .projects .project .project-cover{max-width:520px;margin-inline:auto}
 .projects .project h3{font-size:28px}
 #work{padding-top:44px;padding-bottom:24px}
 .journey-section{padding-top:32px;padding-bottom:44px}
 .growth-timeline{grid-template-columns:1fr;gap:32px}
 .journey-date,.journey-step:not(:last-child) .journey-date,.journey-step:last-child .journey-date{min-height:0;padding-bottom:16px}
 .journey-content,.journey-step:last-child .journey-content{padding-top:20px}
 .case-page .case-intro{padding:24px 0 28px}
 .case-page .back-link{margin-bottom:16px}
 .case-page .case-deck{font-size:19px}
 .case-page .case-facts{grid-template-columns:1fr;gap:16px;margin-top:24px}
 .case-page .case-facts dd{max-width:none}
 .case-page .case-cover>img{max-height:380px}
 .robot-arm-page .case-cover,.cycloidal-page .case-cover{width:calc(100% - 40px)}
 .robot-arm-page .case-cover>img{max-height:none}
}

/* Original project documentation: hardware, assembly details, and motion. */
.case-body .case-media{margin:36px 0}
.case-body .case-media>img{margin:0;width:100%;height:auto;max-height:none;object-fit:contain;border-radius:0;background:transparent}
.case-media-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:36px 0}
.case-media-pair figure{min-width:0;margin:0}
.case-body .case-media-pair img{display:block;width:100%;height:auto;aspect-ratio:8/7;max-height:none;object-fit:cover;object-position:center;margin:0;background:transparent;border-radius:0}
.case-media-pair figcaption{min-height:3.2em}
.case-body .case-motion{width:min(640px,100%);margin:40px auto}
.case-motion video{display:block;width:100%;height:auto;aspect-ratio:498/280;background:#111}
.case-motion video:focus-visible{outline:3px solid var(--accent);outline-offset:5px}
@media(max-width:600px){.case-media-pair{grid-template-columns:1fr;gap:28px}.case-body .case-media,.case-body .case-motion{margin-block:28px}}
