/*
Theme Name:   TrailBlend Consulting
Theme URI:    https://trailblend.ca
Description:  TrailBlend Consulting — Kadence child theme. Where Major Gifts Begin.
Author:       TrailBlend Consulting Inc.
Author URI:   https://trailblend.ca
Template:     kadence
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  trailblend
Tags:         nonprofit, consulting, advancement, major-gifts
*/

/* ============================================================
   BRAND TOKEN SYSTEM
   All design decisions derive from these custom properties.
   ============================================================ */
:root {
  /* — Palette — */
  --tb-ink:        #0A0A0A;   /* Authority background */
  --tb-slate:      #2C2E2B;   /* Card / secondary surface */
  --tb-steel:      #A6A6A6;   /* Supporting text, dividers */
  --tb-volt:       #D7E626;   /* Signature accent — TrailBlend only */
  --tb-parchment:  #EAE6DF;   /* Warm off-white section background */
  --tb-offwhite:   #F0EDE8;   /* Body text on dark backgrounds */

  /* — Typography — */
  --tb-font-display: 'Cormorant Garamond', Georgia, serif;
  --tb-font-body:    'DM Sans', system-ui, sans-serif;
  --tb-font-mono:    'DM Mono', 'Courier New', monospace;

  /* — Type Scale — */
  --tb-text-xs:   0.72rem;
  --tb-text-sm:   0.875rem;
  --tb-text-base: 1.0625rem;
  --tb-text-lg:   1.25rem;
  --tb-text-xl:   1.5rem;
  --tb-text-2xl:  2rem;
  --tb-text-3xl:  2.75rem;
  --tb-text-4xl:  3.75rem;
  --tb-text-5xl:  5.25rem;

  /* — Spacing — */
  --tb-space-1: 0.5rem;
  --tb-space-2: 1rem;
  --tb-space-3: 1.5rem;
  --tb-space-4: 2rem;
  --tb-space-5: 3rem;
  --tb-space-6: 4.5rem;
  --tb-space-7: 7rem;

  /* — Radius — */
  --tb-radius: 2px;

  /* — Transitions — */
  --tb-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================================
   GLOBAL RESETS & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--tb-font-body);
  font-size: var(--tb-text-base);
  line-height: 1.65;
  color: var(--tb-offwhite);
  background-color: var(--tb-ink);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }

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

/* ============================================================
   KADENCE OVERRIDES — strip defaults that conflict
   ============================================================ */
.kadence-inner-column-inner,
.wp-block-kadence-column,
.kb-section-dir-horizontal { gap: 0; }

.entry-content { max-width: 100% !important; }

/* Remove Kadence's default link underline in content */
.entry-content a { text-decoration: none; }

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.tb-eyebrow {
  font-family: var(--tb-font-mono);
  font-size: var(--tb-text-xs);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tb-volt);
  display: block;
}

.tb-eyebrow--muted { color: var(--tb-steel); }

.tb-display {
  font-family: var(--tb-font-display);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.tb-mono-label {
  font-family: var(--tb-font-mono);
  font-size: var(--tb-text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.tb-btn,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--tb-font-mono) !important;
  font-size: var(--tb-text-xs) !important;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.75em 1.6em !important;
  border-radius: var(--tb-radius) !important;
  border: none;
  cursor: pointer;
  transition: background 0.2s var(--tb-ease), transform 0.15s var(--tb-ease);
  white-space: nowrap;
  text-decoration: none !important;
}

.tb-btn--primary,
.wp-block-button.is-style-fill .wp-block-button__link {
  background: var(--tb-volt) !important;
  color: var(--tb-ink) !important;
}
.tb-btn--primary:hover,
.wp-block-button.is-style-fill .wp-block-button__link:hover {
  background: #e8f82e !important;
  transform: translateY(-1px);
}

.tb-btn--ghost,
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent !important;
  color: var(--tb-offwhite) !important;
  border: 1px solid rgba(240,237,232,0.25) !important;
}
.tb-btn--ghost:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  border-color: var(--tb-volt) !important;
  color: var(--tb-volt) !important;
}

/* ============================================================
   LAYOUT CONTAINERS
   ============================================================ */
