/* ============================================================
   ADULT HUMAN DEVELOPMENT — STYLESHEET
   Style Guide:
   - Display: EB Garamond (serif), Cormorant Garamond (italic)
   - Body: DM Sans (clean sans-serif)
   - Colors: Navy #1a2a4a, Terracotta #c1785a, Sage #7a8c69, Cream #f5f0e8, Parchment #ede7d9
   - Philosophy: Architectural blueprint meets watercolor — structured yet organic
   ============================================================ */

/* ---- TOKENS ---- */
:root {
  --navy: #1a2a4a;
  --navy-dark: #0f1a2e;
  --navy-mid: #243560;
  --terra: #c1785a;
  --terra-lt: #d49a82;
  --sage: #7a8c69;
  --sage-lt: #a8b898;
  --cream: #f5f0e8;
  --parchment: #ede7d9;
  --stone: #c8bfad;
  --ink: #1a2a4a;

  --font-display: 'EB Garamond', Georgia, serif;
  --font-italic: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 7rem;

  --radius: 4px;
  --max-w: 1180px;
  --narrow-w: 740px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--cream);
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

ul {
  list-style: none;
}

/* ---- CONTAINERS ---- */
.container {
  width: 90%;
  max-width: var(--max-w);
  margin-inline: auto;
}

.container--wide {
  max-width: 1260px;
}

.container--narrow {
  max-width: var(--narrow-w);
}

/* ---- TYPOGRAPHY ---- */
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3.5rem, 8vw, 7rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

p {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
}

em {
  font-family: var(--font-italic);
  font-style: italic;
}

strong {
  font-weight: 500;
}

/* ---- SECTION LABEL ---- */
.section__label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: var(--space-sm);
}

.section__title {
  margin-bottom: 1.2rem;
}

.section__lead {
  max-width: 62ch;
  margin-bottom: var(--space-lg);
  font-size: 1.15rem;
  opacity: 0.85;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.8rem 2rem;
  border: 1.5px solid var(--navy);
  transition: var(--transition);
  cursor: pointer;
}

.btn--primary {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}

.btn--primary:hover {
  background: var(--terra);
  border-color: var(--terra);
}

.btn--nav {
  font-size: 0.7rem;
  padding: 0.55rem 1.4rem;
  background: transparent;
  border-color: var(--navy);
}

.btn--nav:hover {
  background: var(--navy);
  color: var(--cream);
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(245, 240, 232, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 42, 74, 0.1);
  transition: var(--transition);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  width: 90%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 1rem 0;
}

