/* =====================================================================
   Rateseeker global styles
   Ported verbatim from the Claude Design handoff bundle:
   - styles.css (tokens, typography, buttons)
   - components.css (logo, nav)
   - sections/Hero.css, HowItWorks.css, Intro.css, Testimonials.css,
     Mid.css, Footer.css
   - page-level extras (ph, pillar, value-card, team-grid, tl, art-card,
     job, impact, contact, calc-w, faq-item, section-dark, nav mobile)
   ===================================================================== */

/* === styles.css === */
:root {
  --forest: #335A51;
  --forest-deep: #26453D;
  --lime: #C2DF29;
  --green: #8AC73D;
  --lime-grad: linear-gradient(135deg, #C2DF29 0%, #8AC73D 100%);
  --ink: #1F3B34;
  --cream: #F7F5EF;
  --stone: #F2F2F2;
  --stone-2: #E9E7E1;
  --white: #FFFFFF;
  --hairline: rgba(51, 90, 81, 0.14);
  --shadow-card: 0 30px 60px -30px rgba(20, 43, 37, 0.25);
  --radius-card: 28px;
  --radius-tile: 26px;
  --radius-pill: 999px;
  --font-display: var(--font-roboto-slab), Georgia, serif;
  --font-body: var(--font-poppins), -apple-system, system-ui, sans-serif;
  --max: 1600px;
  --gutter: 32px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--forest);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-wide { max-width: 1600px; margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; color: var(--forest); margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(44px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -0.025em; }
h2 { font-size: clamp(34px, 3.8vw, 54px); line-height: 1.05; letter-spacing: -0.02em; }
h3 { font-size: clamp(24px, 2.4vw, 36px); line-height: 1.15; }
h4 { font-size: 22px; line-height: 1.2; }
p { margin: 0; color: rgba(51, 90, 81, 0.82); text-wrap: pretty; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 13px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--forest);
  padding: 8px 18px; border: 1px solid var(--hairline); border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.6);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(194,223,41,0.25); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 34px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 16px; letter-spacing: 0.01em;
  transition: transform .2s ease, box-shadow .25s ease, background .2s ease, color .2s ease;
  white-space: nowrap; cursor: pointer;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--lime); color: var(--forest); }
.btn-primary:hover { background: var(--green); transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(138,199,61,0.6); }
.btn-dark { background: var(--forest); color: var(--white); }
.btn-dark:hover { background: var(--forest-deep); transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(51,90,81,0.55); }
.btn-ghost { background: transparent; border: 1px solid var(--forest); color: var(--forest); }
.btn-ghost:hover { background: var(--forest); color: var(--white); }

.btn-circle {
  width: 56px; height: 56px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .2s;
}
.btn-circle:hover { transform: rotate(45deg); }

.arrow { display: inline-block; transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

section { padding: clamp(72px, 9vw, 140px) 0; position: relative; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head .text { max-width: 620px; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head h2 { margin-bottom: 16px; }
.section-head.center { display: block; text-align: center; }
.section-head.center > * { margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow { margin-bottom: 16px; }

.divider { height: 1px; background: var(--hairline); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
.squiggle { color: var(--lime); }

@media (max-width: 900px) {
  :root { --gutter: 20px; }
  section { padding: 80px 0; }
}

/* === components.css === */
.rs-logo { display: inline-flex; align-items: center; gap: 2px; font-family: var(--font-body); }
.rs-logo-img { display: inline-flex; align-items: center; line-height: 0; }
.rs-logo-img img { width: auto; height: 32px; display: block; }
.rs-logo-bubble {
  background: var(--lime); color: var(--forest);
  font-weight: 700; font-size: 18px; letter-spacing: -0.01em;
  padding: 6px 12px 7px; border-radius: 8px 8px 8px 2px;
  position: relative;
}
.rs-logo-bubble::after {
  content: ""; position: absolute; left: 10px; bottom: -5px;
  width: 10px; height: 10px; background: var(--lime);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.rs-logo-word { font-weight: 400; font-size: 20px; color: var(--forest); margin-left: 6px; letter-spacing: -0.01em; }
.rs-logo-word.light { color: var(--white); }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: transparent;
  transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.nav.is-scrolled {
  background: rgba(247, 245, 239, 0.82);
  backdrop-filter: saturate(1.3) blur(14px);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  box-shadow: 0 1px 0 var(--hairline);
}
.nav-inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 18px var(--gutter);
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-size: 15px; font-weight: 500; color: var(--forest);
  position: relative; transition: color .2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-cta { padding: 13px 24px; font-size: 14px; }
.nav-burger {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--lime); color: var(--forest);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .2s, background .2s;
}
.nav-burger:hover { background: var(--green); transform: rotate(90deg); }
.nav-burger svg { width: 22px; height: 22px; }

.nav-mobile {
  display: none; flex-direction: column; gap: 8px;
  padding: 16px var(--gutter) 24px;
  background: var(--cream);
  border-top: 1px solid var(--hairline);
}
/* Mobile mega-menu accordion (inside the burger drawer) */
.nav-mobile .m-item { border-bottom: 1px solid var(--hairline); }
.nav-mobile .m-trigger {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 14px 2px; font-size: 18px; font-weight: 500; color: var(--forest);
  background: none; border: none; text-align: left;
}
.nav-mobile .m-caret { width: 18px; height: 18px; opacity: .7; transition: transform .2s; }
.nav-mobile .m-caret.open { transform: rotate(180deg); }
.nav-mobile .m-panel { display: flex; flex-direction: column; padding: 2px 0 14px 6px; }
.nav-mobile .m-col-h {
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(31, 59, 52, .5); font-weight: 600; margin: 8px 0 2px;
}
.nav-mobile .m-link { padding: 8px 0; font-size: 15px; color: var(--forest); }
.nav-mobile .m-foot { font-weight: 600; color: var(--green); }

/* Desktop mega-menu panels */
.nav.is-open {
  background: rgba(247, 245, 239, 0.97);
  backdrop-filter: saturate(1.3) blur(14px);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  box-shadow: 0 1px 0 var(--hairline);
}
.nav-item { position: static; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; }
.nav-caret { width: 14px; height: 14px; opacity: .7; transition: transform .2s; }
.nav-link[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }
.nav-panel-wrap {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 60;
  display: none; padding-top: 12px;
}
.nav-panel-wrap.is-open { display: block; }
.nav-panel {
  background: var(--white); border: 1px solid var(--hairline);
  border-radius: 22px; box-shadow: var(--shadow-card); padding: 26px 30px;
}
.nav-panel-cols { display: flex; gap: 0; align-items: stretch; }
.nav-col { flex: 1; min-width: 140px; padding: 0 26px; }
.nav-col:first-child { padding-left: 0; }
.nav-col:last-child { padding-right: 0; }
.nav-col + .nav-col { border-left: 1px solid var(--hairline); }
.nav-col-h {
  display: flex; align-items: center; gap: 7px;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(31, 59, 52, .5); font-weight: 600; margin: 0 0 12px;
}
.nav-col-icon { width: 14px; height: 14px; color: var(--green); flex-shrink: 0; }
.nav-col-link {
  display: block; padding: 6px 0; font-size: 14px; color: var(--forest);
  transition: color .15s, transform .15s;
}
.nav-col-link:hover { color: var(--green); transform: translateX(3px); }
.nav-featured {
  display: flex; flex-direction: column; gap: 8px; justify-content: center;
  min-width: 210px; background: var(--forest); color: var(--white);
  border-radius: 18px; padding: 18px 20px;
}
.nav-featured-eyebrow { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); }
.nav-featured-title { font-family: var(--font-display); font-size: 18px; line-height: 1.25; color: var(--white); }
.nav-featured-cta {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: 4px;
  background: var(--lime); color: var(--forest-deep); font-size: 13px; font-weight: 600;
  padding: 8px 15px; border-radius: var(--radius-pill);
}
.nav-featured-cta svg { width: 15px; height: 15px; }
.nav-panel-footer {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--hairline); font-size: 13px; font-weight: 600; color: var(--forest);
  transition: color .15s;
}
.nav-panel-footer:hover { color: var(--green); }
.nav-panel-footer svg { width: 15px; height: 15px; }
/* About dropdown: anchor to its own nav item (not the full-width bar) so it
   opens directly beneath "About", right-aligned. padding-top bridges the gap
   from the item to the bar bottom (~29px) plus the standard 12px drop. */
.nav-item-dropdown { position: relative; }
.nav-item-dropdown .nav-panel-wrap { left: auto; right: 0; padding-top: 41px; }
.nav-panel-dropdown { max-width: 240px; padding: 20px 22px; }
.nav-panel-dropdown .nav-col-link { padding: 7px 0; }

@media (max-width: 1100px) {
  .nav-links { display: none; }
  body.nav-open .nav-mobile { display: flex; }
}
@media (min-width: 1101px) {
  .nav-burger { display: none; }
  .nav-mobile { display: none !important; }
}
@media (max-width: 600px) {
  .nav-cta { display: none; }
}

/* === sections/Hero.css === */
.hero { padding-top: 16px; padding-bottom: 40px; }
.hero-wrap { display: flex; flex-direction: column; gap: 28px; }
.hero-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 0 4px; }

.hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; color: var(--forest);
  padding: 10px 20px; border: 1px solid var(--hairline); border-radius: var(--radius-pill);
  background: var(--white);
}
.hero-pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(138,199,61,0.18); }

