/* ==========================================================================
   Giving Tree Poker — Direction A "Roots" (editorial botanical)
   Square corners, thin rules, cream paper, forest ink, terracotta accents.
   ========================================================================== */

:root {
  /* Paper & ink */
  --paper: #F3EFE4;
  --paper-2: #EAE3D3;
  --paper-3: #DFD6C1;
  --ink: #2F4A36;
  --ink-deep: #22362A;
  --clay: #B5643C;
  --clay-deep: #9A4B27;
  --bark: #6B5B4A;
  --rule: rgba(47, 74, 54, 0.22);
  --rule-strong: rgba(47, 74, 54, 0.55);
  --rule-on-ink: rgba(243, 239, 228, 0.28);
  --paper-muted: rgba(243, 239, 228, 0.74);
  --scrim: rgba(34, 54, 42, 0.72);

  /* Masks (used only as alpha, never as visible colour) */
  --mask-on: #000;
  --mask-off: transparent;
  --clay-light: #E3A27C;
  --card: #FBF8F1;
  --felt: #1F3A2A;
  --felt-tint: rgba(20, 38, 28, 0.55);
  --hero-scrim: linear-gradient(90deg, rgba(243, 239, 228, 0.96) 0%, rgba(243, 239, 228, 0.86) 34%, rgba(243, 239, 228, 0) 60%);
  --hero-scrim-mobile: linear-gradient(0deg, rgba(243, 239, 228, 1) 0%, rgba(243, 239, 228, 0) 22%);
  --card-shadow: 0 1px 0 rgba(47, 74, 54, 0.08), 0 14px 28px -20px rgba(34, 54, 42, 0.55);
  --chip-shadow: 0 2px 0 rgba(34, 54, 42, 0.35), 0 8px 16px -10px rgba(34, 54, 42, 0.6);
  --chip-ring: rgba(243, 239, 228, 0.55);
  --radius-card: 14px;
  --radius-photo: 6px;
  --radius-btn: 3px;

  /* Generic tracker-software UI (results screenshots only) */
  --ui-bg: #FFFFFF;
  --ui-panel: #F4F5F6;
  --ui-bar: #E4E6E9;
  --ui-line: #D5D8DC;
  --ui-grid: #ECEEF0;
  --ui-text: #2B2F33;
  --ui-muted: #7C838A;
  --ui-green: #1F9D55;
  --ui-red: #D4453B;
  --ui-blue: #2F6BD0;
  --ui-amber: #D8962B;
  --ui-highlight: #FFF6D6;
  --ui-dot: #C9CDD2;

  /* Type */
  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-sc: "Cormorant SC", "Cormorant Garamond", Georgia, serif;
  --font-body: "Karla", "Helvetica Neue", Arial, sans-serif;
  --font-hand: "Caveat", "Bradley Hand", cursive;
  --font-ui: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --gutter: clamp(16px, 4.2vw, 64px);
  --max: 1320px;
  --header-h: 72px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { color: var(--clay-deep); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--clay-deep); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--paper); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}
.skip-link {
  position: absolute; left: var(--gutter); top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 0.6rem 1rem;
}
.skip-link:focus { top: 12px; color: var(--paper); }

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

/* ---------- Type ---------- */
.display, h1, h2, h3 {
  font-family: var(--font-display);
  font-variant-numeric: oldstyle-nums proportional-nums;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); line-height: 1; font-weight: 500; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); line-height: 1.05; font-weight: 500; }
h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.1; font-weight: 600; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 500; }

.eyebrow {
  font-family: var(--font-sc);
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: 0.09em;
  color: var(--clay-deep);
  margin: 0 0 1rem;
  line-height: 1.2;
}
.lede { font-size: clamp(1.12rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--ink); max-width: 36ch; }
.muted { color: var(--bark); }
.oldstyle { font-family: var(--font-display); font-variant-numeric: oldstyle-nums; }
.hand {
  font-family: var(--font-hand);
  font-weight: 500;
  color: var(--clay-deep);
  line-height: 1.05;
}

/* Section folio: 001 ——— The approach */
.folio {
  display: flex; align-items: baseline; gap: 1rem;
  margin: 0 0 clamp(2rem, 5vw, 3.5rem);
  font-family: var(--font-sc); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.1em;
  color: var(--bark);
}
.folio__num { font-family: var(--font-display); font-variant-numeric: oldstyle-nums; font-size: 1.35rem; letter-spacing: 0.04em; color: var(--clay-deep); }
.folio::after { content: ""; flex: 1; height: 1px; background: var(--rule-strong); transform: translateY(-0.3em); }

