/* ==========================================================================
   Ingressible — design preview
   Editorial beauty studio meets inclusive innovation laboratory.
   ========================================================================== */

/* ---------- Design tokens ----------
   Exact palette (approved):
   Foundation: cream #F4F0E8, ivory #FBF8F2, mist #ECE6DC, deep plum #4A1F32.
   Spectrum:   deep aubergine #371540, plum #552350, rich orchid #7A3D72,
               soft mauve #B584A9, lavender mist #DDD0E0, berry rose #913D66,
               rose #BC5A80, blush #DD8BA8, petal #F0B8CA, powder pink #F8DAE1.
   Roles: cream canvas, plum authority, purple intelligence/research,
          pink beauty/humanity.                                          */
:root {
  /* Foundation */
  --cream: #F4F0E8;
  --ivory: #FBF8F2;
  --mist: #ECE6DC;

  /* Anchors */
  --plum: #4A1F32;
  --aubergine: #371540;

  /* Purple — intelligence / research */
  --plum-2: #552350;
  --orchid: #7A3D72;
  --mauve: #B584A9;
  --lavender: #DDD0E0;

  /* Pink — beauty / humanity */
  --berry: #913D66;
  --rose: #BC5A80;
  --blush: #DD8BA8;
  --petal: #F0B8CA;
  --powder: #F8DAE1;

  /* Text */
  --text: var(--plum);
  --text-soft: #6B4557;
  --heading: var(--plum);

  /* Surfaces */
  --surface: var(--ivory);
  --surface-raised: var(--lavender);
  --surface-sunken: var(--mist);
  --line: rgba(77, 37, 52, 0.18);
  --line-strong: rgba(77, 37, 52, 0.5);

  /* Type */
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Scale (editorial, fluid) */
  --text-xs: 0.78rem;
  --text-sm: 0.9rem;
  --text-md: 1.05rem;
  --text-lg: 1.3rem;
  --text-xl: 1.7rem;
  --text-2xl: 2.3rem;
  --text-3xl: 3rem;
  --text-4xl: clamp(2.8rem, 7vw, 5.2rem);

  /* Spacing */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.75rem;
  --space-4: 3rem;
  --space-5: 5rem;
  --space-6: 8rem;

  /* Layout */
  --shell: 1200px;
  --radius: 14px;
  --radius-lg: 26px;
  --max-line: 64ch;

  /* Motion */
  --dur: 240ms;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--heading);
  line-height: 1.06;
  margin: 0 0 var(--space-2);
}

h1 { font-size: var(--text-4xl); letter-spacing: -0.01em; }
h2 { font-size: var(--text-3xl); letter-spacing: -0.005em; }
h3 { font-size: var(--text-xl); }

p { margin: 0 0 var(--space-3); max-width: var(--max-line); }

a { color: var(--plum); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

ul, ol { margin: 0; padding: 0; list-style: none; }

/* ---------- Accessibility helpers ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: var(--space-2);
  top: -100%;
  z-index: 1000;
  padding: var(--space-1) var(--space-2);
  background: var(--plum);
  color: var(--ivory);
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 600;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 3px solid var(--berry);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--plum); color: var(--ivory); }

/* ---------- Layout shell ---------- */
.shell {
  width: min(var(--shell), 100% - 2 * var(--space-3));
  margin-inline: auto;
}

/* ---------- Eyebrow & section heads ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--berry);
  margin-bottom: var(--space-2);
}

.section-title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-2);
}

.section-intro {
  font-size: var(--text-lg);
  color: var(--text-soft);
  margin-bottom: 0;
}

.section-head {
  margin-bottom: var(--space-4);
  max-width: 46rem;
}

/* ---------- Header / nav ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(251, 248, 242, 0.82);
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 100;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-2) 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}

.header-actions__cta {
  display: inline-flex;
}

.header-actions__motion {
  display: inline-flex;
}

.brand__mark {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--ivory);
  background: var(--plum);
  width: 2.2rem; height: 2.2rem;
  display: grid; place-items: center;
  border-radius: 9% 9% 45% 45%;
  align-self: center;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  color: var(--plum);
  letter-spacing: 0.01em;
}

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
}
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: flex-end;
}
.site-nav li {
  flex-shrink: 0;
}
.site-nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  color: var(--text);
  padding: var(--space-1) 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--blush); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--berry); }

.site-nav__mobile-actions {
  display: none;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--line);
  margin-top: var(--space-2);
}



.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--berry);
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  transition: color var(--dur) var(--ease);
  min-height: 2.5rem;
  min-width: 2.5rem;
  flex-shrink: 0;
  white-space: nowrap;
}
.nav-toggle:hover {
  color: var(--rose);
}
.nav-toggle:focus-visible {
  outline: 3px solid var(--berry);
  outline-offset: 2px;
  border-radius: 4px;
}
.nav-toggle .nav-toggle__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 16px;
  flex-shrink: 0;
}
.nav-toggle .nav-toggle__icon svg {
  width: 100%;
  height: 100%;
}
.nav-toggle .nav-toggle__label {
  display: inline-block;
  line-height: 1;
}

.nav-close {
  display: none;
  align-items: center;
  gap: 0.5rem;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--berry);
  padding: var(--space-1) 0.75rem;
  cursor: pointer;
  min-height: 2.5rem;
}
.nav-close:hover {
  color: var(--rose);
}
.nav-close:focus-visible {
  outline: 3px solid var(--berry);
  outline-offset: 2px;
}
.nav-close__icon {
  font-size: 1.5rem;
  line-height: 1;
}
.nav-close__label {
  display: inline;
}

/* Motion control */
.motion-control {
  display: inline-flex;
  flex-direction: column;
  gap: 0.35rem;
}
.motion-control__label {
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.motion-control__group {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  overflow: hidden;
}
.motion-control__group button {
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text);
  padding: 0.4rem 0.9rem;
  cursor: pointer;
}
.motion-control__group button.is-selected {
  background: var(--plum);
  color: var(--ivory);
}
.motion-control__group button:focus-visible {
  outline: 3px solid var(--berry);
  outline-offset: -3px;
}

/* ==========================================================================
   Responsive Header
   ========================================================================== */

/* Desktop: >= 1121px - full header with nav, CTA, Motion */
@media (min-width: 1121px) {
  .site-header__inner {
    flex-wrap: nowrap;
  }

  .site-nav {
    position: static;
    background: none;
    backdrop-filter: none;
    border-bottom: none;
    padding: 0;
    box-shadow: none;
    display: block !important;
    flex: 1 1 auto;
    min-width: 0;
  }

  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    justify-content: flex-end;
  }

  .site-nav a {
    font-size: var(--text-sm);
    padding: var(--space-1) 0;
  }

  .site-nav__mobile-actions {
    display: none !important;
  }

  .header-actions__cta,
  .header-actions__motion {
    display: inline-flex !important;
  }

  .nav-toggle {
    display: none !important;
  }

  .nav-close {
    display: none !important;
  }
}

/* Laptop: 901px - 1120px - full desktop nav with CTA and Motion */
@media (max-width: 1120px) and (min-width: 901px) {
  .site-header__inner {
    flex-wrap: nowrap;
  }

  .site-nav {
    position: static;
    background: none;
    backdrop-filter: none;
    border-bottom: none;
    padding: 0;
    box-shadow: none;
    display: block !important;
    flex: 1 1 auto;
    min-width: 0;
  }

  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    justify-content: flex-end;
  }

  .site-nav a {
    font-size: var(--text-sm);
    padding: var(--space-1) 0;
  }

  .site-nav__mobile-actions {
    display: none !important;
  }

  .header-actions__cta,
  .header-actions__motion {
    display: inline-flex !important;
  }

  .nav-toggle {
    display: none !important;
  }

  .nav-close {
    display: none !important;
  }
}