.hero-reviews { display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-reviews-star {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--forest); color: var(--lime);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-reviews-star svg { width: 22px; height: 22px; }
.hero-reviews-google { display: inline-flex; align-items: center; }
.hero-reviews-google svg { width: 28px; height: 28px; }
.hero-reviews-banner {
  background: var(--lime); color: var(--forest); font-weight: 600; font-size: 14px;
  padding: 9px 20px; border-radius: var(--radius-pill);
  white-space: nowrap;
}
.hero-reviews-sub { font-size: 13px; color: var(--forest); white-space: nowrap; }
.hero-reviews-sub a { font-weight: 600; }

.hero-stage {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  min-height: 620px;
  background: var(--forest);
  box-shadow: var(--shadow-card);
}
.hero-photo { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-photo-tint {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(38,69,61,0.0) 0%, rgba(38,69,61,0.0) 50%, rgba(38,69,61,0.55) 100%);
}

.hero-card {
  position: absolute;
  left: 40px; top: 40px;
  width: min(640px, calc(100% - 80px));
  background: var(--cream);
  border-radius: var(--radius-card);
  padding: 44px 48px 48px;
  border: 1px solid rgba(51,90,81,0.08);
  box-shadow: 0 30px 60px -30px rgba(20, 43, 37, 0.28);
}
.hero-card h1 { margin-bottom: 20px; font-size: clamp(34px, 4.4vw, 62px); line-height: 1.05; letter-spacing: -0.02em; }
.hero-card h1 .dot { color: var(--green); }
@media (max-width: 700px) {
  .hero-card h1 { font-size: clamp(28px, 8vw, 40px); }
}
.hero-sub { font-size: 18px; line-height: 1.5; margin-bottom: 32px; max-width: 480px; }
.hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-squiggle { color: var(--lime); display: inline-flex; margin-left: 4px; }
.hero-squiggle svg { width: 88px; height: 28px; }

.hero-stats {
  position: absolute;
  left: 40px; bottom: 40px;
  width: min(640px, calc(100% - 80px));
  background: var(--forest);
  color: var(--white);
  border-radius: 20px;
  padding: 22px 30px;
  display: flex; align-items: center; gap: 28px;
}
.hs { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.hs-num { font-family: var(--font-display); font-size: 30px; font-weight: 500; line-height: 1; white-space: nowrap; }
.hs-num span { color: var(--lime); margin-left: 2px; }
.hs-lbl { font-size: 12px; letter-spacing: 0.02em; opacity: 0.85; white-space: nowrap; }
.hs-sep { width: 1px; align-self: stretch; background: rgba(255,255,255,0.18); }

@media (max-width: 1100px) {
  .hero-stage { min-height: 560px; }
  .hero-card { left: 24px; top: 24px; width: calc(100% - 48px); padding: 32px; }
  .hero-stats { left: 32px; right: 32px; bottom: 28px; width: auto; padding: 18px 22px; gap: 16px; }
  .hs-num { font-size: 22px; }
  .hs-lbl { font-size: 11px; }
}
@media (max-width: 700px) {
  .hero-stage { min-height: 0; display: flex; flex-direction: column; }
  .hero-photo { position: relative; height: 280px; }
  .hero-card { position: relative; left: auto; top: auto; width: auto; margin: -60px 12px 0; padding: 28px; }
  .hero-stats { position: relative; left: auto; right: auto; bottom: auto; margin: 16px 12px 12px; border-radius: 18px; padding: 16px 18px; gap: 10px; }
  .hero-squiggle { display: none; }
  .br-desktop { display: none; }
  .hero-top { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 460px) {
  .hero-stats { flex-direction: column; align-items: stretch; gap: 10px; padding: 14px 18px; }
  .hs-sep { display: none; }
  .hs { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 16px; }
  .hs-num { font-size: 20px; }
  .hs-lbl { font-size: 11px; text-align: right; }
  .hero-card h1 br { display: none; }
}

/* === sections/HowItWorks.css === */
.hiw { background: var(--cream); }
.hiw-intro { font-size: 16px; max-width: 360px; }
.hiw-list { display: flex; flex-direction: column; gap: 16px; }
.hiw-row { background: var(--forest); border-radius: 24px; overflow: hidden; transition: background .25s; }
.hiw-row.is-open { background: var(--forest); }
.hiw-head {
  width: 100%;
  display: grid;
  grid-template-columns: auto 140px 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 28px 36px;
  color: var(--white);
  text-align: left;
}
.hiw-num { font-family: var(--font-display); font-size: 44px; font-weight: 500; color: var(--lime); line-height: 1; min-width: 72px; }
.hiw-tag { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--lime); opacity: 0.9; }
.hiw-title { font-family: var(--font-display); font-size: clamp(20px, 2vw, 28px); font-weight: 500; color: var(--white); line-height: 1.25; }
.hiw-toggle {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--lime); color: var(--forest);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: transform .25s;
}
.hiw-toggle svg { width: 20px; height: 20px; }
.hiw-row.is-open .hiw-toggle { transform: rotate(180deg); }

.hiw-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; background: var(--cream); }
.hiw-row.is-open .hiw-panel { grid-template-rows: 1fr; }
.hiw-panel-inner { overflow: hidden; padding: 0 36px 0 244px; }
.hiw-row.is-open .hiw-panel-inner { padding: 28px 36px 36px 244px; border-top: 1px solid var(--hairline); }
.hiw-panel-inner p { margin-bottom: 12px; max-width: 780px; font-size: 16px; }
.hiw-panel-inner p:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
  .hiw-head {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "num tag tog" "title title title";
    gap: 14px 16px; padding: 22px 24px;
  }
  .hiw-num { grid-area: num; font-size: 36px; }
  .hiw-tag { grid-area: tag; align-self: center; }
  .hiw-title { grid-area: title; }
  .hiw-toggle { grid-area: tog; width: 40px; height: 40px; }
  .hiw-panel-inner, .hiw-row.is-open .hiw-panel-inner { padding-left: 24px; padding-right: 24px; }
  .hiw-row.is-open .hiw-panel-inner { padding-top: 22px; padding-bottom: 26px; }
}