/* Suit pips (German-suited Leaves & Acorns) */
.pip { width: 1em; height: 1em; fill: currentColor; flex: none; display: inline-block; vertical-align: -0.12em; }
.pip--clay { color: var(--clay); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px; padding: 0.8rem 1.35rem;
  border: 1px solid var(--ink); border-radius: var(--radius-btn);
  background: transparent; color: var(--ink);
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em;
  text-decoration: none; line-height: 1.2; text-align: center;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn--clay { background: var(--clay-deep); border-color: var(--clay-deep); color: var(--paper); }
.btn--clay:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--small { min-height: 40px; padding: 0.5rem 0.95rem; font-size: 0.88rem; }
.btn--on-ink { border-color: var(--paper); color: var(--paper); }
.btn--on-ink:hover { background: var(--paper); color: var(--ink); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.link-arrow::after { content: "\2192"; transition: transform 0.3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* "+" corner marks for framed blocks */
.marked { position: relative; }
.marked::before, .marked::after {
  content: "+"; position: absolute; font-family: var(--font-body); font-weight: 300;
  font-size: 1.1rem; line-height: 1; color: var(--rule-strong); pointer-events: none;
}
.marked::before { top: -0.62rem; left: -0.38rem; }
.marked::after { bottom: -0.66rem; right: -0.38rem; }

/* Hand-drawn scribbles */
.scribble-word { position: relative; display: inline-block; white-space: nowrap; }
.scribble {
  position: absolute; left: -4%; width: 108%; bottom: -0.08em; height: 0.26em;
  overflow: visible; pointer-events: none;
}
.scribble path { fill: none; stroke: var(--clay); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }
.brand {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; letter-spacing: 0.005em;
  text-decoration: none; color: var(--ink); white-space: nowrap;
}
.brand .pip { width: 0.95em; height: 0.95em; color: var(--clay); }
.brand:hover { color: var(--ink); }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav__list { display: flex; gap: clamp(0.9rem, 1.8vw, 1.9rem); list-style: none; }
.nav__list a {
  font-size: 0.92rem; font-weight: 500; text-decoration: none; letter-spacing: 0.01em;
  padding-block: 0.4rem; border-bottom: 1px solid transparent;
}
.nav__list a:hover, .nav__list a[aria-current="page"] { border-bottom-color: currentColor; color: var(--ink); }
.nav__login { font-size: 0.92rem; font-weight: 500; text-decoration: none; color: var(--bark); }

.nav-toggle {
  display: none; width: 48px; height: 48px; margin-right: -12px;
  border: 0; background: transparent; position: relative;
}
.nav-toggle span, .nav-toggle span::before {
  position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink);
  transition: transform 0.3s var(--ease);
}
.nav-toggle span { top: 20px; }
.nav-toggle span::before { content: ""; left: 0; right: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] span { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(-7px) rotate(-90deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    padding: 0.5rem var(--gutter) 1.5rem;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: 0.9rem 0; font-family: var(--font-display); font-size: 1.6rem; border-bottom: 1px solid var(--rule); }
  .nav__login { padding: 1rem 0; }
  .nav .btn { width: 100%; }
}

/* ---------- Shared section rhythm ---------- */
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--paper2 { background: var(--paper-2); }
.section-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; row-gap: 1rem; align-items: end; margin-bottom: clamp(2rem, 4.5vw, 3.5rem); }
.section-head h2 { grid-column: 1 / span 7; }
.section-head p { grid-column: 9 / span 4; color: var(--bark); margin: 0; }
@media (max-width: 860px) { .section-head h2, .section-head p { grid-column: 1 / -1; } }

/* ---------- Photos ---------- */
.photo { position: relative; overflow: hidden; border-radius: var(--radius-photo); background: var(--ink-deep); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-tag {
  position: absolute; left: 0.75rem; bottom: 0.75rem; z-index: 2;
  background: var(--paper); color: var(--ink); border: 1px solid var(--rule-strong); border-radius: 3px;
  padding: 0.2rem 0.5rem; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
}

/* ---------- Hero (coach-led) ---------- */
.hero { position: relative; min-height: min(86vh, 820px); display: flex; align-items: center; color: var(--ink); background: var(--paper); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media { margin: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 80% 40%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: var(--hero-scrim); }
.hero__inner { position: relative; z-index: 2; padding-block: clamp(4rem, 9vw, 7rem); }
.hero__text { max-width: 36rem; }

.hero__title { font-size: clamp(2.5rem, 4.6vw, 4.1rem); line-height: 1; margin: 0 0 1.6rem; }
.hero__title em { color: var(--clay-deep); }
.hero__sub { font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.55; max-width: 32rem; margin-bottom: 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.hero__trust { display: flex; align-items: center; gap: 0.6rem; margin: 1.8rem 0 0; padding-top: 1rem; border-top: 1px solid var(--rule-strong); max-width: 30rem; font-size: 0.92rem; color: var(--bark); }
.hero__trust .pip { color: var(--clay); }
.hero .photo-tag { left: auto; bottom: auto; right: 0.9rem; top: 0.9rem; }
@media (max-width: 760px) {
  .hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero__media { position: relative; inset: auto; aspect-ratio: 4 / 3; }
  .hero__media::after { background: var(--hero-scrim-mobile); }
  .hero__inner { padding-block: 2.2rem 3rem; }
}

/* ---------- Proof strip (felt) ---------- */
.proof { position: relative; color: var(--paper); background: var(--felt) url("../shared/img/felt.jpg") center / cover; }
.proof::before { content: ""; position: absolute; inset: 0; background: var(--felt-tint); }
.proof__inner { position: relative; padding-block: clamp(2.2rem, 4.5vw, 3.2rem); }
.proof__stats { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof__stat { padding: 0.2rem 1.4rem; border-left: 1px solid var(--rule-on-ink); }
.proof__stat:first-child { border-left: 0; padding-left: 0; }
.proof__num { display: block; font-family: var(--font-display); font-variant-numeric: lining-nums; font-weight: 500; font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 1; }
.proof__label { display: block; margin-top: 0.4rem; font-size: 0.9rem; color: var(--paper-muted); }
.proof__formats { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.2rem; margin: 1.8rem 0 0; padding-top: 1.2rem; border-top: 1px solid var(--rule-on-ink); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--paper-muted); }
.proof__formats span { display: inline-flex; align-items: center; gap: 0.45rem; }
.proof__formats .pip { color: var(--clay-light); width: 0.8em; height: 0.8em; }
.proof__cards { position: absolute; right: calc(var(--gutter) * 0.5); top: -4.5rem; width: clamp(140px, 17vw, 240px); z-index: 3; pointer-events: none; }
@media (max-width: 760px) {
  .proof__stats { grid-template-columns: 1fr 1fr; row-gap: 1.6rem; }
  .proof__stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .proof__cards { display: none; }
}

/* ---------- Playing-card panels ---------- */
.pcard {
  position: relative; background: var(--card); color: var(--ink);
  border: 1px solid var(--rule-strong); border-radius: var(--radius-card);
  box-shadow: var(--card-shadow);
  padding: 2.6rem 2.4rem 2.6rem;
}
.pcard::before { content: ""; position: absolute; inset: 7px; border: 1px solid var(--rule); border-radius: calc(var(--radius-card) - 5px); pointer-events: none; }
.pcard__index {
  position: absolute; top: 0.8rem; left: 0.85rem; display: flex; flex-direction: column; align-items: center; gap: 0.1rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; line-height: 1; color: var(--ink);
}
.pcard__index .pip { width: 0.9rem; height: 0.9rem; }
.pcard__index--br { top: auto; left: auto; bottom: 0.8rem; right: 0.85rem; transform: rotate(180deg); }
.pcard--clay .pcard__index { color: var(--clay-deep); }

/* Sound familiar? */
.familiar__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; }
.familiar .pcard { min-height: 15rem; display: flex; align-items: center; transition: transform 0.35s var(--ease); }
.familiar .pcard:nth-child(1) { transform: rotate(-1.4deg); }
.familiar .pcard:nth-child(2) { transform: rotate(0.8deg) translateY(0.6rem); }
.familiar .pcard:nth-child(3) { transform: rotate(-0.5deg); }
.familiar .pcard:nth-child(4) { transform: rotate(1.3deg) translateY(0.4rem); }
.familiar .pcard:hover { transform: rotate(0) translateY(-4px); }
.familiar .pcard p { margin: 0; font-family: var(--font-display); font-style: italic; font-size: clamp(1.45rem, 1.9vw, 1.75rem); line-height: 1.2; }
.familiar__after { margin: clamp(2rem, 4vw, 3rem) 0 0; max-width: 40rem; font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.25; }
.familiar__after strong { font-weight: 600; color: var(--clay-deep); }
@media (max-width: 1000px) { .familiar__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) {
  .familiar__grid { grid-template-columns: 1fr; }
  .familiar .pcard { min-height: 0; }
}

/* ---------- Approach (compact) ---------- */
.approach__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; row-gap: 2rem; align-items: start; }
.approach__intro { grid-column: 1 / span 4; }
.approach__intro p { color: var(--bark); max-width: 26ch; margin-top: 1.2rem; }
.approach__oak { width: min(150px, 50%); margin-top: 1.2rem; }
.pillars { grid-column: 5 / -1; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem 2rem; }
.pillar { border-top: 1px solid var(--ink); padding-top: 1.1rem; }
.pillar__label { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.6rem; }
.pillar__label .pip { width: 1rem; height: 1rem; color: var(--clay); }
.pillar__num { font-family: var(--font-display); font-size: 1.2rem; color: var(--clay-deep); }
.pillar__name { font-size: clamp(1.8rem, 2.6vw, 2.3rem); line-height: 1; font-weight: 500; }
.pillar__name em { font-size: 0.62em; color: var(--bark); margin-left: 0.3rem; }
.pillar__text { margin: 0; max-width: 36ch; }
@media (max-width: 860px) {
  .approach__intro, .pillars { grid-column: 1 / -1; }
  .approach__oak { display: none; }
}
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Coaches (photos) ---------- */
.coaches__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); }
.coach__photo { aspect-ratio: 1 / 1; margin-bottom: 1.4rem; }
.coach__photo img { object-position: 50% 22%; }
.coach:nth-child(2) { margin-top: clamp(0rem, 4vw, 3rem); }
.coach__role { font-family: var(--font-sc); font-weight: 600; font-size: 1.1rem; letter-spacing: 0.09em; color: var(--clay-deep); margin: 0 0 0.3rem; }
.coach__name { font-size: clamp(2.2rem, 3.6vw, 3.1rem); line-height: 1; margin-bottom: 0.9rem; font-weight: 500; }
.coach__bio { max-width: 40ch; }
.coaches__more { margin-top: 2rem; }
@media (max-width: 700px) {
  .coaches__grid { grid-template-columns: 1fr; }
  .coach:nth-child(2) { margin-top: 1rem; }
}