/* Compact / Laptop: 768px - 900px - collapsed nav, Menu in header */
@media (max-width: 900px) and (min-width: 768px) {
  .site-header__inner {
    gap: var(--space-2);
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-2);
  }

  .header-actions__cta {
    display: none;
  }

  .header-actions__motion {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    padding: var(--space-3) var(--space-3);
    display: none;
    z-index: 99;
    box-shadow: 0 12px 24px -12px rgba(77, 37, 52, 0.15);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav.is-open .nav-close {
    display: inline-flex;
  }

  .site-nav.is-open .site-nav__mobile-actions {
    display: flex;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-1);
    justify-content: flex-start;
  }

  .site-nav a {
    font-size: var(--text-md);
    padding: var(--space-1) 0;
    width: 100%;
  }

  .site-nav__mobile-actions {
    display: flex;
  }

  .site-nav__mobile-cta {
    display: inline-flex;
  }

  .site-nav__mobile-motion {
    display: flex;
    width: 100%;
    justify-content: center;
  }

  .header-actions__cta {
    display: none;
  }

  .header-actions__motion {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

/* Mobile: < 768px - brand only + Menu, CTA + Motion in menu */
@media (max-width: 767px) {
  .site-header__inner {
    gap: var(--space-2);
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .header-actions {
    display: flex;
    align-items: center;
  }

  .header-actions__cta {
    display: none;
  }

  .header-actions__motion {
    display: none;
  }

  .brand {
    margin-inline-end: 0;
  }

  .brand__name {
    font-size: var(--text-md);
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    padding: var(--space-3) var(--space-3);
    display: none;
    z-index: 99;
    box-shadow: 0 12px 24px -12px rgba(77, 37, 52, 0.15);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav.is-open .nav-close {
    display: inline-flex;
  }

  .site-nav.is-open .site-nav__mobile-actions {
    display: flex;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-1);
    justify-content: flex-start;
  }

  .site-nav a {
    font-size: var(--text-md);
    padding: var(--space-1) 0;
    width: 100%;
  }

  .site-nav__mobile-actions {
    display: flex;
  }

  .site-nav__mobile-cta {
    display: inline-flex;
  }

  .site-nav__mobile-motion {
    display: flex;
    width: 100%;
    justify-content: center;
  }

  .header-actions__cta {
    display: none;
  }

  .header-actions__motion {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

/* Small mobile: 430px and below - smaller brand mark, tighter spacing */
@media (max-width: 430px) {
  .site-header__inner {
    gap: var(--space-1);
    padding: var(--space-1) 0;
  }

  .brand__mark {
    width: 1.8rem; height: 1.8rem;
    font-size: var(--text-xl);
  }

  .brand__name {
    font-size: var(--text-sm);
  }

  .nav-toggle {
    padding: 0.4rem 0.625rem;
    min-height: 2.25rem;
    min-width: 2.25rem;
  }
  .nav-toggle .nav-toggle__icon {
    width: 18px;
    height: 14px;
  }
  .nav-toggle .nav-toggle__label {
    font-size: var(--text-xs);
  }
}

/* Ensure mobile menu CTA has correct color (white on plum) */
.site-nav__mobile-cta {
  background: var(--plum);
  color: var(--ivory);
  border-color: var(--plum);
  max-width: 280px;
  margin: 0 auto var(--space-3);
  width: auto;
}
.site-nav__mobile-cta:hover {
  background: var(--aubergine);
  border-color: var(--aubergine);
  color: var(--ivory);
}
.site-nav__mobile-cta:focus-visible {
  outline: 3px solid var(--berry);
  outline-offset: 2px;
}

/* Mobile menu motion control - ensure visibility */
.site-nav__mobile-motion {
  width: 100%;
}
.site-nav__mobile-motion .motion-control__group {
  width: auto;
  justify-content: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}
.site-nav__mobile-motion .motion-control__group button {
  flex: 0 0 auto;
  width: auto;
  min-width: 120px;
  text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  border: 1.5px solid var(--plum);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--plum);
  color: var(--ivory);
  box-shadow: 0 12px 28px -12px rgba(77, 37, 52, 0.55);
}
.btn--primary:hover { box-shadow: 0 18px 34px -14px rgba(77, 37, 52, 0.6); }
.btn--primary:active { box-shadow: 0 8px 18px -10px rgba(77, 37, 52, 0.5); }

.btn--ghost {
  background: transparent;
  color: var(--plum);
}
.btn--ghost:hover { background: var(--ivory); }

/* ---------- Hero ---------- */
.hero {
  padding: var(--space-6) 0 var(--space-6);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: var(--space-4);
  align-items: center;
}
.hero__title {
  margin-bottom: var(--space-3);
}
.hero__title span { display: block; }
.hero__title-accent {
  font-style: italic;
  color: var(--berry);
  font-weight: 500;
}
.hero__lede {
  font-size: var(--text-lg);
  color: var(--text-soft);
  margin-bottom: var(--space-4);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* Hero art — sculptural, decorative, aria-hidden */
.hero__art {
  position: relative;
  min-height: 420px;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: saturate(0.92);
}
.orb--blush {
  width: 62%; aspect-ratio: 1;
  background: linear-gradient(160deg, var(--blush), #EBB6C6 58%, var(--lavender));
  top: 6%; right: 2%;
  opacity: 0.9;
}
.orb--orchid {
  width: 34%; aspect-ratio: 1;
  background: linear-gradient(200deg, var(--orchid), var(--aubergine));
  bottom: 6%; left: 10%;
  opacity: 0.92;
}
.arch {
  position: absolute;
  right: 22%;
  top: 12%;
  width: 30%;
  aspect-ratio: 3 / 4;
  border: 2px solid rgba(251, 248, 242, 0.85);
  border-radius: 50% 50% 0 0;
  transform: rotate(6deg);
}

/* Hero logo scene — approved Ingressible logo, centered in the artwork.
   Image is served untouched; only width is constrained responsively.
   Dust is transient rose flourish, invisible in the static composition. */
.hero__logo-scene {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 1;
  pointer-events: none;
}
.hero__logo-circle {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(76%, 330px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(251, 248, 242, 0.85), rgba(251, 248, 242, 0) 42%),
    linear-gradient(150deg, var(--blush) 0%, var(--petal) 60%, var(--lavender) 100%);
  border: 1px solid rgba(184, 93, 123, 0.35);
  z-index: 0;
}
.hero__logo {
  display: block;
  position: relative;
  z-index: 1;
  width: min(54%, 280px);
  height: auto;
  pointer-events: none;
  will-change: opacity, transform;
}
.hero__dust {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #F8DAE1 0%, #DD8BA8 55%, #BC5A80 100%);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
}

/* ---------- The Approach (philosophy) ---------- */
.philosophy {
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: clip;
}
.philosophy .deco--scoop {
  left: auto;
  right: -9%;
  bottom: -52%;
  width: min(600px, 58vw);
}
.philosophy > .pixie { top: 20%; left: 5%; }
.philosophy__card {
  position: relative;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 5vw, 3.5rem);
  max-width: 54rem;
  box-shadow: 0 30px 60px -48px rgba(77, 37, 52, 0.4);
}
.philosophy__card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 6px;
  background: linear-gradient(90deg, var(--plum), var(--blush));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.philosophy__card h2 { font-size: var(--text-3xl); position: relative; }
.philosophy__card p {
  color: var(--text-soft);
  position: relative;
  max-width: 46ch;
}
.philosophy__closer {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--plum);
  margin-bottom: 0;
}

/* ---------- Explain What Matters ---------- */
.explain { padding: var(--space-6) 0; border-bottom: 1px solid var(--line); }

.disclosures {
  display: grid;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.disclosure {
  background: var(--surface);
  border: 1px solid rgba(77, 37, 52, 0.28);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease);
}
.disclosure.is-open {
  background: linear-gradient(180deg, var(--powder) 0%, var(--surface) 130%);
  border-color: var(--rose);
  box-shadow: 0 18px 40px -30px rgba(216, 143, 164, 0.5);
}
.disclosure__head { margin: 0; }
.disclosure__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  width: 100%;
  padding: calc(var(--space-3) + 0.25rem) var(--space-3);
  background: none;
  border: 0;
  border-radius: inherit;
  font: inherit;
  text-align: left;
  color: var(--plum);
  cursor: pointer;
}
.disclosure__toggle:hover { background: rgba(251, 248, 242, 0.65); }
.disclosure__toggle:focus-visible {
  outline: 3px solid var(--berry);
  outline-offset: -3px;
  border-radius: inherit;
}
.disclosure.is-open .disclosure__toggle { color: var(--plum); }
.disclosure.is-open .disclosure__toggle:hover { background: rgba(251, 248, 242, 0.7); }

.disclosure__label {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  min-width: 0;
}
.disclosure__icon {
  position: relative;
  flex: none;
  align-self: center;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(77, 37, 52, 0.4);
  border-radius: 50%;
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1;
  color: var(--plum-2);
  background: transparent;
  transition: transform 240ms var(--ease), color var(--dur) var(--ease),
              background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.disclosure__toggle:hover .disclosure__icon {
  border-color: var(--plum);
  color: var(--plum);
}
.disclosure.is-open .disclosure__icon {
  transform: rotate(45deg);
  color: var(--ivory);
  background: var(--rose);
  border-color: var(--rose);
}

.disclosure__word {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--plum);
  min-width: 9.5rem;
}
.disclosure__desc {
  font-size: var(--text-sm);
  color: var(--plum-2);
}
.disclosure.is-open .disclosure__desc { color: var(--berry); }
.disclosure__body {
  padding: 0 var(--space-3) calc(var(--space-3) + 0.125rem) calc(var(--space-3) + 9.5rem + var(--space-3));
  color: var(--plum);
}
.disclosure__body p { margin-bottom: var(--space-2); }

/* No-JS fallback: correct accordion panels remain fully visible in content. */
html.no-js .disclosure__body { display: block; }

.evidence {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
}
.evidence li {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--aubergine);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
}

.explain__note {
  font-size: var(--text-lg);
  color: var(--aubergine);
  margin-bottom: 0;
}

/* ---------- Sample deliverable ---------- */
.deliverable { padding: var(--space-6) 0; border-bottom: 1px solid var(--line); }
.deliverable__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.55fr);
  gap: var(--space-4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  position: relative;
  overflow: hidden;
}
.deliverable__card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 6px;
  background: linear-gradient(90deg, var(--plum), var(--blush));
}

