/* =====================================================================
   Dalia Eilat: parent guidance and couples counselling
   Design system: a sunlit sketchbook garden.
   Ink is forest green, the accent is bougainvillea pink, the paper is the
   warm wall from her own paintings. One deliberate theme switch: the
   footer goes underground.
   ===================================================================== */

:root {
  /* surfaces */
  --paper: #FBF3E6;
  --paper-sun: #FFF0D2;
  --paper-deep: #F5E8D3;
  --mist: #EEF0E2;
  --card: #FFFAF2;
  /* ink */
  --ink: #173A2B;
  --ink-2: #44584B;
  --line: rgba(23, 58, 43, 0.12);
  /* garden */
  --stem: #2F5A3C;
  --twig: #7A5E45;
  /* accent: bougainvillea, as in her slides */
  --bloom: #C8255F;
  --bloom-ink: #A31D4E;
  --bloom-soft: #F8E3E8;
  --gold: #C29A47;
  /* underground */
  --soil-top: #3A3125;
  --soil: #1E2621;
  --cream: #F3EADB;
  --root: #D9C597;

  --font-display: "Playpen Sans Hebrew", "IBM Plex Sans Hebrew", system-ui, sans-serif;
  --font-text: "IBM Plex Sans Hebrew", "Assistant", system-ui, sans-serif;

  --nav-h: 64px;
  --gutter: clamp(20px, 5vw, 64px);
  --maxw: 1240px;
  --radius: 28px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.32, 0.72, 0, 1);
  --shadow-soft: 0 30px 60px -36px rgba(23, 58, 43, 0.4);
  interpolate-size: allow-keywords;
}

/* ---------------------------------------------------------------------
   Base
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1.125rem;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* paper grain over everything, fixed so it never repaints on scroll */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.08;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .25  0 0 0 0 .2  0 0 0 0 .12  0 0 0 .6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, blockquote, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--bloom-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--bloom); outline-offset: 3px; border-radius: 8px; }
p { text-wrap: pretty; }

.skip {
  position: fixed; inset-inline-start: 16px; top: 12px; z-index: 200;
  padding: 10px 18px; border-radius: 999px;
  background: var(--ink); color: var(--paper); text-decoration: none;
  transform: translateY(-160%); transition: transform 0.3s var(--ease-out);
}
.skip:focus { transform: none; }
.top-sentinel { position: absolute; top: 0; height: 40px; width: 1px; }

.wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------------------------------------------------------------------
   Type
   --------------------------------------------------------------------- */
.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.9rem);
  line-height: 1.08;
  text-wrap: balance;
}
.lede {
  margin-top: clamp(16px, 2vw, 24px);
  font-size: clamp(1.125rem, 1.02rem + 0.35vw, 1.3rem);
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 50ch;
}

/* ---------------------------------------------------------------------
   Buttons: pill with a nested icon "island"
   --------------------------------------------------------------------- */
.btn {
  --bg: var(--ink);
  --fg: var(--paper);
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 54px;
  padding-block: 7px;
  padding-inline: 24px 7px;
  border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 500 1.0625rem/1 var(--font-text);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  box-shadow: 0 16px 30px -18px rgba(23, 58, 43, 0.65);
  transition: transform 0.5s var(--ease-soft), box-shadow 0.5s var(--ease-soft), background-color 0.3s;
}
.btn__icon {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(251, 243, 230, 0.14);
  font-size: 1.15rem;
  transition: transform 0.5s var(--ease-soft), background-color 0.3s;
}
.btn:hover { box-shadow: 0 22px 40px -20px rgba(23, 58, 43, 0.7); }
.btn:hover .btn__icon { transform: translate(-3px, -1px) scale(1.06); background: rgba(251, 243, 230, 0.22); }
.btn:active { transform: scale(0.98); transition-duration: 0.12s; }
.btn--ghost {
  --bg: transparent; --fg: var(--ink);
  padding-inline: 22px; gap: 10px;
  box-shadow: inset 0 0 0 1px rgba(23, 58, 43, 0.24);
}
.btn--ghost:hover { background: rgba(23, 58, 43, 0.04); box-shadow: inset 0 0 0 1px rgba(23, 58, 43, 0.5); }
.btn--ghost i { font-size: 1.25rem; }
.btn--nav { min-height: 48px; padding-inline-start: 20px; font-size: 1rem; box-shadow: none; }
.btn--nav .btn__icon { width: 34px; height: 34px; font-size: 1rem; }

/* ---------------------------------------------------------------------
   Navigation: a floating paper pill
   --------------------------------------------------------------------- */
