/* ═══════════════════════════════════════════════════════════════════════════
   knotted. — v5
   AIDA structure · wave dividers · strong salmon + lavender palette
   Organic shapes only · Big League Spartan · Interactive neuro-finder
═══════════════════════════════════════════════════════════════════════════ */

/* ── Colour tokens ─────────────────────────────────────────────────────── */
:root {
  /* Salmon family — stronger saturation */
  --sal-50: #fff5f2;
  --sal-100: #ffe4de;
  --sal-200: #ffc8bc;
  --sal-300: #ffb0a0;
  /* brand */
  --sal-400: #FFB0A0;
  /* stronger */
  --sal-500: #FF8268;
  /* bold */

  /* Lavender family — stronger saturation */
  --lav-50: #f0effe;
  --lav-100: #dddcf8;
  --lav-200: #c4c2f4;
  --lav-300: #a8a6e8;
  /* brand */
  --lav-400: #A8A6E8;
  /* stronger */
  --lav-500: #8884F1;
  /* bold */

  /* Neutrals */
  --cream: #FFF9F3;
  --dark: #1e1830;
  /* deep dark lavender */
  --white: #ffffff;

  /* Semantic */
  --text: #1e1830;
  --muted: rgba(30, 24, 48, .56);
  --faint: rgba(30, 24, 48, .32);
  --border: rgba(30, 24, 48, .09);
  --border-m: rgba(30, 24, 48, .16);

  /* On-dark */
  --od: rgba(255, 255, 255, .93);
  --od-m: rgba(255, 255, 255, .55);
  --od-f: #666666;
  --od-b: rgba(255, 255, 255, .1);

  /* Shadows */
  --sh-sm: 0 2px 14px rgba(30, 24, 48, .08);
  --sh-md: 0 8px 32px rgba(30, 24, 48, .11);
  --sh-lg: 0 20px 60px rgba(30, 24, 48, .14);
  --sh-xl: 0 32px 80px rgba(30, 24, 48, .18);

  /* Radii — generous rounding everywhere, no rectangles */
  --r-sm: .5rem;
  --r-md: 1rem;
  --r-lg: 1.75rem;
  --r-xl: 2.5rem;
  --r-2xl: 3.5rem;
  --r-pill: 9999px;

  --font: 'League Spartan', sans-serif;
  --nav-h: 68px;
  --w: 1120px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html {
  /* Contain horizontal overflow at the root — doesn't create a scroll container
     like overflow-x:hidden on body does, so position:sticky keeps working on iOS */
  overflow-x: clip;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  background: none;
}

em {
  font-style: normal;
}

/* ── Utilities ──────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.logo-inv {
  filter: brightness(0) invert(1);
}

.store-badge {
  display: inline-block;
  transition: transform .22s var(--ease), opacity .2s;
}

.store-badge:hover {
  transform: translateY(-3px);
  opacity: .85;
}

.store-badge img {
  display: block;
  height: 52px;
  width: auto;
}

.store-badge--invert img {
  filter: brightness(0) invert(1) brightness(.9);
}

.accent-sal {
  color: var(--sal-500);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: .375rem;
  padding: .875rem 2rem;
  background: var(--sal-400);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: background .2s, transform .2s var(--ease), box-shadow .2s;
}

.btn-primary:hover {
  background: var(--sal-500);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 136, 112, .35);
}

/* ── Scroll animations ──────────────────────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}

[data-animate].in-view {
  opacity: 1;
  transform: none;
}

[data-delay="1"] {
  transition-delay: .13s;
}

[data-delay="2"] {
  transition-delay: .24s;
}

[data-delay="3"] {
  transition-delay: .35s;
}

/* ── Wave dividers ──────────────────────────────────────────────────────── */
.wave {
  display: block;
  overflow: hidden;
  line-height: 0;
  position: relative;
  z-index: 5;
  /* above any section blobs that may protrude into this area */
}

.wave svg {
  display: block;
  width: 100%;
}


/* ══════════════════════════════════════════════════════════════════════════
   NAVIGATION — transparent over hero, warm glass on scroll
══════════════════════════════════════════════════════════════════════════ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: visible;
  background: rgba(255, 249, 243, .62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background .4s var(--ease), backdrop-filter .4s, box-shadow .4s;
}

/* Wave below header — same background + backdrop-filter as header,
   clipped to wave shape via SVG clip-path (works reliably with backdrop-filter) */
.header__wave-bottom {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 50px;
  pointer-events: none;
  z-index: 0;
  background: #FFF9F3;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background .4s var(--ease), backdrop-filter .4s;
  clip-path: url(#header-wave-bottom-clip);
}

.header.is-scrolled {
  background: #FFF9F3;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 4px 24px rgba(30, 24, 48, .06);
}

.header.is-scrolled .header__wave-bottom {
  background: #FFF9F3;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

/* Progress SVG — always 100% wide so the internal wave clip is never distorted */
.nav__progress-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

/* The rect inside the SVG — JS sets width="0..1440" in SVG units */
.nav__progress {
  opacity: 0;
  transition: opacity .3s;
}

.header.is-scrolled .nav__progress {
  opacity: 1;
}

.nav {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: 1.5rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
  transition: opacity .2s;
}

.nav__logo:hover {
  opacity: .65;
}

.nav__logo img {
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-left: auto;
}

/* Nav links — pill hover with lavender tint, active underline */
.nav__link {
  position: relative;
  font-size: .925rem;
  font-weight: 700;
  color: var(--muted);
  padding: .45rem .875rem;
  border-radius: var(--r-pill);
  transition: color .2s, background .2s;
  letter-spacing: -.01em;
}

.nav__link:hover {
  color: var(--text);
  background: rgba(168, 166, 232, .12);
}

.nav__link.is-active {
  color: var(--sal-500);
  background: rgba(255, 136, 112, .11);
}

/* Hamburger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  margin-left: auto;
  transition: background .15s;
}

.nav__burger:hover {
  background: rgba(168, 166, 232, .14);
}

.nav__burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}

.nav__burger.is-active span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.nav__burger.is-active span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}


/* ══════════════════════════════════════════════════════════════════════════
   MOBILE MENU
══════════════════════════════════════════════════════════════════════════ */
.mobile-menu {
  position: fixed;
  inset: 0;
  top: 0;
  background: rgba(255, 255, 255, .98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 99;
  padding: 1.5rem 1.5rem 3rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.mm__link {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -.04em;
  color: var(--text);
  padding: .5rem 0;
  border-bottom: 2px solid var(--lav-100);
  transition: color .15s;
}

.mm__link:hover {
  color: var(--sal-400);
}

.mm__stores {
  display: flex;
  gap: .875rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 2rem;
}


/* ══════════════════════════════════════════════════════════════════════════
   HERO  — bold gradient, white text, floating words, organic blobs
══════════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  z-index: 2;
  /* slides over fixed intro panel (z-index:1) */
  background: radial-gradient(ellipse at 22% 54%, #c4c2f4 0%, #dddcf8 52%, #ffb4a0 100%);
  overflow: hidden;
  padding: 4rem 0 8rem;
  min-height: min(100svh, 940px);
  display: flex;
  align-items: center;
  box-shadow: 0 -16px 60px rgba(0, 0, 0, .22);
  /* depth: hero as top layer over intro */
  /* clip-path lets the top shadow show (200px above) but hard-clips at the bottom edge,
     preventing the box-shadow from bleeding onto the community section below */
  clip-path: inset(-200px 0 0 0);
}

/* Wave inside hero — community colour cuts up from the hero's bottom */
.hero__wave-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
  z-index: 3;
  pointer-events: none;
}

/* Semi-transparent white blobs add depth on the gradient — organic, not circles */
.hero__blob {
  position: absolute;
  pointer-events: none;
  animation: blob-morph 10s ease-in-out infinite;
  z-index: 0;
}

.hero__blob--a {
  width: 720px;
  height: 620px;
  background: rgba(138, 135, 224, .22);
  border-radius: 64% 36% 70% 30% / 44% 61% 39% 56%;
  top: -200px;
  right: -160px;
  animation-delay: 0s;
}

.hero__blob--b {
  width: 520px;
  height: 460px;
  background: rgba(255, 136, 112, .2);
  border-radius: 42% 58% 56% 44% / 60% 34% 66% 40%;
  bottom: -170px;
  left: -110px;
  animation-delay: -3.5s;
}

.hero__blob--c {
  width: 300px;
  height: 270px;
  background: rgba(255, 160, 128, .2);
  border-radius: 52% 48% 28% 72% / 36% 66% 34% 64%;
  top: 30%;
  left: 33%;
  animation-delay: -7s;
}

@keyframes blob-morph {

  0%,
  100% {
    border-radius: 64% 36% 70% 30% / 44% 61% 39% 56%;
  }

  33% {
    border-radius: 42% 58% 44% 56% / 62% 33% 67% 38%;
  }

  66% {
    border-radius: 52% 48% 28% 72% / 36% 66% 34% 64%;
  }
}

/* Decorative thread curves — brand texture, replaces floating words */
.hero__threads {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero__threads svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero__inner {
  position: relative;
  z-index: 1;
  text-align: left;
  max-width: 70vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

/* Eyebrow label — bold, integrated, no chip/box */
.hero__eyebrow {
  font-size: clamp(.85rem, 1.6vw, 1.05rem);
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--sal-500);
  display: flex;
  align-items: center;
  gap: .875rem;
  margin-bottom: -.25rem;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 44px;
  height: 3px;
  background: var(--sal-500);
  border-radius: 2px;
  flex-shrink: 0;
}


/* The big claim — all ultra-bold, em distinguished by colour */
.hero__claim {
  font-size: clamp(3.8rem, 10vw, 9.5rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: .8;
  text-align: left;
  color: var(--text);
}

.hero__claim em {
  display: block;
  color: var(--lav-500);
}

/* Sub-copy */
.hero__sub {
  font-size: 1.5rem;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 600;
  max-width: 40vw;
}

/* Store badges — shown as-is (dark badges on pastel gradient) */
.hero__stores {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

/* ── Store buttons — custom-styled, no badge images ─────────────────────── */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  padding: .75rem 1.375rem;
  background: var(--dark);
  color: var(--white);
  border-radius: 14px;
  text-decoration: none;
  transition: transform .22s var(--ease), opacity .2s, background .2s;
  flex-shrink: 0;
}

.store-btn:hover {
  transform: translateY(-3px);
  background: #2d2448;
  opacity: 1;
}

.store-btn__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: block;
}

.store-btn__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store-btn__label {
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .7;
}

.store-btn__platform {
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: -.01em;
}

/* On light/pastel backgrounds, keep the dark pill */
.store-btn--light {
  background: rgba(30, 24, 48, .88);
  backdrop-filter: blur(8px);
}

/* ── Hero entrance animations ─────────────────────────────────────────────── */
.hero__eyebrow,
.hero__claim,
.hero__sub,
.hero__stores {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity .45s cubic-bezier(.22, 1, .36, 1),
    transform .7s cubic-bezier(.22, 1, .36, 1);
}

.hero__eyebrow {
  font-size: 1.3rem;
}

.hero.hero-entered .hero__eyebrow {
  opacity: 1;
  transform: none;
  transition-delay: 0ms;
}

.hero.hero-entered .hero__claim {
  opacity: 1;
  transform: none;
  transition-delay: 80ms;
}

.hero.hero-entered .hero__sub {
  opacity: 1;
  transform: none;
  transition-delay: 180ms;
  font-size: 1.8rem;
}

.hero.hero-entered .hero__stores {
  opacity: 1;
  transform: none;
  transition-delay: 280ms;
}

/* knotted. logo mark — static decorative anchor, right side of hero.
   Lavender-tinted to sit within the gradient's colour palette. */
.hero__yarn {
  position: absolute;
  right: max(-4vw, -60px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(240px, 28vw, 380px);
  pointer-events: none;
  z-index: 1;
  display: none;
}

.hero__yarn img {
  width: 100%;
  display: block;
  /* Lavender tint — matches the hero gradient's right-side lavender zone */
  filter:
    brightness(0) invert(1) sepia(1) hue-rotate(222deg) saturate(2.2) brightness(1.18);
  opacity: .38;
}

@media (min-width: 900px) {
  .hero__yarn {
    display: block;
  }
}


/* ══════════════════════════════════════════════════════════════════════════
   SHARED SECTION STYLES
══════════════════════════════════════════════════════════════════════════ */
.section-head {
  text-align: center;
  margin-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.section-label {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: .14em;
  margin-bottom: 2rem;
  text-transform: uppercase;
  color: var(--sal-500);
}

.section-label--light {
  color: rgba(255, 255, 255, .45);
}

.section-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.05;
}

.section-sub {
  font-size: 1.3rem;
  color: var(--muted);
  max-width: 50vw;
  line-height: 1.3;
}

@media (max-width: 640px) {
  .section-sub {
    font-size: 1.3rem;
    color: var(--muted);
    max-width: 90vw;
    line-height: 1.3;
  }
}

.section-body {
  font-size: 1.3rem;
  color: var(--muted);
  line-height: 1.3;
}


/* ══════════════════════════════════════════════════════════════════════════
   COMMUNITY WELCOME
══════════════════════════════════════════════════════════════════════════ */
.community {
  background: var(--sal-100);
  padding: 2.5rem 0 2.5rem;
}

.community__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.community__text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Organic manifesto — big quote + manifesto list, zero rectangles */
.community__manifest {
  position: relative;
  padding: 3.5rem 3rem;
  z-index: 1;
}

/* Organic blob background shape — not a rectangle */
.community__manifest-blob {
  position: absolute;
  inset: -10px -20px;
  background: linear-gradient(130deg, var(--sal-200) 0%, var(--lav-100) 100%);
  border-radius: 52% 48% 58% 42% / 44% 60% 40% 56%;
  z-index: 0;
  opacity: .6;
  animation: blob-morph 14s ease-in-out infinite;
}

.community__manifest-quote {
  position: relative;
  z-index: 1;
  font-size: clamp(1.6rem, 3.8vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.12;
  color: var(--text);
  font-style: normal;
  margin-bottom: .875rem;
}

.community__manifest-cite {
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-style: normal;
  display: block;
  margin-bottom: 2rem;
}

.community__manifest-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: .625rem;
  list-style: none;
}

.community__manifest-list li {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: .625rem;
}

.community__manifest-list span {
  color: var(--sal-400);
  font-weight: 900;
  font-size: 1.1rem;
}


/* ══════════════════════════════════════════════════════════════════════════
   FEATURE SECTIONS (Wissen / Space / Tools)
══════════════════════════════════════════════════════════════════════════ */

/* Wissen */
.feature--wissen {
  background: var(--lav-50);
  padding: 2.5rem 0 2.5rem;
}

/* Space */
.feature--space {
  background: var(--sal-50);
  padding: 2.5rem 0 2.5rem;
}

/* Tools */
.feature--tools {
  background: var(--lav-100);
  padding: 2.5rem 0 2.5rem;
}

.feature__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* Flip: visual left, text right — use order instead of direction:rtl
   (direction:rtl bleeds into nested text and grid sizing on mobile) */
.feature--flip .feature__vis-wrap {
  order: -1;
}

/* Text column */
.feature__text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.feature__meta {
  display: flex;
  align-items: center;
  gap: .625rem;
}

.feature__num {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: .12em;
  color: var(--sal-400);
}

.feature__tag {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sal-500);
}

.feature__num-purple {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: .12em;
  color: var(--lav-400);
}

.feature__tag-purple {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--lav-500);
}

.feature__title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.04;
}

.feature__body {
  font-size: 1.3rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── Journey — Wissen → Selbstakzeptanz → Selbstliebe ─────────────────── */

/* Override data-animate on wrapper: only use it as .in-view trigger, not for fade */
.journey[data-animate] {
  opacity: 1;
  transform: none;
}

.journey {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin-top: 2.25rem;
}

.journey__node {
  display: inline-flex;
  align-items: center;
  padding: .55rem 1.3rem;
  border-radius: var(--r-pill);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.015em;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}

.journey__node--1 {
  background: var(--lav-100);
  color: var(--lav-500);
  transition-delay: .05s;
}

.journey__node--2 {
  background: linear-gradient(135deg, var(--lav-100) 0%, var(--sal-100) 100%);
  color: var(--text);
  transition-delay: .6s;
}

.journey__node--3 {
  background: var(--sal-100);
  color: var(--sal-500);
  transition-delay: 1.15s;
}

.journey[data-animate].in-view .journey__node {
  opacity: 1;
  transform: none;
  font-size: 1.5rem;
}

.journey__conn {
  margin-left: 1.3rem;
  width: 32px;
  height: 56px;
}

.journey__conn svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.journey__line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset .5s var(--ease);
}

.journey__head {
  opacity: 0;
  transition: opacity .2s var(--ease);
}

.journey__conn--1 .journey__line {
  transition-delay: .3s;
}

.journey__conn--1 .journey__head {
  transition-delay: .75s;
}

.journey__conn--2 .journey__line {
  transition-delay: .85s;
}

.journey__conn--2 .journey__head {
  transition-delay: 1.3s;
}

.journey[data-animate].in-view .journey__line {
  stroke-dashoffset: 0;
}

.journey[data-animate].in-view .journey__head {
  opacity: 1;
}

/* ── Rooms — Space section teasers ────────────────────────────────────── */

/* Wrapper: use as .in-view trigger only, not for fade */
.rooms[data-animate] {
  opacity: 1;
  transform: none;
}

.rooms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .625rem;
  margin-top: 2rem;
}

/* Last card spans full width */
.rooms__card:last-child {
  grid-column: 1 / -1;
}

.rooms__card {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: .875rem 1.125rem;
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1.5px solid rgba(30, 24, 48, .06);
  box-shadow: var(--sh-sm);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), box-shadow .22s;
}

.rooms[data-animate].in-view .rooms__card {
  opacity: 1;
  transform: none;
}

/* Staggered entrance delays */
.rooms__card:nth-child(1) {
  transition-delay: .05s;
}

.rooms__card:nth-child(2) {
  transition-delay: .15s;
}

.rooms__card:nth-child(3) {
  transition-delay: .25s;
}

.rooms__card:nth-child(4) {
  transition-delay: .35s;
}

.rooms__card:nth-child(5) {
  transition-delay: .45s;
}

.rooms__card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
}