.deliverable__steps ol {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  list-style: none;
  padding: 0;
  margin: 0;
}
.deliverable__steps li { list-style: none; }
.deliverable__steps .disclosure--step .disclosure__toggle { align-items: center; }
.deliverable__steps .disclosure--step .disclosure__label { gap: var(--space-2); }
.deliverable__steps .step-no {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--berry);
}
.deliverable__steps .step-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--plum);
  transition: color var(--dur) var(--ease);
}
.deliverable__steps .disclosure--step:hover .step-name { color: var(--berry); }
.deliverable__steps .disclosure__body {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text-soft);
  padding: 0 var(--space-3) var(--space-3) calc(var(--space-3) + 1.6rem);
}
.step-body__flag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--berry);
  border: 1px dashed var(--rose);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  margin-bottom: var(--space-1);
}

.link-arrow {
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.link-arrow::after { content: "→"; }

/* Conceptual loop figure shown inside the deliverable intro */
.deliverable__figure {
  margin-top: var(--space-4);
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-2);
  max-width: 540px;
}
.deliverable__figure svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Services ---------- */
.services { padding: var(--space-6) 0; border-bottom: 1px solid var(--line); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.service {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-3);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.service:hover, .service:focus-within {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}
.service h3 { margin-bottom: var(--space-1); }
.service h3 a {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--plum);
  text-decoration: none;
  background-image: linear-gradient(var(--blush), var(--blush));
  background-size: 0 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size var(--dur) var(--ease);
}
.service h3 a:hover { background-size: 100% 2px; }
.service p { font-size: var(--text-sm); color: var(--text-soft); margin-bottom: 0; }

/* ---------- Explore (tabs) ---------- */
.explore {
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--line);
  background: var(--mist);
}

.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin-bottom: var(--space-3);
  border-bottom: 1px solid var(--line-strong);
}
.tabs__tab {
  border: 0;
  background: transparent;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text-soft);
  padding: var(--space-2) var(--space-2);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: color var(--dur) var(--ease);
}
.tabs__tab:hover { color: var(--plum); }
.tabs__tab[aria-selected="true"] {
  color: var(--berry);
  border-bottom-color: var(--berry);
}

.tabs__panel {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-3);
  max-width: 46rem;
}
.tabs__gloss {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orchid);
  margin-bottom: var(--space-1);
}
.tabs__panel h3 { margin-bottom: var(--space-1); }
.tabs__panel p { margin-bottom: var(--space-2); }
.tabs__note { font-size: var(--text-sm); color: var(--text-soft); margin-bottom: 0; }

/* ---------- Pathways ---------- */
.pathways { padding: var(--space-6) 0; border-bottom: 1px solid var(--line); }
.pathways__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}
.pathway {
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  align-items: flex-start;
}
.pathway--consulting {
  background: var(--plum);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}
.pathway--consulting::after {
  content: "";
  position: absolute;
  right: -22%;
  bottom: -22%;
  width: 55%;
  aspect-ratio: 1;
  background: radial-gradient(circle at 30% 30%, rgba(217, 143, 164, 0.5), transparent 62%);
  border-radius: 50%;
}
.pathway--consulting h3,
.pathway--consulting p { color: var(--ivory); position: relative; z-index: 1; }
.pathway--consulting .btn--primary { background: var(--ivory); color: var(--plum); border-color: var(--ivory); box-shadow: none; }
.pathway--consulting .btn--primary:hover { background: var(--cream); }

.pathway--career { background: var(--surface); }
.pathway--career p { color: var(--text-soft); }
.pathway h3 { font-size: var(--text-2xl); }

/* ---------- Invite ---------- */
.invite {
  padding: var(--space-6) 0;
  text-align: center;
  background:
    radial-gradient(circle at 8% 20%, var(--lavender) 0 140px, transparent 141px),
    radial-gradient(circle at 92% 80%, var(--blush) 0 90px, transparent 91px);
}
.invite__title { font-size: var(--text-3xl); }
.invite__lede {
  margin-inline: auto;
  color: var(--text-soft);
  font-size: var(--text-lg);
}
.invite__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* ---------- Footer ---------- */
.site-footer {
  padding: var(--space-4) 0;
  border-top: 1px solid var(--line);
  background: var(--ivory);
}
.site-footer__mark { font-weight: 600; margin-bottom: var(--space-1); }
.site-footer__tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--berry);
  margin-bottom: var(--space-2);
}
.site-footer__legal { font-size: var(--text-xs); color: var(--text-soft); letter-spacing: 0.04em; margin-bottom: 0; }
.site-footer__legal a { color: var(--text-soft); text-decoration-thickness: 1px; }
.site-footer__legal a:hover { color: var(--berry); text-decoration-thickness: 2px; }
.site-footer__legal a:focus-visible {
  outline: 3px solid var(--berry);
  outline-offset: 3px;
  border-radius: 2px;
}
.page-nav {
  border-top: 1px solid var(--line-strong);
  padding-top: var(--space-2);
  margin-top: var(--space-2);
}
.page-nav .shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.page-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--plum);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
  min-height: 44px;
}
.page-nav__link:focus-visible {
  outline: 3px solid var(--berry);
  outline-offset: 3px;
  border-radius: 999px;
}
.page-nav__link:hover {
  color: var(--berry);
  border-color: var(--rose);
  background: var(--powder);
}
.page-nav__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  line-height: 1;
  color: var(--berry);
  flex-shrink: 0;
}
.page-nav__label {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  line-height: 1.2;
  text-align: left;
}
.page-nav__direction {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  line-height: 1;
}
.page-nav__page {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--plum);
  line-height: 1;
  white-space: nowrap;
}
.page-nav__link.next .page-nav__label {
  text-align: right;
}
.page-nav__link.next .page-nav__icon {
  order: 2;
}

/* ==========================================================================
   Subpages — shared
   ========================================================================== */
.page-head {
  padding: var(--space-5) 0 var(--space-4);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 96% 0%, var(--powder) 0 150px, transparent 151px),
    radial-gradient(circle at 2% 100%, var(--lavender) 0 190px, transparent 191px);
}
.page-head .page-title {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-2);
}
.page-head .page-lede {
  font-size: var(--text-lg);
  color: var(--text-soft);
  max-width: 52ch;
}
.page-body { padding: var(--space-5) 0 var(--space-6); }
.page-section { padding: var(--space-5) 0; border-bottom: 1px solid var(--line); }
.page-section:last-child { border-bottom: 0; }
.page-section__head { max-width: 46rem; margin-bottom: var(--space-3); }
.page-section__head h2 { font-size: var(--text-3xl); }

/* Two-column readable rows used across subpages */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--space-4);
  align-items: start;
}
.split__aside h3 { font-size: var(--text-2xl); }
.split__aside .note {
  font-size: var(--text-sm);
  color: var(--text-soft);
}

/* -------- Consulting page -------- */
.service-detail {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  margin-bottom: var(--space-3);
  position: relative;
  overflow: hidden;
}
.service-detail::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--plum), var(--blush));
}
.service-detail h3 { font-size: var(--text-2xl); }
.service-detail .service-detail__scope {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin-bottom: var(--space-2);
}
.service-detail .service-detail__scope li {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--aubergine);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
}
.service-detail p { margin-bottom: var(--space-1); color: var(--text-soft); }

/* Consulting services — soft decorative shapes behind the cards */
.service-craft { position: relative; overflow: clip; }
.service-craft .deco--quarter { right: -5%; bottom: -30%; }
.service-craft .deco--orbit { top: -18%; left: -10%; }

/* Course-of-engagement journey figure (consulting) */
.journey {
  margin-top: var(--space-4);
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
}
.journey svg { width: 100%; height: auto; display: block; }
@media (max-width: 640px) {
  .journey { padding: var(--space-2); }
}

.engagement {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.engagement .engagement__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-3);
}
.engagement .engagement__card h3 { font-size: var(--text-xl); margin-bottom: var(--space-1); }
.engagement .engagement__card p { font-size: var(--text-sm); color: var(--text-soft); margin-bottom: 0; }