/* ---------- How it works (chips) ---------- */
.process__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; row-gap: 2.5rem; align-items: center; }
.process__photo { grid-column: 1 / span 5; aspect-ratio: 4 / 5; }
.process__body { grid-column: 7 / -1; }
.process__body h2 { margin-bottom: 2rem; }
.steps { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--rule-strong); }
.step { display: grid; grid-template-columns: 4.2rem 1fr; gap: 1.3rem; align-items: center; padding: 1.2rem 0; border-bottom: 1px solid var(--rule-strong); }
.step h3 { font-size: 1.6rem; margin-bottom: 0.2rem; }
.step p { margin: 0; color: var(--bark); max-width: 44ch; }
@media (max-width: 860px) {
  .process__photo, .process__body { grid-column: 1 / -1; }
  .process__photo { aspect-ratio: 4 / 3; }
}

/* Casino chip badge */
.chip {
  --chip: var(--clay-deep);
  position: relative; width: 4.2rem; height: 4.2rem; border-radius: 50%;
  display: grid; place-items: center; flex: none;
  background: var(--chip); color: var(--paper);
  font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1;
  box-shadow: var(--chip-shadow);
}
.chip::before { content: ""; position: absolute; inset: 3px; border-radius: 50%; border: 6px dashed var(--paper); }
.chip::after { content: ""; position: absolute; inset: 12px; border-radius: 50%; border: 1px solid var(--chip-ring); }
.chip span { position: relative; z-index: 1; }
.chip--ink { --chip: var(--ink); }
.chip--bark { --chip: var(--bark); }
.chip--small { width: 2rem; height: 2rem; font-family: var(--font-body); font-size: 0.72rem; font-weight: 700; box-shadow: none; }
.chip--small::before { inset: 1px; border-width: 3px; }
.chip--small span { background: var(--chip); border-radius: 50%; width: 1.1rem; height: 1.1rem; display: grid; place-items: center; }
.chip--small::after { display: none; }
.chip--empty { --chip: var(--paper); color: var(--bark); border: 1px solid var(--rule-strong); }
.chip--empty::before { border-color: var(--rule-strong); }

/* ---------- Pricing tiers as playing cards ---------- */
.pricing { position: relative; }
.pricing__chips { position: absolute; right: calc(var(--gutter) * 0.4); top: clamp(1rem, 4vw, 3rem); width: clamp(140px, 16vw, 230px); pointer-events: none; }
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; align-items: stretch; }
.tier { display: flex; flex-direction: column; padding: 2.8rem 1.8rem 2.6rem; }
.tier.is-featured { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateY(-0.8rem); }
.tier.is-featured::before { border-color: var(--rule-on-ink); }
.tier.is-featured .pcard__index { color: var(--clay-light); }
.tier.is-featured .tier__term, .tier.is-featured .tier__desc { color: var(--paper-muted); border-color: var(--rule-on-ink); }
.tier.is-featured .tier__list .pip { color: var(--clay-light); }
.tier__flag { display: inline-flex; align-self: flex-start; align-items: center; gap: 0.4rem; margin: -0.3rem 0 0.9rem; padding: 0.2rem 0.6rem; border-radius: 999px; background: var(--clay-deep); color: var(--paper); font-family: var(--font-sc); font-weight: 600; letter-spacing: 0.08em; font-size: 0.95rem; }
.tier__name { font-size: clamp(1.6rem, 2.1vw, 1.95rem); margin-bottom: 1rem; font-weight: 600; }
.tier__price { margin: 0; font-family: var(--font-display); font-variant-numeric: lining-nums; font-size: clamp(2.8rem, 4vw, 3.8rem); line-height: 0.9; font-weight: 500; }
.tier__term { color: var(--bark); font-size: 0.92rem; margin: 0.5rem 0 1.2rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--rule); }
.tier__list { list-style: none; display: grid; gap: 0.55rem; font-size: 0.96rem; margin-bottom: 1.8rem; }
.tier__list li { display: grid; grid-template-columns: 0.9rem 1fr; gap: 0.6rem; align-items: start; }
.tier__list .pip { width: 0.8rem; height: 0.8rem; color: var(--clay); margin-top: 0.3rem; }
.tier .btn { margin-top: auto; width: 100%; }
.tier.is-featured .btn { background: var(--clay-deep); border-color: var(--clay-deep); color: var(--paper); }
.tier.is-featured .btn:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.tier__note { position: absolute; right: -0.5rem; top: -2.6rem; margin: 0; font-size: 1.45rem; transform: rotate(4deg); color: var(--clay-deep); }
.tiers-foot { margin-top: 2rem; color: var(--bark); font-size: 0.95rem; display: flex; gap: 0.5rem; align-items: center; }
@media (max-width: 1080px) {
  .tiers { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
  .tier.is-featured { transform: none; }
  .pricing__chips { display: none; }
}
@media (max-width: 600px) { .tiers { grid-template-columns: 1fr; } .tier__note { display: none; } }

/* ---------- FAQ (home + services) ---------- */
.faq-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; row-gap: 2rem; }
.faq-aside { grid-column: 1 / span 4; }
.faq-aside p { color: var(--bark); max-width: 26ch; margin-top: 1.2rem; }
.faq-aside__art { width: min(180px, 55%); margin: 1.2rem 0 1.4rem; }
.faq { grid-column: 6 / -1; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule-strong); }
.faq summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 2.4rem 1fr 1.5rem; align-items: baseline;
  padding: 1.2rem 0; font-family: var(--font-display); font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 600; line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-body); font-weight: 300; font-size: 1.6rem; justify-self: end; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__n { font-size: 1.1rem; color: var(--clay-deep); font-weight: 500; }
