:root {
  --bg: #080808;
  --panel: #111111;
  --panel-2: #15110f;
  --text: #f4f0ea;
  --muted: #b8aea2;
  --dim: #7c746c;
  --beige: #d6b98c;
  --red: #d72638;
  --red-dark: #9e1b2b;
  --line: rgba(214, 185, 140, .18);
  --shadow: 0 24px 80px rgba(0,0,0,.55);
  --radius: 28px;
  --container: 1140px;
  --pad-x: clamp(20px, 4vw, 64px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 75% 5%, rgba(215,38,56,.12), transparent 28rem),
    radial-gradient(circle at 10% 15%, rgba(214,185,140,.08), transparent 26rem),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  letter-spacing: -.015em;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
strong { color: var(--text); }

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 999;
  padding: .75rem 1rem;
  background: var(--text);
  color: var(--bg);
  border-radius: 999px;
  transform: translateY(-150%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 14px var(--pad-x);
  background: linear-gradient(to bottom, rgba(8,8,8,.88), rgba(8,8,8,.62), rgba(8,8,8,0));
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
}
.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.5));
}
.brand strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1;
}
.brand small {
  display: block;
  margin-top: .18rem;
  color: var(--red);
  letter-spacing: .32em;
  text-transform: uppercase;
  font-size: .72rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.6rem);
  color: var(--muted);
  font-size: .95rem;
}
.site-nav a { transition: color .18s ease; }
.site-nav a:hover { color: var(--text); }
.menu-toggle { display: none; }

.section {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(84px, 12vw, 156px) var(--pad-x);
}
.section--center {
  min-height: 100svh;
  display: grid;
  place-content: center;
}

.section-heading {
  max-width: 840px;
  margin-bottom: clamp(36px, 6vw, 72px);
}
.section-kicker,
.eyebrow {
  margin: 0 0 1.2rem;
  color: var(--beige);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.eyebrow span { color: var(--red); }
.section-heading h2,
.final-screen h2 {
  margin: 0;
  font-size: clamp(2.25rem, 7vw, 5.75rem);
  line-height: .98;
  letter-spacing: -.08em;
}
.section-heading p + h2 { margin-top: .4rem; }

.hero {
  max-width: none;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .92fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding-top: 106px;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute;
  left: var(--pad-x);
  right: var(--pad-x);
  bottom: 0;
  height: 1px;
  background: var(--line);
}
.hero__copy {
  max-width: 720px;
  justify-self: end;
}
.hero h1 {
  margin: 0;
  font-size: clamp(4.1rem, 11vw, 10.5rem);
  line-height: .82;
  letter-spacing: -.095em;
  text-wrap: balance;
}
.hero h1 span {
  display: block;
  color: var(--red);
}
.hero__statement {
  position: relative;
  margin: clamp(2rem, 5vw, 3.6rem) 0 1.1rem;
  padding-top: 1.65rem;
  font-size: clamp(1.4rem, 3vw, 2.35rem);
  line-height: 1.12;
}
.hero__statement::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 2px;
  background: var(--red);
}
.hero__intro {
  max-width: 540px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.28rem);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.3rem;
}

.hero__visual {
  position: relative;
  justify-self: start;
  width: min(48vw, 620px);
  min-width: 0;
  flex: 0 1 auto;
}
.mascot-frame {
  position: relative;
  transform-origin: 50% 5%;
  width: 100%;
}
.mascot-frame--hero {
  animation: gentleSwing 7s ease-in-out infinite;
  filter: drop-shadow(0 28px 70px rgba(0,0,0,.8));
  aspect-ratio: 400 / 660;
}
.mascot-frame--hero::before {
  content: "";
  position: absolute;
  inset: 14% 10% 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215,38,56,.16), transparent 55%);
  z-index: -1;
  filter: blur(18px);
}
.pulse-heart {
  position: absolute;
  left: 52%;
  top: 50.5%;
  width: 11%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(215,38,56,.3);
  filter: blur(16px);
  transform: translate(-50%, -50%);
  animation: heartPulse 1.9s ease-in-out infinite;
  pointer-events: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 1.28rem;
  border-radius: 16px;
  font-weight: 800;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  border: 1px solid var(--line);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 18px 40px rgba(215,38,56,.22);
}
.btn--ghost {
  color: var(--text);
  background: rgba(255,255,255,.02);
}
.btn--ghost:hover { border-color: rgba(214,185,140,.42); }
.btn--large { min-height: 64px; padding-inline: 1.6rem; }

.woo-companion {
  position: fixed;
  left: clamp(14px, 2vw, 28px);
  bottom: 95px;
  z-index: 40;
  width: 82px;
  height: 96px;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}
.woo-companion.is-visible {
  opacity: .92;
  transform: translateY(0);
}
.woo-companion img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 15px 28px rgba(0,0,0,.72));
}
.progress-pin {
  position: absolute;
  width: 4px;
  height: 22px;
  border-radius: 99px;
  background: linear-gradient(var(--beige), #34302a);
  transform-origin: 50% 50%;
  transition: transform .65s cubic-bezier(.2,.8,.2,1), opacity .65s ease;
}
.progress-pin::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: var(--red);
  box-shadow: 0 0 0 2px rgba(0,0,0,.2), 0 0 16px rgba(215,38,56,.5);
}
.progress-pin--1 { left: 16px; top: 12px; rotate: -42deg; }
.progress-pin--2 { left: 59px; top: 15px; rotate: 38deg; }
.progress-pin--3 { left: 11px; top: 48px; rotate: 70deg; }
.progress-pin--4 { left: 64px; top: 46px; rotate: -64deg; }
.progress-pin--5 { left: 28px; top: 70px; rotate: 24deg; }
.progress-pin--6 { left: 58px; top: 70px; rotate: -28deg; }
.woo-companion[data-progress="1"] .progress-pin--1,
.woo-companion[data-progress="2"] .progress-pin--1,
.woo-companion[data-progress="2"] .progress-pin--2,
.woo-companion[data-progress="3"] .progress-pin--1,
.woo-companion[data-progress="3"] .progress-pin--2,
.woo-companion[data-progress="3"] .progress-pin--3,
.woo-companion[data-progress="4"] .progress-pin--1,
.woo-companion[data-progress="4"] .progress-pin--2,
.woo-companion[data-progress="4"] .progress-pin--3,
.woo-companion[data-progress="4"] .progress-pin--4,
.woo-companion[data-progress="5"] .progress-pin--1,
.woo-companion[data-progress="5"] .progress-pin--2,
.woo-companion[data-progress="5"] .progress-pin--3,
.woo-companion[data-progress="5"] .progress-pin--4,
.woo-companion[data-progress="5"] .progress-pin--5,
.woo-companion[data-progress="6"] .progress-pin {
  opacity: 0;
  transform: translateY(48px) rotate(80deg) scale(.7);
}

.manifest {
  max-width: 1000px;
}
.manifest-lines {
  display: grid;
  gap: clamp(1.4rem, 4vw, 3rem);
}
.manifest-lines p {
  margin: 0;
  font-size: clamp(2.15rem, 8vw, 7.2rem);
  line-height: .98;
  letter-spacing: -.08em;
  color: rgba(244,240,234,.92);
  text-wrap: balance;
}
.manifest-lines span { color: var(--red); }

.text-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}
.text-grid p,
.chapter,
.method-card,
.info-card,
.place-card,
.price-card,
.contact-card,
.contact-form,
.rules-grid,
.text-flow {
  background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.text-grid p {
  margin: 0;
  padding: clamp(1.1rem, 2.5vw, 2rem);
  color: var(--muted);
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
}
.text-grid strong { color: var(--beige); }

.story,
.teaching,
.about,
.specialization,
.expensive,
.vision,
.unconventional,
.summer {
  display: grid;
  gap: clamp(1rem, 2vw, 1.3rem);
}
.chapter {
  padding: clamp(1.45rem, 4vw, 3.4rem);
}
.chapter h3,
.method-card h3,
.info-card h3,
.place-card h3,
.price-card h3,
.text-flow h3 {
  margin: 0 0 1.1rem;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  line-height: 1.05;
  letter-spacing: -.055em;
}
.chapter p,
.method-card p,
.info-card p,
.place-card li,
.text-flow p,
.rules p,
.offer-note,
.contact-lead {
  color: var(--muted);
  font-size: clamp(1rem, 1.9vw, 1.18rem);
}
blockquote {
  margin: 1.4rem 0;
  padding-left: 1.3rem;
  border-left: 2px solid var(--red);
  color: var(--text);
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 1.22;
  letter-spacing: -.05em;
}
.quote-card { background: linear-gradient(145deg, rgba(215,38,56,.12), rgba(255,255,255,.025)); }

.sticky-heading {
  position: sticky;
  top: 94px;
  align-self: start;
  z-index: 2;
  background: linear-gradient(to bottom, rgba(8,8,8,.9), rgba(8,8,8,.55), transparent);
  padding-top: .1rem;
}
.method-card {
  min-height: min(68svh, 680px);
  display: grid;
  align-content: center;
  padding: clamp(1.5rem, 4vw, 4rem);
}
.method-card .lead,
.pullquote {
  color: var(--text);
  font-size: clamp(1.35rem, 3.2vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -.06em;
}
.pullquote { margin-top: 1.4rem; color: var(--beige); }

.about-grid,
.price-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}
.info-card,
.place-card,
.price-card,
.contact-card,
.contact-form {
  padding: clamp(1.25rem, 3vw, 2.4rem);
}
.info-card:nth-child(2),
.info-card:nth-child(4) { transform: translateY(2rem); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 1.1rem;
  align-items: start;
}
.split > div:first-child {
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border-left: 2px solid var(--red);
}
.place-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.price-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.price-card--featured {
  border-color: rgba(215,38,56,.45);
  background: linear-gradient(145deg, rgba(215,38,56,.16), rgba(255,255,255,.02));
}
.price {
  margin: 1.2rem 0;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  line-height: .85;
  letter-spacing: -.085em;
  color: var(--text);
}
.offer-note { margin-top: 1.6rem; }

.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
}
.rules-grid div {
  padding: clamp(1.1rem, 3vw, 2.2rem);
  border-right: 1px solid var(--line);
}
.rules-grid div:last-child { border-right: 0; }
.rules-grid strong,
.rules-grid span {
  display: block;
}
.rules-grid strong { color: var(--muted); font-size: .95rem; }
.rules-grid span {
  margin-top: .65rem;
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -.08em;
  color: var(--text);
}
.rules > p { margin-top: 1.2rem; }

.text-flow {
  padding: clamp(1.5rem, 4vw, 3.6rem);
  max-width: 920px;
}
.text-flow p { max-width: 76ch; }
.text-flow--large p { font-size: clamp(1.2rem, 3vw, 2rem); color: var(--text); }
.subblock { margin-top: 1.1rem; }

.final-screen {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  max-width: 980px;
}
.final-screen p {
  color: var(--muted);
  font-size: clamp(1.2rem, 3vw, 2rem);
}
.final-mascot {
  width: clamp(132px, 22vw, 220px);
  margin-bottom: 1.6rem;
  filter: drop-shadow(0 22px 60px rgba(215,38,56,.18));
}
.final-manifest { color: var(--text) !important; }

.contact { padding-bottom: clamp(120px, 16vw, 200px); }
.contact-lead { max-width: 660px; }
.contact-card span {
  display: block;
  color: var(--muted);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: .55rem;
}
.contact-link {
  display: inline-block;
  color: var(--text);
  font-size: clamp(1.25rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -.05em;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}
.contact-link::after {
  content: "";
  display: block;
  width: 52px;
  height: 2px;
  margin-top: .45rem;
  background: var(--red);
}
.contact-form {
  margin-top: 1.1rem;
  display: grid;
  gap: 1rem;
}
.contact-form label {
  display: grid;
  gap: .45rem;
  color: var(--muted);
  font-weight: 700;
}
input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(0,0,0,.25);
  color: var(--text);
  padding: 1rem;
  font: inherit;
  outline: none;
}
input:focus,
textarea:focus { border-color: rgba(215,38,56,.7); }
.form-note {
  color: var(--dim);
  font-size: .9rem;
}
.is-hidden { display: none; }

