/* ============================================================
   Community of Trees — 2026 homepage prototype
   Typeface: Objektiv. Local Objektiv Mk2 woff2 files in assets/fonts/
   are the baseline (Greek + Latin verified). The Adobe Typekit
   "objektiv-variable" kit is still linked on the homepage and wins when
   it loads; nothing breaks when it does not.
   ============================================================ */

/* ---------- Local Objektiv Mk2 (Greek + Latin) ---------- */
@font-face {
  font-family: "Objektiv Mk2";
  src: url("../assets/fonts/ObjektivMk2-Light.woff2") format("woff2");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Objektiv Mk2";
  src: url("../assets/fonts/ObjektivMk2-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Objektiv Mk2";
  src: url("../assets/fonts/ObjektivMk2-Italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Objektiv Mk2";
  src: url("../assets/fonts/ObjektivMk2-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Objektiv Mk2";
  src: url("../assets/fonts/ObjektivMk2-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --paper:      #F3EFE6;
  --paper-2:    #ECE6D8;
  --ink:        #1B1A16;
  --ink-soft:   #34322B;
  --muted:      #6E6A5E;
  --line:       #D8D2C4;
  --leaf:       #4E6B45;
  --leaf-deep:  #33472D;
  --forest:     #1B2815;
  --on-dark:    #F3EFE6;
  --on-dark-mut:#A9A496;

  --maxw: 1320px;
  --gutter: clamp(20px, 5vw, 72px);
  --radius: 8px;
  --radius-lg: 22px;

  --step--1: clamp(0.82rem, 0.78rem + 0.2vw, 0.92rem);
  --step-0:  clamp(1rem, 0.95rem + 0.25vw, 1.12rem);
  --step-1:  clamp(1.2rem, 1.05rem + 0.7vw, 1.5rem);
  --step-2:  clamp(1.6rem, 1.3rem + 1.5vw, 2.4rem);
  --step-3:  clamp(2.1rem, 1.5rem + 3vw, 3.8rem);
  --step-4:  clamp(2.6rem, 1.4rem + 6vw, 6.4rem);

  --heading-sm: clamp(1.1rem, 1.02rem + 0.4vw, 1.32rem);
  --heading-md: clamp(1.4rem, 1.2rem + 1vw, 2rem);
  --heading-lg: clamp(1.8rem, 1.35rem + 2.2vw, 3.1rem);
  --heading-xl: clamp(2.25rem, 1.5rem + 4vw, 5rem);
  --hero-title: clamp(2.75rem, 1.55rem + 5.4vw, 6.25rem);

  font-family: "objektiv-variable", "Objektiv Mk2", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-size: var(--step-0);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { min-width: 44px; min-height: 44px; font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
section[id] { scroll-margin-top: 96px; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type helpers ---------- */
h1, h2, h3 { font-weight: 500; line-height: 1.04; letter-spacing: -0.02em; }
.eyebrow {
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--leaf);
}
.lead { font-size: var(--step-1); line-height: 1.5; font-weight: 300; }

/* ---------- Buttons / pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 0.5em;
  min-width: 44px;
  min-height: 44px;
  padding: 0.85em 1.4em;
  border-radius: 999px;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  transition: background .25s ease, color .25s ease, transform .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.pill--dark   { background: var(--ink); color: var(--paper); }
.pill--dark:hover { background: var(--leaf-deep); transform: translateY(-1px); }
.pill--light  { background: var(--paper); color: var(--ink); }
.pill--light:hover { transform: translateY(-1px); }
.pill--ghost  { border: 1px solid currentColor; }
.pill--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pill--ghost-on-dark { border: 1px solid rgba(243,239,230,.5); color: var(--on-dark); }
.pill--ghost-on-dark:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.arrow-link {
  display: inline-flex; align-items: center; gap: .5em;
  min-width: 44px; min-height: 44px;
  font-weight: 500; font-size: var(--step--1);
  letter-spacing: .04em; text-transform: uppercase;
  white-space: nowrap;
}
.arrow-link svg { transition: transform .25s ease; }
.arrow-link:hover svg { transform: translateX(4px); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: clamp(14px, 2vw, 22px) var(--gutter);
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 1px 0 var(--line);
  transition: background .3s ease, color .3s ease, box-shadow .3s ease, padding .3s ease;
}
.site-header.is-solid {
  padding-top: 12px; padding-bottom: 12px;
}
.header-side { display: flex; align-items: center; gap: .75rem; flex: 1; }
.header-side--right { justify-content: flex-end; }

/* Single language switch — lives in the header, nowhere else. It shows the
   current language and opens a flyout with both. The reserved widths below keep
   it at the same spot in both languages: the Greek labels are the wider ones,
   so both buttons always hold the Greek width. */
.lang { position: relative; }
.lang-switch {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.8em; min-height: 44px;
  font-size: var(--step--1); letter-spacing: .1em; text-transform: uppercase;
  opacity: .7; cursor: pointer; list-style: none; user-select: none;
}
.lang-switch::-webkit-details-marker { display: none; }
.lang-switch:hover, .lang[open] > .lang-switch { opacity: 1; }
.lang-menu {
  position: absolute; top: calc(100% + .5rem); left: 50%; transform: translateX(-50%);
  display: grid; gap: .15rem; padding: .4rem;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.14);
}
.lang-menu a {
  padding: .5rem .95rem; border-radius: 10px; text-align: center;
  font-size: var(--step--1); letter-spacing: .1em; text-transform: uppercase;
  white-space: nowrap;
}
.lang-menu a:hover { background: rgba(0,0,0,.06); }
.lang-menu a[aria-current] { font-weight: 600; }
.site-header .pill--dark { min-width: 12.7em; justify-content: center; }
.site-header .menu-btn { min-width: 7.5em; }

.badge {
  display: inline-flex; align-items: center; gap: .45em;
  border: 1px solid currentColor; border-radius: 999px;
  padding: .5em .85em; font-size: var(--step--1);
  letter-spacing: .06em; opacity: .9;
}
.badge .dot { width: .5em; height: .5em; border-radius: 50%; background: var(--leaf); }

.brand { display: inline-flex; align-items: center; }
.brand img { height: clamp(44px, 5.2vw, 64px); width: auto; flex: none; }

.wordmark {
  font-weight: 500; letter-spacing: .26em; text-transform: uppercase;
  font-size: clamp(.78rem, .7rem + .35vw, 1rem);
  white-space: nowrap;
}
.menu-btn {
  display: inline-flex; align-items: center; gap: .55em;
  min-width: 44px; min-height: 44px;
  border: 1px solid currentColor; border-radius: 999px;
  padding: .6em .95em; font-size: var(--step--1); letter-spacing: .04em;
}
.menu-btn .bars { display: inline-flex; flex-direction: column; gap: 3px; }
.menu-btn .bars span { width: 16px; height: 1.5px; background: currentColor; }

/* hide non-essential header bits on small screens */
@media (max-width: 760px) {
  .badge { display: none; }
}
/* phones: drop centered wordmark — logo carries the brand, frees room for pill + menu */
@media (max-width: 640px) {
  .site-header .wordmark { display: none; }
  .site-header {
    gap: .45rem;
    padding-inline: clamp(14px, 4vw, 20px);
  }
  .header-side { gap: .45rem; }
  .header-side--left {
    flex: 0 1 auto;
    min-width: 0;
  }
  .header-side--right {
    flex: 0 0 auto;
    min-width: 0;
  }
  .brand img { height: clamp(36px, 10vw, 44px); }
  .site-header .pill--dark {
    flex: 0 0 auto;
    padding-inline: 1rem;
  }
  /* icon-only menu button — its label costs the room the language switch needs */
  .site-header .menu-btn {
    flex: 0 0 auto;
    width: 44px; min-width: 44px;
    padding-inline: 0;
    justify-content: center;
  }
  .menu-label { display: none; }
}
@media (max-width: 360px) {
  .site-header {
    gap: .35rem;
    padding-inline: 12px;
  }
  .header-side { gap: .35rem; }
  .brand img { height: 34px; }
  .site-header .pill--dark {
    padding-inline: .85rem;
    font-size: .78rem;
  }
  .site-header .menu-btn {
    width: 44px; min-width: 44px;
    padding-inline: 0;
    justify-content: center;
  }
  .menu-label { display: none; }
}

/* ---------- Slide-in menu overlay ---------- */
.nav-overlay {
  position: fixed; inset: 0; z-index: 60;
  background: var(--forest); color: var(--on-dark);
  display: flex; flex-direction: column;
  padding: var(--gutter);
  transform: translateY(-100%);
  transition: transform .45s cubic-bezier(.6,.05,.2,1);
  visibility: hidden;
}
.nav-overlay.is-open { transform: translateY(0); visibility: visible; }
.nav-overlay-top { display: flex; justify-content: space-between; align-items: center; }
.nav-close { min-width: 44px; min-height: 44px; font-size: 1.6rem; line-height: 1; padding: .3em; }
.nav-links {
  margin: auto 0; list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: clamp(.4rem, 2vw, 1rem);
}
.nav-links a {
  font-size: clamp(2rem, 1rem + 6vw, 4.5rem);
  font-weight: 500; letter-spacing: -.02em; line-height: 1.05;
  display: inline-block; transition: color .2s, padding-left .25s;
}
.nav-links a:hover { color: var(--leaf); padding-left: .25em; }
.nav-sub {
  list-style: none; padding: 0;
  margin: clamp(.3rem, 1vw, .6rem) 0 0 clamp(1rem, 3vw, 2rem);
  display: flex; flex-direction: column; gap: clamp(.2rem, .6vw, .4rem);
}
.nav-sub a {
  font-size: clamp(1.05rem, .8rem + 1.2vw, 1.6rem);
  font-weight: 400; color: var(--on-dark-mut);
}
.nav-overlay-foot {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between;
  color: var(--on-dark-mut); font-size: var(--step--1); padding-top: 1rem;
  border-top: 1px solid rgba(243,239,230,.15);
}

@media (min-width: 901px) {
  .nav-links > li > a {
    font-size: clamp(2rem, .9rem + 4.2vw, 3.75rem);
  }
  .nav-sub a {
    font-size: clamp(1.05rem, .82rem + .9vw, 1.4rem);
  }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100svh - clamp(152px, 18vw, 208px));
  margin: clamp(88px, 10vw, 120px) var(--gutter);
  display: flex; align-items: flex-end;
  color: var(--on-dark);
  border-radius: clamp(28px, 3vw, 44px);
  box-shadow: 0 32px 64px -24px rgba(20, 19, 15, .45);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; z-index: 1; inset: 0;
  background: rgba(18, 30, 14, .52);
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video {
  position: absolute; z-index: 0; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2; width: 100%;
  padding-bottom: clamp(40px, 7vw, 90px); padding-top: clamp(48px, 8vw, 96px);
  display: grid; gap: clamp(1.3rem, 3vw, 2.4rem);
}
.hero h1 {
  font-size: var(--hero-title);
  font-weight: 500; max-width: 16ch;
  text-wrap: balance;
}
.hero-sub { font-size: var(--step-1); font-weight: 300; max-width: 42ch; color: rgba(243,239,230,.92); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ============================================================
   Mission intro
   ============================================================ */
.intro { position: relative; overflow: hidden; padding: clamp(72px, 12vw, 160px) 0; text-align: center; }
.intro-mark {
  position: absolute; z-index: 0; pointer-events: none;
  bottom: clamp(-260px, -22vw, -120px); right: clamp(-240px, -18vw, -100px);
  width: clamp(420px, 60vw, 820px); aspect-ratio: 1068.7 / 1167.11;
  background: url("../assets/img/logo_simple.svg") no-repeat center / contain;
  opacity: .06;
}
.intro .wrap { position: relative; z-index: 1; max-width: 60ch; }
.intro p { font-size: var(--step-2); font-weight: 300; line-height: 1.35; letter-spacing: -.01em; }
.intro p strong { font-weight: 500; }
.intro .eyebrow { display: block; margin-bottom: 1.4em; }

/* ============================================================
   Projects strip (rotated label + horizontal cards)
   ============================================================ */
.strip { background: var(--paper-2); position: relative; padding: clamp(48px,7vw,90px) 0 clamp(56px,8vw,110px); overflow: hidden; }
.strip-bg {
  position: absolute; inset: 0; opacity: .22;
  background-image: url("../assets/img/bg_floral_pattern.svg");
  background-size: 760px; background-repeat: repeat; pointer-events: none;
}
.strip-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2.4rem; }
.strip-head h2 { font-size: var(--heading-md); font-weight: 500; }
.rail {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.rail::-webkit-scrollbar { display: none; }
/* Horizontal scroll-rail only on narrow viewports */
@media (max-width: 760px) {
  .strip { padding-top: clamp(44px, 12vw, 64px); }
  .strip-head {
    align-items: center;
    flex-wrap: nowrap;
    gap: .75rem;
    margin-bottom: 1.5rem;
  }
  .strip-head h2 {
    font-size: clamp(1.65rem, 6.5vw, 2rem);
    line-height: 1;
  }
  .strip-head .arrow-link { font-size: .74rem; }
  .rail {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(82%, 340px);
    overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 4px 0 18px;
    margin-inline: 0;
    scrollbar-width: none;
  }
  /* rotated label overlaps the cards on narrow screens — drop it */
  .v-label { display: none; }
  .news-head { flex-wrap: wrap; }
}
.v-label {
  position: absolute; left: clamp(8px,2vw,26px); top: clamp(80px,12vw,150px); z-index: 3;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: clamp(2.6rem, 1rem + 6vw, 5.5rem); font-weight: 500;
  letter-spacing: -.03em; color: var(--ink); opacity: .9; pointer-events: none;
  text-transform: lowercase;
}
.card { scroll-snap-align: start; }
.card-img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3/4; background: var(--line); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.card-meta h3 { font-size: var(--heading-sm); font-weight: 500; }
.card-meta h3 a { color: inherit; text-decoration: none; }
.card-meta h3 a:hover { text-decoration: underline; text-underline-offset: .18em; }
.card-meta .tag { color: var(--muted); font-size: var(--step--1); letter-spacing: .04em; }
.card p { color: var(--ink-soft); margin-top: .4rem; max-width: 34ch; }

/* ============================================================
   Koumas feature (editorial title + two big panels)
   ============================================================ */
.feature { padding: clamp(72px,11vw,150px) 0; }
.feature-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem,4vw,4rem); align-items: end; }
.feature-head h2 { font-size: var(--heading-lg); font-weight: 500; max-width: 14ch; }
.feature-head .eyebrow { margin-bottom: 1.2em; }
.feature-body { color: var(--ink-soft); font-size: var(--step-0); }
.feature-body .arrow-link { margin-top: 1.4rem; color: var(--leaf-deep); }
.panels { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px,2.5vw,32px); margin-top: clamp(36px,6vw,72px); }
.panel { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/11; background: var(--line); }
.panel img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.panel:hover img { transform: scale(1.03); }
@media (max-width: 760px) {
  .feature-head { grid-template-columns: 1fr; }
  .panels { grid-template-columns: 1fr; }
}

/* ============================================================
   Adoption split feature
   ============================================================ */
.split {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(32px, 5vw, 56px) 0;
}
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: min(calc(100% - (var(--gutter) * 2)), var(--maxw));
  margin-inline: auto;
  overflow: hidden;
  background: var(--paper-2);
  border-radius: clamp(22px, 2vw, 32px);
}
.split-media { position: relative; min-height: clamp(340px, 32vw, 460px); }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(.7rem, 1vw, 1rem);
  padding: clamp(28px, 3.4vw, 48px) clamp(22px, 3.6vw, 52px);
}
.split-content h2 {
  max-width: 11ch;
  font-size: clamp(1.7rem, 2.5vw, 2.65rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: 0;
}
.split-content .eyebrow {
  color: var(--leaf);
  letter-spacing: .22em;
}
.steps {
  list-style: none;
  padding: 0;
  display: grid;
  gap: clamp(.58rem, .9vw, .85rem);
  counter-reset: s;
  max-width: 42ch;
}
.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .8rem;
  align-items: start;
  color: var(--ink-soft);
  font-size: clamp(.9rem, 1vw, 1rem);
  line-height: 1.38;
}
.steps li::before {
  counter-increment: s; content: counter(s);
  width: 1.95em; height: 1.95em; border-radius: 50%; border: 1px solid rgba(27,26,22,.18);
  display: grid; place-items: center; font-size: .85em; color: var(--ink);
}
.steps li strong { color: var(--ink); font-weight: 500; display: block; }
.split-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .75rem;
  margin-top: .55rem;
}
@media (max-width: 860px) {
  .split-grid { grid-template-columns: 1fr; }
  .split-media { min-height: clamp(190px, 48vw, 300px); }
  .split-content h2 { max-width: 11ch; font-size: clamp(1.7rem, 7vw, 2.35rem); }
}
@media (max-width: 520px) {
  .split { padding-inline: clamp(16px, 5vw, 24px); }
  .split-grid { width: 100%; }
  .split-content { padding: 24px 20px 28px; }
  .split-media { min-height: 52vw; }
  .steps li { font-size: .95rem; gap: .7rem; }
}

