/* Independent archive composition. The earlier proposal has its own stylesheet. */
:root {
  --paper: #10251e;
  --ink: #e9eadf;
  --forest: #183c31;
  --forest-deep: #10251e;
  --mint: #d8e6c2;
  --muted: #b4beb1;
  --line: #a8bc9e30;
  --rail: 252px;
  --gutter: clamp(26px, 4vw, 64px);
  --sans: Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); color-scheme: dark; font: 16px/1.6 var(--sans); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: 4px; }
img, video { display: block; max-width: 100%; }
figure, h1, h2, h3, h4, p, dl, dd { margin: 0; }
h1, h2, h3, h4 { line-height: 1.18; font-weight: 500; text-wrap: balance; }
h1 { font-size: clamp(34px, 3.3vw, 50px); letter-spacing: -.045em; }
h2 { font-size: 26px; letter-spacing: -.025em; }
h3 { font-size: 19px; letter-spacing: -.015em; }
h4 { font-size: 18px; letter-spacing: -.015em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 5px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 16px; z-index: 200; padding: 12px 20px; background: var(--mint); color: var(--forest); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { position: fixed; inset: 0 auto 0 0; width: var(--rail); padding: 34px 26px 24px; z-index: 50; display: flex; flex-direction: column; background: var(--forest); color: #f1f1e7; overflow-y: auto; }
.site-header :focus-visible { outline-color: var(--mint); }
.brand { display: block; width: 133px; text-decoration: none; }
.brand img { width: 100%; height: auto; }
.header-institution { margin-top: 22px; font-size: 13px; line-height: 1.45; }
.header-institution span { display: block; color: #b9c9b7; font-size: 11px; margin-top: 4px; }
.header-navigation { flex: 1; display: flex; flex-direction: column; }
.main-nav { display: flex; flex-direction: column; margin-top: 45px; }
.main-nav > a { padding: 13px 11px; margin-inline: -11px; border-bottom: 1px solid #bad1bc30; font-size: 17px; line-height: 1.4; text-decoration: none; transition: background .16s ease, color .16s ease; }
.main-nav > a:first-child { border-top: 1px solid #bad1bc30; }
.main-nav > a:hover { background: #244b3e; }
.main-nav > a[aria-current="page"] { background: var(--mint); color: var(--forest-deep); border-color: transparent; }
.main-nav > .atlas-link { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; border: 1px solid #b8cdb290; padding: 12px 13px; }
.header-bottom { padding-top: 40px; margin-top: auto; font-size: 12px; }
.sidebar-email { text-decoration: none; border-bottom: 1px solid #bdcdb25c; padding-bottom: 3px; }
.sidebar-location { color: #b9c9b7; margin-top: 8px; font-size: 11px; }
.language-switch { display: flex; gap: 14px; margin-top: 24px; }
.language-switch a { padding: 4px 3px; color: #b9c9b7; font-size: 12px; text-decoration: none; }
.language-switch a[aria-current="page"] { color: #f1f1e7; box-shadow: 0 1px currentColor; }
.menu-toggle { display: none; }
.main-canvas { margin-left: 0; min-height: calc(100svh - 178px); min-width: 0; }
.content-page { padding: 46px var(--gutter) 64px; max-width: 1600px; margin-inline: auto; }
.page-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 50px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.page-heading > p { font-size: 14px; max-width: 410px; color: var(--muted); line-height: 1.55; }
.page-heading.page-cover {
  position: relative;
  isolation: isolate;
  min-height: clamp(230px, 26vw, 350px);
  padding: clamp(24px, 3vw, 42px);
  align-items: end;
  border: 0;
  overflow: hidden;
  background: var(--forest-deep);
  color: #f5f5eb;
}
.page-cover-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  z-index: -2;
}
.page-cover-partners .page-cover-image { object-position: 50% 55%; }
.page-cover-picture { position: absolute; inset: 0; z-index: -2; }
.page-cover-news .page-cover-image { object-position: 69% 43%; }
@media (max-width: 700px) {
  .page-cover-news .page-cover-image { object-position: 72% 42%; }
}
.page-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, #0b211cdb, #0b211cba 46%, #0b211cb3);
}
.page-cover-copy { max-width: 650px; }
.page-cover-copy > p { margin-top: 14px; font-size: 14px; line-height: 1.6; color: #ecf0e4; }
@media (max-width: 560px) {
  .page-heading.page-cover { min-height: 240px; padding: 24px; }
  .page-cover-copy > p { font-size: 13px; }
}
.page-footer { margin-left: 0; display: flex; justify-content: space-between; gap: 12px; padding: 23px var(--gutter); border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.page-footer a { text-decoration: none; }
.source-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 13px; text-decoration: none; border-bottom: 1px solid currentColor; padding-block: 4px; }
.source-link:hover { color: var(--mint); }
.note { color: var(--muted); font-size: 12px; margin-top: 20px; max-width: 700px; }
/* Entry: the fieldwork film is the main surface, rather than a text backdrop. */
.entry-film { position: relative; isolation: isolate; min-height: 560px; height: calc(100svh - 146px); max-height: 1100px; background: #304938; color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 25px 32px 34px; overflow: hidden; }
.hero-video-poster, .hero-background-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
.hero-background-video { opacity: 0; }
.has-video-frame .hero-background-video { opacity: 1; }
.entry-film::after { position: absolute; inset: 0; content: ""; z-index: -1; background: linear-gradient(180deg,#13241c55 0%,transparent 40%,#101f18aa 100%); }
.entry-topline { display: flex; justify-content: space-between; gap: 25px; font-size: 11px; letter-spacing: .025em; }
.entry-identification { display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.entry-identification h1 { font-size: clamp(34px, 4.3vw, 68px); line-height: 1.02; letter-spacing: -.045em; text-shadow: 0 2px 22px #17231d40; }
.entry-atlas { display: flex; align-items: center; gap: 48px; border-bottom: 1px solid #e4ecdfb0; padding: 12px 0; font-size: 14px; text-decoration: none; }
.entry-atlas span { font-size: 24px; }
.entry-intro { padding: 26px 32px; display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.entry-intro > p { max-width: 620px; font-size: 14px; }
.entry-intro > a { flex-shrink: 0; }
.entry-cloud { padding: 38px 32px 42px; border-top: 1px solid var(--line); }
.entry-cloud > header { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.entry-cloud > header p { font-size: 11px; color: var(--muted); margin-bottom: 6px; }
.entry-cloud > header h2 { font-size: 25px; }
/* Survey viewer retains its real RGB data and working controls. */
.cloud-figure { position: relative; height: clamp(390px, 58svh, 640px); background: #122a21; color: #f1f1e7; overflow: hidden; margin-block: 26px; }
.entry-cloud .cloud-figure { margin: 0; }
.cloud-figure > .hero-model { width: 100%; height: 100%; object-fit: contain; opacity: .85; padding: 40px 15px 80px; }
.cloud-figure[data-pc-ready="true"] > .hero-model { opacity: 0; visibility: hidden; }
.cloud-caption { position: absolute; top: 20px; left: 22px; z-index: 3; font-size: 12px; pointer-events: none; }
.cloud-caption strong { font-weight: 400; }
.cloud-caption span { display: block; font-size: 10px; color: #b6c7b4; margin-top: 2px; }
.cloud-figure .pc-stage { inset: 18px 0 85px; }
.cloud-figure .pc-toolbar { left: 22px; right: 22px; bottom: 20px; gap: 10px; }
.cloud-figure .pc-toolbar button { font-size: 11px; min-height: 42px; padding: 9px 12px; border-radius: 0; }
.cloud-figure .pc-toolbar button[aria-pressed="true"] { background: #cdddc2; color: #142c22; border-color: #cdddc2; }
.pc-colors { display: flex; gap: 5px; }
.cloud-figure .pc-adjustments { margin-left: auto; }
.cloud-figure .pc-hint { left: 22px; bottom: 72px; font-size: 10px; }
.cloud-figure figcaption { position: absolute; right: 22px; top: 22px; font-size: 10px; color: #b6c7b4; }
/* Laboratory tabs. All panels remain readable when JavaScript is unavailable. */
.lab-tabs { display: flex; flex-wrap: wrap; gap: 0 26px; border-bottom: 1px solid var(--line); margin-top: 18px; }
.lab-tabs a { display: block; padding: 17px 0; text-decoration: none; font-size: 14px; color: var(--muted); }
.lab-tabs a[aria-selected="true"] { color: var(--ink); box-shadow: inset 0 -3px var(--mint); }
.lab-panel { padding-top: 34px; scroll-margin-top: 30px; }
.lab-panel + .lab-panel { border-top: 1px solid var(--line); margin-top: 50px; }
.tabs-ready .lab-panel { margin-top: 0; border: 0; }
.lab-panel > h2 { margin-bottom: 24px; }
.about-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; }
.prose > p { margin-top: 18px; font-size: 15px; }
.prose h3 { margin-top: 32px; }
.prose h2 { font-size: 25px; }
.about-photo { align-self: start; }
.about-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 60% center; }
.inline-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; font-size: 13px; }
.methods-layout { display: grid; grid-template-columns: 1.7fr .8fr; gap: 40px; }
.method-row { border-bottom: 1px solid var(--line); padding-block: 20px; }
.method-row:first-child { padding-top: 0; }
.method-row > p { margin-top: 10px; color: var(--muted); font-size: 14px; }
.method-photo { width: 100%; max-width: 300px; align-self: start; justify-self: center; }
.method-photo img { width: 100%; height: auto; }
.method-photo figcaption { margin-top: 10px; color: var(--muted); font-size: 12px; }
.products-title {
  margin: clamp(48px, 6vw, 80px) 0 clamp(20px, 3vw, 32px);
  padding-top: clamp(20px, 3vw, 32px);
  border-top: 1px solid var(--line);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
  letter-spacing: -.035em;
}
.product-list > div { display: grid; grid-template-columns: 170px 1fr; gap: 25px; border-top: 1px solid var(--line); padding-block: 13px; font-size: 13px; }
.product-list dd { color: var(--muted); }
.team-member { display: grid; grid-template-columns: 1fr 1.2fr auto; gap: 20px; padding-block: 22px; border-top: 1px solid var(--line); align-items: start; }
.team-member h3 { font-size: 18px; }
.team-member p { font-size: 14px; }
.team-member .secondary-role { color: var(--muted); font-size: 12px; margin-top: 4px; }
.team-member .source-link { font-size: 11px; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-layout h3 { font-size: 13px; margin-bottom: 14px; color: var(--muted); }
.contact-email { display: inline-block; font-size: clamp(18px,2vw,26px); letter-spacing: -.025em; margin-bottom: 12px; }
.contact-layout p, .contact-layout address { font-size: 14px; font-style: normal; }
.contact-layout .source-link { margin-top: 18px; }
.contact-note { margin-top: 40px; max-width: 650px; padding-top: 24px; border-top: 1px solid var(--line); }
.contact-note p { margin-top: 12px; font-size: 14px; }
.entry-laboratory { padding-top: 46px; scroll-margin-top: 25px; }
.entry-laboratory > .page-heading h2 { font-size: clamp(34px, 3.3vw, 50px); letter-spacing: -.045em; }
.entry-laboratory .lab-panel > h3 { font-size: 26px; margin-bottom: 24px; }
.entry-laboratory .prose > h3 { font-size: 25px; margin-top: 0; }
.entry-laboratory .prose > h4 { font-size: 19px; margin-top: 32px; }
.entry-laboratory .method-row h4 { font-size: 19px; }
.entry-laboratory .team-member h4 { font-size: 18px; }
.contact-page .contact-layout { margin-top: 34px; }
.contact-page .contact-layout h2 { font-size: 13px; margin-bottom: 14px; color: var(--muted); }
.contact-page .contact-note h2 { font-size: 19px; }
@media (max-width: 800px) {
  .entry-laboratory { padding-top: 30px; scroll-margin-top: 100px; }
}
/* Projects are a selectable register, not repeated promotional cards. */
.project-workspace { display: grid; grid-template-columns: 230px minmax(0,1fr); margin-top: 34px; gap: 0 38px; }
.project-index { align-self: start; position: sticky; top: 26px; }
.project-index-group + .project-index-group { margin-top: 30px; }
.project-index-group h2 { font-size: 11px; color: var(--muted); letter-spacing: .02em; padding: 0 12px 12px; }
.project-index-group a { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding: 16px 12px; text-decoration: none; font-size: 20px; line-height: 1.3; }
.project-index-group a:hover { background: #203d2f; }
.project-index-group a[aria-selected="true"] { background: var(--mint); color: #142c22; border-color: transparent; }
.selection-mark { font-size: 17px; opacity: .4; }
[aria-selected="true"] .selection-mark { opacity: 1; }
.project-detail { border-left: 1px solid var(--line); padding-left: 38px; min-width: 0; }
.project-sheet { padding: 0 0 35px; scroll-margin-top: 26px; }
.project-sheet + .project-sheet { border-top: 1px solid var(--line); padding-top: 30px; }
.tabs-ready .project-sheet { border-top: 0; padding-top: 0; min-height: 480px; }
.project-role { color: var(--muted); font-size: 12px; margin-bottom: 22px; }
.project-sheet h2 { font-size: clamp(30px,3.2vw,47px); letter-spacing: -.045em; overflow-wrap: anywhere; }
.project-summary { max-width: 610px; font-size: 17px; line-height: 1.7; margin-top: 24px; }
.project-facts { margin-block: 36px; }
.project-facts:empty { margin: 0; }
.project-facts > div { border-top: 1px solid var(--line); display: grid; grid-template-columns: 140px minmax(0,1fr); gap: 15px; padding-block: 12px; font-size: 12px; }
.project-facts dt { color: var(--muted); }
.project-facts dd { overflow-wrap: anywhere; }
/* Bibliography: compact references grouped by publication year. */
.filter-tabs { display: flex; gap: 4px 22px; flex-wrap: wrap; }
.filter-tabs button { background: transparent; border: 0; border-bottom: 2px solid transparent; padding: 13px 0; color: var(--muted); font-size: 13px; min-height: 44px; }
.filter-tabs button[aria-pressed="true"] { border-bottom-color: currentColor; color: var(--ink); }
.publication-filters { margin-block: 18px 30px; }
.publication-year { display: grid; grid-template-columns: 100px minmax(0,1fr); gap: 30px; margin-bottom: 45px; }
.publication-year > h2 { padding-top: 15px; font-size: 28px; letter-spacing: -.04em; }
.bibliography-row { border-top: 1px solid var(--line); padding-block: 18px 24px; }
.publication-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 11px; color: var(--muted); margin-bottom: 10px; }
.bibliography-row h3 { max-width: 850px; font-size: 19px; line-height: 1.45; }
.bibliography-row h3 a { text-decoration: none; }
.bibliography-row h3 a:hover { text-decoration: underline; }
.bibliography-source, .bibliography-authors { font-size: 12px; color: var(--muted); margin-top: 8px; }
.bibliography-authors { font-size: 11px; }
.publication-actions { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 14px; }
.publication-actions a { font-size: 12px; }
.publication-detail { max-width: 880px; }
.publication-detail h1 { margin-top: 25px; font-size: clamp(28px,3vw,43px); line-height: 1.2; }
.publication-back { margin-bottom: 30px; }
.publication-lead { font-size: 18px; line-height: 1.6; margin-top: 25px; }
.publication-byline, .publication-citation { font-size: 12px; color: var(--muted); margin-top: 20px; }
.publication-detail-image { width: 100%; max-height: 450px; object-fit: cover; margin-top: 30px; }
.publication-body { margin-block: 30px; max-width: 740px; }
.publication-body p + p { margin-top: 18px; }
.publication-detail > .source-link:last-child { margin-top: 20px; }
/* Gallery: smaller photographs, original proportions, no visible photo copy. */
body[data-page="gallery"] { background: var(--forest-deep); color: #e9eadf; }
body[data-page="gallery"] .page-footer { color: #b4beb1; border-color: #a8bc9e30; }
.gallery-page { min-height: calc(100svh - 178px); }
.gallery-page .page-heading { border-color: #a8bc9e30; }
.gallery-collection { margin-top: clamp(24px,6svh,65px); }
.gallery-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 35px; }
.gallery-filters { gap: 6px 20px; }
.gallery-filters button { color: #b4beb1; font-size: 12px; }
.gallery-filters button[aria-pressed="true"] { color: #e8eddb; }
.rail-navigation { display: flex; align-items: center; gap: 8px; }
.gallery-count { color: #b4beb1; font-size: 11px; margin-right: 12px; }
.rail-arrow { display: grid; place-items: center; width: 44px; height: 44px; color: inherit; background: transparent; border: 1px solid #a8bc9e55; font-size: 20px; }
.rail-arrow:disabled { opacity: .3; cursor: default; }
.rail-arrow:not(:disabled):hover { background: #2c4939; }
.gallery-grid { --rail-height: clamp(220px,34svh,320px); display: flex; align-items: center; gap: 18px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #9eae8e55 transparent; padding: 10px 0 30px; cursor: grab; touch-action: pan-x pan-y; }
.gallery-grid.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.gallery-card { display: block; border: 0; background: #253b2f; color: inherit; padding: 0; flex: 0 0 auto; width: calc(var(--rail-height) * var(--image-ratio,1.5)); max-width: min(580px,85vw); height: var(--rail-height); scroll-snap-align: start; overflow: hidden; cursor: zoom-in; }
.gallery-thumb { display: block; width: 100%; height: 100%; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery-unavailable { display: grid; place-items: center; min-width: 140px; height: 100%; font-size: 12px; }
.gallery-dialog { width: min(1280px,calc(100vw - 48px)); max-width: none; height: calc(100svh - 40px); max-height: none; padding: 0; border: 1px solid #526749; background: #10241b; color: #ecf0e3; overflow: hidden; }
.gallery-dialog::backdrop { background: #05110dee; }
.gallery-dialog-inner { position: relative; display: flex; flex-direction: column; height: 100%; padding: 45px 24px 18px; }
.gallery-close { position: absolute; top: 7px; right: 12px; z-index: 5; width: 42px; height: 42px; border: 0; color: inherit; background: transparent; font-size: 29px; }
.gallery-full-image { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; }
.gallery-full-image > img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.gallery-prev, .gallery-next { position: absolute; top: calc(50% - 23px); width: 46px; height: 46px; border: 1px solid #cbd6bd77; background: #10241bd9; color: inherit; font-size: 22px; }
.gallery-prev { left: 0; }
.gallery-next { right: 0; }
.gallery-full-caption { padding: 12px 0; text-align: center; font-size: 11px; color: #b4beb1; }
.gallery-filmstrip { display: flex; gap: 7px; overflow-x: auto; padding: 5px 4px; scrollbar-width: thin; flex-shrink: 0; }
.gallery-strip-thumb { flex: 0 0 55px; width: 55px; height: 45px; padding: 2px; background: transparent; border: 1px solid transparent; opacity: .55; }
.gallery-strip-thumb[aria-current="true"] { border-color: #d5e4be; opacity: 1; }
.gallery-strip-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-modal-open { overflow: hidden; }
.gallery-image-error { font-size: 13px; }
/* Collaborations are a directory; commissioned clients have their own category. */
.partner-section { margin-top: 38px; }
.partner-section > h2, .services-section > h2 { font-size: 20px; margin-bottom: 20px; }
.partner-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 25px; }
.partner { display: flex; flex-direction: column; min-width: 0; align-self: start; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 15px; }
.partner-logo { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 100%; height: 105px; padding: 15px; overflow: hidden; background: #f7f6f1; }
.partner-logo-dark { background: #233f34; }
.partner-logo img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; min-width: 0; min-height: 0; object-fit: contain; }
.partner h3 { font-size: 13px; line-height: 1.5; margin-top: 12px; overflow-wrap: anywhere; }
.partner p { font-size: 11px; color: var(--muted); margin-top: 4px; }
.partner:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.services-section { padding-top: 35px; margin-top: 45px; border-top: 1px solid var(--line); scroll-margin-top: 25px; }
.services-section > p { color: var(--muted); font-size: 13px; margin-top: -5px; }
.client-list { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; margin-top: 25px; }
.client-list article { padding-block: 20px; border-top: 1px solid var(--line); }
.client-list p { color: var(--muted); font-size: 13px; margin: 14px 0; }
.draft-preview-banner { position: sticky; top: 0; padding: 10px; margin-left: 0; background: #e2d8af; color: #403a21; font-size: 12px; z-index: 60; }
@media (min-width: 1800px) { :root { --rail: 282px; } .site-header { padding-inline: 34px; } }
@media (max-width: 1100px) and (min-width: 801px) {
  :root { --rail: 218px; --gutter: 28px; }
  .site-header { padding-inline: 22px; }
  .main-nav > a { font-size: 15px; }
  .project-workspace { grid-template-columns: 185px minmax(0,1fr); column-gap: 22px; }
  .project-detail { padding-left: 22px; }
  .project-index-group a { font-size: 17px; }
  .about-layout { grid-template-columns: 1fr; }
  .about-photo img { aspect-ratio: 2/1; }
  .partner-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .team-member { grid-template-columns: 1fr 1.2fr; }
  .team-member .source-link { grid-column: 2; justify-self: start; }
  .project-facts > div { grid-template-columns: 1fr; gap: 3px; }
}
@media (max-width: 800px) {
  :root { --rail: 0px; --gutter: 23px; }
  html { scroll-padding-top: 100px; }
  .site-header { position: sticky; inset: 0 0 auto; width: 100%; min-height: 84px; padding: 12px 23px; display: grid; grid-template-columns: 84px minmax(0,1fr) auto; align-items: center; gap: 18px; overflow: visible; }
  .brand { width: 84px; }
  .header-institution { margin: 0; font-size: 11px; }
  .header-institution span { font-size: 9px; }
  .menu-toggle:not([hidden]) { display: flex; gap: 12px; align-items: center; min-height: 44px; padding: 0 0 0 8px; border: 0; background: transparent; color: inherit; font-size: 11px; }
  .menu-symbol { font-size: 25px; font-weight: 300; }
  .header-navigation { grid-column: 1/-1; }
  .js .header-navigation { position: absolute; inset: 100% 0 auto; max-height: calc(100svh - 84px); overflow-y: auto; background: var(--forest); padding: 0 34px 22px; border-top: 1px solid #bad1bc30; box-shadow: 0 25px 30px #0c211a33; }
  .main-nav { margin-top: 12px; }
  .main-nav > a { padding-block: 13px; font-size: 17px; }
  .main-nav > .atlas-link { margin-top: 16px; }
  .header-bottom { padding-top: 25px; }
  .language-switch { margin-top: 13px; }
  .content-page { padding-top: 30px; padding-bottom: 45px; }
  .page-heading { padding-bottom: 23px; gap: 13px; }
  .page-heading > p { max-width: 450px; font-size: 12px; }
  .main-canvas { min-height: calc(100svh - 158px); }
  .page-footer { padding-block: 20px; font-size: 10px; }
  .entry-film { min-height: 430px; height: calc(85svh - 84px); padding: 21px 23px 27px; }
  .entry-topline { font-size: 10px; }
  .entry-identification h1 { font-size: clamp(34px,7vw,54px); }
  .entry-identification { gap: 20px; }
  .entry-atlas { font-size: 12px; gap: 24px; }
  .entry-intro { padding: 23px; align-items: start; }
  .entry-intro p { font-size: 13px; }
  .entry-cloud { padding: 26px 23px 30px; }
  .entry-cloud > header h2 { font-size: 23px; }
  .entry-cloud > header > a { font-size: 11px; }
  .cloud-figure { height: 430px; margin-block: 22px; }
  .cloud-caption { top: 17px; left: 17px; }
  .cloud-figure figcaption { top: 20px; right: 15px; font-size: 9px; }
  .cloud-figure .pc-toolbar { left: 15px; right: 15px; bottom: 16px; gap: 7px; }
  .cloud-figure .pc-toolbar button { font-size: 10px; padding-inline: 10px; }
  .cloud-figure .pc-stage { inset: 20px 0 112px; }
  .cloud-figure .pc-hint { left: 15px; bottom: 110px; font-size: 9px; }
  .cloud-figure .pc-adjustments { width: 100%; margin: 0; }
  .lab-tabs { gap: 0 24px; margin-top: 10px; }
  .lab-tabs a { font-size: 13px; padding-block: 16px; }
  .lab-panel { padding-top: 27px; scroll-margin-top: 100px; }
  .about-layout { gap: 28px; }
  .prose p { font-size: 14px; }
  .about-photo img { aspect-ratio: 3/4; }
  .methods-layout { grid-template-columns: 1.5fr .8fr; gap: 25px; }
  .project-workspace { grid-template-columns: 1fr; margin-top: 24px; gap: 28px; }
  .project-index { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .project-index-group + .project-index-group { margin-top: 0; }
  .project-index-group h2 { font-size: 10px; padding-left: 10px; }
  .project-index-group a { padding: 12px 10px; font-size: 17px; }
  .project-detail { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 26px; }
  .project-role { margin-bottom: 13px; font-size: 11px; }
  .project-summary { font-size: 15px; margin-top: 20px; }
  .project-sheet { scroll-margin-top: 110px; }
  .tabs-ready .project-sheet { min-height: 250px; }
  .project-facts { margin-block: 26px; }
  .project-facts > div { grid-template-columns: 140px minmax(0,1fr); }
  .publication-year { grid-template-columns: 65px minmax(0,1fr); gap: 20px; }
  .bibliography-row h3 { font-size: 17px; }
  .gallery-page { min-height: calc(100svh - 158px); }
  .gallery-collection { margin-top: 25px; }
  .gallery-toolbar { gap: 12px; margin-bottom: 16px; }
  .gallery-filters { gap: 2px 18px; }
  .gallery-grid { --rail-height: clamp(210px,34svh,290px); gap: 12px; }
  .rail-navigation { margin-left: auto; }
  .gallery-dialog { width: 100vw; height: 100svh; margin: 0; border: 0; }
  .gallery-dialog-inner { padding: 55px 12px 18px; }
  .gallery-prev, .gallery-next { width: 42px; height: 42px; }
  .partner-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
  .partner h3 { font-size: 12px; }
}
@media (max-width: 560px) {
  .site-header { grid-template-columns: 77px minmax(0,1fr) auto; gap: 14px; padding-inline: 18px; }
  .brand { width: 77px; }
  .header-institution { font-size: 10px; }
  .header-institution span { font-size: 8px; }
  .menu-toggle > span:first-child { display: none; }
  .menu-toggle { min-width: 40px; justify-content: end; }
  .entry-film { min-height: 390px; }
  .entry-topline span:last-child { max-width: 130px; text-align: right; }
  .entry-identification { flex-wrap: wrap; gap: 24px; }
  .entry-identification h1 { width: 100%; font-size: 39px; }
  .entry-atlas { min-width: 140px; }
  .entry-intro { flex-direction: column; gap: 16px; }
  .entry-cloud > header { flex-wrap: wrap; gap: 12px; }
  .cloud-caption span { font-size: 9px; }
  .cloud-figure figcaption { top: 49px; left: 17px; right: auto; }
  .about-layout, .methods-layout, .contact-layout { grid-template-columns: 1fr; }
  .about-photo img { aspect-ratio: 4/3; }
  .method-photo { max-width: 260px; }
  .product-list > div { grid-template-columns: 110px 1fr; gap: 15px; font-size: 12px; }
  .team-member { grid-template-columns: 1fr; gap: 8px; padding-block: 21px; }
  .team-member .source-link { justify-self: start; margin-top: 4px; }
  .contact-layout { gap: 28px; }
  .lab-tabs { column-gap: 22px; }
  .lab-tabs a { font-size: 12px; }
  .project-index { column-gap: 12px; }
  .project-index-group h2 { font-size: 9px; padding-inline: 8px; }
  .project-index-group a { font-size: 15px; padding-inline: 8px; }
  .project-facts > div { grid-template-columns: 1fr; gap: 4px; }
  .publication-year { grid-template-columns: 1fr; gap: 15px; }
  .publication-year > h2 { font-size: 25px; }
  .publication-detail h1 { font-size: 29px; }
  .publication-lead { font-size: 16px; }
  .filter-tabs { column-gap: 18px; }
  .publication-filters button { font-size: 12px; }
  .partner-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 15px; }
  .partner-logo { height: 92px; padding: 13px; }
  .client-list { grid-template-columns: 1fr; gap: 5px; }
  .gallery-toolbar { display: block; }
  .rail-navigation { justify-content: end; margin-top: 14px; }
  .gallery-grid { --rail-height: clamp(200px,32svh,270px); }
}
@media (max-height: 740px) and (min-width: 801px) {
  .site-header { padding-top: 22px; }
  .brand { width: 100px; }
  .header-institution { margin-top: 10px; }
  .main-nav { margin-top: 22px; }
  .main-nav > a { padding-block: 10px; }
  .main-nav > .atlas-link { margin-top: 16px; }
  .header-bottom { padding-top: 23px; }
  .language-switch { margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Shared top navigation: transparent over the entry film, green on interior pages. */
body[data-page="home"] .main-canvas,
body[data-page="home"] .page-footer,
body[data-page="home"] .draft-preview-banner { margin-left: 0; }
.top-header.site-header {
  position: absolute;
  inset: 0 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  width: 100%;
  min-height: 104px;
  padding: 22px var(--gutter);
  background: transparent;
  overflow: visible;
}
.top-header.interior-header { position: relative; inset: auto; background: var(--forest); }
.top-header .brand { width: 96px; flex: 0 0 96px; }
.top-header .header-institution { margin: 0; padding-left: 22px; border-left: 1px solid #ebeedb55; font-size: 13px; }
.top-header .header-institution span { color: #d7dfd4; font-size: 11px; }
.top-header .header-navigation { display: flex; flex-direction: row; align-items: center; justify-content: end; gap: 24px; margin-left: auto; }
.top-header .main-nav { flex-direction: row; align-items: center; gap: 22px; margin: 0; }
.top-header .main-nav > a { margin: 0; padding: 12px 0; border: 0; font-size: 14px; white-space: nowrap; }
.top-header .main-nav > a:hover { background: transparent; text-decoration: underline; }
.top-header .main-nav > a[aria-current="page"] { background: transparent; color: inherit; text-decoration: underline; text-underline-offset: 6px; }
.top-header .main-nav > .atlas-link { margin: 0 0 0 8px; padding: 15px 23px; background: #f2f3e8; color: #193d32; }
.top-header .main-nav > .atlas-link:hover { background: #dce7cc; text-decoration: none; }
.top-header .header-bottom { margin: 0; padding: 0; }
.top-header .language-switch { margin: 0; gap: 12px; }
.top-header .language-switch a { color: #e0e6dc; }
.top-header .language-switch a[aria-current="page"] { color: #fff; }
body[data-page="home"] .entry-film { min-height: 780px; height: 100svh; max-height: none; justify-content: center; padding: 160px var(--gutter) 85px; }
body[data-page="home"] .entry-film::after { background: linear-gradient(180deg,#0a2924b8 0%,#0b231d42 30%,#0b211c66 62%,#0c211ce8 100%); }
.home-hero-copy { max-width: 1300px; }
.home-institution { font-size: 15px; }
.home-hero-copy h1 { font-size: clamp(108px,15vw,228px); font-weight: 600; line-height: .96; letter-spacing: -.065em; margin: 34px 0 37px; text-wrap: nowrap; }
.home-lab-name { font-size: clamp(25px,2.4vw,40px); line-height: 1.3; letter-spacing: -.04em; }
.home-description { max-width: 610px; font-size: 16px; line-height: 1.7; margin-top: 22px; }
.home-hero-links { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 34px; }
.home-hero-links a { display: inline-flex; min-height: 56px; padding: 15px 28px; align-items: center; justify-content: center; text-decoration: none; font-size: 14px; }
.home-lab-link { background: #f2f3e8; color: #193d32; }
.home-atlas-link { border: 1px solid #f0f3e78a; color: #f2f3e8; }
.home-lab-link:hover { background: #dce7cc; }
.home-atlas-link:hover { background: #f0f3e71a; }
.home-video-credit { position: absolute; left: var(--gutter); bottom: 23px; font-size: 11px; }
body[data-page="home"] .entry-cloud { padding-inline: var(--gutter); }
@media (max-width: 1200px) {
  .top-header.site-header { min-height: 98px; gap: 20px; padding-block: 18px; }
  .top-header .menu-toggle:not([hidden]) { display: flex; align-items: center; gap: 14px; min-width: 44px; min-height: 44px; margin-left: auto; padding: 8px; border: 0; background: transparent; color: inherit; font-size: 12px; }
  .top-header .menu-symbol { font-size: 25px; }
  .top-header .header-navigation,
  .js .top-header .header-navigation { position: absolute; inset: 100% 0 auto; flex-direction: column; align-items: stretch; justify-content: start; gap: 24px; margin: 0; padding: 15px var(--gutter) 26px; background: var(--forest); max-height: calc(100svh - 98px); overflow-y: auto; border-top: 1px solid #c6d6b630; box-shadow: 0 25px 30px #0c211a33; }
  .top-header .main-nav { flex-direction: column; align-items: stretch; gap: 0; }
  .top-header .main-nav > a { padding: 13px 0; border-bottom: 1px solid #c6d6b630; font-size: 16px; }
  .top-header .main-nav > .atlas-link { display: inline-flex; justify-content: start; align-self: start; margin: 17px 0 0; padding: 13px 24px; border: 0; }
  .top-header .language-switch a { min-width: 40px; min-height: 40px; text-align: center; padding: 10px; }
}
@media (max-width: 800px) {
  .top-header.site-header { min-height: 86px; gap: 18px; padding: 13px var(--gutter); }
  .top-header .brand { width: 83px; flex-basis: 83px; }
  .top-header .header-institution { padding-left: 18px; font-size: 11px; }
  .top-header .header-institution span { font-size: 9px; }
  .top-header .header-navigation,
  .js .top-header .header-navigation { max-height: calc(100svh - 86px); }
  body[data-page="home"] .entry-film { min-height: 650px; padding-top: 145px; padding-bottom: 80px; }
  .home-hero-copy h1 { font-size: clamp(88px,17vw,138px); margin-block: 28px; }
  .home-description { font-size: 14px; max-width: 540px; }
  .home-institution { font-size: 12px; }
  .home-hero-links { margin-top: 27px; }
  .home-hero-links a { min-height: 50px; padding: 13px 23px; font-size: 13px; }
}
@media (max-width: 560px) {
  .top-header.site-header { gap: 13px; }
  .top-header .brand { width: 72px; flex-basis: 72px; }
  .top-header .header-institution { padding-left: 13px; font-size: 10px; }
  .top-header .header-institution span { font-size: 8px; }
  .top-header .menu-toggle { padding-right: 0; }
  .home-hero-copy h1 { font-size: clamp(73px,20vw,108px); }
  .home-lab-name { font-size: 25px; }
  .home-description { font-size: 13px; }
  .home-hero-links { gap: 12px; }
  .home-hero-links a { padding-inline: 21px; }
}

/* Orthophoto with a locally revealed elevation model. No JavaScript: static ortho. */
.about-photo-terrain { width: min(100%, 292.92px); justify-self: center; }
.terrain-compare { --terrain-x: 50%; --terrain-y: 50%; --terrain-radius: 70px; position: relative; width: 100%; aspect-ratio: 272 / 390; overflow: hidden; isolation: isolate; }
.about-photo-terrain .terrain-ortho { display: block; width: 100%; height: 100%; aspect-ratio: auto; object-fit: fill; object-position: center; user-select: none; }
.about-photo-terrain .terrain-dem { display: block; opacity: 0; position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: fill; pointer-events: none; user-select: none; }
.terrain-compare.is-ready { cursor: crosshair; touch-action: pinch-zoom; }
.terrain-compare.is-ready .terrain-dem { display: block; opacity: 0; mask-image: radial-gradient(circle at var(--terrain-x) var(--terrain-y), #000 0, #000 calc(var(--terrain-radius) - 10px), transparent var(--terrain-radius)); -webkit-mask-image: radial-gradient(circle at var(--terrain-x) var(--terrain-y), #000 0, #000 calc(var(--terrain-radius) - 10px), transparent var(--terrain-radius)); transition: opacity 140ms ease; }
.terrain-lens { position: absolute; left: var(--terrain-x); top: var(--terrain-y); width: calc(var(--terrain-radius) + var(--terrain-radius)); height: calc(var(--terrain-radius) + var(--terrain-radius)); transform: translate(-50%, -50%); border: 1px solid #e9eadf40; border-radius: 50%; box-shadow: 0 0 15px #10251e25; opacity: 0; pointer-events: none; transition: opacity 140ms ease; }
.terrain-compare.is-active .terrain-dem, .terrain-compare.is-active .terrain-lens { opacity: 1; }
.terrain-caption { display: grid; gap: 5px; margin-top: 12px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.terrain-caption > span:first-child { color: var(--ink); font-size: 11px; }
@media (max-width: 560px) { .about-photo-terrain { width: min(100%, 237.13px); } }
@media (prefers-reduced-motion: reduce) { .terrain-compare.is-ready .terrain-dem, .terrain-lens { transition: none; } }

/* Data products: select a preview; compare map layers in the selected panel. */
.product-catalog{display:grid;grid-template-columns:minmax(230px,1fr) minmax(0,1.2fr);gap:clamp(24px,6vw,85px);align-items:start}
.product-selector a{display:flex;align-items:baseline;gap:16px;padding:14px 12px;border-top:1px solid var(--line);color:inherit;text-decoration:none}
.product-selector a:last-child{border-bottom:1px solid var(--line)}
.product-selector a:hover,.product-selector a[aria-selected="true"]{background:#d8e6c216}
.product-selector a[aria-selected="true"]{box-shadow:inset 3px 0 var(--mint)}
.product-selector strong,.product-selector small{display:block}
.product-selector small,.product-number{color:var(--muted);font-size:12px}
.product-number{font-variant-numeric:tabular-nums}
.product-previews{width:min(100%,450px);justify-self:center}
.product-previews figure{margin:0}
.product-image,.product-image img{display:block;width:100%;height:auto}
.product-previews figcaption{display:flex;justify-content:space-between;gap:16px;color:var(--muted);font-size:12px;padding-top:10px}
.product-previews figcaption a{white-space:nowrap}
.product-compare-frame,.product-compare-controls{width:min(100%,450px);margin-inline:auto}
.product-compare-frame{position:relative;--split:50%;width:min(100%,380px)}
.product-compare-frame img{display:block;width:100%;height:auto}
.product-compare-layer{position:absolute;inset:0;clip-path:inset(0 calc(100% - var(--split)) 0 0)}
.product-compare-divider{position:absolute;left:var(--split);top:0;bottom:0;width:2px;background:white;box-shadow:0 0 3px #16251e;pointer-events:none}
.product-compare-frame.is-endpoint .product-compare-divider{display:none}
.product-compare-controls{display:none}
.product-comparison.is-ready .product-compare-controls{display:grid;grid-template-columns:auto minmax(36px,1fr) auto;gap:8px;align-items:center;margin-block:12px 6px}
.product-compare-controls input{width:100%;min-width:0;accent-color:var(--mint);cursor:ew-resize}
.product-compare-controls button{background:transparent;color:inherit;border:1px solid var(--line);min-height:44px;padding:4px 8px;font-size:12px}
.product-compare-controls button[aria-pressed="true"]{background:var(--mint);color:#10251e}
@media(max-width:700px){.product-catalog{grid-template-columns:1fr;gap:18px}.product-selector{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.product-selector a{padding:9px 7px;min-height:44px;gap:6px;align-items:center;font-size:13px}.product-selector small{display:none}}
.product-comparison.is-ready .product-compare-frame{cursor:ew-resize;touch-action:pan-y pinch-zoom;user-select:none}
.product-compare-frame img{pointer-events:none}

/* Selected public examples; external views start on request. */
.about-layout-temple { align-items: center; }
.about-layout-temple .about-temple { margin: 0; }
.about-layout-temple .about-temple img { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
.lab-panel > .products-title { border: 0; padding-top: 0; margin-top: 0; }
.product-previews .product-terrain { margin-inline: auto; }
.product-viewer { position: relative; aspect-ratio: 4 / 3; background: #101512; }
.product-viewer .product-image, .product-viewer iframe { width: 100%; height: 100%; }
.product-viewer .product-image[hidden] { display: none !important; }
.product-viewer .product-image img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; }
.product-viewer iframe { display: block; border: 0; }
.product-open-label { position: absolute; bottom: 12px; left: 12px; color: #fff; background: #101512; padding: 9px 12px; font-size: .875rem; }
.product-viewer a:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

/* Keep a stable stage while the selected 3D product loads. */
.product-viewer { overflow: hidden; background: radial-gradient(ellipse at 50% 48%, #244e3e, #0b1b17 77%); border: 1px solid var(--line); border-radius: 10px; }
.product-viewer iframe { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.product-viewer[data-viewer-state="ready"] iframe { opacity: 1; pointer-events: auto; }
.product-loader { display: none; position: absolute; top: 12px; left: 12px; padding: 6px 9px; border-radius: 6px; background: #10251ee8; color: var(--ink); font-size: 12px; pointer-events: none; }
.product-viewer[data-viewer-state="loading"] .product-loader { display: block; }
.product-viewer[data-viewer-state="loading"] .product-open-label { visibility: hidden; }

.product-previews:has([data-product-panel]:not([hidden]) [data-product-viewer]) { width: min(100%,570px); }

.product-catalog {
  grid-template-columns: minmax(235px, .85fr) minmax(0, 1.4fr);
  gap: clamp(20px, 4vw, 56px);
}
.product-selector { display: grid; gap: 6px; min-width: 0; }
.product-selector a, .product-selector a:last-child {
  margin: 0;
  border: 1px solid #a8bc9e4d;
  border-radius: 5px;
  padding: 13px 12px;
}
.product-selector a[aria-selected="true"] { border-color: #a8bc9e78; }
.product-selector strong { line-height: 1.25; }
.product-selector small { margin-top: 5px; font-size: .8125rem; }
.product-previews:has([data-product-panel]:not([hidden]) [data-product-viewer]) { width: 100%; }
.product-viewer { aspect-ratio: auto; height: clamp(300px, 38vw, 535px); }
.product-previews figcaption { font-size: .875rem; flex-wrap: wrap; gap: 5px 16px; }
.product-previews figcaption a { display: inline-flex; align-items: center; min-height: 40px; white-space: normal; }
.product-previews figcaption > span:first-child { align-content: center; }
.product-previews .terrain-caption { display: grid; }
.product-previews .terrain-caption > span:first-child { font-size: inherit; }
@media (max-width: 760px) {
  .product-catalog { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .product-selector { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .product-selector a, .product-selector a:last-child { padding: 8px; gap: 6px; min-height: 52px; font-size: .875rem; align-items: center; }
  .product-selector strong { overflow-wrap: anywhere; }
  .product-selector small { display: none; }
  .product-previews { width: 100%; }
  .product-viewer { height: clamp(320px, 58svh, 485px); }
  .product-terrain, .product-compare-frame { width: min(100%,350px); margin-inline: auto; }
  .product-previews .product-comparison figcaption { justify-content: center; }
}
.product-viewer[data-viewer-state="error"] .product-loader { display: block; }
