@font-face { font-family: Nunito; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/nunito-regular.ttf') format('truetype'); }
@font-face { font-family: Nunito; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/nunito-bold.ttf') format('truetype'); }
@font-face { font-family: OriginalIcons; font-style: normal; font-weight: 900; font-display: block; src: url('/assets/fa-solid-900.woff2') format('woff2'); }
@font-face { font-family: OriginalBrands; font-style: normal; font-weight: 400; font-display: block; src: url('/assets/fa-brands-400.woff2') format('woff2'); }
* { box-sizing: border-box; }
html { background: #f5f6f7; scrollbar-gutter: stable; }
body { margin: 0; font-family: Nunito, ui-rounded, -apple-system, BlinkMacSystemFont, sans-serif; color: #303332; -webkit-font-smoothing: antialiased; }
::selection { background: #e3e7e4; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid #626b66; outline-offset: 5px; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
.site { width: min(880px, calc(100% - 96px)); min-height: 100svh; display: flex; flex-direction: column; margin: 0 auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 36px; }
.wordmark { font-size: 24px; line-height: 1; font-weight: 700; letter-spacing: -.8px; }
.navigation { display: flex; align-items: center; gap: 30px; }
.navigation a { display: block; padding-block: 10px; font-size: 15px; color: #59635c; line-height: 1.5; white-space: nowrap; }
.navigation a > span { display: inline-block; transform-origin: center; transition: transform .32s cubic-bezier(.2,.75,.25,1), opacity .28s ease, color .2s ease; }
.navigation a[aria-current] { color: #303532; font-weight: 700; }
.navigation a:focus-visible > span { transform: scale(1.18); color: #202922; }
@media (hover: hover) and (pointer: fine) {
  .navigation:has(a:hover) a > span { transform: scale(.96); opacity: .8; }
  .navigation a:has(+ a:hover) > span, .navigation a:hover + a > span { transform: scale(.9); opacity: .7; }
  .navigation:has(a:hover) a:hover > span { transform: translateY(-1px) scale(1.18); opacity: 1; color: #202922; }
}
main { flex: 1; }
.home-panel { text-align: center; padding: 88px 0 86px; }
.home-page { isolation: isolate; overflow-x: clip; background: #f3f4f6; }
.home-page .home-panel { position: relative; }
/* Extend the portrait's studio light through the header; fade into the project band. */
.home-page .home-panel::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  inset: -10rem calc(50% - 50vw) 0;
  background:
    linear-gradient(to bottom, transparent 78%, #f3f4f6 100%),
    radial-gradient(ellipse 40% 56% at 50% 55%, #fff 12%, rgb(255 255 255 / 0) 100%),
    radial-gradient(ellipse 68% 48% at 4% 77%, #e0e7eb 0%, rgb(224 231 235 / 0) 90%),
    radial-gradient(ellipse 65% 50% at 100% 74%, #eae4df 0%, rgb(234 228 223 / 0) 88%),
    #fff;
}
.portrait-frame { display: block; position: relative; width: 148px; height: 148px; margin: 0 auto; border-radius: 50%; user-select: none; -webkit-user-select: none; }
.portrait { display: block; position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 5px solid #fff; box-shadow: 0 5px 24px #303c3310; transition: transform .4s cubic-bezier(.2,.75,.25,1), box-shadow .4s; }
.portrait-ripples { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .65s ease; }
.portrait-ripples > span { position: absolute; inset: 0; border: 1px solid #9baea3; border-radius: inherit; box-shadow: 0 0 8px #a8bbb31c, inset 0 0 6px #a8bbb314; opacity: 0; }
@keyframes portrait-ripple {
  0% { transform: scale(1.02); opacity: 0; }
  18% { opacity: .42; }
  62% { opacity: .14; }
  100% { transform: scale(1.95); opacity: 0; }
}
@media (hover: hover) and (pointer: fine) {
  .portrait-ripples > span { animation: portrait-ripple 8.4s linear infinite paused; }
  .portrait-ripples > span:nth-child(2) { animation-delay: -2.8s; }
  .portrait-ripples > span:nth-child(3) { animation-delay: -5.6s; }
  .portrait-frame:hover .portrait-ripples { opacity: 1; }
  .portrait-frame:hover .portrait-ripples > span { animation-play-state: running; }
  .portrait-frame:hover .portrait { transform: scale(1.06) rotate(-4deg); box-shadow: 0 14px 32px #303c3326; }
}
.home-panel h1 { font-size: 44px; line-height: 1.25; font-weight: 700; letter-spacing: -1.5px; margin-top: 25px; }
.affiliation { font-size: 17px; line-height: 1.6; margin-top: 8px; color: #656c67; }
.introduction { font-size: 17px; line-height: 1.8; color: #707670; margin-top: 22px; }
.contact-links { display: flex; justify-content: center; gap: 19px; margin-top: 24px; }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; color: #353c37; border-radius: 4px; transition: color .18s; }
.social-link:hover { color: #728273; }
.icon-solid, .icon-brand { font-size: 29px; line-height: 1; font-style: normal; font-variant: normal; text-rendering: auto; }
.icon-solid { font-family: OriginalIcons; font-weight: 900; }
.icon-brand { font-family: OriginalBrands; font-weight: 400; }
.work-section { width: min(1040px, calc(100vw - 80px)); margin-left: 50%; transform: translateX(-50%); display: grid; gap: 28px; padding: 10px 0 72px; scroll-margin-top: 30px; }
.project-card, .project-group { background: #fff; border-radius: 30px; padding: 35px 36px 29px; box-shadow: 0 0 0 1px transparent, 0 4px 12px #29382e00; transition: transform .3s cubic-bezier(.2,.75,.25,1), box-shadow .3s; }
.project-card:focus-within, .project-group:focus-within { box-shadow: 0 0 0 1px #bfcac2, 0 14px 36px #29382e0f; }
.project-card.has-project-viewer { cursor: pointer; }
.has-project-viewer .project-details { display: none; }
.project-actions { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 18px; }
.project-read-more { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; border: 0; border-radius: 4px; background: none; padding: 0; color: #3a4b40; font-size: 13px; font-weight: 700; white-space: nowrap; }
.project-read-more span { transition: transform .25s; }
.project-card:hover .project-read-more span { transform: translate(2px, -2px); }
@media (hover: hover) and (pointer: fine) {
  .project-card:hover, .project-group:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px #dce3dd, 0 20px 48px #29382e14; }
  .project-card:hover .details-label { color: #667f6d; }
}
.project-card.is-expanded { box-shadow: 0 0 0 1px #cdd8d0, 0 14px 38px #29382e0c; }
.project-card.is-expanded .details-body { animation: details-appear .28s ease-out; }
@keyframes details-appear { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.project-heading h2, .project-group > h2 { font-size: 28px; font-weight: 700; line-height: 1.3; letter-spacing: -.7px; }
.project-byline { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-top: 12px; color: #737a75; font-size: 13px; line-height: 1.6; }
.project-byline > span:last-child { font-size: 12px; }
.project-byline a:hover { text-decoration: underline; text-underline-offset: 4px; }
.project-gallery { display: grid; gap: 17px; margin-top: 25px; }
.project-gallery figure { margin: 0; min-width: 0; }
.project-gallery figure > a { display: block; overflow: hidden; border-radius: 19px; background: #edf0f2; }
.project-gallery picture { display: block; }
.project-gallery img { width: 100%; height: auto; display: block; }
.media-link { position: relative; cursor: zoom-in; }
.media-link img { transition: transform .35s ease; }
.media-hint { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border-radius: 20px; background: #242b26c9; color: #fff; font-size: 11px; line-height: 1; pointer-events: none; backdrop-filter: blur(8px); transition: background .2s; }
.media-hint svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.media-link:hover .media-hint, .media-link:focus-visible .media-hint { background: #242b26ed; }
@media (hover: hover) { .media-link:hover img { transform: scale(1.025); } }
.robotics-gallery { grid-template-columns: 1.12fr 1fr; }
.robotics-gallery img { height: 330px; object-fit: cover; }
.robotics-gallery figure:first-child img { object-position: center 44%; }
.robotics-gallery figure:nth-child(2) img { object-position: center 46%; }
.hope-gallery { grid-template-columns: 1fr; }
.hope-gallery img { aspect-ratio: 9 / 4; object-fit: cover; }
.learn-evolve-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.learn-evolve-gallery img { aspect-ratio: 16 / 9; height: auto; object-fit: cover; }
.learn-demo-link { position: relative; }
.learn-demo-link .media-hint svg { fill: currentColor; stroke: none; }
.learn-demo-link:hover .media-hint { background: #242b26ed; }
.learn-evolve-details { grid-template-columns: 1fr; }
#learn-evolve { scroll-margin-top: 35px; }
@media (max-width: 620px) { .learn-evolve-gallery { grid-template-columns: 1fr; gap: 20px; } }
.drone-gallery { grid-template-columns: 1fr 1fr; }
.drone-gallery img { height: 300px; object-fit: cover; }
.drone-gallery figure:first-child img { object-position: 52% 68%; }
.drone-gallery figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 10px; }
.drone-gallery figcaption a { color: #4e6757; }
.drone-gallery figcaption a:hover { text-decoration: underline; text-underline-offset: 3px; }
#drone-projects, #drone-tracking, #drone-racing { scroll-margin-top: 35px; }
.project-gallery figcaption { font-size: 11px; color: #777e79; line-height: 1.6; margin-top: 9px; }
.mapping-gallery img { aspect-ratio: 2403 / 751; object-fit: contain; background: #050605; }
.project-description { color: #606a63; font-size: 16px; line-height: 1.8; margin-top: 23px; max-width: 790px; }
.project-details { margin-top: 18px; }
.project-details summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 44px; list-style: none; cursor: pointer; border-radius: 4px; }
.project-details summary::-webkit-details-marker { display: none; }
.project-topics { display: flex; gap: 17px; flex-wrap: wrap; font-size: 12px; color: #6d766f; }
.details-label { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: #3a4b40; white-space: nowrap; }
.project-details summary:hover .details-label { color: #78897d; }
.details-toggle { width: 12px; height: 12px; position: relative; }
.details-toggle::before, .details-toggle::after { content: ''; position: absolute; background: currentColor; border-radius: 2px; }
.details-toggle::before { width: 12px; height: 1.5px; top: 5px; left: 0; }
.details-toggle::after { width: 1.5px; height: 12px; top: 0; left: 5px; transition: transform .2s; }
.project-details[open] .details-toggle::after { transform: rotate(90deg); }
.when-open, .project-details[open] .when-closed { display: none; }
.project-details[open] .when-open { display: inline; }
.details-body { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 34px; padding-top: 23px; margin-top: 10px; border-top: 1px solid #e9ece9; }
.details-body h3 { font-size: 15px; line-height: 1.5; font-weight: 700; margin-bottom: 8px; }
.details-body p { font-size: 14px; color: #67716a; line-height: 1.8; }
.source-link { justify-self: start; font-size: 13px; font-weight: 700; color: #3a4b40; }
.source-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.media-credit { font-size: 10px; color: #777e79; margin-top: 21px; line-height: 1.6; }
.media-credit a { text-decoration: underline; text-decoration-color: #cbd0cc; text-underline-offset: 3px; }

#huffman-coding { scroll-margin-top: 35px; }
.compression-preview { display: block; margin-top: 25px; padding: 25px 28px; border-radius: 19px; background: #f2f5f3; }
.compression-example { display: flex; justify-content: space-between; gap: 20px; align-items: center; font-size: 12px; color: #718078; }
.compression-example > span { color: #6e8576; font-size: 18px; }
.compression-row { display: block; margin-top: 19px; }
.compression-row-label { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; color: #64736a; font-size: 13px; }
.compression-row-label strong { font-size: 20px; color: #42574a; font-weight: 700; }
.compression-track { display: block; height: 10px; margin-top: 9px; }
.compression-bar { display: block; height: 100%; border-radius: 8px; }
.compression-bar.original { width: 100%; background: #d9e1dc; }
.compression-bar.packed { background: #829c8b; transition: background .2s; }
.compression-preview:hover .compression-bar.packed { background: #668a73; }
.compression-result { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 18px; margin-top: 23px; font-size: 12px; color: #738178; }
.compression-result strong { color: #46604f; font-weight: 700; }
.huffman-details { grid-template-columns: 1fr; }
.huffman-details > div, .project-viewer-sections > div { min-width: 0; }
.huffman-format-copy { margin-top: 15px; }
.compression-table-wrap { overflow-x: auto; margin-top: 19px; border-radius: 4px; }
.compression-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; line-height: 1.65; font-variant-numeric: tabular-nums; }
.compression-table th, .compression-table td { padding: 12px 10px; border-bottom: 1px solid #e7ece8; white-space: nowrap; }
.compression-table th:first-child { padding-left: 0; }
.compression-table td:last-child, .compression-table th:last-child { padding-right: 0; text-align: right; }
.compression-table thead th { color: #718077; font-weight: 400; }
.compression-table tbody th { color: #425b4a; font-weight: 700; }
.compression-table td { color: #68766d; }
.project-viewer-sections .measurement-note { font-size: 11px; color: #819087; margin-top: 12px; }
@media (max-width: 600px) {
  .compression-preview { margin-top: 20px; padding: 20px; border-radius: 15px; }
  .compression-row-label strong { font-size: 18px; }
  .compression-result { margin-top: 20px; font-size: 11px; }
}
footer { display: flex; justify-content: space-between; align-items: center; padding: 25px 0 30px; color: #767c77; font-size: 12px; }
.about-page main { display: flex; align-items: center; justify-content: center; padding: 80px 0; }
.about-panel { width: min(100%, 720px); }
.about-panel > h1 { font-size: 34px; letter-spacing: -.8px; line-height: 1.3; }
.about-copy { margin-top: 27px; }
.about-copy p { font-size: 17px; line-height: 1.9; color: #67716a; margin-top: 18px; }
.about-copy .about-lead { font-size: 20px; line-height: 1.75; color: #46534a; }
.about-lead strong { font-weight: 700; color: #303e35; }
.about-experience { margin-top: 43px; }
.about-experience h2 { font-size: 21px; line-height: 1.4; letter-spacing: -.3px; }
.experience-list { list-style: none; margin: 19px 0 0; padding: 0; }
.experience-list > li { display: grid; grid-template-columns: 126px minmax(0, 1fr); gap: 27px; padding: 26px 0; border-top: 1px solid #dfe5e0; }
.experience-date { padding-top: 3px; font-size: 12px; line-height: 1.8; color: #69766d; }
.experience-copy h3 { font-size: 17px; font-weight: 700; line-height: 1.5; color: #384a3e; }
.experience-copy .experience-role { margin-top: 5px; font-size: 12px; line-height: 1.7; color: #6b796f; }
.experience-copy > p:last-child { margin-top: 12px; font-size: 15px; line-height: 1.8; color: #626f66; }
.experience-more { margin-left: 153px; font-size: 14px; line-height: 1.8; color: #506757; }
.experience-more a { text-decoration: underline; text-decoration-color: #b5c3b9; text-underline-offset: 4px; }
.experience-more a:hover { color: #303e35; text-decoration-color: currentColor; }
.experience-more span { display: inline-block; margin-left: 4px; }
.about-panel .contact-links { justify-content: flex-start; margin-top: 30px; margin-left: -6px; }
.about-resources { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.about-resource { display: flex; align-items: center; min-width: 0; background: #fff; border-radius: 21px; transition: box-shadow .2s, transform .2s; }
.about-resource:hover { box-shadow: 0 9px 25px #29382e0c; transform: translateY(-2px); }
.resource-main { display: flex; flex: 1; min-width: 0; flex-direction: column; align-items: stretch; gap: 8px; padding: 21px 23px; }
.resource-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 17px; font-weight: 700; }
.resource-title > span { color: #829287; font-size: 16px; font-weight: 400; }
.resource-description { color: #78857c; font-size: 12px; line-height: 1.5; }
.resource-download { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-right: 16px; flex-shrink: 0; border-radius: 50%; background: #f3f5f3; color: #53685b; }
.resource-download:hover { background: #e8eee9; }
.resource-download svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.coursework-page main { padding: 58px 0 46px; }
.coursework-intro h1 { margin-top: 11px; font-size: 46px; line-height: 1.2; letter-spacing: -1.2px; }
.coursework-school { font-size: 20px; font-weight: 700; line-height: 1.5; color: #405649; }
.coursework-intro > p:last-child { margin-top: 13px; font-size: 16px; line-height: 1.8; color: #6b776f; }
.coursework-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 27px 0 20px; }
.course-filters { display: flex; gap: 25px; }
.course-filters button { border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none; padding: 10px 0; color: #657269; font-size: 14px; }
.course-filters button[aria-pressed="true"] { border-bottom-color: #829b8b; color: #39513f; font-weight: 700; }
.course-count { font-size: 12px; line-height: 1.5; color: #67756c; white-space: nowrap; }
.course-terms { padding: 0 30px; border-radius: 26px; background: #fff; }
.course-term { display: grid; grid-template-columns: 138px minmax(0, 1fr); gap: 26px; min-width: 0; padding: 23px 0; }
.course-term:not([hidden]) ~ .course-term:not([hidden]) { border-top: 1px solid #dfe6e1; }
.term-heading { padding-top: 14px; }
.term-heading h2 { font-size: 18px; line-height: 1.5; letter-spacing: -.2px; }
.term-status { display: block; margin-top: 7px; font-size: 12px; line-height: 1.6; color: #526f5b; }
.course-list { min-width: 0; list-style: none; padding: 0; margin: 0; }
.course-list li { display: grid; grid-template-columns: 126px minmax(0, 1fr); align-items: baseline; gap: 18px; padding: 14px 0; }
.course-list li + li { border-top: 1px solid #edf0ed; }
.course-code { font-size: 13px; font-weight: 700; line-height: 1.7; color: #5c7163; white-space: nowrap; }
.course-list h3 { min-width: 0; margin: 0; font-size: 16px; font-weight: 400; line-height: 1.65; color: #35493c; }
.course-note { display: inline-block; margin-left: 7px; padding: 2px 7px; border-radius: 6px; background: #edf2ee; color: #526a59; font-size: 11px; line-height: 1.5; vertical-align: middle; }
.coursework-back { display: inline-block; margin-top: 32px; padding-block: 10px; font-size: 13px; color: #657a6c; }
.coursework-back:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 700px) {
  .navigation { gap: 18px; }
  .navigation a { font-size: 13px; }
  .coursework-page main { padding-top: 54px; }
  .coursework-intro h1 { font-size: 38px; }
  .coursework-school { font-size: 18px; }
  .coursework-intro > p:last-child { font-size: 15px; }
  .coursework-toolbar { flex-wrap: wrap; gap: 15px; margin: 27px 0 22px; }
  .course-filters { gap: 23px; }
  .course-count { width: 100%; font-size: 12px; }
  .course-terms { padding: 0 24px; border-radius: 23px; }
  .course-term { grid-template-columns: 1fr; gap: 10px; padding: 22px 0; }
  .term-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; padding: 0 0 3px; }
  .term-status { margin: 0; }
  .course-list li { grid-template-columns: 126px minmax(0, 1fr); gap: 16px; }
}
@media (max-width: 480px) {
  .about-resources { grid-template-columns: 1fr; gap: 13px; }
  .resource-main { padding: 19px 22px; }
  .course-terms { padding: 0 21px; }
  .course-list li { grid-template-columns: 1fr; gap: 4px; padding: 13px 0; }
}
@media (prefers-reduced-motion: reduce) { .about-resource:hover { transform: none; } }
.viewer-open { position: fixed; width: 100%; overflow: hidden; }
.project-viewer { width: min(740px, calc(100% - 56px)); max-width: none; max-height: calc(100svh - 64px); margin: auto; padding: 0; border: 0; border-radius: 28px; color: #303332; background: #fff; box-shadow: 0 25px 100px #10191035; overflow: auto; overscroll-behavior: contain; }
.project-viewer::backdrop { background: #18221cc7; backdrop-filter: blur(8px); }
.project-viewer-header { position: sticky; top: 0; z-index: 1; padding: 28px 32px 20px; background: #fff; }
.project-viewer-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.project-viewer-header h2 { font-size: 28px; line-height: 1.3; letter-spacing: -.7px; }
.project-viewer-content { padding: 0 36px 32px; }
.project-viewer-meta { font-size: 12px; line-height: 1.6; color: #7a827c; }
#project-viewer-intro { margin-top: 16px; font-size: 18px; line-height: 1.8; color: #58665d; }
.project-viewer-sections { display: grid; gap: 24px; border-top: 1px solid #e7ece8; margin-top: 27px; padding-top: 27px; }
.project-viewer-sections h3 { font-size: 16px; line-height: 1.5; margin-bottom: 8px; }
.project-viewer-sections p { font-size: 15px; line-height: 1.85; color: #68736b; }
.project-viewer-sections p + p, .hope-details p + p { margin-top: 12px; }
.hope-details { grid-template-columns: 1fr; }
.system-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; padding: 20px; margin: 16px 0 18px; border-radius: 18px; background: #f2f5f3; }
.system-flow li { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.system-flow li > span { font-size: 10px; color: #8a968e; letter-spacing: .8px; }
.system-flow strong { font-size: 14px; font-weight: 700; color: #3f5447; }
.system-flow small { font-size: 11px; line-height: 1.6; color: #768379; }
.policy-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 18px 0; padding: 18px 0; border-block: 1px solid #e7ece8; }
.policy-facts dt { font-size: 11px; color: #7b887f; }
.policy-facts dd { margin: 6px 0 0; font-size: 14px; font-weight: 700; color: #405448; }
.detail-reference { display: inline-block; padding-block: 10px 4px; font-size: 12px; color: #4e6757; text-decoration: underline; text-decoration-color: #c7d3cb; text-underline-offset: 4px; }
.detail-reference:hover { text-decoration-color: #4e6757; }
.project-viewer-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 30px; padding-top: 25px; border-top: 1px solid #e7ece8; }
.project-viewer[open] { animation: project-appear .22s ease-out; }
.project-title-link { display: inline-flex; align-items: center; gap: 16px; }
.project-title-link > span { color: #8a978e; font-size: 20px; font-weight: 400; }
.project-title-link:hover > span { color: #405b49; }
.case-entry { display: block; background: #f3f5f3; border-radius: 19px; overflow: hidden; }
.case-entry > img { display: block; width: 100%; height: 270px; object-fit: cover; transition: transform .3s; }
#drone-tracking .case-entry > img { object-position: 52% 68%; }
@media (hover: hover) { .case-entry:hover > img { transform: scale(1.025); } }
.project-group > h2 { margin: 0 0 25px; }
.project-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.project-pair > .project-card { display: flex; flex-direction: column; min-width: 0; padding: 0; background: transparent; border-radius: 0; box-shadow: none; transform: none; }
.project-pair .project-heading { margin-top: 21px; }
.project-pair .project-heading h3 { font-size: 23px; font-weight: 700; line-height: 1.3; letter-spacing: -.5px; }
.project-pair .project-title-link { display: flex; justify-content: space-between; gap: 10px; }
.project-pair .project-title-link > span { flex-shrink: 0; }
.project-pair .project-byline { margin-top: 10px; }
.project-pair .project-description { margin-top: 13px; font-size: 14px; }
.project-pair .case-entry > img { height: 260px; }
@media (max-width: 760px) {
  .project-group > h2 { margin-bottom: 20px; }
  .project-pair { grid-template-columns: 1fr; gap: 24px; }
  .project-pair .case-entry > img { height: 230px; }
}
.drone-case { grid-template-columns: 1fr; }
.is-case-study { width: min(860px, calc(100% - 56px)); }
.is-case-study .project-viewer-sections { border-top: 0; padding-top: 0; margin-top: 5px; }
.is-case-study #project-viewer-intro { margin-bottom: 25px; }
.case-section { margin-top: 28px; }
.case-section > h3 { margin-bottom: 14px; }
.demo-stage { aspect-ratio: 16 / 9; background: #eef1ee; border-radius: 18px; overflow: hidden; }
.demo-stage iframe, .demo-stage img { display: block; width: 100%; height: 100%; border: 0; object-fit: cover; }
.case-player[data-demo-group="flight"] .demo-stage img { object-position: 50% 68%; }
.demo-poster { display: block; position: relative; height: 100%; }
.demo-poster > span { position: absolute; inset: auto 18px 18px; display: flex; justify-content: center; align-items: center; gap: 9px; width: fit-content; padding: 10px 15px; border-radius: 24px; background: #25382fe6; color: #fff; font-size: 13px; }
.demo-poster svg { width: 15px; height: 15px; fill: currentColor; }
.demo-caption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; color: #6c7a70; font-size: 12px; line-height: 1.6; }
.demo-caption > a { font-size: 11px; text-decoration: underline; text-underline-offset: 4px; }
.demo-playlist { display: flex; flex-wrap: wrap; gap: 4px 17px; margin-top: 12px; padding-bottom: 13px; border-bottom: 1px solid #e7ece8; }
.demo-playlist a { padding: 8px 0; font-size: 12px; color: #7d887f; border-bottom: 1px solid transparent; }
.demo-playlist a[aria-current] { color: #36533f; border-bottom-color: #789080; font-weight: 700; }
.case-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.case-steps li { display: grid; grid-template-columns: 75px 1fr; gap: 18px; font-size: 14px; line-height: 1.8; color: #68736b; }
.case-steps strong { color: #425d4a; font-weight: 700; }
.learn-recovery-examples { margin-top: 18px; }
.signal-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 17px; border-radius: 16px; background: #f2f5f2; font-size: 12px; color: #4d6554; }
.signal-flow b { color: #a0ada3; font-weight: 400; }
.technical-line { font-size: 11px !important; margin-top: 12px; overflow-wrap: anywhere; }
.technical-line code { font-size: 10px; }
.case-disclosure { border-top: 1px solid #e7ece8; padding-top: 19px; margin-top: 25px; }
.case-disclosure > summary, .workflow-branch > summary, .training-record > summary { cursor: pointer; font-size: 14px; font-weight: 700; line-height: 1.6; color: #465c4c; }
.case-disclosure > p, .workflow-branch > p { margin-top: 12px; }
.workflow-map { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 20px; background: #f2f5f2; border-radius: 16px; margin-top: 18px; font-size: 12px; line-height: 1.7; color: #425d4b; }
.workflow-map span { padding: 6px 9px; background: #fff; border-radius: 7px; }
.workflow-map b { color: #849b8c; font-weight: 400; }
.workflow-branches { display: grid; gap: 17px; margin-top: 20px; }
.workflow-branch > summary { font-size: 13px; }
.workflow-branch > p { font-size: 13px; }
.training-record { padding: 14px 0; border-bottom: 1px solid #e7ece8; }
.training-record summary { display: flex; justify-content: space-between; list-style: none; }
.training-record summary::-webkit-details-marker { display: none; }
.training-record[open] summary > span { transform: rotate(45deg); }
.training-record img { display: block; width: 100%; height: auto; margin-top: 16px; border-radius: 12px; }
@keyframes project-appear { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.media-viewer { width: min(1100px, calc(100% - 56px)); max-width: none; max-height: calc(100svh - 40px); padding: 0; border: 0; border-radius: 26px; color: #303332; background: #fff; box-shadow: 0 25px 100px #10191035; overflow: auto; overscroll-behavior: contain; }
.media-viewer::backdrop { background: #18221cd4; backdrop-filter: blur(8px); }
.viewer-shell { padding: 18px; }
.viewer-header { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 0 2px 14px 12px; }
.viewer-header h2 { font-size: 19px; line-height: 1.4; letter-spacing: -.3px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; flex-shrink: 0; border: 0; border-radius: 50%; background: #f1f3f1; transition: background .2s; }
.icon-button:hover { background: #e4e9e5; }
.icon-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.viewer-stage { display: flex; align-items: center; justify-content: center; height: min(62svh, 640px); min-height: 180px; border-radius: 16px; background: #f3f5f3; overflow: hidden; }
.viewer-stage img, .viewer-stage video { display: block; width: 100%; height: 100%; object-fit: contain; }
.viewer-stage video { background: #111612; }
.viewer-bottom { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 18px 12px 4px; }
.viewer-description { min-width: 0; }
#viewer-caption { font-size: 13px; line-height: 1.6; color: #59655c; }
.viewer-source { display: inline-block; margin-top: 7px; font-size: 11px; color: #6b766e; }
.viewer-source:hover { text-decoration: underline; text-underline-offset: 3px; }
.viewer-controls { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.viewer-count { font-size: 12px; color: #6b766e; font-variant-numeric: tabular-nums; white-space: nowrap; }
.viewer-status { font-size: 12px; line-height: 1.6; color: #68736b; margin: 12px 12px 2px; }
@media (max-width: 620px) {
  .site { width: calc(100% - 44px); }
  .site-header { padding-top: 25px; }
  .wordmark { font-size: 23px; }
  .navigation { gap: 18px; }
  .navigation a { font-size: 13px; padding-block: 8px; }
  .home-panel { padding: 68px 0 65px; }
  .portrait-frame { width: 136px; height: 136px; }
  .home-panel h1 { font-size: 39px; margin-top: 24px; }
  .affiliation { font-size: 16px; }
  .introduction { font-size: 16px; margin-top: 20px; }
  .contact-links { gap: 17px; margin-top: 20px; }
  .icon-solid, .icon-brand { font-size: 28px; }
  .work-section { width: 100%; margin-left: 0; transform: none; padding-top: 8px; padding-bottom: 43px; gap: 22px; scroll-margin-top: 20px; }
  .project-card, .project-group { padding: 24px 21px; border-radius: 25px; }
  .project-heading h2, .project-group > h2 { font-size: 23px; letter-spacing: -.5px; }
  .project-byline { flex-wrap: wrap; gap: 5px 15px; margin-top: 10px; font-size: 12px; }
  .project-byline > span:last-child { font-size: 10px; }
  .project-gallery { margin-top: 20px; gap: 15px; }
  .robotics-gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .project-gallery figure > a { border-radius: 13px; }
  .robotics-gallery img { height: 183px; }
  .hope-gallery img { height: 220px; aspect-ratio: auto; object-position: 58% center; }
  .drone-gallery { gap: 10px; }
  .drone-gallery img { height: 158px; }
  .mapping-gallery img { aspect-ratio: 512 / 291; }
  .project-gallery figcaption { font-size: 9px; margin-top: 7px; }
  .project-description { font-size: 14px; line-height: 1.8; margin-top: 19px; }
  .project-details { margin-top: 16px; }
  .project-actions { margin-top: 16px; flex-wrap: wrap; gap: 8px 16px; }
  .project-read-more { font-size: 12px; margin-left: auto; }
  .project-details summary { flex-wrap: wrap; gap: 12px; }
  .project-topics { font-size: 10px; gap: 12px; }
  .details-label { font-size: 12px; margin-left: auto; }
  .details-body { grid-template-columns: 1fr; gap: 19px; padding-top: 20px; }
  .details-body h3 { font-size: 14px; }
  .details-body p { font-size: 13px; }
  .source-link { font-size: 12px; }
  .media-hint { left: 9px; bottom: 9px; gap: 5px; padding: 7px 9px; font-size: 10px; }
  .media-hint svg { width: 12px; height: 12px; }
  .media-credit { font-size: 9px; margin-top: 18px; }
  footer { font-size: 10px; padding-bottom: 23px; gap: 16px; }
  .about-page main { padding: 65px 0; }
  .about-panel > h1 { font-size: 29px; }
  .about-copy p { font-size: 16px; }
  .about-copy .about-lead { font-size: 18px; }
  .about-experience { margin-top: 35px; }
  .about-experience h2 { font-size: 20px; }
  .experience-list > li { grid-template-columns: 1fr; gap: 10px; padding: 23px 0; }
  .experience-date { padding-top: 0; }
  .experience-more { margin-left: 0; }
  .project-viewer { width: calc(100% - 24px); max-height: calc(100svh - 24px); border-radius: 23px; }
  .project-viewer-header { padding: 20px 20px 16px; gap: 12px; }
  .project-viewer-heading-row { gap: 12px; }
  .project-viewer-header h2 { font-size: 23px; }
  .project-viewer-content { padding: 0 23px 26px; }
  #project-viewer-intro { font-size: 16px; }
  .project-viewer-sections { gap: 21px; margin-top: 23px; padding-top: 23px; }
  .project-viewer-sections h3 { font-size: 15px; }
  .project-viewer-sections p { font-size: 14px; }
  .system-flow { grid-template-columns: repeat(2, 1fr); gap: 19px 15px; padding: 18px; }
  .policy-facts { gap: 10px; }
  .policy-facts dd { font-size: 12px; }
  .project-viewer-footer { gap: 18px; margin-top: 25px; padding-top: 22px; }
  .case-entry { border-radius: 14px; }
  .case-entry > img, .is-case-study .case-entry > img { height: 150px; }
  .project-title-link { gap: 8px; }
  .project-title-link > span { font-size: 15px; }
  .is-case-study { width: calc(100% - 24px); }
  .case-steps li { grid-template-columns: 55px 1fr; gap: 12px; font-size: 13px; }
  .demo-stage { border-radius: 13px; }
  .demo-poster > span { inset: auto 10px 10px; font-size: 11px; padding: 8px 11px; }
  .demo-playlist { gap: 2px 14px; }
  .demo-playlist a { font-size: 11px; }
  .signal-flow { font-size: 10px; gap: 7px; padding: 14px; }
  .media-viewer { width: calc(100% - 24px); max-height: calc(100svh - 24px); border-radius: 23px; }
  .viewer-shell { padding: 12px; }
  .viewer-header { padding: 0 0 12px 6px; gap: 8px; }
  .viewer-header h2 { font-size: 16px; }
  .viewer-stage { height: 52svh; border-radius: 14px; }
  .viewer-stage.is-landscape { height: auto; min-height: 0; aspect-ratio: 16 / 10; }
  .viewer-bottom { flex-wrap: wrap; gap: 15px; padding: 16px 6px 4px; }
  .viewer-description { width: 100%; }
  #viewer-caption { font-size: 12px; }
  .viewer-controls { justify-content: center; width: 100%; }
  .viewer-status { margin: 10px 6px 2px; font-size: 11px; }
}
@media (max-width: 380px) {
  .navigation { gap: 12px; }
  .navigation a { font-size: 12px; }
}
@media (max-width: 350px) {
  .project-card, .project-group { padding: 22px 18px; }
  .project-heading h2, .project-group > h2 { font-size: 21px; }
  .robotics-gallery { grid-template-columns: 1fr; }
  .robotics-gallery img { height: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .portrait-ripples { display: none; }
  .navigation a > span { transform: none !important; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .project-card:hover, .project-group:hover, .project-card:hover .project-read-more span, .portrait-frame .portrait, .media-link:hover img, .case-entry:hover > img { transform: none !important; }
}

/* A quiet masthead aligned to the project grid. */
.site:has(> .float-nav) { padding-top: 69px; }
.site-header.float-nav {
  position: fixed; z-index: 10; top: 0; left: 0; right: 0;
  min-height: 69px; padding: env(safe-area-inset-top, 0px) max(40px, calc((100% - 1040px)/2)) 0;
  gap: 16px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,.98) 0%, rgba(255,255,255,.94) 65%, rgba(255,255,255,0));
}
.float-nav .wordmark { font-size: 24px; letter-spacing: -.055em; pointer-events: auto; }
.nav-controls { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 30px); pointer-events: auto; }
.nav-pill {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 2px;
  color: #4d5651; font-size: 15px; line-height: 1; cursor: pointer; white-space: nowrap;
}
.nav-pill:hover, .nav-explore[open] summary, .nav-pill[aria-current] { color: #19221d; }
.nav-controls a.nav-pill:hover { text-decoration: underline; text-underline-offset: 5px; }
.nav-explore summary::after { content: ''; width: 5px; height: 5px; margin: -3px 1px 0 2px;
  border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg); transition: transform .18s; }
.nav-explore[open] summary::after { transform: translate(0, 3px) rotate(225deg); }
.nav-primary .out-arrow { font-size: .85em; color: #6c7771; }
.nav-explore { position: relative; }
.nav-explore summary { list-style: none; }
.nav-explore summary::-webkit-details-marker { display: none; }
.nav-popover { position: absolute; right: 0; top: 100%; width: 166px;
  padding: 6px; background: #fff; border-radius: 16px; box-shadow: 0 0 0 1px #1111, 0 12px 36px #161c231c; }
.nav-popover a { display: block; padding: 9px 12px; border-radius: 10px; font-size: 14px; }
.nav-popover a:hover, .nav-popover a:focus-visible { background: #f1f3f5; }
.nav-popover a[aria-current] { font-weight: 700; }
.nav-popover .compact-course { display: none; }
#work, #profile { scroll-margin-top: 80px; }
@media(max-width: 620px) {
  .nav-controls .wide-course { display: none; }
  .nav-popover .compact-course { display: block; }
  .site-header.float-nav { padding-inline: 22px; }
}
