/* ==========================================================
   MEMENTO DERMALYS — Stylesheet
   ========================================================== */

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); background: var(--cream); color: var(--ink); line-height: 1.6; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }
button { font: inherit; border: none; background: none; cursor: pointer; }
input { font: inherit; }
em { font-style: italic; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* === TOKENS === */
:root {
  --forest:      #1C3A2F;
  --forest-deep: #162E25;
  --forest-mid:  #2D5445;
  --sage:        #4A7C6F;
  --sage-pale:   #EAF0ED;
  --sage-mid:    #B8D4CF;
  --cream:       #FAF8F3;
  --cream-dark:  #F0EAE0;
  --terra:       #C8714A;
  --terra-dark:  #A85A38;
  --terra-light: #E8956E;
  --white:       #FFFFFF;
  --ink:         #1A1A18;
  --ink-mid:     #3D3D38;
  --ink-muted:   #6B6860;
  --ink-faint:   #A8A49D;
  --border:      #E5E1D8;
  --border-pale: #F0EDE7;

  --sans:   'Plus Jakarta Sans', system-ui, sans-serif;
  --serif:  'Lora', Georgia, serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease:     cubic-bezier(0.4, 0, 0.2, 1);

  --shadow-sm: 0 1px 3px rgba(26,26,24,.06), 0 1px 2px rgba(26,26,24,.04);
  --shadow-md: 0 4px 16px rgba(26,26,24,.09), 0 2px 6px rgba(26,26,24,.04);
  --shadow-lg: 0 16px 48px rgba(26,26,24,.11), 0 4px 16px rgba(26,26,24,.06);
}

/* === LAYOUT === */
.container { max-width: 1200px; margin-inline: auto; padding-inline: 1.5rem; }

/* === SHARED COMPONENTS === */

/* Label tag */
.label-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.25rem;
}
.label-tag::before {
  content: '';
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--sage);
  flex-shrink: 0;
}
.label-tag--light { color: var(--sage-mid); }
.label-tag--light::before { background: var(--sage-mid); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  padding: .75em 1.75em;
  border-radius: 9999px;
  font-family: var(--sans);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1;
  transition: background .25s var(--ease-out), color .25s var(--ease-out),
              transform .25s var(--ease-out), box-shadow .25s var(--ease-out),
              border-color .25s var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn--terra {
  background: var(--terra);
  color: var(--white);
  box-shadow: 0 2px 10px rgba(200,113,74,.35);
}
.btn--terra:hover { background: var(--terra-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200,113,74,.4); }

.btn--ghost {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
  border-color: rgba(255,255,255,.2);
}
.btn--ghost:hover { background: rgba(255,255,255,.18); color: #fff; border-color: rgba(255,255,255,.35); }

.btn--outline {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}
.btn--outline:hover { background: var(--forest); color: var(--cream); }

.btn--outline-light {
  background: transparent;
  color: rgba(255,255,255,.8);
  border-color: rgba(255,255,255,.3);
}
.btn--outline-light:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.5); }