.nav__logo {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo strong {
  font-weight: 500;
}

.nav__links {
  display: flex;
  gap: var(--space-md);
  margin-left: auto;
  list-style: none;
}

.nav__links a {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.65;
  transition: opacity var(--transition);
}

.nav__links a:hover {
  opacity: 1;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 0 6rem;
  background: var(--cream);
}

.hero__blueprint {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.blueprint-line {
  position: absolute;
  background: rgba(26, 42, 74, 0.07);
}

.blueprint-line--h1 {
  top: 45%;
  left: 0;
  right: 0;
  height: 1px;
}

.blueprint-line--h2 {
  top: 75%;
  left: 0;
  right: 0;
  height: 1px;
}

.blueprint-line--v1 {
  left: 20%;
  top: 0;
  bottom: 0;
  width: 1px;
}

.blueprint-line--v2 {
  right: 20%;
  top: 0;
  bottom: 0;
  width: 1px;
}

.blueprint-arc {
  position: absolute;
  border: 1px solid rgba(26, 42, 74, 0.06);
  border-radius: 50%;
}

.blueprint-arc--1 {
  width: 360px;
  height: 200px;
  bottom: 10%;
  left: 10%;
}

.blueprint-arc--2 {
  width: 180px;
  height: 80px;
  bottom: 18%;
  right: 15%;
}

.blueprint-label {
  position: absolute;
  font-size: 0.52rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(26, 42, 74, 0.3);
  font-family: var(--font-body);
}

.blueprint-label--1 {
  bottom: 22%;
  left: 5%;
}

.blueprint-label--2 {
  bottom: 22%;
  left: 38%;
}

.blueprint-label--3 {
  bottom: 30%;
  right: 18%;
}

.blueprint-label--4 {
  bottom: 14%;
  left: 5%;
}

.hero__watercolor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.wc {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.18;
}

.wc--1 {
  width: 500px;
  height: 300px;
  background: var(--terra);
  top: 5%;
  right: -5%;
}

.wc--2 {
  width: 400px;
  height: 280px;
  background: var(--sage);
  bottom: 10%;
  left: -5%;
}

.wc--3 {
  width: 300px;
  height: 200px;
  background: var(--terra-lt);
  top: 35%;
  right: 15%;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
}

.hero__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeUp 0.8s 0.1s forwards;
}

.hero__title {
  color: var(--navy);
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeUp 0.9s 0.25s forwards;
}

.hero__title em {
  color: var(--terra);
  font-family: var(--font-italic);
}

.hero__subtitle {
  max-width: 48ch;
  margin: 0 auto var(--space-md);
  font-size: 1.05rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.4s forwards;
  line-height: 1.75;
}

.hero__subtitle strong {
  font-weight: 500;
}

.hero .btn--primary {
  opacity: 0;
  animation: fadeUp 0.8s 0.55s forwards;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeIn 1s 1s forwards;
}

.hero__scroll-hint span {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(26, 42, 74, 0.4);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(26, 42, 74, 0.3), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ---- SECTIONS ---- */
.section {
  padding: var(--space-xl) 0;
}

.section--problem {
  background: var(--parchment);
}

.section--solution {
  background: var(--navy);
  color: var(--cream);
}

.section--solution .section__label {
  color: var(--terra-lt);
}

.section--solution .section__title {
  color: var(--cream);
}

.section--how {
  background: var(--cream);
}

.section--personas {
  background: var(--parchment);
}

.section--tool {
  background: var(--cream);
}

.section--tool .section__label {
  color: var(--terra);
}

.section--cta {
  background: var(--cream);
}

.section--faq {
  background: var(--parchment);
}

/* ---- GAP DIAGRAM ---- */
.gap-diagram {
  margin: var(--space-lg) 0;
}

.gap-diagram__bar {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 0;
  height: 180px;
  align-items: end;
  border-bottom: 1.5px solid rgba(26, 42, 74, 0.15);
  margin-bottom: var(--space-md);
}

.gap-bar {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem 1.2rem;
  position: relative;
  border-radius: 2px 2px 0 0;
  transition: opacity var(--transition);
}

.gap-bar:hover {
  opacity: 0.9;
}

.gap-bar--imperial {
  background: rgba(193, 120, 90, 0.18);
  height: 70%;
}

.gap-bar--socialized {
  background: rgba(122, 140, 105, 0.22);
  height: 100%;
}

.gap-bar--authoring {
  background: rgba(26, 42, 74, 0.1);
  height: 55%;
}

.gap-bar__label {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra);
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.gap-bar__name {
  font-family: var(--font-display);
  font-size: 1rem;
}

.gap-bar__sub {
  font-size: 0.72rem;
  opacity: 0.65;
  margin-top: 0.25rem;
  line-height: 1.4;
}

.gap-diagram__arrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(26, 42, 74, 0.5);
}

.arrow-line {
  flex: 1;
  height: 1px;
  background: currentColor;
  position: relative;
}

.arrow-line::after {
  content: '';
  position: absolute;
  right: 0;
  top: -4px;
  border-left: 8px solid currentColor;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.arrow-label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---- PULL QUOTE ---- */
.pull-quote {
  border-left: 3px solid var(--terra);
  padding: var(--space-md) var(--space-md) var(--space-md) var(--space-lg);
  margin: var(--space-lg) 0 0;
  max-width: 56ch;
}

.pull-quote p {
  font-family: var(--font-italic);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 300;
  line-height: 1.45;
  color: var(--navy);
}

.pull-quote p em {
  color: var(--terra);
}

/* ---- SOLUTION SECTION ---- */
.solution__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.solution__text {
  color: var(--cream);
}

.solution__text p {
  margin-bottom: var(--space-sm);
  opacity: 0.85;
}

.solution__pillars {
  margin-top: var(--space-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.8rem;
  border: 1px solid rgba(245, 240, 232, 0.12);
  border-radius: var(--radius);
  font-size: 0.88rem;
  opacity: 0.9;
  transition: border-color var(--transition);
}

.pillar:hover {
  border-color: rgba(193, 120, 90, 0.5);
}

.pillar__icon {
  color: var(--terra-lt);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* Compass visual */
.solution__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}

.compass {
  position: relative;
  width: 240px;
  height: 240px;
  z-index: 2;
}

.compass__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(245, 240, 232, 0.2);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.compass__ring--outer {
  width: 220px;
  height: 220px;
}

.compass__ring--inner {
  width: 140px;
  height: 140px;
  border-style: dashed;
}

.compass__needle {
  position: absolute;
  top: 50%;
  left: 50%;
  background: rgba(245, 240, 232, 0.5);
  transform-origin: bottom center;
}

.compass__needle--n {
  width: 1px;
  height: 90px;
  transform: translate(-50%, -100%);
  background: linear-gradient(to top, var(--terra), transparent);
}

.compass__needle--s {
  width: 1px;
  height: 90px;
  transform: translate(-50%, 0);
  background: linear-gradient(to bottom, var(--sage), transparent);
}

.compass__needle--e {
  width: 90px;
  height: 1px;
  transform: translate(0, -50%);
  background: linear-gradient(to right, var(--terra-lt), transparent);
}

.compass__needle--w {
  width: 90px;
  height: 1px;
  transform: translate(-100%, -50%);
  background: linear-gradient(to left, var(--sage-lt), transparent);
}

.compass__center {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cream);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.wc--solution-1 {
  width: 300px;
  height: 200px;
  background: var(--terra);
  top: -10%;
  left: -10%;
  opacity: 0.1;
  filter: blur(50px);
}

.wc--solution-2 {
  width: 250px;
  height: 180px;
  background: var(--sage);
  bottom: -10%;
  right: -5%;
  opacity: 0.12;
  filter: blur(50px);
}

.wc--solution-3 {
  width: 200px;
  height: 150px;
  background: var(--terra-lt);
  top: 30%;
  right: 5%;
  opacity: 0.08;
  filter: blur(40px);
}

.wc--solution-4 {
  width: 180px;
  height: 120px;
  background: var(--sage-lt);
  bottom: 10%;
  left: 10%;
  opacity: 0.08;
  filter: blur(40px);
}

/* ---- SUBJECT–OBJECT ---- */
.subject-object {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-md);
  align-items: center;
  margin: var(--space-lg) 0;
}

.so-card {
  padding: var(--space-md);
  border: 1px solid rgba(26, 42, 74, 0.12);
  border-radius: var(--radius);
  background: white;
}

.so-card--subject {
  border-left: 3px solid var(--terra);
}

.so-card--object {
  border-left: 3px solid var(--sage);
}

.so-card__tag {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 0.8rem;
  color: var(--navy);
}

.so-card__tag span {
  opacity: 0.5;
}

.so-card__list {
  list-style: none;
  margin-bottom: var(--space-sm);
}

.so-card__list li {
  font-size: 0.9rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(26, 42, 74, 0.06);
}

.so-card__list li:last-child {
  border: none;
}

.so-card__desc {
  font-size: 0.8rem;
  opacity: 0.6;
  font-style: italic;
  margin-top: 0.5rem;
}

.so-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--terra);
}

