/* ============================================================
   THE FOUNDATION — site.css  (v2 merge)
   Section + page styles for thefoundationhq.com homepage.
   Depends on colors_and_type.css (tokens). Tokens only — no raw
   hex except white/black overlays derived from a brand value.
   Merged to the authoritative v2 reference + Daniel's edits:
   no eyebrows, real courses/pricing/testimonials, image course
   tiles, multi-color stats, contrast-fixed hero floats.
   ============================================================ */

:root {
  --z-base: 0; --z-raised: 10; --z-sticky: 100; --z-toast: 700;
}
* { box-sizing: border-box; }

.tf-wrap { max-width: var(--container-max); margin: 0 auto; padding-inline: 32px; }
.tf-section { padding-block: clamp(96px, 10vw, 120px); }
.tf-section--tight { padding-block: clamp(72px, 8vw, 96px); }

/* Section heading block — NO eyebrows (per brand owner: AI tell, removed) */
.tf-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.tf-head__title {
  font-size: clamp(34px, 4.2vw, 48px); font-weight: var(--fw-bold); line-height: 1.08;
  letter-spacing: -0.02em; color: var(--foundation-aubergine); margin: 0 0 16px; text-wrap: balance;
}
.tf-head__sub { font-size: 18px; line-height: var(--lh-body); color: var(--fg-muted); margin: 0; }
.tf--on-dark .tf-head__title { color: var(--foundation-white); }
.tf--on-dark .tf-head__sub { color: rgba(255, 255, 255, 0.80); }

/* four-dot brand motif (kept ONLY as a standalone mark on CTA/footer, not as an eyebrow) */
.tf-dots { display: inline-flex; gap: 7px; align-items: center; }
.tf-dots i { width: 9px; height: 9px; border-radius: var(--radius-pill); display: block; }
.tf-dots i:nth-child(1) { background: var(--foundation-sky); }
.tf-dots i:nth-child(2) { background: var(--foundation-emerald); }
.tf-dots i:nth-child(3) { background: var(--foundation-gold); }
.tf-dots i:nth-child(4) { background: var(--foundation-berry); }

/* ============================================================ NAV */
.tf-nav {
  position: sticky; top: 0; z-index: var(--z-sticky); height: 74px; display: flex; align-items: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(150%) blur(12px); -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.tf-nav__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.tf-nav__links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.tf-nav__links a {
  color: var(--foundation-charcoal); text-decoration: none; font-weight: var(--fw-medium); font-size: 14.5px;
  padding-block: 0.25rem; transition: color var(--d-hover) var(--ease-out);
}
.tf-nav__links a:hover { color: var(--foundation-aubergine); }
.tf-nav__cta { display: flex; gap: 12px; align-items: center; }
.tf-nav__cta .btn { min-height: 44px; }   /* WCAG 2.5.5 target size */
.tf-nav__toggle { display: none; }

/* ============================================================ HERO */
.tf-hero {
  position: relative; padding: 72px 0 72px;
  background:
    radial-gradient(120% 90% at 88% -10%, var(--foundation-sky-soft) 0%, transparent 55%),
    radial-gradient(90% 80% at -5% 110%, var(--foundation-aubergine-soft) 0%, transparent 50%),
    var(--foundation-white);
}
.tf-hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.tf-hero__headline {
  font-family: var(--font-tagline); font-weight: var(--fw-black);
  font-size: clamp(48px, 6.4vw, 82px); line-height: 1.0; letter-spacing: -0.03em;
  color: var(--foundation-charcoal); margin: 0 0 24px; text-wrap: balance;
}
.tf-hero__headline .accent { color: var(--foundation-orange); }
.tf-hero__lede { font-size: 20px; line-height: var(--lh-body); color: var(--fg-muted); max-width: 520px; margin: 0 0 32px; }
.tf-hero__actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 28px; }
.tf-hero__trust { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--fg-muted); }
.tf-avatars { display: flex; }
.tf-avatars img {
  width: 38px; height: 38px; border-radius: var(--radius-pill); object-fit: cover;
  border: 2px solid var(--foundation-white); margin-left: -10px; background: var(--foundation-steel-100);
}
.tf-avatars img:first-child { margin-left: 0; }
.tf-hero__trust strong { color: var(--foundation-charcoal); font-weight: var(--fw-bold); }

