:root {
  --green-900: #0e2318;
  --green-700: #1b4332;
  --green-500: #2d6a4f;
  --green-400: #40916c;
  --green-300: #74c69d;
  --green-100: #d8f3dc;
  --cream: #f8f4ee;
  --cream-mid: #ede8df;
  --cream-dark: #ddd5c7;
  --earth: #8b6334;
  --earth-light: #c4954a;
  --text-dark: #18180e;
  --text-mid: #45453a;
  --text-light: #6b6b58;
  --white: #ffffff;
  --danger: #8c2f22;
  --radius: 4px;
  --shadow: 0 2px 16px rgba(14,35,24,0.08);
  --shadow-lg: 0 8px 40px rgba(14,35,24,0.12);
  --transition: 0.25s ease;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --header-h: 72px;
  --measure: 68ch;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  font-family: var(--font-body); background: var(--cream); color: var(--text-dark);
  line-height: 1.65; min-height: 100vh; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--earth-light); outline-offset: 2px; border-radius: 2px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 0; top: -100%; z-index: 2000;
  background: var(--green-700); color: var(--white);
  padding: 0.75rem 1.25rem; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--cream-mid); }
::-webkit-scrollbar-thumb { background: var(--green-400); border-radius: 4px; }

/* ===== HEADER ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; height: var(--header-h);
  background: rgba(248,244,238,0.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cream-dark); z-index: 1000;
  display: flex; align-items: center; transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow); }
.header-inner {
  width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; gap: 1.25rem;
}
.logo-mark { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; flex-shrink: 0; }
.logo-icon { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.logo-text-wrap { display: flex; flex-direction: column; }
.logo-abbr { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--green-700); letter-spacing: 0.05em; line-height: 1.1; }
.logo-full { font-size: 0.58rem; color: var(--text-light); letter-spacing: 0.07em; text-transform: uppercase; line-height: 1.3; }
.header-spacer { flex: 1; }
.main-nav { display: flex; align-items: center; gap: 0; }
.nav-link {
  font-size: 0.78rem; font-weight: 500; color: var(--text-mid);
  letter-spacing: 0.03em; text-transform: uppercase; text-decoration: none;
  padding: 0.4rem 0.6rem; border-radius: var(--radius);
  transition: color var(--transition), background var(--transition); white-space: nowrap;
}
.nav-link:hover { color: var(--green-700); background: var(--green-100); }
.nav-link.active { color: var(--green-700); font-weight: 600; }
.lang-switcher { display: flex; align-items: center; gap: 2px; margin-left: 0.75rem; }
.lang-btn {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-decoration: none;
  padding: 0.3rem 0.45rem; border-radius: var(--radius);
  border: 1px solid transparent; background: none; color: var(--text-light);
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.lang-btn:hover { color: var(--green-700); border-color: var(--green-300); }
.lang-btn.active { color: var(--green-700); background: var(--green-100); border-color: var(--green-300); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; border: none; background: none; padding: 6px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--green-700); transition: all var(--transition); }
.mobile-nav {
  display: none; position: fixed; top: var(--header-h); left: 0; right: 0;
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  background: var(--cream); border-bottom: 1px solid var(--cream-dark);
  padding: 1rem 2rem 1.5rem; z-index: 999; box-shadow: var(--shadow);
  flex-direction: column; gap: 0.25rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link { padding: 0.65rem 0.5rem; font-size: 0.85rem; }
.mobile-lang { display: flex; gap: 6px; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--cream-dark); }

/* ===== PAGE ===== */
.page-container { padding-top: var(--header-h); min-height: 60vh; }
.page-container:focus { outline: none; }

