/* =====================================================================
   Renaissance Verte — luxury × organic eco
   ===================================================================== */

:root {
  /* palette */
  --cream:      #faf8f3;
  --cream-2:    #f3efe6;
  --paper:      #ffffff;
  --forest:     #2e4034;   /* deep forest green */
  --forest-2:   #243329;
  --moss:       #3a5240;
  --sage:       #8ba888;
  --sand:       #d8cdb8;
  --sand-deep:  #b9a988;
  --accent-text: #7a6533;   /* readable bronze for label text (WCAG AA ≥4.5 on light bg) */
  --ink:        #1a1f1c;
  --ink-soft:   #4a514a;
  --line:       #e4ddd0;

  /* type */
  --serif: "Cormorant Garamond", "Cormorant Fallback", Georgia, serif;
  --sans:  "Mulish", "Mulish Fallback", system-ui, sans-serif;

  /* metrics */
  --container: 1200px;
  --radius: 18px;
  --radius-lg: 26px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --hero-img: url("../assets/hero.jpg");
}

/* metric-matched fallbacks — reduce layout shift (CLS) while web fonts load */
@font-face {
  font-family: "Cormorant Fallback";
  src: local("Georgia"), local("Times New Roman");
  size-adjust: 89%;
}
@font-face {
  font-family: "Mulish Fallback";
  src: local("Arial"), local("Helvetica Neue");
  size-adjust: 106%;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bh, 0px) + 96px); }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }
::selection { background: var(--sage); color: var(--forest-2); }

/* visible keyboard focus — currentColor stays contrasting on both light & dark sections */
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* visually-hidden labels (design is placeholder-first; labels stay for screen readers) */
.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;
}

/* skip-to-content — hidden until keyboard-focused */
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 210;
  background: var(--forest); color: var(--cream);
  padding: 11px 20px; border-radius: 100px; font-weight: 600; font-size: 0.9rem;
  transform: translateY(-160%); transition: transform .25s var(--ease);
}
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* ---------- typography helpers ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 18px;
}
.eyebrow--light { color: var(--sage); }
.eyebrow::before { content: "—  "; color: inherit; }

.section { padding: clamp(72px, 11vw, 150px) 0; }
.section__head { max-width: 720px; margin: 0 auto clamp(44px, 6vw, 76px); text-align: center; }
.section__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--forest);
}
.section__title--light { color: var(--cream); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: transform .4s var(--ease), background .35s, color .35s, box-shadow .35s;
}
.btn--sm { padding: 11px 22px; font-size: 0.84rem; }
.btn--block { width: 100%; }
.btn--primary {
  background: var(--forest);
  color: var(--cream);
  box-shadow: 0 10px 26px -12px rgba(46,64,52,.7);
}
.btn--primary:hover { background: var(--moss); transform: translateY(-3px); box-shadow: 0 18px 34px -14px rgba(46,64,52,.8); }
.btn--ghost { color: var(--forest); border: 1.5px solid var(--sand-deep); }
.btn--ghost:hover { background: var(--forest); color: var(--cream); border-color: var(--forest); transform: translateY(-3px); }
.btn--light { background: var(--cream); color: var(--forest); }
.btn--light:hover { background: #fff; transform: translateY(-3px); box-shadow: 0 16px 30px -14px rgba(0,0,0,.4); }
.btn--outline { background: transparent; color: var(--forest); border: 1.5px solid var(--line); margin-top: 18px; }
.btn--outline:hover { background: var(--forest); color: var(--cream); border-color: var(--forest); }

/* =====================================================================
   HEADER
   ===================================================================== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 18px 0;
  transition: padding .4s var(--ease), background .4s, box-shadow .4s;
}
.header.is-scrolled {
  background: rgba(250,248,243,.86);
  /*backdrop-filter: blur(14px);*/
  -webkit-backdrop-filter: blur(14px);
  padding: 10px 0;
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -22px rgba(0,0,0,.4);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__logo { height: 56px; width: 56px; max-width: none; object-fit: contain; transition: height .4s var(--ease), width .4s var(--ease), transform .35s var(--ease); }
.header.is-scrolled .header__logo { height: 44px; width: 44px; }
.header__brand:hover .header__logo { transform: scale(2); }

.nav { display: flex; gap: 30px; }
.nav__link {
  position: relative; font-size: 0.92rem; font-weight: 500; color: var(--ink-soft);
  padding: 4px 0; transition: color .3s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--forest); transition: width .35s var(--ease);
}
.nav__link:hover { color: var(--forest); }
.nav__link:hover::after { width: 100%; }

