/* About page only. Split out of styles.css on 2026-11-09 so the rest of the
   site keeps its live styles. Loads right after styles.css on about.html. */


/* ================================================================
   === EDITORIAL SYSTEM v2 (2026-11-09) ===
   One type scale, one container, three section spacings. Every step
   in the scale is at least 1.25x the one below it, so hierarchy reads
   at a glance. Pages should use these tokens instead of one-off sizes.
   ================================================================ */
:root {
  /* Type scale (desktop values at 1440px; fluid down to phone) */
  --fs-display:   clamp(3rem, 6.1vw, 5.5rem);      /* h1: 88px */
  --fs-statement: clamp(2.5rem, 5vw, 4.5rem);      /* one statement h2 per page: 72px */
  --fs-h2:        clamp(2.125rem, 3.9vw, 3.5rem);  /* h2: 56px */
  --fs-h3:        clamp(1.5rem, 2.25vw, 2rem);     /* h3: 32px */
  --fs-h4:        clamp(1.25rem, 1.55vw, 1.375rem);/* h4: 22px */
  --fs-lead:      clamp(1.125rem, 1.4vw, 1.3125rem);/* lead: 21px */
  --fs-body:      clamp(1.0625rem, 1.25vw, 1.125rem);/* body: 18px */
  --fs-small:     0.9375rem;                        /* 15px floor for small text */
  --fs-label:     0.8125rem;                        /* 13px eyebrows, tags */

  --body-weight:  350;

  /* Section rhythm */
  --sec-compact:   clamp(3.5rem, 6vw, 5rem);    /* 80px  */
  --sec-standard:  clamp(4.5rem, 9vw, 8rem);    /* 128px */
  --sec-statement: clamp(5.5rem, 12.5vw, 11rem);/* 176px */

  /* Gaps inside a section */
  --gap-head:  clamp(2.5rem, 4.5vw, 4rem);      /* heading block to content */
  --gap-block: clamp(3.5rem, 7vw, 6rem);        /* between blocks in one section */

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  font-size: var(--fs-body);
  font-weight: var(--body-weight);
}

p { max-width: 68ch; }
p.lead { font-size: var(--fs-lead); font-weight: var(--body-weight); }

h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

h1 { font-size: var(--fs-display); line-height: 1.04; letter-spacing: -0.025em; }
h2 { font-size: var(--fs-h2); line-height: 1.08; }
h3 { font-size: var(--fs-h3); line-height: 1.15; }
h4 { font-size: var(--fs-h4); line-height: 1.3; }

.eyebrow {
  font-size: var(--fs-label);
  letter-spacing: 0.16em;
  margin-bottom: var(--space-5);
}

.btn {
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  padding: 0.95rem 1.75rem;
  min-height: 52px;
}

/* Small print never drops below 15px or goes lighter than body */
small, .fine-print { font-size: var(--fs-small); font-weight: 400; }

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


/* ================================================================
   === EDITORIAL COMPONENTS (2026-11-09) ===
   Built for the Home page, shared by every page. Hairlines instead of
   boxes; one container; tokens from EDITORIAL SYSTEM v2 above.
   ================================================================ */
/* ================================================================
   HOME — EDITORIAL PASS (2026-11-09)
   Uses the v2 tokens in styles.css. One container, one left edge,
   hairlines instead of boxes, one statement moment per section.
   ================================================================ */




