/* Clay Studio — website
   Type follows the APP (src/constants/typography.ts): one geometric family,
   Poppins, with WEIGHT carrying the hierarchy — 700 headers, 500 sub-heads,
   400 body, 600 button labels. Baloo 2 ExtraBold is the wordmark face and
   nothing else, exactly as `Fonts.logo` is in the app. The Young Serif +
   Newsreader pairing this replaces was retired in the app on 2026-08-13.
   Warmth from clay grain + fired-glaze colour, never gradients. */
/* Self-hosted (2026-09-18). These faces used to arrive from
   fonts.googleapis.com, which handed every visitor's IP to Google on page load
   with no consent step — an ePrivacy/GDPR problem for EU visitors and a
   third-party request we don't need. The woff2 files are the same latin +
   latin-ext subsets Google served, under the SIL Open Font License 1.1
   (assets/fonts/OFL-*.txt). Re-subset from fonts.google.com if the type changes. */
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(assets/fonts/baloo-2-800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(assets/fonts/baloo-2-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/poppins-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/poppins-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/poppins-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/poppins-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/poppins-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/poppins-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/poppins-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/poppins-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Studio Earth — matches the app (src/constants/colors.ts, 2026-08-13) */
  --forest: #1A3A2A;
  --forest-deep: #15301F;
  --forest-soft: #DCE4DA;
  --midnight: #5C6B5E;
  --terracotta: #A46447;
  --terracotta-deep: #7E4A2E;
  --terracotta-soft: #E9D5C7;
  /* Old name kept as an alias so legal pages that still say "plum" stay on-brand. */
  --plum: #A46447;
  --plum-deep: #7E4A2E;
  --plum-soft: #E9D5C7;
  --celadon: #68765A;
  --kiln-umber: #7E4A2E;
  --sand: #CEB59E;

  --bg-page: #E8E1D5;   /* linen-white ground */
  --bg-card: #F6F2E9;   /* brighter linen raised surface */
  --bg-input: #DFD6C6;
  --cream: #F2EBDD;
  --ledge: #D6CCBB;

  --ink: #22301F;       /* deep forest — near-black */
  --ink-2: #566052;     /* secondary (≥4.5:1 on linen & card) */
  --ink-muted: #596456;   /* ≥4.5:1 on linen — used for notes, not decoration */
  --on-forest: #F2EBDD;
  --on-forest-muted: #A9BBA5;

  --line: rgba(26, 58, 42, 0.16);
  --line-soft: rgba(26, 58, 42, 0.10);

  /* warm kiln-clay shadows, never grey/black */
  --shadow-soft: 0 2px 10px rgba(111, 117, 104, 0.12);
  --shadow-card: 0 14px 34px -16px rgba(80, 90, 72, 0.34);
  --shadow-float: 0 22px 50px -20px rgba(34, 48, 31, 0.42);

  /* One family for everything on the page; the wordmark alone gets the logo
     face. Same rule as the app: one family per surface, always. */
  --font-ui: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-logo: 'Baloo 2', 'Poppins', system-ui, sans-serif;

  /* fluid type — calm ceiling (no shouting), ≥1.25 steps */
  --t-hero: clamp(2.7rem, 1.6rem + 4.6vw, 4.6rem);
  --t-h2:   clamp(1.9rem, 1.3rem + 2.4vw, 2.9rem);
  --t-h3:   clamp(1.3rem, 1.1rem + 0.7vw, 1.6rem);
  --t-lede: clamp(1.12rem, 1rem + 0.5vw, 1.35rem);

  --maxw: 1140px;
  --z-header: 50;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg-page);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.7;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Clay-grain material tooth over the whole page (subtle, the warmth source). */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.32  0 0 0 0 0.24  0 0 0 0 0.13  0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 1; }

