/* ═══════════════════════════════════════════════════════════
   KEEN — Fundraising Operations & Events
   Editorial ivory & plum. Brand: deep plum #3D102E · gold #C89658
   · dark teal #22484C · sage #6B9288 · cream paper surfaces
   Type:  Playfair Display (display) · Satoshi (body)
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Surfaces */
  --bg: #faf6ee;
  --bg-2: #f4eee1;
  --card: #fffdf8;
  --card-2: #ffffff;
  --cream: #f7efe4;

  /* Brand */
  --plum: #3d102e;
  --plum-deep: #2c0a20;
  --plum-soft: #4a1235;
  --gold: #c89658;
  --gold-bright: #d4a259;
  --gold-deep: #8a5f33;
  --teal: #22484c;
  --sage: #6b9288;

  /* Text roles */
  --text: #2a1d24;
  --muted: #6f5f66;
  --faint: #75636b;
  --ink-inverse: #f7efe4;

  /* Lines */
  --line: rgba(61, 16, 46, 0.22);
  --line-soft: rgba(61, 16, 46, 0.12);

  /* Type */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Satoshi', 'Aptos', 'Helvetica Neue', sans-serif;
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1.6rem + 3.2vw, 4.5rem);

  /* Space */
  --space-1: 0.25rem;  --space-2: 0.5rem;   --space-3: 0.75rem;
  --space-4: 1rem;     --space-5: 1.25rem;  --space-6: 1.5rem;
  --space-8: 2rem;      --space-10: 2.5rem;  --space-12: 3rem;
  --space-16: 4rem;     --space-20: 5rem;    --space-24: 6rem;
  --space-32: 8rem;

  /* Misc */
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-card: 0 10px 40px rgba(61, 16, 46, 0.08);
  --shadow-lift: 0 18px 60px rgba(61, 16, 46, 0.16);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 200ms var(--ease);

  --content: 1180px;
}

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

html {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  hanging-punctuation: first last;
  scroll-padding-top: 0px;
}

body {
  min-height: 100dvh;
  line-height: 1.65;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text);
  background-color: var(--bg);
}

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

h1, h2, h3, h4 { text-wrap: balance; line-height: 1.12; font-family: var(--font-display); font-weight: 500; }
p, li { text-wrap: pretty; }
a { color: inherit; }

::selection { background: rgba(200, 150, 88, 0.35); }

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

[hidden] { display: none !important; }

section[id] { scroll-margin-top: 96px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Shared: kicker, bars motif, buttons ──────────────────── */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: var(--space-5);
}
.kicker--light { color: var(--gold-bright); }

.bars { display: inline-flex; align-items: flex-end; gap: 3px; height: 14px; }
.bars i {
  width: 4px; border-radius: 1px; display: block;
  background: var(--gold); height: 5px;
}
.bars i:nth-child(2) { height: 8px; background: var(--sage); }
.bars i:nth-child(3) { height: 11px; background: var(--teal); }
.bars i:nth-child(4) { height: 14px; background: var(--plum-soft); }
.kicker--light .bars i:nth-child(4) { background: var(--cream); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: var(--space-3) var(--space-6);
  border-radius: 999px;
  transition: transform var(--transition), box-shadow var(--transition),
              background var(--transition), color var(--transition), border-color var(--transition);
}
.btn--large { padding: var(--space-4) var(--space-8); font-size: var(--text-base); }
.btn--gold {
  background: linear-gradient(120deg, var(--gold), var(--gold-bright));
  color: var(--plum-deep);
  box-shadow: 0 6px 24px rgba(168, 122, 65, 0.35);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(168, 122, 65, 0.45); }
.btn--plum {
  background: var(--plum); color: var(--ink-inverse);
}
.btn--plum:hover { background: var(--plum-deep); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn--ghost {
  border: 1.5px solid rgba(61, 16, 46, 0.35);
  color: var(--plum);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--plum); background: rgba(61, 16, 46, 0.04); }
.btn--ghost-light {
  border: 1.5px solid rgba(247, 239, 228, 0.4);
  color: var(--cream);
  background: transparent;
}
.btn--ghost-light:hover { border-color: var(--cream); background: rgba(247, 239, 228, 0.08); }
.btn--block { width: 100%; justify-content: center; }
.btn__arrow { transition: transform var(--transition); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ── Scroll progress ──────────────────────────────────────── */
.progress {
  position: fixed; top: 0; left: 0; z-index: 60;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
  transition: width 120ms linear;
}

/* ── Header ───────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 238, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow var(--transition);
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(61, 16, 46, 0.08); }
.header__inner {
  max-width: var(--content);
  margin: 0 auto;
  padding: var(--space-3) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}
.header__logo img { width: 190px; height: auto; display: block; }
.nav { display: flex; align-items: center; gap: var(--space-6); }
.nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  color: var(--plum);
  position: relative;
}
.nav a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav a:not(.nav__cta):hover::after { transform: scaleX(1); }
.nav a.is-active::after { transform: scaleX(1); }
.nav__cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: var(--space-2);
  cursor: pointer;
  background: none;
  border: 0;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--plum);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(200, 150, 88, 0.16), transparent 65%),
    radial-gradient(700px 500px at -10% 110%, rgba(34, 72, 76, 0.07), transparent 60%),
    var(--bg);
}
.hero__inner {
  max-width: var(--content);
  margin: 0 auto;
  padding: var(--space-20) var(--space-6) var(--space-24);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(var(--space-10), 5vw, var(--space-20));
  align-items: center;
}
.hero__title {
  font-size: var(--text-3xl);
  color: var(--plum);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-6);
}
.hero__title em { font-style: italic; color: var(--teal); }
.hero__lede {
  font-size: var(--text-lg);
  color: var(--muted);
  max-width: 36ch;
  margin-bottom: var(--space-8);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-bottom: var(--space-5); }
.hero__note { font-size: var(--text-sm); color: var(--faint); max-width: 44ch; }

/* ── Run sheet visual (hero) ──────────────────────────────── */
.runsheet {
  position: relative;
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  padding: var(--space-6);
}
.runsheet::before {
  content: "";
  position: absolute;
  inset: -12px -12px auto auto;
  width: 46%; height: 46%;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  border-radius: 0 var(--radius) 0 0;
  pointer-events: none;
}
.runsheet__head {
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--plum);
}
.runsheet__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--plum);
  letter-spacing: 0.04em;
}
.runsheet__doc {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.runsheet__stamp {
  margin-left: auto;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  border: 2px solid var(--gold);
  border-radius: 6px;
  padding: 2px 10px;
  transform: rotate(-4deg);
}
.runsheet__meta {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--line-soft);
}
.runsheet__rows { list-style: none; }
.runsheet__rows li {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: var(--space-4);
  align-items: baseline;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--line-soft);
}
.runsheet__rows li:last-child { border-bottom: 0; }
.runsheet__time {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-base);
  color: var(--gold-deep);
  white-space: nowrap;
}
.runsheet__time span { font-size: var(--text-xs); color: var(--faint); }
.runsheet__cue { font-size: var(--text-sm); color: var(--text); }
.runsheet__owner {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}
.runsheet__owner--keen { color: var(--gold-deep); }
.runsheet__caption {
  margin-top: var(--space-4);
  font-size: var(--text-xs);
  color: var(--faint);
  font-style: italic;
}

/* ── Service strip ───────────────────────────────────────── */
.strip { background: var(--plum); padding: var(--space-4) var(--space-6); }
.strip__line {
  max-width: var(--content);
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--text-base);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
}
.strip__line i { color: var(--gold-bright); font-style: normal; font-size: 0.6em; vertical-align: middle; padding: 0 var(--space-2); }

/* ── Promise band (plum) ─────────────────────────────────── */
.promise {
  background:
    radial-gradient(800px 400px at 15% -20%, rgba(200, 150, 88, 0.18), transparent 60%),
    linear-gradient(160deg, var(--plum) 0%, var(--plum-deep) 100%);
  color: var(--ink-inverse);
  padding: var(--space-20) var(--space-6);
}
.promise__head { max-width: var(--content); margin: 0 auto var(--space-12); }
.promise__title {
  text-align: center;
  font-size: var(--text-2xl);
  max-width: 24ch;
  margin: 0 auto;
  color: #f3e7d8;
}
.promise__grid {
  max-width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}
