/* =====================================================================
   Annika, psychologist. "Air" system: Botanica hero + soft, rounded, spacious sections
   ===================================================================== */
@font-face {
  font-family: "Prata";
  src: url("assets/fonts/prata.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

:root {
  --white: #FFFFFF;
  --mist: #F5F8FB;
  --blue-soft: #DCE8F2;
  --blue: #B9D3E8;
  --ink: #101820;
  --graphite: #5A6774;
  --line: #E1E9F0;
  --deep: #35709F;
  --ok: #2E8F6B;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-sm: 12px;
  --pill: 999px;
  --nav-h: 72px;
  --pad-x: 40px;
  --wrap: 1200px;
  --font-display: "Prata", "Bodoni 72", Georgia, serif;
  --font-ui: "Inter", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  /* hero compatibility */
  --bg: var(--blue-soft);
  --photo-shift: -50px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--white); }
section, footer { scroll-margin-top: var(--nav-h); }
body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
p { margin: 0; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
img, video { max-width: 100%; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad-x); }

/* ---------- type ---------- */
.h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.01em;
}
.h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.15;
}
.label { margin: 0 0 20px; font-size: 14px; font-weight: 500; letter-spacing: 0.02em; color: var(--graphite); text-transform: lowercase; }
.lead { font-size: 22px; line-height: 1.45; }
.text { color: var(--graphite); }
.tlink { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--blue); }
.tlink:hover { text-decoration-color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-transform: lowercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, opacity 180ms ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--deep); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--sm { height: 42px; padding: 0 20px; font-size: 14px; }
.btn--full { width: 100%; height: 56px; }
.btn:disabled { background: var(--blue-soft); color: var(--graphite); cursor: default; }
.btn:focus-visible, .cell:focus-visible, .check:focus-visible, .faq__q:focus-visible, .pay__opt:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.link-btn { padding: 0; border: 0; background: none; font-size: 15px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; text-transform: lowercase; }

/* ---------- nav (fixed) ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--nav-h);
  background: var(--white);
  transition: background-color 250ms ease;
}
.nav.is-hero { background: transparent; }
.nav__in {
  height: 100%;
  max-width: none;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.nav__links { display: flex; gap: 28px; font-size: 15px; font-weight: 500; text-transform: lowercase; }
.nav__links a, .nav__icon { transition: opacity 150ms; }
.nav__links a.is-current { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--blue); }
.nav__links a:hover, .nav__icon:hover { opacity: 0.6; }
.nav__logo {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav__right { justify-self: end; display: flex; align-items: center; gap: 24px; }
.nav__social { display: flex; align-items: center; gap: 16px; }
.nav__lang { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; color: inherit; opacity: 0.7; transition: opacity 150ms; }
.nav__lang:hover { opacity: 1; }
.nav__icon svg { display: block; width: 20px; height: 20px; }

/* ---------- hero (Botanica structure, no bottom bar) ---------- */
.hero {
  position: relative;
  height: 100svh;
  padding: var(--nav-h) 0 0;
  background: var(--bg);
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr;
}
.scene { position: relative; }
.wordmark {
  position: absolute;
  top: 0.04em;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  margin: 0;
  width: max-content;
  max-width: none;
  overflow-x: visible;
  overflow-y: clip;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22vw;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink);
}
.wordmark .l { display: inline-block; will-change: transform; backface-visibility: hidden; }
/* copies of the wordmark above the flower, clipped to small regions where the stem passes: the flower weaves through the letters */
.wordmark--front { z-index: 3; pointer-events: none; }
.is-settled .wordmark .l { will-change: auto; }
.photo {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(calc(-50% + var(--photo-shift)), 0);
  z-index: 2;
  height: 96%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
  pointer-events: none;
  user-select: none;
}
.captions { display: contents; }
.caption {
  position: absolute;
  top: 66%;
  transform: translate(-50%, -50%);
  z-index: 3;
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
  text-transform: lowercase;
}
.caption--left { left: 12%; }
.caption--right { left: 88%; }

.js .wordmark { visibility: hidden; }
.js.is-ready .wordmark { visibility: visible; }
.js .wordmark .l { transform: translateY(110%); }
.js .photo { opacity: 0; transform: translate(calc(-50% + var(--photo-shift)), 24px); }
.js .caption { opacity: 0; }
.js.is-ready .wordmark .l { transform: translateY(0); transition: transform 900ms var(--ease); transition-delay: calc(var(--i) * 40ms); }
.js.is-ready .photo { opacity: 1; transform: translate(calc(-50% + var(--photo-shift)), 0); transition: opacity 1000ms 300ms, transform 1000ms 300ms var(--ease); }
.js.is-ready .caption { opacity: 1; transition: opacity 800ms 700ms; }
@media (prefers-reduced-motion: reduce) {
  .js .wordmark { visibility: visible; }
  .js .wordmark .l { transform: none; transition: none; }
  .js .photo { opacity: 1; transform: translate(calc(-50% + var(--photo-shift)), 0); transition: none; }
  .js .caption { opacity: 1; transition: none; }
}

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* ---------- sections ---------- */
section { padding: 140px 0; }
.sec-top { max-width: 720px; margin-bottom: 64px; }
.sec-top--row { max-width: none; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; }
.video__sub { max-width: 40ch; }