.faq__a { padding: 0 1.5rem 1.4rem 2.4rem; max-width: 52ch; margin: 0; }
@media (max-width: 860px) { .faq-aside, .faq { grid-column: 1 / -1; } }

/* ---------- Results screenshots ---------- */
.results { padding-block: clamp(4rem, 8vw, 7rem) clamp(2rem, 4vw, 3rem); }
.results__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.results__head h2 { grid-column: 1 / span 7; }
.results__head p { grid-column: 9 / span 4; align-self: end; color: var(--bark); margin: 1rem 0 0; }

.shots { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(2.5rem, 5vw, 4.5rem) 1.5rem; align-items: start; }
.shot { position: relative; }
.shot--a { grid-column: 1 / span 7; }
.shot--b { grid-column: 9 / span 4; margin-top: 1.5rem; }
.shot--c { grid-column: 2 / span 4; }
.shot--d { grid-column: 7 / span 4; margin-top: 2rem; }
.shot--e { grid-column: 1 / span 8; }
.shot--f { grid-column: 9 / span 4; margin-top: 3rem; }

.shot__frame {
  display: block; width: 100%; padding: 0; overflow: hidden; cursor: zoom-in;
  background: var(--ui-bg); border: 1px solid var(--rule-strong);
  transition: transform 0.4s var(--ease);
}
.shot__frame:hover { transform: translateY(-3px); }
.shot__frame:focus-visible { outline-offset: 5px; }
.shot--tilt-l .shot__frame { transform: rotate(-0.6deg); }
.shot--tilt-r .shot__frame { transform: rotate(0.5deg); }
.shot figcaption { display: flex; gap: 0.8rem; align-items: baseline; margin-top: 0.8rem; font-size: 0.9rem; color: var(--bark); }
.shot__who { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--ink); }

.shot__note {
  position: absolute; z-index: 3; left: 64%; top: -5.2rem; width: 17rem; pointer-events: none;
  font-size: 1.6rem; transform: rotate(-3deg);
}
.shot__note svg { position: absolute; left: -2.2rem; top: 2.6rem; width: 3rem; height: 13rem; overflow: visible; }
.shot__note path { fill: none; stroke: var(--clay-deep); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 960px) {
  .results__head h2, .results__head p { grid-column: 1 / -1; }
  .shot--a, .shot--e { grid-column: 1 / -1; }
  .shot--b, .shot--c, .shot--d, .shot--f { grid-column: span 6; margin-top: 0; }
  .shot__note { position: relative; left: auto; top: auto; margin: 0 0 0.6rem 1rem; width: auto; }
  .shot__note svg { display: none; }
}
@media (max-width: 600px) {
  .shot--b, .shot--c, .shot--d, .shot--f { grid-column: 1 / -1; }
}

/* Generic tracker UI (sized in em so it scales in the lightbox) */
.ui { font-family: var(--font-ui); font-size: 10.5px; color: var(--ui-text); background: var(--ui-bg); text-align: left; line-height: 1.35; }
.ui--crop-l { margin-left: -2.4em; }
.ui--crop-r { margin-right: -3em; }
.ui--crop-t { margin-top: -1.1em; }
.ui__bar {
  display: flex; align-items: center; gap: 1.4em; padding: 0.55em 1em;
  background: var(--ui-bar); border-bottom: 1px solid var(--ui-line); white-space: nowrap;
}
.ui__dots { display: inline-flex; gap: 0.45em; }
.ui__dots i { width: 0.85em; height: 0.85em; border-radius: 50%; background: var(--ui-dot); display: block; }
.ui__tab { color: var(--ui-muted); }
.ui__tab.is-active { color: var(--ui-text); font-weight: 600; }
.ui__filters {
  display: flex; flex-wrap: nowrap; gap: 0.5em; padding: 0.6em 1em; background: var(--ui-panel);
  border-bottom: 1px solid var(--ui-line); white-space: nowrap; overflow: hidden;
}
.ui__chip { border: 1px solid var(--ui-line); background: var(--ui-bg); padding: 0.2em 0.6em; border-radius: 2px; }
.ui__title { padding: 0.8em 1em 0; font-weight: 600; font-size: 1.05em; }
.ui__chart { width: 100%; height: auto; }
.ui__chart .grid { stroke: var(--ui-grid); stroke-width: 1; }
.ui__chart .axis { stroke: var(--ui-line); stroke-width: 1; }
.ui__chart .zero { stroke: var(--ui-muted); stroke-width: 0.8; stroke-dasharray: 3 3; }
.ui__chart text { fill: var(--ui-muted); font-family: var(--font-ui); font-size: 10px; }
.ui__chart .line { fill: none; stroke-width: 1.6; stroke-linejoin: round; }
.ui__chart .line--green { stroke: var(--ui-green); }
.ui__chart .line--red { stroke: var(--ui-red); }
.ui__chart .line--blue { stroke: var(--ui-blue); }
.ui__chart .line--amber { stroke: var(--ui-amber); stroke-width: 1.1; }
.ui__chart .bar { fill: var(--ui-blue); }
.ui__chart .bar--last { fill: var(--ui-green); }
.ui__chart .bar-label { fill: var(--ui-text); font-weight: 600; }
.ui__legend { display: flex; gap: 1.4em; padding: 0.3em 1em 0.9em; white-space: nowrap; }
.ui__key::before { content: ""; display: inline-block; width: 1.4em; height: 2px; margin-right: 0.4em; vertical-align: 0.3em; background: currentColor; }
.ui__key--green { color: var(--ui-green); }
.ui__key--red { color: var(--ui-red); }
.ui__key--blue { color: var(--ui-blue); }
.ui__key--amber { color: var(--ui-amber); }
.ui__key b { color: var(--ui-text); font-weight: 600; margin-left: 0.3em; }