.so-arrow__line {
  width: 1px;
  height: 40px;
  background: currentColor;
  opacity: 0.3;
}

.so-arrow__label {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.so-arrow__tip {
  font-size: 1.4rem;
}

/* ---- FUNNEL ---- */
.funnel {
  margin-top: var(--space-lg);
}

.funnel__title {
  margin-bottom: var(--space-md);
}

.funnel__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-md);
  align-items: center;
}

.funnel__col {
  padding: var(--space-md);
  border-radius: var(--radius);
}

.funnel__col--support {
  background: rgba(193, 120, 90, 0.08);
  border: 1px solid rgba(193, 120, 90, 0.2);
}

.funnel__col--challenge {
  background: rgba(122, 140, 105, 0.08);
  border: 1px solid rgba(122, 140, 105, 0.2);
}

.funnel__badge {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

.funnel__col--support .funnel__badge {
  color: var(--terra);
}

.funnel__col--challenge .funnel__badge {
  color: var(--sage);
}

.funnel__col ul {
  list-style: none;
}

.funnel__col li {
  font-size: 0.88rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(26, 42, 74, 0.06);
}

.funnel__col li:last-child {
  border: none;
}

.funnel__bridge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.bridge-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--terra), var(--sage));
  opacity: 0.4;
}

.bridge-person {
  font-size: 1rem;
  opacity: 0.5;
}

