:root {
  --ink: #17302f;
  --muted: #61706d;
  --paper: #f4f1e8;
  --white: #fffdf8;
  --green: #0f4c45;
  --green-2: #1f6b5e;
  --orange: #ed7a32;
  --line: rgba(23, 48, 47, .16);
  --shadow: 0 24px 70px rgba(17, 39, 36, .14);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 10px; z-index: 100; }
.skip-link:focus { left: 10px; background: white; padding: 10px 14px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 241, 232, .9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; font-weight: 800; letter-spacing: .02em; }
.brand-mark { width: 42px; height: 42px; border-radius: 50%; background: radial-gradient(circle at 36% 32%, #ffb465 0 10%, var(--orange) 11% 34%, var(--green) 35% 100%); box-shadow: inset 0 0 0 5px rgba(255,255,255,.34); }
.brand-name { font-size: 1.3rem; text-transform: uppercase; letter-spacing: .12em; }
.site-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 10px 13px; border-radius: 999px; text-decoration: none; font-size: .91rem; font-weight: 650; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: white; background: var(--green); }
.nav-toggle { display: none; border: 1px solid var(--line); background: var(--white); border-radius: 12px; padding: 9px 12px; color: var(--ink); font: inherit; font-weight: 700; }

.hero { position: relative; overflow: hidden; color: white; background: var(--green); }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,49,44,.96), rgba(8,49,44,.64) 58%, rgba(8,49,44,.2)), var(--hero-image, url('../../templates/micromidas/images/hp_bg.jpg')) center/cover; }
.hero::after { content: ""; position: absolute; right: -8%; top: -35%; width: 520px; height: 520px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.035), 0 0 0 145px rgba(255,255,255,.025); }
.hero .container { position: relative; z-index: 1; min-height: 570px; display: grid; align-content: center; padding-block: 90px; }
.hero.compact .container { min-height: 390px; }
.eyebrow { margin: 0 0 14px; color: #ffc187; text-transform: uppercase; letter-spacing: .19em; font-size: .78rem; font-weight: 800; }
.hero h1 { max-width: 820px; margin: 0; font-family: Georgia, serif; font-size: clamp(3rem, 7vw, 6.5rem); font-weight: 500; line-height: .97; letter-spacing: -.055em; }
.hero.compact h1 { font-size: clamp(2.7rem, 6vw, 5.2rem); }
.hero-copy { max-width: 650px; margin: 26px 0 0; color: rgba(255,255,255,.83); font-size: clamp(1.03rem, 2vw, 1.24rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 12px 19px; border: 1px solid transparent; border-radius: 999px; color: white; background: var(--orange); text-decoration: none; font-weight: 750; }
.button:hover { transform: translateY(-1px); filter: brightness(1.04); }
.button.secondary { border-color: rgba(255,255,255,.4); background: transparent; }

.section { padding-block: 92px; }
.section.alt { background: var(--white); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.section-head h2, .content h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(2.15rem, 5vw, 4.2rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 500; }
.section-head p { max-width: 570px; margin: 0; color: var(--muted); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 9px 30px rgba(17,39,36,.05); }
.card-body { padding: 25px; }
.card h3 { margin: 0 0 10px; font-size: 1.18rem; line-height: 1.25; }
.card p { margin: 0; color: var(--muted); }
.card-image { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.number { display: block; margin-bottom: 23px; color: var(--orange); font-family: Georgia, serif; font-size: 2rem; }

.split { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); align-items: center; gap: clamp(38px, 7vw, 90px); }
.split.reverse > :first-child { order: 2; }
.feature-image { width: 100%; min-height: 430px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.content p { color: var(--muted); font-size: 1.04rem; }
.content .lead { color: var(--ink); font-size: 1.25rem; }
.text-link { color: var(--green-2); font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.person { padding: 18px; }
.person img, .avatar { width: 100%; aspect-ratio: 4/5; border-radius: 16px; object-fit: cover; background: #d9dfd6; }
.avatar { display: grid; place-items: center; color: white; background: linear-gradient(145deg, var(--green-2), var(--green)); font: 500 4rem Georgia, serif; }
.person h3 { margin: 16px 0 2px; }
.role { color: var(--orange); font-weight: 700; }
.advisor { display: grid; grid-template-columns: 180px 1fr; gap: 32px; align-items: start; }
.advisor img { width: 180px; border-radius: 18px; }

.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.news-card { display: grid; grid-template-columns: 190px 1fr; min-height: 190px; }
.news-card .card-image { height: 100%; aspect-ratio: auto; }
.news-card a { color: var(--green-2); font-weight: 750; }
.news-card a[target="_blank"]::after { content: " ↗"; }

.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.process-step { padding: 25px; border-top: 3px solid var(--orange); background: rgba(255,255,255,.7); }
.process-step h3 { margin: 0 0 8px; }
.process-step p { margin: 0; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; align-items: stretch; }
.contact-panel { padding: clamp(28px, 5vw, 54px); border-radius: var(--radius); color: white; background: var(--green); }
.contact-panel h2 { margin-top: 0; font-family: Georgia, serif; font-size: 2.7rem; font-weight: 500; }
.contact-panel a { color: #ffc187; }
.map-link { position: relative; min-height: 390px; overflow: hidden; border-radius: var(--radius); }
.map-link img { width: 100%; height: 100%; object-fit: cover; image-rendering: auto; }
.map-link span { position: absolute; right: 18px; bottom: 18px; padding: 10px 15px; border-radius: 999px; color: white; background: var(--green); font-weight: 700; }
.notice { padding: 22px 25px; border-left: 4px solid var(--orange); background: #fff7ed; }

.site-footer { padding-block: 42px; color: rgba(255,255,255,.72); background: #102c2a; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: white; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; top: 72px; left: 20px; right: 20px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
  .site-nav.open { display: block; }
  .site-nav ul { display: block; }
  .site-nav a { padding: 11px 14px; }
  .grid-3, .people-grid, .process { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: initial; }
  .news-grid { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .section-head p { margin-top: 14px; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 72px; }
  .brand-name { font-size: 1.06rem; }
  .hero .container { min-height: 500px; padding-block: 68px; }
  .hero.compact .container { min-height: 340px; }
  .section { padding-block: 64px; }
  .grid-3, .people-grid, .process { grid-template-columns: 1fr; }
  .news-card { grid-template-columns: 1fr; }
  .news-card .card-image { height: 170px; }
  .advisor { grid-template-columns: 1fr; }
  .advisor img { width: 150px; }
  .footer-inner { display: block; }
  .footer-links { margin-top: 18px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