.ui-table { width: 100%; border-collapse: collapse; font-size: 1em; font-variant-numeric: tabular-nums; }
.ui-table th, .ui-table td { padding: 0.55em 1em; border-bottom: 1px solid var(--ui-grid); text-align: right; white-space: nowrap; }
.ui-table th:first-child, .ui-table td:first-child { text-align: left; }
.ui-table th { background: var(--ui-panel); color: var(--ui-muted); font-weight: 600; border-bottom-color: var(--ui-line); }
.ui-table .pos { color: var(--ui-green); font-weight: 600; }
.ui-table .neg { color: var(--ui-red); font-weight: 600; }
.ui-table tfoot td { font-weight: 700; background: var(--ui-panel); }
.ui-table .is-you td { background: var(--ui-highlight); font-weight: 600; }

.lobby__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1em; padding: 0.9em 1em 0.5em; }
.lobby__name { font-weight: 700; font-size: 1.25em; }
.lobby__status { color: var(--ui-muted); }
.lobby__stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0 1em 0.8em; gap: 0.5em; }
.lobby__stats dt { color: var(--ui-muted); }
.lobby__stats dd { margin: 0; font-weight: 600; }

.finish { position: relative; background: var(--ui-panel); padding: 1.6em 1.4em 0; }
.finish__rows { position: absolute; inset: 0; opacity: 0.55; }
.finish__rows span { display: block; height: 1.9em; border-bottom: 1px solid var(--ui-line); }
.finish__box { position: relative; background: var(--ui-bg); border: 1px solid var(--ui-line); margin: 0 0 -1px; }
.finish__box .ui__bar { justify-content: space-between; }
.finish__body { padding: 1.2em 1.2em 1em; }
.finish__place { font-size: 3.2em; font-weight: 700; line-height: 1; margin: 0 0 0.1em; }
.finish__place sup { font-size: 0.45em; }
.finish__meta { color: var(--ui-muted); margin: 0 0 0.9em; }
.finish__prize { display: flex; justify-content: space-between; border-top: 1px solid var(--ui-grid); padding-top: 0.7em; font-size: 1.15em; }
.finish__prize b { color: var(--ui-green); }
.finish__buttons { display: flex; justify-content: flex-end; gap: 0.5em; margin-top: 1em; }
.finish__buttons span { border: 1px solid var(--ui-line); padding: 0.35em 0.9em; border-radius: 2px; }
.finish__buttons span:last-child { background: var(--ui-blue); border-color: var(--ui-blue); color: var(--ui-bg); }

/* ---------- Testimonials ---------- */
.voices { padding-block: clamp(2rem, 5vw, 4rem) clamp(4rem, 8vw, 7rem); }
.pullquote {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem;
  margin: 0 0 clamp(3rem, 6vw, 4.5rem);
}
.pullquote blockquote { grid-column: 2 / span 9; margin: 0; }
.pullquote p {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.7rem, 2.8vw, 2.5rem); line-height: 1.15; margin: 0 0 1.5rem;
  text-wrap: pretty;
}
.hang { margin-left: -0.42em; color: var(--clay); }
.pullquote footer, .quote footer { display: flex; align-items: center; gap: 0.9rem; font-size: 0.95rem; }
.quote-who { display: flex; flex-direction: column; line-height: 1.3; }
.quote-who strong { font-weight: 600; }
.quote-who span { color: var(--bark); font-size: 0.88rem; }
.monogram {
  width: 2.8rem; height: 2.8rem; flex: none; display: grid; place-items: center;
  border: 1px solid var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 1.15rem;
  letter-spacing: 0.04em;
}
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; border-top: 1px solid var(--rule-strong); }
.quote { padding: 2rem 2rem 0 0; margin: 0; }
.quote + .quote { padding-left: 2rem; border-left: 1px solid var(--rule); }
.quote p { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.25; margin-bottom: 1.4rem; }
@media (max-width: 860px) {
  .pullquote blockquote { grid-column: 1 / -1; padding-left: 0.42em; }
  .quotes { grid-template-columns: 1fr; }
  .quote, .quote + .quote { padding: 1.8rem 0; border-left: 0; border-bottom: 1px solid var(--rule); }
}

