/* ─── PASUR-inspired tokens ─── */
:root {
  color-scheme: light;
  --bg: #f5f5f5;
  --bg-hero: #faf9f7;
  --text: #282828;
  --text-muted: #6b6b6b;
  --text-light: #999;
  --border: rgba(40, 40, 40, 0.12);
  --pink: #eecad4;
  --pink-deep: #e0b4c2;
  --yellow: #f5e6b8;
  --yellow-deep: #edd896;
  --peach: #f0c9a8;
  --peach-deep: #e8b892;
  --cyan: #c5e8ef;
  --cyan-deep: #b0dce8;
  --display: "Cabinet Grotesk", system-ui, sans-serif;
  --nav: "Nunito", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
  --hero-clearance: 1.75rem;
  --section-space: 4rem;
  --logo-blue: #1E3A5F;
  --header-nav-font: "Google Sans Code", ui-monospace, monospace;
  --header-pill-height: 2.125rem;
  --surface-input: rgba(255, 255, 255, 0.5);
  --surface-input-focus: rgba(255, 255, 255, 0.85);
  --danger: #c0392b;
  --note-success-bg: rgba(197, 232, 239, 0.55);
  --note-success-border: rgba(176, 220, 232, 0.85);
  --note-error-text: #8b2e2e;
  --note-error-bg: rgba(192, 57, 43, 0.08);
  --note-error-border: rgba(192, 57, 43, 0.25);
  --glow-pink: rgba(238, 202, 212, 0.4);
  --glow-yellow: rgba(245, 230, 184, 0.35);
  --glow-peach: rgba(240, 201, 168, 0.4);
  --glow-cyan: rgba(197, 232, 239, 0.35);
  --glow-pink-soft: rgba(238, 202, 212, 0.28);
  --glow-cyan-soft: rgba(197, 232, 239, 0.18);
  --card-surface-pink: color-mix(in srgb, var(--pink-deep) 34%, var(--bg-hero));
  --card-surface-cyan: color-mix(in srgb, var(--cyan-deep) 36%, var(--bg-hero));
  --card-surface-peach: color-mix(in srgb, var(--peach-deep) 34%, var(--bg-hero));
  --card-surface-yellow: color-mix(in srgb, var(--yellow-deep) 38%, var(--bg-hero));
  --loader-glow-pink: rgba(238, 202, 212, 0.45);
  --loader-glow-yellow: rgba(245, 230, 184, 0.4);
  --loader-glow-peach: rgba(240, 201, 168, 0.38);
  --loader-glow-cyan: rgba(197, 232, 239, 0.35);
  --panel-bg-opacity: 0.35;
  --grain-opacity: 0.042;
  --grain-blend: multiply;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

.page-section {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

#home.page-section {
  scroll-margin-top: 0;
}

body {
  font-family: var(--display);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
  position: relative;
  overscroll-behavior-x: none;
}

body.is-loading {
  overflow: hidden;
  position: fixed;
  inset: 0;
  width: 100%;
}

body.is-loading .header,
body.is-loading .page-container {
  visibility: hidden;
  pointer-events: none;
}

body.is-loading .hero--mosaic {
  min-height: 100dvh;
  min-height: 100svh;
}

body.is-loading .hero-tile {
  animation-play-state: paused;
}

body::after {
  content: "";
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  z-index: 9999;
  pointer-events: none;
  opacity: var(--grain-opacity);
  mix-blend-mode: var(--grain-blend);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  animation: grainDrift 7s steps(8) infinite;
}

@keyframes grainDrift {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1%); }
  50% { transform: translate(1%, -2%); }
  75% { transform: translate(-1%, -1%); }
}

.page-container {
  position: relative;
  max-width: 100%;
}

.page-section {
  scroll-margin-top: var(--header-h);
}

.container {
  width: min(960px, 92vw);
  margin-inline: auto;
}

/* ─── Loader ─── */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 70% 55% at 18% 22%, var(--loader-glow-pink) 0%, transparent 58%),
    radial-gradient(ellipse 65% 50% at 82% 18%, var(--loader-glow-yellow) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 78% 82%, var(--loader-glow-peach) 0%, transparent 52%),
    radial-gradient(ellipse 55% 45% at 12% 78%, var(--loader-glow-cyan) 0%, transparent 50%),
    var(--bg-hero);
  color: var(--text);
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  width: min(72vw, 280px);
  max-width: 100%;
  padding-inline: 1rem;
  box-sizing: border-box;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.loader-logo-stage {
  position: relative;
  width: 100%;
  --loader-pct: 0%;
}

.loader-logo {
  width: 100%;
  height: auto;
  display: block;
}

.loader-logo--ghost {
  opacity: 0.14;
}

.loader-logo--full {
  position: absolute;
  inset: 0 0 auto 0;
  clip-path: inset(0 calc(100% - var(--loader-pct)) 0 0);
  transition: clip-path 0.25s ease;
}

.loader-label {
  width: 100%;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0;
  line-height: 1;
  text-align: center;
}

.loader.is-ready {
  pointer-events: none;
}

.loader.is-ready .loader-inner {
  opacity: 0;
  transform: translateY(-6px);
}

.loader.is-hidden {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .loader-inner,
  .loader-logo--full {
    transition: none;
  }
}

/* ─── Header ─── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--header-h);
  background: transparent;
  border: none;
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
  position: relative;
}

.logo {
  grid-column: 2;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  color: var(--logo-blue);
  text-decoration: none;
  line-height: 1;
  opacity: var(--logo-opacity, 1);
  transform: translateY(calc(var(--logo-lift, 0) * 1px));
}

.logo-image {
  display: block;
  height: 3.655rem;
  width: auto;
}

.header--logo-hidden .logo {
  pointer-events: none;
}

.header .container {
  width: 100%;
  max-width: 100%;
  padding-inline: 1rem 32px;
}

.nav-end {
  grid-column: 3;
  justify-self: end;
  align-self: center;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.lang-switcher {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  height: var(--header-pill-height);
}

.lang-switcher__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: var(--header-pill-height);
  box-sizing: border-box;
  background: #fff;
  border: none;
  border-radius: 999px;
  padding: 0 0.62rem 0 0.72rem;
  box-shadow: 0 0 0 1px rgba(40, 40, 40, 0.06);
  font-family: var(--header-nav-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s, box-shadow 0.2s;
}

.lang-switcher__globe {
  display: none;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  opacity: 0.88;
}

.lang-switcher__current {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lang-switcher__toggle:hover {
  box-shadow: 0 0 0 1px rgba(40, 40, 40, 0.12);
}

.lang-switcher__chevron {
  flex-shrink: 0;
  opacity: 0.72;
  transition: transform 0.22s var(--ease);
}

.lang-switcher.is-open .lang-switcher__chevron {
  transform: rotate(180deg);
}

.lang-switcher__menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  min-width: 100%;
  margin: 0;
  padding: 0.28rem;
  list-style: none;
  background: #fff;
  border-radius: 14px;
  box-shadow:
    0 0 0 1px rgba(40, 40, 40, 0.06),
    0 10px 28px rgba(40, 40, 40, 0.1);
  z-index: 240;
}

.lang-switcher__menu[hidden] {
  display: none;
}

.lang-switcher__option {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  font-family: var(--header-nav-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.lang-switcher__option::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: transparent;
  flex-shrink: 0;
  transition: background 0.2s;
}

.lang-switcher__option.is-active {
  color: var(--text);
}

.lang-switcher__option.is-active::before {
  background: var(--peach-deep);
}

.lang-switcher__option:hover {
  color: var(--text);
  background: rgba(240, 201, 168, 0.28);
}

@media (min-width: 769px) {
  .lang-switcher__toggle {
    padding: 0 0.72rem;
    min-width: var(--header-pill-height);
  }

  .lang-switcher__globe {
    display: block;
  }

  .lang-switcher__chevron {
    display: none;
  }

  .lang-switcher__menu {
    min-width: 9.5rem;
  }

  .lang-switcher__option {
    font-size: 0.8rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
  }
}

.nav-links {
  justify-self: end;
  align-self: center;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  height: var(--header-pill-height);
  box-sizing: border-box;
  list-style: none;
  background: #fff;
  border-radius: 999px;
  padding: 0 0.72rem;
  box-shadow: 0 0 0 1px rgba(40, 40, 40, 0.06);
}

@media (min-width: 769px) {
  .nav-links__lang-break,
  .nav-links li:has(> .nav-lang-link) {
    display: none;
  }
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--header-nav-font);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  background: none;
  border: none;
  padding: 0.1rem 0.18rem;
}

.nav-links a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: transparent;
  flex-shrink: 0;
  transition: background 0.2s;
}

.nav-links a:hover,
.nav-links a.is-active { color: var(--text); }

.nav-links a.is-active::before {
  background: var(--peach-deep);
}

.connect-lang-note {
  margin-top: 1.15rem;
  padding: 0.9rem 1.05rem;
  border-radius: 14px;
  background: rgba(197, 232, 239, 0.32);
  border: 1px solid rgba(40, 40, 40, 0.08);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 36rem;
}

.article-lang-banner {
  margin: 0 0 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: rgba(240, 201, 168, 0.22);
  border: 1px solid rgba(40, 40, 40, 0.08);
  font-size: 0.92rem;
  line-height: 1.5;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s;
}

/* ─── Hero (home — untouched focus) ─── */
.hero--mosaic {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding:
    calc(var(--header-h) + var(--hero-clearance) + env(safe-area-inset-top, 0px))
    1.5rem
    var(--section-space);
  background:
    radial-gradient(ellipse 72% 52% at 14% 16%, rgba(240, 201, 168, 0.22) 0%, transparent 58%),
    radial-gradient(ellipse 68% 48% at 86% 84%, rgba(197, 232, 239, 0.2) 0%, transparent 56%),
    var(--bg-hero);
  overflow: hidden;
}