h1, h2, h3 { font-family: var(--font-ui); font-weight: 700; line-height: 1.18; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
p { text-wrap: pretty; }
a { color: var(--terracotta-deep); }
.skip {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--forest); color: var(--cream);
  padding: 8px 14px; border-radius: 8px; text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); min-width: 0; }

/* Honest asymmetric "pot" corners — no surface has four equal corners. */
.pot-a { border-radius: 30px 22px 34px 20px; }
.pot-b { border-radius: 22px 32px 20px 30px; }
.pot-c { border-radius: 18px 26px 16px 24px; }

/* The potter's chop-stamp: a number framed with one squared corner. */
.stamp {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-ui); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.02em;
  color: var(--terracotta-deep);
  padding: 5px 11px;
  border: 1.5px solid var(--terracotta); border-radius: 11px 11px 11px 2px;
  background: rgba(246, 242, 233, 0.85);
}
.stamp svg { width: 13px; height: 13px; }

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-ui); font-weight: 600; font-size: 1.02rem;
  text-decoration: none; cursor: pointer;
  padding: 14px 26px; border-radius: 99px; border: 1px solid transparent;
  transition: transform .35s cubic-bezier(.22,1,.36,1), background-color .25s, box-shadow .35s;
}
.btn-primary { background: var(--forest); color: var(--cream); box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--forest-deep); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: rgba(246,242,233,0.8); transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }

/* ── Header ──────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(232, 225, 213, 0.86);
  backdrop-filter: saturate(1.15) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line-soft); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand svg { width: 30px; height: 30px; color: var(--forest); }
.brand b { font-family: var(--font-logo); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.005em; }
.nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 30px); flex-shrink: 0; }
.get-rest { white-space: nowrap; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 1rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--forest); }
.nav .btn { padding: 9px 18px; font-size: 0.95rem; }
@media (max-width: 920px) { .nav a.navlink { display: none; } }
@media (max-width: 520px) {
  .brand b { font-size: 1.12rem; }
  .nav .btn { padding: 8px 14px; font-size: 0.88rem; }
  .get-rest { display: none; }
}

/* ── Hero ────────────────────────────────────────── */
.hero { padding: clamp(40px, 7vw, 90px) 0 clamp(48px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: var(--t-hero); }
.hero h1 .soft { color: var(--ink-2); }
.hero .lede { font-size: var(--t-lede); color: var(--ink-2); max-width: 30ch; margin: 22px 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { margin-top: 20px; font-size: 0.95rem; color: var(--ink-muted); }

/* Hero photograph — the work is the hero. Layered, asymmetric, warm-shadowed. */
.hero-art { position: relative; }
.hero-photo {
  width: 100%; height: auto;
  aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 55%;
  border-radius: 34px 26px 40px 24px;
  box-shadow: var(--shadow-card);
}
.hero-art .stamp { position: absolute; left: -14px; bottom: 30px; background: var(--bg-card); box-shadow: var(--shadow-soft); }
.hero-art .seal {
  position: absolute; top: -16px; right: 22px;
  width: 78px; height: 78px; border-radius: 50%;
  background: var(--forest); color: var(--cream);
  display: grid; place-items: center; box-shadow: var(--shadow-float);
  transform: rotate(-6deg);
}
.hero-art .seal svg { width: 42px; height: 42px; }

/* ── Section scaffolding ─────────────────────────── */
.section { padding: clamp(48px, 8vw, 104px) 0; }
.section-head { max-width: 34ch; margin-bottom: clamp(28px, 4vw, 52px); min-width: 0; }
.section-head p, .spine p, .facts dd, .hero .lede, .hero-note { overflow-wrap: break-word; }
.section-head h2 { font-size: var(--t-h2); }
.section-head p { font-size: var(--t-lede); color: var(--ink-2); margin: 14px 0 0; }
.kicker { font-family: var(--font-ui); font-weight: 600; color: var(--forest); font-size: 0.95rem; margin: 0 0 10px; }

/* ── Lifecycle spine — an EARNED ordered sequence (forming → finish). ── */
.lifecycle {
  display: grid;
  grid-template-columns: 0.95fr 0.9fr;
  grid-template-areas:
    "head shot"
    "spine shot";
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
}
.lifecycle .section-head { grid-area: head; margin-bottom: 0; }
.lifecycle .spine { grid-area: spine; }
.lifecycle-shot {
  grid-area: shot;
  justify-self: center;
  position: sticky;
  top: 90px;
}
.spine { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.spine em { font-style: normal; font-weight: 600; color: var(--terracotta-deep); }
.opt {
  font-family: var(--font-ui); font-weight: 500; font-size: 0.72rem;
  color: var(--ink-muted); letter-spacing: 0.02em;
  border: 1px solid var(--line); border-radius: 99px;
  padding: 2px 8px; margin-left: 8px; vertical-align: middle;
}
.spine li.pending .dot { background: transparent; border-color: var(--ledge); box-shadow: none; }
.spine li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: start; padding: 18px 0; min-width: 0; }
.spine li > div { min-width: 0; }
.spine .node { position: relative; display: grid; place-items: center; width: 46px; }
.spine .dot {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid var(--celadon); background: var(--celadon);
  box-shadow: 0 0 0 5px rgba(63,107,79,0.12);
}
.spine li:last-child .rail { display: none; }
.spine .rail { position: absolute; top: 24px; bottom: -20px; width: 2.5px; background: linear-gradient(var(--celadon), rgba(63,107,79,0.35)); border-radius: 2px; }
.spine li.current .dot {
  background: transparent; border-color: var(--terracotta);
  box-shadow: 0 0 0 5px rgba(164,100,71,0.18);
  animation: kiln-breathe 2.6s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
}
.spine li.current .rail { background: var(--ledge); }
.spine .stage-n { font-family: var(--font-ui); font-weight: 600; font-size: 0.78rem; color: var(--ink-muted); margin-bottom: 3px; letter-spacing: 0.04em; }
.spine h3 { font-size: var(--t-h3); }
.spine p { margin: 4px 0 0; color: var(--ink-2); font-size: 1.02rem; max-width: 52ch; }

/* ── Showcase — the one bold forest moment, with the app device. ── */
.showcase { background: var(--forest); color: var(--on-forest); border-radius: 40px 30px 44px 28px; overflow: hidden; box-shadow: var(--shadow-card); min-width: 0; }
.showcase-grid { display: grid; grid-template-columns: 1fr 0.86fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(32px, 5vw, 64px); min-width: 0; }
.showcase h2 { font-size: var(--t-h2); color: var(--cream); }
.showcase .lede { color: var(--on-forest-muted); font-size: var(--t-lede); margin: 16px 0 26px; max-width: 36ch; }
.showcase ul { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 16px; }
.showcase li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; min-width: 0; }
.showcase li svg { width: 22px; height: 22px; margin-top: 3px; color: var(--on-forest-muted); flex-shrink: 0; }
.showcase li div { min-width: 0; }
.showcase li b { font-family: var(--font-ui); font-weight: 600; color: var(--cream); display: block; }
.showcase li span { color: var(--on-forest-muted); font-size: 1rem; overflow-wrap: break-word; }

/* Phone frame around a real app screenshot */
.device-stage { display: grid; place-items: center; }
.device {
  width: min(280px, 100%);
  margin: 0;
  background: #0F2418;
  border-radius: 42px;
  padding: 10px;
  box-shadow: var(--shadow-float), inset 0 0 0 1px rgba(255,255,255,0.08);
  transform: translateZ(0);
}
.device img {
  width: 100%;
  height: auto;
  aspect-ratio: 780 / 1532;
  object-fit: cover;
  display: block;
  border-radius: 32px;
  background: var(--bg-page);
}
.device-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(10px, 2vw, 18px);
  align-items: end;
  justify-items: center;
}
.device-pair .device { width: 100%; max-width: 230px; min-width: 0; }
.device-stack {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.device-stack .device-back {
  position: absolute;
  left: 6%;
  top: 8%;
  width: min(230px, 64%);
  transform: rotate(-6deg);
  z-index: 1;
}
.device-stack .device-front {
  position: relative;
  z-index: 2;
  width: min(260px, 72%);
  margin-left: 22%;
}

/* ── Wide photo band ─────────────────────────────── */
.band {
  position: relative;
  min-height: clamp(360px, 52vw, 540px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: clamp(12px, 3vw, 28px);
  border-radius: 40px 30px 44px 28px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,30,22,0.30) 0%, rgba(18,30,22,0.05) 38%, rgba(18,30,22,0.78) 100%), linear-gradient(90deg, rgba(18,30,22,0.55) 0%, rgba(18,30,22,0) 52%); }