.tb-section {
  padding: var(--tb-space-7) 0;
  width: 100%;
}

.tb-section--ink      { background: var(--tb-ink);       color: var(--tb-offwhite); }
.tb-section--slate    { background: var(--tb-slate);     color: var(--tb-offwhite); }
.tb-section--parchment{ background: var(--tb-parchment); color: var(--tb-ink); }

.tb-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--tb-space-4);
  width: 100%;
}

/* ============================================================
   NAVIGATION (Kadence header overrides)
   ============================================================ */
#masthead,
.site-header {
  background: rgba(10,10,10,0.93) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(166,166,166,0.12) !important;
  position: fixed !important;
  top: 0; left: 0; right: 0;
  z-index: 100;
}

.site-header .kadence-logo-img { height: 36px; width: auto; }

/* Nav links */
#site-navigation a,
.main-navigation a {
  font-family: var(--tb-font-body);
  font-size: var(--tb-text-sm);
  color: var(--tb-steel) !important;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
#site-navigation a:hover,
.main-navigation a:hover { color: var(--tb-offwhite) !important; }

/* Push content below fixed nav */
.content-area,
#primary { padding-top: 70px; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.tb-hero {
  min-height: 100vh;
  background: var(--tb-ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: var(--tb-space-7) 0 var(--tb-space-6);
}

.tb-hero__bg-arc {
  position: absolute;
  top: 0; right: -10%;
  width: 70%;
  height: 100%;
  pointer-events: none;
  opacity: 0.06;
}

.tb-hero__inner { position: relative; z-index: 2; }

.tb-hero__headline {
  font-family: var(--tb-font-display);
  font-size: clamp(var(--tb-text-3xl), 7vw, var(--tb-text-5xl));
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--tb-offwhite);
  max-width: 780px;
  margin-bottom: var(--tb-space-3);
}

.tb-hero__headline em {
  font-style: italic;
  color: var(--tb-volt);
}

.tb-hero__subhead {
  font-size: var(--tb-text-lg);
  font-weight: 300;
  color: var(--tb-steel);
  max-width: 520px;
  line-height: 1.55;
  margin-bottom: var(--tb-space-4);
}

.tb-hero__ctas {
  display: flex;
  align-items: center;
  gap: var(--tb-space-2);
  flex-wrap: wrap;
}

.tb-hero__secondary {
  font-family: var(--tb-font-mono);
  font-size: var(--tb-text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tb-steel);
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.tb-hero__secondary:hover { color: var(--tb-offwhite); border-color: var(--tb-volt); }

/* ============================================================
   CREDIBILITY BAR
   ============================================================ */
.tb-cred {
  background: var(--tb-ink);
  border-top: 1px solid rgba(166,166,166,0.12);
  border-bottom: 1px solid rgba(166,166,166,0.12);
  padding: var(--tb-space-4) 0;
}

.tb-cred__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.tb-cred__stat {
  text-align: center;
  padding: var(--tb-space-2) var(--tb-space-3);
  border-right: 1px solid rgba(166,166,166,0.12);
}
.tb-cred__stat:last-child { border-right: none; }

.tb-cred__num {
  font-family: var(--tb-font-display);
  font-size: var(--tb-text-3xl);
  font-weight: 300;
  color: var(--tb-volt);
  line-height: 1;
  display: block;
}

.tb-cred__label {
  font-family: var(--tb-font-mono);
  font-size: var(--tb-text-xs);
  color: var(--tb-steel);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 6px;
  display: block;
}

/* ============================================================
   PROBLEM SECTION
   ============================================================ */
.tb-problem {
  background: var(--tb-parchment);
  padding: var(--tb-space-7) 0;
}

.tb-problem__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--tb-space-6);
  align-items: start;
}

.tb-problem__prose p {
  font-family: var(--tb-font-display);
  font-size: var(--tb-text-xl);
  font-weight: 300;
  line-height: 1.55;
  color: var(--tb-ink);
  margin-bottom: var(--tb-space-3);
}
.tb-problem__prose p:last-child { margin-bottom: 0; }

/* ============================================================
   SERVICES GRID
   ============================================================ */
.tb-services {
  background: var(--tb-ink);
  padding: var(--tb-space-7) 0;
}

