/* ==========================================================================
   Giving Tree Poker · Direction C · Clay
   Warm, airy wellness. One radius scale, one breathing rhythm.
   ========================================================================== */

:root {
  /* Palette */
  --c-sand: #F7F1E8;
  --c-sand-deep: #EFE4D2;
  --c-paper: #FCF8F1;
  --c-sage: #9CAF88;
  --c-sage-soft: #D3DCC4;
  --c-sage-ink: #56693F;
  --c-olive: #3D3A2E;
  --c-olive-soft: #6A6553;
  --c-clay: #C97B5A;
  --c-clay-ink: #A4573A;
  --c-clay-deep: #86452C;
  --c-blush: #E8C4B0;
  --c-blush-soft: #F2DCCF;
  --c-line: #DCCFB9;
  --c-felt: #6F8560;
  --c-on-dark: #F7F1E8;
  --c-on-dark-soft: #CFC6B2;
  --c-tape: rgba(233, 219, 190, 0.82);
  --c-scrim: rgba(61, 58, 46, 0.6);
  --c-shadow: rgba(61, 58, 46, 0.28);

  /* "Screenshot" UI palette (third-party tracker look, deliberately not on-brand) */
  --c-shot-bg: #FFFFFF;
  --c-shot-chrome: #ECEDEF;
  --c-shot-grid: #E6E7EA;
  --c-shot-ink: #2B2E33;
  --c-shot-muted: #80858E;
  --c-shot-green: #2E8B57;
  --c-shot-red: #D2453A;
  --c-shot-blue: #3A6DB5;
  --c-shot-gold: #D4A937;
  --c-shot-dark: #1E2126;
  --c-shot-dark-2: #2A2E35;
  --c-shot-dark-ink: #E9EBEE;
  --c-shot-highlight: #FFF6D9;

  /* Type */
  --f-display: "Young Serif", Georgia, serif;
  --f-body: "Outfit", system-ui, sans-serif;
  --f-hand: "Caveat", cursive;
  --f-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --fs-hero: clamp(2.4rem, 4.4vw, 3.9rem);
  --fs-h1: clamp(2.2rem, 3.8vw, 3.3rem);
  --fs-h2: clamp(1.8rem, 3vw, 2.6rem);
  --fs-h3: clamp(1.35rem, 1.9vw, 1.7rem);
  --fs-lead: clamp(1.1rem, 1.4vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-tiny: 0.75rem;

  /* One radius vocabulary: pebble scale */
  --r-s: 8px;
  --r-m: 20px;
  --r-l: 44px;
  --r-pill: 999px;
  --r-arch: 999px 999px var(--r-m) var(--r-m);

  /* Space */
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --ease-soft: cubic-bezier(0.45, 0, 0.25, 1);
  --breath: 4s;

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .24 0 0 0 0 .22 0 0 0 0 .18 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }

body {
  margin: 0;
  background: var(--c-sand);
  color: var(--c-olive);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  font-weight: 350;
  line-height: 1.6;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Paper grain over everything, very quiet */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  background-image: var(--grain);
  opacity: 0.22;
  mix-blend-mode: multiply;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--c-clay-ink); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--c-clay-deep); }

ul, ol { margin: 0; padding: 0; list-style: none; }

button { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--c-clay-ink);
  outline-offset: 3px;
  border-radius: var(--r-s);
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--c-olive);
  color: var(--c-on-dark);
  border-radius: var(--r-pill);
}
.skip:focus { top: 12px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

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

/* --------------------------------------------------------------- Small type parts */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-sage-ink);
}

.lead { font-size: var(--fs-lead); line-height: 1.55; max-width: 38ch; }

.muted { color: var(--c-olive-soft); }

.hand {
  font-family: var(--f-hand);
  font-weight: 500;
  font-size: 1.55rem;
  line-height: 1.05;
  color: var(--c-clay-ink);
}

/* Suit glyphs (German suits: Leaves and Acorns) */
.glyph { width: 1em; height: 1em; flex: none; fill: currentColor; }
.glyph--leaf { color: var(--c-sage-ink); --glyph-vein: var(--c-sand); }
.glyph--acorn { color: var(--c-olive); --glyph-cap: var(--c-clay); }

/* Hand-drawn strokes (underlines, arrows, circles) */
.scribble { overflow: visible; pointer-events: none; }
.scribble path {
  fill: none;
  stroke: var(--c-clay);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scribble-word { position: relative; display: inline-block; white-space: nowrap; }
.scribble-word .scribble {
  position: absolute;
  left: -3%;
  bottom: -0.1em;
  width: 106%;
  height: 0.3em;
}
.scribble-word .scribble path { stroke-width: 5; }

/* --------------------------------------------------------------- Buttons & links */
.btn {
  --btn-bg: var(--c-clay-ink);
  --btn-fg: var(--c-paper);
  --btn-border: var(--c-clay-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.95em 1.6em;
  border: 1.5px solid var(--btn-border);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s var(--ease-soft), color 0.3s var(--ease-soft), border-color 0.3s var(--ease-soft);
}
.btn:hover { --btn-bg: var(--c-clay-deep); --btn-border: var(--c-clay-deep); color: var(--btn-fg); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--c-olive); --btn-border: var(--c-olive); }
.btn--ghost:hover { --btn-bg: var(--c-olive); --btn-fg: var(--c-sand); --btn-border: var(--c-olive); }

.btn--sage { --btn-bg: var(--c-olive); --btn-fg: var(--c-sand); --btn-border: var(--c-olive); }
.btn--sage:hover { --btn-bg: var(--c-sage-ink); --btn-border: var(--c-sage-ink); }

.btn--sm { padding: 0.7em 1.2em; font-size: 0.9375rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-olive);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--c-clay);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
}
.link-arrow::after { content: "\2192"; transition: transform 0.3s var(--ease-soft); }
.link-arrow:hover { color: var(--c-clay-ink); }
.link-arrow:hover::after { transform: translateX(4px); }