/* Emoji avatar circle */
.rooms__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
  padding-top: 5px;
  flex-shrink: 0;
}

.rooms__card--1 .rooms__avatar {
  background: var(--lav-100);
}

.rooms__card--2 .rooms__avatar {
  background: var(--sal-100);
}

.rooms__card--3 .rooms__avatar {
  background: var(--lav-200);
}

.rooms__card--4 .rooms__avatar {
  background: var(--sal-200);
}

.rooms__card--5 .rooms__avatar {
  background: linear-gradient(135deg, var(--lav-100) 0%, var(--sal-100) 100%);
}

.rooms__info {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-width: 0;
}

.rooms__name {
  font-size: .95rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.015em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rooms__meta {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

.rooms__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5cb87a;
  flex-shrink: 0;
  animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .5;
    transform: scale(.75);
  }
}

.feature__chips {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.chip--lav {
  color: var(--lav-500);
}

.chip--lav::before {
  background: var(--lav-400);
}

.chip--sal {
  color: var(--sal-500);
}

.chip--sal::before {
  background: var(--sal-400);
}

/* Visual column — organic blob shape (no rectangles!) */
.feature__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4/3;
  border-radius: 60% 40% 55% 45% / 45% 55% 40% 60%;
  overflow: hidden;
  transition: border-radius .4s var(--ease);
}

