/* =============================================================
   TFC Website — Shared site styles
   Pairs with tfc-brand.css (single source of truth for tokens).
   ============================================================= */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--tfc-font-body);
  background: var(--tfc-paper);
  color: var(--tfc-charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--tfc-teal-deep); text-decoration: none; }
a:hover { color: var(--tfc-teal); }

img { max-width: 100%; height: auto; display: block; }

/* Signature top bar */
.sig-line { height: 3px; background: var(--tfc-teal); }

/* =============================================================
   NAV — logo left, actions right (Rule 5: no max-width on inner)
   ============================================================= */
nav.site-nav {
  background: var(--tfc-paper);
  border-bottom: 1px solid var(--tfc-cloud);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2rem;
  gap: 1.5rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}
.nav-brand img { height: 72px; width: 72px; flex-shrink: 0; }
.nav-brand .wordmark {
  font-family: var(--tfc-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tfc-charcoal);
  line-height: 1.1;
}
.nav-brand .wordmark small {
  display: block;
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--tfc-fog);
  letter-spacing: 0.04em;
  text-transform: none;
  margin-top: 3px;
}
@media (max-width: 720px) {
  .nav-brand img { height: 56px; width: 56px; }
  .nav-brand .wordmark { font-size: 0.95rem; }
  .nav-brand .wordmark small { font-size: 0.7rem; }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}
.nav-links a {
  color: var(--tfc-graphite);
  font-family: var(--tfc-font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.nav-links a:hover { color: var(--tfc-teal); }
.nav-links a.active {
  color: var(--tfc-teal-dark);
  border-bottom-color: var(--tfc-teal);
}
.nav-cta {
  background: var(--tfc-teal);
  color: #fff !important;
  padding: 0.55rem 1.1rem !important;
  border-radius: 6px;
  font-family: var(--tfc-font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none !important;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--tfc-teal-deep); color: #fff !important; }

/* =============================================================
   HERO
   ============================================================= */
.hero {
  padding: 5rem 4rem 4rem 8%;
  background: linear-gradient(180deg, var(--tfc-teal-mist) 0%, var(--tfc-paper) 100%);
  border-bottom: 1px solid var(--tfc-cloud);
}
.hero-content { max-width: 820px; }
.hero .eyebrow {
  font-family: var(--tfc-font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tfc-teal-dark);
  margin-bottom: 0.85rem;
}
.hero h1 {
  font-family: var(--tfc-font-display);
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--tfc-charcoal);
  margin-bottom: 1.25rem;
}
.hero h1 .script {
  font-family: var(--tfc-font-script);
  color: var(--tfc-teal);
  font-size: 1.18em;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}
.hero p.lede {
  font-size: 1.125rem;
  color: var(--tfc-graphite);
  line-height: 1.65;
  max-width: 720px;
  margin-bottom: 1.75rem;
}
.hero .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

/* =============================================================
   BUTTONS
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--tfc-font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.85rem 1.5rem;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
}
.btn-primary {
  background: var(--tfc-teal);
  color: #fff;
}
.btn-primary:hover {
  background: var(--tfc-teal-deep);
  color: #fff;
}
.btn-secondary {
  background: transparent;
  color: var(--tfc-teal-dark);
  border-color: var(--tfc-teal-dark);
}
.btn-secondary:hover {
  background: var(--tfc-teal-soft);
  color: var(--tfc-teal-dark);
}
.btn-ghost {
  background: transparent;
  color: var(--tfc-graphite);
  padding-left: 0;
  padding-right: 0;
}
.btn-ghost::after { content: " →"; transition: margin-left 0.15s; }
.btn-ghost:hover { color: var(--tfc-teal); }
.btn-ghost:hover::after { margin-left: 4px; }

/* =============================================================
   SECTIONS
   ============================================================= */
section {
  padding: 5rem 4rem 5rem 8%;
  border-bottom: 1px solid var(--tfc-cloud);
}
section.alt { background: var(--tfc-snow); }
section.dark { background: var(--tfc-charcoal); color: var(--tfc-cloud); }
section.dark h2, section.dark h3, section.dark h4 { color: #fff; }
section.dark p { color: rgba(255,255,255,0.78); }

.section-container { max-width: 940px; }
.section-narrow { max-width: 760px; }

.section-eyebrow {
  font-family: var(--tfc-font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tfc-teal-dark);
  margin-bottom: 0.85rem;
}

section h2 {
  font-family: var(--tfc-font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--tfc-charcoal);
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  position: relative;
}
section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  background: var(--tfc-teal);
}

section h3 {
  font-family: var(--tfc-font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2.5rem 0 0.75rem;
  color: var(--tfc-charcoal);
}

section p {
  color: var(--tfc-graphite);
  line-height: 1.7;
  margin-bottom: 0.85rem;
  font-size: 1rem;
}
section ul, section ol { margin: 0 0 1rem 1.5rem; }
section li { color: var(--tfc-graphite); margin-bottom: 0.4rem; line-height: 1.7; }
section strong { color: var(--tfc-charcoal); font-weight: 600; }

/* Section intro lede */
.section-lede {
  font-size: 1.125rem;
  color: var(--tfc-graphite);
  line-height: 1.65;
  max-width: 720px;
  margin-bottom: 2rem;
}

/* =============================================================
   CARDS
   ============================================================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 1.25rem 0;
}
.card-grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
  background: var(--tfc-paper);
  border: 1px solid var(--tfc-cloud);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: var(--tfc-shadow-sm);
  display: flex;
  flex-direction: column;
}
.card.accent { border-top: 3px solid var(--tfc-teal); }
.card .card-label {
  font-family: var(--tfc-font-heading);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tfc-teal);
  margin-bottom: 0.6rem;
}
.card h4, .card h5 {
  font-family: var(--tfc-font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--tfc-charcoal);
  margin-bottom: 0.65rem;
}
.card p {
  color: var(--tfc-graphite);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: 0.55rem;
}
.card p:last-child { margin-bottom: 0; }
.card .card-meta {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--tfc-cloud);
  font-family: var(--tfc-font-mono);
  font-size: 0.78rem;
  color: var(--tfc-fog);
  letter-spacing: 0.04em;
}

/* =============================================================
   CHIPS / BADGES
   ============================================================= */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}
.chip {
  font-family: var(--tfc-font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tfc-teal-dark);
  background: var(--tfc-teal-soft);
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
}

/* =============================================================
   STAT STRIP
   ============================================================= */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--tfc-cloud);
  border-bottom: 1px solid var(--tfc-cloud);
  margin-top: 2rem;
}
.stat {
  text-align: left;
  padding: 0 1rem;
}
.stat .value {
  font-family: var(--tfc-font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--tfc-teal-dark);
  line-height: 1.05;
  margin-bottom: 0.2rem;
}
.stat .label {
  font-family: var(--tfc-font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tfc-fog);
}

