/* ==========================================================================
   Page styles: home, about, contact, journal, article, 404
   ========================================================================== */

.center { text-align: center; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 28px; }
.split-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.split-head .lead { justify-self: end; max-width: 40ch; }
@media (max-width: 860px) { .split-head { grid-template-columns: 1fr; } .split-head .lead { justify-self: start; } }

/* ==========================================================================
   HOME · Hero
   ========================================================================== */
.hero { position: relative; padding-top: clamp(120px, 15vh, 170px); overflow-x: clip; overflow-y: visible;
  background: linear-gradient(180deg, #DCEBEA 0%, #E9F2EF 38%, #F6FAF7 70%, #fff 100%); } /* soft storybook sky that fades to white before the stats */ /* clip only sideways (the globe is wider than the screen) so the stats card shadow can fall below */
.hero__copy { text-align: center; position: relative; z-index: 3; }
/* Illustrations from the app, kept alive: a slow float and sway, with a few leaves drifting past (js/paint.js) */
.live { position: relative; display: flex; justify-content: center; align-items: flex-end; }
.live img { display: block; height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: 50% 100%; transform-origin: 50% 100%; }
@media (prefers-reduced-motion: no-preference) {
  .live img { animation: live-float var(--float, 7s) ease-in-out var(--float-delay, 0s) infinite alternate; }
}
@keyframes live-float { from { transform: translateY(0) rotate(-0.6deg); } to { transform: translateY(-5px) rotate(0.6deg); } }
.live__drift { position: absolute; inset: -8% -6%; width: 112%; height: 116%; pointer-events: none; }
.hero__title { color: var(--forest-deep); max-width: 13ch; margin: 0 auto; }
.hero__grow { color: var(--forest); position: relative; display: inline-block; }
.hero__lead { margin: 28px auto 0; text-align: center; max-width: 52ch; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.hero__app { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; padding: 6px 4px; font-size: 14px; color: var(--ink-2); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: color .3s, text-decoration-color .3s; }
.hero__app:hover { color: var(--forest); text-decoration-color: currentColor; }
.hero__app svg { width: 15px; height: 15px; color: var(--forest); flex: none; }
.hero__app svg + span { margin-left: 2px; }

.hero__globe {
  position: relative; z-index: 1;
  --gw: min(1100px, 125vw);
  width: var(--gw); aspect-ratio: 16 / 10; margin: clamp(-10px, -2vw, 0px) 0 0 calc(var(--gw) / -2);
  left: 50%;
}
/* Soft halo around the globe. Lives outside the canvas so it fades out instead of clipping at the canvas edge.
   Globe radius = 0.2875 × --gw (canvas is 16:10, radiusScale .92); the halo reaches 1.6× that. */
.hero__globe::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: 50%; top: 50%; width: calc(var(--gw) * 0.92); aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(169,197,138,.38) 56%, rgba(169,197,138,.16) 72%, rgba(169,197,138,.05) 86%, rgba(169,197,138,0) 100%);
}
.hero__globe canvas { width: 100%; height: 100%; cursor: grab; touch-action: pan-y; outline: none; }
.hero__globe canvas:focus-visible { outline: 3px solid var(--forest); outline-offset: -6px; border-radius: 28px; }
.hero__globe canvas.is-dragging { cursor: grabbing; }
.globe-grain { /* paper texture over the painted globe, masked to the planet (radius = 0.2875 × --gw, fading out right at its edge) */
  position: absolute; inset: 0; pointer-events: none; background-repeat: repeat; background-size: 120px; opacity: .4;
  -webkit-mask-image: radial-gradient(circle calc(var(--gw) * 0.2895) at 50% 50%, #000 97%, transparent 100%);
          mask-image: radial-gradient(circle calc(var(--gw) * 0.2895) at 50% 50%, #000 97%, transparent 100%);
}
.globe-labels { position: absolute; inset: 0; pointer-events: none; }
.globe-label {
  position: absolute; left: 0; top: 0; white-space: nowrap;
  padding: 7px 12px 7px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line);
  box-shadow: var(--shadow-soft); font-size: 13px; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 8px; transition: opacity .35s;
}
.globe-label b { color: var(--forest-deep); font-weight: 600; }
.globe-label i { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px rgba(255,200,87,.3); }

.stats {
  position: relative; z-index: 4; margin: clamp(-150px, -12vw, -60px) auto 0; max-width: 980px;
  background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-lift); overflow: hidden;
}
.stats__main { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; }
.stat { margin: 0; padding: 22px 22px 26px; text-align: center; border-right: 1px solid var(--line); transition: background .5s var(--ease-out); }
.stat:last-child { border-right: 0; }
.stat__scene { width: 100%; height: clamp(130px, 13vw, 176px); margin-bottom: 10px; transition: transform .7s var(--ease-out); transform-origin: 50% 100%; }
.stat dd { margin: 0; display: grid; gap: 4px; }
.stat__num { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.045em; font-size: clamp(40px, 4.4vw, 60px); color: var(--forest); line-height: 1; font-variant-numeric: tabular-nums; }
.stat__label { font-size: 14.5px; color: var(--ink-2); }
@media (hover: hover) {
  .stat:hover { background: #F6F9F1; }
  .stat:hover .stat__scene { transform: scale(1.06); }
}
.stats__chips { list-style: none; margin: 0; padding: 14px 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; border-top: 1px solid var(--line); background: #F6F9F1; }
.stats__chips li { display: inline-flex; align-items: baseline; gap: 7px; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.stats__chips b { font-family: var(--font-display); font-weight: 700; color: var(--forest); font-size: 15px; letter-spacing: -0.01em; }
@media (max-width: 720px) {
  .stats__main { grid-template-columns: 1fr; }
  .stat { display: grid; grid-template-columns: 46% 1fr; align-items: center; gap: 10px; text-align: left; padding: 14px 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .stat__scene { height: 118px; margin: 0; }
  .stat__num { font-size: 40px; }
}

/* ==========================================================================
   HOME · Watch / reel
   ========================================================================== */
.watch { padding: clamp(110px, 14vw, 180px) 0 clamp(60px, 8vw, 100px); }
.watch__head { text-align: center; margin-bottom: 56px; }
.watch__head h2 { max-width: 16ch; margin: 0 auto; }
/* Portrait reel beside the story: the frame is phone-shaped, the copy sits next to it */
.watch__grid { display: grid; grid-template-columns: minmax(280px, 420px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: clamp(32px, 4vw, 56px); }
.reel__frame {
  position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; max-height: 78vh; margin: 0 auto;
  border-radius: var(--r-xl); overflow: hidden; background: var(--forest-deep); box-shadow: 0 40px 80px -40px rgba(15,59,34,.55);
  transform-origin: 50% 50%; will-change: transform;
}
.reel__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,59,34,0) 55%, rgba(15,59,34,.6)); }
.reel__chips { position: absolute; left: 16px; right: 16px; bottom: 18px; display: flex; flex-wrap: wrap; gap: 8px; text-align: left; }
.reel__chip { background: var(--paper); color: var(--ink); padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; }
.reel__chip--dark { background: rgba(15,59,34,.85); color: #fff; }
.reel__play {
  position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%;
  background: var(--paper); color: var(--forest); display: grid; place-items: center;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,.35); transition: transform .5s var(--ease-out);
}
.reel__play svg { width: 30px; height: 30px; margin-left: 4px; }
.reel__play .ic path, .frag__thumb .ic path { fill: currentColor; }
.reel__frame:hover .reel__play { transform: scale(1.1); }
.reel__note { position: absolute; left: 16px; right: 16px; top: 14px; font-size: 11.5px; color: #fff; background: rgba(0,0,0,.6); padding: 4px 10px; border-radius: 999px; text-align: center; }
.watch__body { display: grid; gap: clamp(24px, 3vw, 36px); }
.watch__body .lead { margin-top: 0; }
@media (max-width: 860px) {
  .watch__grid { grid-template-columns: 1fr; }
  .reel__frame { width: min(100%, 360px); }
  .reel__play { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
}
.watch__quote { position: relative; margin: 0; padding-left: clamp(18px, 1.8vw, 26px); }
.watch__quote::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 4px; border-radius: 4px; background: var(--sun); transform-origin: 50% 0; transform: scaleY(var(--rule, 1)); }
.watch__quote blockquote { margin: 0; }
.watch__quote p { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.03em; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.22; color: var(--forest); margin: 0; }

.reel-modal {
  position: fixed; inset: 0; z-index: 400; background: rgba(10,25,15,.92);
  display: grid; place-items: center; padding: 24px;
}
.reel-modal[hidden] { display: none; }
.reel-modal__video { max-height: 88vh; max-width: 100%; border-radius: 20px; background: #000; }
.reel-modal__close { position: absolute; top: 20px; right: 20px; width: 52px; height: 52px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; }
.reel-modal__close span { position: absolute; width: 20px; height: 2px; background: var(--ink); transform: rotate(45deg); }
.reel-modal__close span + span { transform: rotate(-45deg); }

/* Ticker */
.ticker { padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ticker .marquee__item { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.045em; font-size: clamp(34px, 5vw, 72px); line-height: 1.1; color: var(--forest-deep); }
.ticker .marquee__item.it { color: var(--app-green); }
.ticker__dot { display: inline-block; width: .32em; height: .32em; border-radius: 50%; background: var(--sun); }
.ticker .marquee__item:nth-child(3n) .ticker__dot { background: var(--coral); }
.ticker .marquee__item:nth-child(3n+1) .ticker__dot { background: var(--leaf); }

/* ==========================================================================
   HOME · Who we are (bento)
   ========================================================================== */
.who__head { text-align: center; max-width: 860px; margin: 0 auto 64px; }
.who__head .lead { margin: 24px auto 0; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bcard {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 28px 26px 30px; min-height: 230px; display: flex; flex-direction: column; gap: 10px;
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), border-color .4s;
}
.bcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: transparent; }
.bcard h3 { font-family: var(--font-ui); font-weight: 600; font-size: 19px; letter-spacing: -0.015em; }
.bcard p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.bcard__icon {
  width: 46px; height: 46px; border-radius: 14px; background: var(--sage); color: var(--forest);
  display: grid; place-items: center; margin-bottom: 18px; transition: transform .6s var(--ease-out), background .4s;
}
.bcard:hover .bcard__icon { transform: rotate(-8deg) scale(1.08); background: var(--sun); }
.bcard__icon svg { width: 22px; height: 22px; }
.bcard--feature { grid-row: span 2; background: var(--forest); color: var(--cream); overflow: hidden; }
.bcard--feature p { color: rgba(255,255,255,.86); max-width: 30ch; }
.bcard--feature .bcard__icon { background: rgba(255,255,255,.12); color: var(--sun); }
/* Icon tile turns yellow on hover like the other cards; the icon flips to the card green so it stays visible */
.bcard--feature:hover .bcard__icon { color: var(--forest); }
/* Illustration is a transparent cut-out sitting in the card's flow, so it can never sit behind the copy */
.bcard__art {
  display: block; width: 94%; height: auto; margin: auto -12px -30px auto; padding-top: 18px;
  transition: transform .9s var(--ease-out); transform-origin: 50% 100%;
  /* Let the ground dissolve into the card green: fade the bottom, and soften the lower corners */
  -webkit-mask-image: linear-gradient(to bottom, #000 84%, rgba(0,0,0,.6) 92%, transparent 99%), radial-gradient(130% 85% at 50% 42%, #000 70%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, #000 84%, rgba(0,0,0,.6) 92%, transparent 99%), radial-gradient(130% 85% at 50% 42%, #000 70%, transparent 100%);
  mask-composite: intersect;
}
.bcard--feature:hover .bcard__art { transform: scale(1.03); }
.bcard--sun { background: #FFF3D1; border-color: transparent; }
.bcard--wide { grid-column: span 2; min-height: 0; }
.bcard--sun h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.03em; font-size: clamp(22px, 2vw, 28px); line-height: 1.2; max-width: 26ch; }
.coming { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 15px; font-weight: 600; color: #8A5A00 !important; }
.coming__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--app-green); animation: pulse 2.4s infinite; box-shadow: 0 0 0 0 rgba(34,135,67,.5); }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, 1fr); } .bcard--feature { min-height: 420px; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .bcard--feature { grid-row: auto; min-height: 380px; } .bcard--wide { grid-column: auto; } }

/* ==========================================================================
   HOME · Why we exist (scattered → together)
   ========================================================================== */
.why { padding: clamp(56px, 7vh, 96px) 0; }
.why .why__title { font-size: clamp(34px, 4vw, 60px); }
.why__pin { min-height: 100%; }
.why__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.why__title { position: relative; display: grid; color: var(--ink); margin-bottom: 22px; }
.why__t { grid-area: 1 / 1; }
.why__t--b { opacity: 0; color: var(--forest); }
.why__copy .lead { margin: 0 0 24px; }
.why__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.why__item {
  display: grid; grid-template-columns: 1fr; gap: 6px; padding: 16px 20px; border-radius: var(--r-md);
  background: rgba(255,255,255,.45); border: 1px solid transparent;
  transition: background .5s, border-color .5s, opacity .5s, transform .6s var(--ease-out);
  opacity: .55;
}
.why__item.is-active { background: var(--paper); border-color: var(--line); opacity: 1; transform: translateX(6px); box-shadow: var(--shadow-soft); }
.why__num { display: none; }
.why__item h3 { font-family: var(--font-ui); font-weight: 600; font-size: 18px; margin: 2px 0 6px; letter-spacing: -0.01em; }
.why__item p { margin: 0; font-size: 15px; color: var(--muted); }

.why__stage { position: relative; height: clamp(460px, 62vh, 640px); }
.frag {
  position: absolute; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 16px;
  background: var(--paper); box-shadow: var(--shadow-soft); font-size: 13px; color: var(--ink-2); max-width: 220px;
  will-change: transform;
}
/* Callout for the fragments that belong to the active problem. Uses the standalone `scale` property and
   `filter` so it composes with GSAP's inline transform/opacity instead of fighting them. */
.frag { transition: scale .55s var(--ease-out), filter .45s ease, box-shadow .45s ease; }
.why__stage.has-lit .frag { filter: saturate(.35) opacity(.38); }
.why__stage.has-lit .frag.is-lit { filter: none; scale: 1.12; z-index: 3; box-shadow: 0 22px 44px -18px rgba(18,22,19,.35); }
.frag b { font-weight: 600; color: var(--ink); font-size: 14px; line-height: 1.3; }
.frag--note { background: #FFF6C9; top: 4%; left: 6%; transform: rotate(-6deg); }
.frag--note b { font-family: var(--font-ui); }
.frag--forum { top: 8%; right: 2%; transform: rotate(4deg); }
.frag__meta { font-size: 11.5px; color: var(--muted); }
.frag--video { top: 36%; left: 0; transform: rotate(3deg); width: 210px; }
.frag__thumb { height: 90px; border-radius: 10px; background: linear-gradient(135deg, #C46B6B, #7F3B4A); display: grid; place-items: center; color: #fff; margin-bottom: 6px; }
.frag__thumb svg { width: 26px; height: 26px; }
.frag--packet { top: 30%; right: 8%; transform: rotate(-8deg); background: #F2D9C6; width: 150px; text-align: center; align-items: center; padding-top: 0; overflow: hidden; }
.frag__packet-top { display: block; width: calc(100% + 32px); background: var(--terracotta); color: #fff; font-size: 10px; letter-spacing: .2em; padding: 6px 0; margin-bottom: 8px; }
.frag--packet b { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.frag--quote { bottom: 16%; left: 14%; transform: rotate(-3deg); background: var(--sage); }
.frag--pin { bottom: 6%; right: 6%; transform: rotate(5deg); flex-direction: column; padding-left: 40px; }
.frag__pin-dot { position: absolute; left: 14px; top: 16px; width: 14px; height: 14px; border-radius: 50% 50% 50% 0; background: var(--coral); transform: rotate(-45deg); }
.frag--receipt { top: 58%; right: 34%; transform: rotate(7deg); font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 11px; white-space: pre-line; background: #fff; }
.frag--cal { top: 2%; left: 44%; transform: rotate(-4deg); width: 92px; text-align: center; align-items: center; padding: 0 0 10px; overflow: hidden; }
.frag__cal-top { display: block; width: 100%; background: var(--coral); color: #3A1A0E; font-size: 11px; font-weight: 600; letter-spacing: .15em; padding: 4px 0; }
.frag--cal b { font-size: 32px; font-weight: 700; letter-spacing: -0.04em; }
.why__hub {
  position: absolute; left: 50%; top: 50%; width: min(340px, 90%); transform: translate(-50%, -50%) scale(.6);
  opacity: 0; background: var(--forest); color: var(--cream); border-radius: 28px; padding: 30px 28px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px; box-shadow: var(--shadow-lift);
}
.why__hub .brandmark { color: var(--sun); width: 56px; height: 56px; }
.why__hub > b { font-weight: 600; font-size: 26px; letter-spacing: -0.03em; }
.why__hub > span { font-size: 14px; color: rgba(255,255,255,.78); }
.why__hub-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 8px; }
@media (max-width: 900px) {
  .why__grid { grid-template-columns: 1fr; }
  .why__stage { height: 520px; }
  .why__item { opacity: 1; }
}

/* ==========================================================================
   HOME · Creators
   ========================================================================== */
.creator-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.creator { background: var(--paper); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.creator__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.creator__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.creator:hover .creator__media img { transform: scale(1.06); }
.creator__handle {
  position: absolute; left: 20px; top: 20px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.9);
  font-size: 13px; font-weight: 600; color: var(--forest-deep);
  transform: translateY(-8px); opacity: 0; transition: transform .5s var(--ease-out), opacity .4s;
}
.creator:hover .creator__handle { transform: none; opacity: 1; }
.creator__body { padding: 26px 30px 32px; }
.creator__body h3 { font-family: var(--font-ui); font-weight: 600; font-size: 26px; letter-spacing: -0.02em; }
.creator__meta { margin: 6px 0 10px; font-weight: 600; font-size: 14.5px; color: var(--forest); }
.creator__body p:last-child { margin: 0; color: var(--muted); }
.creator-cta {
  margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 30px 36px; border-radius: var(--r-lg); background: var(--sage);
}
.creator-cta p { margin: 6px 0 0; color: var(--ink-2); max-width: 62ch; }
@media (max-width: 760px) { .creator-grid { grid-template-columns: 1fr; } .creator-cta { padding: 26px; } }

/* ==========================================================================
   HOME · Gatherings
   ========================================================================== */
.gather { padding: clamp(80px, 10vw, 130px) 0 clamp(60px, 8vw, 100px); }
/* Contours stay clear of the copy: faded out behind the heading/lead (left) and towards the bottom */
/* The moving contour lines stay decorative: they fade out behind the heading and copy (left and top),
   and every card sits on a solid colour, so no line ever passes behind text */
.gather__vanta { position: absolute; left: 0; right: 0; top: 0; height: min(100vh, 900px); opacity: .45; pointer-events: none;
  -webkit-mask-image: linear-gradient(110deg, transparent 0 48%, rgba(0,0,0,.6) 70%, #000 92%), linear-gradient(180deg, #000 70%, transparent);
          mask-image: linear-gradient(110deg, transparent 0 48%, rgba(0,0,0,.6) 70%, #000 92%), linear-gradient(180deg, #000 70%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
@media (max-width: 900px) { .gather__vanta { display: none; } } /* text spans the full width on phones: no lines behind it */
.gather__inner { position: relative; z-index: 1; }
.gather__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.gather__head h2 { color: var(--cream); }
.gather__head .lead { margin-top: 22px; color: #fff; }
.gather__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gstat { padding: 26px 24px; border-radius: 24px; background: #2F6D44; border: 1px solid rgba(255,255,255,.12); }
.gstat b { display: block; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.04em; font-size: clamp(36px, 4vw, 54px); line-height: 1.05; color: var(--sun); }
.gstat > span { font-size: 14px; color: rgba(255,255,255,.9); }
@media (max-width: 900px) { .gather__head { grid-template-columns: 1fr; } }

.hscroll { position: relative; z-index: 1; margin: clamp(16px, 3vw, 40px) 0; padding: 40px 0 56px; overflow: hidden; }
.hscroll__track { display: flex; gap: 16px; padding: 0 var(--gutter); width: max-content; will-change: transform; }
.hscroll__intro { width: 300px; flex: none; display: flex; flex-direction: column; justify-content: center; padding-right: 20px; }
.hscroll__intro p { color: rgba(255,255,255,.88); margin: 12px 0 18px; }
.hscroll__hint { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); display: grid; place-items: center; animation: nudge 1.8s var(--ease-in-out) infinite; }
.hscroll__hint svg { width: 20px; height: 20px; }
@keyframes nudge { 50% { transform: translateX(10px); } }
.xcard {
  position: relative; flex: none; width: 300px; min-height: 380px; padding: 28px; border-radius: 28px;
  background: #2A6B40; border: 1px solid rgba(255,255,255,.12); color: var(--cream);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; overflow: hidden;
  transition: background .5s, transform .6s var(--ease-out);
}
.xcard:hover { background: #317447; transform: translateY(-6px); }
.xcard h4 { margin: 0; font-family: var(--font-ui); font-weight: 600; font-size: 22px; letter-spacing: -0.015em; }
.xcard p { margin: 0; font-size: 15px; color: rgba(255,255,255,.88); }
.xcard__n { display: none; }
/* A day at a gathering, told in the app's illustrations: each card opens on a picture window */
.xcard { width: 360px; padding: 12px 12px 26px; justify-content: flex-start; }
.xcard > :not(.xcard__pic) { margin-left: 14px; margin-right: 14px; }
.xcard__pic { margin: 0 0 14px; height: 196px; border-radius: 20px; overflow: hidden; background: #FBF8F1; }
.xcard__pic img { width: 116%; max-width: none; height: 100%; object-fit: cover; object-position: 50% 60%; display: block; }
.xcard--hero { width: min(640px, 80vw); flex-direction: row; align-items: stretch; gap: 26px; padding: 14px; background: var(--cream); color: var(--ink); }
.xcard--hero img { width: 46%; object-fit: cover; border-radius: 20px; }
.xcard--hero > div { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 14px 14px 14px 0; }
.xcard--hero h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.04em; font-size: 40px; color: var(--forest); }
.xcard--hero p { color: var(--ink-2); }
.xcard--hero .xcard__n { color: var(--muted); }
.xcard--hero:hover { background: var(--paper); }
.xcard--host { background: #1F6335; border: 1.5px dashed rgba(255,255,255,.45); }
.xcard--host .btn { margin-top: 14px; align-self: flex-start; }
@media (max-width: 900px) {
  .hscroll { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .hscroll::-webkit-scrollbar { display: none; }
  .xcard, .hscroll__intro { scroll-snap-align: start; }
  .xcard--hero { flex-direction: column; }
  .xcard--hero img { width: 100%; height: 220px; }
  .xcard { width: 290px; min-height: 0; }
  .xcard__pic { height: 156px; }
}

.ticket { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr minmax(320px, 420px); gap: clamp(20px, 3vw, 40px); background: var(--paper); color: var(--ink); border-radius: var(--r-lg); padding: clamp(14px, 1.6vw, 20px); border: 1px solid var(--line); }
.ticket__intro { padding: clamp(14px, 2.4vw, 32px); display: flex; flex-direction: column; }
.ticket__intro > .tag { align-self: flex-start; }
.ticket__intro h3 { margin: 18px 0 14px; color: var(--forest); }
.ticket__intro > p { color: var(--ink-2); margin: 0 0 8px; max-width: 48ch; }

/* App ticket (Events V2.1). Values mirror the Figma card: 20px radius, SF Pro, #322F35 / #605D64 text,
   dashed #A7D99E perforation with notches in the screen colour #EBFFE8. */
.ticket__stage { --tk-bg: #EBFFE8; background: var(--tk-bg); border-radius: 20px; padding: clamp(20px, 2.4vw, 32px); display: grid; place-items: center; }
/* A real printed ticket: card stock with grain, ink that sits into the paper, punched perforation, a slight tilt.
   It feeds out of the slot at the top of the stage when it scrolls into view (js/home.js). */
.ticket__stage { position: relative; overflow: hidden; padding-top: clamp(46px, 4vw, 56px); align-content: start; }
.ticket__stage::before { content: ""; position: absolute; z-index: 3; left: 8%; right: 8%; top: 18px; height: 14px; border-radius: 10px; background: #22302A; box-shadow: inset 0 3px 6px rgba(0,0,0,.55), 0 1px 0 rgba(255,255,255,.6); }
.appticket {
  position: relative; z-index: 1; width: 100%; max-width: 342px; border-radius: 6px; overflow: hidden; color: #2E2A26;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  background-color: #FBF6EA;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .28 0 0 0 .11 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 2px 4px rgba(60,45,25,.12), 0 22px 36px -20px rgba(60,45,25,.5);
  transform: rotate(-1.4deg);
}
.appticket__hero { display: block; width: calc(100% - 24px); margin: 12px 12px 0; height: 104px; object-fit: cover; object-position: 50% 50%; border-radius: 3px; mix-blend-mode: multiply; filter: saturate(.9) contrast(.96); }
.appticket__details { padding: 20px; display: grid; gap: 14px; }
.appticket__type { justify-self: start; display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 16px; background: #F3E7FC; color: #9042CF; font-size: 14px; line-height: 18px; font-weight: 600; letter-spacing: -0.08px; }
.appticket__type svg { width: 16px; height: 16px; }
.appticket__title { margin: 0; font-family: inherit; font-size: 22px; line-height: 1.2; font-weight: 700; letter-spacing: 0; color: #2E2A26; }
.appticket__host { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 15px; line-height: 20px; font-weight: 600; letter-spacing: -0.23px; }
.appticket__host img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; border: 1px solid #fff; }
.appticket__grid { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.appticket__grid div { display: grid; gap: 4px; align-content: start; min-width: 0; }
.appticket__grid dt { font-size: 11px; line-height: 13px; font-weight: 600; letter-spacing: .06px; text-transform: uppercase; color: #605D64; }
.appticket__grid dd { margin: 0; font-size: 15px; line-height: 20px; font-weight: 600; letter-spacing: -0.23px; overflow-wrap: anywhere; }
.appticket__loc { grid-column: 1 / -1; }
.appticket__loc small { display: block; margin-top: 2px; font-size: 14px; line-height: 18px; font-weight: 400; color: #605D64; letter-spacing: 0; }
.appticket__perf { position: relative; height: 24px; margin: 0 20px; background: radial-gradient(circle, var(--tk-bg) 2.1px, transparent 2.6px) 0 50% / 10px 10px repeat-x; } /* punched holes */
.appticket__perf::before, .appticket__perf::after { content: ""; position: absolute; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--tk-bg); }
.appticket__perf::before { left: -32px; } .appticket__perf::after { right: -32px; }
.appticket__stub { padding: 16px 20px 24px; display: grid; justify-items: center; gap: 12px; text-align: center; }
.appticket__qr { width: 184px; height: 184px; overflow: hidden; mix-blend-mode: multiply; opacity: .9; }
.appticket__serial { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #6A5F52; }
.appticket__code-k { font-size: 11px; line-height: 13px; font-weight: 600; letter-spacing: .06px; text-transform: uppercase; color: #605D64; }
.appticket__code { margin-top: -8px; font-size: 20px; line-height: 25px; font-weight: 600; letter-spacing: -0.45px; font-variant-numeric: tabular-nums; }
.appticket__status { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #EBFFE8; color: #185E2F; font-size: 13px; line-height: 16px; font-weight: 600; }
.appticket__status i { width: 8px; height: 8px; border-radius: 50%; background: #228743; flex: none; }
.ticket__form { padding: 18px 0 0; display: grid; gap: 14px; align-content: start; }
.ticket__row { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.qty { display: flex; align-items: center; gap: 4px; border: 1.5px solid var(--line-strong); border-radius: 16px; background: var(--paper); padding: 0 6px; }
.qty button { width: 38px; height: 38px; border-radius: 12px; font-size: 20px; color: var(--forest); transition: background .3s; }
.qty button:hover { background: var(--sage); }
.qty output { min-width: 26px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.ticket__submit { width: 100%; margin-top: 4px; }
.ticket__fine { margin: 0; text-align: center; font-size: 13px; color: var(--muted); }
.ticket__msg { margin: 0; min-height: 22px; text-align: center; font-size: 14px; color: var(--forest); font-weight: 500; }
@media (max-width: 900px) { .ticket { grid-template-columns: 1fr; } }

/* ==========================================================================
   HOME · App
   ========================================================================== */
.app__head { text-align: center; max-width: 900px; margin: 0 auto; }
.app__head .lead { margin: 24px auto 0; }
.store-row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
/* Official Apple and Google badges, shown at equal height per both brands' guidelines (artwork unaltered) */
.store-badge { display: inline-flex; border-radius: 10px; transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.store-badge img { height: 54px; width: auto; display: block; }
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -16px rgba(0,0,0,.45); }
.store-badge:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }

.app__stage { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); margin-top: clamp(60px, 8vw, 110px); align-items: start; }
.app__steps { list-style: none; margin: 0; padding: 0; }
.app__step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; max-width: 46ch; position: relative; padding-left: 22px; }
/* inactive steps go quieter in colour only, so every line keeps readable contrast */
.app__step::before { content: ""; position: absolute; left: 0; top: 50%; width: 4px; height: 0; border-radius: 4px; background: var(--sun); transform: translateY(-50%); transition: height .5s var(--ease-out); }
.app__step.is-active::before { height: 70%; }
.app__step:not(.is-active) .app__step-n, .app__step:not(.is-active) h3, .app__step:not(.is-active) p { color: var(--muted); }
.app__step h3, .app__step-n { transition: color .5s; }
.app__step-n { font-size: 15px; font-weight: 600; color: var(--app-green); margin-bottom: 12px; }
.app__step h3 { color: var(--forest-deep); margin-bottom: 14px; }
.app__step p { color: var(--ink-2); margin: 0; font-size: 17px; }
.app__phone-wrap { position: sticky; top: 10vh; height: 80vh; display: grid; place-items: center; }
.app__phone-wrap::before {
  content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--sage) 0%, rgba(220,230,208,0) 70%); z-index: -1;
}
/* Feature pop-outs around the phone: the two for the active step spring out, the rest tuck away */
.pops { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.pop { position: absolute; width: 228px; opacity: 0; transform: scale(.7) translateY(10px); transition: opacity .35s ease, transform .6s cubic-bezier(.34, 1.56, .64, 1); }
.pop.is-on { opacity: 1; transform: none; transition-delay: .12s; }
.pop.is-on + .pop.is-on, .pop--r1.is-on, .pop--r2.is-on { transition-delay: .26s; }
.pop--l1 { right: calc(50% + 120px * var(--phone-scale, 1)); top: 16%; }
.pop--l2 { right: calc(50% + 132px * var(--phone-scale, 1)); top: 60%; }
.pop--r1 { left: calc(50% + 124px * var(--phone-scale, 1)); top: 30%; }
.pop--r2 { left: calc(50% + 116px * var(--phone-scale, 1)); top: 68%; }
.pop__card { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 12px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 44px -24px rgba(15,59,34,.45), 0 4px 12px -6px rgba(15,59,34,.18); }
@media (prefers-reduced-motion: no-preference) {
  .pop.is-on .pop__card { animation: pop-float 5s ease-in-out infinite alternate; }
  .pop--r1 .pop__card, .pop--l2 .pop__card { animation-delay: -2.5s; }
}
@keyframes pop-float { from { transform: translateY(-4px); } to { transform: translateY(5px); } }
.pop__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.pop__ic svg { width: 21px; height: 21px; }
.pop__ic--sun { background: #FFF1CC; color: #9A5B0E; }
.pop__ic--sage { background: var(--sage); color: var(--forest); }
.pop__ic--clay { background: #F6DCCB; color: #9A4524; }
.pop__ic--sky { background: #DCEBEA; color: #285F66; }
.pop__txt { display: grid; gap: 2px; font-size: 13.5px; line-height: 1.3; color: var(--ink-2); }
.pop__txt small { font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.pop__txt b { color: var(--forest-deep); font-weight: 700; }
@media (max-width: 900px) { .pops { display: none; } } /* no room beside the phone on small screens */
.app__dots { position: absolute; bottom: 4px; display: flex; gap: 6px; }
.app__dots i { width: 22px; height: 4px; border-radius: 4px; background: var(--line-strong); transition: background .4s, width .4s; }
.app__dots i.is-on { background: var(--forest); width: 34px; }

.phone {
  position: absolute; left: 50%; top: 50%; margin: -354px 0 0 -170px;
  width: 340px; height: 708px; border-radius: 54px; padding: 12px;
  transform: scale(var(--phone-scale, 1)); transform-origin: 50% 50%;
  background: #121512; box-shadow: 0 50px 100px -30px rgba(15,59,34,.55), inset 0 0 0 2px #2C312D;
}
.phone__notch { position: absolute; top: 22px; left: 50%; width: 31%; height: 26px; margin-left: -15.5%; border-radius: 20px; background: #000; z-index: 5; }
.phone__screens { position: relative; width: 100%; height: 100%; border-radius: 42px; overflow: hidden; background: #fff; font-family: -apple-system, "SF Pro Text", system-ui, sans-serif; color: #111; }

.screen { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .6s var(--ease-out), transform .7s var(--ease-out); }
.screen.is-active { opacity: 1; transform: none; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; font-weight: 700; font-size: 14px; color: var(--forest-deep); flex: none; }
.avatar--sm { width: 22px; height: 22px; font-size: 11px; background: var(--clay); }

@media (max-width: 900px) {
  .app__stage { grid-template-columns: 1fr; }
  .app__phone-wrap { position: relative; top: 0; height: calc(708px * var(--phone-scale, 1) + 60px); padding: 0; order: -1; }
  .app__step { min-height: 0; opacity: 1; padding: 24px 0; border-top: 1px solid var(--line); }
}

/* ==========================================================================
   HOME · Join
   ========================================================================== */
.join { background: var(--cream-2); padding: clamp(40px, 5vw, 72px) 0 clamp(170px, 18vw, 260px); text-align: center; cursor: crosshair; margin-top: 0; }
.join__inner { position: relative; z-index: 2; pointer-events: none; }
.join__inner a, .join__inner button { pointer-events: auto; }
.join .brandmark { color: var(--forest); width: 64px; height: 64px; margin-bottom: 26px; }
.join h2 { color: var(--forest-deep); }
.join .lead { margin: 24px auto 0; }
/* Flowers can grow up behind the copy, so the hint and outline button get an opaque white backing to keep contrast */
.join__hint { display: inline-block; margin-top: 26px; padding: 6px 14px; border-radius: 999px; background: #fff; font-size: 13.5px; color: var(--muted); }
.join .btn--ghost { --bg: #fff; }
.hint-tap { display: none; }
@media (hover: none) and (pointer: coarse) { .hint-click { display: none; } .hint-tap { display: inline; } }
/* Full-bleed so the soil strip runs to both edges of the window */
.join.panel { margin-left: 0; margin-right: 0; border-radius: 0; }
.join__garden { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
/* The garden border: flower beds from the app's illustrations line the bottom edge, overlapping like a real border.
   Clicking plants another clump; everything sways a little in the breeze. */
.join { padding-bottom: clamp(230px, 24vw, 330px); }
.join__border { position: absolute; left: 0; right: 0; bottom: -6px; height: clamp(150px, 18vw, 250px); pointer-events: none; }
.bed { position: absolute; bottom: 0; height: 100%; transform-origin: 50% 100%; pointer-events: none; }
.bed img { display: block; height: 100%; width: auto; transform-origin: 50% 100%; }
.bed { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); } /* soft sides so overlapping beds read as one border */
.bed--flip img { transform: scaleX(-1); }
.bed--planted { z-index: 3; }
@media (prefers-reduced-motion: no-preference) {
  .bed > span { display: block; height: 100%; transform-origin: 50% 100%; animation: breeze var(--sway, 5s) ease-in-out var(--delay, 0s) infinite alternate; }
}
.bed > span { display: block; height: 100%; }
@keyframes breeze { from { transform: skewX(-1.2deg); } to { transform: skewX(1.4deg); } }
.join__petals { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.page-hero { padding: clamp(150px, 20vh, 220px) 0 clamp(60px, 8vw, 100px); position: relative; }
.page-about .section { padding: clamp(56px, 7vw, 100px) 0; }
.page-contact .section { padding-block: clamp(40px, 5vw, 72px); } /* form runs straight into 'Good to know' */
.page-hero__title { color: var(--forest-deep); max-width: 15ch; }
.page-hero .lead { margin-top: 26px; }
.about-top { padding-top: clamp(112px, 14vh, 150px); padding-bottom: clamp(32px, 4vw, 56px); background: linear-gradient(180deg, #DCEBEA 0%, #E9F2EF 45%, #F6FAF7 78%, #fff 100%); }
.about-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.about-top .page-hero__title { max-width: 11ch; }
.about-hero__live { height: clamp(380px, 42vw, 600px); }
.about-hero__art { position: relative; }
.about-hero__badge {
  position: absolute; left: -6%; bottom: 10%; padding: 16px 20px; border-radius: 20px; background: var(--paper); box-shadow: var(--shadow-lift);
  display: grid; gap: 2px; font-size: 13px; color: var(--muted);
}
.about-hero__badge b { font-family: var(--font-display); font-size: 34px; color: var(--forest); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
@media (max-width: 900px) { .about-hero { grid-template-columns: 1fr; } .about-hero__badge { left: 4%; } .about-hero__live { height: 340px; } }

.manifesto { padding: clamp(56px, 7vw, 100px) 0; }

.manifesto__text { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 3.8vw, 56px); line-height: 1.14; letter-spacing: -0.04em; color: var(--forest-deep); max-width: none; margin: 0; } /* full width of the page, inside the usual side gutters */
.manifesto__text .w { color: #8A948C; } /* unread words stay readable (3:1+ at this size), then darken as you scroll */

.timeline { padding: clamp(80px, 10vw, 130px) 0; }
.timeline__track { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 60px; }
.timeline__line { position: absolute; left: 0; right: 0; top: 13px; height: 2px; background: rgba(255,255,255,.18); }
.timeline__fill { position: absolute; left: 0; top: 13px; height: 2px; width: 100%; background: var(--sun); transform-origin: 0 50%; transform: scaleX(0); }
.tl { position: relative; padding-top: 50px; }
.tl::before { content: ""; position: absolute; top: 4px; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--forest); border: 2px solid var(--sun); }
.tl__k { font-size: 14px; color: var(--sun); font-weight: 600; }
.tl h3 { font-family: var(--font-display); font-size: 22px; margin: 10px 0 8px; color: var(--cream); }
.tl p { margin: 0; color: rgba(255,255,255,.75); font-size: 15px; }
@media (max-width: 900px) {
  .timeline__track { grid-template-columns: 1fr; gap: 6px; padding-left: 36px; }
  .timeline__line, .timeline__fill { left: 9px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .timeline__fill { transform-origin: 50% 0; transform: scaleY(0); }
  .tl { padding: 0 0 30px; }
  .tl::before { left: -36px; }
}

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.value { --num: #5F7F58; position: relative; overflow: hidden; padding: 28px 26px 30px; border-radius: var(--r-md); background: var(--sage); min-height: 360px; display: flex; flex-direction: column; transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.value:nth-child(1) { background: var(--forest); color: #fff; --num: #7FB08C; }
.value:nth-child(2) { background: var(--sage); }
.value:nth-child(3) { background: #FFF3D1; --num: #A0703A; }
.value:nth-child(4) { background: var(--clay); --num: #86553A; }
.value__n { /* decorative, but kept at 3:1 like large text */ position: absolute; right: 18px; top: 8px; font-family: var(--font-display); font-weight: 800; font-size: clamp(64px, 6vw, 96px); letter-spacing: -0.06em; line-height: 1; color: var(--num); font-variant-numeric: tabular-nums; pointer-events: none; }
.value__scene { width: 100%; height: 168px; margin: 26px 0 8px; transition: transform .8s var(--ease-out); transform-origin: 50% 100%; }
.value h3 { font-family: var(--font-ui); font-weight: 700; font-size: 20px; margin: auto 0 8px !important; letter-spacing: -0.015em; color: inherit; }
.value p { margin: 0; color: var(--ink-2); font-size: 15px; }
.value:nth-child(1) p { color: rgba(255,255,255,.86); }
@media (hover: hover) {
  .value:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -30px rgba(18,22,19,.45); }
  .value:hover .value__scene { transform: scale(1.05); }
}
@media (max-width: 1000px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.founder { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; color: #fff; }
.founder img { position: absolute; inset: 0; width: 100%; height: 115%; object-fit: cover; }
.founder::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10,30,18,.85)); }
.founder__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(22px, 3vw, 36px); }
.founder__body h3 { font-family: var(--font-display); font-size: clamp(30px, 3vw, 42px); }
.founder__body .tag { margin: 12px 0 12px; background: rgba(10,30,18,.45); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.founder__body p { margin: 0; max-width: 40ch; color: rgba(255,255,255,.86); }
@media (max-width: 760px) { .founders { grid-template-columns: 1fr; } }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.member { perspective: 1000px; }
.member__inner { position: relative; transition: transform .9s var(--ease-out); transform-style: preserve-3d; aspect-ratio: 3 / 4; }
.member:hover .member__inner, .member:focus-within .member__inner { transform: rotateY(180deg); }
.member__face { position: absolute; inset: 0; border-radius: var(--r-md); overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.member__front { background: var(--cream-2); border: 1px solid var(--line); }
.member__front img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.member__initials { width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--font-display); font-size: 64px; color: var(--forest); background: radial-gradient(circle at 30% 20%, var(--sage), var(--sage-2)); }
.member__back { transform: rotateY(180deg); background: var(--forest); color: var(--cream); padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
.member__back p { margin: 0; font-size: 14.5px; color: rgba(255,255,255,.82); }
.member__back b { color: var(--sun); font-weight: 700; font-family: var(--font-display); font-size: 22px; }
.member__meta { padding: 14px 4px 0; }
.member__meta h3 { font-family: var(--font-ui); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.member__meta p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.member__flip { font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; }
@media (max-width: 1000px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }

.join-band { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.join-band a {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 300px; padding: clamp(28px, 3vw, 40px);
  border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); overflow: hidden;
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.join-band a:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.join-band a:nth-child(2) { background: var(--forest); color: var(--cream); border-color: transparent; }
.join-band h3 { font-size: clamp(28px, 3vw, 40px); max-width: 14ch; }
.join-band p { margin: 12px 0 0; max-width: 40ch; color: inherit; opacity: .8; }
.join-band .arrow-circle { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; align-self: flex-end; transition: transform .5s var(--ease-out), background .4s; }
.join-band a:hover .arrow-circle { transform: rotate(-45deg); background: var(--sun); color: var(--ink); border-color: var(--sun); }
.join-band .arrow-circle svg { width: 22px; height: 22px; }
.join-band a { justify-content: flex-start; gap: 18px; min-height: 0; }
.join-band__art { display: block; margin: calc(-1 * clamp(28px, 3vw, 40px)) calc(-1 * clamp(28px, 3vw, 40px)) 0; padding: 18px 18px 0; height: clamp(200px, 19vw, 270px); }
.join-band__art img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; transition: transform .8s var(--ease-out); }
.join-band a:hover .join-band__art img { transform: scale(1.04); }
.join-band a:first-child { background: #FFF3D1; border-color: transparent; }
.join-band .arrow-circle { position: absolute; right: clamp(28px, 3vw, 40px); bottom: clamp(28px, 3vw, 40px); }
.join-band a > div { padding-right: 70px; }
}
@media (max-width: 760px) { .join-band { grid-template-columns: 1fr; } }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.page-hero--scene .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.page-hero__scene { width: 100%; height: clamp(300px, 30vw, 420px); }
@media (max-width: 860px) { .page-hero--scene .wrap { grid-template-columns: 1fr; } .page-hero__scene { height: 320px; } }
.contact { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 28px; border: 0; padding: 0; }
.topics legend { font-weight: 600; margin-bottom: 14px; font-size: 15px; }
.topic { position: relative; }
.topic input { position: absolute; opacity: 0; }
.topic label {
  display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 18px; cursor: pointer; min-height: 112px;
  background: var(--paper); border: 1.5px solid var(--line); transition: border-color .3s, background .3s, transform .4s var(--ease-out);
}
.topic label:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.topic svg { width: 24px; height: 24px; color: var(--forest); }
.topic b { font-size: 15px; font-weight: 600; line-height: 1.25; }
.topic span { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.topic input:checked + label span { color: var(--ink-2); }
.topic input:checked + label { border-color: var(--forest); background: var(--sage); box-shadow: 0 0 0 3px rgba(24,94,47,.12); }
.topic input:focus-visible + label { outline: 2px solid var(--app-green); outline-offset: 3px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.contact-form { position: relative; }
.contact-form__extra { overflow: visible; }
.contact-form__extra > .form-grid:not([hidden]) { padding-top: 2px; }
.contact-form__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.contact-form__foot p { margin: 0; font-size: 13px; color: var(--muted); max-width: 40ch; }
.contact-form__foot .contact-form__error { flex-basis: 100%; max-width: none; order: 3; font-size: 14px; color: #B3401F; }
.contact-form__error a { color: inherit; }
.contact-success {
  position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px;
  background: var(--paper); border-radius: var(--r-lg); padding: 40px;
}
.contact-success.is-on { display: flex; }
.contact-success img { width: 220px; mix-blend-mode: multiply; }
.contact-side { display: grid; gap: 16px; position: sticky; top: 110px; }
.side-card { padding: 28px; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); }
.side-card h2, .side-card h3 { font-family: var(--font-ui); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; margin-bottom: 8px; }
.side-card p { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.side-card--forest { background: var(--forest); color: var(--cream); border-color: transparent; }
.side-card--forest p { color: rgba(255,255,255,.78); }
.copy-email { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; color: var(--forest); }
.copy-email svg { width: 18px; height: 18px; }
.social-row { display: flex; gap: 8px; flex-wrap: wrap; }
.social-row a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 12px; border-radius: 999px; color: #fff; border: 1px solid rgba(255,255,255,.25); font-size: 14px; transition: background .3s, color .3s; }
.social-row a:hover { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.social-row__logo { width: 16px; height: 16px; flex: none; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } .contact-side { position: static; } }
@media (max-width: 620px) { .topics { grid-template-columns: repeat(2, 1fr); } .form-grid { grid-template-columns: 1fr; } }

.faq { max-width: 1080px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.025em; font-size: clamp(19px, 1.8vw, 23px); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--sage); flex: none; transition: transform .5s var(--ease-out), background .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.8px; margin: -1px 0 0 -7px; background: var(--forest); }
.faq summary i::after { transform: rotate(90deg); transition: transform .5s var(--ease-out); }
.faq details[open] summary i { background: var(--sun); transform: rotate(180deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq__a { overflow: hidden; }
.faq__a p { margin: 0 0 26px; color: var(--ink-2); max-width: calc(100% - 56px); } /* full width of the FAQ, clear of the +/− button */

/* ==========================================================================
   JOURNAL (list)
   ========================================================================== */
.journal-hero { padding: clamp(120px, 15vh, 160px) 0 40px; }
.journal-hero .wrap { position: relative; }
.journal-hero__scene { position: absolute; right: calc(var(--gutter) + 40px); top: -50px; width: min(300px, 26vw); height: 196px; pointer-events: none; }
@media (max-width: 860px) { .journal-hero__scene { position: static; width: 100%; height: 200px; margin-top: 18px; } }
.journal-hero h1 { color: var(--forest-deep); margin-top: 14px; text-wrap: balance; }
/* Intro on the left, search + hemisphere on the right, both starting on the same line under the title */
.journal-hero__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); gap: clamp(24px, 5vw, 80px); align-items: start; margin-top: 26px; }
.journal-hero__top .lead { margin: 0; max-width: 54ch; }
.journal-tools { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.journal-tools .search { max-width: none; }
.journal-tools .hemi { display: flex; }
.journal-tools .hemi button { flex: 1; white-space: nowrap; padding: 0 10px; }
.search { position: relative; display: block; width: 100%; max-width: 420px; }
.search input { width: 100%; height: 56px; border-radius: 999px; border: 1.5px solid #8A948C; background: var(--paper); padding: 0 56px 0 52px; font-size: 16px; outline: none; transition: border-color .3s, box-shadow .3s; }
.search input:focus { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(24,94,47,.45); }
.search svg { position: absolute; left: 20px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--muted); }
.search kbd { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font: 600 12px var(--font-ui); color: var(--muted); border: 1px solid var(--line-strong); border-radius: 6px; padding: 2px 7px; }
.hemi { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--cream-2); border: 1px solid var(--line); position: relative; }
.hemi button { position: relative; z-index: 1; height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: color .3s; }
.hemi button[aria-pressed="true"] { color: var(--cream); }
.hemi__thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 999px; background: var(--forest); transition: transform .5s var(--ease-out), width .5s var(--ease-out); }
@media (max-width: 860px) { .journal-hero__top { grid-template-columns: 1fr; } .journal-tools { align-items: stretch; } .search { max-width: none; } }

.season-note { display: flex; align-items: center; gap: 12px; margin-top: 30px; padding: 14px 18px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.season-note b { color: var(--forest); }
.season-note .season-dot { flex: none; }

.feature-post.is-pending { opacity: .45; }
.feature-post { transition: opacity .35s var(--ease-out); display: grid; grid-template-columns: 1.35fr 1fr; gap: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--forest-deep); color: var(--cream); margin-top: 40px; }
.feature-post__media { position: relative; overflow: hidden; min-height: 380px; }
.feature-post__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.feature-post:hover .feature-post__media img { transform: scale(1.05); }
.feature-post__body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.feature-post__body h2 { font-size: clamp(30px, 3vw, 44px); line-height: 1.1; }
.feature-post__body p { margin: 0; color: rgba(255,255,255,.78); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 13.5px; color: var(--muted); }
.on-dark .post-meta, .feature-post .post-meta { color: rgba(255,255,255,.65); }
.post-meta .tag { text-transform: capitalize; }
@media (max-width: 860px) { .feature-post { grid-template-columns: 1fr; } .feature-post__media { min-height: 240px; } }

/* Sticky filter bar. Sits near the top while the menu is hidden and glides down beneath it when the menu
   returns (same timing as the header). A light veil softens articles that scroll up behind it. */
.filters-bar { --bar-top: 92px; position: sticky; top: var(--bar-top); z-index: 20; margin: 56px 0 28px; padding: 10px 0; transition: top .6s var(--ease-out), margin-top .5s var(--ease-out); }
/* Searching: the featured story folds away (js/pages.js) and the topics sit 30px under the
   season line, the same gap the line has above it (20px margin + the bar's 10px padding). */
.journal-hero { transition: padding-bottom .5s var(--ease-out); }
body.is-searching .journal-hero { padding-bottom: 0; }
body.is-searching .filters-bar { margin-top: 20px; }
body:has(.site-header.is-hidden) .filters-bar { --bar-top: 16px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters .chip { white-space: nowrap; flex: none; }
.filters-bar::before {
  content: ""; position: absolute; inset: -6px -28px; z-index: -1; border-radius: 14px;
  background: var(--paper); border: 1px solid var(--line); box-shadow: 0 10px 30px -18px rgba(18,22,19,.35);
  opacity: 0; transition: opacity .3s;
}
.filters-bar::after {
  content: ""; position: absolute; z-index: -2; left: 50%; width: 100vw; transform: translateX(-50%);
  top: calc(-1 * var(--bar-top) - 8px); bottom: -40px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,.72) 0, rgba(255,255,255,.5) calc(100% - 40px), rgba(255,255,255,0) 100%);
  -webkit-backdrop-filter: blur(2.5px); backdrop-filter: blur(2.5px);
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 40px), transparent);
  opacity: 0; transition: opacity .3s;
}
.filters-bar.is-stuck::before, .filters-bar.is-stuck::after { opacity: 1; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 20px; }
.pcard { display: flex; flex-direction: column; gap: 14px; }
.pcard__media { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: var(--r-md); overflow: hidden; background: var(--cream-2); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .6s; }
.pcard:hover .pcard__media img { transform: scale(1.06); }
.pcard__media .tag { position: absolute; left: 14px; top: 14px; text-transform: capitalize; }
.pcard__media .archive { position: absolute; right: 14px; top: 14px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(27,35,29,.7); color: var(--cream); }
.pcard h3 { font-family: var(--font-display); font-size: 21px; line-height: 1.24; letter-spacing: -0.025em; color: var(--ink); transition: color .3s; }
.pcard:hover h3 { color: var(--forest); }
.pcard p { margin: 0; color: var(--muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__read { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--forest); }
.pcard__read svg { width: 14px; height: 14px; transition: transform .4s var(--ease-out); }
.pcard:hover .pcard__read svg { transform: translateX(4px); }
.pcard.is-hidden { display: none; }
.posts-empty { display: none; text-align: center; padding: 60px 0; color: var(--muted); }
.posts-empty.is-on { display: block; }
.posts-empty img { width: 200px; margin: 0 auto 16px; mix-blend-mode: multiply; }
@media (max-width: 1000px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .posts { grid-template-columns: 1fr; } .filters-bar { --bar-top: 84px; } body:has(.site-header.is-hidden) .filters-bar { --bar-top: 10px; } .filters-bar::before { inset: -6px calc(-1 * var(--gutter)); border-radius: 0; border-width: 1px 0; } .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } }

/* A new topic or search is loading: dim the stories it will replace. */
.posts.is-loading { opacity: .45; transition: opacity .2s; }

/* ==========================================================================
   ARTICLE
   ========================================================================== */
.article-hero { padding: clamp(140px, 18vh, 190px) 0 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.crumbs a:hover { color: var(--forest); }
.article-hero h1 { font-size: clamp(38px, 5.4vw, 80px); line-height: 1.04; letter-spacing: -0.03em; color: var(--forest-deep); max-width: 18ch; }
.article-hero__dek { font-size: clamp(18px, 1.5vw, 22px); color: var(--ink-2); max-width: 60ch; margin: 24px 0 30px; line-height: 1.55; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.byline .avatar { width: 44px; height: 44px; font-size: 17px; }
.byline b { display: block; font-size: 15px; }
.byline span { font-size: 13.5px; color: var(--muted); }
.article-cover { width: calc(min(100%, var(--max)) - 2 * var(--gutter)); margin: clamp(40px, 5vw, 64px) auto 0; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 12 / 5; position: relative; }
.article-cover img { width: 100%; height: 120%; object-fit: cover; }

.article { display: grid; grid-template-columns: 210px minmax(0, 1fr) 240px; gap: clamp(28px, 4vw, 64px); padding-block: clamp(56px, 7vw, 96px); /* block only, so .wrap keeps the same side gutter as the footer */ }
.toc { position: sticky; top: 110px; align-self: start; }
.toc h4, .toc__h { font-family: var(--font-ui); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; font-weight: 600; }
.toc ol { list-style: none; margin: 0 0 28px; padding: 0 0 0 14px; border-left: 2px solid var(--line); display: grid; gap: 12px; position: relative; }
.toc a { display: block; font-size: 14px; color: var(--muted); line-height: 1.4; transition: color .3s; }
.toc a.is-active { color: var(--forest-deep); font-weight: 600; }
.toc__marker { position: absolute; left: -2px; width: 2px; background: var(--app-green); top: 0; height: 20px; transition: transform .5s var(--ease-out), height .5s var(--ease-out); }
.toc .hemi { margin-bottom: 10px; }
.toc__hint { font-size: 12.5px; color: var(--muted); margin: 0; }
.share { display: flex; gap: 8px; margin-top: 28px; }
.share button, .share a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
.share button:hover, .share a:hover { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.share svg { width: 18px; height: 18px; }

.prose { font-size: 18.5px; line-height: 1.75; color: var(--ink-2); }
.prose h2 { font-family: var(--font-display); font-size: clamp(28px, 2.6vw, 36px); color: var(--forest-deep); margin: 2.2em 0 .6em; line-height: 1.18; scroll-margin-top: 110px; }
.prose p { margin: 0 0 1.2em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose section { transition: opacity .6s, filter .6s; }
.prose [data-hemi] { position: relative; }
.prose .hemi-flag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-ui); font-size: 15px; font-weight: 600; color: var(--app-green); margin-bottom: -.6em; }
.prose.is-north [data-hemi="south"], .prose.is-south [data-hemi="north"] { color: var(--muted); }
.prose.is-north [data-hemi="south"] :is(h2, strong, .hemi-flag), .prose.is-south [data-hemi="north"] :is(h2, strong, .hemi-flag) { color: var(--muted); }
.prose [data-hemi] { transition: color .4s; }
.pull {
  margin: 2em 0; padding: 0 0 0 28px; border-left: 3px solid var(--sun);
  font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; font-size: clamp(24px, 2.3vw, 32px); line-height: 1.25; color: var(--forest);
}
.callout {
  display: grid; grid-template-columns: 1fr 150px; gap: 20px; align-items: center; margin: 2.4em 0;
  padding: 28px; border-radius: var(--r-md); background: var(--forest); color: var(--cream); font-size: 16px; line-height: 1.6;
}
.callout b { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.03em; font-size: 24px; display: block; margin-bottom: 6px; color: var(--cream); }
.callout p { margin: 0 0 16px; color: rgba(255,255,255,.8); }
.callout img { border-radius: 16px; }
.tip-box { margin: 2em 0; padding: 22px 24px; border-radius: 18px; background: var(--sage); font-size: 16.5px; }
.tip-box b { display: block; font-family: var(--font-ui); font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--forest); margin-bottom: 6px; }
@media (max-width: 1100px) { .article { grid-template-columns: 200px minmax(0, 1fr); } .article > aside.article__aside { display: none; } }
@media (max-width: 860px) {
  .article { grid-template-columns: 1fr; }
  .toc { position: static; }
  .toc ol { display: none; }
  .callout { grid-template-columns: 1fr; }
  .callout img { display: none; }
  .article-cover { aspect-ratio: 4 / 3; }
}
.article__aside { align-self: start; position: sticky; top: 110px; }
.aside-card { padding: 22px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); font-size: 14.5px; }
.aside-card h2 { letter-spacing: 0; font-weight: 600; font-family: var(--font-ui); margin: 0 0 8px; font-size: 15px; }
.aside-card p { margin: 0 0 14px; color: var(--muted); }

/* Legal pages (privacy policy): the article layout, with lists and links readable in long-form text */
.legal-hero .eyebrow { margin-bottom: 18px; }
.legal-hero__date { font-size: 14px; color: var(--muted); margin: 0; }
.legal .prose { font-size: 17px; }
.legal .prose section:first-child h2 { margin-top: 0; }
.legal .prose h2 { font-size: clamp(24px, 2.2vw, 30px); }
.legal .prose ul { margin: 0 0 1.2em; padding-left: 1.2em; }
.legal .prose li { margin: 0 0 .9em; padding-left: .2em; }
.legal .prose li::marker { color: var(--app-green); }
.legal .prose li p { margin: .8em 0 0; }
.legal .prose a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
.legal .prose a:hover { text-decoration-thickness: 2px; }
.legal .toc ol { margin-bottom: 0; }
@media (max-width: 860px) { .legal .toc ol { display: grid; } .legal .toc { padding-bottom: 8px; border-bottom: 1px solid var(--line); } }

.related { padding-bottom: clamp(80px, 10vw, 120px); }
.related__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.legacy-note { font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 40px; }

/* ==========================================================================
   404
   ========================================================================== */
.e404 { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 140px 0 80px; position: relative; overflow: hidden; }
.e404__num { display: flex; align-items: flex-end; justify-content: center; gap: clamp(4px, 1vw, 16px); font-family: var(--font-display); font-weight: 700; font-size: clamp(140px, 26vw, 340px); line-height: .8; color: var(--forest-deep); letter-spacing: -0.05em; user-select: none; }
.e404__pot { position: relative; width: .74em; height: .8em; display: flex; align-items: flex-end; justify-content: center; }
.e404__pot svg { width: 100%; height: 100%; overflow: visible; }
.e404 h1 { font-size: clamp(32px, 4vw, 56px); color: var(--forest-deep); margin-top: 40px; }
.e404 .lead { margin: 18px auto 32px; }
.e404__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.e404__search { max-width: 460px; margin: 0 auto; }
.e404__seed { position: absolute; width: 10px; height: 14px; border-radius: 50%; background: #8C6A4A; opacity: .35; pointer-events: none; }

/* Illustrations exported on white: multiply them into the paper and feather the edges */
.illo-soft, .contact-success img, .posts-empty img {
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
}
@media (max-width: 600px) {
  .globe-labels { display: none; }
  .hero__title { font-size: clamp(44px, 13vw, 64px); }
}

/* ---------- App prompts and QR placements ---------- */
.app__qr { margin-top: 22px; display: flex; justify-content: center; }
.app__qr .qr-fallback { display: none !important; }
.side-card__h2 { margin-top: 22px !important; padding-top: 20px; border-top: 1px solid var(--line); }
.side-card--app .qr { margin-top: 4px; box-shadow: none; padding: 10px; gap: 14px; }
.side-card--app .qr__code { width: 96px; height: 96px; }

/* Contact hero: the Gardenstead mascot asks the question */
.contact-top { padding-top: clamp(112px, 14vh, 150px); padding-bottom: 8px !important; }
.mascot-ask { position: relative; display: grid; justify-items: center; }
.mascot-ask__art { height: clamp(220px, 22vw, 300px); }
.mascot-ask__bubble { position: relative; margin: 0 0 14px; padding: 16px 20px; max-width: 300px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; color: var(--forest-deep); line-height: 1.2; }
.mascot-ask__bubble span { display: block; margin-top: 6px; font-family: var(--font-ui); font-weight: 400; font-size: 14.5px; letter-spacing: 0; color: var(--ink-2); line-height: 1.45; }
.mascot-ask__bubble::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 18px; height: 18px; margin-left: -9px; background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg); }

/* Journal: contextual app nudges */
.app-nudge { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; margin: 1.8em 0 0; padding: 18px 22px 18px 14px; border-radius: 20px; background: #FFF3D1; }
.app-nudge img { width: 96px; height: 120px; object-fit: contain; }
.app-nudge b, .app-end b, .pcard--app b { display: block; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; font-size: 20px; color: var(--forest-deep); margin-bottom: 4px; }
.app-nudge p, .app-end p, .pcard--app p { margin: 0 0 10px; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.app-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 1.6em; padding: 22px; border-radius: 22px; background: var(--sage); }
.app-end > div { flex: 1 1 260px; }
.app-end .qr { box-shadow: none; }
.aside-card--app { margin-top: 14px; background: #FFF3D1; border-color: transparent; }
.aside-card--app img { display: block; width: 64px; height: 80px; object-fit: contain; margin-bottom: 8px; }
.pcard--app { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 24px; border-radius: var(--r-lg); background: #FFF3D1; }
.pcard--app img { width: 110px; height: 136px; object-fit: contain; margin-bottom: auto; }
.pcard--app.is-hidden { display: none; }
@media (max-width: 620px) { .app-nudge { grid-template-columns: 64px 1fr; } .app-nudge img { width: 64px; height: 80px; } }

/* The app section runs straight into 'Come and grow with us' */
.section.app { padding-bottom: clamp(24px, 3vw, 48px); }

.byline .tag { color: var(--ink-2); }