.promise__item {
  border-top: 2px solid var(--gold);
  padding-top: var(--space-6);
}
.promise__num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-bright);
  font-size: var(--text-lg);
  display: block;
  margin-bottom: var(--space-3);
}
.promise__item h3 { font-size: var(--text-lg); margin-bottom: var(--space-3); color: #f6ecdd; }
.promise__item p { color: rgba(247, 239, 228, 0.72); font-size: var(--text-base); }

/* ── Sections ────────────────────────────────────────────── */
.section { padding: clamp(var(--space-16), 7vw, var(--space-24)) var(--space-6); }
.section__head { max-width: var(--content); margin: 0 auto var(--space-12); }
.section__title { font-size: var(--text-xl); color: var(--plum); max-width: 26ch; }
.section__sub { color: var(--muted); max-width: 56ch; margin-top: var(--space-4); font-size: var(--text-base); }
.section__title--light { color: #eef4f0; }
.section__sub--light { color: rgba(238, 244, 240, 0.75); }

/* Services: run-sheet phases */
.services { background: var(--bg-2); }
.services__list {
  max-width: var(--content);
  margin: 0 auto;
  display: grid;
  gap: var(--space-12);
}
.service-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(var(--space-6), 4vw, var(--space-12));
  border-top: 1px solid var(--line);
  padding-top: var(--space-8);
}
.service-row__when { display: grid; gap: var(--space-2); align-content: start; }
.service-row__phase {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.service-row__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-2xl);
  color: rgba(61, 16, 46, 0.18);
  line-height: 1;
}
.service-row__body h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); color: var(--plum); }
.service-row__lede { font-family: var(--font-display); font-style: italic; color: var(--teal); margin-bottom: var(--space-4); }
.service-row__body > p:not(.service-row__lede) { color: var(--muted); margin-bottom: var(--space-5); max-width: 62ch; }
.service-row__tags { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-3); }
.service-row__tags li {
  font-size: var(--text-sm);
  color: var(--teal);
  padding: var(--space-1) var(--space-4);
  border: 1px solid rgba(34, 72, 76, 0.25);
  border-radius: 999px;
  background: var(--card);
}

/* Ways to plug in */
.plug {
  max-width: var(--content);
  margin: var(--space-16) auto 0;
  border-top: 1px solid var(--line);
  padding-top: var(--space-10);
}
.plug__title {
  font-size: var(--text-lg);
  color: var(--plum);
  margin-bottom: var(--space-8);
}
.plug__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}
.plug__item { border-top: 2px solid var(--gold); padding-top: var(--space-4); }
.plug__item h4 { font-family: var(--font-body); font-weight: 700; font-size: var(--text-base); color: var(--plum); margin-bottom: var(--space-2); }
.plug__item p { font-size: var(--text-sm); color: var(--muted); }
.plug__note { margin-top: var(--space-8); color: var(--muted); font-size: var(--text-sm); }

/* Process (plum) */
.process {
  background:
    radial-gradient(700px 400px at 90% 10%, rgba(200, 150, 88, 0.14), transparent 60%),
    linear-gradient(165deg, var(--plum) 0%, var(--plum-deep) 100%);
  color: var(--ink-inverse);
}
.steps {
  max-width: var(--content);
  margin: 0 auto;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-10);
}
.step { display: flex; flex-direction: column; gap: var(--space-5); }
.step__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-xl);
  color: var(--gold-bright);
  line-height: 1;
  flex-shrink: 0;
  width: 56px; height: 56px;
  border: 1.5px solid rgba(200, 150, 88, 0.5);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.step h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); color: #f6ecdd; }
.step p { color: rgba(247, 239, 228, 0.72); }

/* Events */
.events { background: var(--bg); }
.events__layout {
  max-width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(var(--space-10), 5vw, var(--space-20));
  align-items: center;
}
.events__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}
.events__media figcaption {
  margin-top: var(--space-4);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}
.photo-credit { text-transform: none; letter-spacing: 0; }
.events__cols { display: grid; gap: var(--space-10); }
.events__cols h3 { font-size: var(--text-lg); margin-bottom: var(--space-5); color: var(--plum); }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-3); }
.tag-list li {
  font-size: var(--text-sm);
  font-weight: 500;
  padding: var(--space-2) var(--space-4);
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  color: var(--teal);
  box-shadow: 0 2px 8px rgba(61, 16, 46, 0.05);
}

/* Platforms (teal) */
.platforms { background: linear-gradient(150deg, var(--teal) 0%, #1a3a3e 100%); color: var(--ink-inverse); }
.platforms__inner { max-width: var(--content); margin: 0 auto; }
.platform-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin: var(--space-8) 0 var(--space-6);
}
.platform-list li {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: #f0ede2;
  padding: var(--space-3) var(--space-6);
  border: 1px solid rgba(240, 237, 226, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}
.platforms__note { color: rgba(238, 244, 240, 0.65); font-size: var(--text-sm); }

/* About */
.about { background: var(--bg-2); }
.about__inner {
  max-width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(var(--space-10), 5vw, var(--space-20));
  align-items: start;
}
.about__media { display: grid; gap: var(--space-6); }
.about__figure { max-width: 340px; }
.about__figure img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}
.about__figure figcaption {
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  color: var(--faint);
}
.about__glance {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: var(--space-6);
}
.about__glance h3 { font-size: var(--text-base); color: var(--plum); margin-bottom: var(--space-4); font-family: var(--font-body); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: var(--text-xs); }
.about__glance ul { list-style: none; display: grid; gap: var(--space-3); }
.about__glance li {
  font-size: var(--text-sm);
  color: var(--muted);
  padding-left: var(--space-4);
  border-left: 2px solid var(--gold);
}
.about__glance strong { color: var(--plum); }
.about__text > p { color: var(--muted); margin-bottom: var(--space-5); max-width: 62ch; }
.about__text .kicker { margin-bottom: var(--space-3); }
.about__text .section__title { margin-bottom: var(--space-6); }
.about__text .btn { margin-top: var(--space-3); }

/* Roots / affiliations band */
.roots { padding: var(--space-16) 0; background: var(--bg-2); border-top: 1px solid var(--line-soft); }
.roots__inner { max-width: var(--content); margin: 0 auto; padding: 0 var(--space-6); text-align: center; }
.roots__title {
  font-size: var(--text-xs); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--faint); margin-bottom: var(--space-6); font-weight: 500;
}
.roots__row { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-4); }
.roots__chip {
  border: 1px solid var(--line-soft); border-radius: 999px;
  padding: var(--space-2) var(--space-5); font-size: var(--text-sm); color: var(--muted);
  background: var(--card);
  transition: border-color var(--transition), color var(--transition);
}
.roots__chip:hover { border-color: var(--gold); color: var(--plum); }

/* FAQ */
.faq { background: var(--bg); }
.faq__list { max-width: 760px; margin: 0 auto; display: grid; gap: var(--space-4); }
.faq-item {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--card);
  padding: var(--space-5) var(--space-6);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.faq-item:hover { border-color: rgba(200, 150, 88, 0.45); background: var(--card-2); }
.faq-item[open] { border-color: rgba(200, 150, 88, 0.55); box-shadow: var(--shadow-card); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-4);
  font-weight: 700; color: var(--plum); font-size: var(--text-base);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__icon {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center;
  color: var(--gold-deep); font-size: 1rem;
  transition: transform var(--transition), border-color var(--transition);
  font-family: var(--font-body); font-weight: 400;
}
.faq-item[open] .faq-item__icon { transform: rotate(45deg); border-color: var(--gold); }
.faq-item p { margin-top: var(--space-4); color: var(--muted); max-width: 62ch; }
.faq-item a { color: var(--gold-deep); font-weight: 700; }