/* about */
.about { background: var(--white); }
.about__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.about__grid--photo { grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
.about__media { margin: 0; max-width: 460px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-lg); background: var(--blue-soft); }
.about__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about__content { display: flex; flex-direction: column; gap: 32px; }
.about__content .about__body { max-width: none; }
.about__body { display: flex; flex-direction: column; gap: 24px; max-width: 60ch; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.fact { display: flex; flex-direction: column; gap: 8px; padding: 28px 24px; border-radius: var(--radius); background: var(--mist); }
.fact__n { font-family: var(--font-display); font-size: 40px; line-height: 1; }
.plus { font-family: var(--font-ui); font-style: normal; font-weight: 400; font-size: 0.6em; vertical-align: 0.25em; margin-left: 2px; }
.fact__l { font-size: 14px; line-height: 1.4; color: var(--graphite); }

/* how: the session itself, shown as the window it happens in */
.how { background: var(--mist); }
.how__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.how__text { display: flex; flex-direction: column; align-items: flex-start; }
.how__text .h2 { margin-bottom: 40px; }
.how__lead { max-width: 22ch; }
.how__fine { margin-top: 14px; max-width: 34ch; font-size: 15px; }
.arrowlink { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; font-size: 16px; font-weight: 500; text-transform: lowercase; }
.arrowlink svg { width: 20px; height: 20px; transition: transform 200ms ease; }
.arrowlink:hover svg { transform: translateX(6px); }

.call { position: relative; }
.call__screen {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--blue-soft);
}
.call__screen > img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(0.7) brightness(1.08); }
.call__top { position: absolute; left: 20px; right: 20px; top: 18px; display: flex; align-items: center; gap: 16px; color: var(--ink); }
.call__who { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 500; letter-spacing: 0.14em; }
.call__who svg { width: 18px; height: 18px; }
.call__tools { margin-left: auto; display: flex; gap: 10px; }
.call__tools i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.78); }
.call__tools svg { width: 16px; height: 16px; }
.call__bar { position: absolute; left: 0; right: 0; bottom: 26px; display: flex; justify-content: center; align-items: center; gap: 18px; }
.call__key { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.8); color: var(--ink); }
.call__key svg { width: 21px; height: 21px; }
.call__key--end { width: 64px; height: 64px; background: var(--white); }
.call__key--end svg { width: 26px; height: 26px; transform: rotate(133deg); }
.call__flower {
  position: absolute;
  right: -8%;
  bottom: -45%;
  height: 130%;          /* a long gladiolus: sized by height, so the spike keeps its length */
  width: auto;
  max-width: none;
  pointer-events: none;
  user-select: none;
  /* the cutout ends in a straight cut where the photo ended; let the stem fade out instead */
  -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent 92%);
  mask-image: linear-gradient(to bottom, #000 58%, transparent 92%);
}

.facts-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 40px;
  margin: 72px 0 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  color: var(--graphite);
  text-transform: lowercase;
}
.facts-row li { display: flex; align-items: center; gap: 40px; }
.facts-row li + li::before { content: ""; width: 1px; height: 16px; background: var(--line); }

/* videos: pinned row, vertical scroll drives horizontal travel (desktop) */
.video { background: var(--white); padding: 0; }
.video__pin { position: relative; }
.video__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  padding-top: var(--nav-h);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  overflow: hidden;
}
.video__sticky .sec-top { margin-bottom: 0; }
.video__sticky .video__bar { margin-top: 4px; }
.video__sticky .h2 { font-size: clamp(32px, 3.2vw, 48px); }
.video__bar { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.arrows { display: flex; gap: 10px; }
.arrow { width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border: 1px solid var(--ink); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; transition: background-color 180ms ease, color 180ms ease; }
.arrow svg { width: 20px; height: 20px; }
.arrow:hover { background: var(--ink); color: var(--white); }
.arrow:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
:root { --reel-h: min(44svh, 480px); --edge: max(var(--pad-x), calc((100vw - var(--wrap)) / 2 + var(--pad-x))); }
.reels { display: flex; gap: 24px; width: max-content; padding: 0 var(--edge); }
/* a permanent composited layer this size leaves stale tiles behind on some machines,
   so the hint only stands while the row is actually moving */
.reels.is-live { will-change: transform; }
.reel { flex: 0 0 auto; width: calc(var(--reel-h) * 9 / 16); min-width: 0; }
.reel__media { position: relative; height: var(--reel-h); overflow: hidden; border-radius: var(--radius); background: var(--blue-soft); }
.reel__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.reel__play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}
.reel__play svg { width: 22px; height: 22px; margin-left: 2px; }
.reel.is-paused .reel__play { opacity: 1; pointer-events: auto; }
.reel__title { margin: 20px 0 4px; font-weight: 500; }
.reel__link { font-size: 14px; color: var(--graphite); text-transform: lowercase; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--blue); }
.reel__link:hover { color: var(--ink); }
.social { display: flex; flex-wrap: wrap; gap: 12px; }