/* header "More" dropdown */
.nav__more { position: relative; display: flex; align-items: center; }
.nav__more-btn {
  cursor: pointer; background: none; border: none; font-family: inherit;
  font-size: 0.92rem; font-weight: 500; color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 0; transition: color .3s;
}
.nav__more-btn::after { content: "\25BE"; font-size: .68em; transition: transform .3s var(--ease); }
.nav__more:hover .nav__more-btn, .nav__more:focus-within .nav__more-btn { color: var(--forest); }
.nav__more:hover .nav__more-btn::after, .nav__more:focus-within .nav__more-btn::after, .nav__more.is-open .nav__more-btn::after { transform: rotate(180deg); }
.nav__dropdown {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 190px;
  background: var(--cream); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 22px 44px -24px rgba(46,64,52,.5); padding: 10px;
  display: flex; flex-direction: column; gap: 2px; z-index: 120;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.nav__more:hover .nav__dropdown, .nav__more:focus-within .nav__dropdown, .nav__more.is-open .nav__dropdown { opacity: 1; visibility: visible; transform: none; }
.nav__dropdown .nav__link { padding: 9px 14px; border-radius: 9px; white-space: nowrap; }
.nav__dropdown .nav__link::after { display: none; }
.nav__dropdown .nav__link:hover { background: var(--cream-2); color: var(--forest); }

.header__actions { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; align-items: center; gap: 6px; font-size: 0.84rem; font-weight: 700; letter-spacing: .05em; }
.lang__btn { color: var(--ink-soft); opacity: .55; transition: opacity .3s, color .3s; padding: 12px 12px; }
.lang__btn.is-active { opacity: 1; color: var(--forest); }
.lang__sep { color: var(--sand-deep); }

.burger { display: none; width: 30px; height: 22px; position: relative; z-index: 100; }
.burger::before { content: ""; position: absolute; inset: -11px; }
.burger span {
  position: absolute; left: 0; height: 2px; width: 100%; background: var(--forest);
  border-radius: 2px; transition: transform .35s var(--ease), opacity .25s, top .35s var(--ease);
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 10px; }
.burger span:nth-child(3) { top: 20px; }
.burger.is-open span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

/* =====================================================================
   EMERGENCY BANNER
   ===================================================================== */
.ebanner {
  position: fixed; inset: 0 0 auto 0; z-index: 110;
  background: var(--forest-2); color: var(--cream);
  font-size: 0.86rem;
}
.ebanner .ebanner__inner { display: flex; align-items: center; gap: 14px; padding: 9px 20px; }
.ebanner__dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--sage); flex: none;
  box-shadow: 0 0 0 0 rgba(139,168,136,.6); animation: epulse 2s var(--ease) infinite;
}
@keyframes epulse {
  0%   { box-shadow: 0 0 0 0 rgba(139,168,136,.6); }
  70%  { box-shadow: 0 0 0 8px rgba(139,168,136,0); }
  100% { box-shadow: 0 0 0 0 rgba(139,168,136,0); }
}
.ebanner__text { flex: 1; font-weight: 600; letter-spacing: .01em; }
.ebanner__btn {
  flex: none; font-weight: 700; font-size: 0.8rem; letter-spacing: .04em;
  padding: 6px 16px; border-radius: 100px; background: var(--sage); color: var(--forest-2);
  transition: background .3s, transform .3s;
}
.ebanner__btn:hover { background: var(--cream); transform: translateY(-1px); }
.ebanner__close { position: relative; color: rgba(250,248,243,.7); font-size: 1.3rem; line-height: 1; padding: 0 4px; transition: color .3s; }
.ebanner__close::before { content: ""; position: absolute; inset: -12px -12px; }
.ebanner__close:hover { color: #fff; }
.ebanner.is-closed { display: none; }
/* push fixed header below banner; --bh is the live banner height set in main.js */
body.has-banner .header { top: var(--bh, 52px); }
@media (prefers-reduced-motion: reduce) { .ebanner__dot { animation: none; } }
@media (max-width: 620px) {
  .ebanner__text { font-size: 0.78rem; }
  .ebanner__btn { display: none; }
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--bh, 0px) + 96px) 0 90px;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(98deg, rgba(250,248,243,.94) 0%, rgba(250,248,243,.78) 34%, rgba(250,248,243,.38) 64%, rgba(243,239,230,.45) 100%),
    linear-gradient(0deg, rgba(250,248,243,.55) 0%, transparent 42%),
    var(--hero-img);
  background-size: cover, cover, cover;
  background-position: center, center, center 38%;
  background-repeat: no-repeat;
}
.hero__bg::after {  /* subtle grain */
  content: ""; position: absolute; inset: 0; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}
/* serve a lighter hero image to phones (94KB vs 437KB) — same for the media section */
@media (max-width: 768px) { :root { --hero-img: url("../assets/hero-mobile.jpg"); } }

