/*!
Theme Name: CEPI
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: cepi
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

CEPI is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: inherit;text-decoration:none;
}


*:hover,
*:focus,
*:active {
	outline: 0;
}


textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}


.updated:not(.published) {
	display: none;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}


/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}


/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

h1, h2, h3, h4, h5, h6 {margin-top:0;}

/* ── CEPI Bioeconomy LAB — tokens & base ─────────────────────────── */
:root {
  --paper: #F6F4EE;
  --surface: #FFFFFF;
  --ink: #373A36;
  --muted: #6E7268;
  --green: #72BF44;
  --green-deep: #4C7A1D;
  --moss: #1E211D;
  --moss-ink: #E9EBE2;
  --hairline: rgba(55, 58, 54, 0.12);
  --hairline-light: rgba(233, 235, 226, 0.14);
  --font-display: "Avenir Next", "Avenir", "Mulish", "Segoe UI", sans-serif;
  --font-body: "Avenir", "Mulish", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --r-outer: 2rem;
  --r-inner: calc(2rem - 0.375rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
address { font-style: normal; }

.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ── Typography ──────────────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.75rem, 6.5vw, 6.25rem); line-height: 0.98; }
h2 { font-size: clamp(2.1rem, 4.2vw, 4rem); line-height: 1.02; }
h1 em, h2 em {
  font-style: normal; font-weight: inherit;
  letter-spacing: inherit; color: var(--green-deep);
}
em.accent-green { color: var(--green); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--muted); max-width: 34em; }
.dot--lg { width: 14px; height: 14px; margin-left: 6px; }

/* ── Nav ─────────────────────────────────────────────────────────── */
.nav-wrap { position: fixed; top: 0; left: 0; right: 0; z-index: 40; display: flex; justify-content: center; }
.nav {
  margin-top: 20px; display: flex; align-items: center; gap: 36px;
  background: var(--paper);
  border: 1px solid var(--hairline); border-radius: 999px;
  padding: 10px 12px 10px 20px;
  box-shadow: 0 18px 50px -30px rgba(35, 38, 31, 0.35);
}
.nav__logo { display: inline-flex; align-items: center; }
.nav__logo img { height: 56px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 6px; margin:0;}
.nav__links a {
  font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: 999px;
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
}
.nav__links a:hover { background: rgba(35, 38, 31, 0.06); }
.nav__links a.is-active { background: var(--green); color: #fff; }
.nav__links .nav__cta { background: var(--ink); color: var(--paper); }
.nav__links .nav__cta:hover,
.nav__links .nav__cta.is-active { background: var(--green-deep); color: #fff; }
.nav__dd { position: relative; }
.nav__dd > a { cursor: default; }
/* invisible hover bridge across the gap between trigger and menu */
.nav__dd::after {
  content: ""; position: absolute; left: -12px; right: -12px;
  top: 100%; height: 16px;
}
.nav__dd-menu {
  position: absolute; top: calc(100% + 10px); left: 50%;
  translate: -50% 8px; opacity: 0; pointer-events: none;
  min-width: 190px; padding: 8px;
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: 20px; box-shadow: 0 24px 60px -30px rgba(35, 38, 31, 0.35);
  transition: opacity 0.45s var(--ease), translate 0.45s var(--ease);
}
.nav__dd:hover .nav__dd-menu, .nav__dd:focus-within .nav__dd-menu {
  opacity: 1; translate: -50% 0; pointer-events: auto;
}
.nav__dd-menu a { display: block; border-radius: 12px; }
.nav__burger {
  display: none; position: relative; width: 44px; height: 44px;
  background: var(--ink); border: none; border-radius: 999px; cursor: pointer;
}
.nav__burger span {
  position: absolute; left: 13px; right: 13px; height: 2px; background: var(--paper);
  transition: transform 0.5s var(--ease), top 0.5s var(--ease);
}
.nav__burger span:nth-child(1) { top: 18px; }
.nav__burger span:nth-child(2) { top: 25px; }
.nav__burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.menu-overlay {
  position: fixed; inset: 0; z-index: 30;
  background: rgba(246, 244, 238, 0.88); backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  display: grid; place-items: center;
  opacity: 0; pointer-events: none; transition: opacity 0.6s var(--ease);
}
.menu-overlay.is-open { opacity: 1; pointer-events: auto; }
.menu-overlay a {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 8vw, 3.4rem);
  letter-spacing: -0.03em; line-height: 1.35; display: block; text-align: center;
}
.menu-overlay__label {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 8vw, 3.4rem);
  letter-spacing: -0.03em; line-height: 1.35; display: block; text-align: center;
  color: var(--muted);
}
.menu-overlay__sub a {
  font-size: clamp(1.15rem, 4.5vw, 1.5rem); font-weight: 600; line-height: 1.7;
  letter-spacing: -0.01em;
}
.menu-overlay li { overflow: hidden; }

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 500; font-size: 15px; border-radius: 999px;
  padding: 16px;
  transition: transform 0.5s var(--ease), background 0.5s var(--ease),
              color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--green-deep); color: #fff; }