.hero--mosaic .hero-tile--geo .hero-tile-inner {
  animation: none;
  opacity: 0.9;
}

.hero--mosaic .hero-tile {
  animation-duration: 9s;
}

.hero--mosaic .hero-tile--photo {
  opacity: 0.94;
}

.hero-headline-line--accent {
  color: #c9926a;
}

.hero-mosaic {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-tile {
  position: absolute;
  top: var(--tile-top);
  left: var(--tile-left);
  width: calc(var(--tile-w, 96) * 1px);
  height: calc(var(--tile-h, 96) * 1px);
  --px: 0px;
  --py: 0px;
  transform: translate(-50%, -50%) translate(var(--px), var(--py));
  animation: tileFloat 7s var(--ease) infinite;
  animation-delay: calc(var(--delay, 0s) * -1);
  will-change: transform;
}

@media (min-width: 769px) and (max-width: 1679px) {
  :root {
    --hero-clearance: 2rem;
  }

  .hero--mosaic {
    padding-bottom: 4rem;
  }

  .hero-content {
    max-width: min(680px, 88vw);
  }

  .hero-tile--photo {
    width: calc(var(--tile-w, 96) * 0.8 * 1px);
    height: calc(var(--tile-h, 96) * 0.8 * 1px);
  }

  .hero-tile--circle.hero-tile--photo {
    width: calc(var(--tile-w, 96) * 0.8 * 1px);
    height: calc(var(--tile-w, 96) * 0.8 * 1px);
  }

  .hero-tile[data-image="/assets/natural-happy-1.png"] {
    top: calc(var(--tile-top) + 28px);
  }

  .hero-headline {
    font-size: clamp(1.85rem, 4.8vw, 3.25rem);
  }

  .hero-tagline {
    font-size: clamp(1.05rem, 2.1vw, 1.22rem);
    margin-bottom: 1.35rem;
  }

  .hero-intro {
    font-size: clamp(1rem, 1.8vw, 1.12rem);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero-content {
    max-width: min(520px, 82vw);
  }

  .hero-profile {
    width: clamp(180px, 22vw, 240px);
  }
}

/* Tablets (iPad and similar) — keep hero copy clear of mosaic tiles */
@media (min-width: 769px) and (max-width: 1366px) {
  .hero-headline {
    font-size: clamp(1.65rem, 3.6vw, 2.65rem);
    line-height: 0.94;
    margin-bottom: 0.65rem;
  }

  .hero-headline-line {
    display: block;
  }

  .hero-headline-line + .hero-headline-line::before {
    content: none;
  }

  .hero-content {
    max-width: min(520px, 82vw);
  }

  .hero-profile {
    width: clamp(180px, 22vw, 250px);
    margin-bottom: 1.1rem;
  }

  .hero-tagline {
    font-size: clamp(0.98rem, 1.85vw, 1.15rem);
    margin-bottom: 0.85rem;
  }

  .hero-intro {
    font-size: clamp(0.92rem, 1.65vw, 1.05rem);
    line-height: 1.58;
    margin-bottom: 0.95rem;
  }

  .hero-tile--photo {
    width: calc(var(--tile-w, 96) * 0.66 * 1px);
    height: calc(var(--tile-h, 96) * 0.66 * 1px);
  }

  .hero-tile--circle.hero-tile--photo {
    width: calc(var(--tile-w, 96) * 0.66 * 1px);
    height: calc(var(--tile-w, 96) * 0.66 * 1px);
  }

  .hero-tile[data-image="/assets/natural-happy-1.png"] {
    --tile-left: 93%;
    --tile-top: 10%;
  }

  .hero-tile[data-image="/assets/natural-5.png"] {
    --tile-left: 95%;
    --tile-top: 36%;
  }

  .hero-tile[data-image="/assets/natural-6.png"] {
    --tile-left: 90%;
  }

  .hero-tile[data-image="/assets/natural-9.png"] {
    --tile-left: 97%;
  }

  .logo-image {
    height: 3.05rem;
  }

  .nav-links {
    gap: 0.18rem;
    padding: 0 0.48rem;
  }

  .nav-links a {
    font-size: 0.72rem;
    letter-spacing: 0.025em;
    padding: 0.08rem 0.1rem;
  }

  .nav-end {
    gap: 0.4rem;
  }

  .header .container {
    padding-inline: 0.85rem 1rem;
  }
}

/* Tablet portrait — narrower width, same desktop nav band as iPad vertical hold */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: portrait) {
  .hero-content {
    max-width: min(440px, 88vw);
  }

  .hero-headline {
    font-size: clamp(1.52rem, 4.4vw, 2.25rem);
  }

  .hero-profile {
    width: clamp(168px, 26vw, 220px);
  }

  .hero-tile--photo {
    width: calc(var(--tile-w, 96) * 0.56 * 1px);
    height: calc(var(--tile-h, 96) * 0.56 * 1px);
  }

  .hero-tile--circle.hero-tile--photo {
    width: calc(var(--tile-w, 96) * 0.56 * 1px);
    height: calc(var(--tile-w, 96) * 0.56 * 1px);
  }

  .hero-tile[data-image="/assets/natural-happy-1.png"] {
    --tile-left: 95%;
    --tile-top: 9%;
  }

  .hero-tile[data-image="/assets/natural-happy-2.png"] {
    --tile-left: 5%;
  }

  .hero-tile[data-image="/assets/natural-7.png"] {
    --tile-left: 3.5%;
  }

  .hero-tile[data-image="/assets/natural-5.png"] {
    --tile-left: 96%;
    --tile-top: 34%;
  }

  .hero-tile[data-image="/assets/natural-6.png"] {
    --tile-left: 91%;
  }

  .hero-tile[data-image="/assets/natural-happy-3.png"] {
    --tile-left: 3%;
  }

  .logo-image {
    height: 2.85rem;
  }

  .nav-links {
    gap: 0.12rem;
    padding: 0 0.38rem;
  }

  .nav-links a {
    font-size: 0.68rem;
    padding: 0.06rem 0.08rem;
  }
}

/* iPad / tablet — use sparser mobile-style mosaic (769px+ is not max-width:768 mobile) */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero--mosaic .hero-tile--hide-mobile {
    display: none !important;
  }

  .hero-tile {
    top: var(--tile-top-mobile, var(--tile-top));
    left: var(--tile-left-mobile, var(--tile-left));
  }

  .hero-tile--photo {
    width: calc(var(--tile-w-mobile, var(--tile-w, 96)) * 0.72 * 1px);
    height: calc(var(--tile-h-mobile, var(--tile-h, 96)) * 0.72 * 1px);
  }

  .hero-tile--circle.hero-tile--photo {
    width: calc(var(--tile-w-mobile, var(--tile-w, 96)) * 0.72 * 1px);
    height: calc(var(--tile-w-mobile, var(--tile-w, 96)) * 0.72 * 1px);
  }

  .hero-tile--geo {
    opacity: 0.42;
  }

  .hero-content {
    z-index: 5;
    max-width: min(460px, 88vw);
  }
}

@media (min-width: 1025px) and (max-width: 1366px) {
  .hero--mosaic .hero-tile--hide-mobile {
    display: none !important;
  }

  .hero-tile--geo {
    opacity: 0.48;
  }

  .hero-tile--photo {
    width: calc(var(--tile-w, 96) * 0.58 * 1px);
    height: calc(var(--tile-h, 96) * 0.58 * 1px);
  }

  .hero-tile--circle.hero-tile--photo {
    width: calc(var(--tile-w, 96) * 0.58 * 1px);
    height: calc(var(--tile-w, 96) * 0.58 * 1px);
  }
}

@media (min-width: 769px) and (max-width: 1366px) and (orientation: landscape) {
  .hero--mosaic {
    justify-content: flex-start;
    padding-bottom: 2.5rem;
  }

  .hero-content {
    max-width: min(420px, 78vw);
  }

  .hero-headline {
    font-size: clamp(1.48rem, 3.2vw, 2.15rem);
  }

  .hero-intro {
    font-size: clamp(0.88rem, 1.45vw, 0.98rem);
    margin-bottom: 0.75rem;
  }

  .hero-tile--photo {
    width: calc(var(--tile-w-mobile, var(--tile-w, 96)) * 0.62 * 1px);
    height: calc(var(--tile-h-mobile, var(--tile-h, 96)) * 0.62 * 1px);
  }

  .hero-tile--circle.hero-tile--photo {
    width: calc(var(--tile-w-mobile, var(--tile-w, 96)) * 0.62 * 1px);
    height: calc(var(--tile-w-mobile, var(--tile-w, 96)) * 0.62 * 1px);
  }
}

@media (max-width: 1280px) and (min-width: 1025px) {
  .hero--mosaic {
    padding-bottom: 3.5rem;
  }

  .hero-content {
    max-width: min(680px, 88vw);
  }
}

@media (max-height: 920px) and (min-width: 769px) {
  :root {
    --hero-clearance: 1.15rem;
  }

  .hero--mosaic {
    min-height: auto;
    justify-content: flex-start;
    padding-bottom: 2.25rem;
  }

  .hero-profile {
    width: clamp(168px, 20vw, 220px);
    margin-bottom: 0.85rem;
  }

  .hero-headline {
    font-size: clamp(1.55rem, 3.2vw, 2.35rem);
    margin-bottom: 0.55rem;
  }

  .hero-tagline {
    margin-bottom: 0.65rem;
  }

  .hero-intro {
    margin-bottom: 0.75rem;
  }

  .hero-secondary {
    margin-bottom: 0.85rem;
  }
}