.hero__leaf {
  display: none; /* hero now carries a photographic background */
  position: absolute; z-index: -1; border-radius: 50% 0 50% 50%;
  background: radial-gradient(circle at 30% 30%, var(--sage), var(--moss));
  opacity: .14; filter: blur(2px);
}
.hero__leaf--1 { width: 320px; height: 320px; top: 12%; right: 6%; transform: rotate(25deg); animation: float 14s ease-in-out infinite; }
.hero__leaf--2 { width: 200px; height: 200px; bottom: 14%; left: 4%; transform: rotate(-15deg); animation: float 18s ease-in-out infinite reverse; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(25deg); } 50% { transform: translateY(-28px) rotate(18deg); } }

.hero__inner { max-width: 880px; }
.hero__accent {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  color: var(--moss); letter-spacing: .01em; margin-bottom: 22px;
}
.hero__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(3.4rem, 11vw, 8rem); line-height: .94; letter-spacing: -0.02em;
  color: var(--forest);
}
.hero__subtitle {
  font-size: clamp(0.95rem, 2vw, 1.2rem); font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent-text); margin: 22px 0 28px;
}
.hero__text { max-width: 580px; font-size: 1.12rem; color: var(--ink-soft); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }

.hero__scroll { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); }
.hero__scroll-line { display: block; width: 1px; height: 54px; background: var(--sand-deep); position: relative; overflow: hidden; }
.hero__scroll-line::after {
  content: ""; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--forest); animation: scrolldot 2.2s var(--ease) infinite;
}
@keyframes scrolldot { 0% { top: -100%; } 60%,100% { top: 100%; } }

/* =====================================================================
   ABOUT
   ===================================================================== */
.about__inner { max-width: 900px; margin: 0 auto; text-align: center; }
.about__head { margin-bottom: 30px; }
.about__text { font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-family: var(--serif); color: var(--ink); line-height: 1.5; }
.about__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
  margin-top: 64px; padding-top: 50px; border-top: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column; align-items: center; }
.stat__num { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 600; color: var(--forest); line-height: 1; }
.stat__suffix { font-family: var(--serif); font-size: 1.8rem; color: var(--sage); margin-top: -6px; }
.stat__label { font-size: 0.86rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin-top: 12px; }

/* =====================================================================
   CURRENT INITIATIVES
   ===================================================================== */
.initiatives__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.initiative {
  position: relative; background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s;
}
.initiative:hover { transform: translateY(-8px); box-shadow: 0 34px 60px -34px rgba(46,64,52,.55); }
.initiative__media { aspect-ratio: 16/10; background-size: cover; background-position: center; }
.initiative__body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.initiative__title { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--forest); margin-bottom: 10px; }
.initiative__text { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: auto; }
.initiative .btn--outline { align-self: flex-start; margin-top: 20px; }

/* =====================================================================
   VALUES
   ===================================================================== */
.values { background: var(--paper); }
.values__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-card {
  padding: 38px 30px; border-radius: var(--radius); background: var(--cream);
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s, background .5s;
}
.value-card:hover { transform: translateY(-8px); background: #fff; box-shadow: 0 30px 50px -30px rgba(46,64,52,.5); }
.value-card__index { font-family: var(--serif); font-size: 1.6rem; color: var(--sage); }
.value-card__title { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--forest); margin: 16px 0 12px; }
.value-card__text { font-size: 0.98rem; color: var(--ink-soft); }

/* =====================================================================
   OUR WORK
   ===================================================================== */
.work__list { max-width: 920px; margin: 0 auto; }
.work-item {
  display: grid; grid-template-columns: 88px 1fr; gap: 28px; align-items: start;
  padding: 34px 0; border-top: 1px solid var(--line);
  transition: padding-left .45s var(--ease);
}
.work-item:last-child { border-bottom: 1px solid var(--line); }
.work-item:hover { padding-left: 14px; }
.work-item__num { font-family: var(--serif); font-size: 2.6rem; color: var(--sand-deep); line-height: .9; }
.work-item__title { font-family: var(--serif); font-size: 1.85rem; font-weight: 600; color: var(--forest); margin-bottom: 8px; }
.work-item__text { color: var(--ink-soft); max-width: 620px; }

/* =====================================================================
   MEDIA / VIDEO
   ===================================================================== */
.media { position: relative; overflow: hidden; padding: clamp(90px,14vw,180px) 0; color: var(--cream); text-align: center; }
.media__bg { position: absolute; inset: 0; z-index: 0; background-image: var(--hero-img); background-size: cover; background-position: center; }
.media__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36,51,41,.78), rgba(26,31,28,.82)); }
.media__inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.media__text { color: rgba(250,248,243,.82); font-size: 1.08rem; margin: 18px auto 36px; max-width: 560px; }
.media__play {
  width: 84px; height: 84px; border-radius: 50%; background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.5); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .4s var(--ease), background .4s;
}
.media__play:hover { transform: scale(1.08); background: rgba(255,255,255,.22); }
.media__play-icon { font-size: 1.7rem; margin-left: 4px; }