/* --------------------------------------------------------------- Header / nav */
.site-header { position: relative; z-index: 30; }

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--c-olive);
  text-decoration: none;
}
.brand .glyph { width: 30px; height: 30px; }
.brand__name { font-family: var(--f-display); font-size: 1.3rem; line-height: 1; }
.brand__name small {
  display: block;
  margin-top: 4px;
  font-family: var(--f-body);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-olive-soft);
}
.brand:hover { color: var(--c-olive); }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; align-items: center; gap: 26px; }
.site-nav a:not(.btn) {
  color: var(--c-olive);
  font-size: 0.975rem;
  text-decoration: none;
  padding-block: 6px;
  border-bottom: 1.5px solid transparent;
}
.site-nav a:not(.btn):hover,
.site-nav a[aria-current="page"] { border-bottom-color: var(--c-clay); }
.site-nav .nav-login { color: var(--c-sage-ink); }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  border: 1.5px solid var(--c-olive);
  border-radius: var(--r-pill);
  background: transparent;
  cursor: pointer;
  place-items: center;
}
.nav-toggle__bars,
.nav-toggle__bars::before {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--c-olive);
  transition: transform 0.3s var(--ease-soft);
}
.nav-toggle__bars { position: relative; transform: translateY(-3px); }
.nav-toggle__bars::before { content: ""; position: absolute; top: 6px; left: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { transform: translateY(0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(-6px) rotate(-90deg); }

@media (max-width: 1060px) {
  .nav-toggle { display: grid; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 12px var(--gutter) 32px;
    background: var(--c-sand);
    border-bottom: 1px solid var(--c-line);
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a:not(.btn) {
    display: block;
    padding-block: 14px;
    font-family: var(--f-display);
    font-size: 1.5rem;
    border-bottom: 1px solid var(--c-line);
  }
}

/* --------------------------------------------------------------- Section edges */
.edge {
  position: absolute;
  left: 0;
  width: 100%;
  height: clamp(28px, 4vw, 60px);
  pointer-events: none;
}
.edge--top { top: 1px; transform: translateY(-100%); }
.edge path { fill: currentColor; }

/* --------------------------------------------------------------- Photo frames */
.photo { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-l); background: var(--c-sand-deep); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.ph-tag {
  position: absolute;
  z-index: 2;
  left: 14px;
  bottom: 14px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--c-paper);
  color: var(--c-olive-soft);
  font-size: var(--fs-tiny);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------- Chip glyph + chip number badges */
.chip-icon { width: 1em; height: 1em; flex: none; fill: currentColor; color: var(--chip, var(--c-clay)); --chip-spot: var(--c-paper); }
.chip--clay { --chip: var(--c-clay); }
.chip--sage { --chip: var(--c-sage-ink); }
.chip--olive { --chip: var(--c-olive); }
.chip--blush { --chip: var(--c-blush); --chip-spot: var(--c-clay-deep); }

.chip-num { position: relative; display: grid; place-items: center; width: 56px; height: 56px; flex: none; }
.chip-num .chip-icon { position: absolute; inset: 0; width: 100%; height: 100%; }
.chip-num > span {
  position: relative;
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--c-paper);
  font-family: var(--f-display);
  font-size: 1.05rem;
  line-height: 1;
  color: var(--c-olive);
}

/* --------------------------------------------------------------- Hero (coach-led) */
.hero { padding-block: 4px clamp(56px, 7vw, 96px); }

.hero__stage { position: relative; }

.hero__photo { aspect-ratio: 4 / 3; }
.hero__photo img { object-position: 72% 50%; }
.hero__photo .ph-tag { left: auto; right: 14px; bottom: auto; top: 14px; }

.hero__copy { position: relative; z-index: 2; padding-top: 84px; }
.hero__title { font-size: var(--fs-hero); line-height: 1.04; margin-bottom: 0.3em; }
.hero__sub { font-size: var(--fs-lead); max-width: 36ch; margin-bottom: 1.8em; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.hero__trust {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 0;
  font-size: var(--fs-small);
  color: var(--c-olive-soft);
}
.hero__trust .chip-icon { width: 22px; height: 22px; }

.hero__chip {
  position: absolute;
  z-index: 3;
  right: 12px;
  top: calc(min(100vw - 2 * var(--gutter), var(--max)) * 0.75 - 90px);
  width: 150px;
}

@media (min-width: 960px) {
  .hero__stage { min-height: clamp(580px, 74vh, 720px); display: flex; align-items: center; }
  .hero__photo { position: absolute; inset: 0; aspect-ratio: auto; }
  .hero__photo img { object-position: 70% 40%; }
  .hero__copy {
    width: min(50%, 560px);
    margin-left: clamp(24px, 4vw, 64px);
    padding: clamp(28px, 3vw, 44px);
    background: var(--c-sand);
    border-radius: var(--r-l);
  }
  .hero__chip { top: auto; right: clamp(24px, 4vw, 56px); bottom: -64px; width: clamp(180px, 16vw, 230px); }
}

/* --------------------------------------------------------------- Breathing chip (the signature) */
.chip-breath { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.chip-breath__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform-origin: center;
  animation: chip-breathe var(--breath) var(--ease-soft) infinite alternate;
  filter: drop-shadow(0 10px 14px var(--c-shadow));
}
.chip__body { fill: var(--c-clay); }
.chip__spots { fill: none; stroke: var(--c-paper); stroke-width: 15; stroke-dasharray: 1 1; }
.chip__inlay { fill: var(--c-clay-deep); }
.chip__face { fill: var(--c-paper); }
.chip__ring { fill: none; stroke: var(--c-clay); stroke-width: 1.4; stroke-dasharray: 0.6 1.4; }

@keyframes chip-breathe {
  from { transform: scale(0.84) rotate(-14deg); }
  to { transform: scale(1) rotate(14deg); }
}

.chip-breath__cue { position: relative; margin: 0; text-align: center; color: var(--c-olive); }
.breath__label { display: block; font-family: var(--f-display); line-height: 1.1; transition: opacity 0.6s var(--ease-soft); }
.breath__label.is-changing { opacity: 0; }
.breath__count { display: block; font-weight: 500; text-transform: uppercase; color: var(--c-olive-soft); }
.chip-breath .breath__label { font-size: clamp(0.95rem, 1.3vw, 1.2rem); }
.chip-breath .breath__count { margin-top: 2px; font-size: 0.6rem; letter-spacing: 0.16em; }

.chip-breath.is-paused .chip-breath__svg { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .chip-breath__svg { animation: none; transform: scale(0.94); }
}

.hero__note {
  position: absolute;
  right: 100%;
  bottom: 6px;
  display: none;
  width: max-content;
  margin-right: 6px;
  font-size: 1.35rem;
  rotate: -5deg;
}
@media (min-width: 960px) { .hero__note { display: block; } }

/* --------------------------------------------------------------- Proof strip */
.proof { padding-block: clamp(56px, 7vw, 96px) clamp(48px, 6vw, 80px); }
.proof__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
.proof__stat { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
.proof__stat .chip-icon { width: 34px; height: 34px; grid-row: span 2; }
.proof__num { font-family: var(--f-display); font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1; font-variant-numeric: tabular-nums; }
.proof__label { font-size: var(--fs-small); color: var(--c-olive-soft); }
.proof__formats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--c-line);
  font-size: var(--fs-small);
}
.proof__formats li:first-child { margin-right: 6px; color: var(--c-olive-soft); }
.proof__formats li + li { padding: 6px 14px; border: 1.5px solid var(--c-line); border-radius: var(--r-pill); font-weight: 500; }
@media (min-width: 900px) {
  .proof__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* --------------------------------------------------------------- Sound familiar? (cards on the table) */
.familiar { position: relative; background: var(--c-sand-deep); padding-block: clamp(64px, 8vw, 110px) clamp(80px, 9vw, 130px); }
.familiar .edge { color: var(--c-sand-deep); }
.familiar__head { position: relative; display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 5vw, 64px); }
.familiar__head h2 { font-size: var(--fs-h2); }
.familiar__art { width: clamp(120px, 16vw, 220px); margin: 0 0 -20px; rotate: 8deg; }

.pcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pcard {
  position: relative;
  display: flex;
  align-items: center;
  aspect-ratio: 5 / 7;
  padding: 18% 14%;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--r-s);
  box-shadow: 0 16px 26px -20px var(--c-shadow);
  rotate: var(--tilt, 0deg);
}
.pcard p { margin: 0; font-family: var(--f-display); font-size: clamp(0.98rem, 1.6vw, 1.4rem); line-height: 1.25; }
.pcard__idx { position: absolute; top: 10px; left: 10px; width: 20px; height: 20px; }
.pcard__idx--br { top: auto; left: auto; right: 10px; bottom: 10px; rotate: 180deg; }
.pcard__idx .glyph { width: 100%; height: 100%; }
.pcard--1 { --tilt: -3deg; }
.pcard--2 { --tilt: 2deg; }
.pcard--3 { --tilt: -1deg; }
.pcard--4 { --tilt: 3deg; }

.familiar__after {
  max-width: 30ch;
  margin: clamp(40px, 5vw, 64px) 0 0;
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.25;
}
.familiar__after em { font-style: normal; color: var(--c-clay-ink); }

@media (min-width: 900px) {
  .pcards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
  .pcard--2, .pcard--4 { margin-top: 32px; }
  .familiar__after { margin-left: calc(100% / 12 * 5); }
}

/* --------------------------------------------------------------- Approach (compact) */
.approach { padding-block: clamp(80px, 10vw, 140px) clamp(40px, 5vw, 72px); }
.approach__grid { display: grid; gap: 36px; }
.approach__head { display: flex; align-items: end; gap: 18px; }
.approach__head h2 { font-size: var(--fs-h2); }
.approach__head .eyebrow { margin-bottom: 10px; }
.approach__tree { width: clamp(84px, 9vw, 120px); flex: none; margin: 0 0 -6px; }
.approach__lead { color: var(--c-olive-soft); max-width: 36ch; margin-top: 18px; }

.pillars { display: grid; gap: 0 32px; }
.pillar {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 4px 14px;
  padding-block: 22px;
  border-top: 1px solid var(--c-line);
}
.pillar .glyph { width: 24px; height: 24px; margin-top: 4px; grid-row: span 3; }
.pillar__part { margin: 0; font-size: var(--fs-tiny); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-sage-ink); }
.pillar__title { font-size: 1.35rem; }
.pillar p:last-child { color: var(--c-olive-soft); font-size: 0.975rem; }