@media (max-height: 920px) and (min-width: 769px) and (orientation: landscape) {
  .hero-headline-line {
    display: block;
  }

  .hero-headline-line + .hero-headline-line::before {
    content: none;
  }

  .hero-content {
    max-width: min(480px, 78vw);
  }
}

.hero-tile-inner {
  width: 100%;
  height: 100%;
}

/* Flat geometric shapes — rotate on axis */
.hero-tile--geo .hero-tile-inner {
  animation: flatSpin var(--spin-duration, 10s) linear infinite;
}

.hero-tile--rotate-x .hero-tile-inner { animation-name: flatSpinX; }
.hero-tile--rotate-y .hero-tile-inner { animation-name: flatSpinY; }
.hero-tile--rotate-z .hero-tile-inner { animation-name: flatSpinZ; }
.hero-tile--rotate-z-left .hero-tile-inner { animation-name: flatSpinZLeft; }

@keyframes flatSpinZ {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes flatSpinZLeft {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

@keyframes flatSpinX {
  from { transform: rotateX(0deg); }
  to { transform: rotateX(360deg); }
}

@keyframes flatSpinY {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

@keyframes flatSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-tile--square.hero-tile--geo .hero-tile-inner {
  background: linear-gradient(145deg, var(--shape-light, var(--cyan)), var(--shape-dark, var(--cyan-deep)));
}

.hero-tile--circle.hero-tile--geo .hero-tile-inner {
  border-radius: 50%;
  background: linear-gradient(145deg, var(--shape-light, var(--cyan)), var(--shape-dark, var(--cyan-deep)));
}

.hero-tile--triangle.hero-tile--geo .hero-tile-inner {
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  background: linear-gradient(145deg, var(--shape-light, var(--cyan)), var(--shape-dark, var(--cyan-deep)));
}

.hero-tile--pink.hero-tile--geo { --shape-light: var(--pink); --shape-dark: var(--pink-deep); }
.hero-tile--cyan.hero-tile--geo { --shape-light: var(--cyan); --shape-dark: var(--cyan-deep); }
.hero-tile--yellow.hero-tile--geo { --shape-light: var(--yellow); --shape-dark: var(--yellow-deep); }
.hero-tile--peach.hero-tile--geo { --shape-light: var(--peach); --shape-dark: var(--peach-deep); }

@keyframes tileFloat {
  0%, 100% { transform: translate(-50%, -50%) translate(var(--px), var(--py)) translateY(0); }
  50% { transform: translate(-50%, -50%) translate(var(--px), var(--py)) translateY(-10px); }
}

.hero-tile--circle.hero-tile--photo .hero-tile-inner { border-radius: 50%; overflow: hidden; }
.hero-tile--circle.hero-tile--photo {
  width: calc(var(--tile-w, 96) * 1px);
  height: calc(var(--tile-w, 96) * 1px);
}
.hero-tile--circle.hero-tile--photo .hero-tile-image {
  object-fit: cover;
}
.hero-tile--triangle.hero-tile--photo .hero-tile-inner {
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  overflow: hidden;
}

.hero-tile--photo .hero-tile-inner {
  overflow: hidden;
}

.hero-tile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-tile-image--mobile {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  isolation: isolate;
  text-align: center;
  max-width: 720px;
  width: 100%;
  padding: 0 1rem;
  margin-inline: auto;
}

.hero-headline {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.2rem, 6.5vw, 4.25rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.85rem;
  text-wrap: balance;
}

.hero-headline-line {
  display: inline;
}

.hero-headline-line + .hero-headline-line::before {
  content: " ";
}

.hero-tagline {
  font-family: var(--display);
  font-size: clamp(1.12rem, 2.5vw, 1.32rem);
  line-height: 1.45;
  font-weight: 500;
  color: var(--text-muted);
  max-width: 34rem;
  margin: 0 auto 1.1rem;
  text-wrap: balance;
}

.hero-tagline-line {
  display: inline;
}

.hero-profile {
  width: clamp(220px, 28vw, 320px);
  margin: 0 auto 1.5rem;
}

.hero-profile-inner {
  aspect-ratio: 1;
}

.hero-profile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hero-intro {
  font-family: var(--display);
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  line-height: 1.65;
  color: var(--text);
  max-width: 38rem;
  margin: 0 auto 1.25rem;
  text-align: center;
  overflow-wrap: break-word;
}

.hero-secondary {
  display: flex;
  justify-content: center;
  margin: 0 auto 1.35rem;
  padding: 0 0.5rem;
  max-width: 100%;
}

.hero-actions {
  display: inline-flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  max-width: 100%;
}

.hero-action-sep {
  flex: 0 0 auto;
  padding: 0 0.45rem;
  font-family: var(--nav);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  color: rgba(40, 40, 40, 0.35);
  user-select: none;
}

.hero-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 12;
  flex: 0 0 auto;
  font-family: var(--nav);
  font-size: clamp(0.72rem, 2.65vw, 0.94rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-appearance: none;
  appearance: none;
  white-space: nowrap;
  text-align: center;
}

.hero-action--primary {
  color: var(--text);
  background: none;
  border: none;
  padding: 0.55rem 0.25rem;
  border-radius: 0;
  transition: color 0.2s;
}

.hero-action--primary:hover {
  color: var(--peach-deep);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.hero-action--secondary {
  color: var(--text);
  background: #fff;
  border: 1px solid rgba(40, 40, 40, 0.14);
  border-radius: 999px;
  padding: 0.62rem 1.05rem;
  box-shadow: 0 0 0 1px rgba(40, 40, 40, 0.04);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.hero-action--secondary:hover {
  background: var(--bg-hero);
  border-color: rgba(40, 40, 40, 0.22);
  transform: translateY(-1px);
}

.hero-book-cta {
  display: inline-flex;
  align-items: center;
  position: relative;
  z-index: 12;
  font-family: var(--nav);
  font-size: clamp(0.88rem, 1.85vw, 0.98rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--text);
  background: none;
  border: none;
  padding: 0.2rem 0;
  cursor: pointer;
  touch-action: manipulation;
  transition: color 0.2s;
}

.hero-book-cta:hover {
  color: var(--peach-deep);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.hero-scroll-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 12;
  margin: 0.35rem auto 0;
  padding: 0.5rem 1.25rem 0.15rem;
  color: #1a1a1a;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.hero-scroll-hint:hover {
  color: #1a1a1a;
}

.hero-scroll-hint:hover .hero-scroll-hint__icon {
  animation-play-state: paused;
}

.hero-scroll-hint__icon {
  display: block;
  width: 28px;
  height: 28px;
  animation: hero-scroll-drop 1.9s ease-in-out infinite;
}

@keyframes hero-scroll-drop {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(14px);
  }
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.45rem 0.7rem;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.hero-tag {
  font-family: var(--mono);
  font-size: clamp(0.78rem, 1.6vw, 0.88rem);
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--text-light);
  white-space: nowrap;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 12;
  font-family: var(--nav);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  text-decoration: none;
  color: var(--text);
  background: #fff;
  border: 1px solid rgba(40, 40, 40, 0.14);
  border-radius: 999px;
  padding: 0.85rem 1.65rem;
  box-shadow: 0 0 0 1px rgba(40, 40, 40, 0.04);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  max-width: 100%;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-appearance: none;
  appearance: none;
}

.hero-profile,
.hero-profile-inner,
.hero-profile img {
  pointer-events: none;
}

.hero-cta:hover {
  background: var(--bg-hero);
  border-color: rgba(40, 40, 40, 0.22);
  transform: translateY(-1px);
}

.reveal { opacity: 1; }

/* ─── Section enter animations ─── */
.section-enter {
  --ex: 0px;
  --ey: 36px;
  --es: 1.4;
  opacity: 0;
  transform: translate3d(var(--ex), var(--ey), 0) scale(var(--es));
  transform-origin: left center;
  transition:
    opacity 0.85s var(--ease),
    transform 1.05s var(--ease);
  transition-delay: calc(var(--enter-i, 0) * 110ms);
  will-change: transform, opacity;
}

.hero-headline.section-enter,
.panel-title.section-enter {
  transform-origin: left center;
}

.hero-profile.section-enter {
  transform-origin: center center;
}

.panel-index.section-enter,
.session-card.section-enter,
.background-showcase.section-enter,
.connect-form.section-enter {
  transform-origin: left top;
}

.methods-visual.section-enter {
  transform-origin: right center;
}

.page-section.is-entered .section-enter {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  body::after { animation: none; }

  .section-enter {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .session-card:hover {
    transform: none;
    box-shadow: none;
  }
}

/* ─── Page sections (single continuous scroll) ─── */
.panel {
  position: relative;
  z-index: 1;
  background: var(--bg);
}

.panel-inner {
  position: relative;
  z-index: 1;
  padding: var(--section-space) 0;
}

.panel-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 0;
}

.panel-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
  opacity: var(--panel-bg-opacity);
}

.methods-panel > .panel-bg {
  z-index: 0;
}

.methods-panel .methods-shell {
  position: relative;
  z-index: 1;
}

.panel-bg-shape {
  position: absolute;
  top: var(--shape-top);
  left: var(--shape-left);
  transform: translate(-50%, -50%);
  pointer-events: none;
  transform-origin: center;
  animation: flatSpin var(--spin-duration, 14s) linear infinite;
}

.panel-bg-shape--square { background: linear-gradient(145deg, var(--shape-light), var(--shape-dark)); }
.panel-bg-shape--circle { border-radius: 50%; background: linear-gradient(145deg, var(--shape-light), var(--shape-dark)); }
.panel-bg-shape--triangle {
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  background: linear-gradient(145deg, var(--shape-light), var(--shape-dark));
}

.panel-bg-shape--pink { --shape-light: var(--pink); --shape-dark: var(--pink-deep); }
.panel-bg-shape--cyan { --shape-light: var(--cyan); --shape-dark: var(--cyan-deep); }
.panel-bg-shape--yellow { --shape-light: var(--yellow); --shape-dark: var(--yellow-deep); }
.panel-bg-shape--peach { --shape-light: var(--peach); --shape-dark: var(--peach-deep); }

.panel-index {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.panel-title {
  font-family: var(--display);
  font-size: clamp(3.2rem, 11vw, 6rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: calc(-0.04em + 2px);
  line-height: 0.88;
  margin-bottom: 2.5rem;
}

.panel-title-line {
  display: block;
}

.panel-title-line--muted {
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.panel-body {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.8;
  color: var(--text-muted);
}

.panel-body p { margin-bottom: 1.5rem; }

.panel-lead {
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-weight: 500;
  color: var(--text);
  line-height: 1.55;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.panel-lead strong { font-weight: 800; }

.panel-lead em {
  font-style: normal;
  border-bottom: 2px solid var(--text);
  padding-bottom: 1px;
}

.panel-lead--form {
  margin-bottom: 2.5rem;
  line-height: 1.65;
}

.panel-pull {
  font-family: var(--display);
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--text);
  padding-left: 1.25rem;
  border-left: 3px solid var(--text);
  margin: 2.5rem 0;
}

.panel-kicker {
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
  margin: 2.5rem 0 1.25rem;
}

.panel-credential-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 0 0 2rem;
  padding: 0;
}

.panel-credential-list li {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.panel-credential-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.panel-credential-list strong {
  display: block;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.panel-credential-list span {
  display: block;
  color: var(--text-muted);
  line-height: 1.65;
}

.background-showcase {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.25rem;
}

.background-showcase-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.background-showcase-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.62rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--text-muted);
  font-family: var(--nav);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease), color 0.22s var(--ease), transform 0.22s var(--ease);
}

.background-showcase-tab:hover {
  border-color: rgba(40, 40, 40, 0.2);
  color: var(--text);
  transform: translateY(-1px);
}

.background-showcase-tab.is-active {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}

.background-showcase-tab-index {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  opacity: 0.72;
}

.background-showcase-tab.is-active .background-showcase-tab-index {
  opacity: 0.9;
}

.background-showcase-stage {
  position: relative;
  min-height: clamp(16rem, 34vw, 19.5rem);
}

.background-showcase-card {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: clamp(1.6rem, 3.5vw, 2.35rem);
  border-radius: 16px;
  border: 1px solid rgba(40, 40, 40, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.38s var(--ease), transform 0.38s var(--ease), visibility 0.38s;
}

.background-showcase-card.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.background-showcase-card--pink { background: var(--card-surface-pink); }
.background-showcase-card--cyan { background: var(--card-surface-cyan); }
.background-showcase-card--peach { background: var(--card-surface-peach); }
.background-showcase-card--yellow { background: var(--card-surface-yellow); }

.background-showcase-lines {
  position: absolute;
  inset: -8% -5% auto auto;
  width: min(72%, 34rem);
  height: auto;
  color: rgba(40, 40, 40, 0.11);
  pointer-events: none;
}

.background-showcase-content {
  position: relative;
  z-index: 1;
  max-width: 36rem;
}

.background-label {
  font-family: var(--display);
  font-size: clamp(1.45rem, 3.8vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--text);
  margin: 0 0 0.85rem;
}

.background-copy {
  margin: 0;
  font-size: clamp(1.02rem, 1.95vw, 1.12rem);
  line-height: 1.72;
  color: var(--text-muted);
}

.panel-tags {
  font-family: var(--mono);
  font-size: clamp(0.78rem, 1.6vw, 0.88rem);
  letter-spacing: 0.02em;
  color: var(--text-light);
  margin-top: 2rem;
}

.panel-research-photo {
  margin: 1.35rem 0 0.5rem;
  max-width: min(520px, 100%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(40, 40, 40, 0.06),
    0 14px 36px rgba(40, 40, 40, 0.08);
}

.panel-research-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.panel-research-title {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 1rem;
}

#connect .panel-body {
  margin-bottom: 2.5rem;
}

.connect-form {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.panel-placeholder {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.panel-kicker--first {
  margin-top: 0;
}

/* ─── Approach section ─── */
.approach-block {
  margin-top: 2.75rem;
  padding-top: 2.75rem;
  border-top: 1px solid var(--border);
}

.approach-intro {
  font-size: clamp(1rem, 1.9vw, 1.1rem);
  line-height: 1.6;
  color: var(--text-muted);
  margin: -0.35rem 0 1.35rem;
  max-width: 36rem;
}

.approach-pull {
  margin: 2.5rem 0;
}

.approach-pull + .panel-kicker {
  margin-top: 0;
}

.approach-block .panel-kicker {
  margin-top: 0;
}

.approach-body .panel-kicker {
  margin-bottom: 0.25rem;
}

.approach-body .panel-research-title {
  margin-top: 1.85rem;
}

.approach-body .panel-kicker + .panel-research-title {
  margin-top: 0;
}

.session-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.session-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 100%;
  padding: 1.45rem 1.55rem 1.35rem;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.session-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(40, 40, 40, 0.07);
}

.session-card--package {
  border-color: rgba(240, 201, 168, 0.45);
  background:
    linear-gradient(145deg, rgba(245, 230, 184, 0.22), rgba(255, 255, 255, 0.62));
}

.session-card--concession {
  margin-top: 1.15rem;
  border-color: rgba(197, 232, 239, 0.75);
  background:
    linear-gradient(145deg, rgba(197, 232, 239, 0.28), rgba(255, 255, 255, 0.62));
}

.session-concession-rates {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.25rem;
}

.session-concession-rate {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 0;
}

.session-concession-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-light);
}

.session-concession-price {
  font-family: var(--display);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text);
}

.session-verify {
  font-size: clamp(0.92rem, 1.8vw, 0.98rem);
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(197, 232, 239, 0.55);
  border-radius: 10px;
}

.session-badge {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.28rem 0.62rem;
  margin: 0;
}

.session-badge--free {
  color: var(--text);
  background: rgba(197, 232, 239, 0.55);
}

.session-badge--value {
  color: var(--text);
  background: var(--yellow);
}

.session-intro {
  margin-top: 2.5rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--border);
  max-width: 38rem;
}

.session-intro-kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin: 0 0 0.85rem;
}

.session-intro-title {
  font-family: var(--display);
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--text);
  margin: 0 0 0.55rem;
}