/* video modal */
.vmodal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; }
.vmodal[hidden] { display: none; }
.vmodal__backdrop { position: absolute; inset: 0; background: rgba(26,31,28,.7); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.vmodal__box {
  position: relative; background: var(--cream); border-radius: var(--radius-lg);
  padding: 60px 50px; text-align: center; max-width: 480px; width: calc(100% - 48px);
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.6);
}
.vmodal__close { position: absolute; top: 14px; right: 18px; font-size: 1.6rem; color: var(--ink-soft); transition: color .3s; }
.vmodal__close:hover { color: var(--forest); }
.vmodal__msg { font-family: var(--serif); font-size: 1.5rem; color: var(--forest); }

/* =====================================================================
   PROJECTS
   ===================================================================== */
.projects { background: var(--paper); }
.projects__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.project {
  background: var(--cream); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s;
}
.project:hover { transform: translateY(-8px); box-shadow: 0 34px 60px -34px rgba(46,64,52,.55); }
.project__media { position: relative; aspect-ratio: 16/10; background-size: cover; background-position: center; }
.project__cat {
  position: absolute; top: 16px; left: 16px; font-size: 0.72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.5);
  background: rgba(26,31,28,.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  padding: 7px 14px; border-radius: 100px;
}
.project__body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.project__title { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--forest); line-height: 1.15; min-height: 2.3em; }
.project__bar { height: 7px; border-radius: 100px; background: var(--line); margin: 18px 0 12px; overflow: hidden; }
.project__bar span { display: block; height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--moss), var(--sage)); transition: width 1s var(--ease); }
.project__meta { display: flex; justify-content: space-between; font-size: 0.88rem; color: var(--ink-soft); margin-top: auto; }
.project__meta strong { color: var(--forest); }

/* =====================================================================
   NEWS / LATEST UPDATES
   ===================================================================== */
.news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.news-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 26px 30px; display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s;
}
.news-card:hover { transform: translateY(-6px); box-shadow: 0 30px 54px -34px rgba(46,64,52,.5); }
.news-card__top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.news-card__cat { font-size: 0.7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--moss); background: var(--cream-2); padding: 5px 12px; border-radius: 100px; }
.news-card__date { font-size: 0.82rem; color: var(--ink-soft); }
.news-card__title { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--forest); line-height: 1.18; margin-bottom: 10px; }
.news-card__text { color: var(--ink-soft); font-size: 0.96rem; margin-bottom: auto; }
.news-card__link { margin-top: 20px; font-weight: 600; font-size: 0.9rem; color: var(--forest); align-self: flex-start; border-bottom: 1.5px solid var(--sand-deep); padding: 10px 0 2px; transition: border-color .3s; }
.news-card__link:hover { border-color: var(--forest); }

/* =====================================================================
   TRANSPARENCY  (dark)
   ===================================================================== */
.transparency {
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(139,168,136,.22), transparent 55%),
    var(--forest);
  color: var(--cream);
}
.transparency__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.transparency__text { color: rgba(250,248,243,.78); margin: 20px 0 32px; font-size: 1.05rem; }
.transparency__cards { display: flex; flex-direction: column; gap: 16px; }
.trans-card {
  padding: 26px 28px; border-radius: var(--radius);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  transition: transform .45s var(--ease), background .45s;
}
.trans-card:hover { transform: translateX(8px); background: rgba(255,255,255,.09); }
.trans-card__title { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: #fff; margin-bottom: 6px; }
.trans-card__text { color: rgba(250,248,243,.7); font-size: 0.95rem; }

/* =====================================================================
   DONATE
   ===================================================================== */
.donate { background: var(--cream-2); }
.donate__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.donate__lead { color: var(--ink-soft); margin: 18px 0 26px; font-size: 1.08rem; }
.donate__pay {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 10px 20px; margin-top: 16px; padding-top: 18px; border-top: 1px solid var(--line);
  color: var(--ink-soft);
}
.paylogo { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 0.92rem; opacity: .8; }
.paylogo__ico { height: 16px; width: auto; fill: currentColor; }
.paylogo__mc { height: 17px; width: auto; fill: currentColor; }
.paylogo--word { font-style: italic; letter-spacing: .06em; }
.paylogo--paypal { letter-spacing: .01em; }
.donate__note { margin-top: 20px; font-size: 0.82rem; font-style: italic; color: var(--accent-text); }

.donate__card {
  background: #fff; border-radius: var(--radius-lg); padding: 34px;
  border: 1px solid var(--line); box-shadow: 0 40px 80px -50px rgba(46,64,52,.55);
}
.donate__row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.toggle { display: inline-flex; background: var(--cream-2); border-radius: 100px; padding: 4px; }
.toggle__btn { padding: 11px 18px; border-radius: 100px; font-size: 0.86rem; font-weight: 600; color: var(--ink-soft); transition: .3s; }
.toggle__btn.is-active { background: var(--forest); color: var(--cream); }
.currency { display: inline-flex; gap: 6px; }
.currency__btn { padding: 11px 14px; border-radius: 10px; font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); transition: .3s; }
.currency__btn.is-active { background: var(--sand); color: var(--forest-2); }

.amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 12px; }
.amount {
  padding: 18px 0; border-radius: 12px; border: 1.5px solid var(--line);
  font-size: 1.15rem; font-weight: 700; color: var(--forest); transition: .3s;
}
.amount:hover { border-color: var(--sage); }
.amount.is-active { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.amount-custom {
  display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--line);
  border-radius: 12px; padding: 0 16px; margin-bottom: 22px;
}
.amount-custom:focus-within { border-color: var(--sage); outline: 2px solid currentColor; outline-offset: 2px; }
.amount-custom__cur { font-weight: 700; color: var(--ink-soft); }
.amount-custom input { flex: 1; border: none; outline: none; padding: 15px 0; font-size: 1.05rem; background: transparent; }
.donate__secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 0.8rem; color: var(--ink-soft); margin-top: 16px; }
.donate__lock { flex: none; opacity: .85; }

/* =====================================================================
   DONATE: project selector + sticky button
   ===================================================================== */
.donate__direct { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.donate__direct > span { font-size: 0.86rem; font-weight: 600; color: var(--ink-soft); }
.donate__direct select {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--paper); font-family: inherit; font-size: 1rem; color: var(--ink); cursor: pointer;
}
.donate__direct select:focus { border-color: var(--sage); }

.sticky-donate {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  background: var(--forest); color: var(--cream); font-weight: 700; font-size: 0.9rem;
  padding: 14px 26px; border-radius: 100px; box-shadow: 0 16px 36px -14px rgba(46,64,52,.8);
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease), background .3s;
}
.sticky-donate.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.sticky-donate:hover { background: var(--moss); }
@media (max-width: 620px) { .sticky-donate { right: 16px; bottom: 16px; padding: 12px 22px; } }
/* lift the sticky donate above the cookie bar while it is showing */
body:has(.cookie:not([hidden])) .sticky-donate { bottom: 96px; }

/* =====================================================================
   PARTNERS
   ===================================================================== */
.partners__text { color: var(--ink-soft); margin-top: 18px; }
.partners__logos {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: clamp(28px, 6vw, 72px); margin: 0 auto 60px; max-width: 980px;
}
.plogo {
  font-family: var(--serif); font-size: clamp(1.1rem, 2.5vw, 1.6rem); font-weight: 600;
  letter-spacing: .06em; color: var(--sand-deep); opacity: 1;
  transition: color .35s, opacity .35s;
}
.plogo:hover { color: var(--forest); opacity: 1; }

.partner-form { max-width: 620px; margin: 0 auto; }
.partner-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.partner-form input, .partner-form textarea {
  width: 100%; padding: 15px 18px; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--paper); font-size: 1rem; color: var(--ink); transition: border-color .3s; resize: vertical;
}
.partner-form input:focus, .partner-form textarea:focus { border-color: var(--sage); }
.partner-form textarea { margin-bottom: 18px; }
.partner-form .btn { width: 100%; }
.partner-form__ok { text-align: center; color: var(--moss); font-weight: 600; margin-top: 16px; }

/* =====================================================================
   PARTNERS: logos slider (marquee)
   ===================================================================== */
.pslider {
  overflow: hidden; max-width: 1100px; margin: 0 auto 60px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.pslider__track {
  display: flex; align-items: center; width: max-content;
  gap: clamp(40px, 7vw, 90px); animation: pslide 34s linear infinite;
}
.pslider:hover .pslider__track { animation-play-state: paused; }
.pslider .plogo { white-space: nowrap; }
@keyframes pslide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .pslider { -webkit-mask-image: none; mask-image: none; }
  .pslider__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; row-gap: 24px; }
}

/* =====================================================================
   CTA  (dark)
   ===================================================================== */
