:root {
  --bg: #071410;
  --line: rgba(232, 233, 221, 0.14);
  --text: #f5f1e8;
  --muted: rgba(245, 241, 232, 0.72);
  --accent: #8fd1b1;
  --accent-strong: #d8b97c;
  --paper: #f4efe4;
  --paper-text: #10231d;
  --paper-muted: #485950;
  --max-width: 1240px;
  --radius: 28px;
  --header-height: 84px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(143, 209, 177, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(216, 185, 124, 0.14), transparent 22%),
    linear-gradient(180deg, #081511 0%, #0c1f18 36%, #10271f 100%);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(5, 17, 13, 0.82);
  backdrop-filter: blur(16px);
  border-color: rgba(245, 241, 232, 0.1);
}

.header-inner,
.hero-inner,
.section-inner,
.footer-inner {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  min-width: 0;
}

.brand-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: hidden;
}

.brand-badge-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-name {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  display: block;
}

.brand-subtitle {
  font-size: 0.82rem;
  color: var(--muted);
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(245, 241, 232, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle-line {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  position: relative;
  transition: transform 0.25s ease;
}

.menu-toggle-line::before,
.menu-toggle-line::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.25s ease;
}

.menu-toggle-line::before {
  top: -6px;
}

.menu-toggle-line::after {
  top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line::after {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  list-style: none;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-link {
  position: relative;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
}

.nav-dropdown-trigger::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s ease;
  order: 2;
}

.nav-dropdown[open] .nav-dropdown-trigger {
  color: var(--text);
}

.nav-dropdown[open] .nav-dropdown-trigger::after {
  transform: scaleX(1);
}

.nav-dropdown[open] .nav-dropdown-trigger::before {
  transform: rotate(-135deg) translateY(-1px);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 1rem);
  left: 0;
  min-width: 13rem;
  display: grid;
  gap: 0.2rem;
  padding: 0.6rem;
  border: 1px solid rgba(245, 241, 232, 0.12);
  border-radius: 18px;
  background: rgba(7, 20, 16, 0.96);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
  z-index: 20;
}

.nav-dropdown-link {
  padding: 0.72rem 0.85rem;
  border-radius: 12px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-dropdown-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  padding: 2rem 0 4rem;
  overflow: clip;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(5, 16, 12, 0.82) 14%, rgba(5, 16, 12, 0.46) 48%, rgba(5, 16, 12, 0.86) 100%),
    url("../images/bckgrd_img-p-1600.png") center/cover no-repeat;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -34% auto;
  width: 52vw;
  height: 52vw;
  max-width: 680px;
  max-height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 209, 177, 0.18), transparent 66%);
  z-index: -1;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: end;
  gap: 2.5rem;
  min-height: calc(100svh - var(--header-height) - 6rem);
}

.hero-copy {
  max-width: 700px;
  padding-top: 1rem;
}

.eyebrow,
.aside-kicker,
.section-label,
.story-note strong {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
}

.hero h1,
.section-title,
.partners-title,
.story-panel h3,
.feature-copy h3,
.aside-title {
  font-family: "Fraunces", serif;
  letter-spacing: -0.03em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.92;
  max-width: 8ch;
}

.hero-subtitle,
.hero-highlight,
.aside-copy p,
.access-copy p,
.section-intro,
.story-panel p,
.feature-copy p,
.footer-copy {
  line-height: 1.8;
}

.hero-subtitle {
  margin: 1.4rem 0 0;
  max-width: 32rem;
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
  color: var(--muted);
}

.hero-highlight {
  margin: 1.25rem 0 0;
  max-width: 34rem;
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  color: rgba(245, 241, 232, 0.84);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button-link,
.feature-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.96rem;
  transition: transform 0.22s ease;
}

