/* ── tokens ────────────────────────────────────────────────────────────── */
:root {
  --paper:  #FAF7F2;
  --paper-2:#F3EDE4;
  --ink:    #1F1B17;
  --muted:  #6E655C;
  --rule:   #E3DACE;
  --accent: #A2482A;
  --accent-dark: #83381F;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --measure: 34rem;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── layout ────────────────────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: 62rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap.narrow { max-width: 62rem; }
.wrap.narrow h2,
.wrap.narrow h3 { max-width: 21ch; }
.wrap.narrow .cols { max-width: 46rem; }

section { padding-block: clamp(3.5rem, 9vw, 6.5rem); }
section + section { border-top: 1px solid var(--rule); }

/* ── type ──────────────────────────────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.25rem, 1.5rem + 3.4vw, 4rem); line-height: 1.08; }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.5vw, 2.35rem); line-height: 1.18; }
h3 { font-size: 1.2rem; line-height: 1.3; }
h4 {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.9rem;
}
p { margin: 0 0 1.15em; max-width: var(--measure); }
em { font-style: italic; }
strong { font-weight: 600; }

.kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.lede {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem);
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 2.25rem;
}
.section-lede { color: var(--muted); margin-bottom: 2.5rem; }
.aside {
  color: var(--muted);
  font-size: 0.95rem;
  border-left: 2px solid var(--rule);
  padding-left: 1.1rem;
  margin-top: 2rem;
}

/* ── hero ──────────────────────────────────────────────────────────────── */
.hero { padding-block: clamp(4.5rem, 12vw, 8.5rem) clamp(3.5rem, 9vw, 6rem); }
.hero h1 { max-width: 18ch; }

/* ── cta ───────────────────────────────────────────────────────────────── */
.cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.95rem 1.85rem;
  border-radius: 2px;
  transition: background 140ms ease, transform 140ms ease;
}
.cta:hover { background: var(--accent-dark); transform: translateY(-1px); }
.cta:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.cta-note {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 0.9rem;
}

/* ── lists ─────────────────────────────────────────────────────────────── */
ul { margin: 0 0 1.5rem; padding: 0; list-style: none; max-width: var(--measure); }
ul li { position: relative; padding-left: 1.4rem; margin-bottom: 0.7rem; }
ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.72em;
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
}
.checklist li::before { border-radius: 0; width: 8px; height: 1px; top: 0.85em; }
.not-for li::before { background: var(--muted); }

/* ── archetypes ────────────────────────────────────────────────────────── */
.archetypes { background: var(--paper-2); }
/* Hairlines live on the cards, not on the container, so a row that doesn't
   divide evenly leaves empty space rather than a stray filled cell. */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr));
  gap: 1px;
}
.card {
  background: var(--paper-2);
  padding: 1.9rem 1.6rem;
  box-shadow: 0 0 0 1px var(--rule);
}
.card h3 { color: var(--ink); margin-bottom: 0.75rem; }
.card blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--accent-dark);
  margin: 0 0 1rem;
  padding: 0;
}
.card p { font-size: 0.94rem; color: var(--muted); margin: 0; }

/* ── session ───────────────────────────────────────────────────────────── */
.format {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
}
.cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 2.25rem;
  margin-bottom: 3rem;
}
.cols ul { margin-bottom: 0; }
.cols li { font-size: 0.96rem; }
.canvas-note {
  border-top: 1px solid var(--rule);
  padding-top: 2rem;
}
.canvas-note h3 { font-size: 1.45rem; margin-bottom: 0.9rem; }
.canvas-note p:last-child { margin-bottom: 0; }

/* ── not for ───────────────────────────────────────────────────────────── */
.not-for h2 { font-size: clamp(1.35rem, 1.15rem + 0.9vw, 1.8rem); }
.not-for li { color: var(--muted); }

/* ── close ─────────────────────────────────────────────────────────────── */
.close { background: var(--ink); color: var(--paper); border-top: none; }
.close h2 { color: var(--paper); }
.close p { color: #C9BFB3; }
.close .cta { background: var(--paper); color: var(--ink); }
.close .cta:hover { background: #fff; }
.close .cta-note { color: #8E837A; }

/* ── footer ────────────────────────────────────────────────────────────── */
footer {
  padding-block: 2.5rem 3.5rem;
  background: var(--ink);
}
footer p {
  color: #8E837A;
  font-size: 0.875rem;
  margin: 0;
}
footer a { color: #C9BFB3; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ── guía: listas de qué sí y qué no ───────────────────────────────────── */
.rules { background: var(--paper-2); }
.scenario-list {
  list-style: none;
  margin: 2.5rem 0 2rem;
  padding: 0;
  max-width: none;
  counter-reset: s;
}
.scenario-list li {
  counter-increment: s;
  position: relative;
  padding: 0 0 1.6rem 2.6rem;
  margin: 0 0 1.6rem;
  border-bottom: 1px solid var(--rule);
  max-width: none;
}
.scenario-list li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.scenario-list li::before {
  content: counter(s);
  position: absolute;
  left: 0; top: 0.05em;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--accent);
}
.scenario-trigger {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.scenario-action { display: block; color: var(--muted); font-size: 0.96rem; }

/* ── v2: estructura derivada de la Value Equation ────────────────────────── */
.hero-vh { padding-block: clamp(4.5rem, 12vw, 8.5rem) clamp(3.5rem, 9vw, 6rem); text-align: center; }
.hero-vh .wrap { display: flex; flex-direction: column; align-items: center; }
.hero-vh h1 { max-width: 20ch; }
.hero-vh .lede { max-width: 34ch; }
.hero-vh .cta-note { max-width: 30ch; }

.steps { background: var(--paper-2); }
.steps h2 { text-align: center; margin-bottom: 2.5rem; }
.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: clamp(1.5rem, 4vw, 2.5rem);
}
.step { text-align: left; }
.step-n {
  display: block;
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.6rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.94rem; color: var(--muted); margin: 0; }

/* ── archetype icons: line art, not photos. see acquisition/CONTEXT.md ──── */
.archetype-icon { width: 2.25rem; height: 2.25rem; color: var(--accent); margin-bottom: 1.1rem; }
.archetype-icon svg { display: block; width: 100%; height: 100%; }