.mobile-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 90;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  background: rgba(8,8,8,.78);
  border: 1px solid var(--line);
  border-radius: 22px;
  backdrop-filter: blur(12px);
  box-shadow: 0 22px 60px rgba(0,0,0,.55);
}
.mobile-cta a {
  min-height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-weight: 900;
}
.mobile-cta a:first-child { background: #168d37; }
.mobile-cta a:last-child { background: linear-gradient(135deg, var(--red), var(--red-dark)); }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 34px var(--pad-x);
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: .92rem;
}
.site-footer p { margin: 0; }
.site-footer a { color: var(--muted); }

[data-reveal-group] > *,
.chapter,
.method-card,
.info-card,
.price-card,
.text-flow,
.contact-card,
.contact-form {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}
[data-reveal-group] > *.is-visible,
.chapter.is-visible,
.method-card.is-visible,
.info-card.is-visible,
.price-card.is-visible,
.text-flow.is-visible,
.contact-card.is-visible,
.contact-form.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.info-card:nth-child(2).is-visible,
.info-card:nth-child(4).is-visible { transform: translateY(2rem); }

@keyframes gentleSwing {
  0%, 100% { transform: rotate(-1.2deg) translateY(0); }
  50% { transform: rotate(1.3deg) translateY(-6px); }
}
@keyframes heartPulse {
  0%, 100% { opacity: .45; transform: translate(-50%, -50%) scale(.75); }
  50% { opacity: .95; transform: translate(-50%, -50%) scale(1.18); }
}

@media (max-width: 900px) {
  .site-header { min-height: 70px; }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 1rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.03);
    color: var(--text);
    font-weight: 800;
  }
  .site-nav {
    position: fixed;
    top: 70px;
    left: var(--pad-x);
    right: var(--pad-x);
    display: grid;
    gap: .4rem;
    padding: 1rem;
    background: rgba(17,17,17,.96);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .site-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .site-nav a { padding: .9rem; }
  .hero {
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: 110px;
  }
  .hero__copy { justify-self: start; }
  .hero__visual {
    width: min(92vw, 520px);
    min-width: 0;
    justify-self: center;
    order: -1;
    margin-top: -1rem;
  }
  .hero h1 { font-size: clamp(4rem, 20vw, 7.4rem); }
  .pulse-heart { left: 52%; top: 51%; }
  .text-grid,
  .about-grid,
  .price-grid,
  .contact-grid,
  .split { grid-template-columns: 1fr; }
  .info-card:nth-child(2),
  .info-card:nth-child(4),
  .info-card:nth-child(2).is-visible,
  .info-card:nth-child(4).is-visible { transform: translateY(0); }
  .rules-grid { grid-template-columns: 1fr; }
  .rules-grid div { border-right: 0; border-bottom: 1px solid var(--line); }
  .rules-grid div:last-child { border-bottom: 0; }
  .woo-companion { display: none; }
  .mobile-cta { display: grid; }
  .site-footer {
    display: block;
    padding-bottom: 94px;
  }
  .site-footer a { display: inline-block; margin-top: 1rem; }
}

@media (max-width: 560px) {
  :root { --radius: 22px; }
  .brand { width: 46px; height: 46px; }
  .brand img { width: 40px; height: 40px; }
  .section { padding-block: 76px; }
  .hero { padding-top: 92px; }
  .hero__actions { display: grid; }
  .btn { width: 100%; }
  .manifest-lines p { font-size: clamp(2.55rem, 14vw, 4.4rem); }
  .method-card { min-height: auto; }
  .sticky-heading { position: static; }
  .contact-link { font-size: 1.35rem; }
}


/* Animation pass v2 ------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  height: 2px;
  background: rgba(214,185,140,.07);
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--red), var(--beige));
  box-shadow: 0 0 20px rgba(215,38,56,.45);
  will-change: transform;
}

.site-header {
  transition: min-height .25s ease, padding .25s ease, background .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-compact {
  min-height: 64px;
  padding-top: 8px;
  padding-bottom: 8px;
  background: rgba(8,8,8,.78);
  border-color: rgba(214,185,140,.12);
}

.hero__copy > * {
  animation: heroCopyIn .82s cubic-bezier(.18,.8,.2,1) both;
}
.hero__copy > *:nth-child(2) { animation-delay: .08s; }
.hero__copy > *:nth-child(3) { animation-delay: .16s; }
.hero__copy > *:nth-child(4) { animation-delay: .24s; }
.hero__copy > *:nth-child(5) { animation-delay: .32s; }

.hero__visual {
  perspective: 900px;
}
.mascot-frame--hero {
  will-change: transform, filter;
  transform-style: preserve-3d;
}
.mascot-frame--hero img {
  transform: translateZ(0);
  transition: filter .7s ease;
}
.hero.is-cast .mascot-frame--hero img {
  filter: saturate(1.08) contrast(1.04) drop-shadow(0 0 28px rgba(215,38,56,.18));
}

.aura-ring {
  position: absolute;
  inset: 6% -1% 1%;
  border: 1px solid rgba(214,185,140,.10);
  border-radius: 50%;
  opacity: .55;
  transform: rotate(-8deg) scale(.92);
  pointer-events: none;
  mix-blend-mode: screen;
}
.aura-ring--one { animation: auraDrift 12s linear infinite; }
.aura-ring--two {
  inset: 13% 5% 8%;
  border-color: rgba(215,38,56,.11);
  animation: auraDriftReverse 16s linear infinite;
}
.hero.is-cast .aura-ring {
  animation-duration: 1.6s;
  border-color: rgba(215,38,56,.38);
  opacity: .9;
}

.hero-pins {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-pin {
  position: absolute;
  width: .9%;
  min-width: 5px;
  height: 12%;
  border-radius: 999px;
  background: linear-gradient(#f7e5c4, #6e6254 55%, #201a16);
  transform-origin: 50% 100%;
  opacity: .95;
  filter: drop-shadow(0 0 7px rgba(0,0,0,.7));
}
.hero-pin::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -18%;
  width: 440%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 35% 30%, #ff8088, var(--red) 55%, #5c080e 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 0 18px rgba(215,38,56,.52);
}
.hero-pin--1 { left: 35.5%; top: 1.5%; rotate: -18deg; }
.hero-pin--2 { left: 66.3%; top: 2.2%; rotate: 28deg; }
.hero-pin--3 { left: 19.4%; top: 19.5%; rotate: -52deg; }
.hero-pin--4 { left: 77.8%; top: 32%; rotate: 44deg; }
.hero-pin--5 { left: 21.8%; top: 62.5%; rotate: -46deg; }
.hero-pin--6 { left: 72.5%; top: 67.8%; rotate: 36deg; }
.hero.is-cast .hero-pin {
  animation: heroPinFall 1.05s cubic-bezier(.16,.78,.22,1) both;
}
.hero.is-cast .hero-pin--1 { animation-delay: 40ms; }
.hero.is-cast .hero-pin--2 { animation-delay: 110ms; }
.hero.is-cast .hero-pin--3 { animation-delay: 180ms; }
.hero.is-cast .hero-pin--4 { animation-delay: 250ms; }
.hero.is-cast .hero-pin--5 { animation-delay: 320ms; }
.hero.is-cast .hero-pin--6 { animation-delay: 390ms; }

.spell-note {
  position: absolute;
  right: 8%;
  bottom: 12%;
  margin: 0;
  color: var(--beige);
  font-weight: 900;
  letter-spacing: -.05em;
  font-size: clamp(1.1rem, 2.5vw, 2rem);
  opacity: 0;
  transform: translateY(16px) scale(.94);
  pointer-events: none;
}
.hero.is-cast .spell-note {
  animation: spellNote 1.55s cubic-bezier(.18,.8,.2,1) both;
}

.spell-spark {
  position: fixed;
  z-index: 150;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 18px rgba(215,38,56,.7);
  pointer-events: none;
  animation: sparkFly .9s cubic-bezier(.16,.84,.22,1) forwards;
}

.btn {
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: "";
  position: absolute;
  inset: -35% auto -35% -55%;
  width: 42%;
  transform: skewX(-18deg) translateX(-120%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.32), transparent);
  transition: transform .65s ease;
}
.btn:hover::after { transform: skewX(-18deg) translateX(420%); }
.btn:active { transform: translateY(0) scale(.985); }

[data-reveal-group] > *,
.chapter,
.method-card,
.info-card,
.price-card,
.text-flow,
.contact-card,
.contact-form {
  filter: blur(8px);
  transition-delay: calc(var(--reveal-order, 0) * 45ms);
  will-change: opacity, transform, filter;
}
[data-reveal-group] > *.is-visible,
.chapter.is-visible,
.method-card.is-visible,
.info-card.is-visible,
.price-card.is-visible,
.text-flow.is-visible,
.contact-card.is-visible,
.contact-form.is-visible {
  filter: blur(0);
}
.method-card.is-visible,
.chapter.is-visible {
  animation: cardGlow .9s ease both;
}

.method-card,
.chapter,
.info-card,
.price-card,
.text-flow,
.contact-card,
.contact-form,
.text-grid p {
  transition: border-color .24s ease, background .24s ease, transform .24s ease, box-shadow .24s ease, opacity .65s ease, filter .65s ease;
}
.method-card:hover,
.chapter:hover,
.info-card:hover,
.price-card:hover,
.text-flow:hover,
.contact-card:hover,
.text-grid p:hover {
  border-color: rgba(214,185,140,.32);
  background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.024));
  box-shadow: 0 28px 88px rgba(0,0,0,.62), inset 0 0 0 1px rgba(255,255,255,.018);
}

.woo-companion {
  transition: opacity .35s ease, transform .35s ease, filter .4s ease;
}
.woo-companion::after {
  content: "";
  position: absolute;
  left: 42px;
  top: 44px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(215,38,56,.35);
  filter: blur(7px);
  opacity: .55;
  animation: companionHeart 2.2s ease-in-out infinite;
}
.woo-companion.is-awake {
  filter: drop-shadow(0 0 18px rgba(215,38,56,.18));
}
.progress-pin {
  will-change: transform, opacity;
}
.woo-companion[data-progress="1"] .progress-pin--1,
.woo-companion[data-progress="2"] .progress-pin--1,
.woo-companion[data-progress="2"] .progress-pin--2,
.woo-companion[data-progress="3"] .progress-pin--1,
.woo-companion[data-progress="3"] .progress-pin--2,
.woo-companion[data-progress="3"] .progress-pin--3,
.woo-companion[data-progress="4"] .progress-pin--1,
.woo-companion[data-progress="4"] .progress-pin--2,
.woo-companion[data-progress="4"] .progress-pin--3,
.woo-companion[data-progress="4"] .progress-pin--4,
.woo-companion[data-progress="5"] .progress-pin--1,
.woo-companion[data-progress="5"] .progress-pin--2,
.woo-companion[data-progress="5"] .progress-pin--3,
.woo-companion[data-progress="5"] .progress-pin--4,
.woo-companion[data-progress="5"] .progress-pin--5,
.woo-companion[data-progress="6"] .progress-pin {
  transform: translateY(48px) translateX(18px) rotate(110deg) scale(.7);
}
.woo-companion[data-progress="6"]::after {
  opacity: .88;
  transform: scale(1.2);
}

.final-mascot img {
  animation: finalFloat 5.8s ease-in-out infinite;
}
.final-screen.is-visible .final-mascot,
.final-screen:target .final-mascot {
  animation: finalGlow 1.2s ease both;
}

@keyframes heroCopyIn {
  from { opacity: 0; transform: translateY(24px); filter: blur(10px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes gentleSwing {
  0%, 100% { transform: translate3d(var(--mouse-x, 0px), var(--mouse-y, 0px), 0) rotate(calc(-1.1deg + var(--mouse-r, 0deg))); }
  50% { transform: translate3d(var(--mouse-x, 0px), calc(var(--mouse-y, 0px) - 7px), 0) rotate(calc(1.25deg + var(--mouse-r, 0deg))); }
}
@keyframes heartPulse {
  0%, 100% { opacity: .38; transform: translate(-50%, -50%) scale(.7); }
  42% { opacity: 1; transform: translate(-50%, -50%) scale(1.22); }
  58% { opacity: .68; transform: translate(-50%, -50%) scale(.93); }
}
@keyframes auraDrift {
  from { transform: rotate(-8deg) scale(.92); }
  to { transform: rotate(352deg) scale(.92); }
}
@keyframes auraDriftReverse {
  from { transform: rotate(12deg) scale(.95); }
  to { transform: rotate(-348deg) scale(.95); }
}
@keyframes heroPinFall {
  0% { opacity: .98; transform: translate3d(0,0,0) rotate(0deg) scale(1); }
  55% { opacity: .95; transform: translate3d(calc(var(--pin-x, 0px) + 28px), -34px, 0) rotate(-38deg) scale(1); }
  100% { opacity: 0; transform: translate3d(95px, 150px, 0) rotate(170deg) scale(.68); }
}
@keyframes spellNote {
  0% { opacity: 0; transform: translateY(18px) scale(.94); }
  26% { opacity: 1; transform: translateY(0) scale(1); }
  76% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-8px) scale(.98); }
}
@keyframes sparkFly {
  0% { opacity: 0; transform: translate3d(0,0,0) scale(.4); }
  18% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(var(--sx), var(--sy), 0) scale(.05); }
}
@keyframes cardGlow {
  0% { box-shadow: var(--shadow); }
  45% { box-shadow: 0 26px 90px rgba(0,0,0,.65), 0 0 0 1px rgba(215,38,56,.09), 0 0 34px rgba(215,38,56,.09); }
  100% { box-shadow: var(--shadow); }
}
@keyframes companionHeart {
  0%, 100% { opacity: .45; transform: scale(.78); }
  50% { opacity: .9; transform: scale(1.12); }
}
@keyframes finalFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}
@keyframes finalGlow {
  0% { filter: drop-shadow(0 22px 60px rgba(215,38,56,.18)); }
  100% { filter: drop-shadow(0 28px 84px rgba(215,38,56,.38)); }
}

@media (max-width: 900px) {
  .hero-pins { display: none; }
  .aura-ring { opacity: .24; }
  .spell-note {
    right: auto;
    left: 0;
    bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* Animation pass v3 — WooDoo as section narrator ------------------------ */