/* -------- Experience page -------- */
.placeholder-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: var(--space-3);
  align-items: center;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  overflow: hidden;
}
.placeholder-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 6px;
  background: linear-gradient(90deg, var(--plum), var(--blush));
}
.placeholder-card__art { display: grid; place-items: center; }
.placeholder-card__art svg { width: min(220px, 100%); height: auto; display: block; }
.placeholder-card__body h3 { font-size: var(--text-xl); margin: 0 0 var(--space-1); }
.placeholder-card__body p { font-size: var(--text-sm); color: var(--text-soft); margin-bottom: 0; }

/* Capability emblems — experience page */
.cap-ico {
  display: inline-grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: var(--space-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ivory);
}
.cap-ico svg { width: 2.4rem; height: 2.4rem; }
.cap-ico + h3 { margin-top: 0; }
.credential-list {
  display: grid;
  gap: var(--space-2);
}
.credential {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--space-3);
  align-items: baseline;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-3);
}
.credential h3 { font-size: var(--text-lg); margin: 0; }
.credential .credential__meta { font-size: var(--text-sm); color: var(--text-soft); }
.credential .credential__note { font-size: var(--text-sm); color: var(--text-soft); margin-bottom: 0; }

/* -------- Professional background cards -------- */
.role-cards {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-3);
}
.role-card {
  position: relative;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.role-card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: 0 8px 24px rgba(77, 37, 52, 0.08); }
.role-card__accent {
  height: 4px;
  background: linear-gradient(90deg, var(--rose), var(--blush));
}
.role-card--berry .role-card__accent { background: linear-gradient(90deg, var(--berry), var(--rose)); }
.role-card--mauve .role-card__accent { background: linear-gradient(90deg, var(--mauve), var(--lavender)); }
.role-card--orchid .role-card__accent { background: linear-gradient(90deg, var(--orchid), var(--mauve)); }
.role-card--blush .role-card__accent { background: linear-gradient(90deg, var(--blush), var(--petal)); }
.role-card--petal .role-card__accent { background: linear-gradient(90deg, var(--petal), var(--powder)); }
.role-card__body { padding: var(--space-3) var(--space-4) var(--space-4); }
.role-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--plum);
  margin-bottom: 0.25rem;
}
.role-card__org {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--berry);
  margin-bottom: var(--space-1);
}
.role-card__dates {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orchid);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
  margin-bottom: var(--space-2);
}
.role-card__summary {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--text-soft);
  margin-bottom: 0;
}

/* -------- Capability cards -------- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-3);
}
.cap-card {
  position: relative;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-3) var(--space-3);
  text-align: center;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.cap-card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: 0 8px 24px rgba(77, 37, 52, 0.08); }
.cap-card__accent {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--rose), var(--blush));
}
.cap-card--mauve .cap-card__accent { background: linear-gradient(90deg, var(--mauve), var(--lavender)); }
.cap-card--petal .cap-card__accent { background: linear-gradient(90deg, var(--petal), var(--powder)); }
.cap-card__icon {
  display: inline-grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--mist);
  border: 1px solid var(--line);
  margin-bottom: var(--space-2);
}
.cap-card__icon svg { width: 2.4rem; height: 2.4rem; }
.cap-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--plum);
  margin-bottom: 0.25rem;
}
.cap-card__note {
  font-size: var(--text-sm);
  font-style: italic;
  color: var(--text-soft);
  margin-bottom: var(--space-2);
  line-height: 1.5;
}
.cap-card__divider {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--rose), var(--blush));
  border-radius: 1px;
  margin: 0 auto var(--space-2);
}
.cap-card--mauve .cap-card__divider { background: linear-gradient(90deg, var(--mauve), var(--lavender)); }
.cap-card--petal .cap-card__divider { background: linear-gradient(90deg, var(--petal), var(--powder)); }
.cap-card__desc {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--text-soft);
  margin-bottom: 0;
  text-align: left;
}

/* -------- Assessment flow graphic (deliverable) -------- */
.deliverable__flow {
  margin-top: var(--space-3);
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
}
.flow-svg { width: 100%; height: auto; display: block; }
.flow-line {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
}
.flow-station { opacity: 0; }
.flow-pulse { opacity: 0; }
.flow-dot { opacity: 0; }
.flow-arrows { opacity: 0; }

/* Vivid mode — staggered flow animation */
html[data-motion="vivid"] .deliverable__flow.is-inview .flow-line {
  animation: kf-flow-draw 0.8s ease-out forwards;
}
html[data-motion="vivid"] .deliverable__flow.is-inview .flow-line--2 { animation-delay: 0.15s; }
html[data-motion="vivid"] .deliverable__flow.is-inview .flow-line--3 { animation-delay: 0.3s; }
html[data-motion="vivid"] .deliverable__flow.is-inview .flow-line--4 { animation-delay: 0.45s; }
html[data-motion="vivid"] .deliverable__flow.is-inview .flow-line--5 { animation-delay: 0.6s; }
html[data-motion="vivid"] .deliverable__flow.is-inview .flow-line--6 { animation-delay: 0.75s; }
html[data-motion="vivid"] .deliverable__flow.is-inview .flow-line--7 { animation-delay: 0.9s; }
html[data-motion="vivid"] .deliverable__flow.is-inview .flow-line--retest { animation-delay: 1.05s; }
@keyframes kf-flow-draw {
  to { stroke-dashoffset: 0; }
}
html[data-motion="vivid"] .deliverable__flow.is-inview .flow-station {
  animation: kf-flow-appear 0.5s ease-out forwards;
}
html[data-motion="vivid"] .deliverable__flow.is-inview .flow-station--1 { animation-delay: 0s; }
html[data-motion="vivid"] .deliverable__flow.is-inview .flow-station--2 { animation-delay: 0.2s; }
html[data-motion="vivid"] .deliverable__flow.is-inview .flow-station--3 { animation-delay: 0.4s; }
html[data-motion="vivid"] .deliverable__flow.is-inview .flow-station--4 { animation-delay: 0.6s; }
html[data-motion="vivid"] .deliverable__flow.is-inview .flow-station--5 { animation-delay: 0.8s; }
@keyframes kf-flow-appear {
  0%   { opacity: 0; transform: scale(0.88) translateY(6px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
html[data-motion="vivid"] .deliverable__flow.is-inview .flow-arrows {
  animation: kf-flow-appear 0.4s ease-out 0.6s forwards;
}
html[data-motion="vivid"] .deliverable__flow.is-inview .flow-pulse {
  animation: kf-flow-pulse 2.4s ease-in-out 1.2s infinite;
}
@keyframes kf-flow-pulse {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50%      { opacity: 1; transform: scale(1.2); }
}
html[data-motion="vivid"] .deliverable__flow.is-inview .flow-dot {
  animation: kf-flow-dot 3.6s ease-in-out 1.4s infinite;
}
@keyframes kf-flow-dot {
  0%   { opacity: 1; transform: translate(0, 0); }
  16%  { opacity: 1; transform: translate(0, 88px); }
  33%  { opacity: 1; transform: translate(78px, 88px); }
  50%  { opacity: 1; transform: translate(78px, 148px); }
  66%  { opacity: 1; transform: translate(-22px, 148px); }
  83%  { opacity: 1; transform: translate(-22px, 28px); }
  100% { opacity: 1; transform: translate(0, 0); }
}

/* Reduced mode — static complete composition */
html[data-motion="reduced"] .flow-line { stroke-dashoffset: 0; animation: none; }
html[data-motion="reduced"] .flow-station,
html[data-motion="reduced"] .flow-arrows,
html[data-motion="reduced"] .flow-pulse,
html[data-motion="reduced"] .flow-dot { opacity: 1; animation: none; }
html[data-motion="reduced"] .flow-pulse { opacity: 0.6; }
html[data-motion="reduced"] .flow-dot { opacity: 0.4; }

/* Paused state */
html.deco-paused .flow-pulse,
html.deco-paused .flow-dot { animation-play-state: paused !important; }

/* -------- Responsive -------- */
@media (max-width: 980px) {
  .cap-grid { grid-template-columns: 1fr; }
  .deliverable__flow { max-width: 480px; }
}
@media (max-width: 640px) {
  .role-card__body { padding: var(--space-2) var(--space-3) var(--space-3); }
  .cap-grid { gap: var(--space-2); }
  .cap-card { padding: var(--space-3) var(--space-2) var(--space-2); }
  .deliverable__flow { padding: var(--space-2); }
}

/* -------- Founder story -------- */
.founder {
  position: relative;
  overflow: hidden;
  overflow: clip;
}
.founder .shell {
  position: relative;
  z-index: 1;
}
.founder-card {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 5vw, 4rem);
  max-width: 68rem;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.founder-card__photo {
  position: relative;
  max-width: 360px;
  margin-inline: auto;
}
.founder-card__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line);
  box-shadow: 0 24px 48px -30px rgba(77, 37, 52, 0.45);
}
.founder-card__photo::after {
  content: "";
  position: absolute;
  inset: -0.6rem;
  border: 1px solid var(--rose);
  border-radius: 50%;
  opacity: 0.5;
  pointer-events: none;
}
.founder-copy {
  position: relative;
  z-index: 1;
  max-width: 38em;
}
.founder-story p {
  color: var(--plum);
  margin-bottom: var(--space-3);
}
.founder-story__turn {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  font-style: italic;
  color: var(--berry);
  margin: var(--space-3) 0;
}
.founder-mission {
  background: var(--powder);
  border: 1px solid var(--rose);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3.5vw, 2.25rem);
  margin-top: var(--space-4);
}
.founder-mission p {
  color: var(--plum);
  margin-bottom: var(--space-3);
}
.founder-mission__closer {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  font-style: italic;
  color: var(--berry);
  margin: var(--space-3) 0;
}
.founder-mission__tag {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--berry);
  margin-bottom: 0;
}
.founder-cta {
  margin-top: var(--space-3);
}