/* ---- TRIAGE ---- */
.triage__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.triage__card {
  padding: var(--space-md);
  border-radius: var(--radius);
  border-top: 3px solid;
  background: white;
  transition: transform var(--transition), box-shadow var(--transition);
}

.triage__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26, 42, 74, 0.1);
}

.triage__card--imperial {
  border-color: var(--terra);
}

.triage__card--socialized {
  border-color: var(--sage);
}

.triage__card--authoring {
  border-color: var(--navy-mid);
}

.triage__door {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 0.8rem;
}

.triage__question {
  font-family: var(--font-italic);
  font-size: 1.05rem;
  line-height: 1.45;
  margin-bottom: var(--space-sm);
}

.triage__leads {
  font-size: 0.78rem;
  opacity: 0.65;
  letter-spacing: 0.04em;
}

/* ---- PERSONAS ---- */
.personas__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.persona {
  padding: var(--space-md);
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid rgba(26, 42, 74, 0.1);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: default;
}

.persona:hover,
.persona:focus {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(26, 42, 74, 0.12);
  outline: none;
}

.persona--imperial {
  border-top: 4px solid var(--terra);
}

.persona--socialized {
  border-top: 4px solid var(--sage);
}

.persona--authoring {
  border-top: 4px solid var(--navy-mid);
}

.persona__stage {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 0.5rem;
}

.persona--socialized .persona__stage {
  color: var(--sage);
}

.persona--authoring .persona__stage {
  color: var(--navy-mid);
}

.persona__name {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.persona__vibe {
  font-family: var(--font-italic);
  font-size: 1rem;
  color: var(--terra);
  margin-bottom: 0.5rem;
}

.persona--socialized .persona__vibe {
  color: var(--sage);
}

.persona--authoring .persona__vibe {
  color: var(--navy-mid);
}

.persona__lens {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(26, 42, 74, 0.08);
}

.persona__pain {
  font-size: 0.85rem;
  margin-bottom: var(--space-sm);
  line-height: 1.6;
}

.persona__quote {
  font-family: var(--font-italic);
  font-size: 0.9rem;
  border-left: 2px solid currentColor;
  padding-left: 0.8rem;
  margin-bottom: var(--space-sm);
  opacity: 0.75;
}

.persona__ux {
  font-size: 0.8rem;
  background: rgba(26, 42, 74, 0.04);
  padding: 0.8rem;
  border-radius: 2px;
  line-height: 1.6;
}

/* ---- HORIZON ---- */
.horizon {
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  border: 1px dashed rgba(26, 42, 74, 0.2);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(193, 120, 90, 0.04), rgba(122, 140, 105, 0.04));
}

.horizon__title {
  margin-bottom: 1rem;
}

.horizon__desc {
  font-size: 0.92rem;
  opacity: 0.8;
  max-width: 60ch;
}