/* === sections/Intro.css === */
.intro { padding-top: 40px; padding-bottom: 60px; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; padding: 40px 0 20px; border-top: 1px solid var(--hairline); }
.intro-text .eyebrow { margin-bottom: 20px; }
.intro-text h2 em { font-style: normal; color: var(--green); }
.intro-body p { margin-bottom: 18px; font-size: 17px; max-width: 540px; }
.intro-cta { margin-top: 14px; }
@media (max-width: 900px) { .intro-grid { grid-template-columns: 1fr; gap: 28px; } }

.services { background: var(--cream); }
.services-sub { max-width: 380px; font-size: 16px; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc-tile {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-tile);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.svc-tile:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -24px rgba(20,43,37,0.25); }
.svc-tile-img {
  position: relative; height: 220px;
  background-size: cover; background-position: center; background-color: var(--forest);
}
.svc-tile-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(51,90,81,0.0) 40%, rgba(51,90,81,0.35) 100%);
}
.svc-tile-chip {
  position: absolute; top: 16px; right: 16px; z-index: 1;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--lime); color: var(--forest);
  display: inline-flex; align-items: center; justify-content: center;
}
.svc-tile-chip svg { width: 22px; height: 22px; }
.svc-tile-body { padding: 24px 24px 28px; flex: 1; display: flex; flex-direction: column; }
.svc-tile-body h3 { font-size: 24px; margin-bottom: 8px; }
.svc-tile-body p { font-size: 15px; margin-bottom: 20px; flex: 1; }
.svc-tile-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14px; color: var(--forest);
  border-top: 1px solid var(--hairline); padding-top: 16px;
}
.svc-tile-link svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; }
.svc-tile:hover .svc-tile-link svg { transform: translateX(3px); }
.svc-tile-link svg { transition: transform .2s ease; }
@media (max-width: 1000px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

/* === sections/Testimonials.css === */
.tst { background: var(--cream); padding-top: 60px; }
.tst-rating { display: flex; align-items: center; gap: 16px; }
.tst-stars { display: inline-flex; gap: 2px; color: var(--lime); }
.tst-stars svg { width: 20px; height: 20px; }
.tst-google { display: inline-flex; align-items: center; }
.tst-google svg { width: 22px; height: 22px; }
.tst-rating-num { font-weight: 600; font-size: 15px; color: var(--forest); }
.tst-rating-link { font-size: 13px; text-decoration: underline; color: var(--forest); opacity: 0.75; }

.tst-card {
  position: relative;
  background: var(--forest); color: var(--white);
  border-radius: 32px;
  padding: 60px 72px 48px;
  overflow: hidden;
}
.tst-card::before {
  content: ""; position: absolute; right: -80px; top: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(194,223,41,0.22), transparent 70%);
}
.tst-mark { position: absolute; left: 48px; top: 8px; font-family: var(--font-display); font-size: 180px; color: var(--lime); opacity: 0.5; line-height: 1; }
.tst-quote {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 400; line-height: 1.35;
  max-width: 920px; margin: 24px 0 36px;
  color: var(--white); letter-spacing: -0.01em;
}
.tst-by { display: flex; align-items: center; gap: 14px; }
.tst-avatar { width: 52px; height: 52px; border-radius: 50%; background-size: cover; background-position: center; border: 2px solid var(--lime); }
.tst-name { font-weight: 600; font-size: 16px; }
.tst-loc { font-size: 13px; opacity: 0.7; }