.session-intro-lead {
  font-family: var(--display);
  font-size: clamp(1.08rem, 2.2vw, 1.22rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  margin: 0 0 1rem;
}

.session-intro-copy {
  font-size: clamp(1.02rem, 1.95vw, 1.1rem);
  line-height: 1.72;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.session-intro-note {
  font-size: clamp(1rem, 1.9vw, 1.06rem);
  line-height: 1.55;
  color: var(--text);
  margin: 0 0 1.15rem;
}

.session-intro-link {
  display: inline-flex;
  font-family: var(--nav);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1.5px solid var(--peach-deep);
  padding-bottom: 0.12rem;
  transition: color 0.2s, border-color 0.2s;
}

.session-intro-link:hover {
  color: var(--text-muted);
  border-color: var(--text);
}

.session-card-title {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.35;
  color: var(--text);
}

.session-price {
  font-family: var(--display);
  font-size: clamp(1.85rem, 4.2vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text);
}

.session-lead {
  font-family: var(--display);
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
}

.session-desc {
  font-size: clamp(0.98rem, 1.9vw, 1.08rem);
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

.session-format,
.session-save {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-light);
  margin: 0;
}

.session-save {
  align-self: flex-start;
  color: var(--text);
  background: var(--yellow);
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  font-weight: 700;
}

.session-save--concession {
  background: rgba(197, 232, 239, 0.55);
}

.session-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: auto;
  width: 100%;
  max-width: 100%;
  font-family: var(--nav);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--text);
  background: #fff;
  border: 1px solid rgba(40, 40, 40, 0.14);
  border-radius: 999px;
  padding: 0.72rem 1.35rem;
  box-shadow: 0 0 0 1px rgba(40, 40, 40, 0.04);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.session-cta:hover {
  background: var(--bg-hero);
  border-color: rgba(40, 40, 40, 0.22);
  transform: translateY(-1px);
}

.session-cta--soft {
  background: rgba(255, 255, 255, 0.82);
}

.scope-note {
  margin-top: 2.5rem;
  padding: 1.35rem 1.45rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.45);
}

.scope-note-title {
  font-size: clamp(0.92rem, 1.9vw, 1rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
  margin: 0 0 0.85rem;
}

.scope-note p {
  font-size: clamp(0.94rem, 1.85vw, 1.02rem);
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.scope-note p:last-child {
  margin-bottom: 0;
}

.scope-note-subtitle {
  font-size: clamp(0.82rem, 1.7vw, 0.9rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  margin: 1.25rem 0 0.55rem;
}

.site-crisis-note {
  width: min(100%, 40rem);
  text-align: center;
  font-size: clamp(0.82rem, 1.65vw, 0.92rem);
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 1.15rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.35);
}

.site-crisis-note a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-crisis-note strong {
  color: var(--text);
  font-weight: 700;
}

/* ─── Methods split (Muscat-style) ─── */
.methods-panel {
  position: relative;
  overflow: visible;
  background:
    radial-gradient(ellipse 55% 45% at 92% 18%, var(--glow-pink-soft) 0%, transparent 55%),
    radial-gradient(ellipse 45% 40% at 8% 88%, var(--glow-cyan-soft) 0%, transparent 50%),
    var(--bg);
}

.methods-shell {
  width: min(1200px, 92vw);
  margin-inline: clamp(5rem, 13vw, 8.5rem) auto;
  padding: var(--section-space) 0;
}

.methods-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 54%);
  grid-template-rows: auto auto auto;
  column-gap: clamp(2.25rem, 5vw, 4rem);
  row-gap: 0;
  align-items: start;
}