/* ---- TOOL DEMO ---- */
.tool-demo {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: var(--space-sm);
  align-items: center;
  margin: var(--space-lg) 0;
}

.tool-step__arrow {
  font-size: 1.5rem;
  color: var(--terra);
  opacity: 0.6;
}

.tool-step {
  padding: var(--space-md);
  border-radius: var(--radius);
  border: 1px solid rgba(26, 42, 74, 0.12);
}

.tool-step--input {
  background: rgba(193, 120, 90, 0.08);
  border-color: rgba(193, 120, 90, 0.2);
}

.tool-step--process {
  background: rgba(122, 140, 105, 0.08);
  border-color: rgba(122, 140, 105, 0.2);
}

.tool-step--output {
  background: rgba(26, 42, 74, 0.04);
  border-color: rgba(26, 42, 74, 0.12);
}

.tool-step__badge {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 0.5rem;
}

.tool-step__title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.tool-step__example {
  font-size: 0.85rem;
  font-style: italic;
  opacity: 0.75;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.tool-step__result {
  font-size: 0.8rem;
  color: var(--sage);
  margin-bottom: 0.5rem;
}

.tool-step__note {
  font-size: 0.7rem;
  opacity: 0.45;
  font-style: italic;
}

.morning-after {
  color: var(--navy);
}

.morning-after__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--navy);
}

.morning-after p {
  font-size: 0.95rem;
  opacity: 0.8;
  max-width: 60ch;
}

/* ---- CTA ---- */
.section--cta {
  position: relative;
  overflow: hidden;
}

.cta__inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta__watercolor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.wc--cta-1 {
  width: 400px;
  height: 300px;
  background: var(--terra);
  top: -30%;
  right: -5%;
  opacity: 0.12;
  filter: blur(70px);
}

.wc--cta-2 {
  width: 350px;
  height: 250px;
  background: var(--sage);
  bottom: -20%;
  left: -5%;
  opacity: 0.1;
  filter: blur(70px);
}

.cta__title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: var(--space-sm);
}

.cta__title em {
  color: var(--terra);
}

.cta__desc {
  max-width: 48ch;
  margin: 0 auto var(--space-lg);
  opacity: 0.75;
  font-size: 1.05rem;
}

.cta__doorways {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: 480px;
  margin: 0 auto var(--space-md);
}

.doorway {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 1rem 1.5rem;
  border: 1px solid rgba(26, 42, 74, 0.15);
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
  text-align: left;
  background: white;
}

.doorway:hover {
  border-color: var(--terra);
  transform: translateX(4px);
}

.doorway--imperial {
  border-left: 3px solid var(--terra);
}

.doorway--socialized {
  border-left: 3px solid var(--sage);
}

.doorway--authoring {
  border-left: 3px solid var(--navy-mid);
}

.doorway__icon {
  font-size: 1rem;
  opacity: 0.5;
}

.cta__sub {
  font-size: 0.82rem;
  opacity: 0.55;
  margin-top: var(--space-sm);
}

/* ---- FAQ ---- */
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-top: var(--space-md);
}

.faq__item {
  border-bottom: 1px solid rgba(26, 42, 74, 0.1);
}

.faq__q {
  font-family: var(--font-display);
  font-size: 1.05rem;
  padding: 1.2rem 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--transition);
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q::after {
  content: '+';
  font-size: 1.2rem;
  opacity: 0.4;
  transition: transform var(--transition);
  flex-shrink: 0;
}

details[open] .faq__q {
  color: var(--terra);
}

details[open] .faq__q::after {
  transform: rotate(45deg);
}

.faq__a {
  padding-bottom: 1.4rem;
  font-size: 0.92rem;
  opacity: 0.75;
  max-width: 60ch;
  line-height: 1.75;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--navy-dark);
  color: rgba(245, 240, 232, 0.7);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer__logo {
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--cream);
  margin-bottom: 0.8rem;
}

.footer__logo strong {
  font-weight: 500;
}