.feature__visual:hover {
  border-radius: 45% 55% 40% 60% / 55% 40% 60% 45%;
}

.feature__visual--lav {
  background: var(--lav-200);
}

.feature__visual--sal {
  background: var(--sal-200);
}

.feature__visual--lav2 {
  background: var(--lav-300);
}

/* Phone-on-blob layout ─────────────────────────────────────────────── */
/* Blob is in-flow and defines the wrapper height via aspect-ratio.
   Phone is absolutely positioned so its bottom edge sits at the
   blob's vertical centre (bottom: 50%). */
.feature__vis-wrap {
  position: relative;
}

/* Blob fills wrapper; its aspect-ratio drives the wrapper's height */
.feature__vis-wrap .feature__visual {
  width: 100%;
  display: block;
  z-index: 11;
}

/* Phone: bottom edge anchored to blob centre, extends upward above blob */
.feature__phone-img {
  position: absolute;
  bottom: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 45%;
  height: auto;
  max-width: 250px;
  z-index: 12;
  filter: drop-shadow(0 20px 40px rgba(30, 24, 48, .2)) drop-shadow(0 4px 10px rgba(30, 24, 48, .1));
  border-radius: 1.5rem;
}

/* Extra top padding on every feature section gives the phone enough
   room above the blob without overlapping the sections above it.
   ~14 rem ≈ the phone's height that extends above the blob centre. */