/* calm collage */
.calm { background: var(--white); padding-top: 0; }
.calm__panel {
  position: relative;
  height: 80svh;
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--blue);
}
.calm__word {
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: max-content;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30vw;
  line-height: 0.9;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--ink);
}
.calm__photo {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-42%);
  z-index: 2;
  height: 84%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
  pointer-events: none;
}
.calm__foot {
  position: absolute;
  left: 40px; right: 40px; bottom: 40px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  pointer-events: none;
}
.calm__foot > * { pointer-events: auto; }
.calm__note { font-size: 16px; line-height: 1.35; text-transform: lowercase; }

/* booking */
.booking { background: var(--mist); }
@media (min-width: 1001px) {
  /* the title holds the top of the screen, the summary parks right under it, and the form
     scrolls between them: the page moves on only once the form has run out */
  .booking .sec-top {
    position: sticky;
    top: var(--nav-h);
    z-index: 2;
    max-width: none;
    margin-bottom: 0;
    padding: 26px 0 30px;
    background: var(--mist);
  }
  .booking .sec-top .h2, .booking .sec-top__sub { max-width: 720px; }
  .booking .book__summary { top: calc(var(--nav-h) + var(--book-head, 210px) + 24px); }
}
.book__grid { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; align-items: start; }
.book__card { padding: 48px; border-radius: var(--radius-lg); background: var(--white); }
.book { display: flex; flex-direction: column; gap: 40px; }
.book__label { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; font-size: 15px; font-weight: 500; text-transform: lowercase; }

/* a finished step folds away like a closed tab and keeps a green tick */
.book__body { overflow: visible; }
.book__step.is-done .book__body, .book__body.is-animating { overflow: hidden; }
.book__step.is-done .book__body { max-height: 0; opacity: 0; visibility: hidden; } /* a closed step is out of reach for tab and stray clicks */
.book__step.is-done .book__label { margin-bottom: 0; cursor: pointer; }
.book__step.is-done .book__tz { display: none; }
.js .book__body { visibility: visible; transition: max-height 340ms var(--ease), opacity 220ms ease, visibility 0s; }
.js .book__step.is-done .book__body { transition: max-height 340ms var(--ease), opacity 220ms ease, visibility 0s linear 340ms; }
.step__val { margin-left: auto; max-width: 46%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 400; color: var(--graphite); opacity: 0; transition: opacity 200ms ease; }
.book__step.is-done .step__val { opacity: 1; }
.step__check { flex: none; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--ok); color: var(--white); opacity: 0; transform: scale(0.6); transition: opacity 200ms ease, transform 280ms var(--ease); }
.step__check svg { width: 13px; height: 13px; }
.book__step.is-ok .step__check { opacity: 1; transform: none; }
.book__step.is-ok .step__val { margin-left: auto; }
@media (prefers-reduced-motion: reduce) { .js .book__body { transition: none; } .step__check { transition: none; } }
.book__label span:first-child { color: var(--graphite); font-weight: 600; font-size: 13px; }
.book__tz { margin-left: auto; color: var(--graphite); font-weight: 400; font-size: 13px; }
.book__hint { margin-top: 12px; color: var(--graphite); font-size: 14px; }
.book__error { color: var(--deep); font-size: 14px; }

