/* =====================================================================
   CodeKarma — site styles
   The whole page sits on the banyan painting's paper (#FDEED5).
   ===================================================================== */

:root {
  --paper: #FDEED5;          /* sampled from Banyan.png's empty paper */
  --paper-wash: rgba(253, 238, 213, 0.82);
  --card: #F9E4C3;
  --card-2: #FFF6E6;
  --line: #EBD3AE;
  --line-strong: #D9BC92;

  --ink: #2B1D12;
  --ink-2: #5E4B39;
  --ink-3: #76604B;

  --bark: #A24B25;           /* trunk terracotta */
  --bark-deep: #863B1B;
  --leaf: #46632A;           /* canopy green */
  --leaf-deep: #3F5A24;
  --leaf-darker: #32481C;
  --turmeric: #B7791A;
  --gold: #D4942A;
  --on-dark: #FFF6E8;

  --th-accent: #0E7C6B;      /* Tharunam brand teal */
  --th-accent-tint: #E6F5F1;
  --th-accent-strong: #0B5F52;

  --header-h: 76px;
  --radius-card: 24px;
  --shadow-soft: 0 24px 48px -28px rgba(76, 46, 20, 0.32);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--paper);
  /* Faint watercolour-paper grain so the painting's texture continues across the page */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.55 0 0 0 0 0.38 0 0 0 0 0.18 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }

::selection { background: rgba(212, 148, 42, 0.28); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-dark);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

/* ---------- Type ---------- */
.eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bark);
  margin-bottom: 14px;
}
.eyebrow-leaf { color: var(--leaf); }

h1, h2, h3 { color: var(--ink); font-weight: 700; }

h2 {
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}
h3 {
  font-size: clamp(21px, 2vw, 24px);
  line-height: 1.25;
  letter-spacing: -0.012em;
}

.serif-sub {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.3;
  color: var(--ink-2);
  margin-top: 6px;
}
.serif-i { font-family: var(--font-serif); font-style: italic; font-size: 1.12em; color: var(--ink); }

.body-lg {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 34em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 15px/1 var(--font-sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease-out), box-shadow 0.25s;
}
.btn span[aria-hidden] { transition: transform 0.3s var(--ease-out); }
.btn:hover span[aria-hidden] { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }

.btn-bark { background: var(--bark); color: var(--on-dark); box-shadow: 0 10px 22px -12px rgba(134, 59, 27, 0.7); }
.btn-bark:hover { background: var(--bark-deep); }
.btn-leaf { background: var(--leaf-deep); color: var(--on-dark); box-shadow: 0 10px 22px -12px rgba(50, 72, 28, 0.7); }
.btn-leaf:hover { background: var(--leaf-darker); }
.btn-ghost { background: rgba(255, 248, 236, 0.55); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--card-2); border-color: var(--bark); }

.link-btn {
  background: none;
  border: 0;
  padding: 4px 2px;
  font: 600 14px var(--font-sans);
  color: var(--bark);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.link-btn:hover { color: var(--bark-deep); }

.chip {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--card-2);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
}
.chip-leaf { background: rgba(70, 99, 42, 0.1); border-color: rgba(70, 99, 42, 0.28); color: var(--leaf); }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border-radius: 18px;
  padding: 4px 12px 4px 6px;
  transition: background-color 0.3s, box-shadow 0.3s;
}
.brand-logo {
  display: block;
  height: 52px;
  width: auto;
  transition: height 0.35s var(--ease-out);
}
.site-header.is-scrolled .brand-logo { height: 46px; }
.brand picture { display: block; }
@media (max-width: 639.98px) {
  .brand { padding: 5px 9px; }
}
@media (min-width: 640px) {
  .brand-logo { height: 62px; }
  .site-header.is-scrolled .brand-logo { height: 54px; }
}

.nav-pill { display: none; }

