/* =========================================================
   The Art of Unwinding: Proposal Microsite
   Palette derived from the client's app architecture diagram.
   ========================================================= */

:root {
  /* Surfaces */
  --parchment:      #FBF7F2;
  --parchment-2:    #F7F1EA;
  --parchment-3:    #F3E8DA;
  --ivory-card:     #FFFFFF;
  --rule:           #E4DACB;
  --rule-soft:      #EFE6D9;

  /* Ink */
  --ink:            #26231E;
  --ink-soft:       #403930;
  --ink-muted:      #6B6254;
  --ink-quiet:      #8F8574;

  /* Accents from diagram */
  --burgundy:       #7E3A56;
  --burgundy-deep:  #5F2A41;
  --indigo:         #3B3A5C;
  --gold:           #C79A52;
  --gold-soft:      #E1BF7A;
  --rose:           #D8B5B9;
  --lavender:       #C8BCD8;
  --sage:           #B5C9B8;
  --sand:           #E8D7BE;
  --sky:            #BFCCD6;

  /* Category tints (pale fills) */
  --tint-journey:    #EFE8F2;  /* lavender */
  --tint-guide:      #F4E9D2;  /* ochre */
  --tint-pacing:     #EFE3D2;  /* sand */
  --tint-screen:     #F2E3E1;  /* blush */
  --tint-data:       #E1E7EC;  /* cool */
  --tint-intel:      #DDE8DF;  /* sage */

  --radius-sm:  10px;
  --radius:     16px;
  --radius-lg:  22px;
  --shadow-1:   0 1px 2px rgba(40, 32, 24, 0.04), 0 8px 28px rgba(40, 32, 24, 0.05);
  --shadow-2:   0 2px 4px rgba(40, 32, 24, 0.05), 0 24px 60px rgba(40, 32, 24, 0.08);

  --ff-serif: 'Fraunces', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --ff-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --container: 1160px;
  --container-narrow: 860px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--ff-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--parchment);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image:
    radial-gradient(1100px 600px at 85% -10%, rgba(199, 154, 82, 0.06), transparent 60%),
    radial-gradient(900px 700px at -10% 10%, rgba(126, 58, 86, 0.05), transparent 55%);
  background-attachment: fixed;
}

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

a { color: inherit; text-decoration: none; }
a:hover { color: var(--burgundy); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--ff-serif);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
  font-variation-settings: "opsz" 144;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); line-height: 1.05; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.15; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.3; }
h4 { font-size: 1.05rem; line-height: 1.35; font-weight: 500; }

p { margin: 0 0 1rem; color: var(--ink-soft); }
p.lead { font-size: 1.15rem; color: var(--ink-soft); }

@media (max-width: 760px) {
  body { font-size: 16.5px; }
  p { color: var(--ink-soft); }
  .text-muted { color: var(--ink-soft); }
  section { padding: 64px 0; }
  h2 { font-size: clamp(1.7rem, 6vw, 2.2rem); line-height: 1.2; }
  .section-head { margin-bottom: 40px; }
  p.lead { font-size: 1.05rem; line-height: 1.6; }
  .container, .container-narrow { padding: 0 22px; }
}

.eyebrow {
  font-family: var(--ff-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--burgundy);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--burgundy);
  opacity: 0.6;
}

.serif-italic { font-family: var(--ff-serif); font-style: italic; }