@media (min-width: 700px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .approach__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(40px, 6vw, 96px); }
}

/* --------------------------------------------------------------- Coaches (photos) */
.coaches { padding-block: clamp(56px, 7vw, 100px) clamp(90px, 11vw, 160px); }
.coaches__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(32px, 5vw, 56px); }
.coaches__head h2 { font-size: var(--fs-h2); }
.coaches__grid { display: grid; gap: 56px; }
.coach .photo { aspect-ratio: 4 / 5; margin-bottom: 22px; }
.coach__role { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-weight: 500; color: var(--c-sage-ink); }
.coach__role .chip-icon { width: 18px; height: 18px; }
.coach__name { font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: 12px; }
.coach p:last-child { max-width: 44ch; color: var(--c-olive-soft); }
@media (min-width: 800px) {
  .coaches__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(32px, 5vw, 72px); align-items: start; }
  .coach--theo { margin-top: clamp(80px, 12vw, 180px); }
}

/* --------------------------------------------------------------- How it works (photo + chip steps) */
.how-home { padding-block: clamp(90px, 11vw, 160px) clamp(80px, 10vw, 140px); }
.how-home__grid { display: grid; gap: 40px; align-items: center; }
.how-home .photo { aspect-ratio: 4 / 5; }
.how-home h2 { font-size: var(--fs-h2); margin-bottom: clamp(24px, 3vw, 40px); }
.chip-steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 20px; padding-block: 20px; border-top: 1px solid var(--c-line); }
.chip-steps li:first-child { border-top: 0; padding-top: 0; }
.chip-steps .chip-num { grid-row: span 2; }
.chip-steps h3 { font-size: 1.35rem; padding-top: 6px; }
.chip-steps p { color: var(--c-olive-soft); max-width: 44ch; }
.how-home .hero__actions { margin-top: 28px; }
@media (min-width: 900px) {
  .how-home__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: calc(100% / 12); }
}

/* --------------------------------------------------------------- Pricing on felt */
.pricing { padding-block: clamp(24px, 4vw, 48px) clamp(90px, 11vw, 150px); }
.felt {
  position: relative;
  padding: clamp(28px, 5vw, 72px) clamp(18px, 4vw, 56px) clamp(36px, 5vw, 72px);
  border-radius: var(--r-l);
  background-color: var(--c-felt);
  color: var(--c-paper);
}
.felt::before,
.auth__art::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-color: var(--c-felt);
  background-image: url("../shared/img/felt.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(0.35) brightness(1.45);
  pointer-events: none;
}
.felt__head { position: relative; z-index: 1; max-width: 560px; margin-bottom: clamp(28px, 4vw, 48px); }
.felt__head .eyebrow { color: var(--c-sage-soft); }
.felt__head h2 { font-size: var(--fs-h2); color: var(--c-paper); margin-bottom: 12px; }
.felt__head p { color: var(--c-sage-soft); }
.felt__chips { position: absolute; z-index: 2; right: -2%; top: -48px; width: clamp(130px, 18vw, 250px); pointer-events: none; }
.felt__cards { position: absolute; z-index: 0; left: 38%; top: 24px; width: clamp(110px, 14vw, 190px); rotate: -12deg; opacity: 0.95; pointer-events: none; display: none; }
@media (min-width: 1000px) { .felt__cards { display: block; } }