.methods-split .panel-index {
  grid-column: 1;
  grid-row: 1;
}

.methods-split .panel-title {
  grid-column: 1;
  grid-row: 2;
  margin-bottom: 2rem;
}

.methods-split .panel-body {
  grid-column: 1;
  grid-row: 3;
  max-width: 640px;
  padding: 0;
}

.methods-visual {
  grid-column: 2;
  grid-row: 2 / 4;
  position: relative;
  align-self: stretch;
  min-height: 0;
  margin-left: clamp(2.5rem, 5vw, 4.5rem);
}

.methods-visual-frame {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  height: calc((100% + 4rem) * 1.2);
  min-height: calc((100% + 4rem) * 1.2);
  margin-top: -1.5rem;
  padding: 0;
}

.methods-format-img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 120%;
  object-fit: contain;
  border-radius: 2px;
}

/* ─── Connect form ─── */
.connect-form {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-field label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.connect-form input,
.connect-form select,
.connect-form textarea {
  width: 100%;
  font-family: var(--display);
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  font-weight: 500;
  color: var(--text);
  background: var(--surface-input);
  border: none;
  border-bottom: 2px solid var(--border);
  padding: 0.75rem 0.25rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  border-radius: 0;
}

.connect-form textarea { min-height: 140px; line-height: 1.6; }

.connect-form select option {
  background-color: var(--bg);
  color: var(--text);
}

.btn-submit {
  align-self: flex-start;
  margin-top: 0.5rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  padding: 1rem 2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--text);
  color: var(--bg);
  border: 1px solid var(--text);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-submit:hover {
  background: transparent;
  color: var(--text);
}

.btn-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.req { color: var(--text-light); }

.word-count {
  font-size: 0.7rem;
  color: var(--text-light);
  text-transform: none;
  letter-spacing: 0;
}

.word-count.is-over { color: var(--danger); }

.connect-form input:focus,
.connect-form select:focus,
.connect-form textarea:focus {
  border-bottom-color: var(--text);
  background: var(--surface-input-focus);
}

.connect-form textarea { resize: vertical; }

.form-note {
  font-family: var(--display);
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
  padding: 1rem 1.15rem;
  border-radius: 6px;
}

.form-note--success {
  color: var(--text);
  background: var(--note-success-bg);
  border: 1px solid var(--note-success-border);
}

.form-note--error {
  color: var(--note-error-text);
  background: var(--note-error-bg);
  border: 1px solid var(--note-error-border);
}

/* ─── Mobile ─── */
@media (max-width: 768px) {
  :root {
    --header-h: 64px;
    --hero-clearance: 1.15rem;
    --hero-photo-mobile-scale: 0.68;
    --hero-photo-mobile-scale-natural-5: 0.54;
    --hero-photo-mobile-scale-happy: 0.694;
    --hero-photo-mobile-scale-large: 0.714;
  }

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overscroll-behavior-x: none;
  }

  .page-container,
  .hero--mosaic {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding-inline: 1rem;
  }

  .header .container {
    width: 100%;
    max-width: 100%;
    padding-inline: 1rem 32px;
  }

  .panel-inner.container {
    width: min(960px, 92vw);
    max-width: min(960px, 92vw);
    margin-inline: auto;
    padding-inline: 0;
  }

  .loader-inner {
    width: min(82vw, 280px);
    align-items: center;
  }

  .nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
  }

  .nav-end {
    gap: 0.35rem;
  }

  .nav-links {
    height: auto;
    min-height: 0;
    padding: 0 0.55rem;
  }

  .nav-end > .lang-switcher {
    display: none;
  }

  .nav-links__lang-break {
    list-style: none;
    height: 0;
    margin: 0;
    padding: 0;
    border: none;
    margin-top: 1.35rem;
  }

  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(calc(var(--logo-lift, 0) * 1px));
  }

  .logo-image {
    height: 3.05rem;
  }

  .nav-links {
    grid-column: auto;
    justify-self: auto;
    align-self: auto;
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: 100%;
    height: 100dvh;
    min-height: 100dvh;
    max-height: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    background:
      radial-gradient(ellipse 80% 50% at 20% 10%, rgba(240, 201, 168, 0.18) 0%, transparent 55%),
      radial-gradient(ellipse 70% 45% at 85% 90%, rgba(197, 232, 239, 0.16) 0%, transparent 52%),
      var(--bg-hero);
    border-radius: 0;
    padding:
      calc(var(--header-h) + env(safe-area-inset-top, 0px) + 1.5rem)
      max(1.25rem, env(safe-area-inset-right, 0px))
      calc(1.75rem + env(safe-area-inset-bottom, 0px))
      max(1.25rem, env(safe-area-inset-left, 0px));
    box-shadow: none;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    transform: translateX(100%);
    transition: transform 0.42s var(--ease);
    z-index: 210;
    pointer-events: none;
  }

  .nav-links li {
    width: 100%;
    list-style: none;
    border-bottom: 1px solid var(--border);
    min-height: 2.75rem;
    display: flex;
    align-items: stretch;
  }

  .nav-links li:last-child {
    border-bottom: none;
    margin-top: auto;
    padding-top: 1.25rem;
  }

  /* Compact drawer (same small layout for every locale) */
  #nav-links {
    font-family: var(--header-nav-font), var(--nav), ui-monospace, monospace;
    font-size: 13px;
    line-height: 1.25;
    letter-spacing: 0.03em;
    -webkit-text-size-adjust: none;
    text-size-adjust: 100%;
  }

  #nav-links a.nav-link {
    all: unset;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 2.75rem;
    padding: 0.625rem 0.35rem;
    font: inherit;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text-muted);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  #nav-links a.nav-link:hover,
  #nav-links a.nav-link.is-active {
    color: var(--text);
  }

  #nav-links a.nav-link::before {
    content: "";
    display: block;
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-right: 0.65rem;
    background: transparent;
  }

  #nav-links a.nav-link.is-active::before {
    background: var(--peach-deep);
  }

  #nav-links a.nav-link.nav-cta {
    justify-content: center;
    min-height: 2.85rem;
    padding: 0.7rem 1.15rem;
    font-size: 13px;
    color: var(--text);
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: #fff;
    border: 1px solid rgba(40, 40, 40, 0.14);
    border-radius: 999px;
    box-shadow: 0 0 0 1px rgba(40, 40, 40, 0.04);
  }

  #nav-links a.nav-link.nav-cta::before {
    display: none;
  }

  .nav-links.open {
    transform: translateX(0);
    pointer-events: auto;
  }

  body.nav-open {
    overflow: hidden;
    overscroll-behavior: none;
  }

  .page-container {
    overflow-x: clip;
  }

  .panel-content,
  .approach-block,
  .session-grid {
    max-width: 100%;
  }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 221;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(40, 40, 40, 0.1);
    border-radius: 999px;
    box-shadow: 0 2px 12px rgba(40, 40, 40, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--text);
  }

  .nav-toggle.active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero--mosaic {
    min-height: 100dvh;
    min-height: 100svh;
    justify-content: flex-start;
    padding:
      calc(var(--header-h) + var(--hero-clearance) + env(safe-area-inset-top, 0px))
      1rem
      2.65rem;
    overflow-x: hidden;
    overflow-y: visible;
  }

  .hero--mosaic .hero-tile--hide-mobile {
    display: none !important;
  }

  .hero-tile--geo {
    z-index: 0;
  }

  .hero-tile {
    top: var(--tile-top-mobile, var(--tile-top));
    left: var(--tile-left-mobile, var(--tile-left));
    width: calc(var(--tile-w-mobile, var(--tile-w, 96)) * 1px);
    height: calc(var(--tile-h-mobile, var(--tile-h, 96)) * 1px);
    z-index: 1;
  }

  .hero-tile--photo {
    opacity: 0.94;
    width: calc(var(--tile-w-mobile, var(--tile-w, 96)) * var(--hero-photo-mobile-scale) * 1px);
    height: calc(var(--tile-h-mobile, var(--tile-h, 96)) * var(--hero-photo-mobile-scale) * 1px);
  }

  .hero-tile--circle.hero-tile--photo {
    width: calc(var(--tile-w-mobile, var(--tile-w, 96)) * var(--hero-photo-mobile-scale) * 1px);
    height: calc(var(--tile-w-mobile, var(--tile-w, 96)) * var(--hero-photo-mobile-scale) * 1px);
  }

  .hero-tile[data-image="/assets/natural-6.png"].hero-tile--photo {
    width: calc(var(--tile-w-mobile, var(--tile-w, 96)) * var(--hero-photo-mobile-scale) * 1px);
    height: calc(var(--tile-w-mobile, var(--tile-w, 96)) * var(--hero-photo-mobile-scale) * 1px);
  }

  .hero-tile[data-image="/assets/natural-5.png"].hero-tile--photo {
    width: calc(var(--tile-w-mobile, var(--tile-w, 96)) * var(--hero-photo-mobile-scale-natural-5) * 1px);
    height: calc(var(--tile-h-mobile, var(--tile-h, 96)) * var(--hero-photo-mobile-scale-natural-5) * 1px);
  }

  .hero-tile[data-image="/assets/natural-happy-2.png"].hero-tile--photo {
    width: calc(var(--tile-w-mobile, 120) * var(--hero-photo-mobile-scale-happy) * 1px);
    height: calc(var(--tile-w-mobile, 120) * var(--hero-photo-mobile-scale-happy) * 1px);
  }

  .hero-tile[data-image="/assets/natural-happy-2.png"] .hero-tile-inner,
  .hero-tile[data-image="/assets/natural-6.png"] .hero-tile-inner {
    border-radius: 50%;
    overflow: hidden;
  }

  .hero-tile[data-image="/assets/natural-happy-2.png"] .hero-tile-image,
  .hero-tile[data-image="/assets/natural-6.png"] .hero-tile-image {
    object-fit: cover;
  }

  .hero-tile-image--desktop {
    display: none;
  }

  .hero-tile-image--mobile {
    display: block;
  }

  .hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
    pointer-events: none;
  }

  .hero-headline,
  .hero-tagline,
  .hero-intro,
  .hero-secondary,
  .hero-actions,
  .hero-action,
  .hero-action-sep,
  .hero-book-cta,
  .hero-scroll-hint,
  .hero-tags,
  .hero-cta {
    position: relative;
    z-index: 5;
    pointer-events: auto;
  }

  .hero-profile {
    width: clamp(176px, 50vw, 250px);
    margin: 0.25rem auto 0.8rem;
    position: relative;
    z-index: 5;
    pointer-events: auto;
  }

  .hero-tile[data-image="/assets/natural-6.png"] {
    z-index: 4;
  }

  .hero-tile[data-image="/assets/natural-happy-3.png"].hero-tile--photo {
    width: calc(var(--tile-w-mobile, 126) * var(--hero-photo-mobile-scale-happy) * 1px);
    height: calc(var(--tile-w-mobile, 126) * var(--hero-photo-mobile-scale-happy) * 1px);
  }

  .hero-tile[data-image="/assets/natural-happy-3.png"] .hero-tile-inner {
    border-radius: 50%;
    overflow: hidden;
  }

  .hero-tile[data-image="/assets/natural-happy-3.png"] .hero-tile-image {
    object-fit: cover;
  }

  .hero-tile[data-image="/assets/natural-happy-1.png"].hero-tile--photo {
    width: calc(var(--tile-w-mobile, 120) * var(--hero-photo-mobile-scale-happy) * 1px);
    height: calc(var(--tile-w-mobile, 120) * var(--hero-photo-mobile-scale-happy) * 1px);
  }

  .hero-tile[data-image="/assets/natural-happy-2.png"] {
    top: calc(
      36% + 5px
      - (var(--tile-w-mobile, 120) * var(--hero-photo-mobile-scale-happy) * 0.6 * 1px)
      - (var(--tile-w-mobile, 120) * var(--hero-photo-mobile-scale-happy) * 0.02 * 1px)
    );
  }

  .hero-tile[data-image="/assets/natural-5.png"] {
    top: calc(24% + 26px);
  }

  .hero-tile[data-image="/assets/natural-6.png"],
  .hero-tile[data-mobile-image="/assets/natural-2.png"] {
    top: calc(44% + 10px);
  }

  .hero-tile[data-image="/assets/natural-6.png"].hero-tile--photo {
    width: calc(var(--tile-w-mobile, 127) * var(--hero-photo-mobile-scale-large) * 1px);
    height: calc(var(--tile-w-mobile, 127) * var(--hero-photo-mobile-scale-large) * 1px);
  }

  .hero-tile[data-image="/assets/natural-7.png"].hero-tile--photo {
    width: calc(var(--tile-w-mobile, 136) * var(--hero-photo-mobile-scale-large) * 1px);
    height: calc(var(--tile-h-mobile, 176) * var(--hero-photo-mobile-scale-large) * 1px);
  }

  .hero-tile[data-image="/assets/natural-7.png"] .hero-tile-image {
    object-fit: cover;
    object-position: top center;
    clip-path: inset(0 0 9% 0);
  }

  .hero-tile[data-image="/assets/natural-5.png"] .hero-tile-image {
    clip-path: inset(0 0 0 1px);
  }

  .hero-headline {
    font-size: clamp(1.58rem, 7vw, 2.25rem);
    line-height: 0.96;
    margin-top: 0;
    margin-bottom: 0.55rem;
    text-wrap: wrap;
  }

  .hero-headline-line {
    display: block;
  }

  .hero-headline-line + .hero-headline-line::before {
    content: none;
  }

  .hero-tagline {
    font-size: clamp(0.98rem, 3.9vw, 1.08rem);
    line-height: 1.5;
    margin-bottom: 0.45rem;
  }

  .hero-tagline-line {
    display: block;
  }

  .hero-tagline-line + .hero-tagline-line {
    margin-top: 0.15rem;
  }

  .hero-intro {
    font-size: clamp(0.92rem, 3.6vw, 1rem);
    line-height: 1.55;
    padding: 0;
    text-align: center;
    margin-bottom: 0.8rem;
    overflow-wrap: break-word;
  }

  .hero-secondary {
    margin-bottom: 0.65rem;
  }

  .hero-tags {
    gap: 0.35rem 0.55rem;
  }

  .hero-tag {
    font-size: 0.72rem;
    white-space: normal;
    text-align: center;
  }

  .hero-secondary {
    padding: 0 0.35rem;
  }

  .hero-actions {
    flex-wrap: wrap;
    row-gap: 0.15rem;
    max-width: min(100%, 20rem);
  }

  .hero-action {
    font-size: clamp(0.66rem, 2.85vw, 0.8rem);
    padding: 0.35rem 0.12rem;
  }

  .hero-action-sep {
    padding: 0 0.22rem;
    font-size: 0.8rem;
  }

  .hero-scroll-hint {
    margin-top: 0;
    padding: 0.15rem 1rem 0.5rem;
    flex-shrink: 0;
  }

  .hero-scroll-hint__icon {
    width: 26px;
    height: 26px;
    animation-name: hero-scroll-drop-compact;
  }

  .panel-inner {
    padding: 2.5rem 0;
  }

  html:lang(ru) #research .panel-title {
    font-size: clamp(2.05rem, 9.5vw, 2.75rem);
    letter-spacing: -0.02em;
  }

  .panel-bg {
    opacity: 0.3;
  }

  .panel-bg-shape:nth-child(n+5) { display: none; }

  .methods-shell {
    width: min(960px, 92vw);
    margin-inline: auto;
  }

  .methods-split {
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .methods-split .panel-index {
    order: 1;
  }

  .methods-split .panel-title {
    order: 2;
    margin-bottom: 1.25rem;
  }

  .methods-split .panel-body {
    order: 3;
  }

  .methods-visual {
    order: 4;
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    max-width: none;
    margin-inline: 0;
    margin-top: 2rem;
    align-self: stretch;
    display: none;
  }

  .methods-visual.section-enter {
    transform-origin: right center;
  }

  .methods-visual-frame {
    height: auto;
    min-height: 0;
    width: 100%;
    justify-content: center;
  }

  .methods-format-img {
    width: 100%;
    height: auto;
    max-width: none;
    transform: scale(1.2);
    transform-origin: center top;
  }

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

  .approach-block {
    margin-top: 2.25rem;
    padding-top: 2.25rem;
  }

  .approach-intro {
    margin-bottom: 1.1rem;
  }

  .background-showcase-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .background-showcase--carousel .background-showcase-stage {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 0.75rem;
    min-height: 0;
    padding-bottom: 0.15rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .background-showcase--carousel .background-showcase-stage::-webkit-scrollbar {
    display: none;
  }

  .background-showcase--carousel .background-showcase-card {
    position: relative;
    inset: auto;
    flex: 0 0 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-height: clamp(17.5rem, 58vw, 21rem);
  }

  .background-showcase-nav::-webkit-scrollbar {
    display: none;
  }

  .background-showcase-tab {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .background-showcase-tab-label {
    max-width: 11rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .background-showcase-stage {
    min-height: 18.5rem;
  }

  .background-showcase-lines {
    width: 88%;
    inset: -4% -8% auto auto;
    opacity: 0.85;
  }

  .connect-form input,
  .connect-form select,
  .connect-form textarea {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  :root {
    --hero-clearance: 1rem;
  }

  .hero--mosaic {
    padding-inline: 0.75rem;
    padding-bottom: 2.5rem;
  }

  .hero-profile {
    width: clamp(168px, 48vw, 220px);
    margin: 0.5rem auto 1rem;
  }

  .hero-headline {
    font-size: clamp(1.4rem, 7.6vw, 1.88rem);
    line-height: 0.98;
  }

  .hero-tagline {
    font-size: clamp(0.92rem, 4.1vw, 1rem);
  }

  .hero-intro {
    font-size: 0.9rem;
    line-height: 1.58;
  }

  .hero-tag {
    font-size: 0.68rem;
  }

  .hero-cta {
    max-width: 100%;
    font-size: 0.8rem;
  }

  .panel-title { font-size: clamp(2.5rem, 14vw, 3.5rem); }

  html:lang(ru) #research .panel-title {
    font-size: clamp(1.72rem, 8.2vw, 2.25rem);
  }
}

@media (max-width: 360px) {
  .hero-profile {
    width: clamp(156px, 46vw, 200px);
  }

  .hero-headline {
    font-size: 1.32rem;
    line-height: 1;
  }

  .hero-tagline {
    font-size: 0.88rem;
  }

  .hero-intro {
    font-size: 0.86rem;
  }

  html:lang(ru) #research .panel-title {
    font-size: clamp(1.58rem, 7.6vw, 2rem);
  }
}

@media (max-width: 768px) and (max-height: 740px) {
  :root {
    --hero-clearance: 0.9rem;
  }

  .hero--mosaic {
    justify-content: flex-start;
    padding-bottom: 2rem;
  }

  .hero-profile {
    width: clamp(160px, 44vw, 210px);
    margin: 0.35rem auto 0.85rem;
  }
}

@media (max-width: 768px) and (orientation: landscape) {
  :root {
    --hero-clearance: 0.8rem;
  }

  .hero--mosaic {
    justify-content: flex-start;
    padding-bottom: 1.75rem;
  }

  .hero-profile {
    width: clamp(140px, 28vw, 180px);
    margin: 0.35rem auto 0.75rem;
  }

  .hero-headline {
    font-size: clamp(1.35rem, 4.5vw, 1.75rem);
    margin-bottom: 0.5rem;
  }

  .hero-tagline,
  .hero-intro,
  .hero-secondary,
  .hero-tags {
    margin-bottom: 0.75rem;
  }
}

@keyframes hero-scroll-drop-compact {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(9px);
  }
}

html:lang(ru) .hero-intro {
  line-height: 1.56;
}

@media (min-width: 769px) {
  html:lang(ru) .hero--mosaic {
    justify-content: flex-start;
    padding-bottom: 3.25rem;
  }

  html:lang(ru) .hero-intro {
    font-size: clamp(0.96rem, 1.65vw, 1.08rem);
    margin-bottom: 0.9rem;
  }

  html:lang(ru) .hero-profile {
    width: clamp(200px, 22vw, 290px);
    margin-bottom: 1.1rem;
  }

  html:lang(ru) .hero-tagline {
    margin-bottom: 0.85rem;
  }

  html:lang(ru) .hero-secondary {
    margin-bottom: 0.7rem;
  }

  html:lang(ru) .hero-action {
    font-size: clamp(0.74rem, 1.3vw, 0.86rem);
  }

  html:lang(ru) .hero-scroll-hint {
    margin-top: 0.15rem;
    padding-bottom: 0.35rem;
  }
}

@media (max-width: 768px) {
  html:lang(ru) .hero-intro {
    font-size: clamp(0.86rem, 3.35vw, 0.96rem);
    line-height: 1.52;
    margin-bottom: 0.7rem;
  }

  html:lang(ru) .hero-profile {
    width: clamp(158px, 44vw, 210px);
    margin: 0.25rem auto 0.7rem;
  }

  html:lang(ru) .hero-tagline {
    font-size: clamp(0.9rem, 3.6vw, 1.02rem);
    margin-bottom: 0.35rem;
  }

  html:lang(ru) .hero-tagline-line + .hero-tagline-line {
    margin-top: 0.08rem;
  }

  html:lang(ru) .hero-secondary {
    margin-bottom: 0.55rem;
  }

  html:lang(ru) .hero-actions {
    max-width: min(100%, 22.5rem);
  }

  html:lang(ru) .hero-action {
    font-size: clamp(0.6rem, 2.55vw, 0.72rem);
    padding: 0.28rem 0.08rem;
  }

}

@media (max-width: 768px) and (orientation: landscape) {
  html:lang(ru) .hero--mosaic {
    padding-bottom: 2rem;
  }

  html:lang(ru) .hero-profile {
    width: clamp(128px, 26vw, 168px);
    margin-bottom: 0.5rem;
  }

  html:lang(ru) .hero-intro {
    font-size: 0.82rem;
    line-height: 1.48;
    margin-bottom: 0.5rem;
  }

  html:lang(ru) .hero-secondary {
    margin-bottom: 0.4rem;
  }
}

/* ─── Footer ─── */
.site-footer {
  padding: 2rem 0 2.5rem;
  background: var(--bg);
}

.site-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.site-footer-social {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 1.35rem;
}

.site-footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.45rem;
  margin: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-light);
  text-align: center;
  line-height: 1.5;
}