.footer__tagline {
  font-family: var(--font-italic);
  font-size: 0.9rem;
  line-height: 1.65;
  opacity: 0.6;
}

.footer__label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terra-lt);
  margin-bottom: 1rem;
}

.footer__contact p,
.footer__links li {
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

.footer__links a {
  text-decoration: none;
  opacity: 0.65;
  transition: opacity var(--transition);
  font-size: 0.85rem;
}

.footer__links a:hover {
  opacity: 1;
}

.footer__bottom {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(245, 240, 232, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__bottom p {
  font-size: 0.75rem;
  opacity: 0.4;
}

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scrollPulse {

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

  50% {
    transform: scaleY(0.5);
  }
}

/* ---- REVEAL ON SCROLL ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 {
  transition-delay: 0.1s;
}

.reveal--delay-2 {
  transition-delay: 0.2s;
}

.reveal--delay-3 {
  transition-delay: 0.3s;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .solution__grid {
    grid-template-columns: 1fr;
  }

  .solution__visual {
    display: none;
  }

  .subject-object {
    grid-template-columns: 1fr;
  }

  .so-arrow {
    flex-direction: row;
    transform: rotate(90deg) scaleX(0.5);
  }

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

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

  .tool-demo {
    grid-template-columns: 1fr;
  }

  .tool-step__arrow {
    transform: rotate(90deg);
  }

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

  .gap-diagram__bar {
    grid-template-columns: 1fr;
    height: auto;
  }

  .gap-bar {
    height: auto !important;
  }

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

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

@media (max-width: 640px) {
  .nav__links {
    display: none;
  }

  h1 {
    font-size: clamp(3rem, 12vw, 5rem);
  }

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

/* ============================================================
   SANCTUARY SECTION — Added v2
   Components: section wrapper, tabs, stage panels, resource cards
   ============================================================ */

/* ---- SECTION ---- */
.section--sanctuary {
  background: var(--navy-dark);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

/* Subtle watercolor atmosphere */
.section--sanctuary::before,
.section--sanctuary::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.07;
}

.section--sanctuary::before {
  width: 500px;
  height: 400px;
  background: var(--terra);
  top: -100px;
  right: -80px;
}

.section--sanctuary::after {
  width: 400px;
  height: 300px;
  background: var(--sage);
  bottom: -80px;
  left: -60px;
}

.section--sanctuary .section__label {
  color: var(--terra-lt);
}

.section--sanctuary .section__title {
  color: var(--cream);
}

.section--sanctuary .section__lead {
  color: rgba(245, 240, 232, 0.7);
}

/* ---- HEADER ---- */
.sanctuary__header {
  max-width: 64ch;
  margin-bottom: var(--space-lg);
}

/* ---- TABS ---- */
.sanctuary__tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(245, 240, 232, 0.12);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.sanctuary__tab {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: rgba(245, 240, 232, 0.45);
  padding: 0.8rem 1.6rem 0.9rem;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
  margin-bottom: -1px;
  /* sit on the border-bottom */
  position: relative;
}

.sanctuary__tab:hover {
  color: rgba(245, 240, 232, 0.85);
}

.sanctuary__tab--active,
.sanctuary__tab[aria-selected="true"] {
  color: var(--cream);
  border-bottom-color: var(--terra);
}

/* Stage-specific tab active colours */
.sanctuary__tab--active[data-stage="socialized"],
.sanctuary__tab[aria-selected="true"][data-stage="socialized"] {
  border-bottom-color: var(--sage);
}

.sanctuary__tab--active[data-stage="authoring"],
.sanctuary__tab[aria-selected="true"][data-stage="authoring"] {
  border-bottom-color: rgba(100, 120, 160, 0.9);
}

/* ---- STAGE PANELS ---- */
.sanctuary__stage {
  position: relative;
  z-index: 1;
}

.sanctuary__stage[hidden] {
  display: none;
}

.sanctuary__stage--active {
  display: block;
}

/* ---- STAGE INTRO ---- */
.stage__intro {
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(245, 240, 232, 0.08);
  max-width: 70ch;
}

.stage__badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
  margin-bottom: var(--space-sm);
}

.stage__badge--imperial {
  background: rgba(193, 120, 90, 0.2);
  color: var(--terra-lt);
}

.stage__badge--socialized {
  background: rgba(122, 140, 105, 0.2);
  color: var(--sage-lt);
}

.stage__badge--authoring {
  background: rgba(100, 120, 160, 0.2);
  color: rgba(180, 200, 230, 0.9);
}

.stage__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  color: var(--cream);
  margin-bottom: var(--space-sm);
}

.stage__desc {
  font-size: 0.92rem;
  line-height: 1.8;
  color: rgba(245, 240, 232, 0.65);
}

/* ---- RESOURCE GRID ---- */
/*
 * CMS INTEGRATION NOTE:
 * Each .resource-card carries a data-content-id attribute.
 * Replace the static inner HTML with a template render keyed on
 * data-content-id when connecting to a CMS or API.
 * The .sanctuary__grid layout is intentionally stable —
 * do not alter column structure when adding dynamic cards.
 */
.sanctuary__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

/* ---- RESOURCE CARDS ---- */
.resource-card {
  background: rgba(245, 240, 232, 0.04);
  border: 1px solid rgba(245, 240, 232, 0.1);
  border-radius: var(--radius);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  cursor: pointer;
  transition:
    transform var(--transition),
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.resource-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  opacity: 0;
  transition: opacity var(--transition);
}

.resource-card--imperial::before {
  background: var(--terra);
}

.resource-card--socialized::before {
  background: var(--sage);
}

.resource-card--authoring::before {
  background: rgba(100, 120, 160, 0.9);
}

.resource-card:hover,
.resource-card:focus {
  transform: translateY(-4px);
  background: rgba(245, 240, 232, 0.07);
  border-color: rgba(245, 240, 232, 0.2);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  outline: none;
}

.resource-card:hover::before,
.resource-card:focus::before {
  opacity: 1;
}

.resource-card:focus-visible {
  outline: 2px solid var(--terra);
  outline-offset: 2px;
}

/* Card type row */
.resource-card__type {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.4);
}