/* ============================================================
   Updates / news cards
   ============================================================ */
.news { padding: clamp(72px,11vw,150px) 0; }
.news-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2.6rem; }
.news-head h2 { font-size: var(--heading-lg); font-weight: 500; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px,3vw,40px); }
.post { display: flex; flex-direction: column; }
.post-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--line); }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post:hover .post-img img { transform: scale(1.04); }
.post-cat { color: var(--leaf); font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; margin: 1.1rem 0 .5rem; }
.post h3 { font-size: var(--heading-sm); font-weight: 500; line-height: 1.2; }
.post time { color: var(--muted); font-size: var(--step--1); margin-top: .6rem; }
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .news-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Credibility dark band
   ============================================================ */
.cred { position: relative; isolation: isolate; overflow: hidden; background: var(--forest); color: var(--on-dark); text-align: center; padding: clamp(80px,13vw,180px) 0; }
/* Self-hosted background video */
.cred-video { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cred-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgba(27,40,21,.78), rgba(27,40,21,.86)); }
.cred .wrap { position: relative; z-index: 2; max-width: min(92vw, 52rem); }
@media (prefers-reduced-motion: reduce) { .cred-video { display: none; } }
.cred .eyebrow { color: #9DBE8E; display: block; margin-bottom: 1.6em; }
.cred blockquote { font-size: var(--step-3); font-weight: 300; line-height: 1.15; letter-spacing: -.02em; }
.cred cite { display: block; margin-top: 1.8em; font-style: normal; color: var(--on-dark-mut); font-size: var(--step--1); letter-spacing: .1em; text-transform: uppercase; }
.cred .pill { margin-top: 2.4em; }

/* ============================================================
   Trust / support band
   ============================================================ */
.trust { position: relative; background: var(--paper); padding: clamp(64px,9vw,130px) 0; overflow: hidden; }
.tmark-bg {
  position: absolute; inset: 0; opacity: .22;
  background-image: url("../assets/img/bg_floral_pattern.svg"); background-size: 680px;
}
.trust .wrap { position: relative; z-index: 2; }
.trust-head { max-width: 30ch; margin-bottom: clamp(2rem,4vw,3.2rem); }
.trust-head .eyebrow { display: block; margin-bottom: 1em; }
.trust-head h2 { font-size: var(--heading-md); font-weight: 400; line-height: 1.18; }
.trust-grid {
  list-style: none; display: grid; gap: clamp(1rem,2vw,1.6rem); padding: 0;
  grid-template-columns: repeat(3, 1fr);
}
.trust-card {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(16px,1.6vw,22px);
  box-shadow: 0 24px 60px -44px rgba(27,26,22,.35);
  transition: transform .25s ease, box-shadow .25s ease;
}
.trust-card:hover { transform: translateY(-4px); box-shadow: 0 30px 64px -40px rgba(27,26,22,.5); }
.trust-card .post-img { aspect-ratio: 16/11; }
.trust-card h3 { font-size: var(--heading-sm); font-weight: 500; line-height: 1.2; }
.trust-card .post-excerpt { color: var(--ink-soft); line-height: 1.5; margin-top: .6rem; }
.trust-card time { color: var(--muted); font-size: var(--step--1); margin-top: auto; padding-top: 1rem; }
.trust-cta { margin-top: clamp(2rem,4vw,3rem); }
@media (max-width: 760px) {
  .trust-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Soundscapes (optional cultural layer)
   ============================================================ */
.sound {
  position: relative; overflow: hidden;
  color: var(--on-dark);
  padding: clamp(56px,9vw,120px) 0;
}
.sound-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url("../assets/img/piano-memories-bg.jpg") center/cover no-repeat;
}
.sound-bg::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(20, 31, 16, .93);
}
.sound-inner { position: relative; z-index: 1; }
.sound-head { max-width: 42ch; margin-bottom: clamp(28px,4vw,52px); }
.sound-head .eyebrow { display: block; margin-bottom: .6em; color: var(--on-dark-mut); }
.sound-head h2 { font-size: var(--heading-md); font-weight: 400; }
.sound-head p { margin-top: .8em; color: rgba(243,239,230,.78); font-size: var(--step-0); }