.woo-companion {
  width: 92px;
  height: 120px;
  transform-origin: 50% 100%;
}
.woo-companion__figure {
  position: relative;
  width: 92px;
  height: 92px;
  transform-origin: 50% 100%;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), filter .45s ease;
}
.woo-companion__figure::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(215,38,56,.22), transparent 62%);
  opacity: .24;
  filter: blur(12px);
  transform: scale(.88);
  transition: opacity .45s ease, transform .45s ease;
}
.woo-companion img {
  position: relative;
  z-index: 2;
  animation: companionBreathe 4.6s ease-in-out infinite;
  transition: filter .45s ease, transform .45s cubic-bezier(.2,.8,.2,1);
}
.woo-status {
  position: absolute;
  left: 78px;
  bottom: 18px;
  width: max-content;
  max-width: 230px;
  margin: 0;
  padding: .68rem .82rem;
  border: 1px solid rgba(214,185,140,.16);
  border-radius: 16px;
  background: rgba(8,8,8,.68);
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.25;
  letter-spacing: -.02em;
  box-shadow: 0 18px 46px rgba(0,0,0,.5);
  opacity: 0;
  transform: translateX(-8px) translateY(5px) scale(.96);
  transition: opacity .32s ease, transform .32s ease, color .32s ease, border-color .32s ease;
  backdrop-filter: blur(12px);
}
.woo-companion.is-visible .woo-status {
  opacity: .92;
  transform: translateX(0) translateY(0) scale(1);
}
.woo-companion.is-speaking .woo-status {
  color: var(--text);
  border-color: rgba(215,38,56,.32);
  animation: statusPulse .9s ease both;
}
.woo-orbit,
.woo-mote {
  position: absolute;
  pointer-events: none;
  opacity: 0;
}
.woo-orbit {
  inset: -8px;
  border: 1px solid rgba(214,185,140,.16);
  border-radius: 50%;
  z-index: 1;
}
.woo-orbit--1 { animation: miniOrbit 12s linear infinite; }
.woo-orbit--2 {
  inset: 4px;
  border-color: rgba(215,38,56,.12);
  animation: miniOrbitReverse 15s linear infinite;
}
.woo-mote {
  z-index: 4;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 14px rgba(215,38,56,.7);
}
.woo-mote--1 { left: 8px; top: 20px; animation: moteFloat 3.7s ease-in-out infinite; }
.woo-mote--2 { right: 4px; top: 34px; animation: moteFloat 4.2s ease-in-out .5s infinite; }
.woo-mote--3 { left: 45px; bottom: 4px; animation: moteFloat 4.8s ease-in-out 1s infinite; }

.progress-pin {
  z-index: 5;
  --drop-x: 18px;
  --drop-y: 50px;
  --drop-r: 110deg;
}
.progress-pin--1 { --drop-x: -38px; --drop-y: 55px; --drop-r: -128deg; }
.progress-pin--2 { --drop-x: 34px; --drop-y: 58px; --drop-r: 132deg; }
.progress-pin--3 { --drop-x: -46px; --drop-y: 43px; --drop-r: -98deg; }
.progress-pin--4 { --drop-x: 48px; --drop-y: 42px; --drop-r: 118deg; }
.progress-pin--5 { --drop-x: -28px; --drop-y: 62px; --drop-r: -148deg; }
.progress-pin--6 { --drop-x: 31px; --drop-y: 64px; --drop-r: 142deg; }
.woo-companion[data-progress="1"] .progress-pin--1,
.woo-companion[data-progress="2"] .progress-pin--1,
.woo-companion[data-progress="2"] .progress-pin--2,
.woo-companion[data-progress="3"] .progress-pin--1,
.woo-companion[data-progress="3"] .progress-pin--2,
.woo-companion[data-progress="3"] .progress-pin--3,
.woo-companion[data-progress="4"] .progress-pin--1,
.woo-companion[data-progress="4"] .progress-pin--2,
.woo-companion[data-progress="4"] .progress-pin--3,
.woo-companion[data-progress="4"] .progress-pin--4,
.woo-companion[data-progress="5"] .progress-pin--1,
.woo-companion[data-progress="5"] .progress-pin--2,
.woo-companion[data-progress="5"] .progress-pin--3,
.woo-companion[data-progress="5"] .progress-pin--4,
.woo-companion[data-progress="5"] .progress-pin--5,
.woo-companion[data-progress="6"] .progress-pin {
  transform: translate3d(var(--drop-x), var(--drop-y), 0) rotate(var(--drop-r)) scale(.66);
  opacity: 0;
}
.woo-companion.is-pin-drop .woo-companion__figure::before {
  animation: pinShockwave .9s ease both;
}
.woo-companion.is-pin-drop .woo-status {
  animation: statusPulse .9s ease both;
}

.pin-spark {
  position: fixed;
  z-index: 130;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--beige);
  box-shadow: 0 0 12px rgba(214,185,140,.75);
  pointer-events: none;
  animation: pinSparkFly .72s cubic-bezier(.16,.84,.22,1) forwards;
}

/* Section-specific mascot states */
.woo-companion[data-scene="manifest"] .woo-companion__figure,
.woo-companion[data-scene="understand"] .woo-companion__figure {
  transform: translateY(-2px) rotate(-2deg);
}
.woo-companion[data-scene="story"] .woo-companion__figure {
  transform: rotate(3deg);
  filter: sepia(.18);
}
.woo-companion[data-scene="mistake"] .woo-companion__figure {
  animation: companionMistake .7s cubic-bezier(.25,.85,.28,1) both;
}
.woo-companion[data-scene="tricks"] .woo-orbit,
.woo-companion[data-scene="tricks"] .woo-mote,
.woo-companion[data-scene="ai"] .woo-orbit,
.woo-companion[data-scene="ai"] .woo-mote,
.woo-companion[data-scene="final"] .woo-orbit,
.woo-companion[data-scene="final"] .woo-mote {
  opacity: .72;
}
.woo-companion[data-scene="tricks"] img {
  animation: companionTrick 2.6s ease-in-out infinite;
}
.woo-companion[data-scene="world"] .woo-companion__figure,
.woo-companion[data-scene="vision"] .woo-companion__figure {
  transform: translateY(-4px) scale(1.03);
}
.woo-companion[data-scene="offer"] .woo-companion__figure,
.woo-companion[data-scene="rules"] .woo-companion__figure,
.woo-companion[data-scene="expensive"] .woo-companion__figure {
  transform: translateY(1px) scale(.98);
  filter: drop-shadow(0 0 0 rgba(0,0,0,0));
}
.woo-companion[data-scene="final"] .woo-companion__figure,
.woo-companion[data-scene="contact"] .woo-companion__figure {
  transform: translateY(-6px) scale(1.08);
}
.woo-companion[data-scene="final"] .woo-companion__figure::before,
.woo-companion[data-scene="contact"] .woo-companion__figure::before {
  opacity: .85;
  transform: scale(1.25);
}
.woo-companion[data-scene="final"] img,
.woo-companion[data-scene="contact"] img {
  filter: drop-shadow(0 18px 36px rgba(215,38,56,.28));
}

/* Method cards: each department gets its own subtle motion language */
.method-card[data-woo-scene] {
  overflow: hidden;
  isolation: isolate;
}
.method-card[data-woo-scene]::before {
  content: "";
  position: absolute;
  right: clamp(1rem, 4vw, 3rem);
  top: clamp(1rem, 4vw, 3rem);
  width: clamp(42px, 7vw, 78px);
  aspect-ratio: 1;
  border: 1px solid rgba(214,185,140,.16);
  border-radius: 50%;
  opacity: .42;
  transform: scale(.82) rotate(-10deg);
  transition: transform .75s cubic-bezier(.2,.8,.2,1), opacity .75s ease, border-color .75s ease;
}
.method-card[data-woo-scene]::after {
  position: absolute;
  right: clamp(1.55rem, 4.5vw, 3.55rem);
  top: clamp(1.4rem, 4.3vw, 3.35rem);
  color: var(--red);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1;
  opacity: .48;
  transform: translateY(8px) scale(.86);
  transition: transform .75s cubic-bezier(.2,.8,.2,1), opacity .75s ease;
}
.method-card[data-woo-scene].is-visible::before {
  opacity: .75;
  transform: scale(1) rotate(0deg);
  border-color: rgba(215,38,56,.28);
}
.method-card[data-woo-scene].is-visible::after {
  opacity: .86;
  transform: translateY(0) scale(1);
}
.method-card[data-woo-scene="understand"]::after { content: "?"; }
.method-card[data-woo-scene="work"]::after { content: "→"; }
.method-card[data-woo-scene="mistake"]::after { content: "!"; }
.method-card[data-woo-scene="tricks"]::after { content: "✦"; }
.method-card[data-woo-scene="world"]::after { content: "○"; }
.method-card[data-woo-scene="classic"]::after { content: "∴"; }
.method-card[data-woo-scene="strategy"]::after { content: "↗"; }
.method-card[data-woo-scene="ai"]::after { content: "AI"; font-size: clamp(1.2rem, 3.2vw, 2.3rem); top: clamp(1.85rem, 4.9vw, 3.75rem); }

.scene-flash {
  animation: sceneFlash .7s ease both;
}