.btn--forest {
  background: var(--forest);
  color: var(--cream);
}
.btn--forest:hover { background: var(--forest-mid); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--dark-nl {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
  flex-shrink: 0;
}
.btn--dark-nl:hover { background: var(--forest-mid); }

/* === SCROLL ANIMATIONS === */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
[data-animate="fade-right"] { transform: translateX(-28px); }
[data-animate="fade-left"]  { transform: translateX(28px); }
[data-animate].is-visible   { opacity: 1; transform: translate(0); }

/* === NAVIGATION === */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .5s var(--ease-out), box-shadow .5s var(--ease-out), backdrop-filter .5s;
}
.nav.is-scrolled {
  background: rgba(250,248,243,.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 2rem;
}
.nav__logo-img {
  height: 34px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter .4s var(--ease-out), opacity .2s;
}
.nav.is-scrolled .nav__logo-img { filter: none; }
.nav__logo:hover .nav__logo-img { opacity: .8; }

.nav__links {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav__link {
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  padding: .4rem .75rem;
  border-radius: 6px;
  transition: color .15s, background .15s;
}
.nav.is-scrolled .nav__link { color: var(--ink-mid); }
.nav__link:hover { color: #fff; background: rgba(255,255,255,.1); }
.nav.is-scrolled .nav__link:hover { color: var(--forest); background: var(--sage-pale); }

.nav__link--active {
  color: var(--forest) !important;
  font-weight: 700 !important;
  background: #fff !important;
}
.nav.is-scrolled .nav__link--active {
  color: #fff !important;
  font-weight: 700 !important;
  background: var(--forest) !important;
}

.nav__link--cta {
  background: rgba(200,113,74,.85) !important;
  color: #fff !important;
  padding: .4rem 1.1rem;
}
.nav__link--cta:hover { background: var(--terra) !important; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .4rem;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(255,255,255,.85);
  border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .3s, background .4s;
}
.nav.is-scrolled .nav__burger span { background: var(--ink); }
.nav__burger.is-active span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav__burger.is-active span:nth-child(2) { opacity: 0; }
.nav__burger.is-active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* === NAV DROPDOWN === */
.nav__item { position: relative; }
.nav__item-link {
  display: inline-flex; align-items: center; gap: .3rem;
}
.nav__chevron {
  width: 10px; height: 10px; flex-shrink: 0;
  transition: transform .2s var(--ease-out);
  color: inherit; opacity: .6;
}
.nav__item:hover .nav__chevron,
.nav__item.is-open .nav__chevron { transform: rotate(180deg); opacity: 1; }

.nav__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%; transform: translateX(-50%) translateY(-6px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: .5rem;
  min-width: 310px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s var(--ease-out), transform .18s var(--ease-out), visibility .18s;
  z-index: 200;
}
.nav__item:hover .nav__dropdown,
.nav__item.is-open .nav__dropdown {
  opacity: 1; visibility: visible; pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown::before {
  content: ''; position: absolute; top: -5px; left: 50%; transform: translateX(-50%);
  width: 10px; height: 10px; background: var(--white);
  border-left: 1px solid var(--border); border-top: 1px solid var(--border);
  rotate: 45deg; border-radius: 2px 0 0 0;
}
.nav__dropdown-link {
  display: flex; align-items: center; gap: .75rem;
  padding: .6rem .75rem;
  border-radius: 10px;
  transition: background .12s, color .12s;
}
.nav__dropdown-link:hover { background: var(--sage-pale); }
.nav__dropdown-link--active { background: var(--sage-pale); }
.nav__dropdown-link__img {
  width: 44px; height: 44px; border-radius: 8px;
  object-fit: cover; flex-shrink: 0;
  filter: saturate(.75); transition: filter .15s;
}
.nav__dropdown-link:hover .nav__dropdown-link__img { filter: saturate(1); }
.nav__dropdown-link__name {
  display: block; font-family: var(--sans); font-size: .84rem; font-weight: 700;
  color: var(--ink); line-height: 1.2;
}
.nav__dropdown-link--active .nav__dropdown-link__name { color: var(--forest); }
.nav__dropdown-link__sub {
  display: block; font-family: var(--serif); font-size: .72rem;
  color: var(--ink-faint); margin-top: .15rem; line-height: 1.3;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--forest);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero__noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: .03;
  pointer-events: none;
  z-index: 0;
}
.hero__container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  flex: 1;
  padding-top: 130px;
  padding-bottom: 6rem;
}

/* Hero content */
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--sans);
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: rgba(255,255,255,.55);
  animation: riseIn .9s var(--ease-out) both;
}
.hero__pulse {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--terra);
  flex-shrink: 0;
  animation: pulse 2.8s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(200,113,74,.45); }
  50%      { box-shadow: 0 0 0 7px rgba(200,113,74,0); }
}
.hero__headline {
  font-family: var(--sans);
  font-size: clamp(2.6rem, 5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.08;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: .04em;
  animation: riseIn .9s .1s var(--ease-out) both;
}
.hero__line { display: block; }
.hero__line--serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: .87em;
  color: rgba(255,255,255,.65);
}
.hero__sub {
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: rgba(255,255,255,.6);
  max-width: 460px;
  animation: riseIn .9s .2s var(--ease-out) both;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  animation: riseIn .9s .3s var(--ease-out) both;
}