.cta {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(80px, 12vw, 150px) 0;
  background:
    radial-gradient(70% 120% at 50% 0%, rgba(139,168,136,.28), transparent 60%),
    var(--forest-2);
  color: var(--cream);
}
.cta__leaf {
  position: absolute; width: 460px; height: 460px; border-radius: 50% 0 50% 50%;
  background: radial-gradient(circle at 30% 30%, var(--sage), transparent 70%);
  opacity: .16; top: -120px; left: -90px; transform: rotate(20deg);
}
.cta__inner { position: relative; max-width: 760px; margin: 0 auto; }
.cta__title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1.02; }
.cta__text { color: rgba(250,248,243,.8); font-size: 1.15rem; margin: 22px auto 38px; max-width: 560px; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { background: var(--ink); color: rgba(250,248,243,.66); padding: 70px 0 30px; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__logo { height: 64px; width: 64px; max-width: none; object-fit: contain; filter: brightness(0) invert(1); opacity: .92; transition: transform .35s var(--ease), opacity .35s var(--ease); }
.footer__logo:hover { transform: scale(2); opacity: 1; }
.footer__tag { margin-top: 16px; font-size: 0.9rem; max-width: 280px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__h { font-size: 0.74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sage); margin-bottom: 6px; }
.footer__col a:not(.fsocial) { font-size: 0.92rem; color: rgba(250,248,243,.66); transition: color .3s; width: fit-content; padding: 8px 0; }
.footer__col a:hover { color: var(--sage); }
.footer__social { display: flex; gap: 14px; margin-top: 2px; }
.fsocial { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; color: rgba(250,248,243,.7); transition: color .3s, border-color .3s, transform .3s; }
.fsocial:hover { color: var(--sage); border-color: var(--sage); transform: translateY(-2px); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 26px; font-size: 0.82rem; }

/* =====================================================================
   REVEAL ANIMATION
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* blur-in variant — used on hero headings (21st.dev-style text reveal) */
.reveal--blur { filter: blur(16px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease); }
.reveal--blur.is-visible { filter: blur(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .reveal--blur { filter: none; }
  .hero__leaf, .hero__scroll-line::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* =====================================================================
   21st.dev-INSPIRED ENHANCEMENTS  (spotlight cards · shimmer buttons)
   ===================================================================== */

/* Spotlight glow that follows the cursor (Values & Projects cards) */
.value-card, .project, .initiative { position: relative; }
.value-card > *, .project > *, .initiative > * { position: relative; z-index: 1; }
.value-card::before, .project::before, .initiative::before {
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%),
              rgba(139, 168, 136, .22), transparent 60%);
  opacity: 0; transition: opacity .45s var(--ease); pointer-events: none;
}
.value-card:hover::before, .project:hover::before, .initiative:hover::before { opacity: 1; }

/* Shimmer sweep on primary CTAs */
.btn--primary { position: relative; overflow: hidden; isolation: isolate; }
.btn--primary::after {
  content: ""; position: absolute; top: 0; left: -160%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .38), transparent);
  transform: skewX(-22deg); pointer-events: none;
  transition: left .65s var(--ease);
}
.btn--primary:hover::after { left: 160%; }
@media (prefers-reduced-motion: reduce) {
  .btn--primary::after { display: none; }
  .value-card::before, .project::before, .initiative::before { display: none; }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 980px) {
  /* fuller 9-item menu collapses to the burger drawer earlier */
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
    flex-direction: column; justify-content: center; gap: 26px;
    background: var(--cream); padding: 40px;
    transform: translateX(100%); transition: transform .45s var(--ease);
    box-shadow: -20px 0 60px -30px rgba(0,0,0,.5); z-index: 90;
  }
  .nav.is-open { transform: none; }
  /* iOS Safari honours -webkit-backdrop-filter, which makes the scrolled header the
     containing block for the fixed .nav drawer and collapses it to header height
     (menu items overflow and float over the page). Drop it on mobile. */
  .header.is-scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav__link { font-size: 1.25rem; font-family: var(--serif); }
  .burger { display: block; }
  .header__actions .btn--primary { display: none; }
  /* "More" dropdown becomes a flat list inside the burger drawer */
  .nav__more { display: flex; flex-direction: column; gap: 26px; }
  .nav__more-btn { display: none; }
  .nav__dropdown { position: static; opacity: 1; visibility: visible; transform: none; background: none; border: none; box-shadow: none; padding: 0; gap: 26px; min-width: 0; }
  .nav__dropdown .nav__link { padding: 0; }
  .values__grid { grid-template-columns: repeat(2, 1fr); }
  .projects__grid { grid-template-columns: 1fr 1fr; }
  .initiatives__grid, .news__grid { grid-template-columns: 1fr 1fr; }
  .transparency__inner, .donate__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .projects__grid { grid-template-columns: 1fr; }
  .initiatives__grid, .news__grid { grid-template-columns: 1fr; }
  .about__stats { grid-template-columns: 1fr; gap: 36px; }
  .work-item { grid-template-columns: 56px 1fr; gap: 16px; }
  .partner-form__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  .amounts { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 420px) {
  .container { padding: 0 20px; }
  .values__grid { grid-template-columns: 1fr; }
  .amounts { grid-template-columns: repeat(2, 1fr); }
  .donate__card { padding: 24px; }
}