/* ===== HERO ===== */
.hero { background: var(--green-700); min-height: calc(88vh - var(--header-h)); display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-bg-decor {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(ellipse 60% 80% at 80% 60%, rgba(45,106,79,0.5) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(14,35,24,0.6) 0%, transparent 60%);
}
.hero-leaf { position: absolute; opacity: 0.07; right: -60px; top: 50%; transform: translateY(-50%); }
.hero-inner { max-width: 1240px; margin: 0 auto; padding: 5rem 2rem; position: relative; z-index: 1; width: 100%; }
.hero-tag {
  display: inline-block; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--green-300); font-weight: 500; border: 1px solid rgba(116,198,157,0.35);
  padding: 0.35rem 0.9rem; border-radius: 100px; margin-bottom: 2rem;
}
.hero-title {
  font-family: var(--font-display); font-size: clamp(2.6rem, 6.5vw, 5.5rem);
  font-weight: 300; line-height: 1.05; color: var(--white); white-space: pre-line; margin-bottom: 2rem;
}
.hero-title2 { display: block; color: var(--green-300); font-style: italic; }
.hero-sub { font-size: 1.05rem; color: rgba(255,255,255,0.75); max-width: 540px; line-height: 1.7; margin-bottom: 2.5rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn-primary, .btn-outline, .btn-green {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 0.8rem 1.6rem; border-radius: var(--radius);
  cursor: pointer; border: 1px solid transparent; text-transform: uppercase;
  text-decoration: none; transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  font-family: var(--font-body);
}
.btn-primary { background: var(--earth-light); color: var(--white); }
.btn-primary:hover { background: var(--earth); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(139,99,52,0.35); }
.btn-primary[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); font-weight: 500; }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.7); }
.btn-green { background: var(--green-500); color: var(--white); padding: 0.7rem 1.4rem; }
.btn-green:hover { background: var(--green-700); transform: translateY(-1px); }

/* ===== SECTIONS ===== */
.section { padding: 5rem 2rem; }
.section-inner { max-width: 1240px; margin: 0 auto; }
.section-inner.narrow { max-width: 860px; }
.section-alt { background: var(--cream-mid); }
.section-dark { background: var(--green-700); color: var(--white); }
.section-dark .section-label { color: var(--green-300); }
.section-dark .section-title { color: var(--white); }
.section-label { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green-500); font-weight: 600; margin-bottom: 0.75rem; }
.section-title { font-family: var(--font-display); font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 400; color: var(--green-700); line-height: 1.15; margin-bottom: 1.1rem; }
.sub-title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; color: var(--green-700); margin: 2rem 0 0.75rem; }
.section-lead { font-size: 1.02rem; color: var(--text-mid); max-width: var(--measure); line-height: 1.75; margin-bottom: 1.5rem; }
.mt { margin-top: 4rem; }
.mt-1 { margin-top: 1.5rem; }
.prose { max-width: var(--measure); }
.prose.wide { max-width: 80ch; }
.prose p { font-size: 1rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 1.2rem; }
.lead-quote { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.5; color: var(--green-700); max-width: var(--measure); margin-bottom: 2rem; }
.note { font-size: 0.86rem; color: var(--text-light); background: var(--cream-mid); border-left: 3px solid var(--cream-dark); padding: 1rem 1.25rem; border-radius: var(--radius); max-width: var(--measure); margin-top: 1.5rem; }
.lang-note { border-left-color: var(--earth-light); }
.thanks { font-family: var(--font-display); font-size: 1.25rem; color: var(--green-500); margin-top: 2rem; }
.empty-note { color: var(--text-mid); font-style: italic; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split-media { display: flex; align-items: center; justify-content: center; }
.split-media img { max-height: 420px; object-fit: contain; padding: 1rem; }
.cta-band { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 2rem; }
.cta-title { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 300; color: var(--white); line-height: 1.2; }
.cta-sub { color: rgba(255,255,255,0.7); margin-top: 0.75rem; max-width: 500px; }

/* ===== SECTION NAV (in-page anchors) ===== */
.section-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; padding-bottom: 2rem; margin-bottom: 3rem; border-bottom: 1px solid var(--cream-dark); }
.section-nav-link {
  font-size: 0.8rem; font-weight: 500; color: var(--green-700); text-decoration: none;
  background: var(--green-100); padding: 0.4rem 0.85rem; border-radius: 100px;
  transition: background var(--transition), color var(--transition);
}
.section-nav-link:hover { background: var(--green-300); }
.doc-section { scroll-margin-top: calc(var(--header-h) + 2rem); margin-bottom: 4rem; }
.doc-section:last-child { margin-bottom: 0; }