.cells { display: grid; gap: 8px; }
.cal { max-width: 560px; }
.cal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cal__title { font-size: 16px; font-weight: 500; text-transform: lowercase; }
.arrow--sm { width: 40px; height: 40px; }
.arrow--sm svg { width: 18px; height: 18px; }
.arrow:disabled { opacity: 0.3; cursor: default; background: transparent; color: var(--ink); }
.cal__wd { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 6px; font-size: 12px; font-weight: 500; color: var(--graphite); text-align: center; text-transform: lowercase; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal__day { min-height: 46px; padding: 4px; border-radius: var(--radius-sm); }
.cal__day .cell__d { font-size: 16px; }
.cal__day--empty { visibility: hidden; }
.cal__day--today:not(.is-active) { box-shadow: inset 0 0 0 1px var(--blue); }
.cells--times { grid-template-columns: repeat(4, 1fr); }
.cells--3 { grid-template-columns: repeat(3, 1fr); }
.cells--mini { gap: 6px; margin-bottom: 8px; }
.cells--mini .cell { min-height: 40px; font-size: 14px; }

.field__hint { min-height: 1.4em; margin-top: 6px; font-size: 13px; color: var(--graphite); }
.field__hint a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--blue); }
.field__hint a:hover { text-decoration-color: var(--ink); }
.field__hint.is-error { color: var(--deep); }
.tzpick { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: -6px 0 14px; }
.tzmore { position: static; margin-left: auto; }
.tzpick__btn--more { display: inline-flex; align-items: center; gap: 6px; }
.tzpick__btn--more svg { width: 14px; height: 14px; transition: transform 200ms ease; }
.tzpick__btn--more[aria-expanded="true"] svg { transform: rotate(180deg); }
.tzmenu { position: absolute; top: calc(100% + 8px); left: 0; z-index: 20; width: 760px; max-width: calc(100vw - 2 * var(--pad-x)); max-height: 70vh; overflow: auto; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 18px; align-items: start; }
.tzmenu__group { display: flex; flex-direction: column; }
.tzmenu__group--wide { grid-row: span 2; }
.tzmenu__h { padding: 8px 10px 4px; font-size: 12px; font-weight: 500; color: var(--graphite); text-transform: lowercase; }
.tzmenu__item { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; padding: 7px 10px; border: 0; border-radius: 8px; background: none; color: var(--ink); font-size: 13.5px; text-align: left; text-transform: lowercase; cursor: pointer; }
.tzmenu__item:hover { background: var(--mist); }
.tzmenu__item.is-active { background: var(--ink); color: var(--white); }
.tzmenu__item span:last-child { color: var(--graphite); font-size: 12.5px; white-space: nowrap; }
.tzmenu__item.is-active span:last-child { color: rgba(255,255,255,0.75); }
.tzmenu__item:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.tzpick__btn { padding: 8px 14px; border: 1px solid var(--ink); border-radius: var(--pill); background: transparent; color: var(--ink); font-size: 13px; font-weight: 500; text-transform: lowercase; cursor: pointer; transition: background-color 150ms ease, color 150ms ease; }
.tzpick__btn.is-active { background: var(--ink); color: var(--white); }
.tzpick__btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 56px;
  padding: 8px 6px;
  margin: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--mist);
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: background-color 150ms ease, color 150ms ease;
}
.cell:hover { background: var(--blue-soft); }
.cell.cell--icon { flex-direction: row; gap: 8px; }
.cell.cell--icon svg { width: 16px; height: 16px; flex: none; }
.cell.is-active { background: var(--ink); color: var(--white); }
.cell:disabled { opacity: 0.35; cursor: default; background: var(--mist); }
.cell__wd { font-size: 12px; font-weight: 500; color: var(--graphite); }
.cell.is-active .cell__wd { color: rgba(255, 255, 255, 0.75); }
.cell__d { font-size: 17px; font-weight: 600; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; font-weight: 500; color: var(--graphite); text-transform: lowercase; }
.field__wrap { position: relative; display: block; }
.field__wrap:not(.has-at) .field__at { display: none; }
.field__at { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-size: 16px; color: var(--graphite); pointer-events: none; }
.field__wrap.has-at input { padding-left: 33px; }
.field input {
  width: 100%;
  height: 52px;
  margin: 0;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--mist);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 150ms ease, background-color 150ms ease;
}
.brief__field { position: relative; }
.brief__count { position: absolute; right: 16px; bottom: 12px; font-size: 12.5px; color: var(--graphite); font-variant-numeric: tabular-nums; pointer-events: none; }
.brief textarea {
  width: 100%;
  min-height: 128px;
  padding: 14px 18px 34px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--mist);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  resize: vertical;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 150ms ease, background-color 150ms ease;
}
.brief textarea::placeholder { color: var(--graphite); opacity: 0.7; }
.brief textarea:focus { border-color: var(--ink); background: var(--white); }
.brief__bar { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.brief__mic { text-transform: lowercase; }
.brief__mic.is-on { background: var(--ink); color: var(--white); }
.brief__hint { font-size: 13px; color: var(--graphite); }
.brief__done { margin-left: auto; }
.field input::placeholder { color: var(--graphite); opacity: 0.7; }
.field input:focus { border-color: var(--ink); background: var(--white); }

.check { display: flex; align-items: center; gap: 12px; padding: 0; border: 0; background: none; font-size: 15px; text-align: left; cursor: pointer; }
.check__box { width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 7px; background: var(--mist); border: 1px solid transparent; transition: background-color 150ms ease; }
.check__box svg { width: 14px; height: 14px; opacity: 0; }
.check.is-on .check__box { background: var(--ink); color: var(--white); }
.check.is-on .check__box svg { opacity: 1; }

.tgbook { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(16, 24, 32, 0.12); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.tgbook .label { margin-bottom: 0; }
.tgbook .text { font-size: 15px; }
.sec-top__sub { margin-top: 16px; max-width: 56ch; }
.book__summary { position: sticky; top: calc(var(--nav-h) + 24px); padding: 40px 40px 48px; border-radius: var(--radius-lg); background: var(--blue-soft); }
/* at the end of the section the sticky card rests on the bottom of the grid, so its button
   and «send the request» sit on one line: same bottom padding, same button box */
.tgbook .btn { width: 100%; height: 56px; }
.sum { margin: 0 0 24px; display: flex; flex-direction: column; gap: 14px; }
.sum > div { display: flex; justify-content: space-between; gap: 24px; font-size: 16px; }
.sum dt { color: var(--graphite); text-transform: lowercase; }
.sum dd { margin: 0; text-align: right; }
.sum .num { font-weight: 600; }

.pay { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.done__head { display: flex; align-items: flex-start; gap: 16px; }
.done__icon { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--ok); color: var(--white); }
.done__icon svg { width: 22px; height: 22px; }
.done__t { margin: 0 0 6px; font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1.1; }
.done__list { width: 100%; margin: 0; display: flex; flex-direction: column; gap: 12px; padding: 22px 24px; border-radius: var(--radius); background: var(--mist); }
.done__list > div { display: flex; justify-content: space-between; gap: 24px; font-size: 16px; }
.done__list dt { color: var(--graphite); text-transform: lowercase; }
.done__list dd { margin: 0; text-align: right; }
.done__next { width: 100%; display: flex; flex-direction: column; gap: 16px; }
.done__next .pay__list { width: 100%; }
.pay .book__label { margin-bottom: 0; }
.pay .link-btn { align-self: flex-start; }
.pay__list { display: flex; flex-direction: column; gap: 10px; }
.pay__opt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--mist);
  font-size: 15px;
  font-weight: 500;
  text-transform: lowercase;
  cursor: pointer;
  transition: background-color 150ms ease;
}
.pay__opt:hover { background: var(--blue-soft); }
.pay__opt svg { width: 20px; height: 20px; transition: transform 200ms ease; }
.pay__opt:hover svg { transform: translateX(6px); }
.pay__opt.pay__opt--primary { background: var(--ink); color: var(--white); }
.pay__opt.pay__opt--primary:hover { background: var(--deep); }
.pay__opt > span { display: inline-flex; align-items: center; gap: 10px; }
.pay__opt > span svg { width: 18px; height: 18px; transition: none; }
.pay__opt:hover > span svg { transform: none; }