/* Hero premium panel (aubergine) + floating stat cards */
.tf-panelwrap { position: relative; }
.tf-panel {
  position: relative; aspect-ratio: 16 / 12; border-radius: 24px; overflow: hidden;
  background: var(--grad-aubergine); box-shadow: var(--shadow-3); isolation: isolate;
  display: flex; flex-direction: column; padding: 22px 24px;
}
/* Blueprint grid + warm glow — the tools sit on blueprint paper (ties to The Blueprint course) */
.tf-panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(62% 58% at 28% 62%, rgba(245,166,35,0.22) 0%, transparent 70%),
    linear-gradient(rgba(255,255,255,0.10) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(255,255,255,0.10) 1.5px, transparent 1.5px),
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: auto, 112px 112px, 112px 112px, 28px 28px, 28px 28px;
}
/* Hero artifact stack — the real tools, layered like a desk */
.tf-stack { position: relative; z-index: 1; height: 100%; }
.tf-stack__eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: var(--fw-bold); color: var(--foundation-gold);
}
.tf-stack__card {
  position: absolute; background: var(--foundation-white); border-radius: var(--radius-lg);
  box-shadow: 0 18px 44px rgba(29, 28, 29, 0.35); padding: 18px 20px 17px; width: min(62%, 300px);
}
.tf-stack__card--sheet  { right: 4%;  top: 12%;  transform: rotate(2.5deg); }
.tf-stack__card--review { right: 10%; bottom: 6%; transform: rotate(-1.5deg); }
.tf-stack__card--script { left: 0;    top: 24%;  transform: rotate(-2.5deg); width: min(66%, 320px); }
.tf-stack__tag {
  display: inline-block; font-size: 10px; font-weight: var(--fw-black); letter-spacing: 0.14em;
  text-transform: uppercase; padding: 4px 10px; border-radius: var(--radius-pill); margin-bottom: 10px;
  color: var(--foundation-charcoal);
}
.tf-stack__tag.t--orange  { background: var(--foundation-orange); }
.tf-stack__tag.t--sky     { background: var(--foundation-sky); }
.tf-stack__tag.t--emerald { background: var(--foundation-emerald); color: var(--foundation-white); }
.tf-stack__mono { font-family: var(--font-mono); font-size: 12.5px; line-height: 1.75; color: var(--foundation-charcoal); margin: 0; }
.tf-stack__mono.dim { color: var(--fg-muted); margin-top: 4px; }
.tf-stack__marks { list-style: none; margin: 6px 0 0; padding: 0; font-family: var(--font-mono); font-size: 12px; line-height: 2; color: var(--foundation-charcoal); }
.tf-stack__marks i { font-style: normal; font-weight: var(--fw-black); margin-right: 8px; }
.tf-stack__marks .ok i   { color: var(--foundation-emerald); }
.tf-stack__marks .miss i { color: var(--foundation-berry); }
.caret { display: inline-block; width: 8px; height: 15px; background: var(--foundation-orange); vertical-align: -2px; margin-left: 2px; }

/* Motion: cards settle in, script lines type on, caret blinks — only when reveal-ready (JS + no reduced-motion) */
.reveal-ready .tf-stack__card { opacity: 0; animation: tf-settle 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.reveal-ready .tf-stack__card--sheet  { animation-delay: 0.4s; }
.reveal-ready .tf-stack__card--review { animation-delay: 0.9s; }
.reveal-ready .tf-stack__card--script { animation-delay: 1.4s; }
.reveal-ready .tf-stack__card--script .ln { opacity: 0; animation: tf-line 0.7s ease-out forwards; }
.reveal-ready .tf-stack__card--script .ln:nth-child(1) { animation-delay: 2.4s; }
.reveal-ready .tf-stack__card--script .ln:nth-child(3) { animation-delay: 3.2s; }
.reveal-ready .tf-stack__card--script .ln:nth-child(5) { animation-delay: 4.0s; }
.reveal-ready .tf-stack__card--script .ln:nth-child(7) { animation-delay: 4.8s; }
.reveal-ready .tf-stack__card--script .ln:nth-child(9) { animation-delay: 5.6s; }
.reveal-ready .caret { animation: tf-blink 1.3s step-end infinite 6.2s; }
@keyframes tf-settle { from { opacity: 0; transform: translateY(26px) rotate(0deg); } to { opacity: 1; } }
@keyframes tf-line   { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes tf-blink  { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .tf-stack__card, .tf-stack__card--script .ln, .caret { animation: none !important; opacity: 1 !important; }
}

/* hero line chart */
.tf-chart { position: relative; z-index: 1; display: flex; flex-direction: column; height: 100%; gap: 8px; }
.tf-chart__eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: var(--fw-bold); color: var(--foundation-gold); }
.tf-chart__svg { flex: 1; width: 100%; min-height: 0; overflow: visible; }
.tf-chart__legend { display: flex; gap: 20px; font-size: 12.5px; color: rgba(255,255,255,0.82); }
.tf-chart__legend i { display: inline-block; width: 10px; height: 10px; border-radius: var(--radius-pill); margin-right: 7px; vertical-align: middle; }
.tf-panel__quote {
  position: absolute; left: 32px; right: 32px; bottom: 32px; color: var(--foundation-white);
  font-family: var(--font-tagline); font-weight: var(--fw-black); font-size: 26px; line-height: 1.22;
}
.tf-panel__quote small {
  display: block; font-family: var(--font-sans); font-weight: var(--fw-semibold);
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--foundation-gold); margin-bottom: 12px;
}
/* floating stat cards — given a hairline + strong shadow so the off-edge bleed
   reads as deliberate layering (Daniel: it looked like a mistake before) */