/* Founder accent — fine rose pixie-dust, transparent, decorative only.
   Static by default. In vivid: a brief entrance plus a slow drift, paused
   whenever the section is offscreen. Reduced stays a static composition. */
.founder-glitter {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: clamp(110px, 16vw, 220px);
  aspect-ratio: 1;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(184, 93, 123, 0.55) 0 1.2px, transparent 1.6px),
    radial-gradient(circle, rgba(217, 143, 164, 0.5) 0 1.4px, transparent 1.9px),
    radial-gradient(circle, rgba(141, 63, 99, 0.38) 0 1px, transparent 1.4px);
  background-size: 24px 24px, 34px 34px, 18px 18px;
  background-position: 0 0, 9px 12px, 5px 19px;
  opacity: 0.7;
}
@keyframes founder-glitter-in {
  from { opacity: 0; }
  to { opacity: 0.7; }
}
@keyframes founder-glitter-drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(3px, -4px, 0); }
}
html[data-motion="vivid"] .founder-glitter.entered {
  animation: founder-glitter-in 1.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
html[data-motion="vivid"] .founder-glitter.entered.is-inview {
  animation:
    founder-glitter-in 1.6s cubic-bezier(0.22, 1, 0.36, 1) both,
    founder-glitter-drift 9s ease-in-out 1.6s infinite;
}
html[data-motion="reduced"] .founder-glitter,
html[data-motion="reduced"] .founder-glitter.entered,
html[data-motion="reduced"] .founder-glitter.entered.is-inview {
  animation: none;
  opacity: 0.7;
}

/* -------- Selected work page -------- */
.work-legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.work-legend li {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--aubergine);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
}
.work-card {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: var(--space-4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  margin-bottom: var(--space-4);
  overflow: hidden;
}
.work-card__visual {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 220px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--space-3);
}
.work-card__visual span { font-size: var(--text-sm); color: var(--text-soft); }
.work-card__visual .work-sample-art {
  width: 100%;
  max-width: 340px;
  height: auto;
  display: block;
}

[data-motion="vivid"] .work-card__visual .work-sample-art {
  animation: kf-sample-art 800ms var(--ease) both;
  animation-delay: 120ms;
}

[data-motion="vivid"] .work-card:nth-of-type(2n) .work-card__visual .work-sample-art { animation-delay: 220ms; }
[data-motion="vivid"] .work-card:nth-of-type(3n) .work-card__visual .work-sample-art { animation-delay: 300ms; }

[data-motion="reduced"] .work-card__visual .work-sample-art {
  animation: none;
}

@keyframes kf-sample-art {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.work-card__body .tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--berry);
  border: 1px solid var(--rose);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  margin-bottom: var(--space-2);
}
.work-card__body h3 { font-size: var(--text-2xl); margin-bottom: var(--space-1); }
.work-card__body p { font-size: var(--text-sm); color: var(--text-soft); margin-bottom: var(--space-1); }
.work-card__links { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-2); }
.work-card__links .btn { padding: 0.6rem 1.1rem; }

/* ---------- Contact ---------- */
.contact-form {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}
.contact-form::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 6px;
  background: linear-gradient(90deg, var(--plum), var(--blush));
}
.contact-form fieldset { border: 0; margin: 0; padding: 0; }
.contact-form legend {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--plum);
  margin-bottom: var(--space-2);
}
.contact-form .form-intro { font-size: var(--text-sm); color: var(--text-soft); margin-bottom: var(--space-3); }
.form-group { margin-bottom: var(--space-3); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--plum);
  margin-bottom: 0.35rem;
}
.form-group label .req { color: var(--berry); }
.form-group .hint { font-size: var(--text-xs); color: var(--text-soft); margin-top: 0.25rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--text-md);
  color: var(--plum);
  background: var(--ivory);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.7rem 0.9rem;
}
.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 3px solid var(--aubergine);
  outline-offset: 1px;
  border-color: var(--plum);
}
.form-group input[aria-invalid="true"],
.form-group select[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
  border-color: var(--berry);
}
.form-error {
  display: none;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--berry);
  margin-top: 0.3rem;
}
.form-group .form-error.is-visible { display: block; }
.form-error-summary {
  border: 2px solid var(--berry);
  border-radius: var(--radius-lg);
  background: var(--powder);
  color: var(--plum);
  padding: var(--space-3);
  margin-bottom: var(--space-3);
}
.form-error-summary[hidden] { display: none; }
.form-error-summary:focus { outline: 3px solid var(--aubergine); outline-offset: 2px; }
.form-error-summary h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--plum);
  margin: 0 0 var(--space-1);
}
.form-error-summary p { font-size: var(--text-sm); color: var(--plum); margin: 0 0 var(--space-2); }
.form-error-summary ul { margin: 0; padding-left: 1.4rem; }
.form-error-summary li { margin-bottom: 0.25rem; }
.form-error-summary a { color: var(--berry); font-weight: 600; text-underline-offset: 2px; }
.form-error-summary a:focus-visible { outline: 3px solid var(--aubergine); outline-offset: 2px; }
.form-honeypot { display: none; }
.form-status { margin-top: var(--space-3); }
.form-status:empty { display: none; }
.form-status p {
  font-size: var(--text-sm);
  border-radius: var(--radius);
  padding: var(--space-2) var(--space-3);
  margin-bottom: 0;
}
.form-status .status-error { background: var(--powder); color: var(--plum); border: 1px solid var(--rose); }
.form-status .status-info { background: var(--lavender); color: var(--plum); border: 1px solid var(--orchid); }
.form-status .status-pending { background: var(--lavender); color: var(--plum); border: 1px solid var(--orchid); }
.form-status .status-success { background: var(--petal); color: var(--plum); border: 1px solid var(--rose); }

.contact-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.contact-option {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-3);
}
.contact-option h3 { font-size: var(--text-lg); margin-bottom: var(--space-1); }
.contact-option p { font-size: var(--text-sm); color: var(--text-soft); margin-bottom: var(--space-2); }
.contact-option a { font-weight: 600; word-break: break-word; }

/* Calendly — direct booking link card (personal schedule only) */
.booking-note {
  background: var(--lavender);
  border: 1px solid var(--orchid);
  border-radius: var(--radius);
  padding: var(--space-3);
  margin-top: var(--space-4);
}
.booking-note h3 { font-size: var(--text-lg); margin-bottom: var(--space-1); }
.booking-note p { font-size: var(--text-sm); color: var(--text-soft); margin-bottom: 0; }