.tiers { position: relative; z-index: 1; display: grid; gap: 16px; }
.tier {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px;
  border-radius: var(--r-m);
  background: var(--c-paper);
  color: var(--c-olive);
}
.tier h3 { font-size: 1.35rem; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.tier h3 .hand { font-size: 1.35rem; }
.tier .tier__price { margin: 4px 0 2px; font-family: var(--f-display); font-size: 2.1rem; line-height: 1; }
.tier__price small { font-family: var(--f-body); font-size: 0.9rem; color: var(--c-olive-soft); }
.tier p { margin: 0; font-size: 0.95rem; color: var(--c-olive-soft); }
.tier .btn { margin-top: auto; align-self: flex-start; }
.tier--feature { background: var(--c-sand); outline: 3px solid var(--c-clay); outline-offset: -3px; }
.tier__spacer { flex: 1; min-height: 12px; }
@media (min-width: 640px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .tiers { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; }
  .tier--feature { margin-top: -16px; margin-bottom: -16px; padding-block: 42px; }
}

/* --------------------------------------------------------------- Results board */
.results {
  position: relative;
  background: var(--c-sand-deep);
  padding-block: clamp(64px, 8vw, 110px) clamp(100px, 12vw, 160px);
}
.results .edge { color: var(--c-sand-deep); }

.results__head { display: grid; gap: 16px; margin-bottom: clamp(48px, 6vw, 88px); }
.results__head h2 { font-size: var(--fs-h2); max-width: 12ch; }
.results__head p { color: var(--c-olive-soft); max-width: 36ch; margin: 0; }

@media (min-width: 900px) {
  .results__head { grid-template-columns: 1fr auto; align-items: end; }
}

.board { display: grid; gap: 110px 24px; max-width: 440px; margin-inline: auto; }

.pin { position: relative; margin: 0; rotate: var(--tilt, 0deg); }
.pin::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -12px;
  left: 50%;
  width: 84px;
  height: 24px;
  background: var(--c-tape);
  transform: translateX(-50%) rotate(var(--tape, -3deg));
}
.pin figcaption { margin-top: 12px; font-size: var(--fs-small); font-weight: 500; }

.pin__open {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: var(--r-s);
}

.pin__note {
  position: absolute;
  display: flex;
  align-items: flex-start;
  gap: 2px;
  width: max-content;
  max-width: 230px;
  font-size: 1.4rem;
  rotate: -3deg;
}
.pin__note .scribble { width: 56px; height: 56px; flex: none; }

.pin--1 { --tilt: -2deg; }
.pin--2 { --tilt: 2.5deg; --tape: 4deg; }
.pin--3 { --tilt: -1deg; }
.pin--4 { --tilt: 1.8deg; --tape: 2deg; }
.pin--5 { --tilt: -1.2deg; }
.pin--6 { --tilt: 1deg; --tape: -5deg; }

.pin--5 .pin__note { right: -4px; bottom: -86px; }
.pin--3 .pin__note { left: 8px; bottom: -76px; }

@media (min-width: 640px) {
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; gap: 88px 40px; }
}

@media (min-width: 1000px) {
  .board { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 96px 28px; }
  .pin--1 { grid-column: 1 / span 5; }
  .pin--2 { grid-column: 6 / span 3; margin-top: 56px; }
  .pin--3 { grid-column: 9 / span 4; margin-top: -8px; }
  .pin--4 { grid-column: 1 / span 3; margin-top: 24px; margin-left: 12%; margin-right: -12%; }
  .pin--5 { grid-column: 5 / span 5; margin-top: 8px; }
  .pin--6 { grid-column: 10 / span 3; margin-top: 64px; }
}

/* ---- Screenshot internals: sized in em so the lightbox can scale them */
.shot {
  overflow: hidden;
  font-family: var(--f-ui);
  font-size: 11px;
  line-height: 1.35;
  color: var(--c-shot-ink);
  background: var(--c-shot-bg);
  border-radius: var(--r-s);
  box-shadow: 0 1px 0 var(--c-line), 0 18px 32px -20px var(--c-shadow);
  font-variant-numeric: tabular-nums;
}
.shot svg { width: 100%; height: auto; }

.shot__chrome {
  display: flex;
  align-items: center;
  gap: 1.4em;
  margin-left: -1.6em; /* imperfect crop: first tab cut off */
  padding: 0.55em 1em 0.55em 0;
  background: var(--c-shot-chrome);
  color: var(--c-shot-muted);
  font-size: 0.95em;
  white-space: nowrap;
}
.shot__chrome .is-on { color: var(--c-shot-ink); font-weight: 600; border-bottom: 2px solid var(--c-shot-blue); padding-bottom: 0.2em; }

.shot__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em 1.4em;
  align-items: baseline;
  padding: 0.9em 1.2em 0.3em;
  color: var(--c-shot-muted);
}
.shot__meta strong { color: var(--c-shot-ink); font-size: 1.15em; }
.shot__meta .pos { color: var(--c-shot-green); font-weight: 700; font-size: 1.3em; margin-left: auto; }

.shot__plot { padding: 0.2em 0.8em 0.8em 0.4em; }
.shot__plot text { font-family: var(--f-ui); font-size: 10px; fill: var(--c-shot-muted); }
.shot__plot .grid { stroke: var(--c-shot-grid); stroke-width: 1; }
.shot__plot .zero { stroke: var(--c-shot-muted); stroke-width: 1; stroke-dasharray: 3 3; }
.shot__plot .l-green { stroke: var(--c-shot-green); }
.shot__plot .l-blue { stroke: var(--c-shot-blue); }
.shot__plot .l-red { stroke: var(--c-shot-red); }
.shot__plot polyline { fill: none; stroke-width: 1.6; stroke-linejoin: round; }
.shot__plot .bar { fill: var(--c-shot-blue); }
.shot__plot .bar--last { fill: var(--c-shot-green); }
.shot__plot .bar-label { fill: var(--c-shot-ink); font-weight: 600; }

.shot__legend { display: flex; gap: 1.2em; padding: 0 1.2em 1em; color: var(--c-shot-muted); }
.shot__legend span::before {
  content: "";
  display: inline-block;
  width: 1.4em; height: 0.25em;
  margin-right: 0.5em;
  vertical-align: middle;
  background: var(--swatch);
}
.sw-green { --swatch: var(--c-shot-green); }
.sw-blue { --swatch: var(--c-shot-blue); }
.sw-red { --swatch: var(--c-shot-red); }

/* Tournament lobby, dark */
.shot--dark { background: var(--c-shot-dark); color: var(--c-shot-dark-ink); }
.shot--dark .shot__chrome { background: var(--c-shot-dark-2); color: var(--c-shot-muted); margin-left: 0; padding-left: 1em; justify-content: space-between; }
.tourney { padding: 1.6em 1.4em 1.5em; text-align: center; }
.tourney__label { margin: 0 0 0.9em; font-size: 0.9em; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-shot-muted); }
.tourney__medal {
  display: grid;
  place-items: center;
  width: 4.6em; height: 4.6em;
  margin: 0 auto 0.8em;
  border-radius: 50%;
  border: 0.25em solid var(--c-shot-gold);
  color: var(--c-shot-gold);
  font-size: 1.1em;
  font-weight: 800;
}
.tourney__place { margin: 0; font-size: 1.5em; font-weight: 700; }
.tourney__place span { font-weight: 400; color: var(--c-shot-muted); font-size: 0.8em; }
.tourney__prize { margin: 0.2em 0 1em; font-size: 2.3em; font-weight: 800; color: var(--c-shot-gold); letter-spacing: -0.01em; }
.tourney__stats { display: flex; justify-content: center; gap: 1.6em; margin: 0; padding-top: 0.9em; border-top: 1px solid var(--c-shot-dark-2); }
.tourney__stats dt { font-size: 0.85em; color: var(--c-shot-muted); }
.tourney__stats dd { margin: 0; font-weight: 600; }