/* ===== PILLARS / CARDS ===== */
.pillars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--cream-dark); border: 1px solid var(--cream-dark); }
.pillar-card { background: var(--white); padding: 2.25rem 1.75rem; }
.pillar-num { font-family: var(--font-display); font-size: 2.75rem; color: var(--cream-dark); font-weight: 300; line-height: 1; margin-bottom: 0.75rem; }
.pillar-title { font-size: 1rem; font-weight: 600; color: var(--green-700); margin-bottom: 0.6rem; }
.pillar-body { font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.card { background: var(--white); border: 1px solid var(--cream-dark); border-radius: var(--radius); padding: 1.9rem; transition: box-shadow var(--transition), transform var(--transition); }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-tag { display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; color: var(--green-500); background: var(--green-100); padding: 0.25rem 0.6rem; border-radius: 100px; margin-bottom: 1rem; }
.card-title { font-size: 1.05rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.7rem; line-height: 1.4; }
.card-body { font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; }
.card-fee { font-family: var(--font-display); font-size: 1.5rem; color: var(--green-500); margin-bottom: 0.4rem; }

/* ===== PAGE HERO ===== */
.page-hero { background: var(--green-900); padding: 3.5rem 2rem 3rem; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--green-400), var(--earth-light), var(--green-300)); }
.page-hero-inner { max-width: 1240px; margin: 0 auto; }
.page-hero-label { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green-300); margin-bottom: 0.75rem; }
.page-hero-title { font-family: var(--font-display); font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 300; color: var(--white); line-height: 1.1; margin-bottom: 1rem; }
.page-hero-sub { font-size: 1rem; color: rgba(255,255,255,0.7); max-width: 65ch; line-height: 1.7; }

/* ===== LISTS ===== */
.goal-list, .plain-list, .partner-list, .name-list, .link-list, .benefits-list, .pub-list, .footer-links { list-style: none; }
.goal-list { max-width: 78ch; margin-bottom: 2rem; }
.goal-list li { display: flex; gap: 0.75rem; font-size: 0.94rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 0.7rem; }
.goal-mark { color: var(--green-400); flex-shrink: 0; }
.plain-list li { font-size: 0.95rem; color: var(--text-mid); padding: 0.5rem 0 0.5rem 1.25rem; position: relative; border-bottom: 1px solid var(--cream-dark); }
.plain-list li::before { content: '·'; position: absolute; left: 0.25rem; color: var(--green-400); font-weight: 700; }
.partner-list li { background: var(--white); border: 1px solid var(--cream-dark); border-left: 3px solid var(--green-400); border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 0.75rem; font-size: 0.92rem; color: var(--text-mid); }
.name-list li { font-size: 0.92rem; color: var(--text-mid); padding: 0.25rem 0; }
.demand-list { list-style: none; counter-reset: d; max-width: 78ch; margin-bottom: 2rem; }
.demand-list li { display: flex; gap: 1rem; align-items: flex-start; padding: 0.9rem 0; border-bottom: 1px solid var(--cream-dark); font-size: 0.98rem; color: var(--text-mid); line-height: 1.65; }
.demand-num { flex-shrink: 0; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--green-100); color: var(--green-700); font-weight: 700; font-size: 0.8rem; display: flex; align-items: center; justify-content: center; }
.benefits-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0.75rem; }
.benefit-item { display: flex; align-items: flex-start; gap: 0.75rem; background: var(--white); border: 1px solid var(--cream-dark); padding: 0.9rem 1.15rem; border-radius: var(--radius); }
.benefit-check { color: var(--green-400); flex-shrink: 0; }
.benefit-text { font-size: 0.9rem; color: var(--text-mid); }

/* ===== STATS / ORGANS ===== */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.stat-card { background: var(--green-100); padding: 1.75rem 1rem; border-radius: var(--radius); text-align: center; }
.stat-n { font-family: var(--font-display); font-size: 2.6rem; color: var(--green-700); font-weight: 300; line-height: 1; }
.stat-l { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--green-500); margin-top: 0.5rem; }
.organs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.organ-card { background: var(--white); border: 1px solid var(--cream-dark); padding: 1.5rem 1.25rem; border-radius: var(--radius); }
.organ-num { font-family: var(--font-display); font-size: 1.5rem; color: var(--green-300); line-height: 1; margin-bottom: 0.5rem; }
.organ-name { font-size: 0.92rem; font-weight: 600; color: var(--text-dark); }
.organigram { margin-top: 1.5rem; background: var(--white); border: 1px solid var(--cream-dark); border-radius: var(--radius); padding: 1.5rem; overflow-x: auto; }
.organigram img { display: block; margin: 0 auto; }