.feature--wissen,
.feature--space,
.feature--tools {
  padding-top: clamp(6rem, 10vw, 8rem);
}


/* ══════════════════════════════════════════════════════════════════════════
   REWRITE STAGE — "Deine Stimme, neu gelesen"
   Dark section. Negative inner-monologue crossed out → warm truth revealed.
   Sequential scroll-triggered animation. No interaction required.
══════════════════════════════════════════════════════════════════════════ */
.rewrite-section {
  background: var(--dark);
  padding: 7rem 0 8rem;
  position: relative;
  overflow: hidden;
}

/* Background blob decorations on dark */
.rewrite-section__blob-a {
  position: absolute;
  width: 640px;
  height: 520px;
  border-radius: 55% 45% 62% 38% / 42% 58% 44% 56%;
  background: rgba(168, 166, 232, .055);
  top: -160px;
  right: -180px;
  pointer-events: none;
  animation: blob-morph 16s ease-in-out infinite;
}

.rewrite-section__blob-b {
  position: absolute;
  width: 480px;
  height: 400px;
  border-radius: 40% 60% 50% 50% / 60% 40% 55% 45%;
  background: rgba(255, 160, 130, .04);
  bottom: -120px;
  left: -140px;
  pointer-events: none;
  animation: blob-morph 20s ease-in-out infinite reverse;
}

.rewrite-head {
  text-align: center;
  margin-bottom: 5rem;
}

.rewrite-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.04;
  color: var(--od);
  margin-top: .875rem;
}

.rewrite-title em {
  color: var(--sal-300);
}

/* Stack of before/after pairs */
.rewrite-stage {
  max-width: 860px;
  margin-inline: auto;
}

.rewrite-item {
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding: 3rem 0 2.5rem;
  position: relative;
}

.rewrite-item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