/* telegram: the panel holds a scrollable look at the channel, with the invitation at the end */
.tg { background: var(--white); }
.tg__panel { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; padding: 56px 56px 64px; border-radius: var(--radius-lg); background: var(--blue-soft); align-items: start; }
.tg__side { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.tg__side .h2 { font-size: clamp(32px, 3.2vw, 46px); }
.tg__side .text { max-width: 40ch; }
.feed { display: flex; flex-direction: column; gap: 14px; }
/* Desktop: the whole panel, rounded corners and all, holds still under the header while the page
   scrolls on; that scroll drives the posts inside the right column. The section is given the
   extra height the posts need (set by main.js), so nothing is ever cut at the panel's edge. */
@media (min-width: 1001px) {
  .tg--drive .tg__panel { position: sticky; top: calc(var(--nav-h) + 16px); }
  /* the feed's box reaches the panel's own top and bottom edges: posts slide under the edge
     where the blue meets the white, not out of thin air inside the padding */
  .tg--drive .feed { overflow: hidden; margin: -56px 0 -64px; padding: 56px 0 64px; box-sizing: border-box; }
  .tg--drive .feed__inner { display: flex; flex-direction: column; gap: 14px; will-change: transform; }
  @media (prefers-reduced-motion: reduce) { .tg--drive .feed__inner { transition: none; } }
}
.post { padding: 18px 20px 16px; border-radius: var(--radius); background: var(--white); }
.post__head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.post__ava { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--blue-soft); font-family: var(--font-display); font-size: 15px; }
.post__who { font-size: 14px; font-weight: 500; letter-spacing: 0.02em; }
.post__time { margin-left: auto; font-size: 13px; color: var(--graphite); }
.post__text { font-size: 16px; line-height: 1.55; }
.post__text + .post__text { margin-top: 10px; }
.post__text--tight { margin-top: 12px; }
.post__q { font-size: 16px; font-weight: 500; }
.post__note { margin-top: 10px; font-size: 13px; color: var(--graphite); }

/* voice note */
.voice { display: flex; align-items: center; gap: 12px; }
.voice__play { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--deep); color: var(--white); }
.voice__play svg { width: 18px; height: 18px; }
.voice__dur { font-size: 13px; color: var(--graphite); font-variant-numeric: tabular-nums; }
.wave { flex: 1; height: 22px; fill: var(--blue); min-width: 0; }
.wave--sm { flex: none; width: 120px; height: 18px; }

/* video and photo */
.post__media { position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 16 / 10; background: var(--blue-soft); }
.post__media--photo { aspect-ratio: 4 / 3; }
.post__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: rgba(16, 24, 32, 0.62); color: var(--white); }
.post__play svg { width: 22px; height: 22px; margin-left: 2px; }
.post__badge { position: absolute; left: 10px; bottom: 10px; padding: 3px 8px; border-radius: 8px; background: rgba(16, 24, 32, 0.62); color: var(--white); font-size: 12px; font-variant-numeric: tabular-nums; }

/* the round video note */
.circle { display: flex; align-items: center; gap: 16px; }
.circle__vid { position: relative; width: 116px; height: 116px; flex: none; border-radius: 50%; overflow: hidden; background: var(--blue-soft); }
.circle__vid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.circle__vid svg { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 26px; height: 26px; color: var(--white); filter: drop-shadow(0 1px 4px rgba(16,24,32,.45)); }
.circle__side { display: flex; flex-direction: column; gap: 8px; }

/* poll */
.poll { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.poll__opt { position: relative; display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--mist); overflow: hidden; font-size: 15px; }
.poll__bar { position: absolute; left: 0; top: 0; bottom: 0; width: var(--v); background: var(--blue-soft); }
.poll__label, .poll__pct { position: relative; }
.poll__pct { margin-left: auto; color: var(--graphite); font-variant-numeric: tabular-nums; }

/* shared article */
.linkcard { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--mist); border-left: 3px solid var(--deep); }
.linkcard__icon { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--blue-soft); color: var(--deep); }
.linkcard__icon svg { width: 16px; height: 16px; }
.linkcard__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.linkcard__title { font-size: 15px; font-weight: 500; }
.linkcard__dom { font-size: 13px; color: var(--graphite); }

