:root {
  --bg: #fbfaf6; --surface: #ffffff; --alt: #f2efe6; --ink: #18211d; --muted: #55605a; --line: #e2ddd0;
  --forest: #1f4d3a; --forest-2: #2d6a4f; --orange: #b8400c; --orange-bright: #f26a21;
  --sky-1: #e9f1ec; --sky-2: #f7f3e8; --ground-1: #cfdcc4; --ground-2: #a9c19a; --row: #5f7f55;
  --tree: #2f6b4b; --trunk: #6b4f36; --fruit: #e2543a; --panel: #304a5c; --arm: #e8e2d2; --wheel: #22302a;
  --radius: 16px; --shadow: 0 1px 2px rgba(24,33,29,.05), 0 8px 24px rgba(24,33,29,.06);
  --serif: "Source Serif 4", Georgia, serif; --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111714; --surface: #18201c; --alt: #151c18; --ink: #e9ede9; --muted: #a7b2ab; --line: #2b3630;
    --forest: #2f6e52; --forest-2: #8fd1ae; --orange: #ff9a5c;
    --sky-1: #1c2a24; --sky-2: #16201b; --ground-1: #22372b; --ground-2: #1b2c22; --row: #4d6b48;
    --tree: #3f8a62; --arm: #cfd6cf; --wheel: #0b0f0d; --shadow: none;
  }
}
:root[data-theme="dark"] { --bg: #111714; --surface: #18201c; --alt: #151c18; --ink: #e9ede9; --muted: #a7b2ab; --line: #2b3630; --forest: #2f6e52; --forest-2: #8fd1ae; --orange: #ff9a5c; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
h3 { font-size: 1.2rem; }
h4 { font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
p { margin: 0 0 1em; }
a { color: var(--orange); text-underline-offset: 3px; }
a:hover { color: var(--forest-2); }
:focus-visible { outline: 3px solid var(--orange-bright); outline-offset: 2px; border-radius: 4px; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--forest); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.mt { margin-top: 3rem; } .mt-s { margin-top: 1.5rem; }
.eyebrow { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--forest-2); margin-bottom: .75rem; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
ul.plain { list-style: none; padding: 0; margin: 0; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand .logo { width: 38px; height: 38px; flex: none; }
.brand strong { display: block; font-family: var(--serif); font-size: 1.2rem; line-height: 1; }
.brand small { display: block; font-size: .72rem; color: var(--muted); letter-spacing: .02em; }
#site-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
#site-nav a { display: block; padding: 8px 11px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .93rem; font-weight: 500; }
#site-nav a:hover { background: var(--alt); }
#site-nav a[aria-current="page"] { color: var(--forest-2); background: var(--alt); }
#site-nav .btn-small { color: #fff; background: var(--forest); margin-left: 6px; }
#site-nav .btn-small:hover { background: var(--forest-2); color: #fff; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; color: var(--ink); cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
@media (max-width: 1020px) {
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  #site-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  #site-nav.open { display: block; }
  #site-nav ul { flex-direction: column; align-items: stretch; }
  #site-nav a { padding: 12px; }
  #site-nav .btn-small { margin: 8px 0 0; text-align: center; }
}

/* buttons, chips, tags */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; background: var(--forest); color: #fff; text-decoration: none; font-weight: 600; border: 2px solid var(--forest); min-height: 44px; }
.btn:hover { background: var(--forest-2); border-color: var(--forest-2); color: #fff; }
.btn-ghost { background: transparent; color: var(--forest-2); }
.btn-ghost:hover { background: var(--alt); color: var(--forest-2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }
.tag { display: inline-block; font-size: .75rem; padding: 3px 10px; border-radius: 999px; background: var(--alt); color: var(--muted); margin: 0 4px 4px 0; border: 1px solid var(--line); }
.tag-award { background: #fff3e8; color: #8a3008; border-color: #f6d3b8; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .92rem; }

/* banner + hero */
.banner { background: var(--forest); color: #eef5f0; font-size: .92rem; padding: 10px 0; }
.banner a { color: #ffd2b5; font-weight: 600; margin-left: 6px; }
.banner .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--orange-bright); margin-right: 10px; vertical-align: middle; }
.hero { padding: clamp(40px, 7vw, 88px) 0 48px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.hero-media { margin: 0; }
.hero-media img, .hero-art { width: 100%; height: auto; border-radius: 24px; box-shadow: var(--shadow); }
@media (min-width: 1200px) { .hero-grid { grid-template-columns: 1fr 1.3fr; } }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

.hiring-banner { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 24px;
  background: var(--forest); color: #fff; text-decoration: none; font-size: .9rem; font-weight: 500; }
.hiring-banner:hover { background: var(--forest-2); color: #fff; }
.hiring-arrow { font-size: 1.1rem; }
@media (max-width: 640px) { .hiring-banner { text-align: center; font-size: .85rem; } }

.stats { border-block: 1px solid var(--line); background: var(--surface); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 24px 16px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat-v { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--forest-2); }
.stat-l { font-size: .85rem; color: var(--muted); }
@media (max-width: 640px) { .stats-grid { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* drone timelapse */
.drone-strip { position: relative; overflow: hidden; max-height: 260px; }
.drone-strip video { width: 100%; height: 260px; display: block; object-fit: cover; }
.drone-strip .caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px 16px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,.6)); color: rgba(255,255,255,.85); font-size: .82rem; text-align: center; letter-spacing: .04em; }

/* gallery */
.video-feature { max-width: 100%; }
.video-feature video { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); background: var(--surface); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.gallery-item { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; display: block; }
.gallery-item figcaption { padding: 10px 14px; font-size: .85rem; color: var(--muted); line-height: 1.35; }

/* sections and grids */
.section { padding: clamp(48px, 7vw, 80px) 0; }
.section.alt { background: var(--alt); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 1.25rem; }
.section-head h2 { margin: 0; }
.section-head a { font-weight: 600; text-decoration: none; }
.slogan-big { font-family: var(--serif); font-size: 1.25rem; font-style: italic; color: var(--muted); margin-bottom: 2rem; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.two-col.tight { gap: 24px; }
@media (max-width: 960px) { .grid-4 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .grid-2, .grid-3, .grid-4, .two-col { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.icon { display: inline-flex; width: 44px; height: 44px; border-radius: 12px; background: var(--alt); align-items: center; justify-content: center; margin-bottom: 14px; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--forest-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pillar p { color: var(--muted); margin: 0; }
.pillar-lg h2 { font-size: 1.4rem; }
.callout { background: var(--surface); border-left: 4px solid var(--orange-bright); border-radius: var(--radius); padding: 28px 32px; box-shadow: var(--shadow); }
.page-head { padding: clamp(40px, 6vw, 72px) 0 8px; }
.group-h { font-size: 1.3rem; margin: 0 0 1rem; }

/* projects */
.project img { border-radius: 10px; margin-bottom: 14px; aspect-ratio: 16/9; object-fit: cover; }
.status { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .5rem; }
.status-active span { color: #2e9e5b; } .status-planned span { color: var(--orange-bright); } .status-completed span { color: var(--muted); }
.facts { margin: 0 0 1rem; display: grid; gap: 8px; }
.facts div { display: grid; grid-template-columns: 100px 1fr; gap: 12px; font-size: .92rem; }
.facts dt { color: var(--muted); font-weight: 500; }
.facts dd { margin: 0; }
.outputs { font-size: .92rem; padding-left: 18px; }

/* people */
.avatar { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; margin-bottom: 14px; flex: none; }
.avatar-shift-top { object-position: center 20%; }
.avatar-initials, .avatar-plus { display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--forest), var(--forest-2)); color: #fff; font-family: var(--serif); font-size: 2.8rem; font-weight: 600; }
.avatar-plus { background: var(--alt); color: var(--forest-2); border: 2px dashed var(--line); }
.avatar-flip { position: relative; display: block; width: 160px; height: 160px; margin-bottom: 14px; }
.avatar-flip .avatar { position: absolute; inset: 0; margin: 0; animation: flip-fade 6s ease-in-out infinite; }
.avatar-flip .avatar:last-child { animation-delay: 3s; opacity: 0; }
@keyframes flip-fade { 0%,40% { opacity: 1; } 50%,90% { opacity: 0; } 100% { opacity: 1; } }
.person .avatar-flip { margin-left: auto; margin-right: auto; }
.network-growing { display: flex; flex-direction: column; align-items: center; justify-content: center; border-style: dashed; border-color: var(--forest-2); }
.grow-anim { position: relative; width: 120px; height: 120px; margin-bottom: 14px; }
.grow-anim .node { position: absolute; top: 50%; left: 50%; width: 14px; height: 14px; margin: -7px; background: var(--forest-2); border-radius: 50%; }
.grow-anim .ring { position: absolute; inset: 0; border: 2px solid var(--forest-2); border-radius: 50%; opacity: 0; animation: grow-ring 3s ease-out infinite; }
.grow-anim .ring:nth-child(2) { animation-delay: 1s; }
.grow-anim .ring:nth-child(3) { animation-delay: 2s; }
@keyframes grow-ring { 0% { transform: scale(.15); opacity: .5; } 100% { transform: scale(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .grow-anim .ring { animation: none; opacity: .15; transform: scale(1); } }
.person { text-align: center; }
.person .avatar, .person .avatar-initials, .person .avatar-plus { margin-left: auto; margin-right: auto; }
.person h3 { margin-bottom: .2rem; }
.person h3 a { color: inherit; }
.role { font-weight: 600; color: var(--forest-2); margin-bottom: .2rem; }
.person .muted { font-size: .9rem; }
.join-card { text-decoration: none; color: inherit; border-style: dashed; }
.join-card:not(.static):hover { border-color: var(--forest-2); }
.director { display: grid; grid-template-columns: 300px 1fr; gap: 32px; }
.director-id { text-align: center; }
.director .avatar { width: 180px; height: 180px; font-size: 3rem; margin-left: auto; margin-right: auto; }
.director-id .links { justify-content: center; }
.director-id .tags { justify-content: center; }
@media (max-width: 860px) { .director { grid-template-columns: 1fr; } }
.director-body ul { padding-left: 18px; font-size: .94rem; }
.links { display: flex; gap: 16px; flex-wrap: wrap; font-weight: 600; }
.links a { display: inline-flex; align-items: center; gap: 5px; }
.link-icon { width: 20px; height: 20px; fill: var(--forest-2); flex: none; display: block; }
.fine-print { margin-top: 2rem; font-size: .88rem; color: var(--muted); }

/* news */
.news-list { list-style: none; padding: 0; margin: 0; }
.news { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.news:first-child { border-top: 0; }
.news time { font-size: .85rem; font-weight: 600; color: var(--forest-2); padding-top: 2px; }
.news-title { font-weight: 600; margin-bottom: .25rem; }
.news p:last-child { margin: 0; color: var(--muted); font-size: .95rem; }

/* publications */
.pubs { list-style: none; padding: 0; margin: 0; }
.pub { padding: 16px 0; border-top: 1px solid var(--line); }
.pub:first-child { border-top: 0; }
.pub p { margin: 0 0 .2rem; }
.pub-title { font-weight: 600; font-size: 1.02rem; }
.pub-authors, .pub-venue { font-size: .93rem; color: var(--muted); }
.pub-authors strong { color: var(--ink); }
.pub-links { display: flex; gap: 8px; margin-top: .4rem !important; }
.pub-links a { font-size: .78rem; font-weight: 600; text-decoration: none; padding: 2px 10px; border: 1px solid var(--line); border-radius: 6px; }
.pub-links a:hover { border-color: var(--orange); }
.compact .pub-authors { display: none; }
.pub-tools { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 1rem; }
.search input { font: inherit; padding: 10px 16px; min-width: 300px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); min-height: 44px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-btn { font: inherit; font-size: .9rem; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; min-height: 40px; }
.chip-btn span { color: var(--muted); margin-left: 4px; }
.chip-btn[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.chip-btn[aria-pressed="true"] span { color: #cfe6d8; }
.scholar { margin-left: auto; font-weight: 600; text-decoration: none; }
.year { font-size: 1.6rem; color: var(--forest-2); margin: 2.2rem 0 .3rem; padding-bottom: .4rem; border-bottom: 2px solid var(--line); }
@media (max-width: 640px) { .search input { min-width: 0; width: 100%; } .search { width: 100%; } .scholar { margin-left: 0; } }

/* methods */
.methods { margin: 0; }
.methods div { padding: 12px 0; border-top: 1px solid var(--line); }
.methods dt { font-weight: 600; }
.methods dd { margin: 0; color: var(--muted); font-size: .95rem; }

/* footer */
.site-footer { background: #13201a; color: #c9d4cd; padding: 56px 0 24px; margin-top: 0; }
.site-footer a { color: #ffc29b; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.foot-name { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.15rem; color: #fff; }
.foot-name .logo { width: 30px; height: 30px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .92rem; margin-top: 8px; }
.foot-links a { display: inline-flex; align-items: center; gap: 5px; }
.foot-icon { width: 16px; height: 16px; fill: currentColor; flex: none; display: block; }
.slogan { font-family: var(--serif); font-style: italic; }
.osu-logo { width: 180px; margin-top: 16px; background: #fff; padding: 8px 12px; border-radius: 6px; }
.fine { margin-top: 32px; padding-top: 18px; border-top: 1px solid #2a3a32; font-size: .85rem; color: #8fa398; }
@media (max-width: 720px) { .foot { grid-template-columns: 1fr; } .wrap { padding: 0 16px; } }