/* "Before" — the negative inner voice */
.rewrite-before {
  font-size: clamp(1.75rem, 4.5vw, 3.25rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.1;
  color: rgba(255, 255, 255, .28);
  position: relative;
  display: inline-block;
  margin-bottom: .5rem;
}

/* Strikethrough line sweeps left→right on reveal */
.rewrite-before::after {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  top: 52%;
  height: 3px;
  border-radius: 2px;
  background: var(--sal-400);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .55s cubic-bezier(.22, 1, .36, 1);
}

/* "After" — the warm truth that replaces it */
.rewrite-after {
  display: block;
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: 1.05;
  background: linear-gradient(135deg, var(--sal-300) 0%, var(--lav-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--sal-300);
  /* fallback */
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity .5s .52s cubic-bezier(.22, 1, .36, 1),
    transform .5s .52s cubic-bezier(.22, 1, .36, 1);
}

/* Revealed state — added by JS on scroll-in */
.rewrite-item.is-revealed .rewrite-before::after {
  transform: scaleX(1);
}

.rewrite-item.is-revealed .rewrite-after {
  opacity: 1;
  transform: none;
}


/* ══════════════════════════════════════════════════════════════════════════
   VOICES — editorial pull-quote testimonials, organic glow accents
══════════════════════════════════════════════════════════════════════════ */
.voices {
  background: var(--sal-50);
  padding: 2.5rem 0 2.5rem;
  overflow: hidden;
}

.voices__list {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.voice-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: 3rem 0;
}

.voice-item--right {
  align-items: flex-end;
  text-align: right;
  padding-left: 15%;
}

/* Organic blob glow behind each quote — not a rectangle */
.voice-item__glow {
  position: absolute;
  width: 480px;
  height: 380px;
  background: var(--sal-100);
  border-radius: 58% 42% 64% 36% / 46% 62% 38% 54%;
  z-index: 0;
  top: 10px;
  left: -100px;
  pointer-events: none;
  opacity: .65;
  animation: blob-morph 16s ease-in-out infinite;
}

.voice-item__glow--lav {
  background: var(--lav-100);
  left: auto;
  right: -100px;
  animation-delay: -5s;
}

/* Large faint number — visual anchor */
.voice-item__num {
  position: absolute;
  font-size: clamp(8rem, 18vw, 14rem);
  font-weight: 900;
  letter-spacing: -.06em;
  line-height: 1;
  color: var(--sal-400);
  opacity: .35;
  top: 0;
  left: -1.5rem;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.voice-item__num--lav {
  color: var(--lav-400);
  left: auto;
  right: -1.5rem;
}

/* Giant decorative quotation mark — editorial anchor */
.voice-item__mark {
  position: relative;
  z-index: 1;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(6rem, 15vw, 11rem);
  line-height: .5;
  color: var(--sal-500);
  opacity: .85;
  user-select: none;
  pointer-events: none;
  letter-spacing: -.05em;
  margin-bottom: .5rem;
}

.voice-item__mark--lav {
  color: var(--lav-500);
}

/* The quote — large, bold, no box */
.voice-item__quote {
  position: relative;
  z-index: 1;
  font-size: clamp(1.3rem, 3vw, 1.85rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.03em;
  color: var(--text);
  font-style: normal;
  max-width: 700px;
}

/* Highlighted keyword in each quote */
.voice-item__quote em {
  font-style: normal;
  color: var(--sal-400);
}

.voice-item--right .voice-item__quote em {
  color: var(--lav-400);
}

.voice-item__cite {
  position: relative;
  z-index: 1;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  font-style: normal;
}

/* Squiggly SVG separator between quotes */
.voice-sep {
  width: 100%;
  max-width: 640px;
  padding: .75rem 0;
  display: block;
  opacity: .55;
  position: relative;
  z-index: 1;
}

.voice-sep--sal {
  align-self: flex-end;
}


/* ══════════════════════════════════════════════════════════════════════════
   TEAM
══════════════════════════════════════════════════════════════════════════ */
.team {
  background: var(--white);
  padding: 2.5rem 0 2.5rem;
}

.team__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.team__cta {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.founder {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

/* Organic blob-shaped photo — no rectangle */
.founder__photo-blob {
  width: 100%;
  aspect-ratio: 3/3;
  overflow: hidden;
  border-radius: 55% 45% 60% 40% / 45% 60% 40% 55%;
  background: var(--lav-100);
  transition: border-radius .4s var(--ease);
}

.founder__photo-blob:hover {
  border-radius: 40% 60% 45% 55% / 60% 40% 55% 45%;
}

.founder__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.founder__namerow {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.founder__name {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -.025em;
}

.founder__linkedin {
  display: flex;
  align-items: center;
  opacity: .85;
  transition: transform .2s var(--ease), opacity .2s;
}

.founder__linkedin svg {
  width: 22px;
  height: 22px;
}

.founder__linkedin:hover {
  transform: translateY(-2px);
  opacity: 1;
}

.founder__role {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sal-500);
  margin-top: -.75rem;
}

.founder__bio {
  font-size: 1.3rem;
  line-height: 1.3;
  color: var(--muted);
}


/* ══════════════════════════════════════════════════════════════════════════
   VISION  "Warum knotted.?"
══════════════════════════════════════════════════════════════════════════ */
.vision {
  background: var(--sal-100);
  padding: 2.5rem 0 2.5rem;
}

.vision__inner {
  max-width: 60;
  margin-inline: auto;
}

.vision__title {
  font-size: clamp(3rem, 7.5vw, 6.5rem);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: 1.1;
  margin-bottom: 2.5rem;
}

.vision__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
  font-size: 1.2rem;
}

.vision__values {
  display: flex;
  flex-direction: column;
  gap: .875rem;
}

.vision__value {
  display: flex;
  align-items: center;
  gap: .875rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.vision__dot {
  display: block;
  width: 12px;
  height: 12px;
  /* Organic petal shape — not a circle */
  border-radius: 60% 40% 55% 45% / 40% 55% 45% 60%;
  flex-shrink: 0;
}


/* ══════════════════════════════════════════════════════════════════════════
   FINAL CTA  — organic invitation card floating on dark lavender field
══════════════════════════════════════════════════════════════════════════ */
.final-cta {
  background: var(--dark);
  padding: 7rem 0 8rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* Soft ambient glow decorations behind the card */
.final-cta__bg-a {
  position: absolute;
  width: 700px;
  height: 580px;
  border-radius: 44% 56% 58% 42% / 40% 52% 48% 60%;
  top: -180px;
  right: -180px;
  pointer-events: none;
  animation: blob-morph 14s ease-in-out infinite;
}

.final-cta__bg-b {
  position: absolute;
  width: 520px;
  height: 440px;
  border-radius: 60% 40% 45% 55% / 50% 62% 38% 50%;
  background: radial-gradient(ellipse, rgba(255, 136, 112, .1) 0%, transparent 70%);
  bottom: -140px;
  left: -120px;
  pointer-events: none;
  animation: blob-morph 18s ease-in-out infinite reverse;
}

/* Faint thread texture behind card */
.final-cta__threads {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.final-cta__threads svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Mark — sits ABOVE text as a decorative foreground element, right side */
.final-cta__bg-mark {
  position: absolute;
  width: clamp(160px, 22vw, 280px);
  top: 50%;
  right: -8%;
  /* partially off-screen — large, atmospheric */
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 2;
  /* above body text (z-index:1) */
  animation: yarn-breathe 26s ease-in-out infinite reverse;
  /* Gradient fade: transparent on left (toward text), solid on right */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, .6) 30%, black 60%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, .6) 30%, black 60%);
}

.final-cta__bg-mark img {
  width: 100%;
  display: block;
  /* Lighter version of the dark background: desaturated lavender, not white */
  filter:
    brightness(0) invert(1) sepia(.6) hue-rotate(218deg) saturate(1.4) brightness(.9);
  opacity: .28;
}

/* Content body — floats directly on the dark field, no card wrapper */
.final-cta__body {
  position: relative;
  z-index: 1;
  max-width: 70vw;
  margin-inline: auto;
}

/* "iOS & Android · Kostenlos · Für immer" above headline */
.final-cta__eyebrow {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--od-m);
  margin-bottom: 1.5rem;
}

/* Giant headline — white on dark */
.final-cta__headline {
  font-size: clamp(4.5rem, 12vw, 10rem);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: .9;
  color: var(--od);
  margin-bottom: 1.5rem;
}

.final-cta__headline em {
  display: block;
  color: var(--sal-300);
}

.final-cta__sub {
  font-size: 1.15rem;
  color: var(--od-m);
  line-height: 1.75;
  margin-bottom: 3rem;
}

.final-cta__stores {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Final CTA: store buttons sit on dark background — use frosted white pill */
.final-cta__stores .store-btn {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.final-cta__stores .store-btn:hover {
  background: rgba(255, 255, 255, .22);
  transform: translateY(-3px);
  opacity: 1;
}

@media (max-width: 640px) {
  .final-cta__headline {
    font-size: clamp(3.5rem, 14vw, 5rem);
  }
}


/* ══════════════════════════════════════════════════════════════════════════
   INTRO PANEL  — full-screen overlay that plays first, slides away on scroll
══════════════════════════════════════════════════════════════════════════ */
/* ── Intro panel: fixed backdrop, stays put while hero scrolls over it ──── */
.intro-panel {
  position: fixed;
  inset: 0;
  height: 100svh;
  z-index: 1;
  /* hero (z-index:2) slides over this */
  background: var(--dark);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Spacer in document flow: creates the scroll distance for the hero entrance.
   Hero lives after this in the DOM and naturally slides up over the fixed panel. */
.intro-stage {
  height: 100svh;
  pointer-events: none;
  flex-shrink: 0;
}

/* Blob decorations */
.intro-panel__blob-a {
  position: absolute;
  width: 640px;
  height: 520px;
  border-radius: 55% 45% 62% 38% / 42% 58% 44% 56%;
  background: rgba(168, 166, 232, .07);
  top: -160px;
  right: -180px;
  pointer-events: none;
  animation: blob-morph 16s ease-in-out infinite;
}

.intro-panel__blob-b {
  position: absolute;
  width: 480px;
  height: 400px;
  border-radius: 40% 60% 50% 50% / 60% 40% 55% 45%;
  background: rgba(255, 160, 130, .055);
  bottom: -120px;
  left: -140px;
  pointer-events: none;
  animation: blob-morph 20s ease-in-out infinite reverse;
}

/* Decorative thread lines */
.intro-panel__threads {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.intro-panel__threads svg {
  width: 100%;
  height: 100%;
}

/* Brand bar — fades down from above on load */
.intro-panel__brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: .625rem;
  padding: 1.5rem 2rem;
  flex-shrink: 0;
  will-change: transform, opacity;
  transform-origin: top left;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity .45s cubic-bezier(.22, 1, .36, 1), transform .45s cubic-bezier(.22, 1, .36, 1);
}

.intro-panel__brand.is-visible {
  opacity: 1;
  transform: none;
}

.intro-panel__brand img {
  filter: brightness(0) invert(1);
}

/* Content wrapper: fills remaining height, stacks head + scatter */
.intro-panel>.container {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: 0;
  padding-bottom: 4.5rem;
  position: relative;
  max-width: none;
  /* override .container's --w constraint so texts breathe edge-to-edge */
}

/* ── Title area: children animate separately ─────────────────────────────── */
.intro-panel__head {
  text-align: center;
  margin-bottom: 0;
  padding: .75rem 1rem 1.25rem;
  flex-shrink: 0;
  /* No opacity/transform here — label and title animate independently */
}

/* Label slides up from below */
.intro-panel__head .section-label {
  display: block;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity .5s cubic-bezier(.22, 1, .36, 1),
    transform .55s cubic-bezier(.22, 1, .36, 1);
}

.intro-panel__head .section-label.is-visible {
  opacity: 1;
  transform: none;
}

/* Title fades in */
.intro-panel .rewrite-title {
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  opacity: 0;
  transition: opacity .7s cubic-bezier(.22, 1, .36, 1);
}

.intro-panel .rewrite-title.is-visible {
  opacity: 1;
}

/* ── Scatter stage: fills remaining area, items float freely ─────────────── */
.intro-panel .rewrite-stage {
  position: relative;
  flex: 1;
  max-width: none;
  margin: 0;
}

/* Items: absolutely scattered, no list borders.
   The item itself only slides — children handle their own opacity/reveal. */
.intro-panel .rewrite-item {
  position: absolute;
  border-top: none;
  border-bottom: none;
  padding: 0;
  max-width: 46vw;
  will-change: transform, opacity;
  transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}

.intro-panel .rewrite-item:last-child {
  border-bottom: none;
}

/* ── Scatter positions + directional slide-in starting transforms ─────────── */
.intro-panel .rewrite-item:nth-child(1) {
  top: 0;
  left: 3%;
  transform: translateX(-70px);
}

.intro-panel .rewrite-item:nth-child(2) {
  top: 4%;
  right: 3%;
  text-align: right;
  transform: translateX(70px);
}

.intro-panel .rewrite-item:nth-child(3) {
  bottom: 0;
  left: 4%;
  transform: translateX(-70px);
}

.intro-panel .rewrite-item:nth-child(4) {
  bottom: 4%;
  right: 3%;
  text-align: right;
  transform: translateX(70px);
}

/* Must come AFTER nth-child rules — JS inline style overrides this on scroll flyout */
.intro-panel .rewrite-item.is-revealed {
  transform: none;
}

/* ── Per-child entrance sequence inside each item ─────────────────────────── */

/* 1. Before text: hidden until item is revealed, then fades in */
.intro-panel .rewrite-before {
  font-size: clamp(1.5rem, 3.5vw, 3rem);
  white-space: nowrap;
  opacity: 0;
  transition: opacity .45s cubic-bezier(.22, 1, .36, 1);
}

.intro-panel .rewrite-item.is-revealed .rewrite-before {
  opacity: 1;
  /* no delay — starts immediately as item slides in */
}

/* 2. Strikethrough sweeps after before has appeared (~400ms in) */
.intro-panel .rewrite-item.is-revealed .rewrite-before::after {
  transform: scaleX(1);
  transition-delay: 400ms;
}

/* 3. After text slides up once strikethrough is drawing (~850ms in) */
.intro-panel .rewrite-item.is-revealed .rewrite-after {
  opacity: 1;
  transform: none;
  transition-delay: 850ms;
}

/* After text sizing */
.intro-panel .rewrite-after {
  font-size: clamp(1.875rem, 4.5vw, 3.75rem);
}

@media (max-width: 1280px) {
  .intro-panel .rewrite-before {
    font-size: clamp(0.8rem, 2.5vw, 1rem);
    white-space: normal;
  }

  .intro-panel .rewrite-after {
    font-size: clamp(1rem, 3.5vw, 1.275rem);
    white-space: normal;
  }
}

/* Mobile: switch to staggered flex column (absolute breaks on small screens) */
@media (max-width: 700px) {

  /* Section label: compact for narrow screens */
  .intro-panel__head .section-label {
    font-size: .75rem;
    letter-spacing: .07em;
    margin-bottom: .75rem;
  }

  /* Title: smaller so both lines fit inside container padding */
  .intro-panel .rewrite-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .intro-panel .rewrite-stage {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: .5rem 0;
  }

  .intro-panel .rewrite-item {
    position: static;
    max-width: 88%;
  }

  /* Smaller text so items don't overflow narrow containers */
  .intro-panel .rewrite-before {
    font-size: clamp(1.1rem, 3.5vw, 1.5rem);
    white-space: normal;
  }

  .intro-panel .rewrite-after {
    font-size: clamp(1.3rem, 4.5vw, 1.875rem);
    white-space: normal;
  }

  /* On mobile, left items come from left, right (even) from right */
  .intro-panel .rewrite-item:nth-child(odd) {
    transform: translateX(-30px);
  }

  .intro-panel .rewrite-item:nth-child(even) {
    transform: translateX(30px);
    align-self: flex-end;
    text-align: right;
  }

  .intro-panel .rewrite-item.is-revealed {
    transform: none;
  }
}

/* ── Scroll hint ─────────────────────────────────────────────────────────── */
.intro-panel__hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  opacity: 0;
  transition: opacity .5s cubic-bezier(.22, 1, .36, 1);
}

@media (max-width: 640px) {
  .intro-panel__hint {
    bottom: 1.5rem;
  }
}


.intro-panel__hint.is-visible {
  opacity: 1;
}

.intro-panel__hint-label {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .35);
}

.intro-panel__hint-mouse {
  width: 22px;
  height: 38px;
}

.intro-panel__hint-dot {
  animation: scroll-dot-bounce 1.8s ease-in-out infinite;
}

@keyframes scroll-dot-bounce {

  0%,
  100% {
    transform: translateY(0);
    opacity: .5;
  }

  50% {
    transform: translateY(10px);
    opacity: .9;
  }
}

/* Reduced motion — show everything immediately, skip animations */
@media (prefers-reduced-motion: reduce) {

  .intro-panel__head,
  .intro-panel .rewrite-item {
    opacity: 1;
    transform: none;
    transition: none;
  }

  /* Children also visible immediately */
  .intro-panel .rewrite-before {
    opacity: 1;
    transition: none;
  }

  .intro-panel .rewrite-before::after {
    transform: scaleX(1);
    transition: none;
  }

  .intro-panel .rewrite-after {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .intro-panel__hint {
    opacity: 1;
    transition: none;
  }

  .intro-panel__hint-dot {
    animation: none;
  }
}


/* ══════════════════════════════════════════════════════════════════════════
   PARTNER  — organic two-track layout, matches community__manifest style
══════════════════════════════════════════════════════════════════════════ */
.partner {
  background: var(--lav-50);
  padding: 2.5rem 0 2.5rem;
}

.partner__tracks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}

/* Each track mirrors community__manifest — organic blob bg, no rectangles */
.partner__track {
  position: relative;
  padding: 3rem 4.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  z-index: 1;
}

.partner__track-blob {
  position: absolute;
  inset: -10px -20px;
  background: linear-gradient(130deg, var(--lav-200) 0%, var(--sal-100) 100%);
  border-radius: 52% 48% 58% 42% / 44% 60% 40% 56%;
  z-index: 0;
  opacity: .5;
  animation: blob-morph 16s ease-in-out infinite;
}

.partner__track--sal .partner__track-blob {
  background: linear-gradient(130deg, var(--sal-200) 0%, var(--lav-100) 100%);
  animation-duration: 19s;
  animation-delay: -6s;
}

/* All children sit above the blob */
.partner__track>*:not(.partner__track-blob) {
  position: relative;
  z-index: 1;
}

.partner__track-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  font-size: 2rem;
  flex-shrink: 0;
  border-radius: 58% 42% 64% 36% / 48% 55% 45% 52%;
  transition: border-radius .4s var(--ease);
}

.partner__track-icon:hover {
  border-radius: 42% 58% 36% 64% / 55% 45% 55% 45%;
}

.partner__track .partner__track-icon {
  background: var(--lav-200);
}

.partner__track--sal .partner__track-icon {
  background: var(--sal-200);
}

.partner__track-title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.1;
  color: var(--text);
}

.partner__track-body {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.75;
}

.partner__track-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .625rem;
  flex-grow: 1;
}

.partner__track-list li {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: .625rem;
}

.partner__track-list span {
  color: var(--sal-400);
  font-weight: 900;
  flex-shrink: 0;
}

.partner__track-list-purple {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .625rem;
  flex-grow: 1;
}

.partner__track-list-purple li {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: .625rem;
}

.partner__track-list-purple span {
  color: var(--lav-400);
  font-weight: 900;
  flex-shrink: 0;
}

/* Lavender track → lavender button */
.partner__track .btn-primary {
  background: var(--lav-400);
}

.partner__track .btn-primary:hover {
  background: var(--lav-500);
  box-shadow: 0 8px 24px rgba(138, 135, 224, .35);
}

/* Salmon track → salmon button (restores default) */
.partner__track--sal .btn-primary {
  background: var(--sal-400);
}

.partner__track--sal .btn-primary:hover {
  background: var(--sal-500);
  box-shadow: 0 8px 24px rgba(255, 136, 112, .35);
}

@media (max-width: 800px) {
  .partner__tracks {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}


/* ══════════════════════════════════════════════════════════════════════════
   SCROLL LINE  — single wavy vertical line, right side, drawn on scroll
══════════════════════════════════════════════════════════════════════════ */
.scroll-line {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  pointer-events: none;
  z-index: 10;
  /* above hero (2), intro (1), and wave dividers (5) */
  display: none;
}

@media (min-width: 900px) {
  .scroll-line {
    display: block;
  }
}

#scroll-line-svg {
  width: 100%;
  height: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-line {
    display: none;
  }
}


/* ══════════════════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════════════════ */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 3rem 0 2rem;
}

.footer__made-with {
  text-align: center;
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: white;
  padding-bottom: 2.5rem;
}

.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  opacity: .8;
  transition: opacity .2s;
}