/* Hero visual */
.hero__visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 440px;
  justify-self: center;
  animation: fadeIn 1.2s .4s var(--ease-out) both;
}
.hero__orbit {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.06);
  transform: translate(-50%, -50%);
}
.hero__orbit--1 { width: 95%; height: 75%;  border-color: rgba(255,255,255,.05); animation: spin  90s linear infinite; }
.hero__orbit--2 { width: 70%; height: 55%;  border-color: rgba(255,255,255,.07); animation: spin -65s linear infinite; }
.hero__orbit--3 { width: 50%; height: 38%;  border-color: rgba(200,113,74,.12);  animation: spin  45s linear infinite; }
.hero__orbit--4 { width: 28%; height: 22%;  border-color: rgba(200,113,74,.22);  animation: spin -28s linear infinite; }

@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.hero__blob {
  position: absolute;
  top: 50%; left: 50%;
  width: 52%; height: 52%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at 45% 40%, var(--forest-mid) 0%, var(--forest) 70%);
  border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%;
  animation: morph 12s ease-in-out infinite, glow 7s ease-in-out infinite;
}
@keyframes morph {
  0%,100% { border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%; }
  25%     { border-radius: 40% 60% 45% 55% / 55% 45% 55% 45%; }
  50%     { border-radius: 50% 50% 65% 35% / 38% 62% 38% 62%; }
  75%     { border-radius: 45% 55% 38% 62% / 62% 38% 62% 38%; }
}
@keyframes glow {
  0%,100% { box-shadow: 0 0 60px rgba(74,124,111,.18), 0 0 100px rgba(74,124,111,.08); }
  50%     { box-shadow: 0 0 90px rgba(74,124,111,.28), 0 0 160px rgba(74,124,111,.13); }
}

.hero__dot {
  position: absolute;
  border-radius: 50%;
}
.hero__dot--a { width: 9px;  height: 9px;  top: 17%; right: 20%; background: var(--terra);    opacity: .7;  animation: float  8s ease-in-out infinite; }
.hero__dot--b { width: 5px;  height: 5px;  bottom: 26%; left: 10%; background: var(--terra);   opacity: .4;  animation: float 11s 2s ease-in-out infinite; }
.hero__dot--c { width: 11px; height: 11px; bottom: 16%; right: 14%; background: var(--sage-mid); opacity: .25; animation: float 13s 4s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* Scroll hint */
.hero__scroll-hint {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  padding-bottom: 2rem;
  color: rgba(255,255,255,.3);
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero__scroll-bar {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.3));
  animation: scrollbar 2.2s ease-in-out infinite;
}
@keyframes scrollbar {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50%  { transform: scaleY(1); opacity: 1; }
  100% { transform-origin: bottom; opacity: 0; }
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* === EXPLAINER === */
.explainer {
  background: var(--cream);
  padding: 7rem 0;
  border-bottom: 1px solid var(--border);
}
.explainer__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}
.explainer__headline {
  font-family: var(--sans);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink);
  margin-top: .25rem;
}
.explainer__body {
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.78;
  color: var(--ink-mid);
  margin-bottom: 1.25rem;
}
.explainer__body em { color: var(--sage); }

/* Info cards (Symptome + Betroffene Stellen) */
.explainer__infocard {
  margin-top: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem 1.5rem 1.4rem;
  box-shadow: var(--shadow-sm);
}

.explainer__infocard-title {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1rem;
}
.explainer__infocard-title svg { flex-shrink: 0; color: var(--sage); }

/* Symptom list */
.symptom-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem .75rem;
  list-style: none;
}
.symptom-list li {
  font-family: var(--sans);
  font-size: .875rem;
  color: var(--ink-mid);
  display: flex;
  align-items: center;
  gap: .55rem;
  line-height: 1.4;
}
.symptom-list li::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--terra);
  flex-shrink: 0;
}

