/* ============================================================
   THE MARKETING COMPANY — SITE STYLESHEET
   Production build. Static, token-driven, no framework.
   Source of truth for tokens: TMC Design System (styles.css).
   ============================================================ */

/* ---------------- Webfonts (self-hosted) ----------------
   Brand spec: General Sans + Nimbus Roman. Nimbus Roman has no
   licensed webfont here; Tinos is metric-compatible. Swap the
   serif @font-face src to licensed Nimbus Roman when available. */
@font-face { font-family: 'General Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/GeneralSans-Regular.woff2") format('woff2'); }
@font-face { font-family: 'General Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/GeneralSans-Medium.woff2") format('woff2'); }
@font-face { font-family: 'General Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/GeneralSans-Semibold.woff2") format('woff2'); }
@font-face { font-family: 'General Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/GeneralSans-Bold.woff2") format('woff2'); }
@font-face { font-family: 'Tinos'; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/Tinos-Regular.woff2") format('woff2'); }
@font-face { font-family: 'Tinos'; font-style: italic; font-weight: 400; font-display: swap; src: url("../assets/fonts/Tinos-Italic.woff2") format('woff2'); }
@font-face { font-family: 'Tinos'; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/Tinos-Bold.woff2") format('woff2'); }
@font-face { font-family: 'Tinos'; font-style: italic; font-weight: 700; font-display: swap; src: url("../assets/fonts/Tinos-BoldItalic.woff2") format('woff2'); }

/* ---------------- Tokens ---------------- */
:root {
  --tmc-ink: #1A1A1A;
  --tmc-forest: #012428;
  --tmc-yellow: #FFEE46;
  --tmc-teal: #005E64;
  --tmc-cream: #FFFBE8;
  --tmc-forest-900: #001A1D;
  --tmc-forest-600: #093A3C;
  --tmc-teal-700: #004A50;
  --tmc-yellow-600: #F2DE12;
  --tmc-cream-200: #F4EFD6;
  --tmc-cream-300: #ECE6C6;

  --surface-paper: var(--tmc-cream);
  --surface-paper-2: var(--tmc-cream-200);
  --text-on-dark: var(--tmc-cream);
  --text-on-dark-muted: rgba(255, 251, 232, 0.7);
  --text-on-paper: var(--tmc-forest);
  --text-on-paper-muted: rgba(1, 36, 40, 0.66);
  --text-on-signal: var(--tmc-forest);
  --line-on-dark: rgba(255, 251, 232, 0.18);
  --line-on-paper: rgba(1, 36, 40, 0.16);

  --font-sans: 'General Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-serif: 'Tinos', 'Times New Roman', Georgia, serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --border-w: 1.5px;
  --shadow-lg: 0 24px 60px rgba(1, 36, 40, 0.16);
  --float-yellow: 0 10px 22px -8px rgba(1, 36, 40, 0.32);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 140ms;
  --dur-base: 240ms;

  --container-max: 1080px;
  --container-wide: 1280px;
  --pad-x: clamp(20px, 5vw, 56px);
  --nav-h: 72px;
}

/* ---------------- Base ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.5;
  color: var(--text-on-paper);
  background: var(--surface-paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--tmc-yellow); color: var(--tmc-forest); }
:focus-visible { outline: 2px solid var(--tmc-yellow); outline-offset: 2px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 300;
  background: var(--tmc-forest); color: var(--tmc-cream);
  padding: 10px 18px; border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 600; text-decoration: none;
  transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus { top: 12px; }

/* ---------------- Type helpers ---------------- */
.serif { font-family: var(--font-serif); font-weight: 700; letter-spacing: -0.01em; }
.eyebrow {
  font-family: var(--font-sans); font-weight: 600; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-on-paper-muted); margin: 0 0 12px;
}
.eyebrow.on-dark { color: var(--tmc-yellow); }
.eyebrow.teal { color: var(--tmc-teal); }
.asterisk { color: var(--tmc-yellow); }

/* ---------------- Buttons & pills ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 28px;
  border-radius: var(--radius-pill); border: var(--border-w) solid transparent;
  font-family: var(--font-sans); font-weight: 600; font-size: 13px;
  letter-spacing: 0.09em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; white-space: nowrap; max-width: 100%;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.btn:active { transform: scale(0.98); }
.btn .arrow { flex: none; }
.btn-primary { background: var(--tmc-yellow); color: var(--text-on-signal); border-color: var(--tmc-yellow); box-shadow: var(--float-yellow); }
.btn-primary:hover { background: var(--tmc-yellow-600); border-color: var(--tmc-yellow-600); }
.btn-outline { background: transparent; color: var(--tmc-forest); border-color: var(--tmc-forest); }
.btn-outline:hover { background: var(--tmc-forest); color: var(--tmc-cream); }
.btn-outline.on-dark { color: var(--tmc-cream); border-color: rgba(255, 251, 232, 0.55); }
.btn-outline.on-dark:hover { background: var(--tmc-cream); color: var(--tmc-forest); border-color: var(--tmc-cream); }
.btn-sm { min-height: 40px; padding: 8px 20px; font-size: 12px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: var(--radius-pill);
  border: var(--border-w) solid var(--tmc-forest);
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--tmc-forest); background: transparent; white-space: nowrap;
}
.pill.on-dark { border-color: rgba(255, 251, 232, 0.35); color: rgba(255, 251, 232, 0.8); }

/* ---------------- Header / nav ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: var(--surface-paper);
  border-bottom: var(--border-w) solid var(--tmc-forest);
}
.nav-bar {
  display: flex; align-items: center; gap: 32px;
  height: var(--nav-h); padding: 0 var(--pad-x);
  max-width: 1440px; margin: 0 auto;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand svg { height: 32px; width: auto; flex: none; }
.brand-name {
  font-weight: 600; text-transform: uppercase; font-size: 15px;
  letter-spacing: 0.06em; line-height: 1; white-space: nowrap; color: var(--tmc-forest);
}
.nav-links { display: flex; gap: 34px; align-items: center; margin: 0 auto; padding: 0; list-style: none; }
.nav-link {
  font-weight: 600; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--tmc-forest); text-decoration: none; opacity: 0.78;
  transition: opacity var(--dur-fast) var(--ease-out);
}
.nav-link:hover, .nav-link:focus-visible { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.nav-link[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.nav-right { display: flex; gap: 20px; align-items: center; flex: none; margin-left: auto; }
.lang-toggle {
  display: inline-flex; border: var(--border-w) solid var(--tmc-forest);
  border-radius: var(--radius-pill); overflow: hidden; flex: none;
}
.lang-toggle button {
  appearance: none; border: none; background: transparent; cursor: pointer;
  font-family: var(--font-sans); font-weight: 600; font-size: 11px; letter-spacing: 0.08em;
  color: var(--tmc-forest); padding: 6px 12px; min-width: 40px;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.lang-toggle button[aria-pressed="true"] { background: var(--tmc-forest); color: var(--tmc-cream); }
.nav-burger {
  display: none; appearance: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; padding: 10px; margin-left: auto;
  flex-direction: column; justify-content: center; gap: 5px;
}
.nav-burger span { display: block; height: 2px; width: 100%; background: var(--tmc-forest); transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base); }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none;
  border-top: 1px solid var(--line-on-paper);
  background: var(--surface-paper);
  padding: 16px var(--pad-x) 28px;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; }
.mobile-menu li a {
  display: block; padding: 14px 0; text-decoration: none;
  font-weight: 600; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--tmc-forest); border-bottom: 1px dashed rgba(1, 36, 40, 0.14);
}
.mobile-menu .btn { width: 100%; }

/* ---------------- Announce bar ---------------- */
.announce {
  background: var(--tmc-teal); color: var(--tmc-cream);
  padding: 9px var(--pad-x); text-align: center;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-style: italic;
}
.announce .asterisk { font-style: normal; }

/* ---------------- Layout primitives ---------------- */
.section { padding: 80px var(--pad-x); }
.section.tight { padding: 64px var(--pad-x); }
.inner { max-width: var(--container-max); margin: 0 auto; }
.inner.wide { max-width: var(--container-wide); }
.rule { width: 100%; height: 1px; background: var(--line-on-paper); border: none; margin: 22px 0; }
.on-dark .rule, .rule.on-dark { background: var(--line-on-dark); }
.section-hl {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(36px, 3.4vw, 54px); line-height: 1.06; letter-spacing: -0.01em;
  max-width: 760px; margin: 0 0 8px;
}
.body-copy { font-size: 17px; line-height: 1.62; color: var(--text-on-paper-muted); margin: 0; max-width: 560px; }
.bg-forest { background: var(--tmc-forest); color: var(--text-on-dark); }
.bg-forest .body-copy { color: var(--text-on-dark-muted); }
.bg-cream2 { background: var(--tmc-cream-200); }

/* ---------------- Cards ---------------- */
.card { border-radius: var(--radius-lg); }
.card.forest { background: var(--tmc-forest); color: var(--tmc-cream); }
.card.signal { background: var(--tmc-yellow); color: var(--text-on-signal); }
.card.paper2 { background: var(--surface-paper-2); }
.card.bordered { border: 1px solid var(--line-on-paper); background: var(--surface-paper); }

/* ---------------- Hero (homepage) ---------------- */
.hero-split { display: grid; grid-template-columns: 1fr 1fr; position: relative; min-height: calc(100vh - var(--nav-h) - 40px); }
.hero-panel { position: relative; display: flex; flex-direction: column; overflow: hidden; }
.hero-panel.left { border-right: 1.5px dashed rgba(1, 36, 40, 0.32); }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-veil { position: absolute; inset: 0; z-index: 1; background: rgba(255, 251, 232, 0.72); }
.hero-letter {
  position: absolute; top: -36px; left: 8px; z-index: 2;
  font-family: var(--font-serif); font-weight: 700; font-size: 280px; line-height: 1;
  color: rgba(1, 36, 40, 0.05); pointer-events: none; user-select: none;
}
.hero-body {
  position: relative; z-index: 3; padding: 72px 64px 80px; flex: 1;
  display: flex; flex-direction: column; gap: 24px; max-width: 620px;
}
.hero-tag {
  align-self: flex-start; background: rgba(255, 251, 232, 0.6); backdrop-filter: blur(4px);
}
.hero-hl {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(40px, 3.6vw, 58px); line-height: 1.05; letter-spacing: -0.01em; margin: 8px 0 0;
}
.hero-sub { font-size: 17px; line-height: 1.55; color: var(--text-on-paper-muted); max-width: 400px; margin: 0; }
.hero-bullets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.hero-bullets li { font-size: 14px; color: var(--text-on-paper-muted); display: flex; align-items: center; gap: 10px; }
.hero-bullets li::before { content: '+'; color: var(--tmc-teal); font-weight: 500; }
.hero-cta-stack { display: flex; flex-direction: column; gap: 16px; margin-top: 6px; align-items: flex-start; }
.see-how {
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
  color: var(--text-on-paper-muted); text-decoration: underline; text-underline-offset: 4px;
  transition: color var(--dur-fast) var(--ease-out);
}
.see-how:hover { color: var(--tmc-forest); }
.hero-m-circle {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--tmc-yellow); border: 2px solid var(--tmc-forest);
  display: flex; align-items: center; justify-content: center; z-index: 10;
  box-shadow: 0 12px 28px -8px rgba(1, 36, 40, 0.38);
}
.hero-m-circle svg { width: 30px; height: auto; }

/* ---------------- Stat / trust strips ---------------- */
.stat-strip { background: var(--tmc-teal); color: var(--tmc-cream); display: flex; align-items: stretch; justify-content: center; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.stat-strip li {
  flex: 1 1 0; min-width: 220px; display: flex; align-items: center; justify-content: center;
  padding: 13px 32px; text-align: center; border-right: 1px solid rgba(255, 251, 232, 0.2);
  font-weight: 600; font-size: 15px; letter-spacing: 0.04em;
}
.stat-strip li:last-child { border-right: none; }
.trusted {
  border-top: 1px solid rgba(1, 36, 40, 0.32); border-bottom: 1px solid rgba(1, 36, 40, 0.32);
  padding: 22px var(--pad-x); display: flex; align-items: center;
}
.trusted-label {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  color: var(--text-on-paper-muted); white-space: nowrap;
  padding-right: 36px; margin-right: 36px; border-right: 1px solid rgba(1, 36, 40, 0.32); flex: none;
}
.trusted-brands { display: flex; flex: 1; gap: 28px 40px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.trusted-brands li {
  font-family: var(--font-serif); font-weight: 700; font-size: 16px;
  letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.5; white-space: nowrap;
}

/* ---------------- Manifesto ---------------- */
.manifesto-hl {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(52px, 5.4vw, 84px); line-height: 1.02; letter-spacing: -0.015em;
  margin: 0; max-width: 820px;
}
.manifesto-cols { display: grid; grid-template-columns: minmax(0, 560px) auto; gap: 64px; align-items: start; justify-content: space-between; }

/* ---------------- Comparison ---------------- */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare-card { overflow: hidden; padding: 0; }
.compare-head {
  display: flex; justify-content: space-between; align-items: center; padding: 18px 28px;
  border-bottom: 1px solid var(--line-on-paper);
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
}
.compare-card ul { list-style: none; margin: 0; padding: 0; }
.compare-row { display: flex; gap: 16px; padding: 18px 28px; border-bottom: 1px dashed rgba(1, 36, 40, 0.14); align-items: flex-start; }
.compare-card li:last-child .compare-row { border-bottom: none; }
.compare-icon { font-size: 13px; margin-top: 3px; flex: none; opacity: 0.7; }
.compare-row strong { display: block; font-size: 16px; font-weight: 600; }
.compare-row strong.struck { text-decoration: line-through; opacity: 0.55; }
.compare-row .note { font-size: 13.5px; color: var(--text-on-paper-muted); }
.risk-note { margin: 28px 0 0; font-size: 15px; color: var(--text-on-paper-muted); }
.risk-note strong { color: var(--text-on-paper); font-weight: 600; }

/* ---------------- Disciplines list ---------------- */
.ai-card { padding: 44px; }
.ai-card p.big { font-family: var(--font-serif); font-size: 26px; line-height: 1.4; max-width: 720px; margin: 0; }
.ai-card .star { color: var(--tmc-yellow); margin-right: 12px; }
.ai-card em { color: var(--tmc-yellow); }
.service-list { list-style: none; margin: 40px 0 0; padding: 0; }
.service-row {
  display: flex; align-items: baseline; gap: 24px; padding: 20px 16px;
  border-bottom: 1px solid var(--line-on-paper); text-decoration: none;
  transition: background 180ms var(--ease-out), padding 180ms var(--ease-out);
}
.service-row:hover, .service-row:focus-visible { background: rgba(255, 238, 70, 0.28); padding-left: 24px; }
.service-row .sn { font-size: 12px; color: var(--text-on-paper-muted); width: 28px; flex: none; }
.service-row .sname { font-family: var(--font-serif); font-size: 26px; flex: none; font-weight: 400; }
.service-row .sdesc { font-size: 14px; color: var(--text-on-paper-muted); flex: 1; opacity: 0; transition: opacity 180ms var(--ease-out); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.service-row:hover .sdesc, .service-row:focus-visible .sdesc { opacity: 1; }
.service-row .sarrow { font-size: 20px; opacity: 0.4; transition: transform 180ms var(--ease-out), opacity 180ms; }
.service-row:hover .sarrow, .service-row:focus-visible .sarrow { transform: translateX(6px); opacity: 1; }

/* ---------------- Timeline ---------------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.tl-step { display: flex; flex-direction: column; }
.tl-track { position: relative; height: 56px; display: flex; align-items: center; }
.tl-track::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--tmc-forest); transform: translateY(-50%); }
.tl-step.is-last .tl-track::before { display: none; }
.tl-node {
  position: relative; z-index: 1; width: 56px; height: 56px; flex: none; border-radius: 50%;
  background: var(--surface-paper); border: 2px solid var(--tmc-forest);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 15px; letter-spacing: 0.04em;
  transition: background 200ms var(--ease-out), color 200ms var(--ease-out);
}
.tl-step.is-last .tl-node { background: var(--tmc-yellow); }
.tl-step:hover .tl-node { background: var(--tmc-forest); color: var(--tmc-cream); }
.tl-step.is-last:hover .tl-node { background: var(--tmc-yellow); color: var(--tmc-forest); }
.tl-content { padding: 28px 32px 0 0; }
.tl-when { display: inline-block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--tmc-teal); margin-bottom: 12px; }
.tl-title { font-family: var(--font-serif); font-weight: 700; font-size: 24px; margin-bottom: 10px; }
.tl-body { font-size: 15px; line-height: 1.55; color: var(--text-on-paper-muted); margin: 0; max-width: 300px; }
.how-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line-on-paper); padding-top: 32px; margin-top: 48px; gap: 20px; flex-wrap: wrap; }
.how-footer em { font-family: var(--font-serif); font-size: 21px; color: var(--text-on-paper-muted); }

/* ---------------- Serve cards ---------------- */
.serve-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 28px; margin-top: 8px; }
.serve-card { display: flex; flex-direction: column; }
.serve-photo { position: relative; width: 100%; height: 340px; border-radius: var(--radius-lg); overflow: hidden; background: var(--tmc-teal); }
.serve-photo img { width: 100%; height: 100%; object-fit: cover; }
.serve-photo .placeholder {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(-45deg, var(--tmc-teal), var(--tmc-teal) 14px, var(--tmc-teal-700) 14px, var(--tmc-teal-700) 28px);
  color: rgba(255, 251, 232, 0.85); font-family: ui-monospace, monospace; font-size: 12px; letter-spacing: 0.06em; text-align: center; padding: 20px;
}
.serve-overlay {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  display: flex; align-items: flex-end;
  background: linear-gradient(to top, rgba(1, 36, 40, 0.82) 0%, rgba(1, 36, 40, 0.25) 38%, rgba(1, 36, 40, 0) 64%);
  padding: 26px 28px;
}
.serve-label { font-family: var(--font-serif); font-weight: 700; font-size: 26px; line-height: 1.08; color: var(--tmc-cream); }
.serve-copy { padding: 22px 4px 0; display: flex; flex-direction: column; gap: 16px; }
.serve-desc { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--text-on-paper-muted); }
.serve-outcome {
  display: flex; gap: 10px; align-items: baseline; font-size: 15px; line-height: 1.5;
  font-weight: 600; color: var(--tmc-forest);
  border-top: 1px dashed rgba(1, 36, 40, 0.18); padding-top: 14px; margin: 0;
}
.serve-outcome .arr { color: var(--tmc-teal); font-weight: 700; flex: none; }

/* ---------------- Testimonials ---------------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.testi-card { display: flex; flex-direction: column; gap: 22px; padding: 32px; border-radius: var(--radius-md); }
.testi-quote { font-family: var(--font-serif); font-size: 19px; line-height: 1.5; margin: 0; flex: 1; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--tmc-teal); display: flex; align-items: center; justify-content: center; flex: none; }
.avatar svg { width: 14px; height: auto; }
.author-meta { display: flex; flex-direction: column; gap: 2px; }
.author-name { font-size: 14px; font-weight: 600; }
.author-role { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-on-paper-muted); }

/* ---------------- Calc teaser + calculator ---------------- */
.calc-teaser-card { padding: 56px; }
.calc-row { display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.calc-hl { font-family: var(--font-serif); font-weight: 700; font-size: clamp(34px, 3.4vw, 52px); line-height: 1.06; letter-spacing: -0.01em; color: var(--tmc-cream); margin: 14px 0 0; }
.calc-amount { background: var(--tmc-yellow); color: var(--text-on-signal); padding: 0 14px; border-radius: var(--radius-sm); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.calc-sub { margin: 18px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--text-on-dark-muted); max-width: 540px; }

.calc-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; max-width: 1180px; margin: 0 auto; }
.calc-steps { list-style: none; margin: 0 0 36px; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.calc-steps li { display: flex; gap: 16px; align-items: center; font-size: 16px; }
.calc-steps .n {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: var(--tmc-yellow); color: var(--text-on-signal);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px;
}
.calc-disclaimer { font-size: 12.5px; line-height: 1.55; color: rgba(255, 251, 232, 0.4); margin: 0; max-width: 380px; }
.calc-panel { background: rgba(255, 251, 232, 0.04); border: 1px solid rgba(255, 251, 232, 0.14); border-radius: var(--radius-lg); padding: 36px; }
.calc-label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: rgba(255, 251, 232, 0.6); display: block; margin-bottom: 10px; }
.calc-select-wrap { position: relative; margin-bottom: 28px; }
.calc-select {
  width: 100%; appearance: none; -webkit-appearance: none;
  background: var(--tmc-teal); color: var(--tmc-cream);
  border: 1.5px solid rgba(255, 251, 232, 0.25); border-radius: var(--radius-pill);
  padding: 15px 48px 15px 22px; font-size: 16px; font-family: var(--font-sans); font-weight: 500;
  cursor: pointer; outline: none;
}
.calc-select-wrap::after { content: '▾'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--tmc-cream); font-size: 14px; }
.calc-result { background: var(--tmc-yellow); color: var(--text-on-signal); border-radius: var(--radius-md); padding: 24px 28px; margin-bottom: 24px; }
.calc-result-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.calc-save-label { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 2px; }
.calc-save-val { font-weight: 700; font-size: clamp(40px, 5vw, 56px); line-height: 1; letter-spacing: -0.02em; }
.calc-save-val small { font-size: 22px; font-weight: 600; }
.calc-pct { font-weight: 700; font-size: 44px; line-height: 1; text-align: right; }
.calc-pct-label { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; text-align: right; }
.calc-bars { display: flex; flex-direction: column; gap: 18px; margin-bottom: 28px; }
.calc-bar-head { display: flex; justify-content: space-between; font-size: 13.5px; margin-bottom: 7px; }
.calc-bar-head .who { color: rgba(255, 251, 232, 0.7); }
.calc-bar { height: 12px; border-radius: 6px; background: rgba(255, 251, 232, 0.16); }
.calc-bar.tmc { background: var(--tmc-yellow); transition: width 320ms var(--ease-out); }
.calc-foot { border-top: 1px solid rgba(255, 251, 232, 0.14); padding-top: 22px; display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.calc-foot .fine { font-size: 13px; color: rgba(255, 251, 232, 0.55); max-width: 280px; }

/* ---------------- Doors / fork ---------------- */
.fork-header { display: flex; justify-content: space-between; align-items: flex-start; }
.fork-hl {
  font-family: var(--font-serif); font-weight: 700; font-size: clamp(48px, 4.8vw, 72px);
  line-height: 1.0; letter-spacing: -0.015em; text-align: center; margin: 32px 0 16px;
}
.fork-sub { text-align: center; margin: 0 0 48px; font-size: 16px; color: var(--text-on-paper-muted); }
.fork-sub a { color: var(--tmc-forest); font-weight: 600; text-underline-offset: 3px; }
.door-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.door { display: flex; flex-direction: column; gap: 6px; padding: 40px; }
.door.signal { box-shadow: var(--shadow-lg); }
.door-letter { font-family: var(--font-serif); font-weight: 700; font-size: 60px; line-height: 1; margin-bottom: 14px; }
.door-title { font-family: var(--font-serif); font-weight: 700; font-size: 24px; }
.door-sub { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.66; font-weight: 600; margin-top: 6px; }
.door .btn { margin-top: 22px; align-self: flex-start; }

/* ---------------- FAQ (details/summary) ---------------- */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line-on-paper); transition: background 180ms var(--ease-out); }
.faq-item[open] { background: rgba(255, 238, 70, 0.2); }
.faq-item summary {
  display: flex; align-items: baseline; gap: 18px; padding: 22px 16px;
  cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .faq-n { font-size: 12px; color: var(--text-on-paper-muted); min-width: 24px; font-weight: 600; }
.faq-item .faq-q { font-family: var(--font-serif); font-size: 20px; flex: 1; font-weight: 400; }
.faq-item[open] .faq-q { font-weight: 700; }
.faq-item .faq-toggle { font-size: 22px; color: var(--text-on-paper-muted); line-height: 1; }
.faq-item .faq-toggle::before { content: '+'; }
.faq-item[open] .faq-toggle::before { content: '−'; }
.faq-item .faq-a { margin: 0; padding: 0 16px 24px 58px; font-size: 15px; line-height: 1.6; color: var(--text-on-paper-muted); max-width: 640px; }

/* ---------------- Page hero (interior pages) ---------------- */
.page-hero { background: var(--tmc-forest); color: var(--tmc-cream); padding: 96px var(--pad-x) 88px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; min-height: 680px; }
.page-hero .inner { position: relative; z-index: 2; width: 100%; }
.page-hero-hl {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(48px, 5.8vw, 92px); line-height: 1.0; letter-spacing: -0.02em;
  margin: 0 0 28px; max-width: 760px;
}
.page-hero-sub { font-size: 19px; line-height: 1.6; color: rgba(255, 251, 232, 0.72); max-width: 520px; margin: 0 0 40px; }
.page-hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.page-hero-mark { position: absolute; right: -72px; top: 30px; opacity: 0.06; pointer-events: none; z-index: 1; line-height: 0; }
.page-hero-mark svg { height: 620px; width: auto; }
.hero-trust-strip { position: relative; z-index: 2; border-top: 1px solid rgba(255, 251, 232, 0.14); display: flex; flex-wrap: wrap; align-items: stretch; margin: 64px calc(-1 * var(--pad-x)) -88px; }
.hero-trust-strip > span { flex: 1 1 0; min-width: 200px; padding: 18px 20px; display: flex; align-items: center; justify-content: center; gap: 9px; text-align: center; font-size: 13.5px; line-height: 1.35; font-weight: 600; letter-spacing: 0.03em; }
.hero-trust-strip > span + span { border-left: 1px solid rgba(255, 251, 232, 0.1); }
.hero-trust-strip .star { color: var(--tmc-yellow); flex: none; margin-right: 0; }

/* ---------------- Services page ---------------- */
.svc-index { background: var(--tmc-teal); border-bottom: 1px solid rgba(0, 0, 0, 0.12); }
.svc-index nav { max-width: var(--container-wide); margin: 0 auto; padding: 16px var(--pad-x); display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.svc-index a { text-decoration: none; display: block; }
.svc-index .pill { width: 100%; justify-content: center; border-color: rgba(255, 251, 232, 0.28); color: var(--tmc-cream); background: rgba(255, 251, 232, 0.08); font-size: 11px; letter-spacing: 0.07em; cursor: pointer; transition: background var(--dur-fast) var(--ease-out); }
.svc-index a:hover .pill { background: rgba(255, 251, 232, 0.18); }
.svc-section { padding: 80px var(--pad-x); border-top: 1px solid var(--line-on-paper); }
.svc-inner { max-width: var(--container-max); margin: 0 auto; display: flex; gap: 72px; align-items: flex-start; }
.svc-inner.flip { flex-direction: row-reverse; }
.svc-content { flex: 1 1 0; min-width: 0; }
.svc-hl { font-family: var(--font-serif); font-weight: 700; font-size: clamp(34px, 3.6vw, 56px); line-height: 1.04; letter-spacing: -0.01em; margin: 0 0 8px; }
.svc-desc { font-size: 17px; line-height: 1.65; color: var(--text-on-paper-muted); margin: 0 0 28px; max-width: 520px; }
.svc-caps { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 36px; padding: 0; list-style: none; }
.svc-deliver { flex: 0 0 360px; max-width: 400px; padding: 36px; }
.svc-deliver-label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--tmc-yellow); margin: 0 0 20px; }
.svc-deliver ul { list-style: none; margin: 0; padding: 0; }
.svc-deliver li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--tmc-cream); border-bottom: 1px dashed rgba(255, 251, 232, 0.14); padding: 12px 0; }
.svc-deliver li:last-child { border-bottom: none; }
.svc-deliver .arr { color: var(--tmc-yellow); font-weight: 700; flex: none; margin-top: 2px; }

/* ---------------- Pricing page ---------------- */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; align-items: stretch; }
.tier {
  position: relative; background: var(--surface-paper); color: var(--text-on-paper);
  border: var(--border-w) solid var(--line-on-paper); border-radius: var(--radius-lg);
  padding: 40px 36px; display: flex; flex-direction: column;
}
.tier.popular { background: var(--tmc-forest); color: var(--tmc-cream); border-color: var(--tmc-forest); box-shadow: var(--shadow-lg); padding-top: 44px; }
.tier-flag {
  position: absolute; top: -13px; left: 36px;
  background: var(--tmc-yellow); color: var(--text-on-signal);
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: var(--radius-pill);
}
.tier h3 { font-family: var(--font-serif); font-weight: 700; font-size: 26px; margin: 0 0 6px; }
.tier-tagline { font-size: 14.5px; line-height: 1.45; color: var(--text-on-paper-muted); margin: 0 0 24px; min-height: 42px; }
.tier.popular .tier-tagline { color: rgba(255, 251, 232, 0.7); }
.tier-price { display: flex; align-items: baseline; gap: 7px; margin-bottom: 4px; min-height: 42px; flex-wrap: nowrap; white-space: nowrap; }
.tier-price .from { font-size: 15px; font-weight: 600; color: var(--text-on-paper-muted); }
.tier.popular .tier-price .from { color: rgba(255, 251, 232, 0.6); }
.tier-price .amount { font-weight: 700; font-size: clamp(34px, 2.4vw, 42px); line-height: 1; letter-spacing: -0.02em; }
.tier-price .per { font-size: 16px; color: var(--text-on-paper-muted); }
.tier.popular .tier-price .per { color: rgba(255, 251, 232, 0.6); }
.tier-note { font-size: 13px; color: var(--text-on-paper-muted); margin: 0 0 26px; }
.tier.popular .tier-note { color: rgba(255, 251, 232, 0.55); }
.tier .btn { width: 100%; margin-bottom: 28px; }
.tier-features { border-top: 1px solid var(--line-on-paper); padding-top: 22px; }
.tier.popular .tier-features { border-top-color: rgba(255, 251, 232, 0.16); }
.tier-features-label { font-size: 11px; letter-spacing: 0.13em; text-transform: uppercase; font-weight: 600; color: var(--tmc-teal); margin: 0 0 16px; }
.tier.popular .tier-features-label { color: var(--tmc-yellow); }
.tier-features ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.tier-features li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; }
.tier-features .tick { color: var(--tmc-teal); font-weight: 700; flex: none; margin-top: 1px; }
.tier.popular .tier-features .tick { color: var(--tmc-yellow); }