/* ===== DOCUMENT CARDS ===== */
.doc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; margin-top: 2rem; }
.doc-card { display: flex; align-items: center; gap: 1.1rem; background: var(--cream-mid); border: 1px solid var(--cream-dark); border-radius: var(--radius); padding: 1.25rem; }
.doc-icon { color: var(--green-500); flex-shrink: 0; }
.doc-meta { flex: 1; min-width: 0; }
.doc-title { font-weight: 600; color: var(--text-dark); margin-bottom: 0.2rem; }
.doc-sub { font-size: 0.8rem; color: var(--text-light); }
.doc-cta { flex-shrink: 0; font-size: 0.75rem; padding: 0.55rem 1rem; }

/* ===== LEGAL DOCUMENT ===== */
.legal-doc { margin-top: 2.5rem; border-top: 1px solid var(--cream-dark); padding-top: 2rem; }
.legal-h { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: var(--green-700); margin: 2.5rem 0 0.75rem; padding-bottom: 0.4rem; border-bottom: 1px solid var(--cream-dark); }
.legal-h:first-child { margin-top: 0; }
.legal-ref { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--green-500); font-weight: 600; margin-bottom: 1rem; }
.legal-p { font-size: 0.95rem; color: var(--text-mid); line-height: 1.75; margin-bottom: 0.9rem; }

/* ===== EVENTS ===== */
.events-list { display: flex; flex-direction: column; gap: 1px; background: var(--cream-dark); border: 1px solid var(--cream-dark); border-radius: var(--radius); overflow: hidden; }
.event-item { background: var(--white); padding: 1.35rem 1.75rem; display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 1.5rem; transition: background var(--transition); }
.event-item.archive { grid-template-columns: 150px 1fr; }
.event-item:hover { background: var(--cream); }
.event-date { font-family: var(--font-display); font-size: 1.05rem; color: var(--green-500); }
.event-title { font-size: 0.98rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.25rem; }
.event-title a { color: var(--green-600, var(--green-500)); text-decoration: none; }
.event-title a:hover { text-decoration: underline; }
.event-meta { font-size: 0.82rem; color: var(--text-light); display: flex; gap: 1rem; flex-wrap: wrap; }

/* ===== PUBLICATIONS ===== */
.pub-list { display: flex; flex-direction: column; gap: 1rem; }
.pub-item { display: flex; gap: 1.5rem; padding: 1.4rem; border-radius: var(--radius); border: 1px solid var(--cream-dark); background: var(--white); }
.pub-year { font-family: var(--font-display); font-size: 1.25rem; color: var(--green-400); flex-shrink: 0; }
.pub-title { font-size: 0.95rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.25rem; }
.pub-journal { font-size: 0.82rem; color: var(--text-light); font-style: italic; }
.pub-doi { display: inline-block; margin-top: 0.5rem; font-size: 0.78rem; color: var(--green-500); text-decoration: none; }
.pub-doi:hover { text-decoration: underline; }

/* ===== LINKS PAGE ===== */
.links-category { margin-bottom: 2.5rem; }
.links-cat-title { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-light); margin-bottom: 0.75rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--cream-dark); }
.link-item { display: flex; align-items: baseline; gap: 0.75rem; padding: 0.6rem 0.75rem; border-radius: var(--radius); color: var(--green-500); text-decoration: none; font-size: 0.92rem; font-weight: 500; transition: background var(--transition), color var(--transition); }
.link-item:hover { background: var(--green-100); color: var(--green-700); }
.link-arrow { font-size: 0.7rem; flex-shrink: 0; }

/* ===== TABLES ===== */
.table-scroll { overflow-x: auto; margin-bottom: 2rem; }
.fee-table { width: 100%; max-width: 760px; border-collapse: collapse; background: var(--white); border: 1px solid var(--cream-dark); }
.fee-table th, .fee-table td { padding: 0.9rem 1.25rem; border-bottom: 1px solid var(--cream-dark); text-align: left; font-weight: 400; font-size: 0.92rem; color: var(--text-mid); }
.fee-table tr:last-child th, .fee-table tr:last-child td { border-bottom: none; }
.fee-table th { font-weight: 600; color: var(--text-dark); }
.fee-title { color: var(--text-light); font-size: 0.85rem; white-space: nowrap; }
.fee-amount { font-family: var(--font-display); font-size: 1.15rem; color: var(--green-500); text-align: right; white-space: nowrap; }