/* ── Inquiry form (plum) ──────────────────────────────────── */
.inquiry {
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 420px at 12% -10%, rgba(212, 162, 89, 0.12), transparent 60%),
    radial-gradient(600px 400px at 95% 110%, rgba(58, 107, 112, 0.12), transparent 60%),
    linear-gradient(170deg, var(--plum) 0%, var(--plum-deep) 100%);
  padding: var(--space-24) var(--space-6);
  color: var(--ink-inverse);
}
.inquiry__inner {
  max-width: var(--content); margin: 0 auto;
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(var(--space-10), 5vw, var(--space-20));
  align-items: start;
}
.inquiry__title { font-size: var(--text-2xl); color: var(--cream); margin-bottom: var(--space-4); }
.inquiry__sub { color: rgba(247, 239, 228, 0.75); font-size: var(--text-lg); margin-bottom: var(--space-8); }
.inquiry__steps-hint { list-style: none; display: grid; gap: var(--space-3); }
.inquiry__steps-hint li {
  display: flex; align-items: center; gap: var(--space-4);
  color: rgba(247, 239, 228, 0.75); font-size: var(--text-base);
}
.inquiry__steps-hint span {
  width: 32px; height: 32px; flex-shrink: 0;
  border: 1px solid rgba(247, 239, 228, 0.25); border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-style: italic; color: var(--gold-bright);
}
.inquiry__steps-hint li.is-active span { border-color: var(--gold-bright); color: var(--gold-bright); }
.inquiry__steps-hint li.is-active { color: var(--cream); }

.inquiry__form {
  background: rgba(10, 4, 8, 0.45);
  border: 1px solid rgba(247, 239, 228, 0.14);
  border-radius: var(--radius);
  padding: clamp(var(--space-6), 4vw, var(--space-12));
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lift);
}
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form-step { display: none; animation: stepIn 320ms var(--ease); }
.form-step.is-active { display: block; }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.form-step__title {
  font-family: var(--font-display); font-size: var(--text-xl);
  color: var(--cream); margin-bottom: var(--space-6);
  padding-bottom: var(--space-4); border-bottom: 1px solid rgba(247, 239, 228, 0.14);
}
.field { margin-bottom: var(--space-5); display: grid; gap: var(--space-2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.field label, .field legend {
  font-size: var(--text-sm); font-weight: 700; color: var(--cream);
}
.field .req { color: var(--gold-bright); }
.field .hint { font-weight: 400; color: #c9b6bc; font-size: var(--text-xs); }
.check { display: flex; gap: var(--space-3); align-items: flex-start; cursor: pointer; font-size: var(--text-sm); color: var(--cream); }
.field--consent { padding: var(--space-4) 0 0; }
.field input, .field select, .field textarea {
  width: 100%;
  background: rgba(246, 236, 221, 0.06);
  border: 1px solid rgba(247, 239, 228, 0.16);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: var(--text-base);
  transition: border-color var(--transition), background var(--transition);
}
.field select option { background: #241220; color: var(--cream); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: rgba(246, 236, 221, 0.09);
}
.field textarea { resize: vertical; }
.field--consent .check input[type="checkbox"] {
  width: 16px; height: 16px; padding: 0; margin: 3px 0 0;
  flex: none; accent-color: var(--gold); appearance: auto;
}
.field--checks { border: 0; }
.form-step__error { color: #f0a3a3; font-size: var(--text-sm); margin-bottom: var(--space-4); }
.form-nav { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); margin-top: var(--space-8); }

/* Quick-pick chips */
.quickpick { border: 0; }
.quickpick legend { margin-bottom: var(--space-4); }
.quickpick__row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.chip {
  position: relative;
  cursor: pointer;
}
.chip input {
  position: absolute; opacity: 0; width: 1px; height: 1px;
  left: -9999px;
}
.chip span {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(247, 239, 228, 0.8);
  border: 1px solid rgba(247, 239, 228, 0.3);
  border-radius: 999px;
  padding: var(--space-2) var(--space-5);
  transition: all var(--transition);
}
.chip:hover span { border-color: var(--gold-bright); color: var(--cream); }
.chip input:checked + span {
  background: linear-gradient(120deg, var(--gold), var(--gold-bright));
  border-color: var(--gold-bright);
  color: var(--plum-deep);
  font-weight: 700;
}
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }

.form-success { text-align: center; padding: var(--space-10) var(--space-6); }
.form-success__mark {
  width: 64px; height: 64px; margin: 0 auto var(--space-6);
  border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold)); color: #241019;
  font-size: 1.8rem;
}
.form-success h3 { font-family: var(--font-display); font-size: var(--text-xl); color: var(--cream); margin-bottom: var(--space-3); }
.form-success p { color: rgba(247, 239, 228, 0.75); max-width: 46ch; margin: 0 auto var(--space-3); }
.form-success__next { font-size: var(--text-sm); color: #c9b6bc; }
.form-fail {
  margin-top: var(--space-4); padding: var(--space-4);
  background: rgba(240, 163, 163, 0.1); border: 1px solid rgba(240, 163, 163, 0.3);
  border-radius: var(--radius-sm); color: #f0c3c3; font-size: var(--text-sm);
}

/* ── Footer ───────────────────────────────────────────────── */
.footer { background: var(--plum-deep); color: var(--cream); padding: var(--space-16) var(--space-6) var(--space-6); }
.footer__inner {
  max-width: var(--content); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--space-8); flex-wrap: wrap;
  padding-bottom: var(--space-10);
  border-bottom: 1px solid rgba(247, 239, 228, 0.12);
}
.footer__brand img { width: 190px; margin-bottom: var(--space-4); display: block; }
.footer__tagline { color: var(--gold-bright); font-family: var(--font-display); font-size: var(--text-base); }
.footer__nav { display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-6); }
.footer__nav a {
  font-size: var(--text-sm); color: rgba(247, 239, 228, 0.75); text-decoration: none;
  transition: color var(--transition);
}
.footer__nav a:hover { color: var(--gold-bright); }
.footer__admin { border: 1px solid rgba(247, 239, 228, 0.25); border-radius: 999px; padding: var(--space-1) var(--space-4); }
.footer__base { max-width: var(--content); margin: var(--space-6) auto 0; text-align: center; }
.footer__base p { font-size: var(--text-xs); color: rgba(247, 239, 228, 0.45); }
.footer__credits { margin-top: var(--space-2); }