.tf-float {
  position: absolute; background: var(--foundation-white); border: 1px solid var(--border);
  border-radius: 14px; padding: 14px 16px; box-shadow: 0 18px 40px rgba(43,47,54,0.22), 0 2px 6px rgba(43,47,54,0.12);
  display: flex; align-items: center; gap: 12px; z-index: 2;
}
.tf-float__chip { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.tf-float__num { font-family: var(--font-tagline); font-weight: var(--fw-black); font-size: 22px; line-height: 1; color: var(--foundation-charcoal); }
.tf-float__txt { display: flex; flex-direction: column; gap: 4px; }
.tf-float__lbl { font-size: 11.5px; color: var(--fg-muted); line-height: 1.25; white-space: nowrap; }
.tf-float--a { top: 28px; left: -26px; }
.tf-float--b { top: 52%; right: -26px; }

/* ============================================================ LOGO STRIP */
.tf-strip { background: var(--foundation-warm-cream); border-block: 1px solid var(--border); }
.tf-strip__inner { display: flex; gap: 40px; align-items: center; justify-content: space-between; padding-block: 30px; flex-wrap: wrap; }
.tf-strip__label { font-size: 12px; font-weight: var(--fw-bold); letter-spacing: 0.16em; text-transform: uppercase; color: var(--foundation-steel-blue); }
.tf-strip__list { display: flex; gap: 36px; flex-wrap: wrap; }
.tf-strip__list span { font-family: var(--font-tagline); font-weight: var(--fw-black); font-size: 18px; color: var(--foundation-charcoal); opacity: 0.62; }

/* ============================================================ THE SYSTEM (ledger) */
.tf-moves { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2.5px solid var(--foundation-charcoal); list-style: none; padding: 0; margin: 0; }
.tf-move {
  position: relative; overflow: hidden; padding: 32px 34px 18px; display: flex; flex-direction: column; gap: 10px;
  transition: background var(--d-hover) var(--ease-out);
}
.tf-move + .tf-move { border-left: 1px solid var(--border); }
.tf-move:first-child { padding-left: 0; }      /* flush with container edge */
.tf-move:last-child { padding-right: 0; }
/* Each move owns a Slack accent (matches the four-dot motif order). The index
   number, the ghost numeral, and the hover tint all derive from it. */
.tf-move:nth-child(1) { --move-accent: var(--foundation-sky);     --move-ink: var(--foundation-sky-ink);     --move-soft: var(--foundation-sky-soft); }
.tf-move:nth-child(2) { --move-accent: var(--foundation-emerald); --move-ink: var(--foundation-emerald-ink); --move-soft: var(--foundation-emerald-soft); }
.tf-move:nth-child(3) { --move-accent: var(--foundation-gold);    --move-ink: var(--foundation-gold-ink);    --move-soft: var(--foundation-gold-soft); }
.tf-move:nth-child(4) { --move-accent: var(--foundation-berry);   --move-ink: var(--foundation-berry-ink);   --move-soft: var(--foundation-berry-soft); }
.tf-move:hover { background: var(--move-soft); }
.tf-move__ghost {
  position: absolute; top: 2px; right: 8px; font-family: var(--font-tagline); font-weight: var(--fw-black);
  font-size: 92px; line-height: 1; letter-spacing: -0.05em; color: var(--move-accent); opacity: 0.10;
  pointer-events: none; transition: color var(--d-hover) var(--ease-out), opacity var(--d-hover) var(--ease-out);
}
.tf-move:hover .tf-move__ghost { color: var(--move-accent); opacity: 0.24; }
.tf-move__idx { font-family: var(--font-mono); font-size: 13px; font-weight: var(--fw-bold); letter-spacing: 0.2em; color: var(--move-ink); position: relative; }
.tf-move h3 { font-size: 22px; font-weight: var(--fw-bold); color: var(--foundation-charcoal); margin: 6px 0 0; line-height: 1.16; letter-spacing: -0.015em; }
.tf-move p { font-size: 15px; line-height: 1.56; color: var(--fg-muted); margin: 0; max-width: 32ch; position: relative; }

/* ============================================================ PAIN ROUTER (kept value-add, de-eyebrowed) */
.tf-router { background: var(--foundation-steel-100); }
.tf-router__chips { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 8px; }
.tf-chip-pain {
  display: inline-flex; align-items: center; gap: 10px; background: var(--foundation-white); color: var(--foundation-charcoal);
  border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 13px 22px; font-size: 16px; font-weight: var(--fw-medium);
  text-decoration: none; box-shadow: var(--shadow-1);
  transition: transform var(--d-hover) var(--ease-out), border-color var(--d-hover) var(--ease-out), box-shadow var(--d-hover) var(--ease-out);
}
.tf-chip-pain::after { content: "→"; color: var(--foundation-aubergine); transition: transform var(--d-hover) var(--ease-out), color var(--d-hover) var(--ease-out); }
/* each chip rolls over to its own Slack accent */
/* each chip fills with its full Slack color on hover (text picked for AA contrast) */
.tf-chip-pain:nth-child(1) { --chip-accent: var(--foundation-sky);       --chip-text: var(--foundation-charcoal); }
.tf-chip-pain:nth-child(2) { --chip-accent: var(--foundation-emerald);   --chip-text: var(--foundation-charcoal); }
.tf-chip-pain:nth-child(3) { --chip-accent: var(--foundation-gold);      --chip-text: var(--foundation-charcoal); }
.tf-chip-pain:nth-child(4) { --chip-accent: var(--foundation-berry-ink); --chip-text: var(--foundation-white); }
.tf-chip-pain:nth-child(5) { --chip-accent: var(--foundation-aubergine); --chip-text: var(--foundation-white); }
.tf-chip-pain { transition: transform var(--d-hover) var(--ease-out), border-color var(--d-hover) var(--ease-out), color var(--d-hover) var(--ease-out), box-shadow var(--d-hover) var(--ease-out), background var(--d-hover) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .tf-chip-pain:hover { transform: translateY(-2px); border-color: var(--chip-accent); background: var(--chip-accent); color: var(--chip-text); box-shadow: var(--shadow-2); }
  .tf-chip-pain:hover::after { transform: translateX(3px); color: var(--chip-text); }
}
.tf-chip-pain:active { transform: translateY(0); }
.tf-chip-pain:focus-visible { outline: none; box-shadow: var(--focus-ring); }

/* ============================================================ COURSES (Anchor-style colored cards, Slack palette, no image) */
.tf-courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tf-course {
  position: relative; display: flex; flex-direction: column; min-height: 320px;
  border-radius: 22px; padding: 26px 24px; text-decoration: none; color: inherit; overflow: hidden;
  background: var(--c-bg); box-shadow: var(--shadow-1);
  transition: transform var(--d-hover) var(--ease-out), box-shadow var(--d-hover) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .tf-course:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
}
.tf-course:active { transform: translateY(-1px); }
.tf-course:focus-visible { outline: none; box-shadow: var(--focus-ring); }
/* per-course Slack color set: soft tinted ground + dark same-hue name bar + bright ghost numeral */
.c--sky     { --c-bg: var(--foundation-sky-soft);       --c-accent: var(--foundation-sky);       --c-bar: var(--foundation-sky-ink); }
.c--emerald { --c-bg: var(--foundation-emerald-soft);   --c-accent: var(--foundation-emerald);   --c-bar: var(--foundation-emerald-ink); }
.c--gold    { --c-bg: var(--foundation-gold-soft);      --c-accent: var(--foundation-gold);      --c-bar: var(--foundation-gold-ink); }
.c--berry   { --c-bg: var(--foundation-berry-soft);     --c-accent: var(--foundation-berry);     --c-bar: var(--foundation-berry-ink); }
.c--plum    { --c-bg: var(--foundation-aubergine-soft); --c-accent: var(--foundation-aubergine); --c-bar: var(--foundation-aubergine); }
.tf-course__num { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; font-weight: var(--fw-bold); color: var(--c-bar); position: relative; z-index: 1; }
.tf-course__desc { font-size: 17px; line-height: 1.4; font-weight: var(--fw-bold); color: var(--foundation-charcoal); margin: 10px 0 0; max-width: 24ch; position: relative; z-index: 1; }
.tf-course__ghost { position: absolute; right: 4px; bottom: 66px; font-family: var(--font-tagline); font-weight: var(--fw-black); font-size: 150px; line-height: 1; letter-spacing: -0.05em; color: var(--c-accent); opacity: 0.20; pointer-events: none; }
.tf-course__bar { margin-top: auto; background: var(--c-bar); color: var(--foundation-white); border-radius: 14px; padding: 15px 18px; font-weight: var(--fw-bold); font-size: 16px; line-height: 1.25; box-shadow: var(--shadow-2); position: relative; z-index: 1; }
.tf-course__free { position: absolute; top: 18px; right: 18px; z-index: 2; background: var(--foundation-orange); color: var(--foundation-charcoal); font-size: 11px; font-weight: var(--fw-black); letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 11px; border-radius: var(--radius-pill); }
/* centered four-dot brand motif under the courses grid */
.tf-courses-dots { display: flex; justify-content: center; margin-top: 44px; }
.tf-courses-dots i { width: 11px; height: 11px; border-radius: var(--radius-pill); display: block; margin: 0 5px; }
.tf-courses-dots i:nth-child(1){ background: var(--foundation-sky); }
.tf-courses-dots i:nth-child(2){ background: var(--foundation-emerald); }
.tf-courses-dots i:nth-child(3){ background: var(--foundation-gold); }
.tf-courses-dots i:nth-child(4){ background: var(--foundation-berry); }

/* ============================================================ SEE THE ACTUAL WORK
   Option 3: problem -> tool pairing. Light, editorial section. Each row pairs a pain
   (buyer's voice) with the tool that kills it. The tool is a colored teaser card:
   you see a real artifact EXISTS (blurred, unreadable) without giving the product
   away. Rows alternate left/right for rhythm. Sits LIGHT between the gray courses
   band and the dark proof band. */
.w--plum    { --w-bg: var(--foundation-aubergine);   --w-accent: var(--foundation-plum);    --w-ink: var(--foundation-aubergine); }
.w--sky     { --w-bg: var(--foundation-sky-ink);     --w-accent: var(--foundation-sky);      --w-ink: var(--foundation-sky-ink); }
.w--emerald { --w-bg: var(--foundation-emerald-ink); --w-accent: var(--foundation-emerald);  --w-ink: var(--foundation-emerald-ink); }
.w--berry   { --w-bg: var(--foundation-berry-ink);   --w-accent: var(--foundation-berry);    --w-ink: var(--foundation-berry-ink); }

.tf-pairs { max-width: 1060px; margin: 40px auto 0; display: flex; flex-direction: column; gap: clamp(16px, 2.2vw, 28px); }
.tf-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.tf-pair:nth-child(even) .tf-pair__tool { order: -1; }
.tf-pair__pain { font-size: clamp(23px, 2.6vw, 30px); font-weight: var(--fw-bold); color: var(--foundation-charcoal); letter-spacing: -0.02em; line-height: 1.18; margin: 0 0 12px; text-wrap: balance; }
.tf-pair__pain b { color: var(--w-ink); }
.tf-pair__say { font-size: 16px; line-height: 1.6; color: var(--fg-muted); margin: 0; max-width: 42ch; }

.tf-tool { position: relative; overflow: hidden; border-radius: 20px; padding: 24px; min-height: 168px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--w-bg); color: var(--foundation-white); box-shadow: var(--shadow-2); transition: transform var(--d-hover) var(--ease-out), box-shadow var(--d-hover) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .tf-tool:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); } }
.tf-tool__words { position: absolute; inset: 0; margin: 0; padding: 18px 20px 0; font-family: var(--font-mono); font-size: 11px; line-height: 1.8; color: var(--foundation-white); opacity: 0.15; filter: blur(4.5px); white-space: pre-wrap; pointer-events: none; user-select: none; -webkit-mask-image: linear-gradient(180deg,#000 0%,transparent 76%); mask-image: linear-gradient(180deg,#000 0%,transparent 76%); }
.tf-tool__tag { position: relative; z-index: 1; align-self: flex-start; margin-bottom: auto; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: var(--fw-bold); color: rgba(255,255,255,0.78); border: 1px solid rgba(255,255,255,0.28); border-radius: var(--radius-pill); padding: 5px 11px; }
.tf-tool__name { position: relative; z-index: 1; font-size: 22px; font-weight: var(--fw-bold); margin: 16px 0 6px; color: var(--foundation-white); }
.tf-tool__what { position: relative; z-index: 1; font-size: 14.5px; line-height: 1.45; color: rgba(255,255,255,0.92); margin: 0; }

.tf-work__cta { display: flex; justify-content: center; margin-top: 40px; }

@media (max-width: 760px) {
  .tf-pair { grid-template-columns: 1fr; gap: 16px; }
  .tf-pair:nth-child(even) .tf-pair__tool { order: 0; }
}

/* ============================================================ PROOF (aubergine, multi-color stats) */
.tf-proof { background: var(--grad-aubergine); color: var(--foundation-white); }
.tf-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.tf-stat { padding-top: 26px; border-top: 3px solid rgba(255,255,255,0.16); }
.tf-stat__num { font-family: var(--font-tagline); font-weight: var(--fw-black); font-size: clamp(46px, 5vw, 66px); line-height: 1; letter-spacing: -0.03em; display: block; margin-bottom: 12px; }
.tf-stat:nth-child(1) .tf-stat__num { color: var(--foundation-orange); }
.tf-stat:nth-child(2) .tf-stat__num { color: var(--foundation-sky); }
.tf-stat:nth-child(3) .tf-stat__num { color: var(--foundation-emerald); }
.tf-stat:nth-child(4) .tf-stat__num { color: var(--foundation-gold); }
.tf-stat__lbl { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,0.82); margin: 0; }

/* ============================================================ MEMBER STORIES (real headshots + stars) */
.tf-wall { columns: 3; column-gap: 22px; }
.tf-quote {
  break-inside: avoid; margin-bottom: 22px; background: var(--foundation-white); border: 1px solid var(--border);
  border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 16px;
}
.tf-quote__stars { display: flex; gap: 3px; color: var(--foundation-gold); }
.tf-quote__stars svg { width: 16px; height: 16px; }
.tf-quote__headline { font-size: 18px; line-height: 1.3; font-weight: var(--fw-bold); color: var(--foundation-charcoal); letter-spacing: -0.01em; margin: 0 0 9px; }
.tf-quote__body { font-size: 14.5px; line-height: 1.56; color: var(--fg-muted); margin: 0; }
.tf-quote__body b { color: var(--foundation-aubergine); font-weight: var(--fw-bold); }
.tf-quote__who { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.tf-quote__who img { width: 56px; height: 56px; border-radius: var(--radius-pill); object-fit: cover; box-shadow: 0 0 0 3px var(--foundation-white), 0 2px 8px rgba(43,47,54,0.12); }
.tf-quote__name { font-size: 14.5px; font-weight: var(--fw-bold); color: var(--foundation-charcoal); margin: 0; line-height: 1.25; }
.tf-quote__role { font-size: 12.5px; color: var(--fg-muted); margin: 0; line-height: 1.3; }
.tf-quote--feature { background: var(--grad-aubergine); border-color: transparent; color: var(--foundation-white); }
.tf-quote--feature .tf-quote__headline { color: var(--foundation-white); font-family: var(--font-tagline); font-weight: var(--fw-black); font-size: 22px; line-height: 1.22; }
.tf-quote--feature .tf-quote__body { color: rgba(255,255,255,0.85); }
.tf-quote--feature .tf-quote__body b { color: var(--foundation-gold); }
.tf-quote--feature .tf-quote__name { color: var(--foundation-white); }
.tf-quote--feature .tf-quote__role { color: rgba(255,255,255,0.72); }
.tf-quote--feature .tf-quote__who img { box-shadow: 0 0 0 3px rgba(255,255,255,0.18), 0 2px 8px rgba(0,0,0,0.2); }

/* ============================================================ PRICING (real offers) */
.tf-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1080px; margin: 0 auto; align-items: stretch; }
.tf-tier { display: flex; flex-direction: column; gap: 16px; background: var(--foundation-white); border: 1px solid var(--border); border-radius: 20px; padding: 34px; box-shadow: var(--shadow-1); }
.tf-tier--feature { background: var(--grad-aubergine); color: var(--foundation-white); border-color: transparent; position: relative; box-shadow: var(--shadow-3); }
.tf-tier__name { font-size: 13px; font-weight: var(--fw-bold); letter-spacing: 0.16em; text-transform: uppercase; color: var(--foundation-steel-blue); margin: 0; }
.tf-tier--feature .tf-tier__name { color: var(--foundation-gold); }
.tf-tier__amt { font-family: var(--font-tagline); font-weight: var(--fw-black); font-size: 56px; line-height: 1; letter-spacing: -0.02em; color: var(--foundation-charcoal); }
.tf-tier--feature .tf-tier__amt { color: var(--foundation-white); }
.tf-tier__amt small { font-family: var(--font-sans); font-size: 16px; color: var(--fg-muted); font-weight: var(--fw-medium); margin-left: 4px; }
.tf-tier--feature .tf-tier__amt small { color: rgba(255,255,255,0.7); }
.tf-tier__line { font-size: 15px; color: var(--fg-muted); margin: 0; line-height: 1.5; }
.tf-tier--feature .tf-tier__line { color: rgba(255,255,255,0.85); }
.tf-tier__list { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 11px; font-size: 15px; color: var(--foundation-charcoal); }
.tf-tier--feature .tf-tier__list { color: rgba(255,255,255,0.92); }
.tf-tier__list li { padding-left: 26px; position: relative; line-height: 1.5; }
.tf-tier__list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2px solid var(--foundation-emerald); border-bottom: 2px solid var(--foundation-emerald); transform: rotate(-45deg); }
.tf-tier--feature .tf-tier__list li::before { border-color: var(--foundation-gold); }
/* coaching two-price row */
.tf-tier__coach { display: flex; gap: 12px; }
.tf-tier__coach > div { flex: 1; background: var(--foundation-steel-100); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px 16px 15px; display: flex; flex-direction: column; gap: 3px; }
.tf-tier__coach .nm { font-size: 13px; font-weight: var(--fw-bold); color: var(--foundation-aubergine); letter-spacing: -0.005em; }
.tf-tier__coach .p { font-family: var(--font-tagline); font-weight: var(--fw-black); font-size: 30px; line-height: 1.04; color: var(--foundation-charcoal); margin-top: 2px; }
.tf-tier__coach .l { font-size: 12px; font-weight: var(--fw-semibold); letter-spacing: 0.02em; color: var(--foundation-steel-blue); }
.tf-tier__cta { margin-top: auto; }
.tf-tier__cta .btn { width: 100%; }
.tf-tier-tag { position: absolute; top: -13px; left: 34px; white-space: nowrap; background: var(--foundation-orange); color: var(--foundation-charcoal); font-size: 11px; font-weight: var(--fw-black); letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 13px; border-radius: var(--radius-pill); }
.tf-pricing__note { text-align: center; margin-top: 28px; font-size: 14px; color: var(--fg-muted); }