.resource-card--imperial .resource-card__type {
  color: var(--terra-lt);
}

.resource-card--socialized .resource-card__type {
  color: var(--sage-lt);
}

.resource-card--authoring .resource-card__type {
  color: rgba(180, 200, 230, 0.8);
}

.resource-card__type-icon {
  font-size: 0.55rem;
}

/* Video thumbnail placeholder */
.resource-card__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(245, 240, 232, 0.05);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(245, 240, 232, 0.1);
}

.thumb__play {
  font-size: 1.2rem;
  opacity: 0.25;
}

/* Card title */
.resource-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--cream);
  letter-spacing: 0;
  text-transform: none;
}

/* Card excerpt */
.resource-card__excerpt {
  font-size: 0.82rem;
  line-height: 1.65;
  color: rgba(245, 240, 232, 0.55);
  flex: 1;
}

/* Meta row */
.resource-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(245, 240, 232, 0.06);
}

.resource-card__tag {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  background: rgba(245, 240, 232, 0.06);
  color: rgba(245, 240, 232, 0.5);
}

.resource-card--imperial .resource-card__tag {
  color: var(--terra-lt);
  background: rgba(193, 120, 90, 0.12);
}

.resource-card--socialized .resource-card__tag {
  color: var(--sage-lt);
  background: rgba(122, 140, 105, 0.12);
}

.resource-card--authoring .resource-card__tag {
  color: rgba(180, 200, 230, 0.8);
  background: rgba(100, 120, 160, 0.12);
}

.resource-card__read {
  font-family: var(--font-body);
  font-size: 0.62rem;
  color: rgba(245, 240, 232, 0.3);
}

/* CTA link at card bottom */
.resource-card__cta {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(245, 240, 232, 0.3);
  transition: color var(--transition);
  align-self: flex-end;
}