.tb-services__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--tb-space-5);
  gap: var(--tb-space-3);
}

.tb-services__title {
  font-family: var(--tb-font-display);
  font-size: var(--tb-text-3xl);
  font-weight: 300;
  line-height: 1.1;
  color: var(--tb-offwhite);
  max-width: 380px;
}

.tb-services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: rgba(166,166,166,0.1);
  border: 1px solid rgba(166,166,166,0.1);
}

.tb-service-card {
  background: var(--tb-slate);
  padding: var(--tb-space-4) var(--tb-space-3);
  display: flex;
  flex-direction: column;
  gap: var(--tb-space-2);
  transition: background 0.25s;
  position: relative;
  overflow: hidden;
}

.tb-service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px; height: 0;
  background: var(--tb-volt);
  transition: height 0.3s var(--tb-ease);
}
.tb-service-card:hover::before { height: 100%; }
.tb-service-card:hover { background: #343631; }

.tb-service-card__num {
  font-family: var(--tb-font-mono);
  font-size: var(--tb-text-xs);
  color: var(--tb-steel);
  letter-spacing: 0.15em;
}

.tb-service-card__title {
  font-family: var(--tb-font-display);
  font-size: var(--tb-text-xl);
  font-weight: 400;
  line-height: 1.2;
  color: var(--tb-offwhite);
}

.tb-service-card__desc {
  font-size: var(--tb-text-sm);
  color: var(--tb-steel);
  line-height: 1.65;
  flex-grow: 1;
}

.tb-service-card__link {
  font-family: var(--tb-font-mono);
  font-size: var(--tb-text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tb-volt);
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  transition: gap 0.2s;
  border: none;
  background: none;
  cursor: pointer;
}
.tb-service-card__link:hover { gap: 0.7em; }

/* ============================================================
   EVENT PACKAGES
   ============================================================ */
.tb-packages {
  background: var(--tb-parchment);
  padding: var(--tb-space-7) 0;
}

.tb-packages__intro { max-width: 600px; margin-bottom: var(--tb-space-5); }

.tb-packages__title {
  font-family: var(--tb-font-display);
  font-size: var(--tb-text-3xl);
  font-weight: 300;
  line-height: 1.1;
  color: var(--tb-ink);
  margin-bottom: var(--tb-space-2);
}

.tb-packages__subtitle {
  font-size: var(--tb-text-base);
  color: #4a4a48;
  line-height: 1.6;
}

.tb-packages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(44,46,43,0.15);
  margin-bottom: var(--tb-space-4);
}

.tb-tier {
  padding: var(--tb-space-4);
  border-right: 1px solid rgba(44,46,43,0.1);
}
.tb-tier:last-child { border-right: none; }

.tb-tier--featured {
  background: var(--tb-ink);
  color: var(--tb-offwhite);
}

.tb-tier__badge {
  font-family: var(--tb-font-mono);
  font-size: var(--tb-text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tb-volt);
  display: block;
  margin-bottom: var(--tb-space-2);
}

.tb-tier__name {
  font-family: var(--tb-font-display);
  font-size: var(--tb-text-2xl);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 4px;
}
.tb-tier--featured .tb-tier__name { color: var(--tb-offwhite); }

.tb-tier__tagline {
  font-size: var(--tb-text-sm);
  color: var(--tb-steel);
  margin-bottom: var(--tb-space-3);
  line-height: 1.5;
}
.tb-tier:not(.tb-tier--featured) .tb-tier__tagline { color: #5a5a58; }

.tb-tier__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
}

.tb-tier__features li {
  font-size: var(--tb-text-sm);
  color: var(--tb-steel);
  padding-left: 1.3em;
  position: relative;
  line-height: 1.5;
}
.tb-tier:not(.tb-tier--featured) .tb-tier__features li { color: #4a4a48; }

.tb-tier__features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--tb-volt);
  font-size: 0.75em;
  top: 0.18em;
}

.tb-packages__cta { text-align: center; }

.tb-packages__note {
  font-family: var(--tb-font-mono);
  font-size: var(--tb-text-xs);
  color: #7a7a78;
  letter-spacing: 0.08em;
  margin-top: var(--tb-space-2);
}