.nav {
  position: fixed; top: 14px; inset-inline: 0; z-index: 60;
  display: flex; justify-content: center; pointer-events: none;
}
.nav-bar {
  pointer-events: auto;
  width: min(1220px, 100% - 24px); height: var(--nav-h);
  display: flex; align-items: center; gap: 20px;
  padding-inline: 18px 8px;
  border-radius: 999px;
  transition: background-color 0.5s var(--ease-soft), box-shadow 0.5s var(--ease-soft);
}
.nav.is-raised .nav-bar {
  background: rgba(251, 243, 230, 0.76);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: inset 0 0 0 1px rgba(23, 58, 43, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 18px 40px -26px rgba(23, 58, 43, 0.45);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none; white-space: nowrap;
  font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; line-height: 1;
}
.brand-mark { width: 36px; height: 36px; flex: none; }
.nav-links { display: flex; gap: clamp(18px, 2vw, 32px); margin-inline: auto; }
.nav-links a {
  position: relative; padding-block: 6px;
  font-size: 0.98rem; color: var(--ink-2); text-decoration: none;
  transition: color 0.25s;
}
.nav-links a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1.5px; border-radius: 2px;
  background: var(--bloom); transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

.menu-btn {
  display: none; place-items: center;
  width: 48px; height: 48px; margin-inline-start: auto;
  border: 0; border-radius: 50%;
  background: var(--ink); color: var(--paper); cursor: pointer;
}
.menu-btn span {
  grid-area: 1 / 1; width: 18px; height: 1.5px; border-radius: 2px; background: currentColor;
  transition: transform 0.45s var(--ease-soft);
}
.menu-btn span:first-child { transform: translateY(-4px); }
.menu-btn span:last-child { transform: translateY(4px); }
.menu-open .menu-btn span:first-child { transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 55;
  display: grid; align-content: center; gap: 36px;
  padding: 110px var(--gutter) 48px;
  background: rgba(251, 243, 230, 0.9);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  backdrop-filter: blur(24px) saturate(1.4);
  opacity: 0; visibility: hidden;
  transition: opacity 0.45s var(--ease-soft), visibility 0s linear 0.45s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity 0.45s var(--ease-soft); }
.menu-link, .menu-cta {
  opacity: 0; transform: translateY(26px);
  transition: transform 0.7s var(--ease-out), opacity 0.7s var(--ease-out);
  transition-delay: calc(var(--i) * 55ms + 60ms);
}
.menu-link {
  display: block; font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2rem, 8vw, 2.8rem); line-height: 1.32; color: var(--ink); text-decoration: none;
}
.menu-cta { justify-self: start; }
.menu.is-open .menu-link, .menu.is-open .menu-cta { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .nav-links, .btn--nav { display: none; }
  .menu-btn { display: inline-grid; }
}

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(100svh, 700px);
  display: flex; align-items: center;
  padding-block: calc(var(--nav-h) + 48px) 16svh;
  background:
    radial-gradient(110% 85% at 4% 0%, var(--paper-sun) 0%, rgba(255, 240, 210, 0.55) 34%, rgba(255, 240, 210, 0) 64%),
    linear-gradient(180deg, #FAEEDA 0%, var(--paper) 72%);
}
.hero-art { position: absolute; inset: 0; z-index: -1; }
.hero-art .dapple {
  -webkit-mask-image: radial-gradient(85% 75% at 12% 0%, #000 0%, rgba(0, 0, 0, 0.4) 45%, transparent 75%);
  mask-image: radial-gradient(85% 75% at 12% 0%, #000 0%, rgba(0, 0, 0, 0.4) 45%, transparent 75%);
}
.hero-copy {
  position: relative;
  width: min(660px, 50%);
  margin-inline-start: max(var(--gutter), calc((100% - var(--maxw)) / 2));
}
.byline { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(22px, 3vw, 36px); }
.byline img {
  width: 52px; height: 52px; border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px rgba(23, 58, 43, 0.16);
}
.byline-name { display: block; font-weight: 500; font-size: 1.02rem; line-height: 1.3; }
.byline-role { display: block; font-size: 0.95rem; line-height: 1.35; color: var(--ink-2); }
.hero-title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(3.4rem, 1.7rem + 5.6vw, 7.2rem);
  line-height: 0.98;
}
.hero-title .line { display: block; }
.hero-title .accent { color: var(--bloom); }
.hero-lede {
  margin-top: clamp(22px, 2.6vw, 32px); max-width: 32ch;
  font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem); line-height: 1.6; color: var(--ink-2);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 3.4vw, 42px); }

/* ---------------------------------------------------------------------
   Recognition: the sentences every parent says
   --------------------------------------------------------------------- */