.band .band-copy { position: relative; z-index: 1; padding: clamp(28px, 5vw, 56px); max-width: 40ch; }
.band h2 { color: var(--cream); font-size: var(--t-h2); }
.band p { color: rgba(243,234,216,0.86); font-size: var(--t-lede); margin: 12px 0 0; }
.band-device {
  position: relative;
  z-index: 1;
  width: min(240px, 42vw);
  margin: clamp(24px, 4vw, 48px) clamp(20px, 4vw, 48px) clamp(24px, 4vw, 48px) 0;
}

/* ── Closing CTA ─────────────────────────────────── */
.closing { text-align: center; padding: clamp(56px, 9vw, 120px) 0; }
.closing h2 { font-size: var(--t-h2); max-width: 18ch; margin: 0 auto; }
.closing p { color: var(--ink-2); font-size: var(--t-lede); margin: 16px auto 30px; max-width: 40ch; }
.closing .hero-cta { justify-content: center; }
.closing p.legal {
  margin: 32px auto 0;
  max-width: 52ch;
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.7;
}
.closing p.legal a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}
.closing p.legal a:hover { color: var(--forest); }

/* ── Listen (homepage) ───────────────────────────── */
.listen {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(16px, 3vw, 28px); align-items: stretch;
}
.listen a {
  display: flex; flex-direction: column; justify-content: space-between;
  text-decoration: none; min-height: 220px;
  padding: clamp(26px, 4vw, 40px);
  transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s;
}
.listen a:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.listen-bug {
  background: var(--forest); color: var(--cream);
  border-radius: 32px 22px 36px 20px;
}
.listen-bug h2 { color: var(--cream); font-size: var(--t-h2); }
.listen-bug p { color: var(--on-forest-muted); font-size: var(--t-lede); margin: 14px 0 28px; max-width: 32ch; }
.listen-bug .go { color: var(--cream); font-weight: 600; }
.listen-idea {
  background: var(--bg-card); color: var(--ink);
  border: 1px solid var(--line-soft);
  border-radius: 22px 32px 20px 36px;
}
.listen-idea h2 { font-size: var(--t-h2); }
.listen-idea p { color: var(--ink-2); font-size: var(--t-lede); margin: 14px 0 28px; max-width: 32ch; }
.listen-idea .go { color: var(--forest); font-weight: 600; }

.listen-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px;
  background: var(--bg-card); border: 1px solid var(--line-soft);
  border-radius: 18px 14px 20px 12px; padding: 18px 20px; margin: 8px 0 36px;
}
.listen-bar p { margin: 0; flex: 1 1 16rem; color: var(--ink-2); }
.listen-bar .btn { padding: 10px 18px; font-size: 0.95rem; }
.listen-bar-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.intent {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px;
}
.intent button {
  font-family: var(--font-ui); font-weight: 600; font-size: 0.95rem;
  cursor: pointer; background: transparent; color: var(--ink);
  border: 1px solid var(--line); border-radius: 99px; padding: 10px 16px;
  transition: background-color .2s, border-color .2s, color .2s;
}
.intent button:hover { background: var(--bg-card); }
.intent button[aria-pressed="true"] {
  background: var(--forest); color: var(--cream); border-color: var(--forest);
}

