:root {
  --ink: #f4f5ee;
  --muted: #c5d0c2;
  --paper: #13241b;
  --surface: rgba(246, 248, 238, 0.18);
  --line: rgba(239, 244, 231, 0.18);
  --leaf: #bce58e;
  --honey: #e0b15b;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(7, 24, 15, 0.98) 0%, rgba(19, 42, 30, 0.98) 48%, rgba(42, 72, 49, 0.98) 100%),
    var(--paper);
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(12, 30, 20, 0.82);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: grid;
  gap: 1px;
  font-weight: 760;
  text-decoration: none;
}

.brand span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.nav-meta {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.imprint-trigger {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(239, 244, 231, 0.2);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(246, 248, 238, 0.08);
  font: inherit;
  font-size: 0.84rem;
  cursor: pointer;
}

.imprint-trigger:hover {
  background: rgba(246, 248, 238, 0.14);
}

.page {
  min-height: calc(100vh - 62px);
  padding: 46px 0 18px;
  background:
    linear-gradient(160deg, rgba(11, 30, 19, 0.2) 0%, rgba(27, 55, 37, 0.28) 48%, rgba(77, 107, 69, 0.26) 100%),
    linear-gradient(90deg, rgba(239, 244, 231, 0.022) 1px, transparent 1px),
    linear-gradient(rgba(239, 244, 231, 0.02) 1px, transparent 1px);
  background-size: auto, 72px 72px, 72px 72px;
}

.intro {
  max-width: 850px;
  margin-bottom: 76px;
  text-align: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 9px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-kicker {
  margin-bottom: 16px;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.05;
}

h1 {
  max-width: 850px;
  margin-inline: auto;
  font-size: clamp(2rem, 3.7vw, 3.15rem);
  font-weight: 820;
}

.lead {
  max-width: 820px;
  margin: 32px 0 0;
  margin-inline: auto;
  color: rgba(229, 235, 223, 0.84);
  font-size: 1.06rem;
  font-weight: 420;
  line-height: 1.62;
}

.lead + .lead {
  margin-top: 6px;
  color: rgba(229, 235, 223, 0.72);
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 22px;
}

.project-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 360px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.project-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(145deg, rgba(246, 248, 238, 0.22), rgba(246, 248, 238, 0.13));
}

.project-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.honey-field::after {
  right: -34px;
  bottom: -42px;
  width: 240px;
  height: 240px;
  opacity: 0.08;
  background: url("assets/bee-svgrepo-com.svg") center / contain no-repeat;
}

.pea-field::after {
  right: -42px;
  bottom: -54px;
  width: 250px;
  height: 250px;
  opacity: 0.1;
  background: url("assets/bean-green-bean-snap-svgrepo-com.svg") center / contain no-repeat;
}

.section-head {
  max-width: 560px;
  margin-bottom: 26px;
}

h2 {
  max-width: 560px;
  font-size: clamp(1.72rem, 2.55vw, 2.32rem);
  font-weight: 800;
  line-height: 1.08;
}

h2 span {
  margin-right: 6px;
  font-size: 0.82em;
}

.project-line {
  max-width: 530px;
  margin: 0 0 24px;
  color: #f2f4ea;
  font-size: 1.04rem;
  font-weight: 650;
  line-height: 1.56;
}

.research-question {
  max-width: 560px;
  margin: 0 0 24px;
  padding: 2px 0 2px 14px;
  border-left: 2px solid currentColor;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.58;
}

.project-copy {
  max-width: 560px;
  padding-top: 20px;
  border-top: 1px solid rgba(239, 244, 231, 0.14);
  color: #d8dfd2;
  font-size: 0.96rem;
  line-height: 1.62;
}

.project-copy p {
  margin: 0;
}

.project-copy p + p {
  margin-top: 16px;
}

.honey-field {
  background:
    linear-gradient(135deg, rgba(92, 66, 27, 0.48), rgba(246, 248, 238, 0.13));
}

.honey-field .section-kicker,
.honey-field .research-question {
  color: var(--honey);
}

.pea-field {
  background:
    linear-gradient(135deg, rgba(68, 112, 58, 0.42), rgba(246, 248, 238, 0.13));
}

.pea-field .section-kicker,
.pea-field .research-question {
  color: var(--leaf);
}

.footer {
  padding: 12px 0 18px;
  color: var(--muted);
  font-size: 0.86rem;
}

.imprint-menu {
  position: relative;
}

.imprint-menu:hover .imprint-dropdown,
.imprint-menu.is-open .imprint-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.imprint-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(310px, calc(100vw - 28px));
  padding: 16px;
  border: 1px solid rgba(239, 244, 231, 0.18);
  border-radius: var(--radius);
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(35, 68, 46, 0.98), rgba(13, 34, 22, 0.98));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 140ms ease, transform 140ms ease;
}

.imprint-dropdown strong {
  display: block;
  margin-bottom: 8px;
}

.imprint-dropdown address {
  color: rgba(229, 235, 223, 0.84);
  font-size: 0.86rem;
  font-style: normal;
  line-height: 1.7;
}

.imprint-dropdown a {
  text-decoration-color: rgba(224, 177, 91, 0.55);
  text-underline-offset: 3px;
}

@media (max-width: 760px) {
  .page {
    padding-top: 26px;
  }

  .project-grid {
    gap: 12px;
  }

  .project-section {
    padding: 20px;
  }

  h2 {
    font-size: 1.72rem;
  }

  .project-line {
    font-size: 0.98rem;
  }

  .research-question,
  .project-copy {
    font-size: 0.9rem;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .nav {
    min-height: 58px;
  }

  .nav-meta {
    display: none;
  }

  .imprint-trigger {
    min-height: 32px;
    padding-inline: 10px;
    font-size: 0.8rem;
  }

  .page {
    padding: 22px 0 8px;
    background-size: auto, 56px 56px, 56px 56px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.15rem;
  }

  .lead,
  .project-line {
    font-size: 1rem;
  }

  .project-section {
    min-height: auto;
    padding: 22px;
  }
}