/* ---------- Layout primitives ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 28px;
}

section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }

.section-alt { background: var(--parchment-2); }
.section-dark {
  background: linear-gradient(180deg, #1F1C26 0%, #2A2432 100%);
  color: #EFE6D9;
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #F5ECD9; }
.section-dark p { color: rgba(239, 230, 217, 0.78); }
.section-dark .eyebrow { color: var(--gold-soft); }
.section-dark .eyebrow::before { background: var(--gold-soft); }

.divider {
  height: 1px;
  background: var(--rule);
  margin: 0;
  border: 0;
}

/* ---------- Top nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  background: rgba(251, 247, 242, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav.is-scrolled {
  border-bottom-color: var(--rule);
  background: rgba(251, 247, 242, 0.92);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 28px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-serif);
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.brand-mark {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--burgundy);
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 0.94rem;
  color: var(--ink-soft);
  font-weight: 400;
}
.nav-links a { transition: color 0.2s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--parchment);
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav-cta:hover { background: var(--burgundy); color: #fff; }

@media (max-width: 900px) {
  .nav-links { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(110px, 14vw, 160px) 0 clamp(96px, 11vw, 140px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -1px 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rule) 30%, var(--rule) 70%, transparent);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 72px;
  align-items: end;
}
.hero-title {
  font-size: clamp(2.8rem, 6.4vw, 5.2rem);
  line-height: 1.02;
  font-weight: 300;
  font-variation-settings: "opsz" 144;
  letter-spacing: -0.035em;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--burgundy);
}
.hero-sub {
  font-family: var(--ff-serif);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-style: italic;
  color: var(--ink-muted);
  margin-top: 28px;
  max-width: 38ch;
  line-height: 1.45;
}
.hero-meta {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  display: grid;
  gap: 14px;
  grid-template-columns: auto auto;
  grid-auto-flow: column;
  justify-content: start;
  column-gap: 56px;
}
.hero-meta dt {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-quiet);
  margin-bottom: 4px;
}
.hero-meta dd {
  margin: 0;
  font-family: var(--ff-serif);
  font-size: 1.05rem;
  color: var(--ink);
}
.hero-side {
  padding: 28px 28px 24px;
  background: var(--ivory-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  position: relative;
}
.hero-side::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid var(--rule-soft);
  border-radius: calc(var(--radius-lg) - 8px);
  pointer-events: none;
}
.hero-side h4 {
  font-family: var(--ff-sans);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 14px;
}
.hero-side p {
  font-family: var(--ff-serif);
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}
.hero-side .side-foot {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--rule);
  font-family: var(--ff-sans);
  font-size: 0.82rem;
  color: var(--ink-muted);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

@media (max-width: 900px) {
  .hero { padding: 80px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-title { font-size: clamp(2.4rem, 9vw, 3.2rem); line-height: 1.08; letter-spacing: -0.025em; }
  .hero-title span { font-size: 0.58em !important; display: block; margin-top: 14px; line-height: 1.35; }
  .hero-sub { font-size: 1.05rem; margin-top: 22px; max-width: 32ch; }
  .hero-meta { grid-auto-flow: row; grid-template-columns: 1fr 1fr; column-gap: 24px; row-gap: 18px; margin-top: 36px; padding-top: 24px; }
  .hero-meta dd { font-size: 1rem; }
}

/* ---------- Hero mockup (app preview) ---------- */
.hero-mock {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  justify-self: end;
  width: 100%;
  max-width: 420px;
  position: relative;
}
.hero-mock-frame {
  width: 100%;
  position: relative;
  border-radius: 34px;
  padding: 0;
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(199, 154, 82, 0.14), transparent 60%),
    radial-gradient(80% 70% at 50% 100%, rgba(126, 58, 86, 0.10), transparent 60%);
}
.hero-mock-frame::before {
  content: '';
  position: absolute;
  inset: -40px -30px;
  background:
    radial-gradient(60% 50% at 50% 50%, rgba(42, 32, 24, 0.08), transparent 70%);
  filter: blur(24px);
  z-index: 0;
  pointer-events: none;
}
.hero-mock-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border-radius: 28px;
  box-shadow:
    0 2px 6px rgba(40, 32, 24, 0.06),
    0 30px 80px rgba(40, 32, 24, 0.14);
  border: 1px solid var(--rule-soft);
  background: var(--ivory-card);
}
.hero-mock-cap {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--ink-quiet);
  text-align: center;
  letter-spacing: 0.01em;
  max-width: 34ch;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .hero-mock {
    max-width: 320px;
    justify-self: center;
  }
  .hero-grid {
    /* image below on mobile, but looks nice and balanced */
  }
}