/* Final-table payout list, light */
.ft { width: 100%; border-collapse: collapse; }
.ft caption { padding: 0.9em 1.2em 0.5em; text-align: left; font-weight: 700; font-size: 1.05em; }
.ft th, .ft td { padding: 0.45em 1.2em; text-align: left; border-top: 1px solid var(--c-shot-grid); }
.ft th { font-weight: 500; color: var(--c-shot-muted); font-size: 0.9em; }
.ft td:last-child, .ft th:last-child { text-align: right; }
.ft .me td { background: var(--c-shot-highlight); font-weight: 700; }
.ft__sub { margin: 0; padding: 0.3em 1.2em 1em; color: var(--c-shot-muted); font-size: 0.9em; }

/* Monthly results table */
.mt { width: 100%; border-collapse: collapse; }
.mt th, .mt td { padding: 0.5em 1em; border-top: 1px solid var(--c-shot-grid); text-align: right; }
.mt th:first-child, .mt td:first-child { text-align: left; }
.mt thead th { background: var(--c-shot-chrome); color: var(--c-shot-muted); font-weight: 500; border-top: 0; }
.mt .up { color: var(--c-shot-green); font-weight: 600; }
.mt .down { color: var(--c-shot-red); font-weight: 600; }
.mt tfoot td { font-weight: 700; }

/* --------------------------------------------------------------- Testimonials */
.voices { padding-block: clamp(110px, 14vw, 200px) clamp(72px, 8vw, 120px); }
.voices__title { font-size: var(--fs-h2); margin-bottom: clamp(40px, 6vw, 80px); }

.voices__grid { display: grid; gap: 56px; }

.voice { margin: 0; }
.voice .glyph { width: 24px; height: 24px; margin-bottom: 16px; }
.voice blockquote { margin: 0 0 20px; font-family: var(--f-display); font-size: 1.4rem; line-height: 1.3; }
.voice--big blockquote { font-size: clamp(1.8rem, 3.2vw, 2.7rem); line-height: 1.18; }

.voice figcaption { display: flex; align-items: center; gap: 14px; font-size: var(--fs-small); }
.voice figcaption small { display: block; color: var(--c-olive-soft); font-size: var(--fs-small); }
.voice figcaption strong { font-weight: 600; }

.avatar {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  flex: none;
  border-radius: 50%;
  background: var(--avatar, var(--c-blush));
  font-family: var(--f-display);
  font-size: 1rem;
  color: var(--c-olive);
}
.avatar--sage { --avatar: var(--c-sage-soft); }
.avatar--sand { --avatar: var(--c-sand-deep); }
.avatar--clay { --avatar: var(--c-blush-soft); }

@media (min-width: 900px) {
  .voices__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 72px 24px; }
  .voice--1 { grid-column: 1 / span 7; }
  .voice--2 { grid-column: 9 / span 4; margin-top: 120px; }
  .voice--3 { grid-column: 2 / span 4; }
  .voice--4 { grid-column: 7 / span 5; margin-top: -40px; }
}

/* --------------------------------------------------------------- Contact */
.contact { padding-block: clamp(56px, 8vw, 110px) clamp(120px, 14vw, 190px); }

.contact__grid { display: grid; gap: 48px; }

.contact h2 { font-size: var(--fs-h2); margin-bottom: 24px; max-width: 11ch; }
.contact__phone {
  display: inline-block;
  margin-bottom: 6px;
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  color: var(--c-olive);
  text-decoration: none;
}
.contact__phone:hover { color: var(--c-clay-ink); }
.contact__email { display: inline-block; margin-bottom: 36px; font-size: 1.1rem; }
.contact__call { padding-top: 28px; border-top: 1px solid var(--c-line); max-width: 30ch; }
.contact__call p { margin-bottom: 16px; }

/* The blush pocket that holds the form, like a note tucked in an envelope */
.envelope {
  position: relative;
  padding: clamp(12px, 2vw, 22px);
  background: var(--c-blush);
  border-radius: var(--r-l);
}
.envelope__seal {
  position: absolute;
  z-index: 3;
  right: clamp(20px, 4vw, 44px);
  top: -26px;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--c-clay-deep);
  rotate: 8deg;
}
.envelope__seal .glyph { width: 26px; height: 26px; color: var(--c-sand); --glyph-cap: var(--c-blush); }

.form {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 44px);
  background: var(--c-paper);
  border-radius: var(--r-m);
}
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 6px; }
.field label { font-size: var(--fs-small); font-weight: 500; }
.field label span { font-weight: 350; color: var(--c-olive-soft); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8em 1em;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-s);
  background: var(--c-sand);
  color: var(--c-olive);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.3s var(--ease-soft);
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233D3A2E' stroke-width='1.6' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  padding-right: 2.6em;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: none; border-color: var(--c-clay-ink); box-shadow: 0 0 0 3px var(--c-blush); }

.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.form__thanks {
  margin: 0;
  padding: 14px 18px;
  border-radius: var(--r-s);
  background: var(--c-sage-soft);
  color: var(--c-olive);
  font-weight: 500;
}
.form__thanks[hidden] { display: none; }

@media (min-width: 900px) {
  .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(40px, 6vw, 96px); align-items: start; }
  .contact__aside { padding-top: 40px; }
}

/* --------------------------------------------------------------- Footer */
.site-footer {
  position: relative;
  background: var(--c-olive);
  color: var(--c-on-dark);
  padding-block: clamp(56px, 7vw, 96px) 36px;
  margin-top: 40px;
}
.site-footer .edge { color: var(--c-olive); }
.site-footer a { color: var(--c-on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--c-blush); text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--c-blush); }

.footer__grid { display: grid; gap: 40px; }
.footer__brand .brand { color: var(--c-on-dark); }
.footer__brand .brand__name small { color: var(--c-on-dark-soft); }
.footer__brand .glyph--acorn { color: var(--c-on-dark); }
.footer__tag { margin-top: 20px; font-family: var(--f-display); font-size: 1.6rem; line-height: 1.2; max-width: 14ch; }
.footer__col h2 { font-family: var(--f-body); font-size: var(--fs-tiny); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-on-dark-soft); margin-bottom: 14px; }
.footer__col li + li { margin-top: 8px; }
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--c-olive-soft);
  font-size: var(--fs-small);
  color: var(--c-on-dark-soft);
}
.footer__legal .glyph { display: inline-block; vertical-align: -2px; color: var(--c-sage); --glyph-vein: var(--c-olive); }

@media (min-width: 800px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1.3fr; }
}