/* ── Footer ──────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); margin-top: 8px; }
.foot {
  display: grid; grid-template-columns: 1.3fr 0.8fr 0.8fr 0.8fr;
  gap: clamp(28px, 4vw, 48px); padding-top: clamp(36px, 5vw, 56px); padding-bottom: 28px;
}
.foot-brand p { color: var(--ink-2); margin: 12px 0 0; max-width: 28ch; }
.foot-col { display: grid; gap: 9px; align-content: start; }
.foot-col h2 { font-size: 0.82rem; font-weight: 600; color: var(--ink-muted); margin: 0 0 6px; }
.foot-col a { color: var(--ink); text-decoration: none; font-size: 0.98rem; }
.foot-col a:hover { color: var(--forest); }
.foot-copy {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  padding-top: 18px; padding-bottom: 36px;
  border-top: 1px solid var(--line-soft); color: var(--ink-muted); font-size: 0.9rem;
}
.foot-copy a { color: var(--ink-muted); }
.foot-copy a:hover { color: var(--forest); }
.site-footer .brand b { font-size: 1.15rem; }

/* ── Legal / prose pages ─────────────────────────── */
.page { max-width: 720px; padding-top: clamp(40px, 6vw, 64px); padding-bottom: clamp(56px, 8vw, 96px); }
.page-back { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); text-decoration: none; font-size: 0.96rem; margin-bottom: 26px; }
.page-back:hover { color: var(--forest); }
.page-back svg { width: 16px; height: 16px; }
.page h1 { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.1rem); }
.page .updated { color: var(--ink-muted); font-size: 0.98rem; margin: 10px 0 30px; }
.page h2 { font-family: var(--font-ui); font-size: clamp(1.4rem, 1.2rem + 0.7vw, 1.7rem); margin: 42px 0 12px; }
.page h3 { font-family: var(--font-ui); font-weight: 600; font-size: 1.2rem; margin: 26px 0 8px; }
.page p, .page li { font-size: 1.06rem; color: var(--ink); }
.page ul { padding-left: 20px; }
.page li { margin-bottom: 9px; }
.page li::marker { color: var(--terracotta); }

.callout { background: var(--plum-soft); border: 1px solid var(--line); border-radius: 18px 14px 20px 12px; padding: 18px 22px; margin: 26px 0; }
.callout strong { color: var(--plum-deep); }
.placeholder { background: #F6E2BE; border-radius: 5px; padding: 1px 7px; font-size: 0.92em; color: #6E5320; box-decoration-break: clone; }

.steps { counter-reset: step; list-style: none; padding-left: 0; }
.steps li { position: relative; padding-left: 46px; margin-bottom: 16px; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: -1px;
  width: 30px; height: 30px; border-radius: 50% 50% 50% 4px;
  background: var(--forest); color: var(--cream);
  display: grid; place-items: center; font-family: var(--font-ui); font-weight: 600; font-size: 0.95rem;
}

/* ── Split feature rows ──────────────────────────── */
.split {
  display: grid; grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(28px, 5vw, 72px); align-items: center;
}
.split .section-head { margin-bottom: 0; max-width: 38ch; }
.split-rev { grid-template-columns: 1.08fr 0.92fr; }
.split:has(.device-pair) { align-items: start; }

.palette {
  background: var(--bg-card); border: 1px solid var(--line-soft);
  border-radius: 28px 22px 32px 20px; padding: clamp(22px, 3vw, 36px);
  box-shadow: var(--shadow-soft);
}
.palette-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 12px;
}
.jar {
  display: grid; justify-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 500; color: var(--ink-2); text-align: center;
}
.jar i {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--g); display: block;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 6px 14px -8px rgba(34,48,31,0.4);
  border: 1px solid rgba(34,48,31,0.08);
}
.jar.speckled i {
  background-image: radial-gradient(circle at 30% 35%, rgba(50,40,30,0.35) 1.2px, transparent 1.4px),
    radial-gradient(circle at 68% 62%, rgba(50,40,30,0.28) 1px, transparent 1.2px),
    radial-gradient(circle at 48% 78%, rgba(50,40,30,0.22) 0.9px, transparent 1.1px);
}
.palette-note { margin: 22px 0 0; color: var(--ink-muted); font-size: 0.92rem; }
.palette-row.tight { margin-top: 18px; grid-template-columns: repeat(4, 1fr); }