/* ---------- Section header block ---------- */
.section-head {
  max-width: 780px;
  margin-bottom: 56px;
}
.section-head h2 { margin-top: 14px; }
.section-head p.lead { margin-top: 18px; max-width: 62ch; }

/* ---------- Cards ---------- */
.card {
  background: var(--ivory-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-1);
}
.card h3 { margin-bottom: 12px; }

.card-soft {
  background: var(--parchment-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 28px;
}

/* ---------- Executive summary ---------- */
.exec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.exec-card {
  padding: 24px 22px;
  background: var(--ivory-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  position: relative;
}
.exec-card .num {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--burgundy);
  display: block;
  margin-bottom: 10px;
}
.exec-card h4 {
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.3;
}
.exec-card p {
  font-size: 0.92rem;
  color: var(--ink-muted);
  margin: 0;
  line-height: 1.55;
}
@media (max-width: 900px) { .exec-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .exec-grid { grid-template-columns: 1fr; } }

/* ---------- Two columns ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 36px; } }

.prose p { font-size: 1.02rem; color: var(--ink-soft); }
.prose p + p { margin-top: 1rem; }

/* ---------- What It Is / feature list ---------- */
.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.feature-list li {
  padding-left: 36px;
  position: relative;
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--tint-intel);
  border: 1px solid var(--sage);
}
.feature-list li::after {
  content: '';
  position: absolute;
  left: 7px; top: 13px;
  width: 8px; height: 4px;
  border-left: 1.5px solid var(--burgundy);
  border-bottom: 1.5px solid var(--burgundy);
  transform: rotate(-45deg);
}
.feature-list.neg li::before {
  background: #F1E6E6;
  border-color: #D8B5B9;
}
.feature-list.neg li::after {
  left: 7px; top: 11px;
  width: 8px; height: 8px;
  border: 0;
  background:
    linear-gradient(45deg, transparent 45%, var(--burgundy-deep) 45%, var(--burgundy-deep) 55%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, var(--burgundy-deep) 45%, var(--burgundy-deep) 55%, transparent 55%);
  transform: none;
}