/* --------------------------------------------------------------- Mockup badge */
.mock-badge {
  position: fixed;
  z-index: 70;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: var(--c-olive);
  color: var(--c-on-dark);
  font-size: var(--fs-tiny);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.mock-badge:hover { color: var(--c-on-dark); background: var(--c-clay-deep); }
.mock-badge .glyph { width: 14px; height: 14px; color: var(--c-sage); --glyph-vein: var(--c-olive); }

/* --------------------------------------------------------------- Dialogs */
.modal {
  width: min(100% - 32px, 760px);
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--r-l);
  background: var(--c-paper);
  color: var(--c-olive);
  overflow: auto;
}
.modal::backdrop { background: var(--c-scrim); }
.modal__inner { position: relative; padding: clamp(24px, 4vw, 44px); }
.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 44px; height: 44px;
  border: 1.5px solid var(--c-line);
  border-radius: 50%;
  background: var(--c-paper);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.modal__close:hover { border-color: var(--c-olive); }
.modal h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 4px 48px 6px 0; }
.modal__meta { color: var(--c-olive-soft); margin-bottom: 24px; }

.booker { display: grid; gap: 24px; }
@media (min-width: 640px) { .booker { grid-template-columns: 1.3fr 1fr; } }

.cal { padding: 18px; border: 1.5px solid var(--c-line); border-radius: var(--r-m); }
.cal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-weight: 600; }
.cal__head span { font-weight: 350; color: var(--c-olive-soft); font-size: var(--fs-small); }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; font-size: var(--fs-small); }
.cal__dow { font-size: var(--fs-tiny); font-weight: 600; color: var(--c-olive-soft); padding-bottom: 4px; }
.cal__day {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--c-olive-soft);
  font-size: var(--fs-small);
  opacity: 0.55;
}
.cal__day--open { opacity: 1; background: var(--c-sage-soft); color: var(--c-olive); font-weight: 600; cursor: pointer; }
.cal__day--open:hover { background: var(--c-sage); }
.cal__day[aria-pressed="true"] { background: var(--c-clay-ink); color: var(--c-paper); }

.slots h3 { font-family: var(--f-body); font-size: var(--fs-small); font-weight: 600; margin-bottom: 10px; }
.slots ul { display: grid; gap: 8px; }
.slot {
  width: 100%;
  padding: 0.7em 1em;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-pill);
  background: none;
  font-weight: 500;
  cursor: pointer;
}
.slot:hover, .slot[aria-pressed="true"] { border-color: var(--c-clay-ink); color: var(--c-clay-ink); }

.modal__note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0 0;
  padding: 14px 18px;
  border-radius: var(--r-m);
  background: var(--c-sand-deep);
  font-size: var(--fs-small);
  font-weight: 500;
}
.modal__note .glyph { width: 20px; height: 20px; }

.lightbox {
  width: min(100% - 32px, 920px);
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  background: none;
  overflow: visible;
}
.lightbox::backdrop { background: var(--c-scrim); }
.lightbox .shot { font-size: clamp(11px, 1.9vw, 17px); }
.lightbox figcaption { margin-top: 14px; color: var(--c-on-dark); font-weight: 500; text-align: center; }
.lightbox .modal__close { top: -22px; right: -10px; }

/* ==========================================================================
   Inner pages
   ========================================================================== */

.page-head { padding-block: clamp(32px, 6vw, 88px) clamp(48px, 7vw, 96px); }
.page-head h1 { font-size: var(--fs-h1); max-width: 14ch; margin-bottom: 20px; }
.page-head .lead { color: var(--c-olive-soft); }
@media (min-width: 900px) {
  .page-head__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; column-gap: 48px; }
}

/* ---- Services page: packages */
.packages { padding-bottom: clamp(80px, 10vw, 140px); }
.packages__grid { display: grid; gap: 20px; }

.pkg {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--r-m);
  border: 1.5px solid var(--c-line);
}
.pkg h2, .pkg h3 { font-size: var(--fs-h3); }
.pkg__price { margin: 0; font-family: var(--f-display); font-size: 2.2rem; line-height: 1; }
.pkg__price small { font-family: var(--f-body); font-size: 0.95rem; color: var(--c-olive-soft); }
.pkg p { margin: 0; }
.pkg .btn { align-self: flex-start; margin-top: auto; }
.pkg__list { display: grid; gap: 10px; margin: 6px 0 12px; }
.pkg__list li { display: flex; gap: 12px; align-items: flex-start; }
.pkg__list .glyph { width: 16px; height: 16px; margin-top: 5px; }

.pkg--feature {
  background: var(--c-sage-soft);
  border-color: transparent;
  border-radius: var(--r-l);
  padding: clamp(28px, 4vw, 56px);
}
.pkg--feature h2 { font-size: var(--fs-h2); }
.pkg--feature .pkg__price { font-size: clamp(2.6rem, 5vw, 4rem); }
.pkg__flag { position: absolute; top: -22px; right: clamp(24px, 4vw, 56px); margin: 0; padding: 2px 16px; border-radius: var(--r-pill); background: var(--c-sand); rotate: 4deg; font-size: 1.7rem; }

.pkg--quiet { border-style: dashed; }
.pkg--deep { background: var(--c-paper); border-color: transparent; }

.pkg-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding: 24px clamp(24px, 3vw, 36px);
  border-radius: var(--r-pill);
  background: var(--c-blush-soft);
}
.pkg-strip h2 { font-size: 1.5rem; }
.pkg-strip p { margin: 0; color: var(--c-olive-soft); }

@media (min-width: 900px) {
  .packages__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: auto; gap: 24px; }
  .pkg--feature { grid-column: 1 / span 7; grid-row: 1 / span 2; }
  .pkg--deep { grid-column: 8 / span 5; }
  .pkg--quiet { grid-column: 8 / span 5; }
  .pkg-strip { grid-column: 2 / span 11; }
}
@media (max-width: 640px) {
  .pkg-strip { border-radius: var(--r-l); }
}

.felt .pkg { background: var(--c-paper); border-color: transparent; color: var(--c-olive); }
.felt .pkg--feature { background: var(--c-sand); outline: 3px solid var(--c-clay); outline-offset: -3px; }
.felt .pkg__flag { background: var(--c-paper); }
.felt .packages__grid { position: relative; z-index: 1; }
.felt .pkg-strip { background: var(--c-blush-soft); color: var(--c-olive); }
.step .chip-num { margin-bottom: 18px; }

/* ---- Services page: how it works */
.how { position: relative; background: var(--c-sand-deep); padding-block: clamp(72px, 9vw, 130px); }
.how .edge { color: var(--c-sand-deep); }
.how h2 { font-size: var(--fs-h2); margin-bottom: clamp(40px, 6vw, 72px); }
.steps { display: grid; gap: 36px; counter-reset: step; }
.step { position: relative; z-index: 1; }
.step__num {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--c-paper);
  font-family: var(--f-display);
  font-size: 1.4rem;
}
.step h3 { font-size: 1.35rem; margin-bottom: 8px; }
.step p { color: var(--c-olive-soft); max-width: 30ch; }
.steps__line { display: none; }