/* Shared section rhythm + head pattern */
.ed-proof, .ed-problem, .ed-packages, .ed-why { padding-block: var(--sec-standard); }
.ed-check { padding-block: var(--sec-compact); }
.ed-cta { padding-block: var(--sec-statement) var(--sec-standard); }
.ed-split-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--space-8) clamp(2rem, 6vw, 6rem);
  align-items: end;
  margin-bottom: var(--gap-head);
}
.ed-split-head h2 { max-width: 16ch; }
.ed-split-head h2 em, .ed-problem h2 em, .ed-check h2 em, .ed-cta h2 em { color: var(--accent); font-style: italic; }
.section-light .ed-split-head h2 em, .section-light h2 em { color: #6A51A0; }
.ed-split-lead { font-size: var(--fs-lead); color: var(--text-muted); max-width: 40ch; margin-bottom: 0.4em; }

.ed-link {
  display: inline-flex; gap: 0.45em; align-items: baseline;
  font-weight: 500; color: var(--white);
  text-decoration: underline; text-decoration-color: var(--accent);
  text-decoration-thickness: 1px; text-underline-offset: 0.3em;
  padding-block: 0.55rem;
  transition: text-decoration-color 0.2s;
}
.ed-link:hover { text-decoration-color: currentColor; }

/* Proof */
.ed-clients {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
}
.ed-client { padding: var(--space-10) clamp(1.5rem, 4vw, 3.5rem) var(--space-8) 0; }
.ed-client + .ed-client { padding-left: clamp(1.5rem, 4vw, 3.5rem); border-left: 1px solid var(--border); }
.ed-client-tag { font-size: var(--fs-label); letter-spacing: 0.14em; text-transform: uppercase; color: #6A51A0; margin-bottom: var(--space-4); font-weight: 500; }
.ed-client h3 { margin-bottom: var(--space-2); }
.ed-client-where { font-size: var(--fs-small); color: var(--text-muted); margin-bottom: var(--space-4); }
.ed-client p { color: var(--text); }

.ed-quote { margin: var(--gap-block) 0 0; padding-top: var(--gap-block); border-top: 1px solid var(--border); display: grid; grid-template-columns: minmax(0, 1fr); }
.ed-quote > * { grid-column: 1; }
.ed-quote figcaption { grid-column: 1; }
.ed-quote-stars { color: #5B4391; letter-spacing: 0.2em; font-size: 1.05rem; margin-bottom: var(--space-5); }
.ed-quote blockquote { margin: 0; }
.ed-quote blockquote p {
  font-family: var(--font-serif); font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  line-height: 1.18; letter-spacing: -0.015em; color: var(--white); max-width: 30ch; margin-bottom: var(--space-6);
}
.ed-quote figcaption { font-size: var(--fs-small); color: var(--text-muted); letter-spacing: 0.02em; }

.ed-promises {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: var(--gap-block); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.ed-promises li { padding: var(--space-6) var(--space-6) var(--space-6) 0; font-size: var(--fs-small); color: var(--text-muted); }
.ed-promises li + li { padding-left: var(--space-6); border-left: 1px solid var(--border); }
.ed-promises strong { display: block; font-family: var(--font-serif); font-weight: 400; font-size: var(--fs-h4); color: var(--white); margin-bottom: var(--space-1); }
.ed-more { margin-top: var(--space-8); }

/* Problem */
.ed-problem-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.ed-problem-head { position: sticky; top: 120px; }
.ed-problem h2 { font-size: clamp(2.25rem, 4.3vw, 3.875rem); line-height: 1.05; margin-bottom: var(--space-8); max-width: 15ch; }
.ed-problem-close { color: var(--text-muted); max-width: 34ch; }
.ed-problem-close strong { color: var(--white); font-weight: 500; }
.ed-problem-list li, .ed-why-list li {
  display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); column-gap: var(--space-4);
  padding-block: var(--space-10); border-top: 1px solid var(--border-light);
  align-content: start;
}
.ed-problem-list li:last-child { border-bottom: 1px solid var(--border-light); }
.ed-num { font-family: var(--font-serif); font-style: italic; font-size: 1.25rem; color: var(--accent-hover); line-height: 1.6; grid-row: span 2; }
.ed-problem-list h3, .ed-why-list h3 { margin-bottom: var(--space-3); }
.ed-problem-list p, .ed-why-list p { color: var(--text-muted); max-width: 52ch; }

/* Packages: one ruled table, not three floating cards */
.ed-tiers {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--border); border-radius: 4px;
}
.ed-tier { position: relative; padding: clamp(2rem, 3.2vw, 3rem); display: flex; flex-direction: column; }
.ed-tier + .ed-tier { border-left: 1px solid var(--border); }
.ed-tier--featured { background: var(--bg-2); }
.ed-tier-flag { position: absolute; top: 0; left: clamp(2rem, 3.2vw, 3rem); transform: translateY(-50%); background: #5B4391; color: #F4EAD8; padding: 0.35rem 0.75rem; border-radius: 2px; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; line-height: 1; }
.ed-tier-name { font-size: var(--fs-label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); font-weight: 500; margin-bottom: var(--space-6); }
.ed-tier-price { font-family: var(--font-serif); font-size: clamp(2.75rem, 4.4vw, 4rem); line-height: 1; color: var(--white); letter-spacing: -0.02em; margin-bottom: var(--space-6); }
.ed-tier-desc { color: var(--text); margin-bottom: var(--space-8); flex: 1; }
.ed-tier .ed-link { align-self: flex-start; }

.ed-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); margin-top: var(--space-10); }
.ed-notes p { font-size: var(--fs-small); color: var(--text-muted); }
.ed-notes strong { display: block; color: var(--white); font-weight: 500; margin-bottom: var(--space-1); font-size: var(--fs-body); }
.ed-notes a { color: var(--white); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 0.25em; }

.ed-process { margin-top: var(--gap-block); padding-top: var(--gap-block); border-top: 1px solid var(--border); }
.ed-process-head { margin-bottom: var(--gap-head); }
.ed-process-head h3 { font-size: var(--fs-h2); line-height: 1.08; max-width: 18ch; }
.ed-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); counter-reset: none; }
.ed-steps li { position: relative; padding-top: var(--space-8); border-top: 2px solid var(--border); }
.ed-steps li::before { content: ''; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: #6A51A0; }
.ed-step-num { display: block; font-family: var(--font-serif); font-style: italic; color: #6A51A0; font-size: 1.25rem; margin-bottom: var(--space-3); }
.ed-steps h4 { margin-bottom: var(--space-2); }
.ed-steps p { font-size: var(--fs-small); color: var(--text-muted); }
.ed-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-6); margin-top: var(--gap-head); }
.ed-call { font-weight: 500; color: var(--white); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 0.3em; padding-block: 0.6rem; }