/* ===== INFO BLOCKS ===== */
.info-blocks { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.info-blocks.two { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.info-block { padding: 1.75rem; background: var(--white); border-radius: var(--radius); border-left: 3px solid var(--green-400); }
.info-block-title { font-size: 1rem; font-weight: 600; color: var(--green-700); margin-bottom: 0.7rem; }
.info-block-body { font-size: 0.9rem; color: var(--text-mid); line-height: 1.75; }

/* ===== BANK ===== */
.bank-card { background: var(--white); border: 1px solid var(--cream-dark); border-radius: var(--radius); padding: 1.75rem; max-width: 560px; }
.bank-title { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-light); font-weight: 700; margin-bottom: 1rem; }
.bank-list > div { display: flex; justify-content: space-between; gap: 1.5rem; padding: 0.6rem 0; border-bottom: 1px solid var(--cream-mid); flex-wrap: wrap; }
.bank-list > div:last-child { border-bottom: none; }
.bank-list dt { font-weight: 600; color: var(--text-dark); font-size: 0.9rem; }
.bank-list dd { color: var(--text-mid); font-size: 0.9rem; font-variant-numeric: tabular-nums; }

/* ===== FORMS ===== */
.form-wrap { max-width: 680px; margin-top: 4rem; }
.form-wrap.flush { margin-top: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-full { grid-column: 1/-1; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label { font-size: 0.78rem; font-weight: 600; color: var(--text-mid); letter-spacing: 0.04em; text-transform: uppercase; }
.form-input, .form-select, .form-textarea {
  font-family: var(--font-body); font-size: 0.95rem; background: var(--white); color: var(--text-dark);
  border: 1px solid var(--cream-dark); border-radius: var(--radius); padding: 0.75rem 1rem;
  outline: none; transition: border-color var(--transition), box-shadow var(--transition); width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--green-400); box-shadow: 0 0 0 3px rgba(64,145,108,0.15); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-success { background: var(--green-100); color: var(--green-700); border: 1px solid var(--green-300); border-radius: var(--radius); padding: 1rem 1.25rem; font-size: 0.92rem; font-weight: 500; margin-top: 1rem; }
.form-error { background: #fbeae7; color: var(--danger); border: 1px solid #e5bdb6; border-radius: var(--radius); padding: 1rem 1.25rem; font-size: 0.92rem; margin-top: 1rem; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; }
.contact-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-light); font-weight: 700; margin-bottom: 0.5rem; margin-top: 2rem; }
.contact-label:first-child { margin-top: 0; }
.contact-value { font-size: 0.95rem; color: var(--text-mid); line-height: 1.7; white-space: pre-line; }
.contact-email { color: var(--green-500); text-decoration: none; }
.contact-email:hover { text-decoration: underline; }

/* ===== FOOTER ===== */
.site-footer { background: var(--green-900); color: rgba(255,255,255,0.7); padding: 4rem 2rem 2rem; }
.footer-inner { max-width: 1240px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand .logo-icon { width: 56px; height: 56px; }
.footer-brand .logo-abbr { color: var(--white); font-size: 1.4rem; }
.footer-brand .logo-full { color: rgba(255,255,255,0.45); }
.footer-tagline { margin-top: 1rem; font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.6; max-width: 300px; }
.footer-col-title { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.45); margin-bottom: 1.1rem; font-weight: 700; }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-link { font-size: 0.875rem; color: rgba(255,255,255,0.65); text-decoration: none; transition: color var(--transition); }
.footer-link:hover { color: var(--green-300); text-decoration: underline; }
.footer-link.inline { display: inline; }
.footer-address { font-style: normal; font-size: 0.875rem; color: rgba(255,255,255,0.65); line-height: 1.9; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-legal { font-size: 0.78rem; color: rgba(255,255,255,0.4); }
.footer-lang { display: flex; gap: 6px; flex-wrap: wrap; }
.footer-lang-btn { font-size: 0.72rem; font-weight: 600; padding: 0.3rem 0.6rem; border-radius: var(--radius); text-decoration: none; color: rgba(255,255,255,0.45); border: 1px solid rgba(255,255,255,0.15); transition: color var(--transition), border-color var(--transition); }
.footer-lang-btn:hover { color: var(--white); border-color: rgba(255,255,255,0.35); }
.footer-lang-btn.active { color: var(--green-300); border-color: var(--green-400); }

/* ===== VIDEO PLAYER =====
   Nothing here may rely on a style attribute: script-src/style-src carry no
   'unsafe-inline', so the player's moving parts are a <progress> value and a
   range input rather than a div with a width written onto it. */
.video-figure { margin: 1.75rem 0 0; }
.video-box {
  position: relative; overflow: hidden; line-height: 0;
  border-radius: var(--radius); background: var(--green-900);
  box-shadow: var(--shadow-lg);
}
.video-el { display: block; width: 100%; height: auto; background: #000; }

/* The UA sheet hides [hidden] with display:none, but the rules below set
   display on all three — so it has to be said again or they never hide. */
.video-cover[hidden], .video-bar[hidden], .video-waiting[hidden] { display: none; }

/* --- title card, standing in for the poster frame the sources lack --- */
.video-cover {
  position: absolute; inset: 0; cursor: pointer; line-height: 1.5;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  background-color: var(--green-900);
  background-image: linear-gradient(155deg, rgba(27,67,50,0.55) 0%, rgba(14,35,24,0.92) 60%, rgba(14,35,24,0.98) 100%);
}
.video-cover::after {
  content: ''; position: absolute; right: -1rem; top: -1.5rem; bottom: -1.5rem;
  width: 42%; pointer-events: none; z-index: 0;
  background: url('fpth_plant.png') right center / contain no-repeat;
  mix-blend-mode: soft-light; opacity: 0.55;
}
.video-cover-body { position: relative; z-index: 1; max-width: 32ch; }
.video-cover-label {
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--green-300); font-weight: 600; margin-bottom: 0.5rem;
}
.video-cover-title {
  font-family: var(--font-display); font-weight: 400; color: var(--white);
  font-size: clamp(1.35rem, 3.2vw, 2.1rem); line-height: 1.15;
}
.video-cover-meta {
  font-size: 0.78rem; color: rgba(255,255,255,0.55);
  margin-top: 0.5rem; font-variant-numeric: tabular-nums;
}
.video-cover-play {
  position: absolute; left: 50%; top: 50%; z-index: 2;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px; border: 0; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream); color: var(--green-700);
  box-shadow: 0 6px 30px rgba(0,0,0,0.4);
  transition: transform var(--transition), background var(--transition);
}
.video-cover-play .video-icon { width: 28px; height: 28px; margin-left: 4px; }
.video-cover-play:hover { background: var(--white); transform: translate(-50%, -50%) scale(1.07); }

/* --- control bar --- */
.video-bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: center; gap: 0.3rem; line-height: 1;
  padding: 0.55rem 0.7rem;
  background: linear-gradient(to top, rgba(14,35,24,0.95) 0%, rgba(14,35,24,0.7) 65%, rgba(14,35,24,0) 100%);
}
.video-btn {
  flex: 0 0 auto; width: 36px; height: 36px; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius); color: var(--white);
  background: rgba(255,255,255,0.12);
  transition: background var(--transition), color var(--transition);
}
.video-btn:hover { background: var(--green-400); }
.video-btn.quiet { background: transparent; color: rgba(255,255,255,0.78); }
.video-btn.quiet:hover { background: rgba(255,255,255,0.15); color: var(--white); }
.video-icon { display: block; }
.video-time {
  flex: 0 0 auto; padding: 0 0.3rem; font-size: 0.74rem;
  color: rgba(255,255,255,0.82); font-variant-numeric: tabular-nums;
}