@media (min-width: 900px) {
  .steps-wrap { position: relative; }
  .steps { position: relative; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .step:nth-child(odd) { margin-top: 56px; }
  .steps__line { display: block; position: absolute; left: 3%; top: 16px; width: 88%; height: 110px; }
  .steps__line path { stroke: var(--c-clay); stroke-dasharray: 2 9; stroke-width: 2; }
}

/* ---- FAQ */
.faq { padding-block: clamp(90px, 11vw, 160px); }
.faq__grid { display: grid; gap: 32px; }
.faq h2 { font-size: var(--fs-h2); }
.faq__aside p { margin-top: 16px; color: var(--c-olive-soft); max-width: 28ch; }
.faq__list { border-top: 1.5px solid var(--c-olive); }
.faq details { border-bottom: 1px solid var(--c-line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  font-family: var(--f-display);
  font-size: 1.3rem;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--c-line);
  font-family: var(--f-body);
  font-size: 1.2rem;
  transition: transform 0.4s var(--ease-soft);
}
.faq details[open] summary::after { transform: rotate(45deg); border-color: var(--c-clay); }
.faq details p { padding: 0 48px 24px 0; color: var(--c-olive-soft); max-width: 60ch; }
@media (min-width: 900px) {
  .faq__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: calc(100% / 12); }
  .faq__aside { position: sticky; top: 40px; align-self: start; }
}

/* ---- CTA band */
.cta-band { padding-block: clamp(40px, 6vw, 80px) clamp(100px, 12vw, 160px); }
.cta-band__inner { display: grid; gap: 24px; justify-items: start; }
.cta-band h2 { font-size: var(--fs-h2); max-width: 16ch; }
@media (min-width: 900px) {
  .cta-band__inner { margin-left: calc(100% / 12 * 4); }
}

/* ---- About page */
.story-band { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-l); }
.story-band img { width: 100%; height: clamp(200px, 30vw, 380px); object-fit: cover; object-position: 20% 75%; }
.story-band figcaption { position: absolute; right: var(--gutter); top: 8%; font-size: 1.6rem; rotate: -3deg; }

.why { padding-block: clamp(80px, 10vw, 150px); }
.why__grid { display: grid; gap: 28px; }
.why h2 { font-size: var(--fs-h2); }
.why__text p { font-size: var(--fs-lead); max-width: 40ch; }
@media (min-width: 900px) {
  .why__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: calc(100% / 12); }
}

.bio { padding-block: clamp(40px, 6vw, 80px); }
.bio__grid { display: grid; gap: 32px; align-items: start; }
.bio .photo { max-width: 460px; aspect-ratio: 4 / 5; }
.bio__role { margin: 0 0 10px; font-weight: 500; color: var(--c-sage-ink); }
.bio h2 { font-size: var(--fs-h2); margin-bottom: 20px; }
.bio__text > p { max-width: 50ch; }
.bio__quote {
  margin: 32px 0;
  padding-left: 24px;
  border-left: 3px solid var(--c-clay);
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  line-height: 1.3;
  max-width: 26ch;
}
.creds h3 { font-family: var(--f-body); font-size: var(--fs-tiny); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-sage-ink); margin-bottom: 12px; }
.creds li { display: flex; gap: 12px; padding-block: 8px; border-top: 1px solid var(--c-line); }
.creds .glyph { width: 16px; height: 16px; margin-top: 5px; }

@media (min-width: 900px) {
  .bio__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .bio--owen .photo { grid-column: 1 / span 5; position: sticky; top: 32px; }
  .bio--owen .bio__text { grid-column: 7 / span 6; padding-top: 48px; }
  .bio--theo .bio__text { grid-column: 1 / span 6; grid-row: 1; padding-top: 48px; }
  .bio--theo .photo { grid-column: 8 / span 5; grid-row: 1; position: sticky; top: 32px; }
}

.together { position: relative; background: var(--c-sand-deep); padding-block: clamp(80px, 10vw, 140px); margin-top: clamp(60px, 8vw, 120px); }
.together .edge { color: var(--c-sand-deep); }
.together h2 { font-size: var(--fs-h2); margin-bottom: 16px; }
.together__intro { max-width: 40ch; color: var(--c-olive-soft); margin-bottom: clamp(40px, 5vw, 64px); }
.together__grid { display: grid; gap: 40px; align-items: center; }
.tracks { width: 100%; max-width: 620px; }
.tracks text { font-family: var(--f-body); font-size: 13px; fill: var(--c-olive); }
.tracks .t-hand { font-family: var(--f-hand); font-size: 22px; fill: var(--c-clay-ink); }
.tracks .t-line { fill: none; stroke-width: 3; stroke-linecap: round; }
.tracks .t-owen { stroke: var(--c-clay); }
.tracks .t-theo { stroke: var(--c-sage-ink); }
.tracks .t-dot-owen { fill: var(--c-clay); }
.tracks .t-dot-theo { fill: var(--c-sage-ink); }
.tracks .t-joint { fill: var(--c-olive); }
.together__list li { padding-block: 18px; border-top: 1px solid var(--c-line); }
.together__list h3 { font-size: 1.3rem; margin-bottom: 6px; }
.together__list p { color: var(--c-olive-soft); }
@media (min-width: 900px) {
  .together__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: calc(100% / 12); }
}

/* ---- Login */
.auth { min-height: 100dvh; display: grid; }
.auth__art {
  position: relative;
  min-height: 300px;
  margin: 0;
  overflow: hidden;
  background-color: var(--c-felt);
}
.auth__art > * { z-index: 1; }
.auth__chips { position: absolute; right: 8%; bottom: 8%; width: clamp(150px, 26vw, 360px); }
.auth__cards { position: absolute; left: 10%; bottom: 18%; width: clamp(120px, 20vw, 280px); rotate: -10deg; }

.auth__art .hand { position: absolute; left: 8%; top: 10%; font-size: 1.8rem; max-width: 12ch; rotate: -4deg; color: var(--c-paper); }
.auth__main { display: flex; flex-direction: column; padding: 24px var(--gutter) 80px; }
.auth__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: clamp(40px, 10vh, 120px); }
.auth__top a:not(.brand) { font-size: var(--fs-small); color: var(--c-olive); }
.auth__form { width: min(100%, 420px); display: grid; gap: 18px; }
.auth__form h1 { font-size: clamp(2.4rem, 4vw, 3.4rem); margin-bottom: 4px; }
.auth__form .muted { margin-bottom: 12px; }
.auth__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: var(--fs-small); }
.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--c-clay-ink); }
.auth__new { margin-top: 18px; padding-top: 22px; border-top: 1px solid var(--c-line); font-size: 0.975rem; }
@media (min-width: 900px) {
  .auth { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .auth__main { padding-inline: clamp(40px, 7vw, 120px); }
}

/* ---- Portal */
.portal { display: grid; min-height: 100dvh; }

.side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 18px var(--gutter);
  background: var(--c-olive);
  color: var(--c-on-dark);
}
.side .brand { color: var(--c-on-dark); }
.side .brand__name small { color: var(--c-on-dark-soft); }
.side .glyph--acorn { color: var(--c-on-dark); }
.side :focus-visible { outline-color: var(--c-blush); }
.side__nav ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
.side__nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  color: var(--c-on-dark);
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.975rem;
}
.side__nav a:hover { background: var(--c-olive-soft); color: var(--c-on-dark); }
.side__nav a[aria-current="page"] { background: var(--c-sand); color: var(--c-olive); }
.side__nav .glyph { width: 14px; height: 14px; color: var(--c-sage); --glyph-vein: var(--c-olive); }
.side__nav a[aria-current="page"] .glyph { color: var(--c-sage-ink); --glyph-vein: var(--c-sand); }
.side__foot { display: none; }