@keyframes companionBreathe {
  0%, 100% { transform: translateY(0) rotate(-.8deg); }
  50% { transform: translateY(-4px) rotate(.8deg); }
}
@keyframes companionMistake {
  0% { transform: translateY(0) rotate(0deg); }
  28% { transform: translateY(-6px) rotate(-9deg); }
  60% { transform: translateY(1px) rotate(5deg); }
  100% { transform: translateY(0) rotate(0deg); }
}
@keyframes companionTrick {
  0%, 100% { transform: translateY(0) rotate(-.6deg); }
  38% { transform: translateY(-7px) rotate(5deg); }
  52% { transform: translateY(-3px) rotate(-4deg); }
}
@keyframes miniOrbit {
  from { transform: rotate(0deg) scale(.92); }
  to { transform: rotate(360deg) scale(.92); }
}
@keyframes miniOrbitReverse {
  from { transform: rotate(20deg) scale(.86); }
  to { transform: rotate(-340deg) scale(.86); }
}
@keyframes moteFloat {
  0%, 100% { opacity: .15; transform: translate3d(0,0,0) scale(.7); }
  45% { opacity: .9; transform: translate3d(8px,-12px,0) scale(1); }
}
@keyframes statusPulse {
  0% { transform: translateX(0) translateY(0) scale(1); }
  42% { transform: translateX(4px) translateY(-2px) scale(1.025); }
  100% { transform: translateX(0) translateY(0) scale(1); }
}
@keyframes pinShockwave {
  0% { opacity: .24; transform: scale(.88); }
  35% { opacity: .95; transform: scale(1.45); }
  100% { opacity: .3; transform: scale(1.02); }
}
@keyframes pinSparkFly {
  0% { opacity: 0; transform: translate3d(0,0,0) scale(.5); }
  16% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(var(--psx), var(--psy), 0) scale(.08); }
}
@keyframes sceneFlash {
  0% { box-shadow: 0 0 0 0 rgba(215,38,56,0); }
  48% { box-shadow: 0 0 42px rgba(215,38,56,.12); }
  100% { box-shadow: 0 0 0 rgba(215,38,56,0); }
}

@media (max-width: 900px) {
  .hero-pins { display: block; opacity: .78; }
  .hero-pin { min-width: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .woo-status { opacity: 0 !important; }
  .hero-pins { display: none !important; }
}

/* Mobile pass v4 — dedicated phone experience -------------------------- */
@media (max-width: 900px) {
  :root {
    --pad-x: clamp(18px, 5vw, 28px);
  }

  body {
    background:
      radial-gradient(circle at 82% 3%, rgba(215,38,56,.11), transparent 18rem),
      radial-gradient(circle at 8% 12%, rgba(214,185,140,.06), transparent 18rem),
      var(--bg);
  }

  .site-header {
    min-height: 64px;
    padding-top: 10px;
    padding-bottom: 10px;
    background: linear-gradient(to bottom, rgba(8,8,8,.94), rgba(8,8,8,.74), rgba(8,8,8,.08));
  }

  .brand { width: 44px; height: 44px; }
  .brand img { width: 38px; height: 38px; }

  .hero {
    min-height: auto;
    padding-top: 92px;
    padding-bottom: 54px;
    gap: 1.15rem;
  }

  .hero__copy {
    order: -1;
    width: 100%;
  }

  .hero__visual {
    order: 0;
    width: min(76vw, 360px);
    min-width: 0;
    margin-top: .6rem;
    margin-bottom: .2rem;
  }

  .hero h1 {
    font-size: clamp(3.55rem, 18vw, 5.55rem);
    line-height: .84;
  }

  .hero__statement {
    margin-top: 1.45rem;
    font-size: clamp(1.25rem, 6vw, 1.75rem);
  }

  .hero__intro {
    font-size: 1rem;
    max-width: 34rem;
  }

  .hero__actions {
    margin-top: 1.4rem;
    gap: .75rem;
  }

  .btn {
    min-height: 52px;
    border-radius: 15px;
    font-size: .82rem;
  }

  .section {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .section--center {
    min-height: auto;
    padding-top: 92px;
    padding-bottom: 92px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section-heading h2,
  .final-screen h2 {
    font-size: clamp(2.15rem, 12vw, 4.2rem);
  }

  .text-grid {
    gap: .8rem;
  }

  .chapter,
  .method-card,
  .info-card,
  .place-card,
  .price-card,
  .contact-card,
  .contact-form,
  .text-flow,
  .text-grid p {
    border-radius: 20px;
    box-shadow: 0 18px 52px rgba(0,0,0,.42);
  }

  .chapter,
  .method-card,
  .text-flow {
    padding: 1.2rem;
  }

  .method-card {
    min-height: auto;
    align-content: start;
  }

  .method-card .lead,
  .pullquote {
    font-size: clamp(1.28rem, 7vw, 2rem);
  }

  .method-card[data-woo-scene]::before,
  .method-card[data-woo-scene]::after {
    opacity: .28;
    right: 1rem;
    top: 1rem;
  }

  .about-grid,
  .price-grid,
  .contact-grid {
    gap: .8rem;
  }

  .price-card {
    min-height: 230px;
  }

  .price {
    font-size: clamp(3.2rem, 18vw, 5.2rem);
  }

  .rules-grid span {
    font-size: clamp(2.2rem, 13vw, 4rem);
  }

  .contact {
    padding-bottom: 118px;
  }

  .mobile-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    bottom: max(10px, env(safe-area-inset-bottom));
    padding-bottom: max(8px, env(safe-area-inset-bottom));
  }

  .mobile-cta a {
    min-height: 50px;
    font-size: .95rem;
  }

  /* On phones the mascot remains as a tiny narrator above the contact bar. */
  .woo-companion {
    display: block;
    left: 10px;
    bottom: calc(78px + env(safe-area-inset-bottom));
    width: 54px;
    height: 62px;
    opacity: 0;
    transform: translateY(10px) scale(.86);
  }

  .woo-companion.is-visible {
    opacity: .68;
    transform: translateY(0) scale(.86);
  }

  .woo-companion__figure,
  .woo-companion img {
    width: 54px;
    height: 54px;
  }

  .woo-companion::after {
    left: 27px;
    top: 30px;
    width: 12px;
    height: 12px;
    filter: blur(5px);
  }

  .woo-status {
    display: none;
  }

  .progress-pin {
    transform: scale(.62);
    transform-origin: 50% 50%;
  }

  .progress-pin--1 { left: 8px; top: 4px; }
  .progress-pin--2 { left: 37px; top: 5px; }
  .progress-pin--3 { left: 4px; top: 27px; }
  .progress-pin--4 { left: 41px; top: 27px; }
  .progress-pin--5 { left: 16px; top: 43px; }
  .progress-pin--6 { left: 36px; top: 43px; }

  .woo-orbit,
  .woo-mote {
    display: none;
  }

  .final-screen {
    min-height: auto;
    padding-top: 96px;
    padding-bottom: 128px;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: clamp(3.05rem, 18vw, 4.8rem);
  }

  .eyebrow,
  .section-kicker {
    font-size: .72rem;
    letter-spacing: .18em;
  }

  .hero__visual {
    width: min(72vw, 310px);
    min-width: 0;
  }

  .manifest-lines p {
    font-size: clamp(2.2rem, 13vw, 3.55rem);
  }

  .contact-link {
    font-size: 1.2rem;
  }
}

/* v5 refinements ------------------------------------------------------- */
.chapter-menu {
  padding-top: clamp(2.8rem, 6vw, 5rem);
  padding-bottom: clamp(2.8rem, 6vw, 5rem);
}
.chapter-menu .section-heading {
  margin-bottom: 1.4rem;
}
.chapter-links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  max-width: 980px;
}
.chapter-links a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 1rem;
  border: 1px solid rgba(214,185,140,.18);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255,255,255,.035);
  box-shadow: 0 12px 36px rgba(0,0,0,.16);
  font-weight: 750;
  font-size: .92rem;
}
.chapter-links a:hover,
.chapter-links a:focus-visible {
  border-color: rgba(215,38,56,.42);
  background: rgba(215,38,56,.10);
  color: #fff;
}

/* The aura stays still; only the doll layer swings. */
.mascot-frame--hero {
  animation: none !important;
}
.doll-swing {
  position: relative;
  transform-origin: 50% 5%;
  animation: gentleSwing 7s ease-in-out infinite;
  will-change: transform;
}
.doll-swing img {
  display: block;
  width: 100%;
  height: auto;
  transform: translateZ(0);
  transition: filter .7s ease;
}
.hero.is-cast .doll-swing img {
  filter: saturate(1.08) contrast(1.04) drop-shadow(0 0 28px rgba(215,38,56,.18));
}
.mascot-frame--hero .aura-ring,
.mascot-frame--hero::before {
  animation-play-state: running;
}

@media (max-width: 900px) {
  .chapter-menu {
    padding-top: 1.4rem;
    padding-bottom: 1.8rem;
  }
  .chapter-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .6rem;
  }
  .chapter-links a {
    min-height: 44px;
    justify-content: center;
    text-align: center;
    padding: 0 .72rem;
    font-size: .82rem;
  }
}

/* v8 typography refinements ------------------------------------------------
   Better reading rhythm: controlled line lengths, centered blocks where it
   helps, no full justification, balanced headings. */
p, li, blockquote {
  text-wrap: pretty;
}
h1, h2, h3, .pullquote, .lead {
  text-wrap: balance;
}

.section-heading {
  max-width: 980px;
}
.section-heading h2,
.section-heading .section-kicker {
  max-width: 14ch;
}
.section-heading p:not(.section-kicker) {
  max-width: 62ch;
}

.chapter,
.method-card,
.info-card,
.place-card,
.price-card,
.contact-card,
.contact-form,
.text-flow,
.text-grid p {
  max-width: 980px;
}

.chapter p,
.method-card p,
.info-card p,
.text-flow p,
.rules p,
.offer-note,
.contact-lead,
.place-card li {
  max-width: 64ch;
  line-height: 1.68;
}

.method-card .lead,
.pullquote,
blockquote {
  max-width: 22ch;
  line-height: 1.12;
}

.text-flow {
  margin-right: auto;
}
.text-flow--large {
  max-width: 1040px;
}
.text-flow--large p:not(.pullquote) {
  max-width: 58ch;
  font-size: clamp(1.12rem, 2.2vw, 1.55rem);
  line-height: 1.55;
}

.text-grid {
  align-items: stretch;
}
.text-grid p {
  line-height: 1.58;
}

.about-grid .info-card p {
  max-width: 58ch;
}

.rules-grid strong,
.rules-grid span {
  text-align: center;
}