.familiar { padding-block: clamp(110px, 13vw, 180px) clamp(100px, 12vw, 160px); }
.familiar .section-title { max-width: 16ch; }
.sayings {
  display: flex; flex-wrap: wrap; gap: 14px 12px;
  max-width: 980px; margin-top: clamp(38px, 5vw, 64px);
}
.saying {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.2rem, 0.95rem + 0.9vw, 1.75rem); line-height: 1.2;
  padding: 0.6em 1.05em 0.68em;
  border-radius: 1.1em 1.1em 1.1em 0.3em;
  background: var(--card);
  box-shadow: inset 0 0 0 1px rgba(23, 58, 43, 0.08), 0 18px 32px -26px rgba(23, 58, 43, 0.55);
}
.saying--soft { background: var(--bloom-soft); }
.saying:nth-child(3n + 2) { margin-inline-start: clamp(0px, 4vw, 56px); }
.familiar-turn {
  max-width: 30ch; margin-top: clamp(56px, 7vw, 96px);
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.6rem, 1.15rem + 1.6vw, 2.6rem); line-height: 1.32;
}
.turn-accent {
  color: var(--bloom-ink);
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 12' preserveAspectRatio='none'><path d='M2 8.5C40 4 80 9 120 6.5S200 3 240 6.8 290 8 298 5' fill='none' stroke='%23C8255F' stroke-width='2.2' stroke-linecap='round' opacity='.65'/></svg>") bottom / 100% 0.32em no-repeat;
  padding-bottom: 0.12em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------------------------------------------------------------------
   About
   --------------------------------------------------------------------- */
.about {
  padding-block: clamp(100px, 12vw, 170px);
  background: linear-gradient(180deg, var(--paper) 0%, var(--mist) 46%, var(--mist) 100%);
}
.about-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(48px, 7vw, 112px); align-items: center;
}
.portrait { position: relative; isolation: isolate; max-width: 470px; }
.portrait::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  border-radius: 999px 999px 34px 34px;
  border: 1.5px solid var(--ink); opacity: 0.32;
  transform: translate(-18px, -18px);
}
.portrait::after {
  content: ""; position: absolute; z-index: -1; inset: 8% -12% -6% 12%;
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  background: radial-gradient(60% 60% at 40% 40%, rgba(169, 196, 127, 0.55), rgba(169, 196, 127, 0) 70%),
              radial-gradient(50% 50% at 70% 70%, rgba(200, 37, 95, 0.14), rgba(200, 37, 95, 0) 70%);
}
.portrait-frame {
  position: relative; z-index: 1; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 999px 999px 34px 34px;
  background: #D7D3CB; box-shadow: var(--shadow-soft);
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
/* it leans out past the photo by up to 64px, never further than the margin the screen actually has */
.portrait-sprout { position: absolute; z-index: 2; inset-inline-end: calc(-1 * min(64px, max(var(--gutter), (100vw - var(--maxw)) / 2) - 6px)); bottom: -14px; width: 150px; height: 190px; }
.about-copy > p:not(.lede) { margin-top: 18px; max-width: 52ch; color: var(--ink-2); }
.about-copy > p:first-of-type { margin-top: clamp(22px, 2.6vw, 30px); }
.credo {
  margin-block: clamp(30px, 3.4vw, 44px) 0; padding-inline-start: 22px;
  border-inline-start: 2px solid var(--gold);
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2.1rem); line-height: 1.38;
}
.paint {
  padding-inline: 0.12em;
  border-radius: 0.35em 0.55em 0.4em 0.6em;
  background: linear-gradient(100deg, rgba(200, 37, 95, 0.2), rgba(194, 154, 71, 0.26) 48%, rgba(110, 154, 79, 0.24));
}
.facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 0; margin-top: clamp(34px, 4vw, 52px);
}
.fact { display: grid; align-content: start; gap: 4px; padding-inline: 20px; border-inline-start: 1px solid rgba(194, 154, 71, 0.55); }
.fact:nth-child(odd) { padding-inline-start: 0; border: 0; }
.fact-label { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; line-height: 1.2; }
.fact-text { font-size: 0.95rem; line-height: 1.55; color: var(--ink-2); }

/* ---------------------------------------------------------------------
   Approach: the balcony from her course
   --------------------------------------------------------------------- */