.portal__main { padding: clamp(24px, 4vw, 48px) var(--gutter) 96px; min-width: 0; }
.portal__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 32px; }
.portal__top h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.portal__top p { margin: 6px 0 0; color: var(--c-olive-soft); }

.dash { display: grid; gap: 20px; }
.tile { padding: clamp(20px, 2.6vw, 30px); border-radius: var(--r-m); background: var(--c-paper); min-width: 0; }
.tile h2 { font-family: var(--f-body); font-size: var(--fs-tiny); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-sage-ink); margin-bottom: 16px; }
.tile__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tile__head a { font-size: var(--fs-small); }

.tile--next { background: var(--c-sage-soft); border-radius: var(--r-l); }
.next__when { font-family: var(--f-display); font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.05; margin: 0 0 8px; }
.next__what { font-size: 1.1rem; margin-bottom: 22px; }
.next__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.progress__name { font-family: var(--f-display); font-size: 1.5rem; margin: 0 0 4px; }
.progress__weeks { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; margin: 18px 0 12px; }
.progress__weeks li { height: 12px; border-radius: var(--r-pill); background: var(--c-sand-deep); }
.progress__weeks .is-done { background: var(--c-sage); }
.progress__weeks .is-now { background: var(--c-clay); }
.progress__stats { display: flex; gap: 24px; font-size: var(--fs-small); color: var(--c-olive-soft); }
.progress__stats strong { display: block; font-family: var(--f-display); font-size: 1.4rem; font-weight: 400; color: var(--c-olive); }

.tile--reset { background: var(--c-blush-soft); display: grid; gap: 12px; justify-items: center; text-align: center; }
.tile--reset h2 { justify-self: start; }
.tile--reset .chip-breath { width: min(100%, 190px); margin-block: 8px; }
.tile--reset .breath__label { font-size: 1rem; }
.reset__timer { font-variant-numeric: tabular-nums; color: var(--c-olive-soft); font-size: var(--fs-small); margin: 0; }

.rows li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; padding-block: 14px; border-top: 1px solid var(--c-line); }
.rows li:first-child { border-top: 0; padding-top: 0; }
.rows__date { font-weight: 500; min-width: 7.5em; }
.rows__what { flex: 1; color: var(--c-olive-soft); }
.rows__links { display: flex; gap: 14px; font-size: var(--fs-small); }
.tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: var(--r-pill);
  font-size: var(--fs-tiny);
  font-weight: 600;
  background: var(--tag-bg, var(--c-blush-soft));
}
.tag--breath { --tag-bg: var(--c-sage-soft); }

.note-card blockquote { margin: 0 0 14px; font-family: var(--f-display); font-size: 1.3rem; line-height: 1.35; }
.note-card p { font-size: var(--fs-small); color: var(--c-olive-soft); }

.rec li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding-block: 12px; border-top: 1px solid var(--c-line); }
.rec li:first-child { border-top: 0; padding-top: 0; }
.rec__play {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--c-olive);
  color: var(--c-sand);
  cursor: pointer;
}
.rec__play svg { width: 12px; height: 12px; margin-left: 2px; fill: currentColor; }
.rec__play:hover { background: var(--c-clay-ink); }
.rec small { display: block; color: var(--c-olive-soft); font-size: var(--fs-small); }
.rec__len { font-variant-numeric: tabular-nums; font-size: var(--fs-small); color: var(--c-olive-soft); }

.homework li { border-top: 1px solid var(--c-line); }
.homework li:first-child { border-top: 0; }
.homework label { display: flex; gap: 14px; align-items: flex-start; padding-block: 14px; cursor: pointer; }
.homework input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.homework__box {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  margin-top: 1px;
  border: 1.5px solid var(--c-olive-soft);
  border-radius: var(--r-s);
  transition: background-color 0.3s var(--ease-soft);
}
.homework__box svg { width: 14px; height: 14px; opacity: 0; stroke: var(--c-paper); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.homework input:checked + .homework__box { background: var(--c-sage-ink); border-color: var(--c-sage-ink); }
.homework input:checked + .homework__box svg { opacity: 1; }
.homework input:checked ~ .homework__text { text-decoration: line-through; text-decoration-color: var(--c-clay); color: var(--c-olive-soft); }
.homework input:focus-visible + .homework__box { outline: 3px solid var(--c-clay-ink); outline-offset: 2px; }
.homework__count { font-size: var(--fs-small); color: var(--c-olive-soft); }

.account-line { font-size: var(--fs-small); color: var(--c-olive-soft); display: flex; flex-wrap: wrap; gap: 8px 24px; }

@media (min-width: 720px) {
  .dash { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tile--next { grid-column: span 4; }
  .tile--reset { grid-column: span 2; grid-row: span 2; }
  .tile--progress { grid-column: span 4; }
  .tile--upcoming, .tile--past { grid-column: span 3; }
  .tile--notes, .tile--rec, .tile--homework { grid-column: span 3; }
  .tile--account { grid-column: span 6; }
}

@media (min-width: 1100px) {
  .portal { grid-template-columns: 250px minmax(0, 1fr); }
  .side { position: sticky; top: 0; height: 100dvh; padding: 28px 22px 72px; gap: 40px; }
  .side__nav ul { flex-direction: column; overflow: visible; margin: 0; padding: 0; }
  .side__foot { display: block; margin-top: auto; font-size: var(--fs-small); color: var(--c-on-dark-soft); }
  .side__foot a { color: var(--c-on-dark); }
  .dash { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .tile--next { grid-column: span 5; }
  .tile--progress { grid-column: span 4; }
  .tile--reset { grid-column: span 3; grid-row: span 1; }
  .tile--upcoming { grid-column: span 6; }
  .tile--past { grid-column: span 6; }
  .tile--notes { grid-column: span 4; }
  .tile--rec { grid-column: span 4; }
  .tile--homework { grid-column: span 4; }
  .tile--account { grid-column: span 12; }
}
.lightbox figure { margin: 0; }

.linklike {
  padding: 0;
  border: 0;
  background: none;
  color: var(--c-clay-ink);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}
.linklike:hover { color: var(--c-clay-deep); }