/* reactions, views, comments */
.post__rx { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.rx__pill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; background: var(--mist); font-size: 13px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.rx__pill svg { width: 14px; height: 14px; color: var(--deep); }
.post__views { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; font-size: 13px; color: var(--graphite); font-variant-numeric: tabular-nums; }
.post__views svg { width: 14px; height: 14px; }
.post__comments { display: flex; align-items: center; gap: 10px; margin: 12px -20px -16px; padding: 12px 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--deep); font-weight: 500; }
.post__comments svg { width: 16px; height: 16px; margin-left: auto; transition: transform 200ms ease; }
.post__comments:hover svg { transform: translateX(4px); }
.faces { display: inline-flex; }
.faces i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--white); margin-right: -7px; }
.faces .f1 { background: #C9D9E8; } .faces .f2 { background: #AFC6DC; } .faces .f3 { background: #93B4D0; }

/* the invitation that closes the feed */

/* faq */
.faq { background: var(--white); }
.faq__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.faq__head { position: sticky; top: calc(var(--nav-h) + 24px); }
.faq__head .h2 { margin-bottom: 20px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  border: 0;
  background: none;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}
.faq__q svg { width: 22px; height: 22px; display: block; color: var(--graphite); }
.faq__q[aria-expanded="true"] .faq__v { display: none; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 300ms ease; }
.faq__a p { padding: 0 48px 24px 0; color: var(--graphite); }

/* footer */
.footer { background: var(--white); padding-top: 40px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-top: 48px; padding-bottom: 72px; border-top: 1px solid var(--line); font-size: 15px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; text-transform: lowercase; }
.footer__h { font-weight: 500; }
.footer__col a:hover { opacity: 0.6; }
.footer__mark { display: flex; justify-content: center; overflow: hidden; line-height: 0.8; }
.footer__word {
  width: max-content;
  flex: none;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22vw;
  line-height: 0.8;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateY(18%);
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .about__grid, .faq__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__media { max-width: 420px; }
  .faq__head { position: static; }
  .sec-top--row { grid-template-columns: 1fr; gap: 16px; }
  .tg__panel { grid-template-columns: 1fr; padding: 28px 20px 32px; gap: 28px; }
  .circle__vid { width: 96px; height: 96px; }
  .qr { display: none; } /* already on a phone */
  .tg__cta { gap: 14px; }
  .book__grid { grid-template-columns: 1fr; }
  .book__summary { position: static; }
}

@media (max-width: 900px) {
  :root { --pad-x: 20px; --photo-shift: 0px; }
  section { padding: 96px 0; }
  .nav__links { display: none; }
  .nav__in { grid-template-columns: 1fr auto; }
  .nav__logo { justify-self: start; }

  .scene { display: flex; flex-direction: column; align-items: center; }
  .wordmark { order: 0; position: relative; top: 0.02em; left: 50%; transform: translateX(-50%); align-self: flex-start; flex: none; }
  .wordmark--front { display: none; }
  .captions { display: flex; order: 1; justify-content: space-between; align-self: stretch; padding: 12px var(--pad-x) 0; }
  .caption { position: static; transform: none; }
  .caption--left { text-align: left; }
  .caption--right { text-align: right; }
  .photo { height: 72%; }

  .facts { grid-template-columns: 1fr; }
  .how__grid { grid-template-columns: 1fr; gap: 32px; }
  .how__text .h2 { margin-bottom: 24px; }
  .how__lead, .how__fine { max-width: none; }
  .call__flower { height: 109%; right: -2%; bottom: -30%; }
  .call__top { left: 14px; right: 14px; top: 12px; }
  .call__tools i { width: 30px; height: 30px; }
  .call__bar { bottom: 16px; gap: 12px; }
  .call__key { width: 44px; height: 44px; }
  .call__key--end { width: 54px; height: 54px; }
  .facts-row { display: grid; grid-template-columns: 1fr 1fr; margin-top: 44px; gap: 12px 20px; }
  .facts-row li { gap: 0; }
  .facts-row li + li::before { display: none; }

  .video { padding: 96px 0 96px; }
  .video__pin { height: auto !important; }
  .video__sticky { position: static; height: auto; padding-top: 0; gap: 28px; overflow: visible; }
  .reels { display: flex; width: auto; max-width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--pad-x); gap: 16px; margin: 0; padding: 0 var(--pad-x) 8px; transform: none !important; will-change: auto; scrollbar-width: none; }
  .reels::-webkit-scrollbar { display: none; }
  .reel { flex: 0 0 72vw; width: auto; scroll-snap-align: start; }
  .reel--clone { display: none; }
  .reel__media { height: auto; aspect-ratio: 9 / 16; }
  .video__bar { flex-direction: column; align-items: stretch; gap: 20px; }
  .arrows { justify-content: flex-end; }

  .calm__panel { height: 70svh; min-height: 480px; border-radius: var(--radius); }
  .calm__photo { height: 62%; }
  .calm__foot { left: 24px; right: 24px; bottom: 24px; flex-direction: column; align-items: flex-start; gap: 16px; }

  .book__card { padding: 28px 20px; }
  .cells--times { grid-template-columns: repeat(3, 1fr); }
  .fields { grid-template-columns: 1fr; }
  .tzmenu { grid-template-columns: 1fr; width: calc(100vw - 40px); max-height: 60vh; }
  .tzmenu__group--wide { grid-row: auto; }
  .book__summary { padding: 28px 24px; }

  .footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .nav__social { display: none; }
  .cell { min-height: 52px; padding: 8px 2px; }
  .cell__d { font-size: 15px; }
  .h2 { font-size: 34px; }
}