/* short landscape phones: don't force a full-height hero */
@media (max-height: 560px) and (orientation: landscape) {
  .hero { min-height: auto; padding: calc(var(--bh, 0px) + 100px) 0 48px; }
}

/* =====================================================================
   CONTENT PAGES (page.html)
   ===================================================================== */
.page { padding: calc(var(--bh, 0px) + clamp(96px, 14vw, 132px)) 0 clamp(60px, 9vw, 110px); }
.page__wrap { max-width: 860px; }
.page__back { display: inline-block; font-weight: 600; font-size: 0.9rem; color: var(--moss); margin-bottom: 28px; transition: color .3s; }
.page__back:hover { color: var(--forest); }
.page__head { margin-bottom: 36px; }
.page__title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 5.5vw, 3.6rem); line-height: 1.06; color: var(--forest); letter-spacing: -0.01em; }
.page__lead { font-family: var(--serif); font-size: clamp(1.2rem, 2.3vw, 1.6rem); color: var(--ink); line-height: 1.45; margin-top: 18px; }
.page__media { aspect-ratio: 16/8; background-size: cover; background-position: center; border-radius: var(--radius-lg); margin: 8px 0 44px; }
.page__section { margin-bottom: 40px; }
.page__h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--forest); margin-bottom: 16px; }
.page__section p { color: var(--ink-soft); margin-bottom: 14px; max-width: 70ch; }
.wwd { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.wwd li { position: relative; padding-left: 26px; color: var(--ink); }
.wwd li::before { content: ""; position: absolute; left: 0; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--sage); }
.istats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 34px 0; margin: 8px 0 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.istat { display: flex; flex-direction: column; align-items: center; text-align: center; }
.istat__num { font-family: var(--serif); font-size: clamp(2rem, 5vw, 3rem); font-weight: 600; color: var(--forest); line-height: 1; }
.istat__label { font-size: 0.82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin-top: 10px; }
.page-cta { text-align: center; margin: 8px 0 48px; }
.page__others { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.otherinit { display: flex; flex-direction: column; gap: 4px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); transition: transform .4s var(--ease), box-shadow .4s; }
.otherinit:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -30px rgba(46,64,52,.5); }
.otherinit__cat { font-size: 0.7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.otherinit__title { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--forest); }
.notfound { text-align: center; }
.notfound .page__lead { margin: 18px auto 28px; max-width: 480px; }
@media (max-width: 620px) {
  .wwd, .page__others { grid-template-columns: 1fr; }
  .istats { grid-template-columns: 1fr; gap: 28px; }
}

/* article */
.article__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.page--article .page__section { font-size: 1.08rem; }

/* legal */
.legal__updated { font-size: 0.86rem; color: var(--ink-soft); margin-top: 10px; }
.legal__draft { font-size: 0.86rem; font-style: italic; color: var(--accent-text); background: var(--cream-2); border: 1px dashed var(--sand-deep); border-radius: 12px; padding: 12px 18px; margin: 4px 0 32px; }
.page--legal .page__h2 { font-size: 1.3rem; }

/* reports */
.reports-list { display: flex; flex-direction: column; gap: 16px; margin-top: 12px; }
.report-item { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.report-item__name { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--forest); }
.report-item__desc { color: var(--ink-soft); font-size: 0.96rem; margin: 6px 0; }
.report-item__date { font-size: 0.82rem; color: var(--accent-text); }
.report-item .btn--outline { margin-top: 0; flex: none; }
@media (max-width: 620px) { .report-item { flex-direction: column; align-items: flex-start; } }

/* faq */
.faq { border-top: 1px solid var(--line); margin-top: 12px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item__q { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; text-align: left; padding: 22px 0; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--forest); }
.faq-item__icon { font-size: 1.4rem; color: var(--accent-text); transition: transform .35s var(--ease); flex: none; }
.faq-item.is-open .faq-item__icon { transform: rotate(45deg); }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-item.is-open .faq-item__a { max-height: 1000px; }
.faq-item__a p { color: var(--ink-soft); padding-bottom: 22px; max-width: 70ch; }
.faq-cta { margin-top: 40px; }
.faq-cta p { font-family: var(--serif); font-size: 1.3rem; color: var(--forest); margin-bottom: 16px; }
@media (prefers-reduced-motion: reduce) { .faq-item__a { transition: none; } .faq-item__icon { transition: none; } }