.track-list { display: grid; gap: clamp(12px,1.6vw,18px); padding: 0; list-style: none; }
.track {
  display: grid;
  grid-template-columns: 64px minmax(0,1fr);
  align-items: center; gap: clamp(14px,2vw,22px);
  padding: clamp(14px,2vw,20px);
  background: rgba(243,239,230,.06);
  border: 1px solid rgba(243,239,230,.12);
  border-radius: var(--radius-lg);
  transition: background .2s ease;
}
.track:hover { background: rgba(243,239,230,.1); }
.track-art { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: rgba(243,239,230,.1); }
.track-meta h3 { font-size: var(--heading-sm); font-weight: 500; }
.track-meta p { color: var(--on-dark-mut); font-size: var(--step--1); margin-top: .2em; }
.track-meta .track-album { color: rgba(243,239,230,.85); }
.track-audio { grid-column: 1 / -1; width: 100%; height: 40px; }

@media (min-width: 780px) {
  .track { grid-template-columns: 64px minmax(14ch, 26ch) minmax(0,1fr); }
  .track-audio { grid-column: auto; max-width: 420px; justify-self: end; }
}

/* ============================================================
   Instagram feed
   ============================================================ */
.instagram-feed {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(64px, 9vw, 128px) 0;
}
.instagram-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
}
.instagram-callout h2 {
  max-width: 18ch;
  color: var(--leaf-deep);
  font-size: clamp(1.75rem, 4vw, 3.85rem);
  font-weight: 300;
  letter-spacing: -.045em;
  line-height: 1;
  text-wrap: balance;
}
.instagram-callout p {
  max-width: 46ch;
  margin-top: 1.2rem;
  color: var(--ink-soft);
  font-size: var(--step-0);
  line-height: 1.6;
}
@media (max-width: 720px) {
  .instagram-feed { padding-block: clamp(52px, 14vw, 72px); }
  .instagram-callout { grid-template-columns: 1fr; align-items: start; }
  .instagram-callout .pill { justify-self: start; }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--forest); color: var(--on-dark); padding: clamp(64px,9vw,120px) 0 2.4rem; }