/* =====================================================================
   COURSES PAGE
   ===================================================================== */
.hero--short { height: 78svh; min-height: 560px; --photo-shift: 0px; }
.hero--short .photo { height: 78%; }
.photo--right { left: 64%; }
.courses { background: var(--mist); }
.courses__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
/* a course is a set of videos with homework, so the card is a video card first */
.course { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg); background: var(--white); }
.course__ph { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--blue-soft); }
.course__ph img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease); }
.course:hover .course__ph img { transform: scale(1.035); }
.course:hover .course__ph .vid__play { transform: translate(-50%, -50%) scale(1.06); }
.course__body { display: flex; flex-direction: column; flex: 1; padding: 32px 36px 34px; }
.course__title { margin: 0 0 12px; font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.12; }
.course__meta { margin: 18px 0 0; font-size: 14px; color: var(--graphite); text-transform: lowercase; }
.course__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; }
.course__price { font-size: 22px; font-weight: 600; }
.card--mist { background: var(--mist); }
.page-courses .how { background: var(--white); }
.tg__panel--cta { grid-template-columns: 1fr; }
.tg__panel--cta .tg__text { max-width: 640px; }

@media (max-width: 900px) {
  .hero--short { height: 70svh; min-height: 520px; }
  .hero--short .photo { height: 58%; }
  .photo--right { left: 50%; }
  .courses__grid { grid-template-columns: 1fr; }
  .course__body { padding: 26px 24px 28px; }
  .course__foot { flex-direction: column; align-items: flex-start; }
}


@media (prefers-reduced-motion: reduce) {
  .video__pin { height: auto !important; }
  .video__sticky { position: static; height: auto; overflow: visible; }
  .reels { width: auto; overflow-x: auto; transform: none !important; }
  .reel--clone { display: none; }
}


/* ================= blog: notes + send a topic ================= */
.notes { background: var(--mist); }
.note { position: relative; padding: 40px 40px 34px; border-radius: var(--radius-lg); background: var(--white); }
.note--lead { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; margin-bottom: 28px; padding: 0; overflow: hidden; }
.note--lead .note__ph { margin: 0; min-height: 320px; }
.note--lead .note__ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.note--lead .note__body { padding: 48px 48px 42px 0; }
.notes__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.note__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 16px; font-size: 13px; color: var(--graphite); text-transform: lowercase; }
.note__meta span:not(:first-child)::before { content: "·"; margin-right: 14px; color: var(--blue); }
.note__t { margin: 0 0 14px; font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 1.2; }
.note--lead .note__t { font-size: 34px; }
.note__x { max-width: 62ch; }
.note__wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 480ms var(--ease); }
.note.is-open .note__wrap { grid-template-rows: 1fr; }
.note__wrap > div { overflow: hidden; }
.note__full { display: flex; flex-direction: column; gap: 14px; padding-top: 18px; }
.note__full .text { max-width: 66ch; }
.note__more { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; font-size: 15px; font-weight: 500; text-transform: lowercase; cursor: pointer; }
.note__more::after { content: ""; width: 20px; height: 1px; background: var(--ink); transition: width 220ms var(--ease); }
.note__more:hover::after { width: 32px; }
.notes__foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 48px; }
@media (prefers-reduced-motion: reduce) { .note__wrap { transition: none; } }