.video-track { position: relative; flex: 1 1 auto; min-width: 56px; display: flex; align-items: center; }
.video-progress {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 100%; height: 4px; border: 0; border-radius: 2px;
  pointer-events: none; appearance: none; -webkit-appearance: none;
  background: rgba(255,255,255,0.26); color: var(--green-300);
}
.video-progress::-webkit-progress-bar { background: rgba(255,255,255,0.26); border-radius: 2px; }
.video-progress::-webkit-progress-value { background: var(--green-300); border-radius: 2px; }
.video-progress::-moz-progress-bar { background: var(--green-300); border-radius: 2px; }

.video-range {
  appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer;
  height: 14px; background: transparent; accent-color: var(--green-300);
}
.video-seek { position: relative; width: 100%; }
.video-vol { flex: 0 0 70px; width: 70px; }
.video-range::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: transparent; }
.video-vol::-webkit-slider-runnable-track { background: rgba(255,255,255,0.26); }
.video-range::-moz-range-track { height: 4px; border-radius: 2px; background: transparent; }
.video-vol::-moz-range-track { background: rgba(255,255,255,0.26); }
.video-range::-webkit-slider-thumb {
  appearance: none; -webkit-appearance: none; border: 0; cursor: pointer;
  width: 12px; height: 12px; margin-top: -4px; border-radius: 50%; background: var(--white);
}
.video-range::-moz-range-thumb {
  border: 0; cursor: pointer;
  width: 12px; height: 12px; border-radius: 50%; background: var(--white);
}
.video-range:focus-visible { outline: 3px solid var(--earth-light); outline-offset: 3px; }
.video-volume { display: flex; align-items: center; gap: 0.2rem; flex: 0 0 auto; }