/* =============================================================
   PROOF POINTS LIST
   ============================================================= */
.proofs {
  list-style: none;
  margin-left: 0;
  padding: 0;
}
.proofs li {
  border-top: 1px solid var(--tfc-cloud);
  padding: 1.25rem 0;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.25rem;
}
.proofs li:last-child { border-bottom: 1px solid var(--tfc-cloud); }
.proofs .company {
  font-family: var(--tfc-font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tfc-teal-dark);
  padding-top: 0.1rem;
}
.proofs .detail {
  color: var(--tfc-graphite);
  font-size: 1rem;
  line-height: 1.65;
}
.proofs .detail strong { color: var(--tfc-charcoal); }

/* =============================================================
   CALLOUT
   ============================================================= */
.callout {
  background: var(--tfc-teal-mist);
  border-left: 3px solid var(--tfc-teal);
  padding: 1.5rem 1.75rem;
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
}
.callout .callout-label {
  font-family: var(--tfc-font-heading);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tfc-teal-dark);
  margin-bottom: 0.4rem;
}
.callout p { margin-bottom: 0.6rem; color: var(--tfc-charcoal); }
.callout p:last-child { margin-bottom: 0; }

/* Pull quote */
.pull-quote {
  font-family: var(--tfc-font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--tfc-charcoal);
  letter-spacing: -0.01em;
  border-left: 3px solid var(--tfc-teal);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 1.5rem 0 1rem;
}
.pull-quote .attribution {
  display: block;
  font-family: var(--tfc-font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--tfc-fog);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 0.75rem;
}

/* =============================================================
   PRICE TABLE
   ============================================================= */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.95rem;
}
.price-table th {
  text-align: left;
  padding: 0.85rem 0.7rem;
  font-family: var(--tfc-font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tfc-fog);
  border-bottom: 2px solid var(--tfc-cloud);
  background: var(--tfc-snow);
}
.price-table td {
  padding: 0.9rem 0.7rem;
  border-bottom: 1px solid var(--tfc-cloud);
  vertical-align: top;
  color: var(--tfc-graphite);
}
.price-table td strong { color: var(--tfc-charcoal); }
.price-table .price {
  font-family: var(--tfc-font-mono);
  color: var(--tfc-teal-dark);
  white-space: nowrap;
}