/* ============================================================
   ENGAGEMENT / HOW WE WORK
   ============================================================ */
.tb-engagement {
  background: var(--tb-ink);
  padding: var(--tb-space-7) 0;
}

.tb-engagement__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--tb-space-6);
  align-items: start;
}

.tb-engagement__sidebar p {
  font-size: var(--tb-text-sm);
  color: var(--tb-steel);
  line-height: 1.65;
  margin-top: var(--tb-space-2);
}

.tb-engagement__steps {
  display: flex;
  flex-direction: column;
  gap: var(--tb-space-4);
}

.tb-step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--tb-space-3);
  padding-bottom: var(--tb-space-4);
  border-bottom: 1px solid rgba(166,166,166,0.1);
}
.tb-step:last-child { border-bottom: none; padding-bottom: 0; }

.tb-step__word {
  font-family: var(--tb-font-display);
  font-size: var(--tb-text-2xl);
  font-style: italic;
  font-weight: 300;
  color: var(--tb-volt);
  line-height: 1;
  padding-top: 3px;
}

.tb-step__title {
  font-family: var(--tb-font-body);
  font-size: var(--tb-text-base);
  font-weight: 500;
  color: var(--tb-offwhite);
  margin-bottom: 0.4em;
}

.tb-step__body {
  font-size: var(--tb-text-sm);
  color: var(--tb-steel);
  line-height: 1.65;
}

.tb-text-link {
  font-family: var(--tb-font-mono);
  font-size: var(--tb-text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tb-volt);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
  display: inline-block;
  margin-top: var(--tb-space-3);
}
.tb-text-link:hover { border-color: var(--tb-volt); }

/* ============================================================
   FOUNDER / ABOUT
   ============================================================ */
.tb-founder {
  background: var(--tb-parchment);
  padding: var(--tb-space-7) 0;
}

.tb-founder__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--tb-space-6);
  align-items: start;
}

.tb-founder__photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border: 1px solid rgba(44,46,43,0.12);
}

.tb-founder__photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: #d5d1ca;
  border: 1px solid rgba(44,46,43,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tb-founder__name {
  font-family: var(--tb-font-display);
  font-size: var(--tb-text-3xl);
  font-weight: 300;
  line-height: 1.1;
  color: var(--tb-ink);
  margin-bottom: 0.2em;
}

.tb-founder__creds {
  font-family: var(--tb-font-mono);
  font-size: var(--tb-text-xs);
  color: #6a6a68;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--tb-space-3);
  display: block;
}

.tb-founder__bio p {
  font-size: var(--tb-text-base);
  color: #3a3a38;
  line-height: 1.7;
  margin-bottom: var(--tb-space-2);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tb-testimonials {
  background: var(--tb-ink);
  padding: var(--tb-space-7) 0;
}

.tb-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--tb-space-3);
  margin-top: var(--tb-space-4);
}

.tb-quote {
  background: var(--tb-slate);
  padding: var(--tb-space-3) var(--tb-space-4);
  border-left: 2px solid var(--tb-volt);
  display: flex;
  flex-direction: column;
  gap: var(--tb-space-2);
}

.tb-quote__text {
  font-family: var(--tb-font-display);
  font-size: var(--tb-text-lg);
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  color: var(--tb-offwhite);
}

.tb-quote__attr {
  font-family: var(--tb-font-mono);
  font-size: var(--tb-text-xs);
  color: var(--tb-steel);
  letter-spacing: 0.08em;
  line-height: 1.5;
}

/* ============================================================
   INSIGHTS
   ============================================================ */
.tb-insights {
  background: var(--tb-ink);
  padding: var(--tb-space-7) 0;
  border-top: 1px solid rgba(166,166,166,0.08);
}

.tb-insights__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--tb-space-4);
  gap: var(--tb-space-3);
}

.tb-insights__title {
  font-family: var(--tb-font-display);
  font-size: var(--tb-text-2xl);
  font-weight: 300;
  color: var(--tb-offwhite);
}

.tb-insights__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--tb-space-3);
}