.approach { background: var(--mist); }
.approach-intro { padding-block: clamp(100px, 11vw, 150px) clamp(36px, 4vw, 56px); }
.approach-track { position: relative; height: 340vh; }
.approach-stage {
  --rain: 0;
  position: sticky; top: 0; height: 100svh; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(70% 60% at 8% 0%, rgba(255, 240, 205, 0.95), rgba(255, 240, 205, 0) 70%),
    linear-gradient(180deg, #F6E5C8 0%, #FAF0DF 50%, #F3E3C8 100%);
}
.approach-stage::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, #A7B2B4 0%, #C9CCC2 60%, #D9D2C1 100%);
  opacity: calc(var(--rain) * 0.62);
}
.balcony-art { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.balcony-art .dapple { opacity: calc(0.32 * (1 - var(--rain))); }
.pillars {
  position: absolute; inset: 0; z-index: 2;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  pointer-events: none;
}
.pillar { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: calc(var(--nav-h) + 13svh); }
.pillar + .pillar::before {
  content: ""; position: absolute; inset-inline-start: 0;
  top: calc(var(--nav-h) + 13svh + 0.25em); height: clamp(1.6rem, 1rem + 2.2vw, 3rem);
  width: 2px; border-radius: 2px; background: var(--gold); opacity: 0.85;
}
.pillar-word {
  padding-inline: 8px;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.25rem, 0.7rem + 2.4vw, 3.1rem); line-height: 1.12;
  color: var(--ink); opacity: 0.3;
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.pillar:nth-child(even) .pillar-word { color: var(--bloom); }
.pillar-text {
  position: absolute; top: calc(var(--ledge-face, 72svh) + clamp(24px, 4svh, 40px));
  inset-inline: 10%;
  font-size: clamp(1rem, 0.92rem + 0.3vw, 1.15rem); line-height: 1.6; color: var(--ink);
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.6s var(--ease-out), transform 0.7s var(--ease-out);
}
.approach-stage[data-step="0"] .pillar:nth-child(1) .pillar-word,
.approach-stage[data-step="1"] .pillar:nth-child(2) .pillar-word,
.approach-stage[data-step="2"] .pillar:nth-child(3) .pillar-word,
.approach-stage[data-step="3"] .pillar:nth-child(4) .pillar-word { opacity: 1; }
.approach-stage[data-step="0"] .pillar:nth-child(1) .pillar-text,
.approach-stage[data-step="1"] .pillar:nth-child(2) .pillar-text,
.approach-stage[data-step="2"] .pillar:nth-child(3) .pillar-text,
.approach-stage[data-step="3"] .pillar:nth-child(4) .pillar-text { opacity: 1; transform: none; transition-delay: 0.12s; }

/* ---------------------------------------------------------------------
   Services: an asymmetric bento of living cards
   --------------------------------------------------------------------- */
.services { padding-block: clamp(110px, 12vw, 170px); }
.bento {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px); margin-top: clamp(40px, 5vw, 64px);
}
.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius); background: var(--card);
  box-shadow: inset 0 0 0 1px rgba(23, 58, 43, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 30px 60px -44px rgba(23, 58, 43, 0.45);
  transition: transform 0.6s var(--ease-soft), box-shadow 0.6s var(--ease-soft);
}
.card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(23, 58, 43, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 44px 72px -44px rgba(23, 58, 43, 0.55); }
.card-art { position: relative; height: clamp(190px, 17vw, 240px); flex: none; }
.card-body { padding: 4px clamp(24px, 2.6vw, 38px) clamp(28px, 3vw, 40px); }
.card h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.65rem, 1.25rem + 1vw, 2.25rem); line-height: 1.15; }
.card p { margin-top: 10px; font-size: 1.0625rem; line-height: 1.65; color: var(--ink-2); max-width: 46ch; }
.card .card-meta { margin-top: 18px; font-size: 0.95rem; }
.card--parents {
  --ink: #F3EADB; --stem: #CFE0B0; --twig: #E6D6BC;
  grid-column: 1 / span 7; grid-row: span 2;
  background: radial-gradient(80% 60% at 70% 20%, #24503B 0%, #173A2B 70%);
  color: var(--cream);
}
.card--parents .card-art { height: auto; flex: 1; min-height: 260px; }
.card--parents p { color: rgba(243, 234, 219, 0.82); }
.card--couples { grid-column: 8 / span 5; background: var(--mist); }
.card--groups { grid-column: 8 / span 5; background: #F7E7D3; }
.card--talks {
  grid-column: 1 / -1; background: var(--bloom-soft);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center;
}
.card--talks .card-art { height: 100%; min-height: 270px; }
.card--talks .card-body { padding-block: clamp(28px, 3vw, 40px); }

/* ---------------------------------------------------------------------
   Media rail
   --------------------------------------------------------------------- */
.media {
  padding-block: clamp(56px, 6vw, 96px) clamp(72px, 8vw, 120px);
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%);
  overflow: hidden;
}
.media-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.rail-controls { display: flex; gap: 10px; }
.rail-btn {
  width: 52px; height: 52px; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; font-size: 1.25rem;
  background: transparent; box-shadow: inset 0 0 0 1px rgba(23, 58, 43, 0.22);
  transition: background-color 0.3s, box-shadow 0.3s, transform 0.4s var(--ease-soft);
}
.rail-btn:hover { background: var(--ink); color: var(--paper); box-shadow: none; }
.rail-btn:active { transform: scale(0.95); }
.rail {
  --pad: max(var(--gutter), calc((100% - var(--maxw)) / 2));
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(272px, 26vw, 360px);
  gap: 18px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
  padding: 44px var(--pad) 36px;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.media-card {
  scroll-snap-align: start;
  display: flex; flex-direction: column; min-height: 300px;
  padding: clamp(24px, 2.4vw, 32px); border-radius: var(--radius);
  background: var(--card); color: inherit; text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(23, 58, 43, 0.07), 0 26px 50px -40px rgba(23, 58, 43, 0.5);
  transition: transform 0.6s var(--ease-soft), box-shadow 0.6s var(--ease-soft);
}
/* her own drawings: three sheets side by side on top, whole and straight, the way the video
   cards carry their thumbnail; the words gather underneath. They lift in turn on hover. */
.media-card--notebook {
  grid-column: span 2; padding: 10px; overflow: hidden;
  display: flex; flex-direction: column;
  background: #F6E4E6;
}
.notebook-art { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.nb {
  display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px;
  box-shadow: 0 16px 28px -22px rgba(23, 58, 43, 0.55);
  transition: transform 0.6s var(--ease-soft);
}
.media-card--notebook:hover .nb { transform: translateY(-4px); }
.media-card--notebook:hover .nb--2 { transition-delay: 0.05s; }
.media-card--notebook:hover .nb--3 { transition-delay: 0.1s; }
.media-card--notebook .media-card-body { flex: 1; padding: 18px calc(clamp(24px, 2.4vw, 32px) - 10px) calc(clamp(24px, 2.4vw, 32px) - 10px); }
.media-card--notebook .media-outlet { padding-top: 12px; }
.media-card--video { padding-top: 10px; }
.media-thumb {
  position: relative; display: block; overflow: hidden;
  margin-inline: -14px; aspect-ratio: 16 / 9; border-radius: 20px;
  background: #D9D3C6;
}
.media-card--video .media-thumb { margin-inline: calc(-1 * clamp(24px, 2.4vw, 32px) + 10px); margin-bottom: 18px; }
.media-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.media-play {
  position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.4rem; color: var(--ink);
  background: rgba(251, 243, 230, 0.88);
  box-shadow: 0 10px 30px -10px rgba(23, 58, 43, 0.6);
  transition: transform 0.5s var(--ease-soft);
}
.media-card--video:hover .media-thumb img { transform: scale(1.04); }
.media-card--video:hover .media-play { transform: scale(1.08); }
.media-card--video .media-outlet { padding-top: 0; }
.media-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(23, 58, 43, 0.1), 0 36px 60px -40px rgba(23, 58, 43, 0.6); }
.media-card:active { transform: scale(0.985); }
.media-type { display: inline-flex; align-items: center; gap: 8px; font-size: 0.95rem; color: var(--ink-2); }
.media-type i { font-size: 1.2rem; }
.media-outlet { display: block; margin-top: auto; padding-top: 36px; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 1.25rem + 0.9vw, 2.1rem); line-height: 1.12; }
.media-title { display: block; margin-top: 10px; font-size: 1.02rem; line-height: 1.6; color: var(--ink-2); }
.media-date { display: block; margin-top: 16px; font-size: 0.92rem; color: var(--ink-2); }
/* Press pieces: a small, tidy window onto the article page itself. Outlet and
   section, the headline, a few lines, Dalia and the date, and a button that leads
   sideways to read. Every window is the same size: the headline keeps room for
   three lines and the lead for three, so bylines and buttons line up. */
.media-card--window {
  min-height: 0; padding: 6px;
  background: #ECE3D2;
  box-shadow: inset 0 0 0 1px rgba(23, 58, 43, 0.06), 0 26px 50px -40px rgba(23, 58, 43, 0.5);
}
.win-chrome { display: flex; align-items: center; gap: 10px; padding: 6px 8px 10px; direction: ltr; }
.win-dots { display: flex; gap: 5px; flex: none; }
.win-dots i { display: block; width: 9px; height: 9px; border-radius: 50%; background: #D6CAB3; }
.win-url {
  flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 5px;
  padding: 3px 12px; border-radius: 999px; background: rgba(255, 253, 248, 0.75);
  font-size: 0.78rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.win-page {
  display: flex; flex-direction: column; gap: 12px; flex: 1;
  padding: 20px 20px 18px; border-radius: calc(var(--radius) - 8px);
  background: #FFFDF8; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.win-mast { display: flex; align-items: center; gap: 10px; min-width: 0; white-space: nowrap; }
.wm { font-family: var(--font-text); font-weight: 700; font-size: 1.2rem; line-height: 1; letter-spacing: -0.01em; color: var(--ink); flex: none; }
.wm b { font-weight: 700; color: var(--brand); }
.wm--brand { color: var(--brand); }
.win-sep { width: 1px; height: 15px; background: var(--line); flex: none; }
.win-sec { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-weight: 600; font-size: 1rem; color: var(--ink-2); }
.win-head {
  font-family: var(--font-text); font-weight: 700; font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; min-height: calc(1.25em * 3);
  text-wrap: balance;
}
.win-lead {
  font-size: 0.95rem; line-height: 1.6; color: var(--ink-2);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; min-height: calc(1.6em * 3);
}
.win-by { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 0.86rem; color: var(--ink-2); white-space: nowrap; }
.win-by img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: none; }
.win-by strong { font-weight: 600; color: var(--ink); }
.win-read {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; margin-top: 4px;
  padding-block: 5px; padding-inline: 16px 5px; border-radius: 999px;
  background: var(--ink); color: var(--paper); font-weight: 600; font-size: 0.92rem; white-space: nowrap;
}
.win-ico {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 1rem;
  background: #CFE09A; color: var(--ink); transition: transform 0.4s var(--ease-soft);
}
.media-card--window:hover .win-ico { transform: translateX(-4px); }
.media-card--feature {
  grid-column: span 2; padding: 0; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  background: var(--ink); color: var(--cream);
}
.media-card--feature .media-photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: grayscale(1) contrast(1.05); }
.media-card-body { display: flex; flex-direction: column; padding: clamp(24px, 2.4vw, 32px); }
.media-card--feature .media-type, .media-card--feature .media-title, .media-card--feature .media-date { color: rgba(243, 234, 219, 0.8); }

/* ---------------------------------------------------------------------
   FAQ
   --------------------------------------------------------------------- */
.faq { padding-block: clamp(110px, 12vw, 170px); background: var(--paper-deep); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.faq-aside { position: sticky; top: 120px; }
.faq-aside .btn { margin-top: 28px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-block: 26px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.6rem); line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.1rem;
  box-shadow: inset 0 0 0 1px rgba(23, 58, 43, 0.2);
  transition: transform 0.5s var(--ease-soft), background-color 0.3s, color 0.3s;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--ink); color: var(--paper); box-shadow: none; }
.faq-item summary:hover .faq-icon { box-shadow: inset 0 0 0 1px rgba(23, 58, 43, 0.5); }
.faq-item::details-content {
  block-size: 0; overflow: hidden;
  transition: block-size 0.55s var(--ease-soft), content-visibility 0.55s allow-discrete;
}
.faq-item[open]::details-content { block-size: auto; }
.faq-a { padding-bottom: 28px; max-width: 62ch; color: var(--ink-2); }

/* ---------------------------------------------------------------------
   Closing forest and contact
   --------------------------------------------------------------------- */
.forest {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(118svh, 860px);
  padding-top: clamp(120px, 13vw, 180px);
  background: linear-gradient(180deg, var(--paper-deep) 0%, #F7EAD0 24%, #F0E6CA 62%, #E6E2C5 100%);
}
.forest-art { position: absolute; inset: 0; z-index: -1; }
.forest-art .layer { position: absolute; inset: 0; will-change: transform; }
.forest-art .layer svg { transform-origin: 50% 100%; animation: sway 9s ease-in-out infinite alternate; }
.forest-art .layer-far svg { animation-duration: 13s; animation-delay: -4s; }
.forest-art .layer-mid svg { animation-duration: 10.5s; animation-delay: -2s; }
.forest-art .layer-near svg { animation-duration: 8s; }
@keyframes sway { from { transform: skewX(-0.35deg); } to { transform: skewX(0.5deg); } }
.forest-art .rays {
  position: absolute; inset: -10% -10% 30% -10%;
  background: repeating-linear-gradient(112deg, rgba(255, 249, 230, 0) 0 70px, rgba(255, 249, 230, 0.75) 110px, rgba(255, 249, 230, 0) 150px, rgba(255, 249, 230, 0) 260px);
  -webkit-mask-image: linear-gradient(200deg, #000 0%, rgba(0, 0, 0, 0.5) 35%, transparent 72%);
  mask-image: linear-gradient(200deg, #000 0%, rgba(0, 0, 0, 0.5) 35%, transparent 72%);
  opacity: 0.55; animation: rays 11s ease-in-out infinite alternate;
}
@keyframes rays { from { opacity: 0.35; } to { opacity: 0.7; } }
.forest-copy { position: relative; text-align: center; display: grid; justify-items: center; }
.forest-copy::before {
  content: ""; position: absolute; z-index: -1; inset: -70px -6% -40px;
  background: radial-gradient(closest-side, rgba(251, 243, 230, 0.92), rgba(251, 243, 230, 0.6) 55%, rgba(251, 243, 230, 0));
}
.forest-quote {
  max-width: 30ch;
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.55rem, 1.1rem + 1.6vw, 2.55rem); line-height: 1.34;
}
.contact-title { margin-top: clamp(48px, 6vw, 72px); }
.contact-lede { margin-inline: auto; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

/* ---------------------------------------------------------------------
   Underground footer
   --------------------------------------------------------------------- */
.roots {
  --ink: var(--cream);
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--cream);
  background: linear-gradient(180deg, var(--soil-top) 0%, #2B2B22 24%, var(--soil) 100%);
}
.roots-art { position: absolute; inset: 0; z-index: -1; }
.roots-inner { display: grid; justify-items: center; text-align: center; padding-block: clamp(100px, 11vw, 150px) 34px; }
.roots-name { font-family: var(--font-display); font-weight: 300; font-size: clamp(3rem, 2rem + 4vw, 5.6rem); line-height: 1; }
.roots-role { margin-top: 16px; color: rgba(243, 234, 219, 0.78); }
.roots-social { display: flex; gap: 12px; margin-top: 32px; }
.roots-social a {
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.35rem; text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(243, 234, 219, 0.28);
  transition: background-color 0.3s, color 0.3s, transform 0.5s var(--ease-soft);
}
.roots-social a:hover { background: var(--cream); color: var(--soil); transform: translateY(-2px); }
.roots-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin-top: 48px; }
.roots-nav a { color: rgba(243, 234, 219, 0.82); text-decoration: none; }
.roots-nav a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 4px; }
.roots-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-top: 72px; font-size: 0.9rem; color: rgba(243, 234, 219, 0.62); }
.roots-legal a { color: inherit; }
.roots :focus-visible { outline-color: var(--root); }

/* ---------------------------------------------------------------------
   Phone dock
   --------------------------------------------------------------------- */
.dock { display: none; }
@media (max-width: 1080px) {
  .dock {
    position: fixed; z-index: 50; inset-inline: 14px; bottom: max(14px, env(safe-area-inset-bottom));
    display: flex; justify-content: center;
    /* hidden for real: Safari's see-through bottom bar (iOS 26) shows whatever is parked under it,
       so the dock slides well past it and fades out, and only comes back when it is shown */
    transform: translateY(calc(100% + 140px)); opacity: 0; visibility: hidden;
    transition: transform 0.6s var(--ease-soft), opacity 0.3s ease-out, visibility 0s linear 0.6s;
  }
  .dock.is-shown {
    transform: none; opacity: 1; visibility: visible;
    transition: transform 0.6s var(--ease-soft), opacity 0.35s ease-out, visibility 0s;
  }
  .dock .btn { width: 100%; justify-content: space-between; max-width: 420px; box-shadow: 0 20px 40px -18px rgba(23, 58, 43, 0.7); }
}

/* ---------------------------------------------------------------------
   Art: the shared look of every drawn thing
   --------------------------------------------------------------------- */
.art-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ln { fill: none; stroke: var(--ink); stroke-linejoin: round; stroke-linecap: round; }
.lv { fill: none; stroke: var(--ink); stroke-linecap: round; opacity: 0.38; }
.lstripe { fill: #F3F0D2; opacity: 0.78; }
.stem { fill: var(--ink); }
/* the brush language (brush.js, from the Fable art lab) */
.fx-ink { fill: var(--ink); }
.fx-speck { fill: var(--ink); opacity: 0.32; }
.fx-root { fill: var(--root); opacity: 0.86; }
.fx-root--thin { opacity: 0.55; }
.fx-node { fill: #EE7FA8; }
.fx-node-halo { fill: #C8255F; opacity: 0.28; }
.fx-pulse { fill: #FFE9B0; }
.twig { fill: var(--twig); }
.bark { fill: url(#g-bark); stroke: var(--ink); stroke-width: 0.8; stroke-opacity: 0.45; }
.ground { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }
.tuft { opacity: 0.55; }
.speck, .specks circle { fill: var(--ink); opacity: 0.3; }
.mound-wash { fill: #9C7A57; opacity: 0.26; }
.petal { fill: url(#g-bloom); stroke: #7E1740; stroke-width: 0.6; stroke-opacity: 0.45; }
.bloom-eye { fill: #F2CF6E; }
.bract { fill: url(#g-bract); stroke: #8E1745; stroke-width: 0.7; stroke-opacity: 0.5; }
.heart { fill: var(--bloom); }
.pot-shadow { fill: #5E4630; opacity: 0.16; }
.pot-soil { fill: #4B3A2A; }
.pot-specks circle { fill: #8B6A4A; opacity: 0.5; }
.railing rect { fill: #2C4A3B; opacity: 0.88; }
.skyline { opacity: 0.38; }
.skyline .b1 { fill: #C9CEC6; }
.skyline .b2 { fill: #D8D9CD; }
.corner-wash .wa { fill: #A9C27F; opacity: 0.15; }
.corner-wash .wb { fill: #C9D58F; opacity: 0.13; }
.bark-mark { fill: none; stroke: var(--ink); stroke-width: 0.8; stroke-linecap: round; opacity: 0.3; }
.twig-line { fill: none; stroke: #7D5F45; stroke-linecap: round; }
.layer-far .twig-line { stroke: #D2C9AC; }
.layer-far .bark-mark { display: none; }
.far-canopy .c1 { fill: #A9BB8E; opacity: 0.7; }
.far-canopy .c2 { fill: #93AA78; opacity: 0.6; }
.ledge-top { fill: #F0E3CC; }
.ledge-face { fill: #E7D5B9; }
.layer-far .bark { fill: #D2C9AC; stroke: none; }
.layer-far .wa { fill: #CDD5B3; opacity: 0.62; }
.layer-far .wb { fill: #BCC8A1; opacity: 0.5; }
.layer-mid .bark { opacity: 0.88; }
.layer-mid .wa { fill: #A3B886; opacity: 0.55; }
.layer-mid .wb { fill: #8DA76E; opacity: 0.45; }
.layer-near .wa { fill: #86A565; opacity: 0.55; }
.layer-near .wb { fill: #AAC482; opacity: 0.5; }
.dapple {
  position: absolute; inset: -80px; pointer-events: none;
  background-image: var(--dapple); background-size: 720px 720px;
  mix-blend-mode: multiply; opacity: 0.42;
  animation: dapple 26s ease-in-out infinite alternate; will-change: transform;
}
@keyframes dapple {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to { transform: translate3d(-46px, 26px, 0) rotate(1.4deg); }
}
.pollen, .rain { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.bough-wrap { position: absolute; inset: 0; }
.bough-wrap svg { transform-origin: 0 0; animation: bough 7s ease-in-out infinite alternate; }
@keyframes bough { from { transform: rotate(-0.5deg); } to { transform: rotate(0.7deg); } }
.root {
  fill: none; stroke: var(--root); stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0.5;
  transition: stroke-dashoffset 2.8s cubic-bezier(0.3, 0.7, 0.2, 1) var(--d, 0s);
}
.root--1 { opacity: 0.42; }
.root--2 { opacity: 0.32; }
.root--3 { opacity: 0.24; }
.thread {
  fill: none; stroke: var(--gold); stroke-width: 0.9; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0.55;
  transition: stroke-dashoffset 3.4s ease var(--d, 1s);
}
.is-drawn .root, .is-drawn .thread { stroke-dashoffset: 0; }

/* ---------------------------------------------------------------------
   Reveal on scroll
   --------------------------------------------------------------------- */
.js .reveal {
  opacity: 0; transform: translateY(26px); filter: blur(7px);
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out), filter 1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 85ms);
}
.js .reveal.is-in { opacity: 1; transform: none; filter: none; }

/* ---------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------- */
@media (max-width: 980px) {
  .about-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .portrait { max-width: 380px; margin-inline: auto 0; }
  .faq-aside { position: static; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .card--parents, .card--couples, .card--groups, .card--talks { grid-column: 1 / -1; grid-row: auto; }
  .card--talks { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 759px) {
  :root { --nav-h: 60px; }
  body { font-size: 1.0625rem; }
  .hero { align-items: flex-start; min-height: max(100svh, 720px); padding-top: calc(var(--nav-h) + 52px); }
  .hero-copy { width: auto; margin-inline: var(--gutter); }
  .hero-actions .btn { flex: 1 1 auto; justify-content: space-between; }
  .hero-actions .btn--ghost { justify-content: center; }
  .saying:nth-child(3n + 2) { margin-inline-start: 0; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .fact { padding: 0 0 0 0; border: 0; }
  .portrait-sprout { inset-inline-end: -18px; width: 110px; height: 150px; }
  .approach-track { height: 300vh; }
  .pillar { position: static; padding-top: calc(var(--nav-h) + 4svh); }
  .pillar + .pillar::before { top: calc(var(--nav-h) + 4svh + 0.15em); height: 1.4em; }
  .pillar-word { font-size: clamp(1.05rem, 0.7rem + 2.4vw, 1.5rem); padding-inline: 4px; }
  .pillar-text { inset-inline: var(--gutter); top: calc(var(--ledge-face, 66svh) + 22px); text-align: center; }
  .media-head { align-items: center; }
  .rail { grid-auto-columns: 82vw; }
  .media-card--feature { grid-column: span 1; grid-template-columns: minmax(0, 1fr); grid-template-rows: 220px auto; }
  .media-card--notebook { grid-column: span 1; }
  .notebook-art { gap: 6px; }
  .nb { border-radius: 12px; }
  .media-card--notebook .media-outlet { padding-top: 0; }
  .rail { align-items: start; }
  .media-card { min-height: 0; }
  .media-outlet { margin-top: 14px; padding-top: 0; }
  .forest { min-height: max(112svh, 820px); }
  .contact-actions .btn { flex: 1 1 100%; justify-content: space-between; }
  .contact-actions .btn--ghost { justify-content: center; }
}

/* ---------------------------------------------------------------------
   Design lab (preview only, opened with ?lab): alternative display faces
   --------------------------------------------------------------------- */
/* Playpen Sans Hebrew is the chosen face; these tune its metrics */
.hero-title { font-size: clamp(3rem, 1.5rem + 5vw, 6.4rem); line-height: 1.1; }
.section-title { line-height: 1.16; }
.pillar-word { font-weight: 400; }
/* alternatives the lab can switch to */
html[data-font="frank"] { --font-display: "Frank Ruhl Libre", "David Libre", Georgia, serif; }
html[data-font="noto-serif"] { --font-display: "Noto Serif Hebrew", Georgia, serif; }
html[data-font="plex"] { --font-display: "IBM Plex Sans Hebrew", system-ui, sans-serif; }
html[data-font="frank"] .hero-title, html[data-font="noto-serif"] .hero-title { font-size: clamp(3.4rem, 1.7rem + 5.6vw, 7.2rem); line-height: 0.98; }
html[data-font="plex"] .hero-title { font-size: clamp(3.4rem, 1.7rem + 5.6vw, 7.2rem); font-weight: 200; line-height: 1.04; }
html[data-font] .section-title { line-height: 1.08; }
html[data-font] .pillar-word { font-weight: 500; }

.lab {
  position: fixed; z-index: 70; inset-inline-end: 16px; bottom: 16px;
  width: min(360px, calc(100% - 32px)); padding: 14px;
  border-radius: 22px; color: var(--ink);
  background: rgba(251, 243, 230, 0.86);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(23, 58, 43, 0.1), 0 24px 50px -24px rgba(23, 58, 43, 0.5);
  font-family: var(--font-text);
}
.lab-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-inline: 4px; }
.lab-title { font-size: 0.85rem; font-weight: 500; color: var(--ink-2); }
.lab-toggle { border: 0; background: transparent; cursor: pointer; font-size: 0.85rem; color: var(--ink-2); padding: 4px 6px; border-radius: 8px; }
.lab-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 6px; }
.lab-themes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lab.is-collapsed .lab-body { display: none; }
.lab-group { margin: 12px 4px 0; font-size: 0.78rem; font-weight: 500; color: var(--ink-2); }
.lab-sample--theme { font-size: 1.15rem; }
.lab-option {
  display: grid; gap: 2px; justify-items: start; text-align: start;
  padding: 10px 12px; border: 0; border-radius: 14px; cursor: pointer;
  background: var(--card); color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(23, 58, 43, 0.1);
  transition: box-shadow 0.25s, background-color 0.25s, transform 0.4s var(--ease-soft);
}
.lab-option:hover { box-shadow: inset 0 0 0 1px rgba(23, 58, 43, 0.35); }
.lab-option:active { transform: scale(0.97); }
.lab-option[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.lab-sample { font-size: 1.55rem; line-height: 1.15; }
.lab-name { font-size: 0.78rem; opacity: 0.75; }
@media (max-width: 1080px) { .lab { bottom: 86px; } }

/* ---------------------------------------------------------------------
   Reduced motion: the same garden, fully grown and at rest
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dapple, .forest-art .layer svg, .bough-wrap svg, .forest-art .rays { animation: none !important; }
  .js .reveal { transform: none; filter: none; transition: opacity 0.3s linear; }
  .approach-track { height: auto; }
  .approach-stage { position: relative; height: max(100svh, 760px); }
  .pillar-word { opacity: 1; }
  .pillar-text { opacity: 1; transform: none; }
  .root, .thread { transition: none; stroke-dashoffset: 0; }
  .menu-link, .menu-cta { transition: opacity 0.2s linear; transform: none; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 759px) {
  .approach-stage { height: auto; min-height: 100svh; padding-bottom: 32px; }
  .pillars { position: relative; inset: auto; display: block; padding-top: 72svh; }
  .pillar { display: block; text-align: start; padding: 0 var(--gutter) 18px; }
  .pillar + .pillar::before { display: none; }
  .pillar-text { position: static; margin-top: 4px; text-align: start; }
}

/* Phones on their side are too short to hold the balcony still (the words slip under the nav, the
   texts fall off the bottom), so there it shows all four at once and scrolls like the rest. */
@media (orientation: landscape) and (max-height: 560px) {
  .approach-track { height: auto; }
  .approach-stage { position: relative; height: max(100svh, 700px); }
  .pillar-word { opacity: 1; }
  .pillar-text { opacity: 1; transform: none; }
}
@media (orientation: landscape) and (max-height: 560px) and (max-width: 759px) {
  .approach-stage { height: auto; min-height: 100svh; padding-bottom: 32px; }
  .pillars { position: relative; inset: auto; display: block; padding-top: 72svh; }
  .pillar { display: block; text-align: start; padding: 0 var(--gutter) 18px; }
  .pillar + .pillar::before { display: none; }
  .pillar-text { position: static; margin-top: 4px; text-align: start; }
}

/* iPhone: Safari paints the strip behind the clock in the page's cream (theme-color). The hero's sunlit
   corner and its branch would meet that flat strip in a hard line, so the top of the hero fades into
   the same cream and the branch seems to come from behind the clock. */
@media (max-width: 759px) {
  .hero::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 44px; z-index: 0; pointer-events: none;
    background: linear-gradient(180deg, var(--paper) 0%, rgba(251, 243, 230, 0.7) 45%, rgba(251, 243, 230, 0) 100%);
  }
}