@media (min-width: 901px) {
  .name-story .section-heading,
  .offer .section-heading,
  .rules .section-heading,
  .contact .section-heading {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .name-story .section-heading h2,
  .offer .section-heading h2,
  .rules .section-heading h2,
  .contact .section-heading h2,
  .name-story .section-kicker,
  .offer .section-kicker,
  .rules .section-kicker,
  .contact .section-kicker {
    margin-left: auto;
    margin-right: auto;
  }

  .name-story .text-grid,
  .process .process-grid,
  .offer .price-grid,
  .rules .rules-grid,
  .contact .contact-grid {
    margin-left: auto;
    margin-right: auto;
  }

  .story .chapter,
  .specialization .text-flow,
  .expensive .text-flow,
  .vision .text-flow,
  .unconventional .text-flow,
  .summer .text-flow {
    margin-left: auto;
    margin-right: auto;
  }

  .specialization .section-heading,
  .expensive .section-heading,
  .vision .section-heading,
  .unconventional .section-heading,
  .summer .section-heading {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 900px) {
  .section-heading h2,
  .section-heading .section-kicker {
    max-width: 100%;
  }

  .chapter p,
  .method-card p,
  .info-card p,
  .text-flow p,
  .rules p,
  .offer-note,
  .contact-lead,
  .place-card li {
    max-width: 100%;
    line-height: 1.62;
  }

  .method-card .lead,
  .pullquote,
  blockquote {
    max-width: 100%;
  }

  .section-heading {
    max-width: 100%;
  }
}

/* v10 mascot cleanup */
.woo-companion {
  width: 78px;
  height: 126px;
}
.woo-companion__figure {
  width: 78px;
  height: 126px;
}
.woo-companion img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}
.final-mascot img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
@media (max-width: 900px) {
  .woo-companion {
    width: 46px;
    height: 76px;
  }
  .woo-companion__figure {
    width: 46px;
    height: 76px;
  }
  .woo-companion img {
    width: 100%;
    height: 100%;
  }
}


/* v12 icon centering/full mascot */
.brand img {
  object-position: center center;
}
.woo-companion img {
  object-position: center center;
}
.final-mascot img {
  object-position: center center;
}


/* v13 reviews carousel */
.reviews {
  position: relative;
}
.reviews-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 42vw);
  gap: 1rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: .35rem .2rem .4rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(214,38,56,.55) rgba(255,255,255,.06);
}
.reviews-track::-webkit-scrollbar { height: 10px; }
.reviews-track::-webkit-scrollbar-track { background: rgba(255,255,255,.06); border-radius: 999px; }
.reviews-track::-webkit-scrollbar-thumb { background: rgba(214,38,56,.55); border-radius: 999px; }
.review-card {
  scroll-snap-align: start;
  min-height: 100%;
  padding: 1.3rem 1.2rem 1.15rem;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.09);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.02));
  box-shadow: 0 18px 45px rgba(0,0,0,.24);
}
.review-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: .35rem .8rem;
  margin-bottom: .95rem;
  border-radius: 999px;
  background: rgba(214,38,56,.12);
  border: 1px solid rgba(214,38,56,.18);
  color: var(--text);
  font-weight: 800;
  letter-spacing: .02em;
}
.review-card p {
  margin: 0;
  max-width: 34ch;
  color: var(--text-dim);
  line-height: 1.7;
}
@media (max-width: 900px) {
  .reviews-track {
    grid-auto-columns: 84%;
    padding-bottom: .65rem;
  }
  .review-card {
    padding: 1.15rem 1rem 1rem;
    border-radius: 20px;
  }
  .review-card p {
    max-width: 100%;
    line-height: 1.62;
  }
}


/* v14 custom mascot asset */
.brand img,
.woo-companion img,
.final-mascot img,
.mascot-frame--hero img {
  object-fit: contain !important;
  object-position: center center !important;
  background: transparent !important;
}
.mascot-frame--hero {
  aspect-ratio: 493 / 1179 !important;
  background: transparent !important;
}
.hero__visual {
  width: min(28vw, 290px) !important;
}
.mascot-frame--hero img {
  width: 100%;
  height: 100%;
}
.brand {
  width: 50px;
  height: 50px;
}
.brand img {
  width: 46px !important;
  height: 46px !important;
}
.woo-companion {
  width: 62px;
  height: 148px;
}
.woo-companion__figure {
  width: 62px;
  height: 148px;
}
.final-mascot {
  width: min(180px, 42vw);
}
@media (max-width: 900px) {
  .hero__visual {
    width: min(46vw, 210px) !important;
  }
  .brand {
    width: 44px;
    height: 44px;
  }
  .brand img {
    width: 40px !important;
    height: 40px !important;
  }
  .woo-companion {
    width: 46px;
    height: 112px;
  }
  .woo-companion__figure {
    width: 46px;
    height: 112px;
  }
  .final-mascot {
    width: min(150px, 48vw);
  }
}
@media (max-width: 520px) {
  .hero__visual {
    width: min(44vw, 180px) !important;
  }
}


/* v19 about portrait */
.about-portrait {
  position: relative;
  grid-row: span 2;
  min-height: min(74svh, 760px);
  padding: clamp(1rem, 2.2vw, 1.3rem);
  background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  isolation: isolate;
}
.about-portrait__frame {
  position: relative;
  height: 100%;
  border-radius: calc(var(--radius) - 8px);
  overflow: hidden;
  background: radial-gradient(circle at 50% 20%, rgba(215,38,56,.12), transparent 42%), linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
}
.about-portrait__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.about-portrait__img--smile {
  opacity: 0;
  transition: opacity .08s ease;
}
.about-portrait.is-smiling .about-portrait__img--smile { opacity: 1; }
.about-portrait.is-smiling .about-portrait__img--serious { opacity: 0; }
.about-portrait::before {
  content: '';
  position: absolute;
  inset: auto 16px 16px 16px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214,185,140,.18), transparent);
}
@media (max-width: 900px) {
  .about-portrait {
    grid-row: auto;
    min-height: min(62svh, 620px);
    order: -1;
  }
}
@media (max-width: 560px) {
  .about-portrait {
    min-height: 520px;
    padding: .75rem;
  }
}


/* v20 fixes */
.hero-pins { display: none !important; }

.chapter,
.method-card,
.info-card,
.place-card,
.price-card,
.review-card,
.contact-card,
.contact-form,
.text-flow,
.text-grid p {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.chapter::before,
.method-card::before,
.info-card::before,
.place-card::before,
.price-card::before,
.review-card::before,
.contact-card::before,
.contact-form::before,
.text-flow::before,
.text-grid p::before {
  content: "";
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(215,38,56,.26);
  border-radius: 50%;
  opacity: .85;
  pointer-events: none;
}
.chapter::after,
.method-card::after,
.info-card::after,
.place-card::after,
.price-card::after,
.review-card::after,
.contact-card::after,
.contact-form::after,
.text-flow::after,
.text-grid p::after {
  content: "✦";
  position: absolute;
  top: 1.82rem;
  right: 1.82rem;
  color: var(--red);
  font-size: 1rem;
  line-height: 1;
  font-weight: 900;
  opacity: .95;
  pointer-events: none;
}
.chapter:nth-of-type(4n+1)::after { content: "✦"; }
.chapter:nth-of-type(4n+2)::after { content: "↗"; }
.chapter:nth-of-type(4n+3)::after { content: "○"; }
.chapter:nth-of-type(4n)::after { content: "∴"; }
.method-card:nth-of-type(4n+1)::after { content: "⚛"; }
.method-card:nth-of-type(4n+2)::after { content: "↻"; }
.method-card:nth-of-type(4n+3)::after { content: "AI"; font-size: .82rem; }
.method-card:nth-of-type(4n)::after { content: "∞"; }
.info-card:nth-of-type(4n+1)::after { content: "✦"; }
.info-card:nth-of-type(4n+2)::after { content: "⌁"; }
.info-card:nth-of-type(4n+3)::after { content: "◌"; }
.info-card:nth-of-type(4n)::after { content: "↗"; }
.place-card:nth-of-type(1)::after { content: "⌂"; }
.place-card:nth-of-type(2)::after { content: "⌂"; }
.place-card:nth-of-type(3)::after { content: "⌁"; }
.price-card:nth-of-type(1)::after { content: "60"; font-size: .82rem; }
.price-card:nth-of-type(2)::after { content: "80"; font-size: .82rem; }
.review-card:nth-of-type(odd)::after { content: "❝"; }
.review-card:nth-of-type(even)::after { content: "★"; }
.contact-card:nth-of-type(1)::after { content: "☎"; }
.contact-card:nth-of-type(2)::after { content: "✉"; }
.contact-card:nth-of-type(3)::after { content: "⌂"; }
.contact-form::after { content: "✎"; }
.text-flow:nth-of-type(odd)::after { content: "✦"; }
.text-flow:nth-of-type(even)::after { content: "↗"; }
.text-grid p:nth-of-type(odd)::after { content: "○"; }
.text-grid p:nth-of-type(even)::after { content: "✦"; }

.about-portrait__frame { background: #000 !important; }

@media (max-width: 900px) {
  .chapter::before, .method-card::before, .info-card::before, .place-card::before, .price-card::before, .review-card::before, .contact-card::before, .contact-form::before, .text-flow::before, .text-grid p::before { width: 38px; height: 38px; top: .9rem; right: .9rem; }
  .chapter::after, .method-card::after, .info-card::after, .place-card::after, .price-card::after, .review-card::after, .contact-card::after, .contact-form::after, .text-flow::after, .text-grid p::after { top: 1.56rem; right: 1.56rem; font-size: .95rem; }
}


/* v21 polish: review order, cleaner ornaments, shorter mobile portrait */
.chapter::before,
.method-card::before,
.info-card::before,
.place-card::before,
.price-card::before,
.review-card::before,
.contact-card::before,
.contact-form::before,
.text-flow::before,
.text-grid p::before {
  width: 40px;
  height: 40px;
  border-color: rgba(215,38,56,.22);
  background: radial-gradient(circle at 50% 50%, rgba(215,38,56,.10), transparent 58%);
  opacity: .72;
}
.chapter::after,
.method-card::after,
.info-card::after,
.place-card::after,
.price-card::after,
.review-card::after,
.contact-card::after,
.contact-form::after,
.text-flow::after,
.text-grid p::after {
  content: "✦" !important;
  top: 1.68rem;
  right: 1.68rem;
  color: var(--red);
  font-size: .9rem;
  text-shadow: 0 0 24px rgba(215,38,56,.28);
}
.method-card[data-woo-scene="ai"]::after { content: "AI" !important; font-size: .72rem; letter-spacing: -.04em; top: 1.62rem; right: 1.52rem; }
.price-card:nth-of-type(1)::after { content: "60" !important; font-size: .72rem; }
.price-card:nth-of-type(2)::after { content: "80" !important; font-size: .72rem; }
.contact-card:nth-of-type(1)::after { content: "☎" !important; font-size: .82rem; }
.contact-card:nth-of-type(2)::after { content: "✉" !important; font-size: .82rem; }
.contact-card:nth-of-type(3)::after { content: "⌂" !important; font-size: .82rem; }
.contact-form::after { content: "✎" !important; font-size: .82rem; }
.review-card::after { content: "❝" !important; font-size: 1rem; }

@media (max-width: 900px) {
  .about-portrait {
    min-height: 430px !important;
    max-height: 54svh;
  }
  .about-portrait__img {
    object-fit: cover;
    object-position: center 7%;
  }
  .chapter::before, .method-card::before, .info-card::before, .place-card::before, .price-card::before, .review-card::before, .contact-card::before, .contact-form::before, .text-flow::before, .text-grid p::before {
    width: 34px !important;
    height: 34px !important;
  }
  .chapter::after, .method-card::after, .info-card::after, .place-card::after, .price-card::after, .review-card::after, .contact-card::after, .contact-form::after, .text-flow::after, .text-grid p::after {
    top: 1.42rem !important;
    right: 1.42rem !important;
    font-size: .78rem !important;
  }
}
@media (max-width: 560px) {
  .about-portrait {
    min-height: 360px !important;
    max-height: 50svh;
    padding: .65rem;
  }
}


/* v22 manifest + narrator refinements */
.manifest {
  max-width: min(1120px, 100%);
  min-height: 165svh;
}
.manifest .section-kicker,
.manifest h2,
.manifest-lines,
.manifest-lines p {
  text-align: center;
}
.manifest-lines {
  position: sticky;
  top: clamp(90px, 16vh, 150px);
  min-height: 72svh;
  align-content: center;
  justify-items: center;
  margin-inline: auto;
}
.manifest-lines p {
  max-width: 12ch;
  width: 100%;
  margin-inline: auto;
  opacity: .12;
  transform: translateY(42px) scale(.985);
  filter: blur(10px);
  will-change: opacity, transform, filter;
  transition: opacity .16s linear, transform .16s linear, filter .16s linear;
}
.manifest-lines p.is-on {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
.hero__statement,
.final-manifest {
  text-align: center;
  margin-inline: auto;
}

.woo-companion {
  position: fixed;
  left: max(10px, env(safe-area-inset-left));
  top: calc(76px + env(safe-area-inset-top));
  bottom: auto !important;
  width: 52px !important;
  height: 126px !important;
  z-index: 58;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-22px) scale(.92);
  transition: opacity .45s ease, transform .45s cubic-bezier(.2,.8,.2,1);
}
.woo-companion.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.woo-companion__figure {
  width: 52px !important;
  height: 126px !important;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  transform: none !important;
  filter: none !important;
}
.woo-companion__figure::before,
.woo-orbit,
.woo-mote,
.progress-pin,
.pin-spark {
  display: none !important;
}
.woo-companion img {
  width: 52px !important;
  height: auto !important;
  max-height: 126px;
  object-fit: contain;
  animation: companionBreathe 5.2s ease-in-out infinite;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.35));
}
.woo-status {
  left: 58px;
  top: 8px;
  bottom: auto;
  max-width: min(42vw, 210px);
  padding: .55rem .72rem;
  font-size: .72rem;
  line-height: 1.22;
}
/* neutralize scene-specific transforms */
.woo-companion[data-scene] .woo-companion__figure,
.woo-companion[data-scene] img {
  transform: none !important;
}