.tst-roster {
  margin-top: 48px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.16);
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.tst-roster-label { font-size: 13px; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.7; }
.tst-roster-avatars { display: flex; align-items: center; gap: 0; }
.tst-chip {
  width: 44px; height: 44px; border-radius: 50%;
  background-size: cover; background-position: center;
  border: 2px solid var(--forest);
  margin-left: -10px;
  cursor: pointer; transition: transform .2s, border-color .2s;
}
.tst-chip:first-child { margin-left: 0; }
.tst-chip:hover { transform: translateY(-3px); }
.tst-chip.is-active { border-color: var(--lime); transform: translateY(-3px); }
.tst-plus {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--lime); color: var(--forest);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 12px;
  margin-left: -10px; border: 2px solid var(--forest);
}
.tst-all { margin-left: auto; border-color: rgba(255,255,255,0.4); color: var(--white); }
.tst-all:hover { background: var(--lime); color: var(--forest); border-color: var(--lime); }

@media (max-width: 800px) {
  .tst-card { padding: 44px 28px 32px; }
  .tst-mark { font-size: 120px; left: 20px; }
  .tst-roster { flex-direction: column; align-items: flex-start; }
  .tst-all { margin-left: 0; }
}

/* === sections/Mid.css === */
.lenders { background: var(--cream); padding: 80px 0; }
.lenders-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 40px; flex-wrap: wrap; }
.lenders-head h3 { max-width: 520px; }
.lenders-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px;
  background: var(--hairline); border: 1px solid var(--hairline);
  border-radius: 24px; overflow: hidden;
}
.lender-cell {
  background: var(--cream);
  padding: 36px 28px;
  display: flex; align-items: center; justify-content: center;
  min-height: 180px;
  filter: grayscale(1);
  opacity: 0.7;
  transition: background .25s, filter .25s, opacity .25s;
}
.lender-cell img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 104px;
  object-fit: contain;
}
.lender-cell:hover { background: var(--white); filter: grayscale(0); opacity: 1; }
@media (max-width: 900px) { .lenders-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 500px) { .lenders-grid { grid-template-columns: repeat(2, 1fr); } .lender-cell { padding: 28px 12px; font-size: 16px; } }

.rates { background: var(--cream); }
.rates-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.rates-text .eyebrow { margin-bottom: 20px; }
.rates-text h2 { margin-bottom: 18px; }
.rates-text p { font-size: 16px; max-width: 520px; margin-bottom: 28px; }
.rates-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.rates-panel { background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius-card); padding: 28px; box-shadow: var(--shadow-card); }
.rates-panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.rates-panel-label { font-weight: 600; font-size: 14px; color: var(--forest); }
.rates-panel-time { font-size: 12px; opacity: 0.6; }
.rates-panel-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(138,199,61,0.18); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 5px rgba(138,199,61,0.18); } 50% { box-shadow: 0 0 0 10px rgba(138,199,61,0); } }

.rates-list { display: flex; flex-direction: column; }
.rate-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--hairline);
}
.rate-row:last-child { border-bottom: none; }
.rate-lender { font-weight: 600; font-size: 15px; color: var(--forest); }
.rate-type { font-size: 12px; opacity: 0.65; margin-top: 2px; }
.rate-nums { text-align: right; }
.rate-num { font-family: var(--font-display); font-size: 28px; font-weight: 500; line-height: 1; color: var(--forest); }
.rate-num span { font-size: 16px; color: var(--green); margin-left: 1px; }
.rate-comp { font-size: 11px; opacity: 0.6; margin-top: 2px; }
.rates-panel-cta { width: 100%; margin-top: 8px; }
.rates-disclaimer { font-size: 11px; opacity: 0.5; text-align: center; margin-top: 14px; }
@media (max-width: 900px) { .rates-grid { grid-template-columns: 1fr; gap: 32px; } }

.podcast { background: var(--cream); }
.podcast-card {
  background: var(--forest); color: var(--white);
  border-radius: 32px; padding: 64px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  overflow: hidden; position: relative;
}
.podcast-text .eyebrow { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); color: var(--lime); margin-bottom: 20px; }
.podcast-text .eyebrow::before { background: var(--lime); }
.podcast-text h2 { color: var(--white); margin-bottom: 18px; }
.podcast-text p { color: rgba(255,255,255,0.8); margin-bottom: 28px; max-width: 460px; }
.podcast-ctas { display: flex; gap: 12px; }
.podcast-ctas .btn-ghost { border-color: rgba(255,255,255,0.4); color: var(--white); }
.podcast-ctas .btn-ghost:hover { background: var(--white); color: var(--forest); border-color: var(--white); }

.podcast-visual { display: flex; flex-direction: column; gap: 16px; }
.podcast-frame {
  position: relative; aspect-ratio: 16 / 10;
  background-size: cover; background-position: center; background-color: #284842;
  border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
}
.podcast-frame::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(51,90,81,0) 30%, rgba(51,90,81,0.7) 100%); }
.podcast-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--lime); color: var(--forest);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .2s;
}
.podcast-play svg { width: 26px; height: 26px; margin-left: 4px; }
.podcast-play:hover { transform: translate(-50%,-50%) scale(1.08); }
.podcast-waveform {
  position: absolute; left: 20px; right: 20px; bottom: 18px;
  height: 32px; display: flex; align-items: end; gap: 3px;
}
.podcast-waveform span { flex: 1; background: var(--lime); border-radius: 2px; opacity: 0.85; }
.podcast-meta { font-size: 13px; opacity: 0.7; display: flex; gap: 8px; }
.ig-video {
  position: relative; width: 340px; max-width: 100%; height: 412px;
  margin: 0 auto; overflow: hidden; border-radius: 18px;
  background: #111; border: 1px solid rgba(255,255,255,0.12);
}
.ig-video iframe { position: absolute; top: -54px; left: 0; width: 100%; height: 760px; border: 0; }
@media (max-width: 900px) { .podcast-card { grid-template-columns: 1fr; padding: 36px 28px; gap: 28px; } }