/* Founder — photo + provable facts */
.tf-founder { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.tf-founder__photo img {
  width: 100%; height: auto; display: block; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-3); aspect-ratio: 4 / 5; object-fit: cover;
}
.tf-founder__body .tf-head__title { margin-bottom: 18px; }
.tf-founder__lede { font-size: 17px; line-height: 1.7; color: var(--foundation-charcoal); margin: 0 0 26px; max-width: 60ch; }
.tf-founder__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.tf-founder__facts li {
  display: flex; align-items: baseline; gap: 12px;
  font-size: 16px; line-height: 1.55; color: var(--foundation-charcoal);
}
.tf-founder__facts li::before {
  content: ""; width: 9px; height: 9px; border-radius: var(--radius-pill);
  background: var(--foundation-orange); flex: 0 0 auto; align-self: center;
}
.tf-founder__facts b { font-family: var(--font-tagline); font-weight: var(--fw-black); color: var(--foundation-aubergine); white-space: nowrap; }
@media (max-width: 860px) {
  .tf-founder { grid-template-columns: 1fr; gap: 28px; }
  .tf-founder__photo img { max-width: 380px; margin: 0 auto; }
}

/* The Pipeline Promise — risk-reversal panel (matches the featured tier / proof band language) */
.tf-promise {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center;
  margin: 44px auto 0;
  background: var(--grad-aubergine); color: var(--foundation-white);
  border-radius: var(--radius-lg); padding: 44px 48px;
  box-shadow: var(--shadow-3); position: relative; overflow: hidden; isolation: isolate;
}
.tf-promise::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: repeating-linear-gradient(135deg, transparent 0 30px, rgba(255,255,255,0.03) 30px 31px);
}
.tf-promise__head .tf-dots { margin-bottom: 18px; }
.tf-promise__eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: var(--fw-bold); color: var(--foundation-gold); margin: 0 0 10px;
}
.tf-promise__title {
  font-family: var(--font-tagline); font-weight: var(--fw-black); font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.08; letter-spacing: -0.02em; color: var(--foundation-white); margin: 0; text-wrap: balance;
}
.tf-promise__title .accent { color: var(--foundation-orange); }
.tf-promise__body p { margin: 0 0 14px; font-size: 16px; line-height: 1.7; color: rgba(255,255,255,0.86); }
.tf-promise__body p:last-child { margin-bottom: 0; }
.tf-promise__body b { color: var(--foundation-white); font-weight: var(--fw-bold); }
.tf-promise__math b { color: var(--foundation-gold); font-family: var(--font-tagline); font-weight: var(--fw-black); }
@media (max-width: 860px) {
  .tf-promise { grid-template-columns: 1fr; gap: 20px; padding: 34px 28px; }
}