@media (max-width: 900px) {
  .manifest { min-height: 150svh; }
  .manifest-lines { top: calc(82px + env(safe-area-inset-top)); min-height: 66svh; }
  .manifest-lines p { max-width: 11ch; }
  .woo-companion {
    top: calc(84px + env(safe-area-inset-top));
    left: max(8px, env(safe-area-inset-left));
    width: 44px !important;
    height: 106px !important;
  }
  .woo-companion__figure { width: 44px !important; height: 106px !important; }
  .woo-companion img { width: 44px !important; max-height: 106px; }
  .woo-status {
    left: 50px;
    top: 0;
    max-width: min(48vw, 180px);
    font-size: .68rem;
    padding: .48rem .6rem;
  }
}
@media (max-width: 560px) {
  .manifest { min-height: 145svh; }
  .manifest-lines { top: calc(92px + env(safe-area-inset-top)); min-height: 62svh; }
  .woo-status { max-width: 145px; }
}


/* v23: mascot morph, cleaner portrait, manifest polish, varied corner icons */
.hero-morph {
  position: fixed;
  left: 0;
  top: 0;
  width: 160px;
  height: auto;
  z-index: 59;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0,0,0) scale(1);
  transform-origin: top left;
  filter: drop-shadow(0 16px 34px rgba(0,0,0,.38));
  will-change: transform, opacity, left, top, width;
}
.hero-morph img {
  display: block;
  width: 100%;
  height: auto;
}
.hero__visual.is-morphing .mascot-frame {
  opacity: .08;
  transition: opacity .12s linear;
}
.woo-companion {
  opacity: 0;
  transform: translateX(-18px) translateY(-6px) scale(.88);
}
.woo-companion.is-visible {
  opacity: 1;
  transform: translateX(0) translateY(0) scale(1);
}
.woo-companion,
.woo-companion__figure,
.woo-companion img {
  overflow: visible;
}
.woo-companion {
  left: max(8px, env(safe-area-inset-left));
  top: calc(90px + env(safe-area-inset-top));
  width: 40px !important;
  height: 96px !important;
  z-index: 48;
}
.woo-companion__figure {
  width: 40px !important;
  height: 96px !important;
}
.woo-companion img {
  width: 40px !important;
  max-height: 96px !important;
}
.woo-status {
  left: 46px;
  top: 0;
  font-size: .66rem;
  max-width: 150px;
}

.manifest {
  min-height: 175svh;
}
.manifest .section-kicker,
.manifest-lines,
.manifest-lines p {
  text-align: center;
}
.manifest-lines {
  position: sticky;
  top: clamp(92px, 16vh, 150px);
  min-height: 72svh;
  display: grid;
  gap: clamp(2rem, 4.2vw, 3rem);
  align-content: center;
  justify-items: center;
  max-width: 12ch;
  margin-inline: auto;
}
.manifest-lines p {
  width: 100%;
  margin: 0;
  opacity: .12;
  transform: translateY(44px);
  filter: blur(10px);
}
.manifest-lines p span {
  display: block;
}
.manifest-lines p span + span {
  margin-top: .04em;
}
.manifest-lines p span:last-child {
  color: var(--red);
}
.manifest-lines p.is-on {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.about-portrait__frame,
.about-portrait__img {
  background: #000 !important;
}
.about-portrait__img--smile,
.about-portrait__img--serious {
  transition: opacity .18s ease;
}

.story .chapter:nth-of-type(1)::after { content: "◔" !important; }
.story .chapter:nth-of-type(2)::after { content: "✦" !important; }
.story .chapter:nth-of-type(3)::after { content: "⚛" !important; font-size: .82rem !important; }
.story .chapter:nth-of-type(4)::after { content: "❝" !important; }
.about .info-card:nth-of-type(1)::after { content: "⚛" !important; font-size: .82rem !important; }
.about .info-card:nth-of-type(2)::after { content: "↗" !important; font-size: .92rem !important; }
.about .info-card:nth-of-type(3)::after { content: "✎" !important; font-size: .82rem !important; }
.about .info-card:nth-of-type(4)::after { content: "◎" !important; font-size: .82rem !important; }
.process .place-card::after { content: "⌂" !important; font-size: .82rem !important; }
.specialization .text-flow::after { content: "∞" !important; font-size: .82rem !important; }
.expensive > .text-flow:nth-of-type(1)::after { content: "zł" !important; font-size: .78rem !important; }
.expensive > .text-flow:nth-of-type(2)::after { content: "↔" !important; font-size: .82rem !important; }
.expensive > .text-flow:nth-of-type(3)::after { content: "%" !important; font-size: .82rem !important; }
.teaching .method-card[data-woo-scene="understand"]::after { content: "∿" !important; }
.teaching .method-card[data-woo-scene="work"]::after { content: "↻" !important; }
.teaching .method-card[data-woo-scene="mistake"]::after { content: "!" !important; }
.teaching .method-card[data-woo-scene="tricks"]::after { content: "≈" !important; }
.teaching .method-card[data-woo-scene="world"]::after { content: "◎" !important; }
.teaching .method-card[data-woo-scene="classic"]::after { content: "∴" !important; }
.teaching .method-card[data-woo-scene="strategy"]::after { content: "→" !important; }
.teaching .method-card[data-woo-scene="ai"]::after { content: "AI" !important; }

@media (max-width: 900px) {
  .hero-morph { width: 108px; }
  .woo-companion {
    left: max(4px, env(safe-area-inset-left));
    top: calc(86px + env(safe-area-inset-top));
    width: 34px !important;
    height: 82px !important;
  }
  .woo-companion__figure { width: 34px !important; height: 82px !important; }
  .woo-companion img { width: 34px !important; max-height: 82px !important; }
  .woo-status { display: none; }
  .manifest { min-height: 160svh; }
  .manifest-lines {
    max-width: 10ch;
    min-height: 64svh;
    top: calc(94px + env(safe-area-inset-top));
  }
}
@media (max-width: 560px) {
  .hero-morph { width: 90px; }
  .manifest-lines { gap: 1.8rem; max-width: 9.5ch; }
}


/* v24 tweaks: smaller mobile CTA */
.mobile-cta { padding: 6px; border-radius: 18px; }
.mobile-cta a { min-height: 42px; border-radius: 14px; }
@media (max-width: 900px) {
  .contact { padding-bottom: 100px; }
  .mobile-cta { bottom: max(8px, env(safe-area-inset-bottom)); padding-bottom: max(6px, env(safe-area-inset-bottom)); }
  .mobile-cta a { min-height: 42px; font-size: .92rem; }
  .woo-companion { bottom: calc(68px + env(safe-area-inset-bottom)); }
}


/* v25 manifest + smoother mascot + portrait joke */
.manifest-lines {
  width: min(100%, 16ch);
  max-width: none;
  gap: clamp(1.1rem, 2.5vw, 1.6rem);
  justify-items: center;
  text-align: center;
}
.manifest-lines p {
  max-width: none;
  width: 100%;
  margin-inline: auto;
  text-align: center;
}
.manifest-lines .manifest-line--light span { color: var(--paper) !important; }
.manifest-lines .manifest-line--accent span { color: var(--red) !important; }
.manifest-lines p span { display: block; margin: 0; }

.hero-morph { transition: opacity .26s ease; }
.hero__visual.is-morphing .mascot-frame { transition: opacity .24s linear; }
.woo-companion { transition: opacity .42s ease, transform .48s cubic-bezier(.22,1,.36,1); }

.about-portrait__img--smile,
.about-portrait__img--serious { transition: opacity .02s linear !important; }

@media (max-width: 900px) {
  .manifest-lines { width: min(100%, 10.5ch); gap: 1rem; }
  .manifest-lines p { font-size: clamp(2.15rem, 11.7vw, 4rem) !important; }
}


/* v26: remove narrator mascot, enlarge header logo, keep it protruding below header */
.site-header { overflow: visible !important; }
.brand {
  width: 86px !important;
  height: 104px !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  margin-top: 0 !important;
  margin-bottom: -34px !important;
  position: relative;
  z-index: 3;
}
.brand img {
  width: 70px !important;
  height: 106px !important;
  object-fit: contain;
  object-position: center top;
  transform: translateY(6px);
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.6));
}
.hero-morph, .woo-companion {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}
@media (max-width: 900px) {
  .site-header { min-height: 74px !important; }
  .brand {
    width: 76px !important;
    height: 94px !important;
    margin-bottom: -28px !important;
  }
  .brand img {
    width: 60px !important;
    height: 92px !important;
    transform: translateY(4px);
  }
}
@media (max-width: 560px) {
  .site-header { min-height: 72px !important; }
  .brand {
    width: 72px !important;
    height: 90px !important;
    margin-bottom: -24px !important;
  }
  .brand img {
    width: 56px !important;
    height: 88px !important;
  }
}


/* v27: restore full reviews, portrait cleanup/glow, red politechnika icon */
.about-portrait__frame { position: relative; }
.about-portrait__frame::before {
  content: '';
  position: absolute;
  inset: 10% 14% 16% 14%;
  border-radius: 42% 42% 36% 36%;
  background: radial-gradient(circle at 50% 30%, rgba(214,38,56,.22), rgba(214,38,56,.10) 34%, transparent 72%);
  filter: blur(34px);
  transform: scale(1.05);
  pointer-events: none;
  z-index: 0;
}
.about-portrait__img { position: relative; z-index: 1; }
.chapter--politechnika::before, .info-card--fizyk::before {
  background: radial-gradient(circle at 30% 30%, rgba(255,90,110,.42), rgba(214,38,56,.18) 44%, rgba(214,38,56,.06) 70%) !important;
  border-color: rgba(214,38,56,.45) !important;
  box-shadow: 0 0 0 1px rgba(214,38,56,.12), 0 12px 28px rgba(214,38,56,.18) !important;
}
.chapter--politechnika::after, .info-card--fizyk::after {
  color: #ff5c6d !important;
  text-shadow: 0 0 12px rgba(214,38,56,.38);
}
.review-card p { white-space: normal; }


/* v28: transparent header, bigger floating mascot only, hamburger, smaller fixed CTA */
.site-header,
.site-header.is-compact {
  min-height: 0 !important;
  padding: 8px 18px !important;
  background: transparent !important;
  backdrop-filter: none !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  align-items: flex-start !important;
}

.brand {
  width: 96px !important;
  height: 128px !important;
  margin-bottom: 0 !important;
  overflow: visible !important;
}
.brand img {
  width: 82px !important;
  height: 124px !important;
  object-position: center top !important;
  transform: translateY(0) !important;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.45)) !important;
}

.menu-toggle {
  display: grid !important;
  place-items: center !important;
  width: 58px !important;
  height: 58px !important;
  min-height: 58px !important;
  padding: 0 !important;
  border-radius: 999px !important;
  background: rgba(8,8,8,.72) !important;
  border: 1px solid rgba(214,185,140,.16) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.34) !important;
  backdrop-filter: blur(10px) !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
}
.menu-toggle::before {
  content: '\2630';
  color: var(--text);
  font-size: 1.55rem;
  line-height: 1;
}