.site-footer-meta-sep {
  opacity: 0.55;
  user-select: none;
}

.site-footer-meta-link {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer-meta-link:hover {
  color: var(--text);
}

.site-footer-meta-link--btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.site-footer-copy {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-light);
  text-align: center;
}

.site-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--header-nav-font);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  transition: color 0.2s ease;
}

.site-footer-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.site-footer-link:hover {
  color: var(--logo-blue);
}

.site-footer-link--btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.site-footer-links-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.65rem 1.1rem;
}

.form-privacy {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 1rem;
  max-width: 36rem;
}

.form-privacy a {
  color: var(--text);
  text-underline-offset: 0.15em;
}

.cookie-consent {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 10001;
  padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 32px rgba(40, 40, 40, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.cookie-consent__inner {
  width: min(960px, 100%);
  margin-inline: auto;
}

.cookie-consent__title {
  font-family: var(--header-nav-font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.cookie-consent__body {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.cookie-consent__link {
  color: var(--text);
  text-underline-offset: 0.12em;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cookie-consent__btn {
  font-family: var(--header-nav-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  cursor: pointer;
  border: 1px solid rgba(40, 40, 40, 0.14);
}

.cookie-consent__btn--ghost {
  background: transparent;
  color: var(--text-muted);
}

.cookie-consent__btn--primary {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.legal-page {
  padding: calc(var(--header-h) + 2.5rem) 0 3.5rem;
  min-height: 100vh;
}

.legal-page__inner {
  max-width: 42rem;
}

.legal-page__eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.65rem;
}

.legal-page__title {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.05;
  margin-bottom: 0.35rem;
}

.legal-page__updated {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.legal-section {
  margin-bottom: 1.75rem;
}

.legal-section h2 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.55rem;
}

.legal-section p {
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.legal-section code {
  font-family: var(--mono);
  font-size: 0.86em;
}

.legal-page__cookie-btn {
  margin-top: 0.35rem;
  font-family: var(--header-nav-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: #fff;
  border: 1px solid rgba(40, 40, 40, 0.14);
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  cursor: pointer;
}

.legal-page__back {
  margin-top: 2.5rem;
  font-size: 0.92rem;
}

.legal-page__back a {
  color: var(--text);
}

html.cookie-banner-open body {
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* ─── Blog (journal + article) ─── */
.blog-page {
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  min-height: 100vh;
}

.blog-shell {
  width: min(960px, 92vw);
  margin-inline: auto;
}

.blog-shell--journal {
  width: min(1040px, 92vw);
}

.blog-shell--article {
  width: min(720px, 84vw);
  padding-inline: clamp(1.5rem, 6vw, 4.5rem);
}

.blog-eyebrow {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.85rem;
}

.blog-page-title {
  font-family: var(--display);
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  max-width: 16ch;
}

.blog-journal-intro,
.blog-journal-description {
  max-width: 42ch;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.blog-journal-intro {
  margin-bottom: 0;
  max-width: 36ch;
  font-size: 0.98rem;
}

.blog-journal-description {
  margin-top: 0.75rem;
}

/* ─── Journal index (minimal agency grid) ─── */
.blog-journal-header {
  margin-bottom: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.blog-journal-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.5rem;
  margin-top: 1.75rem;
  margin-bottom: clamp(2rem, 5vw, 2.75rem);
}

.blog-journal-filter {
  appearance: none;
  background: none;
  border: none;
  padding: 0.2rem 0;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}

.blog-journal-filter:hover {
  color: var(--text-muted);
}

.blog-journal-filter.is-active {
  color: var(--text);
}

.blog-journal-filter.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.15rem;
  height: 1px;
  background: currentColor;
}

.blog-journal {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.35rem, 3vw, 2rem) clamp(1.15rem, 2.5vw, 1.75rem);
}

.blog-journal-item {
  border: none;
  min-width: 0;
}

.blog-journal-item[hidden] {
  display: none;
}

.blog-journal-link {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.blog-journal-copy {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0 0.1rem;
}

.blog-journal-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.blog-journal-meta-sep {
  color: var(--text-light);
  font-size: 0.75rem;
  line-height: 1;
}

.blog-journal-category {
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-light);
}

.blog-journal-item[data-category="Reflection"] .blog-journal-category {
  color: var(--pink-deep);
}

.blog-journal-item[data-category="Relationships"] .blog-journal-category {
  color: var(--cyan-deep);
}

.blog-journal-item[data-category="Well-being"] .blog-journal-category {
  color: var(--peach-deep);
}

.blog-journal-date {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--text-muted);
  font-weight: 500;
}

.blog-journal-read-time {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
}

.blog-journal-title {
  font-family: var(--display);
  font-size: clamp(1.08rem, 2.1vw, 1.35rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.025em;
  margin: 0;
  transition: color 0.22s var(--ease);
}

.blog-journal-link:hover .blog-journal-title,
.blog-journal-link:focus-visible .blog-journal-title {
  color: var(--text-muted);
}

.blog-journal-description {
  max-width: none;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-journal-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 4 / 3;
  background: color-mix(in srgb, var(--border) 40%, var(--bg-hero));
  transition: box-shadow 0.45s var(--ease);
}

.blog-journal-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease), filter 0.45s var(--ease);
}

.blog-journal-link:hover .blog-journal-media,
.blog-journal-link:focus-visible .blog-journal-media {
  box-shadow: 0 14px 36px rgba(40, 40, 40, 0.12);
}

.blog-journal-link:hover .blog-journal-media img,
.blog-journal-link:focus-visible .blog-journal-media img {
  transform: scale(1.07);
  filter: brightness(1.04) contrast(1.03);
}

.blog-journal-item--featured {
  grid-column: 1 / -1;
}

.blog-journal-item--featured .blog-journal-link {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}

.blog-journal-item--featured .blog-journal-media {
  aspect-ratio: 16 / 10;
}

.blog-journal-item--featured .blog-journal-title {
  font-size: clamp(1.45rem, 3.2vw, 2.15rem);
  line-height: 1.12;
  max-width: 18ch;
}

.blog-journal-item--featured .blog-journal-description {
  -webkit-line-clamp: 3;
  font-size: 0.96rem;
  max-width: 42ch;
}

.blog-journal-item--upcoming .blog-journal-link--upcoming {
  cursor: default;
}

.blog-journal-item--upcoming .blog-journal-media img {
  filter: grayscale(1);
}

.blog-journal-item--upcoming .blog-journal-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.28);
  pointer-events: none;
}

.blog-journal-watermark {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  font-family: var(--display);
  font-size: clamp(1.1rem, 2.8vw, 1.65rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.blog-journal-item--upcoming .blog-journal-title,
.blog-journal-item--upcoming .blog-journal-description {
  color: var(--text-light);
}

.blog-journal-item--upcoming .blog-journal-link:hover .blog-journal-title,
.blog-journal-item--upcoming .blog-journal-link:hover .blog-journal-media img {
  color: var(--text-light);
  transform: none;
}

.blog-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  margin-bottom: 2rem;
  transition: color 0.2s ease;
}

.blog-back:hover {
  color: var(--text);
}

.blog-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-bottom: 1.25rem;
}

.blog-article-tag {
  display: inline-block;
  padding: 0.22rem 0.62rem;
  border-radius: 999px;
  background: var(--pink);
  font-family: var(--nav);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
}

.blog-article-tag--reflection {
  background: var(--pink);
}

.blog-article-tag--relationships {
  background: var(--cyan);
}

.blog-article-tag--wellbeing {
  background: var(--yellow);
}

.blog-article-meta-sep {
  color: var(--text-light);
  font-size: 0.75rem;
  line-height: 1;
}

.blog-article-meta time {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--text-muted);
  font-weight: 500;
}

.blog-article-meta .blog-article-read-time {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
}

.blog-article-meta .blog-article-read-time {
  margin: 0;
}

.blog-article-cover {
  margin-bottom: 2rem;
  border-radius: 1.1rem;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--cyan);
}

.blog-article-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-article-title {
  font-family: var(--display);
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}

.blog-article-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text);
}

.blog-article-content figure,
.blog-article-content .blog-article-figure {
  margin: 2rem 0 0.75rem;
  background: none;
}

.blog-article-content figure img,
.blog-article-content .blog-article-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 1rem;
}