/* Conversational motif — direct-contact section */
.chat-motif {
  display: grid;
  place-items: center;
  margin: var(--space-2) 0 var(--space-3);
}
.chat-motif svg { width: min(220px, 74%); height: auto; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { min-height: 320px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .deliverable__card { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .engagement { grid-template-columns: repeat(2, 1fr); }
  .credential { grid-template-columns: 1fr; gap: var(--space-1); }
  .work-card { grid-template-columns: 1fr; }
  .founder-card { grid-template-columns: 1fr; }
  .founder-card__photo { max-width: 320px; }
  .form-row { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .pathways__grid { grid-template-columns: 1fr; }
  .disclosure__label { flex-direction: column; gap: var(--space-1); align-items: flex-start; }
  .disclosure__body { padding-left: var(--space-3); }
  .disclosure--step .disclosure__body { padding-left: var(--space-3); }
  .disclosure__word { min-width: 0; }
  .hero { padding-top: var(--space-4); }
  .engagement { grid-template-columns: 1fr; }
  .contact-options { grid-template-columns: 1fr; }
  .page-head { padding-top: var(--space-4); }
  .placeholder-card { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Motion — reduced
   Removes all nonessential movement. Content and state remain fully present.
   ========================================================================== */
html[data-motion="reduced"] {
  scroll-behavior: auto;
}
html[data-motion="reduced"] *,
html[data-motion="reduced"] *::before,
html[data-motion="reduced"] *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}
html[data-motion="reduced"] .btn:hover,
html[data-motion="reduced"] .service:hover,
html[data-motion="reduced"] .service:focus-within { transform: none; }
html[data-motion="reduced"] .disclosure__body:not([hidden]) { display: block; }
html[data-motion="reduced"] .hero__dust { opacity: 0; }
html[data-motion="reduced"] .hero__logo { opacity: 1; transform: none; }
html[data-motion="reduced"] .hero__art .orb,
html[data-motion="reduced"] .hero__art .arch { animation: none; }

@media (prefers-reduced-motion: reduce) {
  html:not([data-motion="system"]) {
    scroll-behavior: auto;
  }
  html:not([data-motion="system"]) *,
  html:not([data-motion="system"]) *::before,
  html:not([data-motion="system"]) *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html:not([data-motion="system"]) .btn:hover,
  html:not([data-motion="system"]) .service:hover,
  html:not([data-motion="system"]) .service:focus-within { transform: none; }
}

/* ==========================================================================
   Home page — architectural decoration (approved Ingressible concept).
   Curved shapes, arches, restrained glitter/pixie dust, drifting bubbles
   and fine rotating line particles. Pale colors = large decorative
   surfaces; darker colors = outlines and accents; glitter + pixie dust
   stay Rose only. All decoration is aria-hidden, non-focusable and
   pointer-events: none. Motion: one-shot entrances (<= 2s) plus long,
   gentle loops that the existing motion control can stop completely.
   ========================================================================== */

/* ---------- Section framing for decoration ---------- */
.explain, .deliverable, .services, .explore, .pathways, .invite {
  position: relative;
  overflow: clip;
}
main .shell { position: relative; z-index: 1; }

/* ---------- Decorative shapes ---------- */
.deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.deco--scoop { width: min(640px, 62vw); aspect-ratio: 1; border-radius: 50%; bottom: -46%; }
.explain .deco--scoop { left: -7%; }
.deliverable .deco--scoop { left: -8%; bottom: -44%; width: min(560px, 55vw); }
.deco--quarter { width: min(420px, 46vw); aspect-ratio: 1; }
.services .deco--quarter { right: -5%; bottom: -36%; border-radius: 100% 0 0 0; }
.pathways .deco--quarter { left: -6%; bottom: -34%; border-radius: 0 100% 0 0; }
.deco--orbit {
  width: min(500px, 55vw);
  aspect-ratio: 1;
  border: 2px solid;
  border-radius: 50%;
  background: transparent;
  opacity: 0.5;
}
.services .deco--orbit { top: -20%; left: -12%; }
.deco--archline {
  width: min(340px, 42vw);
  aspect-ratio: 2 / 1;
  border: 2px solid;
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
  background: transparent;
  opacity: 0.5;
}
.explore .deco--archline { width: min(240px, 30vw); aspect-ratio: 3 / 2; top: -6%; left: 3%; opacity: 0.4; }
.invite .deco--archline { left: 8%; bottom: -14%; }

/* Color roles (pale = large surfaces, dark = outlines/accents) */
.deco--lavender { background: var(--lavender); opacity: 0.5; }
.deco--petal { background: var(--petal); opacity: 0.55; }
.deco--ivory { background: var(--ivory); opacity: 0.8; }
.deco--mauve { border-color: var(--mauve); }
.deco--orchid { border-color: var(--orchid); }

/* ---------- Glitter rain (Rose only, edged) ---------- */
.glitter-rain {
  position: absolute;
  top: 20%;
  right: -14px;
  width: clamp(130px, 26vw, 260px);
  height: 170px;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    radial-gradient(circle, rgba(184, 93, 123, 0.5) 0 1.2px, transparent 1.7px),
    radial-gradient(circle, rgba(184, 93, 123, 0.32) 0 1px, transparent 1.5px);
  background-size: 22px 22px, 30px 30px;
  background-position: 0 0, 8px 12px;
}
@keyframes kf-glitter-fall {
  0%   { transform: translateY(0); opacity: 0.35; }
  50%  { opacity: 0.65; }
  100% { transform: translateY(34px); opacity: 0.25; }
}
.glitter-rain { animation: kf-glitter-fall 5.5s ease-in-out infinite; }

/* ---------- Fine rose pixie dust (Rose only) ---------- */
.pixie {
  position: absolute;
  pointer-events: none;
  width: clamp(90px, 16vw, 170px);
  aspect-ratio: 1;
  opacity: 0.6;
  background-image:
    radial-gradient(circle, rgba(184, 93, 123, 0.5) 0 1.2px, transparent 1.7px),
    radial-gradient(circle, rgba(184, 93, 123, 0.32) 0 1px, transparent 1.5px);
  background-size: 20px 20px, 28px 28px;
  background-position: 0 0, 7px 11px;
}
.pathways > .pixie { top: 18%; right: 5%; }
.invite > .pixie { top: 14%; left: 50%; width: clamp(110px, 18vw, 200px); margin-left: -80px; }
@keyframes kf-dust-drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(3px, -4px, 0); }
}
.pixie--drift { animation: kf-dust-drift 8s ease-in-out infinite; }

/* (bubble-zone and line-zone CSS removed — elements replaced by flow graphic) */

/* ---------- Explore the Beauty Experience (tabs + scenes) ---------- */
.explore__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--space-4);
  align-items: center;
}
.explore__scenes {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: var(--space-3);
  pointer-events: none;
}
.scene {
  display: grid;
  place-items: center;
  border-radius: var(--radius-lg);
}
.scene--perfume { background: radial-gradient(circle at 42% 40%, rgba(251, 248, 242, 0.85), rgba(237, 187, 198, 0.28) 58%, transparent 74%); }
.scene--blush   { background: radial-gradient(circle at 56% 30%, rgba(251, 248, 242, 0.8), rgba(246, 221, 226, 0.4) 60%, transparent 76%); }
.scene__svg { width: min(100%, 230px); height: auto; overflow: visible; }

/* Perfume mist + blush powder — bounded, gentle, decorative only */
.mist-p, .powder-p { transform-box: fill-box; transform-origin: center; }
@keyframes kf-mist {
  0%   { opacity: 0; transform: translate(0, 0) scale(0.5); }
  22%  { opacity: 0.85; }
  100% { opacity: 0; transform: translate(var(--mx), var(--my)) scale(1.18); }
}
@keyframes kf-powder {
  0%   { opacity: 0.9; transform: translate(0, 0) scale(0.75); }
  100% { opacity: 0; transform: translate(var(--mx), var(--my)) scale(1.08); }
}
.mist-p   { animation: kf-mist var(--ml, 1900ms) var(--md, 0ms) ease-out infinite; }
.powder-p { animation: kf-powder var(--ml, 2300ms) var(--md, 0ms) ease-out infinite; }