/* ── Reveal on scroll ─────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* DASHBOARD (#admin) — KEEN operations console */
.dash {
  --bg: #170b12;
  --bg-2: #221122;
  --card: #2a1526;
  --card-2: #331a2e;
  --cream: #f7efe4;
  --muted: #bdaab2;
  --faint: #96838c;
  --line: rgba(247, 239, 228, 0.14);
  --line-soft: rgba(247, 239, 228, 0.08);
  --gold-bright: #d9a85f;
  --sage: #7ba394;
  --text: #f7efe4;

  position: fixed; inset: 0; z-index: 100;
  background:
    radial-gradient(1100px 520px at 88% -12%, rgba(217, 168, 95, 0.09), transparent 62%),
    radial-gradient(900px 600px at -8% 112%, rgba(58, 107, 112, 0.11), transparent 60%),
    linear-gradient(180deg, #1c0e17 0%, #170b12 100%);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(217, 168, 95, 0.3) transparent;
}
.dash::before {
  content: ""; position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 300;
  background: linear-gradient(90deg, transparent, rgba(217, 168, 95, 0.65), transparent);
  pointer-events: none;
}
.dash::-webkit-scrollbar { width: 10px; }
.dash::-webkit-scrollbar-thumb {
  background: rgba(217, 168, 95, 0.22); border-radius: 999px;
  border: 2px solid transparent; background-clip: content-box;
}
.dash ::selection { background: rgba(217, 168, 95, 0.35); }
.dash :focus-visible { outline: 2px solid rgba(217, 168, 95, 0.7); outline-offset: 2px; border-radius: 6px; }

/* Login */
.dash__login { min-height: 100vh; display: grid; place-items: center; padding: var(--space-6); }
.dash__login-card {
  width: min(440px, 100%); position: relative; text-align: center;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(217, 168, 95, 0.07), transparent 60%),
    rgba(32, 16, 29, 0.88);
  border: 1px solid var(--line); border-radius: 20px;
  padding: var(--space-12) var(--space-10);
  box-shadow: 0 48px 90px -24px rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
}
.dash__login-card::before {
  content: ""; position: absolute; top: 0; left: 14%; right: 14%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 168, 95, 0.55), transparent);
}
.dash__login-logo { width: 158px; height: auto; margin: 0 auto var(--space-6); }
.dash__login-eyebrow {
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-bright); margin-bottom: var(--space-2);
}
.dash__login-card h2 { font-family: var(--font-display); font-size: var(--text-xl); color: var(--cream); margin-bottom: var(--space-2); }
.dash__login-sub { color: var(--muted); font-size: var(--text-sm); margin-bottom: var(--space-8); }
.dash__login-error { color: #f0a3a3; font-size: var(--text-sm); margin-bottom: var(--space-4); }
.dash__back { display: inline-block; margin-top: var(--space-6); font-size: var(--text-sm); color: var(--muted); text-decoration: none; }
.dash__back:hover { color: var(--gold-bright); }
.dash__login-card .field input, .dash__login-card .field select {
  border-color: rgba(247, 239, 228, 0.3); background: rgba(246, 236, 221, 0.08);
}
.dash__login-card .field input:focus { border-color: rgba(217, 168, 95, 0.75); background: rgba(246, 236, 221, 0.11); }

/* Top bar */
.dash__app { display: flex; flex-direction: column; min-height: 100vh; }
.dash__bar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-4) var(--space-8);
  background: rgba(18, 9, 15, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.dash__bar-brand { display: flex; align-items: center; gap: var(--space-5); }
.dash__bar-logo { width: 128px; height: auto; }
.dash__bar-label {
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--faint); padding-left: var(--space-5); border-left: 1px solid var(--line);
}
.dash__bar-right { display: flex; align-items: center; gap: var(--space-5); }
.dash__who {
  font-size: var(--text-sm); color: var(--muted);
  padding: 5px 14px; border: 1px solid var(--line-soft); border-radius: 999px;
  background: rgba(246, 236, 221, 0.04);
}
.dash__link {
  background: none; border: 0; cursor: pointer;
  font-size: var(--text-sm); color: var(--gold-bright); text-decoration: none;
}
.dash__link:hover { text-decoration: underline; }

/* Tabs + search */
.dash__tabs {
  display: flex; align-items: center; gap: var(--space-5); flex-wrap: wrap;
  padding: var(--space-4) var(--space-8);
  border-bottom: 1px solid var(--line-soft);
}
.dash__tabs-group {
  display: flex; gap: 4px;
  background: rgba(246, 236, 221, 0.05); border: 1px solid var(--line-soft);
  border-radius: 999px; padding: 4px;
}
.dash__tab {
  background: none; border: 0; border-radius: 999px;
  padding: var(--space-2) var(--space-5); cursor: pointer;
  font-weight: 700; font-size: var(--text-sm); color: var(--muted);
  transition: color var(--transition), background var(--transition);
}
.dash__tab:hover { color: var(--cream); }
.dash__tab.is-active { color: #1c0e17; background: var(--gold-bright); }
.dash__search {
  margin-left: auto;
  background: rgba(246, 236, 221, 0.05); border: 1px solid var(--line-soft);
  border-radius: 999px; padding: var(--space-2) var(--space-5);
  color: var(--cream); font-size: var(--text-sm); min-width: 240px;
  transition: border-color var(--transition), background var(--transition);
}
.dash__search:focus { outline: none; border-color: rgba(217, 168, 95, 0.6); background: rgba(246, 236, 221, 0.08); }
.dash__search::placeholder { color: rgba(247, 239, 228, 0.45); }
.dash__panel { flex: 1; display: flex; flex-direction: column; padding: var(--space-6) var(--space-8) var(--space-16); }
.dash__view { animation: viewIn 300ms var(--ease); }
#view-inquiries { display: flex; flex-direction: column; flex: 1; }
@keyframes viewIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .dash__view, .dash__modal-card { animation: none; } .pipe__new-dot { animation: none; } }
.dash__empty { text-align: center; padding: var(--space-24) var(--space-6); }
.dash__empty h3 { font-family: var(--font-display); font-size: var(--text-xl); color: var(--cream); margin-bottom: var(--space-3); }
.dash__empty p { color: var(--muted); max-width: 46ch; margin: 0 auto var(--space-6); }

/* Pipeline */
.pipe {
  display: grid; grid-template-columns: repeat(7, minmax(140px, 1fr));
  gap: var(--space-4); align-items: stretch; flex: 1;
}
.pipe__col {
  position: relative;
  background: rgba(246, 236, 221, 0.028);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: var(--space-4);
  min-height: 200px;
  min-width: 0;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.pipe__col::before {
  content: ""; position: absolute; top: 0; left: 12px; right: 12px; height: 2px;
  background: var(--accent, transparent); border-radius: 999px; opacity: 0.85;
}
.pipe__col[data-status="new"] { --accent: var(--gold-bright); }
.pipe__col[data-status="contacted"] { --accent: #85aacb; }
.pipe__col[data-status="scoped"] { --accent: #b18fc9; }
.pipe__col[data-status="proposal"] { --accent: #d9a85f; }
.pipe__col[data-status="booked"] { --accent: #7ba394; }
.pipe__col[data-status="completed"] { --accent: #96838c; }
.pipe__col[data-status="declined"] { --accent: #c98f8f; }
.pipe__col.is-drop {
  border-color: rgba(217, 168, 95, 0.65); background: rgba(217, 168, 95, 0.06);
  box-shadow: 0 0 0 1px rgba(217, 168, 95, 0.35), 0 12px 30px -18px rgba(217, 168, 95, 0.4);
}
.pipe__col-head {
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-2);
  font-size: var(--text-sm); font-weight: 500;
  color: var(--muted); margin-bottom: var(--space-4);
}
.pipe__col-head > span:first-child { white-space: nowrap; }
.pipe__count {
  font-family: var(--font-display); color: #f0d3a0; font-size: var(--text-sm);
  min-width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(217, 168, 95, 0.16); border: 1px solid rgba(217, 168, 95, 0.35);
  border-radius: 999px; padding: 0 6px;
}
.pipe__toolbar {
  display: flex; gap: var(--space-3); margin-top: var(--space-4);
  flex-wrap: wrap; align-items: center;
}
.pipe__hint { color: var(--muted); font-size: var(--text-xs); }
.pipe__card {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line-soft);
  border-radius: 12px; padding: var(--space-4);
  margin-bottom: var(--space-3); cursor: grab;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}
.pipe__card:hover {
  border-color: rgba(217, 168, 95, 0.55); transform: translateY(-2px);
  box-shadow: 0 12px 26px -14px rgba(0, 0, 0, 0.6);
}
.pipe__card:active { cursor: grabbing; }
.pipe__card.is-dragging { opacity: 0.4; transform: scale(0.98); }
.pipe__name { font-weight: 700; font-size: var(--text-sm); color: var(--cream); margin-bottom: var(--space-1); }
.pipe__meta { font-size: var(--text-xs); color: var(--faint); }
.pipe__badges { display: flex; flex-wrap: wrap; gap: 4px; margin-top: var(--space-2); }
.pipe__badge {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 2px 8px; border-radius: 999px;
  background: rgba(217, 168, 95, 0.13); color: var(--gold-bright);
  border: 1px solid rgba(217, 168, 95, 0.28);
}
.pipe__new-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold-bright); margin-right: 6px;
  box-shadow: 0 0 0 3px rgba(217, 168, 95, 0.18);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* Engagements */
.eng { max-width: 100%; }
.eng__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
.eng__card {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line-soft);
  border-radius: 16px; padding: var(--space-6);
}
.eng__head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-4); flex-wrap: wrap; margin-bottom: var(--space-5); }
.eng__title { font-family: var(--font-display); font-size: var(--text-lg); color: var(--cream); }
.eng__sub { font-size: var(--text-sm); color: var(--muted); margin-top: var(--space-1); }
.eng__status {
  font-size: var(--text-sm); font-weight: 600;
  padding: var(--space-1) var(--space-4); border-radius: 999px;
  border: 1px solid var(--line); color: var(--gold-bright); background: rgba(217, 168, 95, 0.1);
}
.eng__fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-4); margin-bottom: var(--space-5); }
.eng__tasks { display: grid; gap: var(--space-2); margin-bottom: var(--space-5); }
.task {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: rgba(246, 236, 221, 0.03);
  border: 1px solid var(--line-soft); border-radius: 10px;
  transition: border-color var(--transition);
}
.task:hover { border-color: var(--line); }
.task input[type="checkbox"] { accent-color: var(--gold-bright); width: 17px; height: 17px; flex-shrink: 0; }
.task.done .task__title { text-decoration: line-through; color: var(--faint); }
.task__title { flex: 1; font-size: var(--text-sm); color: var(--cream); }
.task__due { font-size: var(--text-xs); color: var(--faint); }
.task__phase {
  font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--sage); border: 1px solid rgba(123, 163, 148, 0.4);
  padding: 2px 8px; border-radius: 999px;
}
.task__del { background: none; border: 0; color: var(--faint); cursor: pointer; font-size: 1rem; line-height: 1; }
.task__del:hover { color: #f0a3a3; }
.task-add { display: flex; gap: var(--space-3); flex-wrap: wrap; align-items: end; }
.task-add .field { margin: 0; flex: 1; min-width: 160px; }
.eng__notes { display: grid; gap: var(--space-2); margin-bottom: var(--space-4); }
.note {
  padding: var(--space-3) var(--space-4);
  background: rgba(246, 236, 221, 0.03);
  border-left: 2px solid var(--gold-bright); border-radius: 0 10px 10px 0;
  font-size: var(--text-sm); color: var(--muted);
}
.note time { display: block; font-size: var(--text-xs); color: var(--faint); margin-top: 4px; }
.note-add { display: flex; gap: var(--space-3); margin-top: var(--space-3); }
.note-add input { flex: 1; min-width: 0;
  background: rgba(246, 236, 221, 0.06); border: 1px solid var(--line-soft);
  border-radius: 10px; padding: var(--space-3) var(--space-4); color: var(--cream); }
.note-add input:focus { outline: none; border-color: rgba(217, 168, 95, 0.6); background: rgba(246, 236, 221, 0.09); }

/* Modal */
.dash__modal {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(8, 3, 7, 0.78);
  backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: var(--space-6);
}
.dash__modal-card {
  width: min(680px, 100%); max-height: 86vh; overflow-y: auto;
  background: linear-gradient(180deg, #2c1627, #231122);
  border: 1px solid var(--line);
  border-radius: 18px; padding: var(--space-8);
  box-shadow: 0 60px 110px -30px rgba(0, 0, 0, 0.75);
  animation: viewIn 240ms var(--ease);
}
.modal__head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-4); margin-bottom: var(--space-6); padding-bottom: var(--space-5); border-bottom: 1px solid var(--line-soft); }
.modal__title { font-family: var(--font-display); font-size: var(--text-xl); color: var(--cream); }
.modal__sub { font-size: var(--text-sm); color: var(--muted); margin-top: var(--space-1); }
.modal__close {
  background: none; border: 1px solid var(--line-soft); border-radius: 50%;
  width: 34px; height: 34px; cursor: pointer; color: var(--muted); font-size: 1rem; flex-shrink: 0;
}
.modal__close:hover { color: var(--cream); border-color: rgba(217, 168, 95, 0.6); }
.modal__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--space-4); margin-bottom: var(--space-6); }
.modal__field label { display: block; font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: var(--space-1); }
.modal__field p { font-size: var(--text-sm); color: var(--cream); }
.modal__section { font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-bright); margin: var(--space-6) 0 var(--space-3); }
.modal__actions { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--space-8); }