.resource-card:hover .resource-card__cta,
.resource-card:focus .resource-card__cta {
  color: var(--cream);
}

/* ---- NAV SANCTUARY HIGHLIGHT ---- */
.nav__link--sanctuary {
  color: var(--terra) !important;
  opacity: 1 !important;
}

.nav__link--sanctuary:hover {
  opacity: 0.8 !important;
}

/* ---- MORNING-AFTER LINK & CTA ---- */
.morning-after__link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(245, 240, 232, 0.4);
  transition: text-decoration-color var(--transition);
}

.morning-after__link:hover {
  text-decoration-color: var(--cream);
}

.morning-after__cta {
  display: inline-block;
  margin-top: var(--space-md);
}

/* ---- FAQ LINK ---- */
.faq__link {
  color: var(--terra);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity var(--transition);
}

.faq__link:hover {
  opacity: 0.75;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .sanctuary__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .sanctuary__grid {
    grid-template-columns: 1fr;
  }

  .sanctuary__tabs {
    flex-direction: column;
    border-bottom: none;
    gap: 0.25rem;
  }

  .sanctuary__tab {
    border: 1px solid rgba(245, 240, 232, 0.1);
    border-radius: var(--radius);
    text-align: left;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(245, 240, 232, 0.1);
  }

  .sanctuary__tab--active,
  .sanctuary__tab[aria-selected="true"] {
    border-color: var(--terra);
    background: rgba(193, 120, 90, 0.08);
  }
}

/* ---- CONTENT MODAL ---- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 26, 46, 0.7);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.modal__container {
  position: relative;
  z-index: 1;
  background: var(--cream);
  width: 90%;
  max-width: 720px;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: 6px;
  padding: 3rem 2.5rem;
  box-shadow: 0 24px 80px rgba(15, 26, 46, 0.3);
  transform: translateY(30px);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal[aria-hidden="false"] .modal__container {
  transform: translateY(0);
}

/* Scrollbar styling */
.modal__container::-webkit-scrollbar {
  width: 6px;
}

.modal__container::-webkit-scrollbar-track {
  background: transparent;
}

.modal__container::-webkit-scrollbar-thumb {
  background: var(--stone);
  border-radius: 3px;
}

.modal__close {
  position: sticky;
  top: 0;
  float: right;
  background: var(--parchment);
  border: 1px solid rgba(26, 42, 74, 0.1);
  color: var(--navy);
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2;
  margin-left: auto;
}

.modal__close:hover {
  background: var(--terra);
  color: var(--cream);
  border-color: var(--terra);
}

.modal__badge {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: var(--space-sm);
  padding-top: 0.5rem;
}

.modal__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.modal__body {
  color: var(--navy);
  line-height: 1.8;
}

.modal__body p {
  margin-bottom: 1.2rem;
  font-size: 1rem;
  opacity: 0.88;
}

.modal__body h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  color: var(--navy);
}

.modal__body blockquote {
  border-left: 3px solid var(--terra);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  font-family: var(--font-italic);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--navy);
  opacity: 0.85;
  background: rgba(193, 120, 90, 0.05);
  border-radius: 0 4px 4px 0;
}

.modal__body ul,
.modal__body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}

.modal__body li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  opacity: 0.88;
  list-style: disc;
}

.modal__body strong {
  font-weight: 500;
  opacity: 1;
}

.modal__body em {
  font-family: var(--font-italic);
  font-style: italic;
}

/* Prevent body scroll when modal is open */
body.modal-open {
  overflow: hidden;
}

/* Make blog/guide cards clickable */
.resource-card[data-content-id$="-blog-1"],
.resource-card[data-content-id$="-guide-1"] {
  cursor: pointer;
}

.resource-card[data-content-id$="-blog-1"]:hover .resource-card__cta,
.resource-card[data-content-id$="-guide-1"]:hover .resource-card__cta {
  color: var(--terra);
}

@media (max-width: 600px) {
  .modal__container {
    width: 95%;
    padding: 2rem 1.5rem;
    max-height: 90vh;
  }
}