/* ---------- One-shot shape entrances (<= 2s, vivid only) ---------- */
@keyframes kf-deco-in {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
html[data-motion="vivid"] .deco.fx-reveal { opacity: 0; }
html[data-motion="vivid"] .deco.fx-reveal.is-inview {
  animation: kf-deco-in 1.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ---------- Motion gating ----------
   Loops run only while their zone is in view (vivid). Reduced motion kills
   them via the global override; these explicit resets keep the static
   composition fully visible. Tab-hidden pause lives in main.js.            */
html[data-motion="vivid"] .glitter-rain,
html[data-motion="vivid"] .pixie--drift,
html[data-motion="vivid"] .scene .mist-p,
html[data-motion="vivid"] .scene .powder-p { animation-play-state: paused; }
html[data-motion="vivid"] .glitter-rain.is-inview,
html[data-motion="vivid"] .pixie--drift.is-inview,
html[data-motion="vivid"] .scene.is-inview .mist-p,
html[data-motion="vivid"] .scene.is-inview .powder-p { animation-play-state: running; }

html[data-motion="reduced"] .glitter-rain,
html[data-motion="reduced"] .pixie { animation: none; opacity: 0.55; }
html[data-motion="reduced"] .mist-p,
html[data-motion="reduced"] .powder-p { animation: none; opacity: 0.55; }
html[data-motion="reduced"] .deco.fx-reveal { opacity: 1; animation: none; }

html.deco-paused .glitter-rain,
html.deco-paused .pixie--drift,
html.deco-paused .mist-p,
html.deco-paused .powder-p { animation-play-state: paused !important; }

/* ---------- Coordinated hover / keyboard-focus (no reliance on color alone) ---------- */
.tabs__tab:focus-visible {
  outline: 3px solid var(--berry);
  outline-offset: 3px;
  border-radius: 2px;
}
.service:focus-within { border-color: var(--rose); }
.nav-toggle:focus-visible { outline: 3px solid var(--berry); outline-offset: 3px; }
.pathway {
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.pathway:hover,
.pathway:focus-within { border-color: var(--rose); }
.pathway--consulting:hover,
.pathway--consulting:focus-within { border-color: var(--petal); box-shadow: 0 22px 44px -26px rgba(77, 37, 52, 0.5); }
.pathway--career:hover,
.pathway--career:focus-within { box-shadow: 0 18px 36px -30px rgba(77, 37, 52, 0.4); }

/* ---------- Responsive density ---------- */
@media (max-width: 980px) {
  .explore__grid { grid-template-columns: 1fr; }
  .explore__scenes { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .scene { min-height: 250px; }
  .explain .deco--scoop { width: 78vw; }
  .glitter-rain { width: 200px; right: 0; }
}
@media (max-width: 640px) {
  .deco--scoop, .deco--quarter { opacity: 0.4; }
  .scene { min-height: 0; }
  .scene__svg { max-width: 150px; }
  .invite > .pixie { width: 110px; }
}

/* ==========================================================================
   Enchanted atmosphere — creative layer (branch: design/enchanted-motion)
   A living, magic-leaning backdrop: fine pixie dust motes that breathe and
   rise, soft glow blobs, a light sheen sweeping across page headers, a
   comet-like dust-trail motif on subpages, a halo breathing around the hero
   circle, an editorial drop cap and rotating dashed ring in the founder
   story, and a soft sheen sweeping the assessment artwork.
   Strictly no star shapes — glitter, dust, glints and light only.
   Everything is decorative: aria-hidden, non-focusable, pointer-events: none,
   and fully gated by the motion control. Vivid runs gentle long loops that
   pause offscreen and while the tab is hidden; reduced motion keeps the exact
   same composition, perfectly still.                                ======== */

/* ---------- Global ambient dust field (injected by main.js, behind content) ---------- */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.ambient .mote {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #F8DAE1 0%, #DD8BA8 52%, rgba(184, 93, 123, 0.45) 100%);
  opacity: 0.3;
  will-change: transform, opacity;
}
html[data-motion="vivid"] .ambient .mote {
  animation: kf-mote-float var(--mt, 14s) var(--md, 0s) ease-in-out infinite;
}
html[data-motion="vivid"] .ambient .mote--wander {
  animation-name: kf-mote-wander;
}
@keyframes kf-mote-wander {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.18; }
  25%      { transform: translate3d(calc(var(--sway, 6px) * 1.6), -10px, 0) scale(1.05); opacity: 0.6; }
  50%      { transform: translate3d(calc(var(--sway, 6px) * -1.1), -22px, 0) scale(1.12); opacity: 0.9; }
  75%      { transform: translate3d(calc(var(--sway, 6px) * 0.6), -8px, 0) scale(1.02); opacity: 0.5; }
}
.ambient__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
  pointer-events: none;
  background: radial-gradient(circle at 40% 40%, rgba(237, 187, 198, 0.5), rgba(237, 187, 198, 0) 70%);
  opacity: 0.5;
}
html[data-motion="vivid"] .ambient__glow {
  animation: kf-glob-breathe var(--gl, 16s) ease-in-out infinite;
}
@keyframes kf-mote-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.15; }
  30%      { opacity: 0.5; }
  50%      { transform: translate3d(var(--sway, 6px), -16px, 0) scale(1.1); opacity: 0.85; }
  70%      { opacity: 0.4; }
}
@keyframes kf-glob-breathe {
  0%, 100% { transform: scale(1); opacity: 0.45; }
  50%      { transform: scale(1.12); opacity: 0.7; }
}

/* ---------- Page header: light sheen + corner dust-trail motif ---------- */
.page-head { position: relative; overflow: clip; }
.page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 28%, rgba(246, 221, 226, 0.28) 46%, rgba(251, 248, 242, 0.6) 50%, rgba(246, 221, 226, 0.28) 54%, transparent 72%);
  background-size: 260% 100%;
  opacity: 0;
}
html[data-motion="vivid"] .page-head::after { animation: kf-sheen 9s ease-in-out infinite; }
@keyframes kf-sheen {
  0%        { background-position: 130% 0; opacity: 0; }
  7%        { opacity: 1; }
  48%       { background-position: -130% 0; }
  60%, 100% { opacity: 0; }
}

.head-motif {
  position: absolute;
  right: clamp(1rem, 4vw, 3rem);
  bottom: var(--space-3);
  width: clamp(130px, 20vw, 230px);
  pointer-events: none;
  z-index: 0;
}
.head-motif__svg { width: 100%; height: auto; display: block; }
@media (max-width: 640px) {
  .head-motif { display: none; }
}
html[data-motion="vivid"] .head-motif.fx-decor.is-inview {
  animation: kf-deco-in 1.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}
html[data-motion="vivid"] .head-motif.fx-decor.is-inview .gm-dot {
  animation: kf-glimt 3.6s var(--gd, 0s) ease-in-out infinite;
}

/* ---------- Shared sparkle glint (no stars — soft round light motes) ---------- */
@keyframes kf-glimt {
  0%, 100% { opacity: 0; transform: scale(0.6); }
  50%      { opacity: 0.9; transform: scale(1.15); }
}

/* ---------- Founder story: editorial captivation ---------- */
.founder-story > p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 3.4em;
  line-height: 0.82;
  float: left;
  padding-right: 0.35em;
  padding-top: 0.08em;
  color: var(--berry);
  font-weight: 600;
}
@keyframes kf-spin { to { transform: rotate(1turn); } }
.founder-card__photo::before {
  content: "";
  position: absolute;
  inset: -0.95rem;
  border: 1.5px dashed rgba(141, 63, 99, 0.5);
  border-radius: 50%;
  pointer-events: none;
}
html[data-motion="vivid"] .founder-card__photo.is-inview::before {
  animation: kf-spin 46s linear infinite;
  transform-origin: center;
}
.founder-separator {
  display: grid;
  place-items: center;
  margin: 0 0 var(--space-3);
  pointer-events: none;
}
.founder-separator svg { width: min(200px, 80%); height: auto; }
html[data-motion="vivid"] .founder-separator.fx-decor.is-inview svg {
  animation: kf-draw-wings 1.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes kf-draw-wings {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Assessment artwork: soft sheen sweep + hover lift ---------- */
.work-card {
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.work-card:hover,
.work-card:focus-within {
  transform: translateY(-4px);
  border-color: var(--rose);
  box-shadow: 0 26px 52px -34px rgba(77, 37, 52, 0.5);
}
.work-card__visual { position: relative; overflow: clip; }
.work-card__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 30%, rgba(246, 221, 226, 0.5) 48%, rgba(222, 209, 223, 0.4) 52%, transparent 70%);
  background-size: 260% 100%;
  opacity: 0;
}
html[data-motion="vivid"] .work-card__visual.fx-decor.is-inview::after {
  animation: kf-sheen 8s ease-in-out infinite;
}
.work-card__visual .work-sample-art { position: relative; }

/* ---------- Alive details: hover color, moving art, more pixie dust -------- */

.btn { position: relative; overflow: hidden; }
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(120deg, transparent 35%, rgba(251, 248, 242, 0.5) 50%, transparent 65%);
  background-size: 250% 100%;
  background-position: 150% 0;
}
html[data-motion="vivid"] .btn:hover::after { animation: kf-btn-shine 720ms var(--ease) forwards; }
@keyframes kf-btn-shine {
  0%   { opacity: 0; background-position: 150% 0; }
  22%  { opacity: 1; }
  100% { opacity: 0; background-position: -50% 0; }
}
.btn--primary {
  background-image: linear-gradient(135deg, var(--plum) 0%, var(--plum-2) 55%, var(--berry) 130%);
}
.btn--primary:hover { border-color: var(--berry); }
.btn--ghost:hover { color: var(--berry); border-color: var(--rose); }

.site-nav a { position: relative; transition: color 260ms var(--ease); }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--rose), var(--berry));
  transition: right 360ms var(--ease);
}
.site-nav a:hover::after { right: 0; }
.site-nav a:hover { color: var(--berry); border-bottom-color: transparent; }

.tabs__tab { transition: color 260ms var(--ease), border-color 260ms var(--ease); }
.tabs__tab:not([aria-selected="true"]):hover { color: var(--berry); border-color: var(--rose); }