/* ============================================================ CTA BAND + FOOTER */
.tf-cta { background: var(--grad-aubergine); color: var(--foundation-white); text-align: center; position: relative; overflow: hidden; }
.tf-cta::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 30px, rgba(255,255,255,0.03) 30px 31px); }
.tf-cta__inner { position: relative; max-width: 820px; margin: 0 auto; }
.tf-cta .tf-dots { margin-bottom: 26px; }
.tf-cta__title { font-family: var(--font-tagline); font-weight: var(--fw-black); font-size: clamp(40px, 5vw, 60px); line-height: 1.04; color: var(--foundation-white); margin: 0 0 18px; letter-spacing: -0.02em; }
.tf-cta__title .accent { color: var(--foundation-gold); }
.tf-cta__sub { font-size: 18px; color: rgba(255,255,255,0.82); margin: 0 auto 28px; max-width: 540px; }

.tf-footer { background: var(--foundation-aubergine-deep); color: rgba(255,255,255,0.74); padding: 68px 0 34px; }
.tf-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.tf-footer .wordmark .the { color: var(--foundation-white); }   /* white THE + orange FOUNDATION on dark */
.tf-footer__tag { font-family: var(--font-tagline); font-weight: var(--fw-black); color: var(--foundation-white); font-size: 22px; line-height: 1.15; margin: 16px 0 14px; }
.tf-footer__tag .accent { color: var(--foundation-orange); }
.tf-footer h3 { color: var(--foundation-white); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: var(--fw-bold); margin: 0 0 16px; }
.tf-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.tf-footer a { color: rgba(255,255,255,0.74); text-decoration: none; transition: color var(--d-hover) var(--ease-out); }
.tf-footer a:hover { color: var(--foundation-gold); }
.tf-footer__base { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 12.5px; color: rgba(255,255,255,0.5); }