/* Areas layout */
.areas-layout {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}
.areas-image {
  width: 320px;
  height: auto;
  flex-shrink: 0;
  border-radius: 8px;
  object-fit: contain;
}

/* Area tags */
.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  justify-content: flex-end;
  align-content: flex-start;
}
.area-tag {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 600;
  color: var(--forest);
  background: var(--sage-pale);
  border: 1px solid #c8deda;
  border-radius: 9999px;
  padding: .3rem .85rem;
  transition: background .18s, border-color .18s;
}
.area-tag:hover {
  background: #d4e8e4;
  border-color: var(--sage-mid);
}

.symptom-list li::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--terra);
  flex-shrink: 0;
  margin-top: .3rem;
}

.explainer__chips {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.75rem;
}

.explainer__gallery-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  width: 100%;
  text-decoration: none;
  transition: transform .25s var(--ease-out);
  cursor: pointer;
}
.explainer__gallery-btn:hover {
  transform: translateX(4px);
}
.explainer__gallery-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--sage-pale);
  color: var(--sage);
  flex-shrink: 0;
  transition: background .25s, color .25s;
}
.explainer__gallery-btn:hover .explainer__gallery-icon {
  background: var(--sage);
  color: var(--white);
}
.explainer__gallery-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.explainer__gallery-label {
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 700;
  color: var(--forest);
  line-height: 1.2;
}
.explainer__gallery-sub {
  font-family: var(--sans);
  font-size: .8rem;
  color: var(--ink-muted);
  line-height: 1.3;
}
.explainer__gallery-arrow {
  color: var(--ink-faint);
  flex-shrink: 0;
  transition: transform .25s var(--ease-out), color .25s;
}
.explainer__gallery-btn:hover .explainer__gallery-arrow {
  transform: translateX(4px);
  color: var(--sage);
}

.explainer__submit-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 2rem;
  font-family: var(--sans);
  font-size: .8125rem;
  font-weight: 500;
  color: var(--ink-muted);
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: .45rem 1rem;
  transition: color .2s, border-color .2s, background .2s;
}
.explainer__submit-btn:hover {
  color: var(--forest);
  border-color: var(--sage-mid);
  background: var(--sage-pale);
}
.chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out);
}
.chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.chip__label {
  font-family: var(--sans);
  font-size: .875rem;
  font-weight: 700;
  color: var(--forest);
}
.chip__sub {
  font-family: var(--sans);
  font-size: .75rem;
  color: var(--ink-muted);
}