/* ---------- Contact (ink band) ---------- */
.contact { background: var(--ink); color: var(--paper); padding-block: clamp(4.5rem, 9vw, 8rem); }
.contact .folio { color: var(--paper-muted); }
.contact .folio__num { color: var(--paper); }
.contact .folio::after { background: var(--rule-on-ink); }
.contact__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; row-gap: 3rem; }
.contact__intro { grid-column: 1 / span 5; }
.contact__intro h2 { margin-bottom: 2rem; }
.contact__lines { list-style: none; border-top: 1px solid var(--rule-on-ink); margin-bottom: 2rem; }
.contact__lines li { border-bottom: 1px solid var(--rule-on-ink); padding: 0.9rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.contact__lines span { font-family: var(--font-sc); letter-spacing: 0.09em; font-weight: 600; color: var(--paper-muted); }
.contact__lines a { font-family: var(--font-display); font-size: 1.45rem; text-decoration: none; font-variant-numeric: oldstyle-nums; }
.contact a:hover { color: var(--paper); text-decoration: underline; }
.contact__note { color: var(--paper-muted); margin-bottom: 1.2rem; }
.contact__form { grid-column: 7 / -1; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 1.5rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label {
  font-family: var(--font-sc); font-weight: 600; font-size: 1.02rem; letter-spacing: 0.08em;
}
.field label small { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.01em; opacity: 0.8; margin-left: 0.3rem; }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid currentColor; border-radius: 0;
  background: transparent; padding: 0.55rem 0; font-size: 1.05rem; min-height: 44px;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 7rem; resize: vertical; }
.field select { background-image: none; cursor: pointer; }
.field--select { position: relative; }
.field--select::after { content: "\2193"; position: absolute; right: 0.2rem; bottom: 0.7rem; pointer-events: none; }
.field select option { color: var(--ink); background: var(--paper); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-bottom-width: 2px; border-bottom-color: var(--clay); }
.contact .field input::placeholder, .contact .field textarea::placeholder { color: var(--paper-muted); }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form__status { margin: 0; font-family: var(--font-display); font-style: italic; font-size: 1.3rem; }
.form__status:empty { display: none; }
@media (max-width: 860px) {
  .contact__intro, .contact__form { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .form { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer { padding-block: clamp(3.5rem, 7vw, 6rem) 5.5rem; border-top: 1px solid var(--rule); }
.site-footer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; row-gap: 2.5rem; }
.site-footer__brand { grid-column: 1 / span 6; }
.site-footer__mark { font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 0.92; margin: 0 0 1rem; }
.site-footer__mark em { color: var(--clay-deep); }
.site-footer__pips { display: flex; gap: 0.6rem; color: var(--clay); font-size: 1.1rem; margin-bottom: 1rem; }
.site-footer__col { grid-column: span 2; }
.site-footer__col h3 { font-family: var(--font-sc); font-size: 1.02rem; letter-spacing: 0.09em; color: var(--bark); font-weight: 600; margin-bottom: 0.8rem; }
.site-footer__col ul { list-style: none; display: grid; gap: 0.35rem; font-size: 0.95rem; }
.site-footer__col a { text-decoration: none; }
.site-footer__col a:hover { text-decoration: underline; }
.site-footer__legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.4rem; border-top: 1px solid var(--rule); font-size: 0.82rem; color: var(--bark); }
@media (max-width: 860px) {
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__col { grid-column: span 6; }
}

/* ---------- Mockup badge ---------- */
.mock-badge {
  position: fixed; right: 12px; bottom: 12px; z-index: 60;
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: var(--paper); color: var(--ink); border: 1px solid var(--ink);
  padding: 0.4rem 0.7rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.03em; text-decoration: none;
}
.mock-badge .pip { color: var(--clay); }
.mock-badge:hover { background: var(--ink); color: var(--paper); }

/* ---------- Dialogs: booking + lightbox ---------- */
.modal, .lightbox {
  border: 0; padding: 0; border-radius: 0; background: var(--paper); color: var(--ink);
  max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); overflow: auto;
}
.modal::backdrop, .lightbox::backdrop { background: var(--scrim); }
.modal { width: 760px; border: 1px solid var(--ink); }
.modal__head { position: relative; padding: 1.6rem 1.8rem 1.2rem; border-bottom: 1px solid var(--rule); }
.modal__head .eyebrow { margin-bottom: 0.4rem; }
.modal__title { font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; padding-right: 2.5rem; }
.modal__price { margin: 0.5rem 0 0; color: var(--bark); font-family: var(--font-display); font-size: 1.2rem; font-variant-numeric: oldstyle-nums; }
.modal__close, .lightbox__close {
  position: absolute; top: 0.9rem; right: 0.9rem; width: 44px; height: 44px;
  border: 1px solid var(--rule-strong); background: var(--paper); font-size: 1.4rem; line-height: 1;
}
.modal__close:hover, .lightbox__close:hover { background: var(--ink); color: var(--paper); }
.cal { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.cal__month { padding: 1.4rem 1.8rem; border-right: 1px solid var(--rule); }
.cal__monthhead { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; }
.cal__monthhead strong { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; }
.cal__monthhead span { color: var(--bark); font-size: 0.85rem; }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; text-align: center; }
.cal__dow { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bark); padding-bottom: 0.4rem; }
.cal__day { aspect-ratio: 1; display: grid; place-items: center; font-size: 0.9rem; color: var(--bark); border: 1px solid transparent; background: transparent; padding: 0; }
.cal__day[disabled] { opacity: 0.45; cursor: default; }
.cal__day.is-open { color: var(--ink); font-weight: 600; border-color: var(--rule-strong); }
.cal__day.is-open:hover, .cal__day.is-selected { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cal__times { padding: 1.4rem 1.8rem; }
.cal__times p { font-size: 0.85rem; color: var(--bark); margin-bottom: 0.8rem; }
.cal__slots { display: grid; gap: 0.5rem; list-style: none; }
.cal__slot { width: 100%; min-height: 44px; border: 1px solid var(--rule-strong); background: transparent; font-weight: 600; font-size: 0.92rem; }
.cal__slot:hover, .cal__slot.is-selected { background: var(--clay-deep); border-color: var(--clay-deep); color: var(--paper); }
.modal__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.8rem 1.5rem; border-top: 1px solid var(--rule); background: var(--paper-2); }
.modal__note { margin: 0; font-family: var(--font-display); font-style: italic; font-size: 1.15rem; }
@media (max-width: 600px) {
  .cal { grid-template-columns: 1fr; }
  .cal__month { border-right: 0; border-bottom: 1px solid var(--rule); padding: 1.2rem; }
  .cal__times { padding: 1.2rem; }
  .cal__slots { grid-template-columns: 1fr 1fr; }
  .modal__head { padding: 1.3rem 1.2rem 1rem; }
  .modal__foot { padding: 1rem 1.2rem 1.2rem; }
}

.lightbox { width: min(1100px, 100vw - 24px); background: var(--paper); }
.lightbox__inner { position: relative; padding: clamp(1rem, 3vw, 2.2rem); }
.lightbox__stage { border: 1px solid var(--rule-strong); overflow: hidden; background: var(--ui-bg); margin-top: 2.6rem; }
.lightbox__stage .ui { font-size: clamp(9px, 1.35vw, 15px); margin: 0; }
.lightbox__caption { margin: 1rem 0 0; color: var(--bark); }
.lightbox__caption strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); margin-right: 0.6rem; }

/* ---------- Inner page heads ---------- */
.page-head { position: relative; padding-block: clamp(3rem, 8vw, 7rem) clamp(3rem, 7vw, 6rem); }
.page-head__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; }
.page-head__text { grid-column: 1 / span 7; position: relative; z-index: 2; }
.page-head__text h1 { margin-bottom: 1.8rem; }
.page-head__art { position: absolute; pointer-events: none; z-index: 1; }
@media (max-width: 860px) { .page-head__text { grid-column: 1 / -1; } }

.closing { padding-block: clamp(4rem, 10vw, 9rem); }
.closing__inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; align-items: end; row-gap: 1.8rem; }
.closing h2 { grid-column: 3 / span 7; }
.closing__cta { grid-column: 10 / span 3; }
@media (max-width: 860px) { .closing h2, .closing__cta { grid-column: 1 / -1; } }

/* ---------- About page ---------- */
.page-head--about .page-head__text { grid-column: 1 / span 6; }
.page-head--about h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); }
.page-head__photo { grid-column: 8 / -1; aspect-ratio: 5 / 4; align-self: center; }
@media (max-width: 860px) { .page-head--about .page-head__text, .page-head__photo { grid-column: 1 / -1; } .page-head__photo { margin-top: 2rem; } }
.page-head__chips { position: absolute; right: var(--gutter); top: 2rem; width: clamp(150px, 20vw, 280px); pointer-events: none; }
@media (max-width: 860px) { .page-head__chips { position: relative; right: auto; top: auto; width: 150px; margin: 1.5rem 0 0 auto; } }