/* ============================================================ TOAST (prototype) */
.tf-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 16px); z-index: var(--z-toast); background: var(--foundation-charcoal); color: var(--foundation-white); padding: 14px 22px; border-radius: var(--radius-pill); box-shadow: var(--shadow-3); font-size: 14px; font-weight: var(--fw-semibold); opacity: 0; pointer-events: none; transition: opacity var(--d-reveal) var(--ease-out), transform var(--d-reveal) var(--ease-out); }
.tf-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============================================================ SCROLL REVEAL (progressive enhancement) */
html.reveal-ready [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity var(--d-reveal) var(--ease-out), transform var(--d-reveal) var(--ease-out); will-change: opacity, transform; }
html.reveal-ready [data-reveal].is-in { opacity: 1; transform: none; will-change: auto; }

/* Skip link */
.tf-skip { position: absolute; left: -999px; top: 0; background: var(--foundation-charcoal); color: var(--foundation-white); padding: 10px 16px; border-radius: 0 0 var(--radius-md) 0; z-index: var(--z-toast); }
.tf-skip:focus { left: 0; }
a:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--radius-sm); }

/* ============================================================ RESPONSIVE */
@media (max-width: 1080px) {
  .tf-hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .tf-panel { aspect-ratio: 4 / 3.4; }
  .tf-moves { grid-template-columns: repeat(2, 1fr); }
  .tf-move:nth-child(odd) { padding-left: 0; }
  .tf-move:nth-child(even) { padding-right: 0; }
  .tf-move:nth-child(3), .tf-move:nth-child(4) { border-top: 1px solid var(--border); }
  .tf-move:nth-child(3) { border-left: 0; }
  /* (colored hover tint stays active at this breakpoint) */
  .tf-courses, .tf-work { grid-template-columns: repeat(2, 1fr); }
  .tf-stats { grid-template-columns: repeat(2, 1fr); }
  .tf-wall { columns: 2; }
  .tf-pricing { grid-template-columns: 1fr; max-width: 480px; }
  .tf-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .tf-wrap { padding-inline: 20px; }
  .tf-nav__links, .tf-nav__cta a.btn--ghost { display: none; }
  .tf-nav__toggle { display: inline-flex; }
  .tf-nav .wordmark { font-size: 17px; }
  .tf-nav__cta { gap: 8px; }
  .tf-nav__cta .btn { white-space: nowrap; }
  .tf-moves { grid-template-columns: 1fr; }
  .tf-move { border-left: 0 !important; padding: 26px 0 16px; border-top: 1px solid var(--border); }
  .tf-move:first-child { border-top: 0; }
  .tf-courses, .tf-work { grid-template-columns: 1fr; }
  .tf-stats { grid-template-columns: 1fr 1fr; }
  .tf-wall { columns: 1; }
  .tf-float--a { left: 8px; top: 14px; }
  .tf-float--b { right: 8px; }
  .tf-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) {
  .tf-stats { grid-template-columns: 1fr; }
  .tf-footer__grid { grid-template-columns: 1fr; }
  .tf-tier__coach { flex-direction: column; }
}