/* === WISSENS-HUB === */
.hub {
  background: var(--white);
  padding: 7rem 0;
}
.hub__header {
  max-width: 580px;
  margin-bottom: 3.5rem;
}
.hub__title {
  font-family: var(--sans);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--ink);
  margin-bottom: 1rem;
}
.hub__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--sage);
}
.hub__sub {
  font-family: var(--serif);
  font-size: 1.0625rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

/* Mosaic grid */
.hub__mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

/* Base card */
.card {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.card__body {
  padding: 2.25rem 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

/* Card 1: forest */
.card--forest {
  grid-column: 1;
  grid-row: 1;
  background: var(--forest);
  min-height: 330px;
}
/* Card 2: cream */
.card--cream {
  grid-column: 2;
  grid-row: 1;
  background: var(--cream);
  border: 1px solid var(--border);
}
/* Card 3: sage wide */
.card--sage {
  grid-column: 1 / -1;
  grid-row: 2;
  background: var(--sage-pale);
  border: 1px solid #d4e8e4;
}

/* Wide card inner layout */
.card__body--wide {
  display: grid;
  grid-template-areas:
    "tag tag"
    "title excerpt"
    "foot foot";
  grid-template-columns: 1fr 1fr;
  column-gap: 3rem;
  row-gap: 1.1rem;
  padding-bottom: 2rem;
}
.card__body--wide .card__tag   { grid-area: tag; }
.card__body--wide .card__wide-grid { display: contents; }
.card__body--wide .card__title { grid-area: title; align-self: center; }
.card__body--wide .card__excerpt { grid-area: excerpt; align-self: center; }
.card__body--wide .card__foot  { grid-area: foot; }

/* Card tags */
.card__tag {
  display: inline-flex;
  align-self: flex-start;
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 9999px;
}
.card__tag--ghost  { background: rgba(255,255,255,.12); color: rgba(255,255,255,.65); }
.card__tag--sage   { background: var(--sage-pale); color: var(--sage); border: 1px solid #d4e8e4; }
.card__tag--forest { background: rgba(28,58,47,.12); color: var(--forest); }

/* Card titles */
.card__title {
  font-family: var(--sans);
  font-weight: 700;
  line-height: 1.3;
}
.card--forest .card__title { font-size: clamp(1.15rem, 2vw, 1.45rem); color: var(--white); }
.card--cream  .card__title { font-size: 1.05rem; color: var(--ink); }
.card--sage   .card__title { font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: var(--forest); }

/* Card excerpts */
.card__excerpt {
  font-family: var(--serif);
  font-size: .9375rem;
  line-height: 1.68;
  flex: 1;
}
.card--forest .card__excerpt { color: rgba(255,255,255,.6); }
.card--cream  .card__excerpt { color: var(--ink-muted); }
.card--sage   .card__excerpt { color: var(--ink-mid); }

/* Card footer */
.card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.1rem;
  border-top: 1px solid;
  margin-top: auto;
}
.card--forest .card__foot { border-color: rgba(255,255,255,.1); }
.card--cream  .card__foot { border-color: var(--border); }
.card--sage   .card__foot { border-color: #d4e8e4; }

.card__time {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 500;
}
.card--forest .card__time { color: rgba(255,255,255,.4); }
.card--cream  .card__time { color: var(--ink-faint); }
.card--sage   .card__time { color: var(--ink-muted); }

.card__cta {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-family: var(--sans);
  font-size: .875rem;
  font-weight: 700;
  transition: gap .18s;
}
.card__cta:hover { gap: .55rem; }
.card--forest .card__cta { color: var(--terra-light); }
.card--cream  .card__cta { color: var(--forest); }
.card--sage   .card__cta { color: var(--sage); }

/* Card decoration rings (featured card only) */
.card__rings {
  position: absolute;
  right: -40px; bottom: -40px;
  width: 190px; height: 190px;
  pointer-events: none;
}
.card__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.06);
}
.card__ring--a { inset: 0; }
.card__ring--b { inset: 28%; border-color: rgba(200,113,74,.1); }

/* === CATEGORY CARDS === */
.hub__mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.cat-card {
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  gap: 1.25rem;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.cat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Colour variants */
.cat-card--forest { background: var(--forest); }
.cat-card--cream  { background: var(--cream); border: 1px solid var(--border); }
.cat-card--sage   { background: var(--sage-pale); border: 1px solid #c8deda; }
.cat-card--terra  { background: var(--terra); }

/* Icon */
.cat-card__icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  flex-shrink: 0;
  overflow: hidden;
}
.cat-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Body */
.cat-card__body { flex: 1; display: flex; flex-direction: column; gap: .6rem; }

.cat-card__title {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1.25;
}
.cat-card--forest .cat-card__title { color: var(--white); }
.cat-card--cream  .cat-card__title { color: var(--ink); }
.cat-card--sage   .cat-card__title { color: var(--forest); }
.cat-card--terra  .cat-card__title { color: var(--white); }

.cat-card__desc {
  font-family: var(--serif);
  font-size: .9375rem;
  line-height: 1.65;
}
.cat-card--forest .cat-card__desc { color: rgba(255,255,255,.6); }
.cat-card--cream  .cat-card__desc { color: var(--ink-muted); }
.cat-card--sage   .cat-card__desc { color: var(--ink-mid); }
.cat-card--terra  .cat-card__desc { color: rgba(255,255,255,.75); }
.cat-card__desc em { font-style: italic; }

/* Meta footer */
.cat-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.1rem;
  border-top: 1px solid;
  margin-top: auto;
}
.cat-card--forest .cat-card__meta { border-color: rgba(255,255,255,.1); }
.cat-card--cream  .cat-card__meta { border-color: var(--border); }
.cat-card--sage   .cat-card__meta { border-color: #c8deda; }
.cat-card--terra  .cat-card__meta { border-color: rgba(255,255,255,.18); }

.cat-card__stats {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

/* Activity bars — shared */
.activity-scale { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.activity-scale__label { font-family: var(--sans); font-size: .58rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.activity-scale__bars { display: flex; align-items: flex-end; gap: 2px; }
.activity-bar { width: 3px; height: 14px; border-radius: 2px; flex-shrink: 0; }

/* Activity bar colours per cat-card variant */
.cat-card--forest .activity-scale__label { color: rgba(255,255,255,.5); }
.cat-card--forest .activity-bar.is-on  { background: rgba(255,255,255,.85); }
.cat-card--forest .activity-bar.is-off { background: rgba(255,255,255,.13); }
.cat-card--cream  .activity-scale__label { color: var(--ink-muted); }
.cat-card--cream  .activity-bar.is-on  { background: var(--forest); }
.cat-card--cream  .activity-bar.is-off { background: rgba(28,58,47,.12); }
.cat-card--sage   .activity-scale__label { color: var(--ink-muted); }
.cat-card--sage   .activity-bar.is-on  { background: var(--forest); }
.cat-card--sage   .activity-bar.is-off { background: rgba(28,58,47,.14); }
.cat-card--terra  .activity-scale__label { color: rgba(255,255,255,.55); }
.cat-card--terra  .activity-bar.is-on  { background: rgba(255,255,255,.85); }
.cat-card--terra  .activity-bar.is-off { background: rgba(255,255,255,.18); }
.cat-card__stat {
  font-family: var(--sans);
  font-size: .78rem;
}
.cat-card__stat strong { font-weight: 700; }
.cat-card--forest .cat-card__stat { color: rgba(255,255,255,.5); }
.cat-card--forest .cat-card__stat strong { color: rgba(255,255,255,.85); }
.cat-card--cream  .cat-card__stat { color: var(--ink-faint); }
.cat-card--cream  .cat-card__stat strong { color: var(--ink-mid); }
.cat-card--sage   .cat-card__stat { color: var(--ink-muted); }
.cat-card--sage   .cat-card__stat strong { color: var(--forest); }
.cat-card--terra  .cat-card__stat { color: rgba(255,255,255,.6); }
.cat-card--terra  .cat-card__stat strong { color: var(--white); }

.cat-card__link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-family: var(--sans);
  font-size: .875rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  transition: gap .18s;
}
.cat-card__link:hover { gap: .6rem; }
.cat-card--forest .cat-card__link { color: var(--terra-light); }
.cat-card--cream  .cat-card__link { color: var(--forest); }
.cat-card--sage   .cat-card__link { color: var(--sage); }
.cat-card--terra  .cat-card__link { color: var(--white); }

/* Responsive */
@media (max-width: 640px) {
  .hub__mosaic { grid-template-columns: 1fr; }
}

.hub__more {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

/* === MISSION === */
.mission {
  background: var(--forest);
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}
.mission__noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: .025;
  pointer-events: none;
}
.mission__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.mission__headline {
  font-family: var(--sans);
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 1.5rem;
  margin-top: .25rem;
}
.mission__headline em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--sage-mid);
}
.mission__body {
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.78;
  color: rgba(255,255,255,.6);
  margin-bottom: 2rem;
}
.mission__values {
  display: flex;
  flex-direction: column;
}
.value {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: border-color .25s;
}
.value:last-child { border-bottom: none; }
.value:hover { border-bottom-color: rgba(255,255,255,.16); }
.value__num {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--terra);
  padding-top: 3px;
}
.value__title {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .3rem;
}
.value__desc {
  font-family: var(--serif);
  font-size: .9375rem;
  line-height: 1.62;
  color: rgba(255,255,255,.5);
}

/* === COMMUNITY === */
.community {
  background: var(--sage-pale);
  padding: 7rem 0;
  border-top: 1px solid #d4e8e4;
  border-bottom: 1px solid #d4e8e4;
}
.community__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  gap: 1.25rem;
}
.community__badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--terra);
  padding: 5px 14px;
  border-radius: 9999px;
}
.community__headline {
  font-family: var(--sans);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--forest);
  line-height: 1.2;
}
.community__body {
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink-mid);
}
.community__hint {
  font-family: var(--sans);
  font-size: .875rem;
  color: var(--ink-muted);
}