/* ---------------- Final CTA block ---------------- */
.final-cta { padding: 100px var(--pad-x); background: var(--tmc-forest); color: var(--tmc-cream); text-align: center; }
.final-cta .inner { max-width: 680px; }
.final-cta-hl { font-family: var(--font-serif); font-weight: 700; font-size: clamp(42px, 4.8vw, 70px); line-height: 1.0; letter-spacing: -0.015em; margin: 0 0 20px; }
.final-cta .dash { width: 48px; height: 2px; background: var(--tmc-yellow); margin: 24px auto 28px; }
.final-cta p { font-size: 17px; line-height: 1.6; color: rgba(255, 251, 232, 0.65); margin: 0 0 44px; }
.final-cta .page-hero-ctas { justify-content: center; }

/* ---------------- Blog ---------------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.post-card { display: flex; flex-direction: column; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line-on-paper); background: var(--surface-paper); text-decoration: none; transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.post-thumb { height: 180px; background: repeating-linear-gradient(-45deg, var(--tmc-cream-200), var(--tmc-cream-200) 14px, var(--tmc-cream-300) 14px, var(--tmc-cream-300) 28px); display: flex; align-items: center; justify-content: center; color: var(--text-on-paper-muted); font-family: ui-monospace, monospace; font-size: 12px; }
.post-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-tag { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--tmc-teal); }
.post-title { font-family: var(--font-serif); font-weight: 700; font-size: 22px; line-height: 1.2; margin: 0; }
.post-excerpt { font-size: 14.5px; line-height: 1.55; color: var(--text-on-paper-muted); margin: 0; flex: 1; }
.post-meta { font-size: 12px; color: var(--text-on-paper-muted); }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--tmc-cream-300); color: var(--tmc-forest); border-top: var(--border-w) solid var(--tmc-forest); padding: 88px var(--pad-x) 64px; }
.footer-mark svg path { fill: var(--tmc-forest); }
.footer-inner { max-width: var(--container-wide); margin: 0 auto; }
.footer-mark { margin-bottom: 48px; }
.footer-mark svg { height: 110px; width: auto; }
.footer-meta {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(1, 36, 40, 0.16); padding: 18px 0; margin-bottom: 56px;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(1, 36, 40, 0.55);
}
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-col-title { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tmc-teal); font-weight: 600; margin: 0 0 6px; }
.footer-col a { font-size: 15px; color: rgba(1, 36, 40, 0.7); text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
.footer-col a:hover { color: var(--tmc-forest); text-decoration: underline; text-underline-offset: 3px; }

/* ---------------- Sticky mobile CTA ---------------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 190;
  display: none; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: var(--tmc-forest); border-top: 1px solid rgba(255, 251, 232, 0.14);
  transform: translateY(110%); transition: transform var(--dur-base) var(--ease-out);
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta .btn { width: 100%; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1140px) {
  .nav-links, .nav-right { display: none; }
  .nav-burger { display: flex; }
}
@media (max-width: 1000px) {
  .hero-split { grid-template-columns: 1fr; min-height: 0; }
  .hero-panel.left { border-right: none; border-bottom: 1.5px dashed rgba(1, 36, 40, 0.32); }
  .hero-m-circle { display: none; }
  .hero-body { padding: 56px 32px; }
  .section { padding: 56px var(--pad-x); }
  .stat-strip li { flex-basis: 100%; border-right: none; border-bottom: 1px solid rgba(255, 251, 232, 0.2); padding: 11px 24px; }
  .stat-strip li:last-child { border-bottom: none; }
  .trusted { flex-direction: column; align-items: flex-start; gap: 16px; }
  .trusted-label { border-right: none; padding-right: 0; margin-right: 0; }
  .manifesto-cols { grid-template-columns: 1fr; gap: 32px; }
  .compare-grid, .door-grid, .serve-grid { grid-template-columns: 1fr; }
  .testi-grid, .post-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .tl-step { flex-direction: row; gap: 24px; }
  .tl-track { height: auto; width: 56px; flex: none; flex-direction: column; }
  .tl-track::before { left: 50%; right: auto; top: 0; bottom: 0; width: 2px; height: auto; transform: translateX(-50%); }
  .tl-step.is-last .tl-track::before { display: block; bottom: 50%; }
  .tl-content { padding: 4px 0 40px; }
  .tl-body { max-width: none; }
  .sdesc { display: none; }
  .service-row .sname { font-size: 21px; }
  .calc-grid { grid-template-columns: 1fr; gap: 40px; }
  .calc-panel { padding: 26px 22px; }
  .svc-inner, .svc-inner.flip { flex-direction: column; gap: 40px; }
  .svc-index nav { grid-template-columns: repeat(2, 1fr); }
  .page-hero { min-height: 0; }
  .svc-deliver { flex: none; max-width: none; width: 100%; }
  .tier-grid { grid-template-columns: 1fr; }
  .tier-tagline { min-height: 0; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .fork-header { flex-direction: column; gap: 8px; }
  .calc-teaser-card { padding: 36px 28px; }
  .sticky-cta { display: block; }
  body.has-sticky-cta { padding-bottom: 76px; }
  .hero-trust-strip { margin-top: 40px; }
  .hero-trust-strip > span { flex-basis: 50%; min-width: 0; justify-content: flex-start; text-align: left; }
}
@media (max-width: 560px) {
  .btn { white-space: normal; text-align: center; }
  .page-hero-ctas { flex-direction: column; align-items: stretch; }
  .page-hero-ctas .btn { width: 100%; }
  .hero-cta-stack { align-self: stretch; }
  .hero-cta-stack .btn { width: 100%; }
  .svc-index nav { grid-template-columns: 1fr 1fr; }
  .svc-index .pill { white-space: normal; text-align: center; padding: 7px 10px; }
  .how-footer { flex-direction: column; align-items: stretch; }
  .how-footer .btn { width: 100%; }
  .calc-foot .btn { width: 100%; }
  .door .btn { align-self: stretch; }
  .hero-hl { font-size: 38px; }
  .page-hero { padding-top: 64px; padding-bottom: 64px; }
  .manifesto-hl { font-size: 44px; }
  .fork-hl { font-size: 40px; }
  .door { padding: 30px 26px; }
  .hero-trust-strip > span { flex-basis: 100%; }
  .testi-card { padding: 26px; }
  .faq-item .faq-a { padding-left: 16px; }
}