.button-link.primary {
  background: linear-gradient(135deg, var(--accent) 0%, #cde6c5 100%);
  color: #082019;
}

.button-link.secondary,
.feature-link {
  border: 1px solid rgba(245, 241, 232, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.button-link:hover,
.feature-link:hover {
  transform: translateY(-2px);
}

.hero-aside {
  display: grid;
  gap: 1rem;
  align-self: stretch;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(245, 241, 232, 0.12);
  background: linear-gradient(180deg, rgba(12, 35, 28, 0.88), rgba(8, 20, 16, 0.94));
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.seal-row {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) minmax(140px, 0.85fr);
  align-items: center;
  gap: 1.25rem;
}

.seal-eu {
  width: 100%;
  max-width: 360px;
}

.seal-ecosteam-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  width: 100%;
  max-width: 190px;
  transition: transform 0.2s ease;
}

.seal-ecosteam-link:hover {
  transform: translateY(-2px);
}

.seal-ecosteam {
  width: 100%;
  max-width: 190px;
}

.aside-kicker {
  margin: 0;
  color: var(--accent-strong);
}

.aside-title {
  margin: 0.6rem 0 0;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.05;
}

.aside-meta {
  margin-top: 1.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(245, 241, 232, 0.12);
  display: grid;
  gap: 0.8rem;
}

.aside-meta-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
  color: rgba(245, 241, 232, 0.78);
}

.aside-meta-item span:first-child {
  color: rgba(245, 241, 232, 0.54);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  font-weight: 800;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section.light {
  background: linear-gradient(180deg, rgba(244, 239, 228, 0.98), rgba(232, 226, 211, 0.98));
  color: var(--paper-text);
}

.section.dark {
  background: linear-gradient(180deg, rgba(6, 18, 14, 0.92), rgba(9, 23, 18, 0.96));
}

.section-heading {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 2.8rem;
  max-width: 780px;
}

.section-label {
  margin: 0;
  color: var(--accent);
}

.light .section-label {
  color: #2c8a68;
}

.section-title,
.partners-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
}

.section-intro {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.light .section-intro,
.light .access-copy p,
.light .story-panel p {
  color: var(--paper-muted);
}

.story-grid,
.content-feature,
.footer-top {
  display: grid;
  gap: 2rem;
}

.access-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.access-list-simple {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: none;
  border: 0;
}

.access-item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.95rem;
  padding: 1.15rem 0;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: transform 0.18s ease, color 0.18s ease;
}

.access-item:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.access-list-simple .access-item:not(:last-child) {
  border-bottom: 0;
}

.access-list-simple .access-item:last-child {
  border-bottom: 0;
}

.access-list-simple .access-item {
  padding: 1.1rem 1.2rem;
  min-height: 96px;
  border: 1px solid rgba(16, 35, 29, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 12px 28px rgba(16, 35, 29, 0.06);
}

.light .access-item,
.story-panel,
.partners-wrap {
  border-color: rgba(16, 35, 29, 0.12);
}

.access-item:hover {
  transform: translateY(-3px);
  color: var(--accent);
}

.light .access-item:hover {
  color: #2c8a68;
  background: rgba(255, 255, 255, 0.92);
}

.access-item strong {
  order: 2;
  font-size: 1rem;
  line-height: 1.5;
}

.access-item span {
  order: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: rgba(44, 138, 104, 0.1);
  color: #2c8a68;
  opacity: 0.74;
  font-size: 0.8rem;
  font-weight: 700;
}

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

.story-panel {
  gap: 1.6rem;
  padding: 1.8rem 0 0;
  border-top: 1px solid rgba(16, 35, 29, 0.12);
}

.story-panel h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2.5vw, 2.1rem);
  line-height: 1.08;
}

.story-panel p {
  margin: 0;
  font-size: 1rem;
}

.story-notes {
  display: grid;
  gap: 1rem;
  padding-left: 1.2rem;
  border-left: 2px solid rgba(44, 138, 104, 0.2);
}

.story-notes-spaced {
  margin-top: 0.7rem;
}

.story-note {
  display: grid;
  gap: 0.35rem;
}

.story-note strong {
  color: #2c8a68;
}

.story-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-weight: 800;
  color: var(--paper-text);
}

.story-link::after {
  content: "->";
  transition: transform 0.18s ease;
}

.story-link:hover::after {
  transform: translateX(4px);
}

.story-link-row {
  padding-top: 0.8rem;
}

.content-stack {
  display: grid;
  gap: 2.5rem;
}

.content-feature {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
}