/* === NEWSLETTER === */
.newsletter {
  background: var(--terra);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.newsletter__deco-a {
  position: absolute;
  top: -110px; right: -110px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  pointer-events: none;
}
.newsletter__deco-b {
  position: absolute;
  bottom: -90px; left: 8%;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(0,0,0,.05);
  pointer-events: none;
}
.newsletter__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.newsletter__headline {
  font-family: var(--sans);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}
.newsletter__sub {
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.72;
  color: rgba(255,255,255,.82);
}
.newsletter__row {
  display: flex;
  gap: .75rem;
  margin-bottom: .75rem;
}
.newsletter__input {
  flex: 1;
  padding: .8rem 1.25rem;
  border-radius: 9999px;
  border: none;
  outline: none;
  background: rgba(255,255,255,.93);
  font-size: .9375rem;
  color: var(--ink);
  transition: background .2s, box-shadow .2s;
}
.newsletter__input::placeholder { color: var(--ink-faint); }
.newsletter__input:focus {
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(255,255,255,.32);
}
.newsletter__legal {
  font-family: var(--sans);
  font-size: .75rem;
  color: rgba(255,255,255,.6);
}
.newsletter__legal a { color: rgba(255,255,255,.85); text-decoration: underline; text-underline-offset: 2px; }
.newsletter__success {
  margin-top: .75rem;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 12px;
  color: var(--white);
  font-family: var(--sans);
  font-size: .9375rem;
  font-weight: 500;
}
.newsletter__success[hidden] { display: none; }

/* === FOOTER === */
.footer {
  background: var(--forest-deep);
  padding: 5rem 0 2.5rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  align-items: start;
}
.footer__logo {
  height: 30px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
  opacity: .85;
}
.footer__tagline {
  font-family: var(--serif);
  font-size: .9375rem;
  line-height: 1.65;
  color: rgba(255,255,255,.38);
  max-width: 320px;
}
.footer__nav { display: flex; gap: 3.5rem; }
.footer__col-title {
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 1.1rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: .75rem; }
.footer__col a {
  font-family: var(--sans);
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  transition: color .15s;
}
.footer__col a:hover { color: var(--white); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: .75rem;
  padding-top: 2rem;
}
.footer__bottom p {
  font-family: var(--sans);
  font-size: .8rem;
  color: rgba(255,255,255,.28);
}
.footer__disclaimer { max-width: 420px; text-align: right; }

/* === RESPONSIVE === */

/* Tablet */
@media (max-width: 1024px) {
  .hero__container {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding-top: 120px;
    gap: 3.5rem;
  }
  .hero__content { align-items: center; }
  .hero__sub { text-align: center; }
  .hero__visual { max-width: 300px; }

  .explainer__grid,
  .mission__grid,
  .newsletter__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hub__mosaic {
    grid-template-columns: 1fr;
  }
  .card--forest, .card--cream, .card--sage {
    grid-column: 1;
    grid-row: auto;
  }
  .card__body--wide {
    grid-template-columns: 1fr;
    grid-template-areas:
      "tag"
      "title"
      "excerpt"
      "foot";
  }

  .footer__grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* Mobile */
@media (max-width: 768px) {
  .container { padding-inline: 1.25rem; }

  .nav__links {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(12, 28, 22, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .25rem;
    padding: 5rem 2.5rem 4rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform .4s cubic-bezier(.4,0,.2,1), opacity .25s;
  }
  .nav__links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav__links li { width: 100%; }
  .nav__link {
    display: block !important;
    color: rgba(255,255,255,.6) !important;
    font-size: 1.15rem !important;
    font-weight: 600 !important;
    padding: 1rem 1.5rem !important;
    border-radius: 12px !important;
    width: 100% !important;
    text-align: left !important;
    letter-spacing: .01em;
    border-bottom: 1px solid rgba(255,255,255,.06) !important;
    border-radius: 0 !important;
    background: none !important;
    transition: color .15s, background .15s !important;
  }
  .nav__links li:last-child .nav__link { border-bottom: none !important; }
  .nav__link:hover,
  .nav__link:focus { color: #fff !important; background: rgba(255,255,255,.06) !important; }
  .nav__link--active {
    color: #fff !important;
    font-weight: 700 !important;
    background: rgba(255,255,255,.1) !important;
    border-left: 3px solid rgba(255,255,255,.6) !important;
    padding-left: calc(1.5rem - 3px) !important;
  }
  .nav__link--active::after { display: none; }
  .nav__link--cta {
    display: block !important;
    margin-top: 1.5rem !important;
    background: rgba(200,113,74,.9) !important;
    color: #fff !important;
    text-align: center !important;
    border-radius: 12px !important;
    border-bottom: none !important;
    font-size: 1rem !important;
    padding: 1rem 1.5rem !important;
  }
  .nav__link--cta:hover { background: var(--terra) !important; color: #fff !important; }

  .nav__burger { display: flex; }
  .nav.is-scrolled .nav__burger span { background: var(--ink); }

  /* Dropdown mobile: inline expand */
  .nav__item { width: 100%; }
  .nav__dropdown {
    position: static; transform: none;
    opacity: 1; visibility: visible; pointer-events: all;
    background: transparent; border: none; border-radius: 0;
    box-shadow: none; padding: 0; min-width: 0;
    display: none;
  }
  .nav__dropdown::before { display: none; }
  .nav__item.is-open .nav__dropdown { display: block; transform: none !important; }
  .nav__dropdown-link {
    color: rgba(255,255,255,.45) !important;
    padding: .65rem 1.5rem .65rem 2.25rem !important;
    border-bottom: 1px solid rgba(255,255,255,.06) !important;
    border-radius: 0 !important; font-size: .85rem !important;
  }
  .nav__dropdown-link__img { display: none; }
  .nav__dropdown-link__name { color: rgba(255,255,255,.55) !important; font-weight: 500 !important; }
  .nav__dropdown-link__sub { display: none; }
  .nav__dropdown-link:hover { background: rgba(255,255,255,.05) !important; color: rgba(255,255,255,.85) !important; }
  .nav__dropdown-link--active { color: rgba(255,255,255,.9) !important; font-weight: 600 !important; }
  .nav__item .nav__item-link { display: flex !important; justify-content: space-between; align-items: center; }
  .nav__chevron { display: inline-flex; opacity: .7; }

  .hero__scroll-hint { display: none; }

  .explainer__chips { flex-direction: column; }
  .chip { width: 100%; }

  .card__body--wide { grid-template-columns: 1fr; grid-template-areas: "tag" "title" "excerpt" "foot"; }

  .areas-layout { flex-direction: column; }
  .areas-image { width: 100%; max-width: 320px; }
  .area-tags { justify-content: flex-start; }

  .newsletter__row { flex-direction: column; }
  .newsletter__input { border-radius: 10px; }
  .btn--dark-nl { border-radius: 10px; }

  .footer__nav { gap: 2.5rem; }
  .footer__bottom { flex-direction: column; }
  .footer__disclaimer { text-align: left; }
}

@media (max-width: 480px) {
  .hero__headline { font-size: 2.3rem; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { justify-content: center; width: 100%; }
  .card__body { padding: 1.5rem 1.5rem 1.4rem; }
}