/* Home-page FAQ (numbered accordion rows — NOT the details/summary faq-item) */
.faq { background: var(--cream); }
.faq-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.faq-list-home { border-top: 1px solid var(--hairline); }
.faq-row { border-bottom: 1px solid var(--hairline); }
.faq-q-home {
  width: 100%;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 26px 8px;
  text-align: left;
  transition: color .2s;
}
.faq-num-home { font-family: var(--font-display); font-size: 22px; color: var(--green); font-weight: 500; }
.faq-q-text-home { font-family: var(--font-display); font-size: clamp(18px, 1.9vw, 26px); color: var(--forest); font-weight: 500; letter-spacing: -0.01em; }
.faq-toggle { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--hairline); background: var(--white); color: var(--forest); display: inline-flex; align-items: center; justify-content: center; }
.faq-toggle svg { width: 18px; height: 18px; }
.faq-row:hover .faq-toggle { background: var(--lime); border-color: var(--lime); }
.faq-row.is-open .faq-toggle { background: var(--forest); color: var(--white); border-color: var(--forest); }

.faq-a-home { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-row.is-open .faq-a-home { grid-template-rows: 1fr; }
.faq-a-inner-home { overflow: hidden; padding: 0 8px 0 112px; }
.faq-row.is-open .faq-a-inner-home { padding-bottom: 26px; }
.faq-a-inner-home p { font-size: 16px; max-width: 780px; }
@media (max-width: 700px) {
  .faq-q-home { grid-template-columns: 40px 1fr auto; gap: 14px; }
  .faq-a-inner-home { padding-left: 54px; }
}

/* === sections/Footer.css === */
.cta { background: var(--cream); padding-bottom: 0; padding-top: 40px; }
.cta-card {
  background: var(--lime-grad);
  border-radius: 32px;
  padding: 56px 64px;
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-card::before {
  content: ""; position: absolute; right: -40px; top: -40px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.3), transparent 70%);
}
.cta-text h2 { margin-bottom: 10px; max-width: 620px; color: var(--forest); }
.cta-text p { color: rgba(51,90,81,0.75); font-size: 16px; }
.cta-btn { background: var(--forest); color: var(--white); }
.cta-btn:hover { background: var(--forest-deep); }

.newsletter {
  display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap;
  padding: 48px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.newsletter-text .eyebrow { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); color: var(--lime); margin-bottom: 12px; }
.newsletter-text .eyebrow::before { background: var(--lime); }
.newsletter-text h3 { color: var(--white); }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  padding: 16px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: 15px;
  width: 320px; max-width: 100%;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form input:focus { outline: 2px solid var(--lime); }
.newsletter-form .btn-dark { background: var(--lime); color: var(--forest); }
.newsletter-form .btn-dark:hover { background: var(--green); }

.footer { background: var(--forest); color: var(--white); padding-bottom: 24px; margin-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: 64px 0 48px; }
.footer-brand .rs-logo-word { color: var(--white); }
.footer-tag { font-family: var(--font-display); font-size: 22px; color: var(--white); margin: 20px 0 28px; line-height: 1.3; max-width: 320px; }
.footer-contact { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: rgba(255,255,255,0.75); }
.footer-contact span { display: inline-block; width: 60px; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.1em; font-size: 10px; margin-right: 8px; }
.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--white); border: 1px solid rgba(255,255,255,0.25); transition: background .2s, color .2s, border-color .2s; }
.footer-social a:hover { background: var(--lime); color: var(--forest-deep); border-color: var(--lime); }
.footer-social svg { width: 18px; height: 18px; }

.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title { font-weight: 600; font-size: 14px; color: var(--lime); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 10px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.75); transition: color .2s; }
.footer-col a:hover { color: var(--lime); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px; color: rgba(255,255,255,0.55);
  flex-wrap: wrap; gap: 14px;
}
.footer-legal, .legal-links { display: flex; gap: 20px; }
.footer-legal a, .legal-links a { color: rgba(255,255,255,0.55); }
.footer-legal a:hover, .legal-links a:hover { color: var(--lime); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-card { padding: 36px 28px; }
  .newsletter-form { width: 100%; }
  .newsletter-form input { flex: 1; width: auto; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { width: 100%; }
}

/* === sub-page extras (page hero, pillars, values, timeline, etc.) === */
.ph { padding: 40px 0 80px; background: var(--cream); }
.ph-inner {
  padding: 72px; border-radius: 32px; position: relative; overflow: hidden;
  min-height: 480px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  background: var(--forest); color: var(--white);
}
.ph.photo .ph-inner { background-size: cover; background-position: center; }
.ph.photo .ph-inner::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(38,69,61,.92) 0%, rgba(38,69,61,.6) 55%, rgba(38,69,61,.15) 100%);
  z-index: 0;
}
.ph-inner > * { position: relative; z-index: 1; }
.ph .eyebrow { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); color: var(--lime); }
.ph .eyebrow::before { background: var(--lime); }
.ph h1 { color: var(--white); max-width: 860px; margin-bottom: 22px; }
.ph-lead { color: rgba(255,255,255,.88); max-width: 620px; font-size: 18px; line-height: 1.5; margin-bottom: 30px; }
.ph-foot { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.ph-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.ph .btn-ghost { border-color: rgba(255,255,255,.4); color: var(--white); background: transparent; }
.ph .btn-ghost:hover { background: var(--white); color: var(--forest); border-color: var(--white); }
.ph-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.ph-stat .n { font-family: var(--font-display); font-size: 32px; color: var(--white); }
.ph-stat .n em { font-style: normal; color: var(--lime); }
.ph-stat .l { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.ph-reviews { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 999px; padding: 6px 18px 6px 6px; }
.ph-reviews-star { width: 34px; height: 34px; border-radius: 50%; background: var(--lime); color: var(--forest); display: inline-flex; align-items: center; justify-content: center; }
.ph-reviews-star svg { width: 16px; height: 16px; }
.ph-reviews-google { display: inline-flex; align-items: center; }
.ph-reviews-google svg { width: 22px; height: 22px; }
.ph-reviews-txt { font-size: 12px; color: rgba(255,255,255,.9); }
@media (max-width: 900px) { .ph-inner { padding: 40px 28px; min-height: auto; } .ph h1 { font-size: 44px !important; } }

.section-intro { padding: 60px 0 20px; }
.section-intro p { font-size: 18px; max-width: 760px; line-height: 1.55; }

.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: 1fr 1fr; } .g2 { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 600px) { .g3, .g4 { grid-template-columns: 1fr; } }

.calc-chip { background: var(--white); border: 1px solid var(--hairline); border-radius: 14px; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; color: var(--forest); transition: all .2s; cursor: pointer; }
.calc-chip:hover { background: var(--forest); color: var(--white); transform: translateY(-2px); }
.calc-chip:hover .cc-arrow { color: var(--lime); }
.cc-arrow { color: var(--green); flex-shrink: 0; display: inline-flex; }
.cc-arrow svg { width: 16px; height: 16px; }

.impact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.impact-stat { background: var(--white); border: 1px solid var(--hairline); border-radius: 22px; padding: 32px 28px; }
.impact-num { font-family: var(--font-display); font-size: 40px; color: var(--forest); line-height: 1; margin-bottom: 8px; font-weight: 500; }
.impact-lbl { font-size: 13px; color: rgba(51,90,81,.7); line-height: 1.4; }
@media (max-width: 800px) { .impact { grid-template-columns: 1fr 1fr; } }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.team-card { background: var(--white); border: 1px solid var(--hairline); border-radius: 24px; overflow: hidden; transition: all .25s; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.team-photo { height: 320px; background-size: cover; background-position: center top; background-color: #e6e2d8; position: relative; }
.team-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(38,69,61,.25) 100%); }
.team-body { padding: 24px 26px; }
.team-role { font-size: 11px; color: var(--green); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; font-weight: 600; }
.team-name { font-family: var(--font-display); font-size: 24px; color: var(--forest); font-weight: 500; line-height: 1.1; }
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .team-grid { grid-template-columns: 1fr; } }