/* Team */
.team__grid { display: grid; gap: var(--space-4); max-width: 640px; }
.team__row {
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line-soft); border-radius: 12px;
}
.team__email { font-weight: 700; color: var(--cream); font-size: var(--text-sm); }
.team__role { font-size: var(--text-xs); color: var(--faint); }
.team__remove { background: none; border: 0; color: #f0a3a3; cursor: pointer; font-size: var(--text-sm); }
.team__remove:hover { text-decoration: underline; }
.team__add { margin-top: var(--space-8); max-width: 640px; display: grid; gap: var(--space-4); }
.cred-box {
  margin-top: var(--space-4); padding: var(--space-4) var(--space-5);
  background: rgba(217, 168, 95, 0.07); border: 1px solid rgba(217, 168, 95, 0.3);
  border-radius: 12px; font-size: var(--text-sm);
}
.cred-box code { color: var(--gold-bright); font-size: var(--text-base); }

/* Import */
.import__zone {
  border: 2px dashed var(--line); border-radius: 16px;
  padding: var(--space-10) var(--space-6); text-align: center;
  color: var(--muted); max-width: 640px;
  transition: border-color var(--transition), background var(--transition);
}
.import__zone.is-over { border-color: rgba(217, 168, 95, 0.7); color: var(--cream); background: rgba(217, 168, 95, 0.05); }
.import__hint { font-size: var(--text-xs); color: var(--faint); margin-top: var(--space-2); }
.import__map { display: grid; gap: var(--space-3); margin: var(--space-6) 0; }
.import__map-row { display: grid; grid-template-columns: 160px 1fr; gap: var(--space-4); align-items: center; }
.import__preview { width: 100%; border-collapse: collapse; font-size: var(--text-xs); color: var(--muted); margin-bottom: var(--space-6); }
.import__preview th, .import__preview td { border: 1px solid var(--line-soft); padding: 6px 10px; text-align: left; overflow: hidden; text-overflow: ellipsis; max-width: 140px; white-space: nowrap; }
.import__preview th { color: var(--gold-bright); font-weight: 700; }
.import__result { color: var(--sage); font-size: var(--text-sm); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1080px) {
  .header__inner { padding-inline: var(--space-4); }
  .nav { gap: var(--space-4); }
  .nav a:not(.nav__cta) { white-space: nowrap; }
  .pipe { grid-template-columns: repeat(4, minmax(160px, 1fr)); }
}

@media (max-width: 900px) {
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg);
    flex-direction: column; align-items: flex-start;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-6) var(--space-6);
    border-bottom: 1px solid var(--line-soft);
    box-shadow: var(--shadow-lift);
    display: none;
  }
  .nav.is-open { display: flex; }
  body.nav-open { overflow: hidden; }
  body.nav-open::after {
    content: ""; position: fixed; inset: 0;
    background: rgba(46, 10, 32, 0.5); z-index: 40;
  }
  .header { z-index: 50; }
  .nav { animation: navDrop 260ms var(--ease); }
  @keyframes navDrop {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .nav a { padding: var(--space-2) 0; font-size: var(--text-base); }
  .nav-toggle { display: flex; margin-left: auto; }
  .header__inner { flex-wrap: nowrap; }
  .header__logo img { width: 150px; }

  .hero__inner { grid-template-columns: 1fr; padding-top: var(--space-12); }
  .hero__lede { max-width: none; }
  .runsheet { max-width: 560px; }
  .promise__grid { grid-template-columns: 1fr; max-width: 560px; gap: var(--space-6); }
  .steps { grid-template-columns: 1fr; gap: var(--space-8); }
  .events__layout { grid-template-columns: 1fr; gap: var(--space-10); }
  .events__media { max-width: 560px; }
  .about__inner { grid-template-columns: 1fr; gap: var(--space-10); }
  .about__media { max-width: 480px; }
  .inquiry__inner { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .service-row { grid-template-columns: 1fr; gap: var(--space-4); }
  .plug__grid { grid-template-columns: repeat(2, 1fr); }
  .pipe { grid-template-columns: repeat(2, minmax(150px, 1fr)); }
  .pipe__col { min-height: 140px; }
  .dash__bar, .dash__tabs, .dash__panel { padding-inline: var(--space-4); }
  .dash__search { min-width: 0; width: 100%; order: 3; }
  .dash__bar { flex-wrap: wrap; row-gap: var(--space-2); }
  .dash__bar-right { flex-wrap: wrap; gap: var(--space-4); }
  .dash__who { display: none; }
  .dash__tab { padding: var(--space-2) var(--space-4); font-size: var(--text-xs); }
}

@media (max-width: 480px) {
  .faq-item summary { font-size: var(--text-sm); }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .nav .nav__cta { width: 100%; justify-content: center; }
  .promise__item { border-top-width: 1.5px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .service-row { padding-top: var(--space-6); }
  .runsheet__rows li { grid-template-columns: 56px 1fr; }
  .runsheet__owner { grid-column: 2; justify-self: start; }
  .plug__grid { grid-template-columns: 1fr; }
  .roots__row { gap: var(--space-3); }
  .pipe { grid-template-columns: 1fr; }
  .form-nav { flex-direction: column-reverse; }
  .form-nav .btn { width: 100%; }
  .import__map-row { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .dash__bar-brand { flex: 1; min-width: 0; }
  .dash__bar-logo { width: 108px; }
  .dash__bar-label { display: none; }
  .dash__bar-right { margin-left: auto; gap: var(--space-4); }
  .dash__login-card { padding: var(--space-8) var(--space-6); }
  .pipe__col { min-height: 110px; }
}

/* ═══════════ v11: About actions, Founder's Story, Reviews ═══════════ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.about__figure img { aspect-ratio: 5 / 8; object-fit: cover; object-position: center 20%; }
.about__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-3); }
.about__actions .btn { margin-top: 0; }

.story { background: var(--bg); border-top: 1px solid var(--line-soft); }
.story__inner { max-width: var(--content); margin: 0 auto; }
.story__head { margin-bottom: var(--space-12); }
.story__head .kicker { margin-bottom: var(--space-3); }
.story__head .section__title { max-width: none; }
.story__role { display: block; font-family: var(--font-body); font-size: var(--text-sm); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); margin-top: var(--space-3); }
.story__body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--space-10), 5vw, var(--space-20)); align-items: start; }
.story__col > p { color: var(--muted); margin-bottom: var(--space-5); max-width: 62ch; }
.story__lead { font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.45; color: var(--plum) !important; }
.story__sub { font-size: var(--text-lg); color: var(--plum); margin-bottom: var(--space-5); }
.story__turn { font-family: var(--font-display); font-style: italic; font-size: var(--text-lg); color: var(--plum) !important; }
.story__quote { margin: var(--space-8) 0; padding: var(--space-6) var(--space-8); border-left: 3px solid var(--gold); background: var(--card); border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow-card); }
.story__quote p { font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.45; color: var(--text); }
.story__quote strong { color: var(--plum); font-weight: 600; font-style: italic; }
.story__sign { font-family: var(--font-display); font-style: italic; color: var(--plum) !important; }
.story__figure { margin-top: var(--space-8); }
.story__figure img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-card); }
.story__figure figcaption { font-size: var(--text-xs); color: var(--faint); margin-top: var(--space-3); }

.reviews { background: linear-gradient(160deg, var(--plum) 0%, var(--plum-deep) 100%); color: var(--ink-inverse); }
.reviews .section__head { text-align: left; }
.reviews__grid { max-width: var(--content); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: var(--space-6); }
.reviews__grid:empty { display: none; }
.review-card { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(247, 239, 228, 0.14); border-radius: var(--radius); padding: var(--space-8); display: flex; flex-direction: column; gap: var(--space-4); }
.review-card__stars { color: var(--gold-bright); letter-spacing: 0.15em; font-size: var(--text-base); }
.review-card__body { font-family: var(--font-display); font-size: var(--text-base); line-height: 1.6; color: var(--cream); flex: 1; }
.review-card__who { font-size: var(--text-sm); color: rgba(247, 239, 228, 0.75); border-top: 1px solid rgba(247, 239, 228, 0.12); padding-top: var(--space-4); }
.review-card__who strong { display: block; color: var(--cream); font-weight: 700; }
.reviews__empty { max-width: var(--content); margin: 0 auto; color: rgba(247, 239, 228, 0.8); font-size: var(--text-lg); font-family: var(--font-display); font-style: italic; }
.reviews__empty[hidden] { display: none; }
.reviews__cta { max-width: var(--content); margin: var(--space-8) auto 0; }
.review-form { max-width: 760px; margin: var(--space-10) auto 0; background: rgba(10, 4, 8, 0.45); border: 1px solid rgba(247, 239, 228, 0.14); border-radius: var(--radius); padding: clamp(var(--space-6), 4vw, var(--space-12)); box-shadow: var(--shadow-lift); }
.review-form[hidden] { display: none; }
.review-form__title { font-size: var(--text-xl); color: var(--cream); margin-bottom: var(--space-2); }
.review-form__sub { color: rgba(247, 239, 228, 0.75); margin-bottom: var(--space-8); }
.review-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.review-form .check { margin: var(--space-2) 0 var(--space-6); }
.review-form .check input { width: 16px; height: 16px; margin-top: 3px; flex: none; accent-color: var(--gold); }
.review-form__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.review-form__done p { color: rgba(247, 239, 228, 0.8); }
.stars { border: 0; margin-bottom: var(--space-5); }
.stars legend { font-size: var(--text-sm); font-weight: 700; color: var(--cream); margin-bottom: var(--space-2); }
.stars__row { display: inline-flex; flex-direction: row-reverse; gap: var(--space-1); }
.stars__row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars__row label { font-size: 2rem; line-height: 1; color: rgba(247, 239, 228, 0.25); cursor: pointer; transition: color var(--transition), transform var(--transition); padding: 2px; }
.stars__row label:hover, .stars__row label:hover ~ label, .stars__row input:checked ~ label { color: var(--gold-bright); }
.stars__row label:hover { transform: scale(1.1); }
.stars__row input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

@media (max-width: 900px) {
  .story__body { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .review-form__row { grid-template-columns: 1fr; gap: 0; }
}

/* ═══════════ v11 dashboard: Invoices + Reviews ═══════════ */
.dash__tab-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 6px; border-radius: 999px; background: #e0785f; color: #1c0e17; font-size: 11px; font-weight: 700; vertical-align: 1px; }
.dash__tab-badge[hidden] { display: none; }
.inv__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: var(--space-4); margin-bottom: var(--space-6); }
.inv__stat { background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line-soft); border-radius: 14px; padding: var(--space-5); display: flex; flex-direction: column; gap: 4px; }
.inv__stat-label { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.inv__stat-value { font-family: var(--font-display); font-size: var(--text-xl); color: var(--cream); font-variant-numeric: tabular-nums; }
.inv__stat-sub { font-size: var(--text-xs); color: var(--faint); }
.inv__stat--gold { border-color: rgba(217, 168, 95, 0.45); }
.inv__stat--gold .inv__stat-value { color: var(--gold-bright); }
.inv__stat--due .inv__stat-value { color: #f0a38f; }
.inv__stat--ok .inv__stat-value { color: var(--sage); }
.inv__toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-4); margin-bottom: var(--space-4); }
.inv__filters { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }
.inv__filters select { background: rgba(246, 236, 221, 0.06); border: 1px solid var(--line); color: var(--cream); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: var(--text-sm); }
.inv__filters select option { background: #241220; }
.inv__chip { background: transparent; border: 1px solid var(--line); color: var(--muted); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: var(--text-sm); cursor: pointer; transition: all var(--transition); display: inline-flex; gap: 6px; align-items: center; }
.inv__chip:hover { color: var(--cream); border-color: rgba(217, 168, 95, 0.5); }
.inv__chip.is-active { background: rgba(217, 168, 95, 0.16); border-color: var(--gold-bright); color: var(--cream); }
.inv__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.inv__wrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: 14px; background: rgba(255, 255, 255, 0.02); }
.inv__table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); min-width: 1080px; }
.inv__table th { text-align: left; font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-bright); padding: 14px 16px; border-bottom: 1px solid var(--line); background: rgba(18, 9, 15, 0.5); position: sticky; top: 0; }
.inv__table td { padding: 14px 16px; border-bottom: 1px solid var(--line-soft); color: var(--cream); vertical-align: top; }
.inv__table tbody tr { cursor: pointer; transition: background var(--transition); }
.inv__table tbody tr:hover, .inv__table tbody tr:focus-visible { background: rgba(217, 168, 95, 0.07); outline: none; }
.inv__table tfoot td { font-weight: 700; color: var(--cream); border-top: 1px solid var(--line); border-bottom: 0; background: rgba(18, 9, 15, 0.4); }
.inv__num { text-align: right !important; font-variant-numeric: tabular-nums; white-space: nowrap; }
.inv__date { white-space: nowrap; color: var(--muted) !important; }
.inv__event { display: block; color: var(--cream); font-weight: 700; }
.inv__sub { display: block; font-size: var(--text-xs); color: var(--faint); margin-top: 2px; white-space: normal; }
.inv__rev { color: var(--gold-bright) !important; }
.inv__due { color: #f0a38f; font-weight: 700; }
.inv__ok { color: var(--sage); }
.inv__dash { color: var(--faint); }
.inv__flag { color: #f0a38f; font-size: var(--text-xs); font-weight: 700; }
.inv__pill { display: inline-block; font-size: var(--text-xs); padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.inv__pill--accepted { border-color: rgba(123, 163, 148, 0.6); color: #a9cbbf; }
.inv__pill--declined { border-color: rgba(240, 163, 143, 0.5); color: #f0a38f; }
.inv__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 var(--space-4); }
.inv__form .field label { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.inv__calc { background: none; border: 0; color: var(--gold-bright); font: inherit; font-size: var(--text-xs); font-weight: 700; cursor: pointer; text-decoration: underline; padding: 0; }
.inv__revout { padding: var(--space-3) var(--space-4); border: 1px dashed rgba(217, 168, 95, 0.45); border-radius: var(--radius-sm); color: var(--gold-bright); font-family: var(--font-display); font-size: var(--text-lg); }
.inv__delete { color: #f0a3a3 !important; }
.rev__share { display: grid; grid-template-columns: 1fr auto; gap: var(--space-6); align-items: center; padding: var(--space-6); background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid rgba(217, 168, 95, 0.35); border-radius: 16px; }
.rev__link { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }
.rev__link code { background: rgba(18, 9, 15, 0.6); border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; color: var(--cream); font-size: var(--text-sm); }
.rev__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: var(--space-4); }
.rev__card { background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line-soft); border-radius: 16px; padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); }
.rev__top { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }
.rev__off { color: rgba(247, 239, 228, 0.2); }
.rev__tag { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: rgba(217, 168, 95, 0.18); color: var(--gold-bright); }
.rev__tag--private { background: rgba(240, 163, 143, 0.14); color: #f0a38f; }
.rev__body { font-family: var(--font-display); color: var(--cream); line-height: 1.55; }
.rev__who { font-size: var(--text-sm); color: var(--muted); }
.rev__who strong { color: var(--cream); }
.rev__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; margin-top: auto; padding-top: var(--space-3); border-top: 1px solid var(--line-soft); }
@media (max-width: 760px) { .rev__share { grid-template-columns: 1fr; } .dash__tabs-group { flex-wrap: wrap; } }
button, input, select, textarea { font-family: inherit; }

/* ═══════════ v16: clean photos + Founder's Story redesign ═══════════ */
.events__layout { grid-template-columns: 1.15fr 0.85fr; }
.about__inner { grid-template-columns: minmax(300px, 0.95fr) 1.05fr; }
.about__figure { max-width: 420px; }
.about__glance { max-width: 420px; }
.events__media img, .about__figure img {
  display: block; width: 100%; border-radius: var(--radius);
  box-shadow: 0 0 0 1px rgba(61, 16, 46, 0.08), 0 22px 50px -24px rgba(42, 16, 34, 0.45);
  backface-visibility: hidden;
}
.events__media img { aspect-ratio: 3 / 2; object-position: 60% 40%; }
.about__figure img { aspect-ratio: 4 / 5; object-position: center 0%; }
.events__media figcaption, .about__figure figcaption { margin-top: var(--space-4); }
@media (max-width: 1024px) {
  .events__layout, .about__inner { grid-template-columns: 1fr; }
  .events__media { max-width: 640px; }
  .about__media { max-width: 420px; }
}

/* Story */
.story.section { padding: 0; background: var(--bg); border-top: 0; }
.story__hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 85% 10%, #5a1a44 0%, var(--plum) 45%, var(--plum-deep) 100%);
  color: var(--cream);
  padding: clamp(var(--space-16), 8vw, var(--space-32)) var(--space-6) clamp(var(--space-12), 6vw, var(--space-20));
}
.story__hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
  transform: scaleX(0); transform-origin: center; transition: transform 1.4s var(--ease);
}
.story__hero.is-in::after { transform: scaleX(1); }
.story__mono {
  position: absolute; z-index: -1; right: -2vw; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-weight: 700; font-style: italic;
  font-size: clamp(14rem, 34vw, 30rem); line-height: 0.8; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(212, 162, 89, 0.22);
  animation: monoFloat 14s ease-in-out infinite alternate; pointer-events: none; user-select: none;
}
@keyframes monoFloat { from { transform: translateY(-54%) rotate(-2deg); } to { transform: translateY(-46%) rotate(1deg); } }
.story__hero-inner { max-width: var(--content); margin: 0 auto; }
.story__name { font-size: var(--text-3xl); color: #fff8ee; line-height: 1.02; margin-top: var(--space-4); }
.story__role { font-size: var(--text-sm); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-bright); margin-top: var(--space-3); }
.story__lead {
  position: relative; max-width: 30ch; margin: var(--space-10) 0 0; padding-left: clamp(var(--space-8), 5vw, var(--space-16));
  font-family: var(--font-display); font-size: clamp(1.4rem, 1.05rem + 1.5vw, 2.35rem); line-height: 1.3; color: #fff8ee;
}
.story__qmark { position: absolute; left: 0; top: -0.25em; font-size: 2.6em; line-height: 1; color: var(--gold-bright); }
.story__stats {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: clamp(var(--space-12), 6vw, var(--space-20));
  border-top: 1px solid rgba(247, 239, 228, 0.16);
}
.story__stats li { padding: var(--space-6) var(--space-6) 0 0; display: flex; flex-direction: column; gap: var(--space-2); }
.story__stats li + li { padding-left: var(--space-6); border-left: 1px solid rgba(247, 239, 228, 0.12); }
.story__num { font-family: var(--font-display); font-size: clamp(2.4rem, 1.8rem + 2.4vw, 3.75rem); line-height: 1; color: var(--gold-bright); font-variant-numeric: tabular-nums; }
.story__lbl { font-size: var(--text-sm); color: rgba(247, 239, 228, 0.78); max-width: 22ch; }

.story__inner { max-width: var(--content); margin: 0 auto; padding: 0 var(--space-6); }
.story__chapter { padding-top: clamp(var(--space-16), 7vw, var(--space-24)); }
.story__chap-label {
  display: flex; align-items: baseline; gap: var(--space-4);
  font-family: var(--font-display); font-size: var(--text-xl); color: var(--plum);
  padding-bottom: var(--space-5); margin-bottom: var(--space-10); border-bottom: 1px solid var(--line-soft); position: relative;
}
.story__chap-label::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 120px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) 0.2s;
}
.story__chapter.is-in .story__chap-label::after { transform: scaleX(1); }
.story__chap-no { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 700; letter-spacing: 0.14em; color: var(--gold-deep); }
.story__chap-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(var(--space-10), 5vw, var(--space-20)); align-items: start; }
.story__chap-grid--even { grid-template-columns: 1fr 1fr; margin-top: var(--space-10); }
.story__text p, .story__text-p { color: var(--muted); font-size: var(--text-base); line-height: 1.75; margin-bottom: var(--space-5); max-width: 62ch; }
.story__dropcap::first-letter {
  float: left; font-family: var(--font-display); font-size: 4.6em; line-height: 0.82; font-weight: 600;
  color: var(--plum); padding: 0.06em 0.12em 0 0;
}