.topic__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.topic__points { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.topic__points li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.topic__points span { padding-top: 3px; font-size: 13px; color: var(--graphite); font-variant-numeric: tabular-nums; }
.topic__card { padding: 44px; border-radius: var(--radius-lg); background: var(--mist); }
.topic__row { margin-bottom: 34px; }
.topic__label { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 15px; font-weight: 500; }
.topic__label span:first-child { color: var(--graphite); font-variant-numeric: tabular-nums; }
.topic__card .brief textarea, .topic__card .field input { background: var(--white); }
.topic__card .check { margin: 4px 0 22px; align-items: flex-start; }
.topic__card .check__box { margin-top: 1px; }
.topic__card .check span:last-child { color: var(--graphite); font-size: 14px; line-height: 1.5; }
.topic__err { margin: 14px 0 0; font-size: 14px; color: var(--deep); }
.topic__fine { margin: 16px 0 0; font-size: 13px; color: var(--graphite); }
.topic__seal { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 20px; border-radius: 50%; background: var(--ok); color: var(--white); }
.topic__seal svg { width: 22px; height: 22px; }
.topic__done .h3 { margin-bottom: 12px; }
.topic__doneRow { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
@media (min-width: 1001px) { .topic__stick { position: sticky; top: calc(var(--nav-h) + 40px); } }
@media (max-width: 1000px) {
  .note--lead { grid-template-columns: 1fr; gap: 0; }
  .note--lead .note__ph { min-height: 0; aspect-ratio: 16 / 10; }
  .note--lead .note__body { padding: 30px 26px 30px; }
  .notes__grid { grid-template-columns: 1fr; }
  .topic__grid { grid-template-columns: 1fr; gap: 40px; }
  .topic__card { padding: 30px 24px; }
  .note { padding: 30px 26px 28px; }
  .note__t, .note--lead .note__t { font-size: 25px; }
  .notes__foot { flex-direction: column; align-items: flex-start; }
}

/* headings on the cta panel and the topic column breathe like .tg__side does */
.tg__text, .topic__stick { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.tg__text .h2, .topic__stick .h2 { font-size: clamp(32px, 3.2vw, 46px); }
.tg__text .label, .topic__stick .label { margin-bottom: 0; }
.tg__text .text, .topic__stick .text { max-width: 46ch; }
.topic__stick .topic__points { margin-top: 8px; }

/* ================= videos page ================= */
.vids { background: var(--white); }
.vid { display: block; color: var(--ink); }
.vid__ph { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-lg); background: var(--blue-soft); }
.vid__ph img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease); }
.vid:hover .vid__ph img { transform: scale(1.035); }
.vid__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--ink); transition: transform 300ms var(--ease); }
.vid__play svg { width: 26px; height: 26px; margin-left: 3px; }
.vid:hover .vid__play { transform: translate(-50%, -50%) scale(1.06); }
.vid__time { position: absolute; right: 14px; bottom: 14px; padding: 5px 10px; border-radius: var(--radius-sm); background: rgba(16, 24, 32, 0.72); color: var(--white); font-size: 13px; font-variant-numeric: tabular-nums; }
.vid__t { display: block; margin-top: 18px; font-family: var(--font-display); font-size: 21px; line-height: 1.22; }
.vid--lead { margin-bottom: 64px; }
.vid--lead .vid__play { width: 96px; height: 96px; }
.vid--lead .vid__play svg { width: 34px; height: 34px; }
.vid--lead .vid__t { margin-top: 26px; font-size: clamp(30px, 3.4vw, 46px); }
.vids__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 28px; }

.shorts { background: var(--mist); }
.shorts__row { display: flex; gap: 20px; padding: 0 var(--edge) 10px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-left: var(--edge); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.shorts__row::-webkit-scrollbar { display: none; }
.shorts .reel { --reel-h: min(52svh, 520px); scroll-snap-align: start; }
.shorts .reel__title { margin: 16px 0 0; font-size: 16px; }

.where__list { display: grid; gap: 14px; }
.where__row { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 24px; padding: 26px 32px; border-radius: var(--radius-lg); background: var(--mist); color: var(--ink); transition: background-color 300ms ease, color 300ms ease; }
.where__row:hover { background: var(--ink); color: var(--white); }
.where__ico svg { display: block; width: 26px; height: 26px; }
.where__n { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 50px); line-height: 1; }
.where__h { font-size: 15px; color: var(--graphite); transition: color 300ms ease; }
.where__row:hover .where__h { color: var(--blue); }
.where__go svg { display: block; width: 24px; height: 24px; transition: transform 300ms var(--ease); }
.where__row:hover .where__go svg { transform: translateX(7px); }

@media (max-width: 1000px) {
  .vids__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .vid--lead { margin-bottom: 44px; }
  .vid__play { width: 56px; height: 56px; }
  .vid__play svg { width: 20px; height: 20px; }
  .vid--lead .vid__play { width: 68px; height: 68px; }
  .vid--lead .vid__play svg { width: 24px; height: 24px; }
  .vid__t { margin-top: 14px; font-size: 18px; }
  .shorts .reel { --reel-h: min(58svh, 460px); }
  .where__row { grid-template-columns: auto 1fr auto; gap: 16px; padding: 20px 22px; }
  .where__h { display: none; }
}
@media (max-width: 600px) {
  .vids__grid { grid-template-columns: 1fr; gap: 28px; }
}

/* the channel code lives in the left column, under the button; useless on the phone you hold */
.tgqr { display: flex; flex-direction: column; align-items: center; gap: 10px; width: max-content; margin-top: 4px; padding: 16px; border-radius: var(--radius); background: var(--white); color: var(--graphite); font-size: 13.5px; text-align: center; }
.tgqr img { display: block; width: 164px; height: 164px; }
.tgqr:hover { color: var(--ink); }
@media (max-width: 1000px) { .tgqr { display: none; } }

/* her videos have speech, so each tile carries its own sound switch: they still start silent */
.reel__sound { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.9); color: var(--ink); cursor: pointer; opacity: 0; transition: opacity 200ms ease; }
.reel:hover .reel__sound, .reel__sound:focus-visible, .reel.is-loud .reel__sound { opacity: 1; }
@media (hover: none) { .reel__sound { opacity: 1; } }
.reel__sound svg { width: 18px; height: 18px; }
.reel__sound .on { display: none; }
.reel.is-loud .reel__sound .on { display: block; }
.reel.is-loud .reel__sound .off { display: none; }
/* while the request is on its way there is nothing safe to press: the only link that would
   work at this moment is the one the bot hands back with the request id */
.pay__opt.is-waiting { opacity: 0.5; pointer-events: none; }

.brief__hint.is-error { color: var(--deep); }