/* Compact team tile (About Us) — circle avatar + name/role + contact actions */
.team-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1200px; margin: 0 auto; }
.team-tile {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 22px;
  padding: 24px 22px 20px;
  display: flex; flex-direction: column; gap: 22px;
  transition: transform .25s, box-shadow .25s;
}
.team-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.team-tile-avatar {
  width: 96px; height: 96px; border-radius: 50%;
  background-size: cover; background-position: center;
  background-color: var(--stone);
  border: 1px solid var(--hairline);
}
.team-tile-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.team-tile-meta { min-width: 0; }
.team-tile-name { font-family: var(--font-display); font-size: 20px; font-weight: 500; color: var(--forest); line-height: 1.15; margin-bottom: 4px; }
.team-tile-role { font-size: 11px; color: rgba(51,90,81,.6); letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.team-tile-actions { display: flex; gap: 8px; flex-shrink: 0; }
.team-tile-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--lime); color: var(--forest);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s;
  cursor: pointer;
  border: none;
}
.team-tile-btn:hover { background: var(--green); transform: translateY(-1px); }
.team-tile-btn svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .team-tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .team-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .team-tiles { grid-template-columns: 1fr; } }

.tl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 60px; padding-top: 48px; position: relative; }
.tl::before { content: ""; position: absolute; top: 10px; left: 0; right: 0; height: 2px; background: var(--hairline); }
.tl-item { position: relative; }
.tl-item::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--lime); position: absolute; top: 0; left: 0; transform: translateY(-50%); box-shadow: 0 0 0 4px var(--cream), 0 0 0 5px var(--forest); }
.tl-year { font-family: var(--font-display); font-size: 32px; color: var(--forest); font-weight: 500; margin-bottom: 10px; margin-top: 20px; }
.tl-body { font-size: 14px; color: rgba(51,90,81,.75); }
@media (max-width: 700px) { .tl { grid-template-columns: 1fr 1fr; } }

.art-card { background: var(--white); border: 1px solid var(--hairline); border-radius: 24px; overflow: hidden; transition: all .25s; display: flex; flex-direction: column; }
.art-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.art-img { height: 220px; background-size: cover; background-position: center; background-color: #ddd; }
.art-body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.art-tag { font-size: 11px; color: var(--green); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.art-title { font-family: var(--font-display); font-size: 22px; color: var(--forest); font-weight: 500; line-height: 1.25; margin-bottom: 12px; flex: 1; }
.art-excerpt { font-size: 14px; color: rgba(51,90,81,.7); line-height: 1.5; margin-bottom: 18px; }
.art-link {
  font-size: 14px; font-weight: 600; color: var(--forest);
  display: inline-flex; align-items: center; gap: 8px;
  border-top: 1px solid var(--hairline); padding-top: 16px;
  margin-top: auto;
}
.art-link svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; transition: transform .2s ease; }
.art-card:hover .art-link svg { transform: translateX(3px); }
.art-link:hover { color: var(--green); }

.job { background: var(--white); border: 1px solid var(--hairline); border-radius: 20px; padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 12px; transition: all .2s; cursor: pointer; }
.job:hover { background: var(--forest); color: var(--white); transform: translateX(6px); }
.job:hover .job-t, .job:hover .job-l { color: var(--white); }
.job:hover .job-a { background: var(--lime); color: var(--forest); }
.job-t { font-family: var(--font-display); font-size: 22px; color: var(--forest); font-weight: 500; margin-bottom: 4px; }
.job-l { font-size: 13px; color: rgba(51,90,81,.7); display: flex; align-items: center; gap: 8px; }
.job-a { width: 44px; height: 44px; border-radius: 50%; background: var(--stone); color: var(--forest); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all .2s; }
.job-a svg { width: 18px; height: 18px; }

.pillar { background: var(--white); border: 1px solid var(--hairline); border-radius: 22px; padding: 32px 28px; transition: all .25s; }
.pillar:hover { background: var(--forest); color: var(--white); }
.pillar:hover h4, .pillar:hover p { color: var(--white); }
.pillar:hover .pillar-i { background: var(--white); color: var(--forest); }
.pillar-i { width: 52px; height: 52px; border-radius: 16px; background: var(--lime); color: var(--forest); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 22px; transition: all .25s; }
.pillar h4 { font-family: var(--font-display); font-size: 22px; font-weight: 500; margin-bottom: 10px; color: var(--forest); }
.pillar p { font-size: 14px; color: rgba(51,90,81,.75); line-height: 1.5; margin: 0; }

.value-card { background: var(--white); border: 1px solid var(--hairline); border-radius: 24px; padding: 36px; transition: all .25s; }
.value-card:hover { background: var(--forest); }
.value-card:hover h4, .value-card:hover p { color: var(--white); }
.value-num { font-family: var(--font-display); font-size: 56px; color: var(--lime); font-weight: 500; line-height: 1; margin-bottom: 20px; }
.value-card h4 { font-family: var(--font-display); font-weight: 500; font-size: 26px; color: var(--forest); margin-bottom: 12px; line-height: 1.2; }
.value-card p { font-size: 15px; color: rgba(51,90,81,.75); margin: 0; line-height: 1.55; }

.calc-w { background: var(--white); border: 1px solid var(--hairline); border-radius: 28px; padding: 40px; box-shadow: var(--shadow-card); max-width: 780px; }
.calc-w h3 { font-family: var(--font-display); font-size: 28px; color: var(--forest); margin-bottom: 24px; font-weight: 500; }
.calc-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 20px; }
.calc-field label { display: block; font-size: 13px; font-weight: 600; color: var(--forest); margin-bottom: 8px; }
.calc-field input { width: 100%; padding: 14px 18px; border: 1px solid var(--hairline); border-radius: 12px; font: inherit; font-size: 15px; color: var(--forest); background: var(--cream); }
.calc-field input:focus { outline: 2px solid var(--lime); outline-offset: -1px; border-color: var(--lime); }
.calc-output { background: var(--forest); color: var(--white); border-radius: 20px; padding: 28px 32px; display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 12px; }
.calc-output .n { font-family: var(--font-display); font-size: 44px; font-weight: 500; line-height: 1; }
.calc-output .n em { font-style: normal; color: var(--lime); font-size: 26px; }
.calc-output .l { font-size: 12px; opacity: .8; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 6px; }
@media (max-width: 700px) { .calc-form { grid-template-columns: 1fr; } }