/* ---------- MVP in/out panels ---------- */
.mvp-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.mvp-panel {
  background: var(--ivory-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.mvp-panel.in   { background: linear-gradient(180deg, #FFFFFF 0%, #F4EEE2 160%); }
.mvp-panel.out  { background: linear-gradient(180deg, #FFFFFF 0%, #F1E6E6 160%); }
.mvp-panel .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.mvp-panel.in  .tag { background: rgba(126, 58, 86, 0.08); color: var(--burgundy); }
.mvp-panel.out .tag { background: rgba(42, 38, 33, 0.06); color: var(--ink-muted); }
@media (max-width: 760px) { .mvp-panels { grid-template-columns: 1fr; } }

/* ---------- Roadmap ---------- */
.roadmap {
  display: grid;
  gap: 28px;
  position: relative;
}
.phase {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 48px;
  padding: 40px 36px;
  background: var(--ivory-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  position: relative;
}
.phase-marker {
  position: relative;
}
.phase-num {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--burgundy);
}
.phase-num small {
  display: block;
  font-family: var(--ff-sans);
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-quiet);
  margin-top: 10px;
}
.phase-body h3 {
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.phase-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 22px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: var(--parchment-3);
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}
.chip-gold   { background: var(--tint-guide); border-color: #E6D4A7; }
.chip-sage   { background: var(--tint-intel); border-color: #C4D5C7; }
.chip-lav    { background: var(--tint-journey); border-color: #D9CDE3; }

.deliverables-label {
  margin: 22px 0 6px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-quiet);
  font-weight: 500;
}
.phase-deliverables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 28px;
  margin-top: 12px;
  padding-top: 18px;
  border-top: 1px dashed var(--rule);
  list-style: none;
  padding-left: 0;
}
.phase-deliverables li {
  list-style: none;
  font-size: 0.94rem;
  color: var(--ink-soft);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.phase-deliverables li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

@media (max-width: 820px) {
  .phase { grid-template-columns: 1fr; gap: 24px; padding: 32px 26px; }
  .phase-deliverables { grid-template-columns: 1fr; }
}

/* ---------- Budget section ---------- */
.budget-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.budget-card {
  background: var(--ivory-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
}
.budget-card::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
  opacity: 0.8;
}
.budget-card .budget-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-quiet);
  margin-bottom: 14px;
}
.budget-card .amount {
  font-family: var(--ff-serif);
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 6px;
}
.budget-card .amount em {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--ink-quiet);
  letter-spacing: 0;
}
.budget-card h3 {
  font-family: var(--ff-serif);
  font-size: 1.15rem;
  margin: 14px 0 10px;
}
.budget-card p {
  font-size: 0.92rem;
  color: var(--ink-muted);
  margin: 0;
}
.budget-card.highlight {
  background: linear-gradient(180deg, #FFFBF3 0%, #F4E7CF 180%);
  border-color: #E6D4A7;
}
.budget-note {
  margin-top: 32px;
  padding: 22px 26px;
  background: var(--parchment-2);
  border: 1px dashed var(--rule);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--ink-muted);
  font-family: var(--ff-serif);
  font-style: italic;
  line-height: 1.55;
}
@media (max-width: 820px) { .budget-grid { grid-template-columns: 1fr; } }

/* ---------- Ops cost table ---------- */
.ops-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 28px;
  background: var(--ivory-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}
.ops-table th, .ops-table td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 0.96rem;
}
.ops-table th {
  font-family: var(--ff-sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-quiet);
  background: var(--parchment-2);
  font-weight: 500;
}
.ops-table td:first-child { font-family: var(--ff-serif); font-size: 1.05rem; color: var(--ink); }
.ops-table td:nth-child(2) { font-variant-numeric: tabular-nums; color: var(--ink-soft); white-space: nowrap; }
.ops-table tr:last-child td { border-bottom: 0; }

@media (max-width: 680px) {
  .ops-table, .ops-table tbody, .ops-table tr, .ops-table td { display: block; width: 100%; }
  .ops-table thead { display: none; }
  .ops-table tr { padding: 18px 22px; border-bottom: 1px solid var(--rule-soft); }
  .ops-table tr:last-child { border-bottom: 0; }
  .ops-table td { padding: 4px 0; border: 0; }
  .ops-table td:first-child { font-size: 1.1rem; margin-bottom: 4px; }
  .ops-table td:nth-child(2) { color: var(--burgundy); font-family: var(--ff-serif); font-size: 1rem; margin-bottom: 6px; }
  .ops-table td:nth-child(3) { font-size: 0.9rem; color: var(--ink-muted); }
}

/* ---------- Go-live flow ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-top: 40px;
}
.flow-step {
  padding: 22px 18px;
  background: var(--ivory-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  text-align: center;
  position: relative;
}
.flow-step .dot {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--tint-journey);
  border: 1px solid var(--lavender);
  color: var(--burgundy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-serif);
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.flow-step h4 {
  font-size: 0.88rem;
  font-family: var(--ff-sans);
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  line-height: 1.3;
}
@media (max-width: 980px) { .flow { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .flow { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Marketing phases ---------- */
.mkt-phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.mkt-card {
  background: var(--ivory-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
}
.mkt-card .mkt-year {
  font-family: var(--ff-serif);
  font-style: italic;
  color: var(--burgundy);
  font-size: 1rem;
  margin-bottom: 4px;
}
.mkt-card h3 {
  font-family: var(--ff-serif);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 16px;
}
.mkt-card ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 8px;
}
.mkt-card ul li {
  font-size: 0.92rem;
  color: var(--ink-soft);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.mkt-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 1px;
  background: var(--ink-quiet);
}
.mkt-budget {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px dashed var(--rule);
  font-size: 0.85rem;
  color: var(--ink-muted);
}
.mkt-budget strong {
  display: block;
  font-family: var(--ff-serif);
  font-style: normal;
  font-size: 1.15rem;
  color: var(--ink);
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: -0.01em;
}
@media (max-width: 900px) { .mkt-phases { grid-template-columns: 1fr; } }

/* ---------- Assumptions ---------- */
.assumptions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 32px;
}
.assumption {
  display: flex;
  gap: 14px;
  padding: 20px 22px;
  background: var(--parchment-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  align-items: flex-start;
}
.assumption .mark {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--tint-data);
  border: 1px solid var(--sky);
  color: var(--indigo);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-serif);
  font-size: 0.85rem;
  margin-top: 1px;
}
.assumption p { margin: 0; font-size: 0.96rem; color: var(--ink-soft); line-height: 1.5; }
@media (max-width: 760px) { .assumptions { grid-template-columns: 1fr; } }

/* ---------- CTA section ---------- */
.cta {
  background:
    radial-gradient(800px 400px at 80% 0%, rgba(199, 154, 82, 0.25), transparent 60%),
    radial-gradient(600px 500px at 10% 100%, rgba(126, 58, 86, 0.25), transparent 60%),
    linear-gradient(180deg, #1F1C26 0%, #2A2432 100%);
  color: #EFE6D9;
}
.cta-inner {
  max-width: var(--container-narrow);
  margin: 0 auto;
  text-align: center;
  padding: 0 28px;
}
.cta h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: #F5ECD9;
  font-weight: 300;
  letter-spacing: -0.02em;
}
.cta h2 em { font-style: italic; color: var(--gold-soft); }
.cta p.lead { color: rgba(239, 230, 217, 0.78); max-width: 62ch; margin-left: auto; margin-right: auto; }
.cta-steps {
  margin: 44px auto 36px;
  max-width: 620px;
  text-align: left;
  display: grid;
  gap: 12px;
}
.cta-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(245, 236, 217, 0.12);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
}
.cta-step .n {
  font-family: var(--ff-serif);
  font-style: italic;
  color: var(--gold-soft);
  font-size: 1.1rem;
  flex: 0 0 28px;
  line-height: 1.4;
}
.cta-step p { color: rgba(239, 230, 217, 0.9); margin: 0; line-height: 1.5; }

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-family: var(--ff-sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--gold-soft);
  color: #2A1F12;
  box-shadow: 0 8px 24px rgba(199, 154, 82, 0.25);
}
.btn-primary:hover { background: #F1D58F; transform: translateY(-1px); color: #2A1F12; }
.btn-ghost {
  background: transparent;
  border-color: rgba(245, 236, 217, 0.28);
  color: #EFE6D9;
}
.btn-ghost:hover { background: rgba(245, 236, 217, 0.08); color: #F5ECD9; }

/* ---------- Footer ---------- */
.footer {
  padding: 56px 0 72px;
  text-align: center;
  background: var(--parchment);
  border-top: 1px solid var(--rule);
}
.footer p {
  font-size: 0.86rem;
  color: var(--ink-quiet);
  margin: 0;
}
.footer .sig {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 8px;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform, opacity;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Section numbering / little ornaments ---------- */
.section-num {
  font-family: var(--ff-serif);
  font-style: italic;
  color: var(--burgundy);
  font-size: 0.95rem;
  margin-right: 12px;
}

/* ---------- Pillar row (what product is) ---------- */
.pillar-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.pillar {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--ivory-card);
  border: 1px solid var(--rule);
}
.pillar .label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--burgundy);
  font-weight: 500;
  margin-bottom: 12px;
}
.pillar h4 {
  font-family: var(--ff-serif);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 10px;
  line-height: 1.3;
}
.pillar p { font-size: 0.93rem; color: var(--ink-muted); margin: 0; line-height: 1.55; }
.pillar.lav { background: linear-gradient(180deg, #FFFFFF 0%, var(--tint-journey) 160%); }
.pillar.gold { background: linear-gradient(180deg, #FFFFFF 0%, var(--tint-guide) 160%); }
.pillar.sage { background: linear-gradient(180deg, #FFFFFF 0%, var(--tint-intel) 160%); }
@media (max-width: 820px) { .pillar-row { grid-template-columns: 1fr; } }

/* ---------- AI do / don't ---------- */
.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}
.ai-card {
  background: var(--ivory-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 28px;
}
.ai-card h4 {
  font-family: var(--ff-serif);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 18px;
  color: var(--ink);
}
.ai-card.do h4::before {
  content: '';
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--sage);
  margin-right: 10px;
  vertical-align: 2px;
}
.ai-card.dont h4::before {
  content: '';
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--rose);
  margin-right: 10px;
  vertical-align: 2px;
}
@media (max-width: 760px) { .ai-grid { grid-template-columns: 1fr; } }

/* ---------- Utility ---------- */
.mt-sm { margin-top: 12px; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 48px; }
.text-muted { color: var(--ink-muted); }
.pullquote {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.45;
  color: var(--ink);
  padding: 28px 32px;
  border-left: 2px solid var(--burgundy);
  background: var(--parchment-2);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 36px 0 0;
}

/* ---------- Experience loop (How the MVP Works) ---------- */
.loop-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  counter-reset: loop;
}
.loop-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  padding: 26px 28px;
  background: var(--ivory-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  align-items: flex-start;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.loop-step:hover { transform: translateY(-1px); box-shadow: var(--shadow-1); }
.loop-num {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 1.8rem;
  color: var(--burgundy);
  line-height: 1;
  padding-top: 2px;
  position: relative;
}
.loop-num::after {
  content: '';
  position: absolute;
  left: 0; right: 10px; bottom: -10px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-soft), transparent);
  opacity: 0.7;
}
.loop-body h3 {
  font-family: var(--ff-serif);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.35;
  letter-spacing: -0.005em;
}
.loop-body p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
@media (max-width: 820px) {
  .loop-steps { grid-template-columns: 1fr; gap: 14px; }
  .loop-step { grid-template-columns: 42px 1fr; gap: 16px; padding: 22px 22px; }
  .loop-num { font-size: 1.45rem; }
  .loop-body h3 { font-size: 1.05rem; }
}

/* ---------- Success criteria grid ---------- */
.success-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.success-card {
  padding: 28px 26px;
  background: var(--ivory-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.success-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--gold-soft);
  opacity: 0.8;
}
.success-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--burgundy);
  font-weight: 500;
  margin-bottom: 14px;
}
.success-card h3 {
  font-family: var(--ff-serif);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 10px;
  letter-spacing: -0.005em;
}
.success-card p {
  font-size: 0.94rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 900px) { .success-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .success-grid { grid-template-columns: 1fr; } }

/* ---------- Strategic recommendation ---------- */
.rec-card {
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(199, 154, 82, 0.12), transparent 60%),
    var(--ivory-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-2);
  position: relative;
  overflow: hidden;
}
.rec-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--gold), var(--burgundy));
}
.rec-card h2 { margin-bottom: 18px; }
.rec-card .rec-quote {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}
.rec-reasons {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.rec-reasons div {
  padding: 16px 18px;
  background: var(--parchment-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.4;
}
@media (max-width: 900px) { .rec-reasons { grid-template-columns: 1fr 1fr; } .rec-card { padding: 32px 26px; } }
@media (max-width: 520px) { .rec-reasons { grid-template-columns: 1fr; } }

/* ---------- Audience strip ---------- */
.audience-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 36px;
}
.audience-row div {
  padding: 22px 18px;
  text-align: center;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--ivory-card);
  font-family: var(--ff-serif);
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.35;
}
@media (max-width: 900px) { .audience-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .audience-row { grid-template-columns: 1fr; } }

/* ---------- Small decoration SVG ---------- */
.ornament {
  display: block;
  margin: 0 auto 22px;
  color: var(--burgundy);
  opacity: 0.75;
}