/* contacts */
.contacts__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.contacts__info { display: flex; flex-direction: column; gap: 24px; }
.contact-detail { display: flex; flex-direction: column; gap: 4px; }
.contact-detail__label { font-size: 0.74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.contact-detail a, .contact-detail span { color: var(--ink); font-size: 1.05rem; transition: color .3s; }
.contact-detail a:hover { color: var(--forest); }
.contacts__form { max-width: none; margin: 0; }
@media (max-width: 620px) { .contacts__grid { grid-template-columns: 1fr; } }

/* =====================================================================
   TEAM  +  shared avatar
   ===================================================================== */
.avatar { display: inline-flex; border-radius: 50%; overflow: hidden; flex: none; }
.avatar__svg, .avatar__img { width: 100%; height: 100%; display: block; object-fit: cover; }

.team__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { position: relative; text-align: center; padding: 34px 24px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s, background .5s; }
.team-card > * { position: relative; z-index: 1; }
.team-card:hover { transform: translateY(-8px); background: #fff; box-shadow: 0 30px 50px -30px rgba(46,64,52,.5); }
.team-card .avatar { width: 96px; height: 96px; margin-bottom: 18px; }
.team-card__name { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--forest); margin-bottom: 4px; }
.team-card__role { font-size: 0.9rem; color: var(--ink-soft); }
@media (max-width: 980px) { .team__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .team__grid { grid-template-columns: 1fr; } }

/* =====================================================================
   GALLERY  +  LIGHTBOX
   ===================================================================== */
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery__item { position: relative; display: block; padding: 0; border: none; background: none; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; cursor: pointer; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 12px; font-size: 0.84rem; color: #fff; text-align: left; background: linear-gradient(transparent, rgba(26,31,28,.74)); opacity: 0; transition: opacity .4s var(--ease); }
.gallery__item:hover .gallery__cap, .gallery__item:focus-visible .gallery__cap { opacity: 1; }

.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(26,31,28,.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lightbox__box { position: relative; max-width: min(92vw, 1000px); margin: 0; }
.lightbox__img { display: block; width: 100%; max-height: 80vh; object-fit: contain; border-radius: var(--radius); }
.lightbox__cap { margin-top: 12px; color: var(--cream); text-align: center; font-size: 0.95rem; }
.lightbox__close { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%; background: var(--cream); color: var(--forest); font-size: 1.5rem; line-height: 1; box-shadow: 0 8px 20px -8px rgba(0,0,0,.5); }
@media (max-width: 820px) { .gallery__grid { grid-template-columns: repeat(2, 1fr); } .gallery__cap { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .gallery__item img { transition: none; } }

/* =====================================================================
   TESTIMONIALS
   ===================================================================== */
.testimonials { background: var(--paper); }
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tcard { position: relative; display: flex; flex-direction: column; padding: 32px 28px; border-radius: var(--radius-lg); background: var(--cream); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.tcard > * { position: relative; z-index: 1; }
.tcard:hover { transform: translateY(-6px); box-shadow: 0 30px 54px -34px rgba(46,64,52,.5); }
.tcard__quote { font-family: var(--serif); font-size: 1.18rem; line-height: 1.5; color: var(--ink); margin-bottom: 22px; }
.tcard__quote::before { content: "\201C"; color: var(--sage); font-weight: 700; }
.tcard__person { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.tcard .avatar { width: 56px; height: 56px; }
.tcard__meta { display: flex; flex-direction: column; }
.tcard__name { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: var(--forest); }
.tcard__role { font-size: 0.84rem; color: var(--ink-soft); }
@media (max-width: 900px) { .testimonials__grid { grid-template-columns: 1fr; } }

/* link under a section heading */
.section__more { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 0.9rem; color: var(--forest); border-bottom: 1.5px solid var(--sand-deep); padding-bottom: 2px; transition: border-color .3s; }
.section__more:hover { border-color: var(--forest); }

/* cookie consent banner */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 95; max-width: 640px; margin: 0 auto;
  background: var(--forest-2); color: var(--cream); border-radius: var(--radius); padding: 18px 22px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; box-shadow: 0 16px 40px -16px rgba(0,0,0,.5); }
.cookie[hidden] { display: none; }
.cookie__text { flex: 1; font-size: 0.9rem; min-width: 200px; }
.cookie__btns { display: flex; gap: 8px; flex-shrink: 0; }
.cookie .btn--ghost { color: var(--cream); border-color: rgba(255,255,255,.4); }
.cookie .btn--ghost:hover { background: rgba(255,255,255,.1); border-color: var(--cream); }
@media (max-width: 480px) { .cookie { flex-direction: column; align-items: stretch; } .cookie__btns .btn { flex: 1; } }