.calc-field select {
  width: 100%; padding: 14px 18px; border: 1px solid var(--hairline); border-radius: 12px;
  font: inherit; font-size: 15px; color: var(--forest); background: var(--cream);
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23335A51' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}
.calc-field select:focus { outline: 2px solid var(--lime); outline-offset: -1px; border-color: var(--lime); }
.calc-field-hint { font-size: 12px; color: rgba(51,90,81,.6); margin-top: 6px; display: block; }
.calc-secondary {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px; margin-top: 18px;
}
.calc-secondary-item {
  background: var(--cream); border: 1px solid var(--hairline);
  border-radius: 14px; padding: 16px 18px;
}
.calc-secondary-label { font-size: 12px; color: rgba(51,90,81,.7); margin-bottom: 6px; letter-spacing: .02em; }
.calc-secondary-value { font-family: var(--font-display); font-size: 22px; color: var(--forest); font-weight: 500; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.contact-info { background: var(--forest); color: var(--white); border-radius: 28px; padding: 44px; position: sticky; top: 100px; background-image: radial-gradient(circle at 120% 0%, rgba(194,223,41,.12) 0%, transparent 50%); }
.contact-info h3 { color: var(--white); font-family: var(--font-display); font-size: 32px; margin-bottom: 14px; font-weight: 500; }
.contact-info p { color: rgba(255,255,255,.78); font-size: 15px; margin-bottom: 28px; line-height: 1.55; }
.contact-info .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--lime); margin-top: 22px; margin-bottom: 6px; display: block; }
.contact-info .val { font-size: 17px; font-weight: 500; color: var(--white); }
.contact-form-card { background: var(--white); border: 1px solid var(--hairline); border-radius: 28px; padding: 44px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-field { display: flex; flex-direction: column; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; font-weight: 600; color: var(--forest); margin-bottom: 8px; }
.form-field input, .form-field textarea { padding: 14px 18px; border: 1px solid var(--hairline); border-radius: 12px; font: inherit; font-size: 15px; color: var(--forest); background: var(--cream); resize: vertical; font-family: var(--font-body); }
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--lime); outline-offset: -1px; border-color: var(--lime); }
.form-field textarea { min-height: 130px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .contact-info { position: relative; top: 0; } .form-row { grid-template-columns: 1fr; } }

.pod-ep { background: var(--white); border: 1px solid var(--hairline); border-radius: 22px; padding: 28px; display: grid; grid-template-columns: 80px 1fr auto; gap: 24px; align-items: center; margin-bottom: 14px; transition: all .2s; cursor: pointer; }
.pod-ep:hover { transform: translateX(6px); box-shadow: var(--shadow-card); border-color: var(--forest); }
.pod-ep-num { font-family: var(--font-display); font-size: 48px; color: var(--lime); font-weight: 500; line-height: 1; -webkit-text-stroke: 1px var(--forest); }
.pod-ep-title { font-family: var(--font-display); font-size: 20px; color: var(--forest); font-weight: 500; line-height: 1.3; margin-bottom: 8px; }
.pod-ep-desc { font-size: 14px; color: rgba(51,90,81,.7); line-height: 1.5; max-width: 720px; }
.pod-ep-play { width: 52px; height: 52px; border-radius: 50%; background: var(--forest); color: var(--lime); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pod-ep-play svg { width: 18px; height: 18px; margin-left: 3px; }
@media (max-width: 700px) { .pod-ep { grid-template-columns: 60px 1fr; gap: 16px; } .pod-ep-play { grid-column: 1 / -1; justify-self: end; } }

/* sub-page FAQ (details/summary card style) */
.faq-list { max-width: 880px; }
.faq-item { background: var(--white); border: 1px solid var(--hairline); border-radius: 20px; margin-bottom: 12px; overflow: hidden; transition: all .2s; }
.faq-item[open] { border-color: var(--forest); box-shadow: var(--shadow-card); }
.faq-q { padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; cursor: pointer; list-style: none; font-family: var(--font-display); font-size: 20px; color: var(--forest); font-weight: 500; }
.faq-q::-webkit-details-marker { display: none; }
.faq-num { font-size: 12px; color: var(--green); font-family: var(--font-body); font-weight: 600; letter-spacing: .12em; margin-right: 16px; flex-shrink: 0; width: 24px; }
.faq-q-text { flex: 1; }
.faq-i { width: 40px; height: 40px; border-radius: 50%; background: var(--stone); color: var(--forest); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all .2s; }
.faq-item[open] .faq-i { background: var(--lime); transform: rotate(45deg); }
.faq-a { padding: 0 28px 28px 68px; font-size: 15px; color: rgba(51,90,81,.78); line-height: 1.6; }
.faq-a a { color: var(--green); font-weight: 600; }

.featured-blog { background: var(--white); border: 1px solid var(--hairline); border-radius: 28px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-bottom: 40px; }
.featured-blog-img { background-size: cover; background-position: center; min-height: 360px; }
.featured-blog-body { padding: 48px; }
@media (max-width: 800px) { .featured-blog { grid-template-columns: 1fr; } }

.section-dark { background: var(--forest); color: var(--white); padding: 100px 0; border-radius: 40px; margin: 40px 0; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,.78); }