.menu-btn {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(217, 188, 146, 0.9);
  background: rgba(253, 238, 213, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn path { transition: transform 0.3s var(--ease-out), opacity 0.2s; transform-origin: 12px 12px; }
.menu-btn[aria-expanded="true"] .l1 { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .l2 { opacity: 0; }
.menu-btn[aria-expanded="true"] .l3 { transform: translateY(-5px) rotate(-45deg); }

/* Over the canopy (top of page) the brand gets a frosted paper pill on small screens */
.site-header:not(.is-scrolled) .brand {
  background: rgba(253, 238, 213, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(217, 188, 146, 0.75);
}

.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(253, 238, 213, 0.92);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -24px rgba(76, 46, 20, 0.5);
}

.mobile-menu {
  padding: 8px clamp(16px, 4vw, 40px) 22px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) {
  padding: 14px 2px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(235, 211, 174, 0.7);
}
.mobile-menu .btn { margin-top: 18px; height: 52px; }

@media (min-width: 1024px) {
  .menu-btn, .mobile-menu { display: none !important; }
  .site-header:not(.is-scrolled) .header-inner { height: 96px; }
  .header-inner { transition: height 0.35s var(--ease-out); }
  .brand-logo { height: 84px; }
  .site-header.is-scrolled .brand-logo { height: 62px; }
  .site-header:not(.is-scrolled) .brand { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

  .nav-pill {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 5px 5px 10px;
    border-radius: 999px;
    background: rgba(253, 238, 213, 0.8);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 0 0 1px rgba(217, 188, 146, 0.8), 0 12px 30px -20px rgba(76, 46, 20, 0.45);
    transition: background-color 0.3s, box-shadow 0.3s;
  }
  .nav-pill a:not(.btn) {
    padding: 9px 13px;
    border-radius: 999px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink-2);
    text-decoration: none;
    transition: color 0.2s, background-color 0.2s;
  }
  .nav-pill a:not(.btn):hover { color: var(--ink); background: rgba(255, 246, 230, 0.9); }
  .nav-pill .btn { margin-left: 6px; }
  .site-header.is-scrolled .nav-pill { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* =====================================================================
   HERO — the banyan
   ===================================================================== */
.hero {
  position: relative;
  isolation: isolate;
}
.hero-art img {
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}
.hero-dapple { display: none; }

/* Phone (< 640): right-side crop of the painting, full-bleed under the header */
.hero-art {
  display: block;
  position: relative;
  z-index: -1;
}
.hero-art img {
  aspect-ratio: 900 / 865;
  -webkit-mask-image: linear-gradient(to bottom, #000 74%, rgba(0, 0, 0, 0.6) 86%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 74%, rgba(0, 0, 0, 0.6) 86%, transparent 100%);
}
.hero-inner {
  position: relative;
  margin-top: -5vw;
  padding-bottom: 24px;
}
.hero-copy h1 {
  font-size: clamp(42px, 11.5vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 800;
}
.hero-lede {
  margin-top: 18px;
  font-size: clamp(18px, 4.6vw, 21px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 27em;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

@media (max-width: 420px) {
  .hero-ctas .btn { flex: 1 1 auto; }
}

/* Tablet (640–1023): the whole painting, full width */
@media (min-width: 640px) {
  .hero-art img {
    aspect-ratio: 1448 / 1086;
    -webkit-mask-image: linear-gradient(to bottom, #000 80%, rgba(0, 0, 0, 0.55) 90%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 80%, rgba(0, 0, 0, 0.55) 90%, transparent 100%);
  }
  .hero-inner { margin-top: -4vw; }
}

/* Desktop (>= 1024): painting pinned to the page's top-right corner */
@media (min-width: 1024px) {
  .hero {
    --art-w: clamp(640px, 63vw, 1180px);
    min-height: max(calc(var(--art-w) * 0.75), 520px);
    display: flex;
    align-items: center;
  }
  .hero-art {
    position: absolute;
    top: 0;
    right: 0;
    width: var(--art-w);
  }
  .hero-art img {
    /* Feather only the left and bottom edges: the canopy stays flush with the top border,
       the trunk runs off the right edge. */
    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.6) 5%, #000 11%),
      linear-gradient(to bottom, #000 86%, rgba(0, 0, 0, 0.5) 94%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.6) 5%, #000 11%),
      linear-gradient(to bottom, #000 86%, rgba(0, 0, 0, 0.5) 94%, transparent 100%);
    mask-composite: intersect;
  }
  .hero-dapple {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: var(--art-w);
    aspect-ratio: 1448 / 1086;
    z-index: -1;
    pointer-events: none;
    background:
      radial-gradient(28% 22% at 62% 18%, rgba(255, 236, 170, 0.32), transparent 70%),
      radial-gradient(22% 18% at 30% 30%, rgba(255, 240, 190, 0.22), transparent 70%);
    mix-blend-mode: soft-light;
    animation: dapple 14s ease-in-out infinite alternate;
  }
  .hero-inner {
    margin-top: 0;
    padding-top: 96px;
    padding-bottom: 48px;
  }
  .hero-copy {
    position: relative;
    max-width: min(540px, 44vw);
  }
  /* A soft paper wash keeps the copy crisp wherever it meets the painting's left edge */
  .hero-copy::before {
    content: "";
    position: absolute;
    inset: -60px -90px -60px -60px;
    z-index: -1;
    background: radial-gradient(closest-side, var(--paper-wash), rgba(253, 238, 213, 0));
    pointer-events: none;
  }
  .hero-copy h1 { font-size: clamp(54px, 5.4vw, 76px); }
  .hero-lede { font-size: 20px; max-width: 24em; }
  .hero-ctas { margin-top: 34px; }
}

@keyframes dapple {
  0%   { transform: translate3d(0, 0, 0); opacity: 0.85; }
  100% { transform: translate3d(-2.5%, 1.5%, 0); opacity: 1; }
}

/* =====================================================================
   SECTIONS
   ===================================================================== */
.section {
  padding: clamp(72px, 10vw, 128px) 0;
  scroll-margin-top: 40px;
}
.hero + .section { padding-top: clamp(48px, 7vw, 96px); }

.section-head { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 56px); }
.section-lede {
  margin-top: 14px;
  font-size: 19px;
  color: var(--ink-2);
}

/* ---------- Tharunam ---------- */
.tharunam { overflow-x: clip; }
.tharunam-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
.tharunam-title {
  display: flex;
  align-items: center;
  gap: 14px;
}
.tharunam-title img { width: 52px; height: 52px; border-radius: 13px; box-shadow: 0 8px 18px -10px rgba(14, 124, 107, 0.6); }
.tharunam-title h2 { font-size: clamp(38px, 4.6vw, 54px); }
.tharunam-copy .serif-sub { margin-top: 12px; }
.tharunam-copy .body-lg { margin-top: 18px; }

.checks { margin-top: 26px; display: grid; gap: 14px; }
.checks li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 17.5px;
  font-weight: 600;
  color: var(--ink);
}
.check {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 999px;
  background: var(--leaf-deep);
  display: grid;
  place-items: center;
}
.check svg { width: 16px; height: 16px; fill: none; stroke: var(--on-dark); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }

.tharunam-ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

.try-hint {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 30rem;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255, 246, 230, 0.7);
  border: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}
.try-hint strong { color: var(--ink); }
.try-dot {
  flex: none;
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 999px;
  background: var(--th-accent);
  box-shadow: 0 0 0 0 rgba(14, 124, 107, 0.5);
  animation: ping 2.4s ease-out infinite;
}
.kbd {
  display: inline-block;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--th-accent-tint);
  color: var(--th-accent-strong);
  font-weight: 700;
  white-space: nowrap;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(14, 124, 107, 0.45); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(14, 124, 107, 0); }
}

.tharunam-demo-col {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.phone-glow {
  position: absolute;
  inset: 4% -6% 10%;
  z-index: -1;
  background:
    radial-gradient(45% 40% at 50% 40%, rgba(14, 124, 107, 0.16), transparent 70%),
    radial-gradient(50% 45% at 50% 70%, rgba(212, 148, 42, 0.18), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.phone-host { width: 100%; display: flex; justify-content: center; }
.demo-under {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--ink-3);
}

@media (min-width: 1024px) {
  .tharunam-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; }
}

/* ---------- SPANS ---------- */
.spans-grid {
  display: grid;
  gap: 20px;
}
.spans-card {
  --tone: 162, 75, 37;            /* rgb triplet, set per tone below */
  --tone-text: var(--bark);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(28px, 3.4vw, 42px);
  border-radius: var(--radius-card);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(var(--tone), 0.13) 0%, rgba(var(--tone), 0) 58%),
    linear-gradient(180deg, var(--card-2) 0%, #FBEBD0 100%);
  border: 1px solid rgba(var(--tone), 0.22);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 14px 30px -26px rgba(76, 46, 20, 0.35);
  transition: transform 0.5s var(--ease-out), border-color 0.4s, box-shadow 0.5s var(--ease-out);
}
.spans-card::before {            /* accent line along the top */
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(var(--tone), 0.85), rgba(var(--tone), 0.15));
}
.spans-card::after {             /* glow that brightens on hover */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(80% 70% at 100% 0%, rgba(var(--tone), 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}
.spans-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--tone), 0.42);
  box-shadow: var(--shadow-soft);
}
.spans-card:hover::after { opacity: 1; }

.tone-bark     { --tone: 162, 75, 37;  --tone-text: var(--bark); }
.tone-turmeric { --tone: 183, 121, 26; --tone-text: #8A5A10; }
.tone-leaf     { --tone: 70, 99, 42;   --tone-text: var(--leaf-deep); }
.give-tag.tone-bark { color: var(--bark); }
.give-tag.tone-leaf { color: var(--leaf); }
.js .spans-card.reveal.is-visible:hover { transform: translateY(-4px); }

.spans-num {
  position: absolute;
  top: clamp(14px, 2vw, 20px);
  right: clamp(20px, 2.6vw, 30px);
  font-family: var(--font-serif);
  font-size: clamp(56px, 6vw, 76px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: rgba(var(--tone), 0.2);
  pointer-events: none;
  user-select: none;
}

.spans-icon {
  width: 84px;
  height: 84px;
  border-radius: 24px;
  background: rgba(var(--tone), 0.1);
  box-shadow: 0 0 0 1px rgba(var(--tone), 0.25) inset;
  color: var(--tone-text);
  display: grid;
  place-items: center;
  transition: transform 0.5s var(--ease-out);
}
.spans-icon svg { width: 50px; height: 50px; }
.spans-card:hover .spans-icon { transform: rotate(-4deg) scale(1.04); }

.spans-card h3 { margin-top: 26px; }
.spans-tag {
  margin-top: 6px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 19px;
  line-height: 1.4;
  color: var(--tone-text);
}
.spans-card p:not(.spans-tag) {
  margin-top: 12px;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* Faint Krishna-on-leaf watermark (Guru card) */
.spans-leaf {
  position: absolute;
  z-index: -1;
  right: -78px;
  bottom: -96px;
  width: 210px;
  height: auto;
  opacity: 0.16;
  transform: rotate(-28deg);
  pointer-events: none;
}

@media (min-width: 768px) {
  .spans-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .spans-leaf { width: 240px; right: -98px; bottom: -124px; }
}

/* ---------- Our guide ---------- */
.guide {
  position: relative;
}
.guide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(50% 60% at 30% 50%, rgba(212, 148, 42, 0.12), transparent 70%);
  pointer-events: none;
}
.guide-grid {
  display: grid;
  gap: 40px;
  align-items: center;
  justify-items: center;
  text-align: center;
}
.guide-photo {
  width: 100%;
  max-width: 340px;
  padding: 12px;
  border-radius: 24px;
  background: var(--card-2);
  border: 1px solid var(--line);
  box-shadow: 0 40px 70px -40px rgba(76, 46, 20, 0.55);
}
.guide-photo img { width: 100%; height: auto; border-radius: 14px; }
.guide-copy { max-width: 36rem; }
.guide-copy h2 { text-wrap: balance; }
.guide-body {
  margin-top: 24px;
  font-size: clamp(18px, 1.6vw, 20px);
  line-height: 1.75;
  color: var(--ink-2);
  text-wrap: pretty;
}

@media (min-width: 900px) {
  .guide-grid {
    grid-template-columns: auto minmax(0, 1fr);
    gap: clamp(48px, 7vw, 96px);
    justify-items: start;
    text-align: left;
    max-width: 1040px;
  }
  .guide-photo { max-width: 360px; }
}

/* ---------- Giving back ---------- */
.giving-grid { display: grid; gap: 24px; }
.give-card {
  border-radius: var(--radius-card);
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.give-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.give-photo { aspect-ratio: 16 / 10; overflow: hidden; background: var(--line); }
.give-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.give-card:hover .give-photo img { transform: scale(1.035); }
.give-body {
  padding: clamp(24px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
}
.give-body p { color: var(--ink-2); font-size: 17px; }
.give-body .chip, .give-body .text-link { margin-top: auto; padding-top: 0; }
.give-body > :last-child { margin-top: 10px; }
.give-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 16px;
  color: var(--bark);
  text-decoration: none;
}
.text-link span { transition: transform 0.3s var(--ease-out); }
.text-link:hover { color: var(--bark-deep); }
.text-link:hover span { transform: translateX(4px); }

@media (min-width: 768px) {
  .giving-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: clamp(56px, 7vw, 80px) 0 32px;
  scroll-margin-top: 40px;
}
.footer-grid { display: grid; gap: 36px; }
.footer-logo { display: inline-block; }
.footer-logo img { height: 96px; width: auto; margin-left: -6px; }
.footer-brand p { margin-top: 14px; max-width: 26rem; color: var(--ink-2); font-size: 15.5px; }
.footer-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bark);
  margin-bottom: 12px;
}
.footer-mail { font-size: 18px; font-weight: 600; text-decoration: none; }
.footer-mail:hover { color: var(--bark); }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: var(--ink-2); text-decoration: none; font-size: 15.5px; }
.footer-links a:hover { color: var(--bark); }
.footer-base {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-3);
}
.site-footer .footer-base { border-top: 0; position: relative; }
.site-footer .footer-base::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(16px, 4vw, 40px);
  right: clamp(16px, 4vw, 40px);
  border-top: 1px solid var(--line);
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 6fr 3fr 3fr; }
}

/* =====================================================================
   Reveal on scroll (only when JS is running)
   ===================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