.btn--ghost { border: 1px solid var(--hairline); padding: 12px 24px; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--green { background: var(--green); color: #fff; }
.btn--green .btn__orb { background: rgba(255, 255, 255, 0.2); }
.btn--green:hover { background: var(--green-deep); }
.btn--ghost-light {
  border: 1px solid rgba(246, 244, 238, 0.4); color: #F6F4EE; padding: 12px 24px;
}
.btn--ghost-light:hover {
  background: var(--green); border-color: var(--green); color: #fff;
}
.btn__orb {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.14); color: inherit;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; flex: none;
  transition: transform 0.5s var(--ease);
}
.btn:hover .btn__orb { transform: translate(2px, -2px) scale(1.05); }

/* ── Double-bezel & exhibits ─────────────────────────────────────── */
.bezel {
  background: rgba(35, 38, 31, 0.05);
  border: 1px solid var(--hairline);
  border-radius: var(--r-outer); padding: 0.375rem;
}
.bezel__core {
  border-radius: var(--r-inner); overflow: hidden;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.35);
}
.bezel--fill, .bezel--fill .bezel__core { height: 100%; }
.exhibit { min-height: 280px; position: relative; }
.exhibit--fibre {
  background:
    repeating-linear-gradient(112deg,
      rgba(255, 255, 255, 0.10) 0 2px, transparent 2px 9px,
      rgba(35, 38, 31, 0.05) 9px 10px, transparent 10px 22px),
    radial-gradient(120% 90% at 20% 10%, #EDE6D4 0%, transparent 55%),
    radial-gradient(90% 80% at 85% 90%, #A8B188 0%, transparent 60%),
    linear-gradient(160deg, #E4DECB 0%, #B9BFA2 58%, #7E8C64 100%);
}
.exhibit--pulp {
  background:
    repeating-linear-gradient(24deg,
      rgba(255, 255, 255, 0.09) 0 2px, transparent 2px 11px,
      rgba(35, 38, 31, 0.05) 11px 12px, transparent 12px 26px),
    radial-gradient(100% 80% at 80% 15%, #F1EBDD 0%, transparent 55%),
    radial-gradient(110% 90% at 15% 85%, #98A374 0%, transparent 62%),
    linear-gradient(200deg, #DFD8C2 0%, #C2C6A8 55%, #6B7A50 100%);
}
.exhibit--map {
  background:
    radial-gradient(1.5px 1.5px at 12% 20%, rgba(35,38,31,0.22) 99%, transparent),
    radial-gradient(1.5px 1.5px at 70% 30%, rgba(35,38,31,0.22) 99%, transparent),
    radial-gradient(1.5px 1.5px at 40% 70%, rgba(35,38,31,0.22) 99%, transparent),
    radial-gradient(1.5px 1.5px at 85% 75%, rgba(35,38,31,0.22) 99%, transparent),
    linear-gradient(180deg, #EFEDE4 0%, #DEDCCC 100%);
}
.exhibit__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.map-dot {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 6px rgba(118, 184, 42, 0.18);
}

/* museum label */
.label { display: grid; gap: 2px; padding: 18px 8px 0; }
.label__no {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted);
}
.label__name { font-weight: 600; font-size: 16px; }
.label__meta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted);
}

/* ── Hero ────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(92vh, 900px);
  display: flex; align-items: center; justify-content: center;
  padding: 176px 0 96px; background: var(--paper);
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 25, 15, 0.35) 0%,
    rgba(20, 25, 15, 0.15) 55%, rgba(20, 25, 15, 0.35) 100%);
}
.hero__content { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__kicker {
  color: #F6F4EE; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.1rem, 1.6vw, 1.5rem); letter-spacing: 0.03em; margin-bottom: 14px;
}
.hero__content h1 {
  color: #F6F4EE; font-size: clamp(3rem, 5.8vw, 5.25rem); font-weight: 800;
  line-height: 0.98; letter-spacing: -0.03em; margin-bottom: 28px;
}
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 40px; }

/* ── About ───────────────────────────────────────────────────────── */
.about { padding: 120px 0 144px; border-top: 1px solid var(--hairline); }
.about__grid {
  display: grid; grid-template-columns: minmax(0, 581fr) minmax(0, 560fr);
  gap: 64px; align-items: stretch;
}
.about__body { display: grid; gap: 22px; align-content: start; }
.about__body p { color: var(--muted); }
.about__media { display: flex; }
.about__media .bezel--fill { width: 100%; }
.about__media .exhibit { min-height: 100%; }

/* ── Editions ────────────────────────────────────────────────────── */
.editions { background: var(--green-deep); color: var(--moss-ink); padding: 96px 0; }
.editions__title { margin-bottom: 64px; }
.editions__title em { color: #F6F4EE; }

.exhibit--event {
  background: linear-gradient(160deg, #E4DECB 0%, #B9BFA2 58%, #6B7A50 100%);
}
.editions__list li a {
  display: grid; grid-template-columns: 80px 1fr auto 60px; align-items: baseline;
  gap: 24px; padding: 30px 8px; border-top: 1px solid var(--hairline-light);
  transition: background 0.5s var(--ease);
}
.editions__list li:last-child a { border-bottom: 1px solid var(--hairline-light); }
.editions__list li a:hover { background: rgba(233, 235, 226, 0.04); }
.editions__list li a > span:not(.ed__arrow) { transition: transform 0.5s var(--ease); }
.editions__list li a:hover > span:not(.ed__arrow) { transform: translateX(12px); }
.ed__no { font-size: 13px; letter-spacing: 0.2em; color: var(--green); }
.ed__city {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
}
.ed__year { font-size: 15px; color: rgba(233, 235, 226, 0.55); }
.ed__arrow {
  justify-self: end; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--hairline-light);
  display: inline-flex; align-items: center; justify-content: center; align-self: center;
  transition: transform 0.5s var(--ease), background 0.5s var(--ease),
              border-color 0.5s var(--ease), color 0.5s var(--ease);
}
.editions__list li a:hover .ed__arrow {
  background: var(--green); border-color: var(--green); color: var(--moss);
  transform: translate(2px, -2px);
}

/* ── Catalogue / map teaser ──────────────────────────────────────── */
.catalogue { padding: 144px 0; }
.catalogue__header { margin-bottom: 12px; }
.catalogue__header h2 { margin: 0; }
.catalogue__lead { font-size: 15px; color: var(--muted); margin-bottom: 40px; }
.home-map #innovation-map { height: 520px; }
.catalogue__cta { margin-top: 32px; text-align: center; }
/* ── Film ────────────────────────────────────────────────────────── */
.film { padding: 0 0 144px; }
.film__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.film h2 { margin-bottom: 48px; }
.film__frame { width: 100%; max-width: 1232px; margin: 0 auto; }
.film__core {
  position: relative; height: clamp(280px, 50vw, 620px); background: var(--moss);
}
.film__core iframe { width: 100%; height: 100%; border: 0; display: block; }
.film__play {
  position: absolute; top: 50%; left: 50%;
  margin: -44px 0 0 -44px;
  width: 88px; height: 88px; border-radius: 50%; border: 0; cursor: pointer;
  background: #F6F4EE; display: grid; place-items: center;
  box-shadow: 0 24px 60px -20px rgba(20, 25, 15, 0.45);
  transition: transform 0.5s var(--ease);
}
.film__play:hover { transform: scale(1.08); }
.film__play:active { transform: scale(0.98); }

/* ── Footer ──────────────────────────────────────────────────────── */
.footer {
  background: var(--surface); color: var(--ink);
  border-top: 1px solid var(--hairline); padding: 96px 0 40px;
}
.footer__grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 0.7fr; gap: 48px;
  padding-bottom: 64px; border-bottom: 1px solid var(--hairline);
}
.footer__addr strong {
  display: block; margin-bottom: 8px; color: var(--ink);
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 600;
}
.footer__logo img { height: 72px; width: auto; }
.footer__tag { margin-top: 16px; font-size: 13px; color: var(--muted); }
.footer__addr { font-size: 15px; line-height: 1.8; color: var(--muted); }
.footer__addr a {
  color: var(--ink); text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: var(--hairline);
  transition: color 0.5s var(--ease), text-decoration-color 0.5s var(--ease);
}
.footer__addr a:hover { color: var(--green-deep); text-decoration-color: var(--green-deep); }
.footer__links { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.footer__links a {
  color: var(--muted);
  transition: color 0.5s var(--ease), translate 0.5s var(--ease);
}
.footer__links a:hover { color: var(--green-deep); translate: 4px 0; }
.footer__logo { display: inline-block; transition: opacity 0.5s var(--ease); }
.footer__logo:hover { opacity: 0.75; }
.footer__base {
  padding-top: 28px; font-size: 13px; color: var(--muted);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about__grid { gap: 48px; }
}
@media (max-width: 768px) {
  .nav { width: calc(100% - 32px); justify-content: space-between; padding: 8px 8px 8px 16px; }
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .hero { padding: 140px 0 80px; }
  .about__grid { grid-template-columns: 1fr; }
  .about, .catalogue { padding: 80px 0; }
  .editions { padding: 64px 0; }
  .film { padding: 0 0 80px; }
  .home-map #innovation-map { height: 320px; }
  .editions__list li a { grid-template-columns: 48px 1fr auto; }
  .ed__arrow { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}