.hero { padding-top: 88px !important; }

.mobile-cta {
  left: 12px !important;
  right: 12px !important;
  bottom: max(8px, env(safe-area-inset-bottom)) !important;
  padding: 6px !important;
  padding-bottom: max(6px, env(safe-area-inset-bottom)) !important;
  gap: 6px !important;
  border-radius: 18px !important;
  transition: none !important;
  transform: none !important;
}
.mobile-cta a {
  min-height: 40px !important;
  border-radius: 13px !important;
  font-size: .9rem !important;
  line-height: 1 !important;
}

.rules-grid span {
  font-size: clamp(1.2rem, 4.2vw, 2.3rem) !important;
  line-height: 1.15;
}
.rules-grid div { align-items: stretch; }
.rules p:last-child { max-width: 52ch; }

@media (max-width: 900px) {
  .site-header, .site-header.is-compact { padding: 8px 14px !important; }
  .brand { width: 88px !important; height: 118px !important; }
  .brand img { width: 74px !important; height: 114px !important; }
  .menu-toggle { width: 56px !important; height: 56px !important; min-height: 56px !important; }
  .hero { padding-top: 82px !important; }
}

@media (max-width: 560px) {
  .brand { width: 82px !important; height: 112px !important; }
  .brand img { width: 68px !important; height: 108px !important; }
  .menu-toggle { width: 54px !important; height: 54px !important; min-height: 54px !important; }
  .site-nav { top: 68px !important; }
  .hero { padding-top: 78px !important; }
  .mobile-cta a { min-height: 38px !important; font-size: .88rem !important; }
}


/* v29: about section new habits card */
.info-card--uczen::after { content: "⌁" !important; }
.info-card--nawyki::after { content: "↻" !important; }


/* v30: remove floating CTA, remove narrator, keep bright mascot and smaller header area */
.mobile-cta, .woo-companion, .hero-morph { display: none !important; }
.hero__visual.is-morphing .mascot-frame { opacity: 1 !important; }
.site-header, .site-header.is-compact { min-height: 0 !important; height: auto !important; padding: 8px 14px 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; backdrop-filter: none !important; overflow: visible !important; pointer-events: none; }
.site-header .brand, .site-header .menu-toggle, .site-header .site-nav { pointer-events: auto; }
.brand { position: relative !important; width: 42px !important; height: 62px !important; margin: 0 !important; overflow: visible !important; z-index: 40 !important; }
.brand img { position: absolute !important; left: 0 !important; top: 0 !important; width: 86px !important; height: 132px !important; max-width: none !important; max-height: none !important; object-fit: contain !important; object-position: left top !important; opacity: 1 !important; filter: drop-shadow(0 12px 22px rgba(0,0,0,.36)) brightness(1) !important; }
.menu-toggle { margin-top: 8px !important; }
.hero { padding-top: 88px !important; }
@media (max-width: 900px) { .brand { width: 40px !important; height: 60px !important; } .brand img { width: 80px !important; height: 124px !important; } .hero { padding-top: 84px !important; } }
@media (max-width: 560px) { .site-header, .site-header.is-compact { padding: 8px 12px 0 !important; } .brand { width: 38px !important; height: 58px !important; } .brand img { width: 74px !important; height: 116px !important; } .menu-toggle { width: 54px !important; height: 54px !important; min-height: 54px !important; } .hero { padding-top: 80px !important; } }


/* v31: portrait restore, about intro, fixed smile cycle */
.about-intro { margin-top: -2rem; margin-bottom: clamp(1.4rem, 4vw, 2.4rem); }
.about-portrait__frame { position: relative !important; background: #000 !important; }
.about-portrait__frame::before { z-index: 0 !important; }
.about-portrait__img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: block !important;
  z-index: 1 !important;
}
.about-portrait__img--serious { opacity: 1 !important; }
.about-portrait__img--smile { opacity: 0 !important; }
.about-portrait.is-smiling .about-portrait__img--serious { opacity: 0 !important; }
.about-portrait.is-smiling .about-portrait__img--smile { opacity: 1 !important; }
.info-card--hobby::after { content: "♜" !important; }
@media (max-width: 900px) { .about-intro { margin-top: -.4rem; } }


/* v32 hero copy + wider manifest */
.hero .eyebrow {
  font-size: clamp(1.5rem, 3.3vw, 3rem) !important;
  line-height: 1.06 !important;
  letter-spacing: -.04em;
}
.hero__statement {
  font-size: clamp(2rem, 4.2vw, 4.9rem) !important;
  line-height: .98 !important;
  max-width: 11ch;
}
.hero__intro {
  max-width: 34ch;
}
.manifest-lines {
  width: min(100%, 22ch) !important;
  max-width: 22ch !important;
}
.manifest-lines p {
  width: auto !important;
  max-width: 22ch !important;
  text-wrap: balance;
}
@media (max-width: 900px) {
  .manifest-lines {
    width: min(100%, 13.5ch) !important;
    max-width: 13.5ch !important;
  }
  .manifest-lines p {
    max-width: 13.5ch !important;
  }
}
@media (max-width: 560px) {
  .manifest-lines {
    width: min(100%, 12.5ch) !important;
    max-width: 12.5ch !important;
  }
  .manifest-lines p {
    max-width: 12.5ch !important;
  }
}


/* v33: responsive layout cleanup + single-review carousel */
*, *::before, *::after { box-sizing: border-box; }
.section { overflow-x: clip; }
.section-heading h2,
.final-screen h2,
.method-card h3,
.info-card h3,
.place-card h3,
.price-card h3,
.text-flow h3,
.chapter h3 {
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
  max-width: 100%;
}
.method-card h3,
.info-card h3,
.place-card h3,
.price-card h3,
.text-flow h3,
.chapter h3 {
  letter-spacing: -0.035em;
}
@media (min-width: 901px) {
  .method-card h3,
  .info-card h3,
  .place-card h3,
  .price-card h3,
  .text-flow h3,
  .chapter h3 {
    font-size: clamp(1.6rem, 2.1vw, 2.25rem) !important;
  }
  .method-card,
  .chapter,
  .info-card,
  .text-flow {
    padding-inline: clamp(2rem, 4vw, 4rem) !important;
  }
  .info-card--wide { grid-column: span 2; }
}

.reviews { max-width: min(1160px, 100%); }
.reviews-controls {
  display: flex;
  justify-content: center;
  gap: .75rem;
  margin: 0 0 1rem;
}
.review-nav {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(214,185,140,.20);
  background: rgba(255,255,255,.035);
  color: var(--text);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.review-nav:hover { border-color: rgba(215,38,56,.40); }
.reviews-track {
  display: grid !important;
  grid-auto-flow: column !important;
  grid-auto-columns: 100% !important;
  max-width: min(940px, calc(100vw - 2 * var(--pad-x)));
  margin-inline: auto;
  gap: 1rem !important;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: .2rem 0 1rem !important;
}
.reviews-track::-webkit-scrollbar { display: none; }
.review-card {
  width: 100%;
  min-height: clamp(360px, 48vh, 620px);
  padding: clamp(1.35rem, 3.4vw, 3rem) !important;
  display: flex;
  flex-direction: column;
  scroll-snap-align: center;
}
.review-card p {
  max-width: 72ch !important;
  font-size: clamp(1rem, 1.65vw, 1.28rem);
  line-height: 1.75 !important;
}
@media (max-width: 900px) {
  .review-card { min-height: auto; }
  .reviews-track { max-width: calc(100vw - 2 * var(--pad-x)); }
  .review-card p { font-size: 1rem; line-height: 1.65 !important; }
}


/* v35: content refresh + wide screen stability */
@media (min-width: 1100px) {
  .hero {
    grid-template-columns: minmax(560px, 720px) minmax(280px, 460px) !important;
    justify-content: center !important;
    align-items: center !important;
    gap: clamp(2rem, 5vw, 6rem) !important;
  }
  .hero__copy {
    justify-self: end !important;
    width: min(720px, 100%) !important;
    max-width: 720px !important;
  }
  .hero__visual {
    justify-self: start !important;
    width: min(28vw, 380px) !important;
  }
  .hero__intro {
    max-width: 680px !important;
    font-size: clamp(1.08rem, 1.35vw, 1.4rem) !important;
    line-height: 1.45 !important;
  }
  .hero h1 {
    font-size: clamp(5.8rem, 8.8vw, 10.5rem) !important;
    max-width: 7.5ch !important;
  }
  .hero__statement {
    max-width: 12ch !important;
  }
}

@media (min-width: 1400px) {
  .hero {
    grid-template-columns: minmax(640px, 790px) minmax(320px, 460px) !important;
  }
  .hero__copy { max-width: 790px !important; }
  .hero__intro { max-width: 760px !important; }
}

.method-card h3,
.chapter h3,
.info-card h3,
.text-flow h3 {
  overflow-wrap: normal !important;
  word-break: normal !important;
  line-height: .95 !important;
}

.method-card .lead,
.method-card p:first-of-type.lead,
.method-card p:first-of-type {
  max-width: 64ch;
}

.specialization .text-flow .subblock {
  margin-top: clamp(1.2rem, 3vw, 2rem);
}

.place-card li {
  margin-bottom: .85rem;
}
.place-card li:last-child { margin-bottom: 0; }

.offer .price-grid {
  margin-top: clamp(1.4rem, 3vw, 2.4rem);
}

.unconventional .text-flow {
  max-width: 760px;
}


/* v36: dropdown-only menu, one-line TOC, centered content, prices/contact layout */
.site-nav {
  display: grid !important;
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: var(--pad-x) !important;
  left: auto !important;
  width: min(320px, calc(100vw - 2 * var(--pad-x))) !important;
  max-height: calc(100vh - 96px);
  overflow: auto;
  gap: .3rem !important;
  padding: .8rem !important;
  background: rgba(8,8,8,.94) !important;
  border: 1px solid rgba(214,185,140,.18) !important;
  border-radius: 22px !important;
  box-shadow: 0 24px 70px rgba(0,0,0,.42) !important;
  backdrop-filter: blur(14px) !important;
  opacity: 0 !important;
  transform: translateY(-8px) !important;
  pointer-events: none !important;
  z-index: 90 !important;
}
.site-nav.is-open {
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}
.site-nav a {
  display: block;
  padding: .78rem .9rem !important;
  border-radius: 14px;
  color: var(--text) !important;
  text-decoration: none;
}
.site-nav a:hover { background: rgba(255,255,255,.06); }
.menu-toggle {
  display: grid !important;
  place-items: center !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
}
.menu-toggle::before {
  content: '\2630';
  color: var(--text);
  font-size: 1.55rem;
  line-height: 1;
}

.chapter-links {
  flex-wrap: nowrap !important;
  max-width: none !important;
  width: 100% !important;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: .25rem;
  scrollbar-width: thin;
}
.chapter-links a {
  flex: 0 0 auto;
  white-space: nowrap;
}
.chapter-menu .section-heading {
  max-width: none !important;
}

.method-card,
.chapter,
.info-card,
.place-card,
.price-card,
.contact-card,
.text-flow,
.text-grid p {
  text-align: center !important;
}
.method-card p,
.chapter p,
.info-card p,
.place-card p,
.price-card p,
.contact-card p,
.text-flow p,
.text-grid p {
  margin-left: auto !important;
  margin-right: auto !important;
  font-size: clamp(1.06rem, 1.05vw, 1.24rem) !important;
  line-height: 1.72 !important;
}
.method-card h3,
.chapter h3,
.info-card h3,
.place-card h3,
.price-card h3,
.contact-card h3,
.text-flow h3 {
  text-align: center !important;
}
.pullquote,
.text-flow--large p {
  font-size: clamp(1.35rem, 2.2vw, 2.25rem) !important;
}

@media (min-width: 901px) {
  .contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    max-width: none !important;
  }
  .contact-card {
    min-height: 160px;
  }
}