.footer__logo:hover {
  opacity: .5;
}

.footer__tagline {
  font-size: 1rem;
  color: var(--od-f);
  font-weight: 600;
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: .25rem;
}

.footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--od-f);
  transition: color .2s, transform .2s var(--ease), opacity .2s;
}

.footer__social svg {
  width: 32px;
  height: 32px;
}

.footer__social:hover {
  color: var(--od);
  transform: translateY(-2px);
}

/* Official LinkedIn icon — tint on dark background, full colour on hover */
.footer__social--li {
  opacity: .45;
}

.footer__social--li:hover {
  opacity: 1;
}

.footer__nav {
  display: flex;
  gap: .5rem 2rem;
  flex-wrap: wrap;
  align-items: center;
}

.footer__link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--od-f);
  transition: color .2s;
}

.footer__link:hover {
  color: var(--od);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .06);
  font-size: 1rem;
  color: var(--od-f);
  flex-wrap: wrap;
}

.footer__store-link {
  font-weight: 700;
  color: var(--od-f);
  transition: color .2s;
}

.footer__store-link:hover {
  color: var(--od);
}


/* ══════════════════════════════════════════════════════════════════════════
   LEGAL PAGES
══════════════════════════════════════════════════════════════════════════ */
.legal-body {
  background: var(--cream);
}