.content-feature:nth-child(even) {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.content-feature:nth-child(even) .feature-media {
  order: 2;
}

.feature-media {
  overflow: hidden;
  border-radius: calc(var(--radius) + 8px);
  min-height: 330px;
  box-shadow: var(--shadow);
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.content-feature:hover .feature-media img {
  transform: scale(1.04);
}

.feature-copy {
  display: grid;
  gap: 1rem;
  align-content: center;
}

.feature-copy h3 {
  margin: 0;
  font-size: clamp(1.85rem, 3vw, 2.7rem);
  line-height: 1.02;
}

.feature-copy p {
  margin: 0;
  color: rgba(245, 241, 232, 0.76);
}

.partners-wrap {
  display: grid;
  gap: 1.6rem;
  border-top: 1px solid rgba(16, 35, 29, 0.12);
  padding-top: 1.7rem;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1rem;
  align-items: center;
}

.partner-link {
  min-height: 106px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: 24px;
  background: rgba(16, 35, 29, 0.04);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.partner-link:hover {
  transform: translateY(-4px);
  background: rgba(16, 35, 29, 0.08);
}

.partner-link img {
  max-height: 64px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.82;
  transition: filter 0.22s ease, opacity 0.22s ease;
}

.partner-link:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.site-footer {
  padding: 3.25rem 0 2rem;
  border-top: 1px solid rgba(245, 241, 232, 0.1);
  background: rgba(4, 14, 11, 0.88);
}

.footer-inner {
  display: grid;
  gap: 1.6rem;
}

.footer-top {
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.45fr);
  align-items: start;
}

.footer-copy {
  display: grid;
  gap: 1rem;
  color: rgba(245, 241, 232, 0.72);
}

.footer-copy p {
  margin: 0;
}

.footer-side {
  display: grid;
  gap: 0.8rem;
  justify-items: start;
}

.footer-side a {
  text-decoration: none;
  font-weight: 700;
}

.footer-side a:hover {
  color: var(--accent);
}

.footer-logos {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.55rem;
}

.footer-logo {
  display: block;
  width: auto;
  max-width: 100%;
}

.footer-logo-project {
  max-height: 68px;
}

.footer-logo-eu {
  max-height: 58px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(245, 241, 232, 0.1);
  color: rgba(245, 241, 232, 0.6);
  font-size: 0.9rem;
}

.hero-animate,
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-animate.is-visible,
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-copy .hero-animate:nth-child(2) { transition-delay: 0.08s; }
.hero-copy .hero-animate:nth-child(3) { transition-delay: 0.16s; }
.hero-copy .hero-animate:nth-child(4) { transition-delay: 0.24s; }
.hero-copy .hero-animate:nth-child(5) { transition-delay: 0.32s; }

@media (max-width: 1180px) {
  .header-inner,
  .hero-inner,
  .section-inner,
  .footer-inner {
    width: min(calc(100% - 1.5rem), var(--max-width));
  }

  .hero-inner,
  .content-feature,
  .content-feature:nth-child(even),
  .footer-top {
    grid-template-columns: 1fr;
  }

  .content-feature:nth-child(even) .feature-media {
    order: 0;
  }

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

@media (max-width: 960px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    display: grid;
    gap: 1rem;
    padding: 1rem;
    background: rgba(7, 20, 16, 0.96);
    border-bottom: 1px solid rgba(245, 241, 232, 0.1);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.28s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links {
    display: grid;
    gap: 0.85rem;
  }

  .nav-link {
    font-size: 1rem;
  }

  .nav-link::after {
    bottom: -0.2rem;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    margin-top: 0.5rem;
    padding: 0.3rem 0 0 0.9rem;
    border: 0;
    border-left: 1px solid rgba(245, 241, 232, 0.12);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-dropdown-link {
    padding: 0.45rem 0;
    border-radius: 0;
  }

  .nav-dropdown-link:hover {
    background: transparent;
  }

  .hero {
    padding-top: 1rem;
  }

  .hero-inner {
    min-height: auto;
  }

  .story-grid,
  .access-list {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 74px;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button-link,
  .feature-link {
    width: 100%;
  }

  .feature-media {
    min-height: 250px;
  }

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

  .partner-link {
    min-height: 92px;
  }

  .seal-row {
    grid-template-columns: minmax(0, 1.15fr) minmax(120px, 0.85fr);
    gap: 0.9rem;
  }

  .seal-eu {
    max-width: 280px;
  }

  .seal-ecosteam-link {
    max-width: 150px;
  }

  .seal-ecosteam {
    max-width: 150px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero-animate,
  .reveal {
    opacity: 1;
    transform: none;
  }
}