/* ======================================================================
   Mobile responsiveness pass — overrides for narrow viewports.
   Uses !important on a few grid rules so inline-style gridTemplateColumns
   values on pages can't block stacking on small screens.
   ====================================================================== */

@media (max-width: 900px) {
  /* Grids with inline ratios (1.2fr 1fr, 1.3fr 1fr, etc.) must still collapse */
  .g2 { grid-template-columns: 1fr !important; gap: 32px; }
}

.calc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 900px) { .calc-grid { grid-template-columns: 1fr 1fr !important; } }
@media (max-width: 520px) { .calc-grid { grid-template-columns: 1fr !important; } }

/* Page hero — tighter padding and smaller H1 on mobile */
@media (max-width: 700px) {
  .ph { padding: 24px 0 48px; }
  .ph-inner { padding: 36px 26px; gap: 28px; }
  .ph h1 { font-size: clamp(28px, 7vw, 40px) !important; line-height: 1.08; margin-bottom: 14px; }
  .ph-lead { font-size: 16px; line-height: 1.55; margin-bottom: 20px; }
  .ph-ctas { width: 100%; }
  .ph-ctas .btn { flex: 1; min-width: 140px; }
  .ph-foot { gap: 20px; }
  .ph-stats { gap: 24px; }
  .ph-stat .n { font-size: 26px; }
}

/* Calculator widget tighter on mobile */
@media (max-width: 700px) {
  .calc-w { padding: 24px 22px; }
  .calc-w h3 { font-size: 22px; margin-bottom: 18px; }
  .calc-output { padding: 22px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .calc-output .n { font-size: 32px; }
  .calc-output .n em { font-size: 20px; }
}
@media (max-width: 500px) {
  .calc-w { padding: 20px 18px; }
  .calc-form { gap: 14px; margin-bottom: 14px; }
  .calc-secondary { grid-template-columns: 1fr; }
}

/* Team tiles foot — stack on narrow so names don't squish next to buttons */
@media (max-width: 600px) {
  .team-tile-foot { flex-direction: column; align-items: flex-start; gap: 14px; }
  .team-tile-actions { align-self: stretch; justify-content: flex-end; }
}

/* Impact stats — tighter + 1 col on tiny screens */
@media (max-width: 460px) {
  .impact { grid-template-columns: 1fr; }
  .impact-stat { padding: 22px 20px; }
  .impact-num { font-size: 32px; }
}

/* FAQ items — trim padding on small screens */
@media (max-width: 500px) {
  .faq-q { padding: 18px 20px; font-size: 16px; gap: 14px; }
  .faq-a { padding: 0 20px 22px 52px; font-size: 14px; }
  .faq-num { width: 18px; margin-right: 10px; }
  .faq-i { width: 34px; height: 34px; }
}

/* Home-page FAQ (numbered rows) — tighter padding */
@media (max-width: 500px) {
  .faq-q-home { padding: 20px 4px; gap: 12px; }
  .faq-a-inner-home { padding: 0 4px 0 56px; }
  .faq-toggle { width: 34px; height: 34px; }
}

/* Rates panel tighter on mobile */
@media (max-width: 500px) {
  .rates-panel { padding: 20px; }
  .rate-row { padding: 14px 0; }
  .rate-num { font-size: 22px; }
}

/* Section-dark inline pattern — reduce padding and tame the left/right margin */
@media (max-width: 700px) {
  .section-dark { padding: 56px 0; border-radius: 24px; margin: 24px 12px !important; }
}

/* Podcast card tighter on mobile */
@media (max-width: 500px) {
  .podcast-card { padding: 28px 22px; gap: 22px; border-radius: 24px; }
  .podcast-text h2 { font-size: 28px; }
}

/* Testimonial card tighter on mobile */
@media (max-width: 500px) {
  .tst-card { padding: 36px 22px 28px; border-radius: 24px; }
  .tst-mark { font-size: 100px; top: 4px; left: 14px; }
  .tst-quote { font-size: 20px; margin: 16px 0 28px; line-height: 1.4; }
  .tst-all { align-self: stretch; justify-content: center; }
}

/* Contact cards padding trim */
@media (max-width: 700px) {
  .contact-info { padding: 30px 26px; border-radius: 22px; }
  .contact-form-card { padding: 30px 26px; border-radius: 22px; }
}

/* CTA card smaller padding + text size on mobile */
@media (max-width: 700px) {
  .cta-card { padding: 32px 26px; border-radius: 24px; text-align: left; }
  .cta-text h2 { font-size: clamp(24px, 6vw, 32px); }
  .cta-btn { width: 100%; justify-content: center; }
}

/* Section headers — slimmer bottom margin on mobile */
@media (max-width: 700px) {
  .section-head { margin-bottom: 36px; }
  .section-head.center { margin-bottom: 32px; }
}

/* Job list (Careers) — tighter */
@media (max-width: 500px) {
  .job { padding: 18px 20px; }
  .job-t { font-size: 18px; }
  .job-a { width: 36px; height: 36px; }
}

/* Pillar cards */
@media (max-width: 500px) {
  .pillar { padding: 24px 22px; }
  .value-card { padding: 26px 22px; }
  .value-num { font-size: 44px; margin-bottom: 14px; }
}

/* Article cards */
@media (max-width: 500px) {
  .art-body { padding: 22px 20px; }
  .art-img { height: 180px; }
}

/* Lender grid — scale down image size on mobile */
@media (max-width: 700px) {
  .lender-cell { min-height: 140px; padding: 28px 18px; }
  .lender-cell img { max-height: 72px; }
}

/* Featured blog card padding tighter */
@media (max-width: 700px) {
  .featured-blog-body { padding: 28px 24px; }
  .featured-blog-body h2 { font-size: 26px !important; line-height: 1.15; }
}

/* Calculator output n breaks into column on narrow to avoid cutoff */
@media (max-width: 500px) {
  .calc-output > div:first-child { width: 100%; }
  .calc-output button { width: 100%; }
}

/* Nav burger bigger touch target + tidy at mobile */
@media (max-width: 500px) {
  .nav-inner { padding: 14px var(--gutter); }
  .nav-cta { display: none; }
}

/* Page-hero on About with 5 stats — allow wrap */
@media (max-width: 900px) {
  .ph-stats { gap: 20px 32px; }
}