.legal-page {
  padding: 4rem 0 6rem;
  min-height: 70vh;
}

.legal-hero {
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}

.legal-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--text);
  margin-top: .75rem;
}

.legal-content {
  max-width: 720px;
}

.legal-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text);
  margin-bottom: 1rem;
}

.legal-section h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 1.25rem;
  margin-bottom: .5rem;
}

.legal-section p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: .75rem;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section a {
  color: var(--lav-500);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s;
}

.legal-section a:hover {
  color: var(--sal-500);
}

.legal-list {
  list-style: none;
  padding: 0;
  margin: .75rem 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.legal-list li {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
  padding-left: 1.25rem;
  position: relative;
}

.legal-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lav-400);
}


/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {

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

  .community__manifest {
    padding: 2.5rem 2rem;
  }

  .feature__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* Prevent grid items from growing beyond their track (default min-width:auto can overflow) */
  .feature__text,
  .feature__vis-wrap {
    min-width: 0;
  }

  /* Feature sections: remove the huge top padding — phone no longer floats above */
  .feature--wissen,
  .feature--space,
  .feature--tools {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  /* Flip section (Space): on mobile, text first — undo the desktop order:-1 on vis-wrap */
  .feature--flip .feature__vis-wrap {
    order: 2;
  }

  .feature--flip .feature__text {
    order: 1;
  }

  /* Phone: switch from absolute (extends above blob) to in-flow above blob */
  .feature__vis-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .feature__phone-img {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: 50%;
    max-width: 200px;
    margin-bottom: -7rem;
    z-index: 12;
  }

  /* Blob: slightly narrower so it appears as a base under the phone */
  .feature__vis-wrap .feature__visual {
    width: 86%;
  }

  .voice-item--right {
    padding-left: 5%;
  }

  .voice-item__glow {
    width: 320px;
    height: 260px;
    left: -60px;
  }

  .voice-item__glow--lav {
    left: auto;
    right: -60px;
  }

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

  .nav__links {
    display: none;
  }

  .nav__burger {
    display: flex;
  }
}

@media (max-width: 640px) {

  .hero {
    padding: 5rem 0 4rem;
    min-height: auto;
  }

  .hero__claim {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .hero__sub {
    font-size: .95rem;
    max-width: 70vw;
  }

  .community {
    padding: 4rem 0 3.5rem;
  }

  .vision__title {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  /* Experience grid: single column on small screens (already handled by xp-grid media query) */

  .feature--wissen,
  .feature--space,
  .feature--tools {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  /* Feature body text: reduce size on small screens */
  .feature__body {
    font-size: 1.05rem;
  }

  /* Rooms: single column so cards don't overflow narrow screens */
  .rooms {
    grid-template-columns: 1fr;
  }

  .rooms__card:last-child {
    grid-column: auto;
  }

  .voices {
    padding: 3.5rem 0 3rem;
  }

  .voice-item--right {
    padding-left: 0;
    align-items: flex-start;
    text-align: left;
  }

  .voice-item--right .voice-item__glow {
    right: auto;
    left: -40px;
  }

  .voice-item--right .voice-item__num {
    right: auto;
    left: -1rem;
    opacity: .35;
  }

  .voice-item__quote {
    font-size: 1.2rem;
  }

  .voice-sep--sal {
    align-self: flex-start;
  }

  .voice-item__glow {
    display: none;
  }

  /* hide glows on very small screens */

  .footer__top {
    flex-direction: column;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Section labels: reduce size so long labels don't overflow on narrow viewports */
  .section-label {
    font-size: 1rem;
    letter-spacing: .10em;
  }

  /* Partner tracks: reduce excessive horizontal padding on mobile */
  .partner__track {
    padding: 2rem 1.5rem;
    /* overflow: hidden removed — blob extends -20px beyond track edges */
  }

  .final-cta__body {
    max-width: 90vw;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  /* Hero entrance: skip animation, show immediately */
  .hero__eyebrow,
  .hero__claim,
  .hero__sub,
  .hero__stores {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__blob,
  .final-cta::before,
  .final-cta::after {
    animation: none;
  }

  .feature__visual {
    transition: none;
  }

  .founder__photo-blob {
    transition: none;
  }
}