.tb-insight {
  border-top: 1px solid rgba(166,166,166,0.12);
  padding-top: var(--tb-space-2);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tb-insight__cat {
  font-family: var(--tb-font-mono);
  font-size: var(--tb-text-xs);
  color: var(--tb-volt);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tb-insight__title {
  font-family: var(--tb-font-display);
  font-size: var(--tb-text-xl);
  font-weight: 400;
  line-height: 1.25;
  color: var(--tb-offwhite);
  transition: color 0.2s;
}
.tb-insight:hover .tb-insight__title { color: var(--tb-volt); }

.tb-insight__excerpt {
  font-size: var(--tb-text-sm);
  color: var(--tb-steel);
  line-height: 1.6;
  flex-grow: 1;
}

.tb-insight__read {
  font-family: var(--tb-font-mono);
  font-size: var(--tb-text-xs);
  color: var(--tb-steel);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  transition: color 0.2s;
}
.tb-insight:hover .tb-insight__read { color: var(--tb-volt); }

/* ============================================================
   FOOTER CTA
   ============================================================ */
.tb-footer-cta {
  background: var(--tb-ink);
  padding: var(--tb-space-7) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.tb-footer-cta__bg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  pointer-events: none;
  opacity: 0.04;
}

.tb-footer-cta__inner { position: relative; z-index: 2; }

.tb-footer-cta__headline {
  font-family: var(--tb-font-display);
  font-size: clamp(var(--tb-text-2xl), 4vw, var(--tb-text-4xl));
  font-weight: 300;
  line-height: 1.15;
  color: var(--tb-offwhite);
  max-width: 620px;
  margin: 0 auto var(--tb-space-2);
}
.tb-footer-cta__headline em { font-style: italic; color: var(--tb-volt); }

.tb-footer-cta__sub {
  font-size: var(--tb-text-base);
  color: var(--tb-steel);
  max-width: 440px;
  margin: 0 auto var(--tb-space-4);
  line-height: 1.6;
}

/* ============================================================
   FOOTER
   ============================================================ */
.tb-footer {
  background: var(--tb-ink);
  border-top: 1px solid rgba(166,166,166,0.1);
  padding: var(--tb-space-4) 0;
}

.tb-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--tb-space-2);
}

.tb-footer__brand-name {
  font-family: var(--tb-font-mono);
  font-size: var(--tb-text-xs);
  color: var(--tb-volt);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.tb-footer__tagline {
  font-size: var(--tb-text-xs);
  color: var(--tb-steel);
  letter-spacing: 0.06em;
}

.tb-footer__links {
  display: flex;
  gap: var(--tb-space-3);
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tb-footer__links a {
  font-family: var(--tb-font-mono);
  font-size: var(--tb-text-xs);
  color: var(--tb-steel);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.tb-footer__links a:hover { color: var(--tb-volt); }

/* ============================================================
   ARC DIVIDERS
   ============================================================ */
.tb-arc-divider {
  background: var(--tb-ink);
  display: flex;
  justify-content: center;
  overflow: hidden;
  line-height: 0;
}

/* ============================================================
   SCROLL FADE-IN (JS-driven)
   ============================================================ */
.tb-fade {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--tb-ease), transform 0.65s var(--tb-ease);
}
.tb-fade.tb-visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .tb-cred__inner       { grid-template-columns: repeat(2, 1fr); }
  .tb-problem__grid     { grid-template-columns: 1fr; }
  .tb-packages__grid    { grid-template-columns: 1fr; }
  .tb-engagement__grid  { grid-template-columns: 1fr; }
  .tb-founder__grid     { grid-template-columns: 1fr; }
  .tb-founder__photo,
  .tb-founder__photo-placeholder { max-width: 220px; }
}

@media (max-width: 600px) {
  :root {
    --tb-space-7: 4rem;
    --tb-space-6: 3rem;
  }
  .tb-cred__inner        { grid-template-columns: 1fr 1fr; }
  .tb-services__header   { flex-direction: column; align-items: flex-start; }
  .tb-insights__header   { flex-direction: column; align-items: flex-start; }
  .tb-footer__inner      { flex-direction: column; align-items: flex-start; }
  .tb-hero__ctas         { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 375px) {
  .tb-container { padding: 0 1rem; }
  .tb-cred__inner { grid-template-columns: 1fr; }
}
