/* Research presentation follows the shared THP palette, typography and photo hero. */
.thp-frontend .research-explorer{padding:clamp(16px,3vw,40px);--research-tint:color-mix(in srgb,var(--accent) 6%,var(--research-surface));--research-shadow:0 12px 38px color-mix(in srgb,var(--text) 5%,transparent)}
.thp-frontend .research-explorer .research-intro{position:relative;isolation:isolate;overflow:hidden;border:0;border-radius:24px;padding:clamp(28px,4.5vw,64px);margin-bottom:32px;background:var(--hero-base);color:var(--hero-ink)}
.research-intro .research-hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 57%;z-index:-2}
.research-intro::before{content:"";position:absolute;inset:0;background:linear-gradient(100deg,var(--hero-base),color-mix(in srgb,var(--hero-base) calc(var(--hero-opacity)*100%),transparent));z-index:-1}
.research-hero-copy{max-width:760px}
.thp-frontend .research-explorer .research-intro h1{color:var(--hero-ink);font-size:clamp(34px,4.2vw,60px);line-height:1.08;max-width:680px;margin:14px 0 22px}
.research-hero-copy>.eyebrow{color:var(--hero-ink);font-size:.76rem;letter-spacing:.16em;font-weight:750;margin:0}
.research-hero-copy>p:not(.eyebrow){color:var(--hero-ink);font-size:clamp(1rem,1.3vw,1.12rem);line-height:1.7;max-width:680px;margin:0}
.thp-frontend .research-explorer .research-statline{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;max-width:850px;margin:32px 0 0;padding:24px 0 0;border-top:1px solid #ffffff4d;color:var(--hero-ink)}
.research-statline>div{display:flex;flex-direction:column-reverse;gap:4px}
.research-statline dt{font-size:.82rem;line-height:1.4;font-weight:500;color:inherit}
.research-statline dd{font-family:var(--heading-font,inherit);font-size:clamp(1.7rem,3vw,2.4rem);line-height:1.15;font-weight:750;margin:0;color:inherit}
.thp-frontend .research-explorer .research-project-tabs{gap:8px;border:0;padding:4px 2px 12px;margin-bottom:12px}
.thp-frontend .research-explorer .research-project-tabs a{border:1px solid var(--research-line);border-radius:14px;background:var(--research-surface);padding:13px 18px;font-size:.9rem;box-shadow:none;max-width:340px;white-space:normal;line-height:1.4}
.thp-frontend .research-explorer .research-project-tabs a[aria-selected=true]{background:var(--focus);color:var(--content-bg);border-color:var(--focus);box-shadow:none}
.thp-frontend .research-explorer .research-project-tabs a:hover{border-color:var(--focus)}
.research-project-panel{background:var(--research-surface);border:1px solid var(--research-line);border-radius:22px;padding:clamp(18px,3vw,36px);box-shadow:var(--research-shadow)}
.research-project-heading{padding-bottom:8px}
.thp-frontend .research-explorer .research-project-heading h2{font-size:clamp(25px,2.6vw,36px);line-height:1.2;margin:0 0 12px;max-width:900px}
.research-status{background:var(--research-tint);font-weight:650;padding:7px 12px;font-size:.78rem;line-height:1.4}
.thp-frontend .research-explorer .research-subtabs{gap:20px;padding:0 2px;margin:6px 0 28px}
.thp-frontend .research-explorer .research-subtabs a{border-radius:0;background:transparent;padding:13px 2px;font-size:.9rem}
.thp-frontend .research-explorer .research-subtabs a[aria-selected=true]{color:var(--focus);box-shadow:inset 0 -3px var(--focus);font-weight:800}
.research-overview-grid{grid-template-columns:minmax(0,1.65fr) minmax(250px,1fr);gap:clamp(24px,4vw,60px);align-items:start}
.research-prose{line-height:1.75}.research-prose h3{margin:0 0 12px;font-size:1.2rem}.research-prose p+h3{margin-top:26px}
.thp-frontend .research-explorer .research-project-facts{background:var(--focus);color:var(--content-bg);border:0;border-radius:18px;padding:26px}
.thp-frontend .research-explorer .research-project-facts h3{color:inherit;margin:0 0 22px;font-size:1.25rem}
.research-project-facts dl{margin:0 0 24px}.research-project-facts dt{color:inherit;font-size:.85rem}.research-project-facts dd{color:inherit;font-size:1.5rem;font-weight:750}
.thp-frontend .research-explorer .research-project-facts .button{background:var(--content-bg);border-color:var(--content-bg);color:var(--focus);width:100%;justify-content:center;border-radius:10px}
.research-method{border-radius:16px;background:var(--research-tint);border:1px solid var(--research-line);margin:18px 0;overflow:hidden}
.research-method summary{padding:20px 24px;font-weight:750}.research-method summary span{font-weight:500;font-size:.8rem}
.research-method-explanation{padding:4px 24px 24px;gap:28px}.research-method-explanation p{line-height:1.7;font-size:.92rem}.research-method-note{padding:0 24px 20px;margin:0}
.research-search{background:var(--research-tint);border:1px solid var(--research-line);padding:20px;border-radius:16px;margin:18px 0 24px}
.research-search>label{font-size:.95rem;margin-bottom:10px}.research-explorer .research-search input{background:var(--research-surface);border-radius:10px;min-height:48px}.research-explorer .research-search button{border-radius:10px;min-width:100px}
.thp-frontend .research-explorer .research-type-links a{border-radius:30px;font-size:.8rem;padding:8px 13px;border:1px solid var(--research-line);min-height:44px;background:var(--research-surface)}
.research-type-links a span{font-size:.76rem;font-weight:750}.thp-frontend .research-explorer .research-type-links a[aria-current]{background:var(--research-tint);border-color:var(--focus);border-width:1px}
.research-explorer-grid{grid-template-columns:220px minmax(0,1fr);gap:24px}
.research-filter-panel{background:var(--research-tint);border-radius:14px}.research-filter-panel>summary{padding:17px 16px}.research-filter-fields{gap:14px;padding:0 16px 18px}.research-filter-fields label{font-size:.8rem;font-weight:650}.research-filter-fields :is(input,select){background:var(--research-surface);border-radius:8px;font-size:.85rem}
.research-results-toolbar{font-size:.86rem;margin-bottom:14px}.research-density{align-items:center}.research-density legend{font-size:.76rem}.research-explorer .research-density button{font-size:.76rem;min-height:44px;border-radius:9px}
.research-table-scroll{border-radius:14px;box-shadow:0 3px 14px color-mix(in srgb,var(--text) 3%,transparent)}
.thp-frontend .research-explorer .research-data-table caption{padding:14px 16px;font-size:.82rem;font-weight:650;color:var(--text)}
.thp-frontend .research-explorer .research-data-table thead th{background:var(--focus);color:var(--content-bg);font-size:.75rem;font-weight:650;vertical-align:middle}
.thp-frontend .research-explorer .research-data-table thead a{color:var(--content-bg);display:flex;align-items:center;min-height:44px;line-height:1.5}
.research-data-table thead a:hover{text-decoration:underline}
.thp-frontend .research-explorer .research-data-table thead a:focus-visible{outline-color:var(--content-bg)}
.thp-frontend .research-explorer .research-data-table thead tr>th:first-child{background:var(--focus)}
.research-data-table tbody tr:nth-child(even)>:is(td,th){background:var(--research-tint)}
.research-data-table tbody tr:hover>:is(td,th){background:color-mix(in srgb,var(--accent) 10%,var(--research-surface))}
.research-data-table :is(td,th){padding:14px 16px;border-bottom:1px solid var(--research-line);font-size:.82rem;line-height:1.55}
.research-data-table tbody td:last-child a{font-size:.78rem;font-weight:700}.research-data-table small{font-size:.75rem;line-height:1.5}
.research-thumbnail,.research-image-placeholder{border:1px solid var(--research-line);border-radius:10px}.research-image-placeholder{font-size:22px}
.research-pagination{padding-top:4px;font-size:.82rem;gap:8px}.thp-frontend .research-explorer .research-pagination a{border:1px solid var(--research-line);border-radius:9px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;min-height:44px}
.thp-frontend .research-explorer .research-pagination a[aria-current]{background:var(--focus);color:var(--content-bg);border-color:var(--focus)}
.research-empty{border-style:solid;background:var(--research-tint);padding:clamp(22px,4vw,40px);text-align:center}.research-empty h2,.research-empty h3{margin-top:0}
.research-lightbox{border-radius:20px;box-shadow:0 24px 90px #0005}.research-lightbox figure>img{border-radius:10px}.research-lightbox figcaption{line-height:1.6}
@media(max-width:1199px){.research-explorer-grid{grid-template-columns:minmax(0,1fr)}.research-filter-fields{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){.thp-frontend .research-explorer .research-intro{padding:30px 22px;border-radius:18px;margin-bottom:22px}.research-hero-copy>p:not(.eyebrow){font-size:.94rem}.thp-frontend .research-explorer .research-statline{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:26px;padding-top:20px}.research-project-panel{padding:20px 16px;border-radius:17px}.thp-frontend .research-explorer .research-project-tabs a{padding:11px 14px;font-size:.8rem;max-width:250px}.thp-frontend .research-explorer .research-subtabs{gap:18px;margin-bottom:22px}.research-overview-grid{grid-template-columns:minmax(0,1fr);gap:24px}.research-filter-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.research-method summary{padding:18px}.research-method-explanation{padding:0 18px 18px;gap:18px}.research-search{padding:16px}.research-search>div{flex-wrap:wrap}.research-search input{flex-basis:100%}.research-search button{width:100%}.research-data-table :is(td,th){padding:11px 12px}.research-explorer .research-results-toolbar{gap:10px}.research-project-facts{padding:22px}}
@media(max-width:380px){.research-filter-fields{grid-template-columns:minmax(0,1fr)}.research-hero-copy>.eyebrow{font-size:.66rem;letter-spacing:.1em}.research-statline dt{font-size:.75rem}}
.thp-high-contrast .research-intro .research-hero-image{display:none}.thp-high-contrast .research-intro::before{background:var(--hero-base)}.thp-high-contrast .research-project-panel,.thp-high-contrast .research-table-scroll{box-shadow:none;border-width:2px}
/* Dedicated sample pages and compact visual archives */
.research-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,190px),1fr));gap:1rem;list-style:none;padding:0;margin:0}.research-photo-grid li{min-width:0}.research-photo-card{height:100%;border:1px solid var(--border,#cbd5c0);border-radius:14px;overflow:hidden;background:var(--surface,#fff);padding:0 0 .8rem}.research-photo-card p,.research-photo-card time,.research-photo-card button,.research-photo-card h3{margin:.5rem .75rem}.research-photo-card h3{font-size:1rem}.research-photo-card p{font-size:.85rem}.research-photo-card button{font-size:.8rem;min-height:36px;padding:.4rem .7rem}.research-photo-link{display:block}.research-photo-link img,.research-photo-empty{width:100%;aspect-ratio:4/3;object-fit:cover;height:auto;display:block}.research-photo-empty{display:grid;place-items:center;background:var(--research-tint,var(--surface));font-size:.8rem}.research-photo-meta{color:var(--research-muted,var(--text))}.research-layout-switch{display:flex;gap:.25rem}.research-layout-switch a{padding:.55rem .8rem;border:1px solid var(--border,#ccd6c5);border-radius:9px}.research-layout-switch [aria-current]{background:var(--accent,var(--ds-brand));color:var(--on-accent,#fff)}.research-sample-page{max-width:1180px;margin:auto;padding:2rem 1.5rem}.research-breadcrumbs,.research-sample-neighbours{display:flex;flex-wrap:wrap;gap:.8rem;align-items:center}.research-sample-heading{padding:1.5rem 0;border-bottom:1px solid var(--border,#ccd6c5);margin-bottom:1.5rem}.research-sample-heading h1{font-size:clamp(1.8rem,4vw,3rem);overflow-wrap:anywhere}.research-sample-gallery{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}.research-sample-gallery figure{margin:0}.research-sample-gallery figure:first-child{grid-column:1/-1}.research-sample-gallery img{display:block;width:100%;height:auto;max-height:800px;object-fit:contain;border-radius:12px;background:var(--surface,#fff)}.research-sample-gallery figcaption{font-size:.85rem;padding:.5rem 0;color:var(--research-muted,var(--text))}.research-sample-data,.research-sample-methods,.research-location,.research-citation{padding:1.5rem 0;border-bottom:1px solid var(--border,#ccd6c5)}.research-data-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:.8rem}.research-data-groups div{background:var(--surface,#fff);border:1px solid var(--border,#ccd6c5);border-radius:10px;padding:1rem}.research-data-groups dt{font-size:.8rem;font-weight:700;color:var(--research-muted,var(--text))}.research-data-groups dd{margin:.4rem 0 0;white-space:normal;overflow-wrap:anywhere}.research-citation a{overflow-wrap:anywhere}.research-sample-neighbours{justify-content:space-between;padding:1rem 0}.research-map-canvas{height:340px;max-width:100%;border-radius:12px;margin:1rem 0}.research-map-canvas[hidden]{display:none}.research-report{max-width:860px;padding:2rem 1.25rem;margin:auto}.research-report fieldset{padding:1rem;border:1px solid var(--border,#ccd6c5);border-radius:12px;margin:1rem 0}.research-report legend{font-weight:700;padding:0 .4rem}.research-report label{display:block;margin:.8rem 0}.research-report input:not([type=checkbox]):not([type=radio]),.research-report select,.research-report textarea{width:100%;max-width:100%}.research-report .checkbox-label{display:flex;align-items:flex-start;gap:.6rem}.research-form-pair{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.research-location-actions{display:flex;gap:.6rem;flex-wrap:wrap}.research-honeypot{position:absolute;left:-10000px}.research-explorer :focus-visible{outline:2px solid var(--accent,var(--ds-brand));outline-offset:3px}.research-sample-data .research-data-table{width:100%;min-width:600px}.research-report .leaflet-control a{color:#111}.research-report .leaflet-container,.research-location .leaflet-container{color:#111;background:#ddd}.research-report .leaflet-control-attribution,.research-location .leaflet-control-attribution{color:#111;background:#fff}.research-explorer-grid{align-items:start}@media(max-width:600px){.research-sample-page{padding:1rem}.research-form-pair{grid-template-columns:1fr;gap:0}.research-results-toolbar{flex-wrap:wrap}.research-report{padding:1rem}.research-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}.research-photo-card p,.research-photo-card h3{overflow-wrap:anywhere}.research-photo-card button{margin:.3rem;font-size:.7rem}.research-map-canvas{height:280px}}@media(prefers-reduced-motion:reduce){.research-explorer *{scroll-behavior:auto!important;transition:none!important}}

.research-explorer .research-layout-switch a[aria-current]{background:var(--ds-brand);color:#fff;font-weight:700}.research-explorer .research-layout-switch a[aria-current]:visited{color:#fff}
.research-report .checkbox-label{background:var(--surface,#fff);color:var(--text,#243323)}html.thp-high-contrast .research-explorer :is(.research-project-tabs a[aria-selected=true],.research-layout-switch a[aria-current],.research-pagination a[aria-current]){background:#fff!important;color:#000!important;border:3px solid #000!important;font-weight:800}html.thp-high-contrast .research-intro .research-hero-image,html.thp-high-contrast .research-intro::before{display:none}html.thp-high-contrast .research-explorer .research-intro{background:#fff!important;color:#000!important;border:2px solid #000!important}