.recipe-stack { display: grid; gap: 18px; }
.recipe-card {
  background: var(--bg-card); border: 1px solid var(--line-soft);
  border-radius: 24px 18px 28px 16px; padding: 22px 24px 20px;
  box-shadow: var(--shadow-soft);
  transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s cubic-bezier(.22,1,.36,1);
}
.recipe-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.recipe-card header { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.recipe-card header .jar { gap: 0; }
.recipe-card header .jar i { width: 44px; height: 44px; }
.recipe-card header b { display: block; font-size: 1.2rem; }
.recipe-card header span { color: var(--ink-2); font-size: 0.95rem; }
.recipe-card dl { margin: 0; display: grid; gap: 8px; }
.recipe-card dl div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line-soft); padding-bottom: 8px; }
.recipe-card dt { font-weight: 400; color: var(--ink-2); }
.recipe-card dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.recipe-card > p { margin: 16px 0 0; color: var(--ink-muted); font-size: 0.92rem; }

.ask {
  list-style: none; margin: 28px 0 0; padding: 0;
  display: grid; gap: 0; counter-reset: ask;
}
.ask li {
  display: grid; grid-template-columns: 1.4rem 1fr; gap: 2px 12px;
  padding: 14px 0; border-top: 1px solid var(--line-soft);
  align-items: baseline; color: var(--ink-2);
}
.ask li::before {
  counter-increment: ask; content: counter(ask);
  font-weight: 600; color: var(--forest); font-size: 0.95rem;
  grid-row: 1 / 3;
}
.ask b { font-weight: 600; color: var(--ink); }
.ask span { grid-column: 2; }

.clay-note {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
  margin: 28px 0 0; color: var(--ink-2); max-width: 48ch;
}
.clay-note b { color: var(--ink); }
.clay-bubble {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--forest); color: var(--cream);
  display: grid; place-items: center; flex-shrink: 0;
  animation: bubble-glow 3.2s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
}

.memory-head { max-width: 46ch; min-width: 0; }
.memory-head p { max-width: 100%; }
.memory-shelf {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.memory-shelf li {
  background: var(--bg-card); border: 1px solid var(--line-soft);
  border-radius: 24px 18px 28px 16px; overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s cubic-bezier(.22,1,.36,1);
}
.memory-shelf li:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.memory-shelf img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.memory-shelf div { padding: 14px 16px 18px; }
.memory-shelf b { display: block; font-weight: 600; }
.memory-shelf span { color: var(--ink-2); font-size: 0.95rem; }

.ideas-art {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 12px;
  align-items: stretch;
}
.ideas-art img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 22px 16px 26px 14px; box-shadow: var(--shadow-card);
}
.ideas-art img:first-child { grid-row: 1 / 3; min-height: 280px; border-radius: 28px 20px 32px 18px; }
.ideas-art img:nth-child(2),
.ideas-art img:nth-child(3) { min-height: 140px; aspect-ratio: 1; }

.facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 56px; margin: 0;
}
.facts > div { padding: 22px 0; border-top: 1px solid var(--line-soft); }
.facts dt { font-weight: 600; font-size: 1.12rem; margin: 0 0 6px; }
.facts dd { margin: 0; color: var(--ink-2); max-width: 48ch; }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { max-width: 460px; }
  .hero-art .stamp { left: 10px; }
  .hero-art .seal { right: 14px; width: 64px; height: 64px; }
  .showcase-grid { grid-template-columns: 1fr; }
  .device-stage { order: -1; }
  .lifecycle {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "shot" "spine";
  }
  .lifecycle .section-head { position: static; }
  .lifecycle-shot { position: static; }
  .split, .split-rev { grid-template-columns: 1fr; }
  .device-stack { min-height: 460px; }
  .band { grid-template-columns: 1fr; justify-items: center; }
  .band-device { margin: 0 0 clamp(24px, 5vw, 40px); width: min(240px, 70%); }
  .memory-shelf { grid-template-columns: 1fr; max-width: 420px; }
  .ask { margin-top: 20px; }
  .facts { grid-template-columns: 1fr; gap: 0; }
  .palette-row { grid-template-columns: repeat(4, 1fr); }
  .listen { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .palette-row { grid-template-columns: repeat(2, 1fr); }
  .foot { grid-template-columns: 1fr; }
}

/* ── Motion — content is ALWAYS visible (no reveal gates it). Only the hero
   gets a gentle time-based load entrance; below-fold sections stay static,
   which is calm-by-intent and bulletproof in headless/crawler renders. ── */
/* Content stays visible without the animation (crawlers, first paint). Motion
   only lifts; it never fades from 0. Calm studio: one load entrance, a kiln
   breath, a device float, hover lifts. No scroll-gated reveals. */
.hero h1, .hero .lede, .hero-cta, .hero-note, .hero-art { animation: rise .9s cubic-bezier(.16,1,.3,1) both; }
.hero .lede { animation-delay: .08s; }
.hero-cta { animation-delay: .16s; }
.hero-note { animation-delay: .24s; }
.hero-art { animation-delay: .1s; }
@keyframes rise { from { transform: translateY(18px); } to { transform: none; } }

.hero-art .seal { animation: seal-settle 1.15s cubic-bezier(.16,1,.3,1) .18s both; }
@keyframes seal-settle {
  from { transform: rotate(-16deg) translateY(-10px); }
  to { transform: rotate(-6deg) translateY(0); }
}

.device-stage .device { animation: device-float 4.8s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate; }
@keyframes device-float {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}

@keyframes kiln-breathe {
  from { box-shadow: 0 0 0 4px rgba(164,100,71,0.20); }
  to { box-shadow: 0 0 0 11px rgba(164,100,71,0.0); }
}
@keyframes bubble-glow {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { animation: none !important; opacity: 1 !important; transform: none !important; }
  .hero h1, .hero .lede, .hero-cta, .hero-note, .hero-art,
  .hero-art .seal, .device-stage .device, .spine li.current .dot, .clay-bubble { animation: none !important; }
  .btn:hover, .memory-shelf li:hover, .recipe-card:hover, .listen a:hover { transform: none !important; }
}

/* ── Contact ─────────────────────────────────────────
   Structure follows the reference the user picked (coordon.com/en/contact):
   centred eyebrow + two-tone headline + lede over a hairline, then a wide
   form beside a narrow "other ways to reach us" card.

   Accent here is FOREST, not plum. Forest is the one colour the site and the
   app still agree on byte-for-byte (#1A3A2A); plum was retired from the app
   two design systems ago and only survives on the older pages. ── */