.pathway { transition: border-color 300ms var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.pathway:hover { border-color: var(--rose); transform: translateY(-3px); box-shadow: 0 20px 40px -26px rgba(141, 63, 99, 0.5); }
html[data-motion="reduced"] .pathway:hover { transform: none; }

/* Work cards: cursor-tracking rose glow + richer hover color */
.work-card { position: relative; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color 300ms var(--ease); }
.work-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 400ms var(--ease);
  background: radial-gradient(420px circle at var(--mx, 52%) var(--my, 44%),
    rgba(216, 143, 164, 0.2), rgba(237, 187, 198, 0.12) 45%, transparent 72%);
}
.work-card:hover::before, .work-card:focus-within::before { opacity: 1; }
.work-card:hover { border-color: var(--rose); transform: translateY(-4px); box-shadow: 0 26px 50px -26px rgba(141, 63, 99, 0.5); }
.work-card__body { position: relative; z-index: 1; }
.work-card__visual { position: relative; z-index: 1; }
.work-card__body h3 { transition: color 300ms var(--ease); }
.work-card:hover .work-card__body h3 { color: var(--berry); }
.work-card:hover .work-card__body .tag { border-color: var(--berry); background: rgba(237, 187, 198, 0.3); }
.work-card__visual { transition: border-color 300ms var(--ease); }
.work-card:hover .work-card__visual { border-color: var(--rose); }
.work-sample-art { transition: transform 700ms var(--ease); }
html[data-motion="vivid"] .work-card:hover .work-sample-art { transform: scale(1.02) translateY(-3px); }
html[data-motion="reduced"] .work-card__visual .work-sample-art { transition: none; }

/* Moving image: gentle life inside the illustrated cards */
.art-wave, .art-dash, .art-blink, .art-glow, .art-pulse,
.art-mote, .art-tw, .art-glide, .art-code { animation-delay: var(--ad, 0s); }
html[data-motion="vivid"] .work-card__visual.is-inview .art-wave  { animation: kf-art-wave 2.6s ease-in-out infinite; }
html[data-motion="vivid"] .work-card__visual.is-inview .art-dash  { animation: kf-art-dash 3.2s ease-in-out infinite; }
html[data-motion="vivid"] .work-card__visual.is-inview .art-pulse { animation: kf-dash-flow 3.2s linear infinite; }
html[data-motion="vivid"] .work-card__visual.is-inview .art-blink { animation: kf-art-blink 2s steps(2, jump-none) infinite; }
html[data-motion="vivid"] .work-card__visual.is-inview .art-glow  { animation: kf-art-glow 3.6s ease-in-out infinite; }
html[data-motion="vivid"] .work-card__visual.is-inview .art-mote  { animation: kf-art-mote 4.6s ease-in-out infinite; }
html[data-motion="vivid"] .work-card__visual.is-inview .art-tw    { animation: kf-art-tw 2.8s ease-in-out infinite; }
html[data-motion="vivid"] .work-card__visual.is-inview .art-glide { animation: kf-art-glide 3.8s ease-in-out infinite; }
html[data-motion="vivid"] .work-card__visual.is-inview .art-code  { animation: kf-art-code 3s ease-in-out infinite; }
@keyframes kf-art-wave  { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
@keyframes kf-art-dash  { 0%, 100% { stroke-dashoffset: 0; opacity: 0.85; } 50% { stroke-dashoffset: 12; opacity: 1; } }
@keyframes kf-dash-flow { to { stroke-dashoffset: -128; } }
@keyframes kf-art-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0.25; } }
@keyframes kf-art-glow  { 0%, 100% { opacity: 0.72; } 50% { opacity: 1; filter: saturate(1.18); } }
@keyframes kf-art-mote  { 0% { transform: translateY(7px); opacity: 0; } 25% { opacity: 1; } 60% { opacity: 0.9; } 100% { transform: translateY(-15px); opacity: 0; } }
@keyframes kf-art-tw    { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
@keyframes kf-art-glide { 0%, 100% { transform: translateX(0); opacity: 0.9; } 50% { transform: translateX(9px); opacity: 1; } }
@keyframes kf-art-code  { 0%, 100% { text-shadow: 0 0 0 rgba(184, 93, 123, 0); } 50% { text-shadow: 0 0 16px rgba(184, 93, 123, 0.6); } }

/* Founder photo: slow living drift inside the ring */
html[data-motion="vivid"] .founder-card__photo.is-inview img {
  animation: kf-kenburns 24s ease-in-out infinite alternate;
  transform-origin: 50% 38%;
}
@keyframes kf-kenburns { from { transform: scale(1.02); } to { transform: scale(1.14); } }

/* Hero: the approved logo stays still and readable; the halo breathing
   around the logo circle and the glints are what carry the motion. */
html[data-motion="vivid"] .hero__logo-circle {
  animation: kf-halo-breathe 7.5s ease-in-out infinite;
}
@keyframes kf-halo-breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(184, 93, 123, 0); }
  50%      { box-shadow: 0 0 36px 6px rgba(184, 93, 123, 0.3); }
}
.hero__glint {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FBF8F2 0%, #F8DAE1 40%, #DD8BA8 100%);
  opacity: 0;
  pointer-events: none;
}
html[data-motion="vivid"] .hero__glint {
  animation: kf-glimt 3.4s var(--gd, 0s) ease-in-out infinite;
}

/* ---------- Cursor pixie dust ---------- */
.cursor-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.cursor-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  margin: -170px 0 0 -170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(237, 187, 198, 0.16), rgba(216, 143, 164, 0.08) 45%, transparent 70%);
  opacity: 0;
  will-change: transform, opacity;
}
.cursor-dust {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FBF8F2 0%, #F8DAE1 45%, #DD8BA8 100%);
  box-shadow: 0 0 8px 2px rgba(216, 143, 164, 0.35);
  will-change: transform, opacity;
}
html[data-motion="vivid"] .cursor-glow { animation: kf-glow-flicker 2.8s ease-in-out infinite; }
html[data-motion="vivid"] .cursor-dust { animation: kf-dust-rise 1s ease-out forwards; }
@keyframes kf-glow-flicker {
  0%, 100% { opacity: 0; }
  12%, 88% { opacity: 1; }
  34%, 66% { opacity: 0.55; }
}
@keyframes kf-dust-rise {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.9; }
  100% { transform: translate(var(--dr, 10px), -44px) scale(0.45); opacity: 0; }
}
html[data-motion="reduced"] .cursor-field { display: none; }

html[data-motion="reduced"] .btn::after { animation: none; opacity: 0; }
html[data-motion="reduced"] .art-wave, html[data-motion="reduced"] .art-dash,
html[data-motion="reduced"] .art-blink, html[data-motion="reduced"] .art-glow,
html[data-motion="reduced"] .art-pulse, html[data-motion="reduced"] .art-mote,
html[data-motion="reduced"] .art-tw, html[data-motion="reduced"] .art-glide,
html[data-motion="reduced"] .art-code { animation: none; }
html[data-motion="reduced"] .founder-card__photo img { animation: none; }
html[data-motion="reduced"] .hero__logo { animation: none; }

/* ---------- Motion gating for the enchanted layer ---------- */
html[data-motion="reduced"] .ambient .mote { animation: none; opacity: 0.3; }
html[data-motion="reduced"] .ambient__glow { animation: none; opacity: 0.45; }
html[data-motion="reduced"] .page-head::after { animation: none; opacity: 0; }
html[data-motion="reduced"] .head-motif { animation: none; opacity: 1; transform: none; }
html[data-motion="reduced"] .head-motif .gm-dot { animation: none; opacity: 0.5; }
html[data-motion="reduced"] .hero__logo-circle { animation: none; box-shadow: none; }
html[data-motion="reduced"] .hero__glint { animation: none; opacity: 0; }
html[data-motion="reduced"] .founder-card__photo::before { animation: none; }
html[data-motion="reduced"] .founder-separator svg { animation: none; opacity: 1; transform: none; }
html[data-motion="reduced"] .work-card__visual::after { animation: none; opacity: 0; }
html[data-motion="reduced"] .work-card:hover,
html[data-motion="reduced"] .work-card:focus-within { transform: none; }

html.deco-paused .ambient .mote,
html.deco-paused .ambient__glow,
html.deco-paused .gm-dot,
html.deco-paused .head-motif,
html.deco-paused .founder-separator svg,
html.deco-paused .hero__glint,
html.deco-paused .hero__logo-circle,
html.deco-paused .founder-card__photo img,
html.deco-paused .founder-card__photo::before,
html.deco-paused .work-card__visual.is-inview .art-wave,
html.deco-paused .work-card__visual.is-inview .art-dash,
html.deco-paused .work-card__visual.is-inview .art-blink,
html.deco-paused .work-card__visual.is-inview .art-glow,
html.deco-paused .work-card__visual.is-inview .art-pulse,
html.deco-paused .work-card__visual.is-inview .art-mote,
html.deco-paused .work-card__visual.is-inview .art-tw,
html.deco-paused .work-card__visual.is-inview .art-glide,
html.deco-paused .work-card__visual.is-inview .art-code,
html.deco-paused .work-card__visual::after,
html.deco-paused .cursor-glow,
html.deco-paused .cursor-dust { animation-play-state: paused !important; }

@media print {
  .ambient { display: none; }
}

@media print {
  .site-header, .hero__art, .invite__actions, .skip-link { display: none; }
  body { background: #fff; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 0.85em; color: #555; }
}