/* ============================================================ VIDEO POPUP (native <dialog>) */
.tf-modal { width: min(900px, 92vw); border: none; border-radius: 22px; padding: 0; background: var(--foundation-aubergine-deep); color: var(--foundation-white); box-shadow: var(--shadow-3); overflow: hidden; position: relative; }
.tf-modal::backdrop { background: rgba(43, 47, 54, 0.62); backdrop-filter: blur(4px); }
.tf-modal__close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border: none; border-radius: var(--radius-pill); background: rgba(255,255,255,0.16); color: var(--foundation-white); font-size: 24px; line-height: 1; cursor: pointer; transition: background var(--d-hover) var(--ease-out); }
.tf-modal__close:hover { background: rgba(255,255,255,0.30); }
.tf-modal__close:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(245,166,35,0.6); }
.tf-modal__video { position: relative; aspect-ratio: 16 / 9; background: var(--grad-aubergine); display: grid; place-items: center; }
.tf-modal__placeholder { text-align: center; padding: 24px; }
.tf-modal__playicon { width: 64px; height: 64px; border-radius: var(--radius-pill); background: var(--foundation-orange); display: grid; place-items: center; margin: 0 auto 18px; }
.tf-modal__placeholder .tag { font-family: var(--font-tagline); font-weight: var(--fw-black); font-size: clamp(24px, 4vw, 40px); line-height: 1.05; letter-spacing: -0.02em; }
.tf-modal__placeholder .tag em { font-style: normal; color: var(--foundation-orange); }
.tf-modal__placeholder p { color: rgba(255,255,255,0.72); margin: 12px 0 0; font-size: 14px; }

/* ============================================================ FAQ (native <details> accordion) */
.tf-faq { max-width: 760px; margin: 40px auto 0; }
.tf-faq details { border-bottom: 1px solid var(--border); }
.tf-faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-size: 18px; font-weight: var(--fw-bold); color: var(--foundation-charcoal); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.tf-faq summary::-webkit-details-marker { display: none; }
.tf-faq summary::after { content: "+"; flex: none; color: var(--foundation-aubergine); font-size: 26px; font-weight: var(--fw-regular); line-height: 1; }
.tf-faq details[open] summary::after { content: "\2212"; }
.tf-faq summary:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--radius-sm); }
.tf-faq__a { margin: 0; padding: 0 0 22px; font-size: 16px; line-height: var(--lh-body); color: var(--fg-muted); max-width: 64ch; }