/* Why */
.ed-why-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(2.5rem, 6vw, 6rem); }
.ed-why-list li:nth-last-child(-n+2) { border-bottom: 1px solid var(--border-light); }

/* Site check */
.ed-check { background: #E3D5B8; }
.ed-check-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.ed-check h2 { margin: 0; }
.ed-check-lead { color: var(--text); margin-bottom: var(--space-6); }
.ed-check-form { display: flex; gap: var(--space-3); max-width: 620px; }
.ed-check-form .form-input {
  flex: 1; min-width: 0; min-height: 52px; padding: 0 1.1rem;
  background: #F4EAD8; border: 1px solid var(--border-light); border-radius: 4px; color: #2C1E0F;
  font-size: var(--fs-body);
}
.ed-check-form .form-input::placeholder { color: #7A5E42; }
.ed-check-form .form-input:focus { outline: 2px solid #6A51A0; outline-offset: 1px; border-color: #6A51A0; }

/* Final CTA */
.ed-cta-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.ed-founder { margin: 0; max-width: 440px; }
.ed-founder img { width: 100%; height: auto; border-radius: 6px; }
.ed-founder figcaption { margin-top: var(--space-4); font-family: var(--font-serif); font-size: var(--fs-h4); color: var(--white); }
.ed-founder figcaption span { display: block; font-family: var(--font-sans); font-size: var(--fs-small); color: var(--text-muted); margin-top: var(--space-1); }
.ed-cta h2 { font-size: var(--fs-statement); line-height: 1.04; margin-bottom: var(--space-6); max-width: 12ch; }
.ed-cta-sub { color: var(--text-muted); font-size: var(--fs-lead); max-width: 46ch; }
.ed-cta-call { margin-top: var(--space-6); color: var(--text-muted); font-size: var(--fs-small); }
.ed-cta-call a { color: var(--white); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 0.25em; }

/* Tablet / phone: stack, keep the same rhythm */
@media (max-width: 1023px) {
  .ed-problem-head { position: static; }
  .ed-quote { grid-template-columns: 1fr; }
  .ed-quote figcaption { grid-column: 1; grid-row: auto; border-left: 0; padding-left: 0; padding-bottom: 0; }
  .ed-tiers, .ed-steps { grid-template-columns: 1fr 1fr; }
  .ed-tier:nth-child(3) { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--border); }
  .ed-promises { grid-template-columns: 1fr 1fr; }
  .ed-promises li:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--border); }
  .ed-promises li:nth-child(4) { border-top: 1px solid var(--border); }
}
@media (max-width: 680px) {
  .ed-clients, .ed-tiers, .ed-steps, .ed-notes, .ed-why-list { grid-template-columns: 1fr; }
  .ed-client + .ed-client { padding-left: 0; border-left: 0; border-top: 1px solid var(--border); }
  .ed-client { padding-right: 0; }
  .ed-tier + .ed-tier { border-left: 0; border-top: 1px solid var(--border); }
  .ed-why-list li:nth-last-child(2) { border-bottom: 0; }
  .ed-check-form { flex-direction: column; }
  .ed-founder { max-width: 320px; }
}


.nowrap { white-space: nowrap; }
@media (max-width: 1023px) {
  .ed-problem-grid, .ed-check-grid, .ed-cta-grid, .ed-split-head { grid-template-columns: 1fr; }
}

/* Contrast fixes found in the 2026-11-09 axe pass */
.section-warm-dark .ed-tier-flag { color: #F4EAD8; }
.section-light .ed-num { color: #6A51A0; }