.story__timeline { list-style: none; position: relative; padding-left: var(--space-8); display: grid; gap: var(--space-8); }
.story__timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line-soft); }
.story__timeline::after {
  content: ""; position: absolute; left: 7px; top: 6px; width: 2px; height: calc(100% - 12px);
  background: linear-gradient(var(--gold), var(--plum)); transform: scaleY(0); transform-origin: top; transition: transform 1.6s var(--ease) 0.2s;
}
.story__chapter.is-in .story__timeline::after { transform: scaleY(1); }
.story__timeline li { position: relative; display: flex; flex-direction: column; gap: 2px; opacity: 0; transform: translateX(-10px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.story__chapter.is-in .story__timeline li { opacity: 1; transform: none; }
.story__chapter.is-in .story__timeline li:nth-child(2) { transition-delay: 0.35s; }
.story__chapter.is-in .story__timeline li:nth-child(3) { transition-delay: 0.7s; }
.story__chapter.is-in .story__timeline li:nth-child(4) { transition-delay: 1.05s; }
.story__timeline li::before {
  content: ""; position: absolute; left: calc(-1 * var(--space-8) + 1px); top: 4px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--plum); z-index: 1;
}
.story__timeline li.is-gold::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 6px rgba(200, 150, 88, 0.2); }
.story__tl-tag { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); }
.story__timeline strong { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 500; color: var(--plum); line-height: 1.25; }
.story__timeline li > span:last-child { font-size: var(--text-sm); color: var(--muted); }