.story { padding-block: clamp(3rem, 7vw, 6rem) clamp(5rem, 10vw, 9rem); }
.story__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; }
.story__side { grid-column: 1 / span 3; }
.story__body { grid-column: 5 / span 7; font-size: 1.15rem; line-height: 1.7; }
.dropcap::first-letter {
  float: left; font-family: var(--font-display); font-weight: 500; color: var(--clay-deep);
  font-size: 5.4em; line-height: 0.78; padding: 0.06em 0.1em 0 0; margin-top: 0.02em;
}
@media (max-width: 860px) { .story__side, .story__body { grid-column: 1 / -1; } }

.bio { padding-block: clamp(3rem, 7vw, 6rem); border-top: 1px solid var(--rule); }
.bio__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; row-gap: 2rem; align-items: start; }
.bio__portrait { grid-column: 1 / span 5; aspect-ratio: 4 / 5; }
.bio__text { grid-column: 7 / span 6; }
.bio--flip .bio__portrait { grid-column: 8 / span 5; grid-row: 1; }
.bio--flip .bio__text { grid-column: 1 / span 6; grid-row: 1; }
.bio__text h2 { margin-bottom: 1.4rem; }
.bio__quote { margin: 2.4rem 0; }
.bio__quote p { font-family: var(--font-display); font-style: italic; font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1.15; margin: 0; }
.creds { margin-top: 2rem; }
.creds h3 { font-family: var(--font-sc); font-size: 1.05rem; letter-spacing: 0.09em; color: var(--bark); font-weight: 600; margin-bottom: 0.6rem; }
.creds ul { list-style: none; border-top: 1px solid var(--rule-strong); }
.creds li { display: grid; grid-template-columns: 1rem 1fr; gap: 0.7rem; padding: 0.7rem 0; border-bottom: 1px solid var(--rule); font-size: 0.98rem; }
.creds .pip { width: 0.8rem; height: 0.8rem; color: var(--clay); margin-top: 0.35rem; }
@media (max-width: 860px) {
  .bio__portrait, .bio--flip .bio__portrait { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 4 / 3; }
  .bio__text, .bio--flip .bio__text { grid-column: 1 / -1; grid-row: 2; }
}

.together { background: var(--paper-2); padding-block: clamp(4.5rem, 9vw, 8rem); }
.together__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; row-gap: 2.5rem; }
.together__head { grid-column: 1 / span 5; }
.together__diagram { grid-column: 6 / -1; }
.tracks { width: 100%; height: auto; overflow: visible; }
.tracks .track { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.tracks .track--breath { stroke: var(--clay-deep); }
.tracks .node { fill: var(--paper-2); stroke: var(--ink); stroke-width: 1.4; }
.tracks .node--breath { stroke: var(--clay-deep); }
.tracks .node--joint { fill: var(--ink); }
.tracks text { font-family: var(--font-sc); font-size: 15px; letter-spacing: 0.08em; fill: var(--bark); }
.together__points { grid-column: 1 / -1; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 1.5rem; border-top: 1px solid var(--ink); }
.together__points li { padding-top: 1.2rem; }
.together__points h3 { font-size: 1.55rem; margin-bottom: 0.5rem; }
.together__points p { color: var(--bark); max-width: 32ch; }
@media (max-width: 860px) {
  .together__head, .together__diagram { grid-column: 1 / -1; }
  .together__points { grid-template-columns: 1fr; }
}

/* ---------- Login ---------- */
.login { min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.login__art { position: relative; padding: 2rem var(--gutter); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.login__photo { flex: 1; margin: 1.6rem 0; min-height: 0; }
.login__art .brand, .login__art .login__caption { position: relative; z-index: 1; }
.login__caption { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--bark); margin: 0; }
.login__panel { background: var(--paper-2); display: flex; flex-direction: column; justify-content: center; padding: 3rem var(--gutter); border-left: 1px solid var(--rule); }
.login__form { width: min(100%, 420px); display: grid; gap: 1.5rem; }
.login__form h1 { font-size: clamp(2.2rem, 3.6vw, 3rem); margin-bottom: 0.4rem; }
.login__row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: 0.92rem; }
.login__form .btn { width: 100%; }
.login__new { border-top: 1px solid var(--rule-strong); padding-top: 1.4rem; font-size: 0.95rem; }
.login__new button { background: none; border: 0; padding: 0; font-weight: 600; text-decoration: underline; text-underline-offset: 0.22em; color: var(--clay-deep); }
.login__back { font-size: 0.9rem; }
@media (max-width: 860px) {
  .login { grid-template-columns: 1fr; }
  .login__art { min-height: 0; }
  .login__photo { aspect-ratio: 4 / 3; flex: none; }
  .login__panel { border-left: 0; border-top: 1px solid var(--rule); padding-bottom: 5rem; }
}

/* ---------- Portal ---------- */
.portal { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: 100dvh; }
.sidebar { background: var(--ink); color: var(--paper); padding: 1.8rem 1.4rem; display: flex; flex-direction: column; gap: 2.2rem; position: sticky; top: 0; height: 100dvh; }
.sidebar .brand { color: var(--paper); font-size: 1.3rem; }
.sidebar .brand:hover { color: var(--paper); }
.sidebar__nav ul { list-style: none; display: grid; gap: 0.15rem; }
.sidebar__nav a {
  display: flex; align-items: center; gap: 0.7rem; padding: 0.6rem 0.7rem; text-decoration: none;
  font-size: 0.97rem; color: var(--paper-muted); border-left: 2px solid transparent;
}
.sidebar__nav a .pip { width: 0.75rem; height: 0.75rem; opacity: 0; color: var(--clay); }
.sidebar__nav a:hover { color: var(--paper); }
.sidebar__nav a[aria-current="page"] { color: var(--paper); border-left-color: var(--clay); background: var(--rule-on-ink); }
.sidebar__nav a[aria-current="page"] .pip { opacity: 1; }
.sidebar__foot { margin-top: auto; display: grid; gap: 0.5rem; font-size: 0.88rem; }
.sidebar__foot a { color: var(--paper-muted); }
.sidebar__foot a:hover { color: var(--paper); }

.dash { padding: clamp(1.5rem, 4vw, 3.2rem) clamp(1rem, 4vw, 3.5rem) 5rem; max-width: 1200px; }
.dash__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--ink); margin-bottom: 2.2rem; }
.dash__head h1 { font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; }
.dash__date { color: var(--bark); font-size: 0.95rem; margin: 0; }
.dash__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.2rem 1.8rem; }