.final-screen p,
.final-manifest { display: none !important; }


/* v37: real responsive chapter navigation */
.chapter-nav,
.chapter-menu__links,
.chapter-links {
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
  overflow-x: visible !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: clamp(.55rem, .9vw, .85rem) !important;
  scrollbar-width: none !important;
}

.chapter-nav::-webkit-scrollbar,
.chapter-menu__links::-webkit-scrollbar,
.chapter-links::-webkit-scrollbar {
  display: none !important;
}

.chapter-nav a,
.chapter-menu__links a,
.chapter-links a {
  flex: 0 1 auto !important;
  white-space: nowrap !important;
  padding: .78rem clamp(.95rem, 1.1vw, 1.2rem) !important;
  font-size: clamp(.84rem, .78vw, .98rem) !important;
}

@media (min-width: 1200px) {
  .chapter-menu {
    max-width: min(1480px, calc(100vw - 5rem)) !important;
  }

  .chapter-menu h2,
  .chapter-menu .section-title {
    max-width: none !important;
  }

  .chapter-nav,
  .chapter-menu__links,
  .chapter-links {
    flex-wrap: nowrap !important;
    gap: .72rem !important;
  }

  .chapter-nav a,
  .chapter-menu__links a,
  .chapter-links a {
    padding-inline: .95rem !important;
    font-size: .88rem !important;
  }
}

@media (max-width: 980px) {
  .chapter-nav,
  .chapter-menu__links,
  .chapter-links {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    justify-content: flex-start !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: .35rem !important;
  }

  .chapter-nav a,
  .chapter-menu__links a,
  .chapter-links a {
    flex: 0 0 auto !important;
  }
}


/* v38: body text unified with review text size */
:root {
  --wd-body-copy-size: clamp(1.05rem, 1vw, 1.22rem);
  --wd-body-copy-line: 1.72;
}

p,
li,
.card p,
.info-card p,
.method-card p,
.chapter p,
.text-flow p,
.place-card p,
.review-card p,
.contact-card p,
.price-card p,
.rules p,
.form-note,
.hero__lead,
.hero__location,
.hero__statement,
.section-lead,
.about-intro p,
.process p,
.specialization p,
.expensive p,
.vision p,
.summer p,
.contact p {
  font-size: var(--wd-body-copy-size) !important;
  line-height: var(--wd-body-copy-line) !important;
}

.review-card p {
  font-size: var(--wd-body-copy-size) !important;
  line-height: var(--wd-body-copy-line) !important;
}

.card h3,
.info-card h3,
.method-card h3,
.chapter h3,
.text-flow h3,
.place-card h3,
.review-badge,
.contact-card h3 {
  font-size: clamp(1.35rem, 1.35vw, 1.75rem) !important;
  line-height: 1.15 !important;
}

@media (max-width: 700px) {
  :root {
    --wd-body-copy-size: clamp(1rem, 4.1vw, 1.12rem);
    --wd-body-copy-line: 1.62;
  }
}


/* v39: real font-size unification inside content cards */
:root {
  --wd-copy-size: clamp(1.05rem, .92vw, 1.18rem);
  --wd-copy-line: 1.7;
}

/* Normal text and small in-card headings should share one visual size. */
.card p,
.card li,
.info-card p,
.info-card li,
.info-card h3,
.method-card p,
.method-card li,
.method-card h3,
.chapter p,
.chapter li,
.chapter h3,
.text-flow p,
.text-flow li,
.text-flow h3,
.place-card p,
.place-card li,
.place-card h3,
.price-card p,
.price-card li,
.price-card h3,
.contact-card p,
.contact-card li,
.contact-card h3,
.review-card p,
.review-badge,
.rules p,
.rules li,
.rules-grid strong,
.rules-grid span,
.form-note {
  font-size: var(--wd-copy-size) !important;
  line-height: var(--wd-copy-line) !important;
}

/* Keep hierarchy through weight/spacing, not by inflating text size. */
.card h3,
.info-card h3,
.method-card h3,
.chapter h3,
.text-flow h3,
.place-card h3,
.price-card h3,
.contact-card h3,
.review-badge {
  font-weight: 850 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: .8rem !important;
}

.text-flow h3,
.chapter h3,
.info-card h3,
.method-card h3 {
  max-width: none !important;
}

/* Section titles can remain display elements, but reduce aggressive scaling on desktop. */
.section-heading h2,
.section-title,
section > h2 {
  font-size: clamp(2.4rem, 5vw, 5.4rem) !important;
  line-height: .95 !important;
}

@media (max-width: 700px) {
  :root {
    --wd-copy-size: clamp(1rem, 3.95vw, 1.12rem);
    --wd-copy-line: 1.62;
  }

  .section-heading h2,
  .section-title,
  section > h2 {
    font-size: clamp(2.2rem, 11vw, 4.4rem) !important;
  }
}


/* v40: scoped typography repair — no global one-size-fits-all */
:root {
  --wd-card-copy: clamp(1.08rem, .92vw, 1.22rem);
  --wd-card-line: 1.72;
}

/* Restore the manifest as a big visual section. */
.manifest {
  min-height: 150svh !important;
}

.manifest-lines {
  width: min(100%, 18ch) !important;
  max-width: 18ch !important;
  gap: clamp(1.35rem, 2.8vw, 2.4rem) !important;
  justify-items: center !important;
  text-align: center !important;
}

.manifest-lines p,
.manifest-lines .manifest-line,
#manifest .manifest-lines p {
  font-size: clamp(3.6rem, 7.2vw, 8.8rem) !important;
  line-height: .88 !important;
  letter-spacing: -0.075em !important;
  font-weight: 900 !important;
  margin: 0 auto !important;
  max-width: none !important;
  text-align: center !important;
}

.manifest-lines .manifest-line--light span {
  color: var(--paper) !important;
}

.manifest-lines .manifest-line--accent span {
  color: var(--red) !important;
}

/* Remove visible duplicated kicker above Krótka filozofia nauczania. */
.section-kicker--hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

/* Section headings: display, but not absurdly dominant. */
.section-heading h2,
.section-title,
section > h2 {
  font-size: clamp(3.2rem, 6.6vw, 7rem) !important;
  line-height: .92 !important;
  letter-spacing: -0.075em !important;
}

/* Cards: readable, centered where cards are self-contained. */
.method-card,
.info-card,
.chapter,
.text-flow,
.place-card,
.contact-card,
.review-card {
  min-height: auto !important;
  height: auto !important;
  overflow: visible !important;
}

.method-card p,
.info-card p,
.chapter p,
.text-flow p,
.place-card p,
.contact-card p,
.review-card p,
.rules p,
.form-note {
  font-size: var(--wd-card-copy) !important;
  line-height: var(--wd-card-line) !important;
}

.method-card h3,
.info-card h3,
.chapter h3,
.text-flow h3,
.place-card h3,
.contact-card h3,
.review-badge {
  font-size: clamp(1.45rem, 1.5vw, 2rem) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.035em !important;
  margin-bottom: .9rem !important;
}

/* Avoid card collision in about/process/offer areas. */
.about-grid,
.cards-grid,
.method-grid,
.story-grid,
.place-grid,
.price-grid,
.contact-grid {
  align-items: stretch !important;
}

.about-grid > *,
.cards-grid > *,
.method-grid > *,
.story-grid > *,
.place-grid > *,
.price-grid > *,
.contact-grid > * {
  min-width: 0 !important;
}

/* Offer cards need large, clear pricing again. */
.price-card {
  min-height: 280px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  gap: 1.2rem !important;
}

.price-card h3,
.price-card strong,
.price-card .price,
.price-card p:first-child {
  font-size: clamp(2.2rem, 4vw, 4.6rem) !important;
  line-height: .9 !important;
  letter-spacing: -0.06em !important;
  font-weight: 900 !important;
}

.price-card p,
.price-card span {
  font-size: clamp(1.35rem, 1.7vw, 2rem) !important;
  line-height: 1.2 !important;
}

/* Rules should stay legible but not poster-sized. */
.rules-grid strong,
.rules-grid span {
  font-size: clamp(1.05rem, 1.05vw, 1.28rem) !important;
  line-height: 1.35 !important;
}

/* On desktop, cards with long text should not be squeezed. */
@media (min-width: 980px) {
  .method-grid,
  .story-grid,
  .about-grid {
    gap: clamp(1.2rem, 2vw, 2rem) !important;
  }
}

/* Mobile: keep manifest large, but usable. */
@media (max-width: 700px) {
  :root {
    --wd-card-copy: clamp(1rem, 4.2vw, 1.13rem);
    --wd-card-line: 1.62;
  }

  .manifest-lines {
    width: min(100%, 10.5ch) !important;
    max-width: 10.5ch !important;
  }

  .manifest-lines p,
  .manifest-lines .manifest-line,
  #manifest .manifest-lines p {
    font-size: clamp(3rem, 15vw, 5.2rem) !important;
    line-height: .92 !important;
  }

  .section-heading h2,
  .section-title,
  section > h2 {
    font-size: clamp(2.8rem, 13vw, 5rem) !important;
  }

  .price-card {
    min-height: 220px !important;
  }

  .price-card h3,
  .price-card strong,
  .price-card .price,
  .price-card p:first-child {
    font-size: clamp(2rem, 10vw, 3.4rem) !important;
  }
}


/* v41: fix manifest clipping and one-line teaching heading */
.manifest {
  overflow: hidden !important;
  padding-inline: clamp(1.2rem, 4vw, 4rem) !important;
}

.manifest-lines {
  width: min(100%, 1200px) !important;
  max-width: min(100%, 1200px) !important;
  margin-inline: auto !important;
  justify-items: center !important;
  overflow: visible !important;
}

.manifest-lines p,
.manifest-lines .manifest-line,
#manifest .manifest-lines p {
  width: 100% !important;
  max-width: 100% !important;
  text-align: center !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  font-size: clamp(3.4rem, 6.6vw, 8.2rem) !important;
  line-height: .9 !important;
  letter-spacing: -0.072em !important;
}

@media (min-width: 1000px) {
  .manifest-lines {
    width: min(92vw, 1280px) !important;
    max-width: min(92vw, 1280px) !important;
  }

  .manifest-lines p,
  .manifest-lines .manifest-line,
  #manifest .manifest-lines p {
    font-size: clamp(4rem, 5.7vw, 7.6rem) !important;
  }
}

@media (max-width: 700px) {
  .manifest-lines {
    width: 100% !important;
    max-width: 100% !important;
  }

  .manifest-lines p,
  .manifest-lines .manifest-line,
  #manifest .manifest-lines p {
    font-size: clamp(2.65rem, 12.5vw, 4.9rem) !important;
    letter-spacing: -0.065em !important;
  }
}

#teaching-title,
#jak-ucze .section-heading h2,
#jak-ucze h2,
.teaching .section-heading h2,
.teaching h2 {
  white-space: nowrap !important;
  max-width: 100% !important;
  width: 100% !important;
  font-size: clamp(2.1rem, 5.4vw, 5.9rem) !important;
  line-height: .92 !important;
  letter-spacing: -0.075em !important;
  overflow: visible !important;
}

section[id="jak-ucze"] .section-heading,
section[id="jak-ucze"] {
  overflow: visible !important;
}

@media (max-width: 700px) {
  #teaching-title,
  #jak-ucze .section-heading h2,
  #jak-ucze h2,
  .teaching .section-heading h2,
  .teaching h2 {
    font-size: clamp(1.55rem, 8.2vw, 2.7rem) !important;
    letter-spacing: -0.065em !important;
  }
}

@media (max-width: 390px) {
  #teaching-title,
  #jak-ucze .section-heading h2,
  #jak-ucze h2,
  .teaching .section-heading h2,
  .teaching h2 {
    font-size: clamp(1.35rem, 7.6vw, 2.25rem) !important;
  }
}