.story__pieces { display: flex; flex-wrap: wrap; gap: var(--space-3); align-content: start; padding-top: var(--space-2); }
.story__pieces span {
  padding: 10px 16px; border-radius: 999px; border: 1px dashed rgba(61, 16, 46, 0.28); background: var(--card);
  font-size: var(--text-sm); color: var(--plum); box-shadow: var(--shadow-card);
  animation: pieceBob 5s ease-in-out infinite;
}
.story__pieces span:nth-child(2) { animation-delay: -1s; transform: rotate(-2deg); }
.story__pieces span:nth-child(3) { animation-delay: -2s; }
.story__pieces span:nth-child(4) { animation-delay: -3s; }
.story__pieces span:nth-child(5) { animation-delay: -4s; background: var(--plum); color: var(--cream); border-style: solid; border-color: var(--plum); }
@keyframes pieceBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

.story__turn {
  margin: clamp(var(--space-12), 5vw, var(--space-16)) 0 0; text-align: center;
  font-family: var(--font-display); font-style: italic; font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3.25rem); color: var(--plum); line-height: 1.15;
}
.story__turn span {
  background-image: linear-gradient(transparent 62%, rgba(212, 162, 89, 0.38) 62%); background-repeat: no-repeat;
  background-size: 0% 100%; transition: background-size 1.1s var(--ease) 0.2s; padding: 0 0.12em;
}
.story__turn.is-in span { background-size: 100% 100%; }