.contact-hero { text-align: center; padding-top: clamp(38px, 6vw, 76px); padding-bottom: clamp(30px, 4vw, 52px); }
.contact-hero .eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 0.95rem; color: var(--forest);
  letter-spacing: 0.01em; margin: 0 0 18px;
}
.contact-hero .eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--forest); }
.contact-hero h1 {
  font-size: clamp(1.9rem, 1.15rem + 3.4vw, 3.4rem);
  max-width: 12ch; margin-left: auto; margin-right: auto;
}
.contact-hero h1 .accent { color: var(--forest); }
.contact-hero .lede { font-size: var(--t-lede); color: var(--ink-2); max-width: min(40ch, 100%); margin: 20px auto 0; }
.contact-rule { border: 0; border-top: 1px solid var(--line-soft); margin: 0; }

.contact-grid {
  display: grid; grid-template-columns: 1.4fr 0.85fr;
  gap: clamp(28px, 4vw, 62px); align-items: start;
  padding-top: clamp(36px, 5vw, 68px); padding-bottom: clamp(56px, 8vw, 96px);
}
.contact-grid h2 { font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.1rem); }
.contact-grid .form-lede { color: var(--ink-2); margin: 12px 0 32px; max-width: 52ch; }

/* ── Form ── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: grid; gap: 8px; }
.field[hidden] { display: none; }
.field.wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.96rem; color: var(--ink); }
.field .req { color: var(--kiln-umber); }
.field input, .field select, .field textarea {
  font-family: var(--font-ui); font-size: 1rem; font-weight: 400;
  color: var(--ink); background: var(--bg-card);
  border: 1px solid var(--line); border-radius: 14px;
  padding: 13px 15px; width: 100%;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 168px; resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-muted); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(26, 58, 42, 0.14);
  background: #FFFDF7;
}
/* Native select chrome is grey on every platform and reads as a foreign part
   on a warm page — so the arrow is drawn here, in ink. */
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A5142' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; background-size: 17px;
}
.field select:invalid { color: var(--ink-muted); }

.btn-forest { background: var(--forest); color: var(--cream); box-shadow: var(--shadow-soft); padding: 13px 15px 13px 26px; }
.btn-forest:hover { background: var(--forest-deep); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.btn-forest .plane {
  display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 50%; background: var(--cream); color: var(--forest);
}
.btn-forest .plane svg { width: 16px; height: 16px; }
.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 30px; }
.form-actions .fineprint { color: var(--ink-muted); font-size: 0.92rem; margin: 0; max-width: 34ch; }

/* Submit result. Hidden until the send resolves — never a live region that
   announces itself on load. */
.form-note { display: none; border-radius: 16px; padding: 16px 20px; margin-top: 26px; font-size: 1rem; }
.form-note.show { display: block; }
.form-note.ok { background: var(--forest-soft); border: 1px solid var(--line); color: var(--forest-deep); }
.form-note.bad { background: var(--plum-soft); border: 1px solid var(--line); color: var(--plum-deep); }
.form-note b { display: block; margin-bottom: 3px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ── "Other ways to reach us" card ── */
.contact-aside {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 22px; padding: clamp(24px, 3vw, 32px);
  box-shadow: var(--shadow-soft); position: sticky; top: 96px;
}
.contact-aside h2 { font-size: 1.24rem; margin-bottom: 22px; }
.contact-aside h3 { font-size: 1.02rem; font-weight: 600; letter-spacing: 0; margin: 0 0 10px; }
.aside-row { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.aside-row .ico { width: 24px; height: 24px; color: var(--forest); margin-top: 2px; }
.aside-row .ico svg { width: 100%; height: 100%; }
.contact-aside p { color: var(--ink-2); font-size: 0.98rem; margin: 0; }
.contact-aside a { color: var(--forest); text-decoration: none; }
.contact-aside a:hover { text-decoration: underline; }
.aside-sep { border: 0; border-top: 1px solid var(--line-soft); margin: 24px 0; }
.aside-links { display: grid; gap: 9px; }
.aside-links a { font-size: 0.99rem; }
.aside-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; margin-top: 12px; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-aside { position: static; }
}
@media (max-width: 620px) {
  .form-grid { grid-template-columns: 1fr; }
}