.next { grid-column: 1 / span 8; background: var(--ink); color: var(--paper); padding: clamp(1.4rem, 3vw, 2.2rem); display: grid; grid-template-columns: auto 1fr; gap: 1.6rem; align-items: center; }
.next.marked::before, .next.marked::after { color: var(--ink); }
.next__date { border: 1px solid var(--rule-on-ink); padding: 0.8rem 1.1rem; text-align: center; min-width: 6.2rem; }
.next__date span { display: block; font-family: var(--font-sc); letter-spacing: 0.09em; font-weight: 600; color: var(--paper-muted); }
.next__date strong { display: block; font-family: var(--font-display); font-variant-numeric: lining-nums; font-weight: 500; font-size: 3.4rem; line-height: 0.95; }
.next__label { font-family: var(--font-sc); letter-spacing: 0.09em; font-weight: 600; color: var(--paper-muted); margin: 0 0 0.3rem; }
.next__title { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.05; margin-bottom: 0.4rem; }
.next__time { margin: 0 0 1.2rem; color: var(--paper-muted); }
.next__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.program { grid-column: 9 / -1; border-top: 1px solid var(--ink); padding-top: 1rem; }
.panel-title { font-family: var(--font-sc); font-weight: 600; font-size: 1.1rem; letter-spacing: 0.09em; color: var(--bark); margin: 0 0 0.8rem; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.panel-title a { font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0; color: var(--ink); }
.program__name { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; line-height: 1.05; margin: 0 0 0.3rem; }
.program__week { margin: 0 0 1rem; color: var(--bark); }
.program__chips { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin-bottom: 1.2rem; }
.program__split { list-style: none; border-top: 1px solid var(--rule); font-size: 0.92rem; }
.program__split li { display: flex; justify-content: space-between; padding: 0.5rem 0; border-bottom: 1px solid var(--rule); }

.sessions { grid-column: 1 / span 7; }
.sessions__cols { display: grid; grid-template-columns: 1fr; gap: 1.8rem; }
.session-list { list-style: none; border-top: 1px solid var(--rule-strong); }
.session-list li { display: grid; grid-template-columns: 5.2rem 1fr auto; gap: 1rem; align-items: baseline; padding: 0.8rem 0; border-bottom: 1px solid var(--rule); font-size: 0.95rem; }
.session-list time { font-family: var(--font-display); font-variant-numeric: oldstyle-nums; font-size: 1.15rem; font-weight: 600; }
.session-list .who { color: var(--bark); display: block; font-size: 0.86rem; }
.session-list .links { display: flex; gap: 0.9rem; font-size: 0.88rem; font-weight: 600; }
.sub-title { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bark); margin: 0 0 0.5rem; font-weight: 600; }

.notes { grid-column: 8 / -1; background: var(--paper-2); padding: 1.6rem; align-self: start; }
.notes__meta { font-size: 0.85rem; color: var(--bark); margin: 0 0 0.8rem; }
.notes blockquote { margin: 0; font-family: var(--font-display); font-size: 1.45rem; line-height: 1.3; }
.notes__sign { font-size: 1.9rem; margin: 0.6rem 0 0; text-align: right; transform: rotate(-3deg); }

.recordings { grid-column: 1 / span 6; }
.rec-list { list-style: none; border-top: 1px solid var(--rule-strong); }
.rec-list li { display: grid; grid-template-columns: 2.4rem 1fr auto; gap: 0.9rem; align-items: center; padding: 0.7rem 0; border-bottom: 1px solid var(--rule); font-size: 0.95rem; }
.rec-list .play { width: 2.4rem; height: 2.4rem; border: 1px solid var(--ink); display: grid; place-items: center; background: transparent; padding: 0; }
.rec-list .play svg { width: 0.7rem; height: 0.7rem; fill: currentColor; margin-left: 2px; }
.rec-list .play:hover { background: var(--ink); color: var(--paper); }
.rec-list .dur { font-variant-numeric: tabular-nums; color: var(--bark); font-size: 0.88rem; }
.rec-list small { display: block; color: var(--bark); font-size: 0.84rem; }

.homework { grid-column: 7 / -1; }
.checklist { list-style: none; border-top: 1px solid var(--rule-strong); }
.checklist li { border-bottom: 1px solid var(--rule); }
.checklist label { display: grid; grid-template-columns: 1.6rem 1fr; gap: 0.8rem; align-items: start; padding: 0.95rem 0; cursor: pointer; }
.checklist input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.checklist .box { width: 1.3rem; height: 1.3rem; border: 1px solid var(--ink); display: grid; place-items: center; margin-top: 0.1rem; }
.checklist .box svg { width: 0.85rem; height: 0.85rem; fill: none; stroke: var(--paper); stroke-width: 2.4; opacity: 0; }
.checklist input:checked + .box { background: var(--ink); }
.checklist input:checked + .box svg { opacity: 1; }
.checklist input:checked ~ .task { color: var(--bark); text-decoration: line-through; text-decoration-color: var(--clay); }
.checklist input:focus-visible + .box { outline: 2px solid var(--clay-deep); outline-offset: 3px; }
.homework__count { font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0; color: var(--ink); }

@media (max-width: 1080px) {
  .next, .program, .sessions, .notes, .recordings, .homework { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .portal { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .sidebar { position: static; height: auto; padding: 1rem var(--gutter); gap: 0.8rem; }
  .sidebar__nav ul { display: flex; flex-wrap: wrap; gap: 0.2rem 0.4rem; }
  .sidebar__nav a { padding: 0.45rem 0.6rem; font-size: 0.9rem; border-left: 0; border-bottom: 2px solid transparent; }
  .sidebar__nav a .pip { display: none; }
  .sidebar__nav a[aria-current="page"] { border-bottom-color: var(--clay); }
  .sidebar__foot { display: none; }
  .dash { padding-inline: var(--gutter); }
}
@media (max-width: 560px) {
  .next { grid-template-columns: 1fr; }
  .next__date { justify-self: start; display: flex; gap: 0.8rem; align-items: baseline; }
  .next__date strong { font-size: 2.4rem; }
  .session-list li { grid-template-columns: 4.4rem 1fr; }
  .session-list .links { grid-column: 2; }
}

/* ---------- Small utilities added for portal ---------- */
.linkish { background: none; border: 0; padding: 0; font-weight: 600; text-decoration: underline; text-underline-offset: 0.22em; color: var(--clay-deep); }
.linkish:hover { color: var(--ink); }
.dash__foot { grid-column: 1 / -1; font-size: 0.85rem; color: var(--bark); border-top: 1px solid var(--rule); padding-top: 1rem; margin: 0; }
.session-list .links a { color: var(--clay-deep); }
@media (max-width: 560px) { .pricelist__desc { grid-column: 1 / -1; } }