.footer-cta { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; padding-bottom: clamp(48px,7vw,90px); border-bottom: 1px solid rgba(243,239,230,.15); }
.footer-cta h2 { font-size: var(--heading-lg); font-weight: 500; max-width: 16ch; }
.footer-cta .pill-row { display: flex; flex-wrap: wrap; gap: .75rem; justify-self: start; }
@media (min-width: 861px) { .footer-cta .pill-row { justify-self: end; } }
.footer-cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: clamp(1.5rem,4vw,3rem); padding: clamp(48px,7vw,80px) 0; }
.footer-logo img { width: clamp(160px, 22vw, 240px); filter: brightness(0) invert(1); opacity: .92; }
.footer-instagram {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  width: fit-content;
  min-height: 44px;
  margin-top: 1.15rem;
  font-size: var(--step--1) !important;
  font-weight: 500;
}
.footer-instagram svg {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.footer-instagram .footer-instagram-dot {
  fill: currentColor;
  stroke: none;
}
.footer-logo p { color: var(--on-dark-mut); margin-top: 1.2rem; max-width: 30ch; font-size: var(--step--1); line-height: 1.6; }
.footer-cols h4 { font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-mut); font-weight: 500; margin-bottom: 1.1rem; }
.footer-cols ul { list-style: none; padding: 0; display: grid; gap: .7rem; }
.footer-cols a { color: var(--on-dark); opacity: .85; transition: opacity .2s, color .2s; font-size: var(--step-0); }
.footer-cols a:hover { opacity: 1; color: #9DBE8E; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; justify-content: space-between; color: var(--on-dark-mut); font-size: var(--step--1); padding-top: 2rem; }
@media (max-width: 860px) {
  .footer-cta { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .footer-cols { grid-template-columns: 1fr; } }

/* ---------- a11y ---------- */
:focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; }
.skip:focus { left: var(--gutter); top: 10px; background: var(--ink); color: var(--paper); padding: .6em 1em; border-radius: 999px; }
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