/* =============================================================
   CTA BANNER (between content and footer)
   ============================================================= */
.cta-banner {
  background: var(--tfc-charcoal);
  color: #fff;
  padding: 4rem 4rem 4rem 8%;
  border-bottom: 1px solid var(--tfc-ink);
}
.cta-banner-inner { max-width: 820px; }
.cta-banner h2 {
  font-family: var(--tfc-font-display);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.cta-banner h2::after { display: none; }
.cta-banner p {
  color: rgba(255,255,255,0.78);
  font-size: 1.0625rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 640px;
}
.cta-banner .btn-primary {
  background: var(--tfc-teal);
}
.cta-banner .btn-secondary {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.cta-banner .btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: #fff;
}

/* =============================================================
   FOOTER
   ============================================================= */
footer.site-footer {
  background: var(--tfc-ink);
  color: rgba(255,255,255,0.65);
  padding: 3.5rem 4rem 2rem 8%;
  font-size: 0.875rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand img { height: 64px; width: 64px; opacity: 0.9; margin-bottom: 1rem; }
.footer-brand .footer-wordmark {
  font-family: var(--tfc-font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.6rem;
}
.footer-brand p {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 280px;
}
.footer-col h5 {
  font-family: var(--tfc-font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.55rem; }
.footer-col a {
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--tfc-teal); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-family: var(--tfc-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.4);
}

/* =============================================================
   HEADSHOT PLACEHOLDER (swap to <img> when photo arrives)
   ============================================================= */
.headshot {
  width: 240px;
  height: 240px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--tfc-teal-soft) 0%, var(--tfc-teal-mist) 100%);
  border: 1px solid var(--tfc-cloud);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tfc-teal-dark);
  font-family: var(--tfc-font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  flex-shrink: 0;
  position: relative;
}
.headshot::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  background: var(--tfc-teal);
  opacity: 0.18;
  border-radius: 50%;
  top: 60px;
}
.headshot span {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.85);
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
}

/* =============================================================
   FORM (contact page)
   ============================================================= */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-grid .full { grid-column: 1 / -1; }
.field {
  display: flex;
  flex-direction: column;
}
.field label {
  font-family: var(--tfc-font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tfc-graphite);
  margin-bottom: 0.4rem;
}
.field input, .field select, .field textarea {
  font-family: var(--tfc-font-body);
  font-size: 0.95rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--tfc-cloud);
  border-radius: 6px;
  background: var(--tfc-paper);
  color: var(--tfc-charcoal);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--tfc-teal);
  box-shadow: 0 0 0 3px var(--tfc-teal-soft);
}
.field textarea { min-height: 140px; resize: vertical; }

/* =============================================================
   FLOURISH
   ============================================================= */
.flourish {
  text-align: center;
  font-family: var(--tfc-font-script);
  color: var(--tfc-teal);
  font-size: 1.85rem;
  margin: 1.5rem 0 1rem;
  line-height: 1;
  letter-spacing: 0.04em;
}

/* =============================================================
   CALENDLY EMBED PLACEHOLDER (swap on launch)
   ============================================================= */
.calendly-placeholder {
  background: var(--tfc-teal-mist);
  border: 2px dashed var(--tfc-teal-soft);
  border-radius: 12px;
  padding: 3rem 2rem;
  text-align: center;
}
.calendly-placeholder .placeholder-eyebrow {
  font-family: var(--tfc-font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--tfc-teal-dark);
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.calendly-placeholder h3 {
  font-family: var(--tfc-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--tfc-charcoal);
  margin: 0 0 0.6rem;
}
.calendly-placeholder p {
  color: var(--tfc-graphite);
  margin-bottom: 1.25rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 900px) {
  .hero, section, .cta-banner { padding-left: 1.5rem; padding-right: 1.5rem; }
  .hero h1 { font-size: 2.25rem; }
  section h2 { font-size: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  footer.site-footer { padding-left: 1.5rem; padding-right: 1.5rem; }
  .nav-links { gap: 1rem; }
  .nav-links a:not(.nav-cta) { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .proofs li { grid-template-columns: 1fr; gap: 0.5rem; }
}

@media (max-width: 600px) {
  .hero { padding-top: 3.5rem; padding-bottom: 3rem; }
  .hero h1 { font-size: 1.85rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
}