.blog-article-figure-caption,
.blog-article-content figcaption {
  margin: 0 0 2rem;
  padding: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-light);
}

.blog-article-content p {
  margin-bottom: 1.35rem;
}

.blog-article-content h2 {
  font-family: var(--display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 2.5rem 0 1rem;
}

.blog-article-content em {
  font-style: italic;
}

.blog-article-read-time {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin: -1.25rem 0 1.25rem;
}

.blog-article-author {
  display: grid;
  grid-template-columns: 6.25rem minmax(0, 1fr);
  gap: 0 0.95rem;
  align-items: start;
  margin: 0 0 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.blog-article-author-photo {
  grid-row: 1 / span 3;
  width: 6.25rem;
  height: 6.25rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  border: 2px solid var(--border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  margin-top: 0.1rem;
}

.blog-article-author-text {
  min-width: 0;
}

.blog-article-author-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.35rem;
}

.blog-article-author-roles {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
  line-height: 1.45;
}

.blog-article-author-bio {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
  max-width: none;
}

@media (max-width: 540px) {
  .blog-article-author {
    grid-template-columns: 4.75rem minmax(0, 1fr);
    gap: 0 0.75rem;
  }

  .blog-article-author-photo {
    grid-row: auto;
    width: 4.75rem;
    height: 4.75rem;
  }

  .blog-article-author-name,
  .blog-article-author-roles {
    grid-column: 2;
  }

  .blog-article-author-bio {
    grid-column: 1 / -1;
    margin-top: 0.5rem;
  }
}

.blog-engage {
  margin: 2.25rem 0 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.blog-engage__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 0.65rem 0.85rem;
}

.blog-share,
.blog-subscribe {
  position: relative;
}

.blog-subscribe__menu {
  min-width: min(18rem, 88vw);
  padding: 0.85rem 0.9rem 0.95rem;
}

.blog-subscribe__form {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.blog-subscribe__label {
  font-family: var(--header-nav-font);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.blog-subscribe__input {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 0.55rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.85);
  font-family: var(--body);
  font-size: 0.92rem;
  color: var(--text);
}

.blog-subscribe__input:focus {
  outline: 2px solid rgba(30, 58, 95, 0.35);
  outline-offset: 1px;
  border-color: rgba(30, 58, 95, 0.25);
}

.blog-subscribe__privacy {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--text-light);
}

.blog-subscribe__privacy a {
  color: var(--logo-blue);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.blog-subscribe__submit {
  width: 100%;
  margin-top: 0.15rem;
  justify-content: center;
}

.blog-subscribe__submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.blog-share__menu {
  position: absolute;
  z-index: 20;
  left: 50%;
  bottom: calc(100% + 0.45rem);
  transform: translateX(-50%);
  min-width: 11.5rem;
  padding: 0.35rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--bg);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.blog-share__menu[hidden] {
  display: none;
}

.blog-share__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-engage__icon {
  flex-shrink: 0;
  display: block;
}

.blog-engage__btn .blog-engage__icon {
  width: 1.05rem;
  height: 1.05rem;
}

.blog-share__option .blog-engage__icon {
  width: 1.05rem;
  height: 1.05rem;
  opacity: 0.88;
}

.blog-share__option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.55rem 0.85rem;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  font-family: var(--header-nav-font);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: left;
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.blog-share__option:hover {
  background: var(--bg-hero);
  color: var(--logo-blue);
}

.blog-engage--journal {
  margin: 2.5rem 0 0;
}

.blog-engage__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.35rem;
  padding: 0.45rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.55);
  font-family: var(--header-nav-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.blog-engage__btn:hover {
  color: var(--logo-blue);
  border-color: rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.85);
}

.blog-engage__btn--link {
  appearance: none;
}

.blog-engage__status {
  flex: 1 1 100%;
  margin: 0;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--text-light);
  text-align: center;
}

.blog-article-toc {
  margin-bottom: 2.5rem;
  padding: 1.35rem 1.5rem;
  border-radius: 1rem;
  background: var(--bg-hero);
  border: 1px solid var(--border);
}

.blog-article-toc-title {
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.blog-article-toc ol {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.blog-article-toc a {
  display: inline;
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 500;
  color: var(--logo-blue);
  text-decoration: underline;
  text-decoration-color: rgba(30, 58, 95, 0.42);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
  text-decoration-skip-ink: auto;
  transition:
    color 0.2s ease,
    text-decoration-color 0.2s ease;
}

.blog-article-toc a:hover {
  color: var(--peach-deep);
  text-decoration-color: currentColor;
}

.blog-article-toc a:focus-visible {
  outline: 2px solid var(--logo-blue);
  outline-offset: 3px;
  border-radius: 2px;
}

.blog-callout {
  margin: 2rem 0;
  padding: 1.25rem 1.35rem;
  border-radius: 0.85rem;
  border: 1px solid var(--border);
}

.blog-callout-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.blog-callout p:last-child {
  margin-bottom: 0;
}

.blog-callout--takeaway {
  background: rgba(238, 202, 212, 0.35);
  border-color: rgba(224, 180, 194, 0.55);
}

.blog-callout--takeaway .blog-callout-label {
  color: var(--pink-deep);
}

.blog-callout--science {
  background: rgba(197, 232, 239, 0.35);
  border-color: rgba(176, 220, 232, 0.55);
}

.blog-callout--science .blog-callout-label {
  color: var(--cyan-deep);
}

.blog-callout--try {
  background: rgba(245, 230, 184, 0.4);
  border-color: rgba(237, 216, 150, 0.6);
}

.blog-callout--try .blog-callout-label {
  color: var(--peach-deep);
}

.blog-pullquote {
  margin: 2rem 0;
  padding-left: 1.25rem;
  border-left: 3px solid var(--peach);
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--text-muted);
}

.blog-pullquote p {
  margin-bottom: 0.65rem;
}

.blog-pullquote cite {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
}

.blog-article-content h3 {
  font-family: var(--display);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 500;
  line-height: 1.3;
  margin: 1.75rem 0 0.65rem;
}

.blog-article-content ul,
.blog-article-content ol {
  margin: 0 0 1.35rem 1.25rem;
  padding-left: 0.5rem;
}

.blog-article-content li {
  margin-bottom: 0.5rem;
  line-height: 1.75;
}

.blog-faq {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.blog-references {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.blog-references h3 {
  margin-top: 1.75rem;
}

.blog-references h3:first-child {
  margin-top: 0;
}

.blog-references ul {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

.blog-references li {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.blog-article-cta {
  margin-top: 2.5rem;
  padding: 1.75rem 1.5rem;
  border-radius: 1rem;
  background: var(--bg-hero);
  border: 1px solid var(--border);
}

.blog-article-cta p:last-child {
  margin-bottom: 0;
}

.blog-article-cta a {
  color: var(--logo-blue);
  font-weight: 500;
}

@media (max-width: 768px) {
  .blog-page {
    padding-top: calc(var(--header-h) + 2rem);
  }

  .blog-shell--article {
    width: min(100%, 92vw);
    padding-inline: 1.25rem;
  }

  .blog-journal-filters {
    gap: 0.35rem 1.25rem;
    margin-bottom: 2rem;
  }

  .blog-journal {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .blog-journal-item--featured .blog-journal-link {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .blog-journal-item--featured .blog-journal-title {
    max-width: none;
    font-size: clamp(1.35rem, 6.5vw, 1.85rem);
  }
}