.video-waiting {
  position: absolute; left: 50%; top: 50%; z-index: 2;
  transform: translate(-50%, -50%);
  padding: 0.5rem 1rem; border-radius: var(--radius); line-height: 1.4;
  background: rgba(14,35,24,0.88); color: var(--white); font-size: 0.78rem;
}

.video-caption {
  margin-top: 0.9rem; max-width: var(--measure);
  font-size: 0.86rem; color: var(--text-light); line-height: 1.65;
}
.video-origin { color: var(--green-500); text-decoration: underline; text-underline-offset: 2px; }
.video-origin:hover { color: var(--green-700); }

/* Fullscreen: the box fills the screen, so letterbox the video inside it. */
.video-box.is-fullscreen {
  display: flex; align-items: center; justify-content: center;
  background: #000; border-radius: 0;
}
.video-box.is-fullscreen .video-el { width: auto; height: auto; max-width: 100vw; max-height: 100vh; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .split-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .split-media { order: -1; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .section { padding: 3.5rem 1.25rem; }
  .page-hero { padding: 2.5rem 1.25rem 2rem; }
  .hero-inner { padding: 3.5rem 1.25rem; }
  .header-inner { padding: 0 1.25rem; }
  .form-grid { grid-template-columns: 1fr; }
  .event-item, .event-item.archive { grid-template-columns: 1fr; gap: 0.6rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .doc-card { flex-wrap: wrap; }
  .doc-cta { margin-left: 3.1rem; }
  .site-footer { padding: 3rem 1.25rem 1.5rem; }
  /* The bar has to stay usable at 360px, so the two least essential controls
     step aside — both keep working from the keyboard. */
  .video-btn.skippy { display: none; }
  .video-vol { display: none; }
  .video-cover-play { width: 58px; height: 58px; }
  .video-cover-play .video-icon { width: 22px; height: 22px; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary, .hero-actions .btn-outline { justify-content: center; }
  .logo-full { display: none; }
  .video-cover-meta { display: none; }
}

/* ===== MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .btn-primary:hover, .btn-green:hover, .card:hover { transform: none; }
  .video-cover-play:hover { transform: translate(-50%, -50%); }
}

/* ===== PRINT ===== */
@media print {
  .site-header, .mobile-nav, .site-footer, .section-nav, .skip-link, .hero-leaf, .hero-bg-decor { display: none !important; }
  .page-container { padding-top: 0; }
  body { background: #fff; color: #000; }
  .page-hero { background: #fff; padding: 0 0 1rem; }
  .page-hero-title, .page-hero-label, .page-hero-sub { color: #000; }
  .section { padding: 0; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.75em; color: #555; }
  /* On paper the player is just its title card — controls and video are noise. */
  .video-box { box-shadow: none; border: 1px solid #ccc; }
  .video-el, .video-bar, .video-waiting { display: none !important; }
  .video-cover { position: static; background: #fff; padding: 1rem; }
  .video-cover::after { display: none; }
  .video-cover-title { color: #000; }
  .video-cover-label, .video-cover-meta { color: #555; }
  .video-cover-play { display: none; }
}

/* Utilities standing in for inline styles, which the strict CSP discards. */
.section-title.spaced { margin-bottom: 2.5rem; }
/* 404.html has no fixed header above it, so it needs no room reserved for one. */
.page-container.flush { padding-top: 0; }