.story__philosophy {
  margin-top: clamp(var(--space-16), 7vw, var(--space-24));
  background: linear-gradient(135deg, var(--plum-deep), var(--plum) 60%, #5a1a44);
  padding: clamp(var(--space-16), 7vw, var(--space-24)) var(--space-6); text-align: center; position: relative; overflow: hidden;
}
.story__philosophy::before, .story__philosophy::after {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(212, 162, 89, 0.18);
}
.story__philosophy::before { left: -160px; top: -200px; }
.story__philosophy::after { right: -140px; bottom: -220px; width: 360px; height: 360px; }
.story__quote { max-width: 900px; margin: 0 auto; position: relative; z-index: 1; }
.story__quote-kicker { font-size: var(--text-sm); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: var(--space-5); }
.story__quote-main { font-family: var(--font-display); font-size: clamp(1.75rem, 1.1rem + 2.8vw, 3.5rem); line-height: 1.18; color: #fff8ee; }
.story__quote-main em { color: var(--gold-bright); font-style: italic; }

.story__close { padding-top: clamp(var(--space-16), 7vw, var(--space-20)); padding-bottom: clamp(var(--space-16), 7vw, var(--space-24)); text-align: center; }
.story__close > p:first-child { max-width: 64ch; margin: 0 auto; color: var(--muted); font-size: var(--text-lg); line-height: 1.7; }
.story__sign { display: flex; flex-direction: column; align-items: center; gap: var(--space-1); margin: var(--space-10) 0 var(--space-8); }
.story__sig { font-family: var(--font-display); font-style: italic; font-size: var(--text-xl); color: var(--plum); }
.story__sig-role { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); }

@media (max-width: 900px) {
  .story__stats { grid-template-columns: 1fr 1fr; }
  .story__stats li:nth-child(3) { padding-left: 0; border-left: 0; }
  .story__stats li { padding-bottom: var(--space-6); }
  .story__chap-grid, .story__chap-grid--even { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .story__lead { padding-left: var(--space-8); }
  .story__stats li { padding-right: var(--space-3); }
  .story__stats li + li { padding-left: var(--space-3); }
  .story__stats li:nth-child(3) { padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .story__mono, .story__pieces span { animation: none; }
  .story__timeline li, .story__timeline::after, .story__chap-label::after, .story__turn span, .story__hero::after { transition: none; }
}
/* v16 overrides of legacy story rules */
.story__hero .story__lead { color: #fff8ee !important; }
.story__philosophy .story__quote { background: none; border: 0; box-shadow: none; padding: 0; margin: 0 auto; border-radius: 0; }
.story__philosophy .story__quote p.story__quote-kicker { font-family: var(--font-body); font-size: var(--text-sm); line-height: 1.4; color: var(--gold-bright); }
.story__philosophy .story__quote p.story__quote-main { font-size: clamp(1.75rem, 1.1rem + 2.8vw, 3.5rem); line-height: 1.18; color: #fff8ee; }
.story__close .story__sign { font-family: var(--font-body); font-style: normal; }
.story__close .story__sig-role { font-family: var(--font-body); font-style: normal; }
.story__chap-label + .story__chap-grid .story__text p:first-child { margin-top: 0; }
@media (max-width: 520px) { .story__mono { opacity: 0.4; } }
/* View-only preview mode */
.dash--readonly #btnImport, .dash--readonly #btnImport2, .dash--readonly #btnImport3, .dash--readonly #btnTeam,
.dash--readonly #dashChangePass, .dash--readonly .dash__tab[data-tab="team"],
.dash--readonly #mNoteInput, .dash--readonly #mNoteAdd, .dash--readonly #mConvert,
.dash--readonly .task__del, .dash--readonly .task-add, .dash--readonly .note-add,
.dash--readonly .team__add, .dash--readonly .team__remove,
.dash--readonly #invNew, .dash--readonly #invImport, .dash--readonly #ivDelete, .dash--readonly #invForm button[type="submit"],
.dash--readonly .inv__calc, .dash--readonly [data-rev-act] { display: none !important; }
.dash--readonly #mStatus, .dash--readonly [data-field], .dash--readonly input[data-task-toggle] { pointer-events: none; opacity: 0.85; }
.dash--readonly .pipe__card { cursor: pointer; }
.dash__viewbar { display: flex; align-items: center; gap: 10px; padding: 10px var(--space-8); background: rgba(217, 168, 95, 0.12); border-bottom: 1px solid rgba(217, 168, 95, 0.25); color: var(--cream); font-size: var(--text-sm); }
.dash__viewbar strong { color: var(--gold-bright); font-weight: 600; }
.dash__viewbar-dot { width: 8px; height: 8px; border-radius: 50%; background: #5fd38a; box-shadow: 0 0 0 4px rgba(95, 211, 138, 0.18); animation: viewPulse 2s ease-in-out infinite; flex: none; }
.dash__viewbar-dot.is-err { background: #f0a3a3; box-shadow: 0 0 0 4px rgba(240, 163, 163, 0.18); }
@keyframes viewPulse { 50% { opacity: 0.45; } }
@media (max-width: 640px) { .dash__viewbar { padding: 10px var(--space-4); font-size: 12px; } }
.dash__viewbar strong { white-space: nowrap; }
@media (max-width: 640px) { .dash__viewbar { align-items: flex-start; } .dash__viewbar-dot { margin-top: 5px; } }
.dash--readonly .pipe__hint { visibility: hidden; }
