/* ============================================================
   Spindletop — website styles (modern refresh)
   Display: Fraunces (serif)  ·  Body/UI: Hanken Grotesk (sans)
   Brand: deep green on a warm off-white system
   Note: legacy variable + class names are preserved so the
   existing HTML (inline styles, all 8 pages) keeps working.
   ============================================================ */

/* ---- Design tokens ---- */
:root {
  /* brand greens */
  --brand:        #2f7d4f;   /* primary actions */
  --brand-dark:   #1e5638;   /* deep green — headings accents, hovers */
  --brand-deep:   #143626;   /* darkest */
  --brand-light:  #57a877;   /* lighter accent */
  --brand-tint:   #e9f2ec;   /* pale green wash */

  /* legacy green aliases (used by inline styles in the HTML) */
  --green:        var(--brand);
  --green-dark:   var(--brand-dark);
  --green-hero:   var(--brand-dark);
  --green-title:  var(--brand);
  --green-title2: var(--brand);

  /* ink / text */
  --ink:    #15201a;   /* near-black, headings */
  --head:   #1b2620;   /* subheads */
  --text:   #4a544e;   /* body copy */
  --text-2: #545d57;
  --muted:  #6c756f;   /* meta */
  --muted-2:#7a837d;

  /* surfaces — warm neutrals */
  --bg:          #faf8f3;   /* page background */
  --surface:     #ffffff;
  --surface-alt: #f1efe7;   /* warm sand alt sections */
  --surface-2:   #f6f4ec;
  --forest:      #132b1e;   /* dark sections / footer */
  --border:      #e6e2d6;
  --border-2:    #ddd9cc;

  /* fonts */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:    "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* legacy aliases */
  --serif:   var(--sans);
  --cursive: var(--display);

  /* layout */
  --container: 1200px;
  --section-pad: clamp(64px, 8vw, 108px);
  --radius:       8px;
  --radius-sm:    6px;
  --radius-pill:  999px;
  --radius-input: 8px;

  /* shadows */
  --shadow-sm: 0 1px 2px rgba(20, 39, 28, .06);
  --shadow:    0 12px 30px rgba(20, 39, 28, .08);
  --shadow-lg: 0 24px 60px rgba(20, 39, 28, .12);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   Top banner
   ============================================================ */
.banner {
  background: var(--brand-deep);
  padding: 9px 0;
  text-align: center;
}
.banner p {
  margin: 0;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .01em;
  line-height: 1.4;
  color: #dfeee4;
}

/* ============================================================
   Header + nav  (sticky, horizontal)
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 243, .82);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .container,
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}
/* header gets more room than the 1200px content container so all nav items fit */
.site-header > .container { max-width: 1340px; }
.logo {
  margin: 0;
  flex: none;
}
.logo a,
a.logo {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--brand-dark);
  line-height: 1;
}
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 2px;
}
.main-nav a {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .003em;
  color: var(--text);
  padding: 8px 9px;
  border-radius: 8px;
  white-space: nowrap;
  transition: color .15s ease, background .15s ease;
}
.main-nav a:hover { color: var(--brand-dark); background: var(--brand-tint); }
.main-nav a.active { color: var(--brand-dark); font-weight: 700; }
.nav-cta { margin-left: 10px; }
/* keep the CTA button white-on-green (override generic .main-nav a colour) */
.main-nav .nav-cta,
.main-nav .nav-cta:hover { color: #fff; background: var(--brand); }
.main-nav .nav-cta:hover { background: var(--brand-dark); }
.nav-cta.active { background: var(--brand); color: #fff; }

/* hamburger */
.nav-toggle {
  display: none;
  width: 44px; height: 40px;
  border: 1px solid var(--border-2);
  border-radius: 10px;
  background: var(--surface);
  position: relative;
  font-size: 0;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { transform: translate(-50%, -7px); }
.nav-toggle span::after  { transform: translate(-50%, 5px); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand);
  color: #fff;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .005em;
  border: none;
  border-radius: var(--radius);
  padding: 14px 30px;
  box-shadow: var(--shadow-sm);
  transition: background .18s ease, transform .12s ease, box-shadow .18s ease;
}
.btn:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--outline {
  background: transparent;
  color: var(--brand-dark);
  box-shadow: inset 0 0 0 1.5px var(--border-2);
}
.btn--outline:hover { background: var(--brand-tint); color: var(--brand-dark); box-shadow: inset 0 0 0 1.5px var(--brand-light); }

/* ============================================================
   Hero (home + sub-pages)
   ============================================================ */
.hero {
  position: relative;
  background: var(--forest);
}
.hero__bg {
  position: relative;
  background-image: url("assets/img/hero-home.jpg");
  background-size: cover;
  background-position: center center;
  /* fill the screen below the banner + sticky header, no overflow */
  min-height: calc(100vh - 108px);
  min-height: calc(100svh - 108px);
  padding: clamp(40px, 6vh, 72px) 0;
  display: flex;
  align-items: center;
}
/* dark gradient — keeps white text legible over any photo, image stays visible */
.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(8,22,15,.88) 0%, rgba(8,22,15,.68) 42%, rgba(8,22,15,.30) 78%, rgba(8,22,15,.18) 100%),
    linear-gradient(0deg, rgba(8,22,15,.45) 0%, rgba(8,22,15,0) 40%);
}
.hero__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  text-align: left;
  color: #fff;
}
.hero__card > * { max-width: 720px; }
.hero__phone {
  display: inline-block;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #9bdcb6;
  margin-bottom: 18px;
}
.hero__title {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-size: clamp(36px, 5.4vw, 58px);
  line-height: 1.06;
  font-weight: 500;
  letter-spacing: -.015em;
  color: #fff;
  margin: 0 0 22px;
  text-shadow: 0 2px 24px rgba(0,0,0,.28);
  text-wrap: balance;
}
.hero__sub {
  font-family: var(--sans);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.65;
  color: rgba(255,255,255,.9);
  margin: 0 0 30px;
}
.hero__card .hero__actions { justify-content: flex-start; }

/* Right-aligned hero variant (e.g. when the subject is on the left of the image) */
.hero--right .hero__bg::before {
  background:
    linear-gradient(280deg, rgba(8,22,15,.88) 0%, rgba(8,22,15,.68) 42%, rgba(8,22,15,.30) 78%, rgba(8,22,15,.18) 100%),
    linear-gradient(0deg, rgba(8,22,15,.45) 0%, rgba(8,22,15,0) 40%);
}
.hero--right .hero__card { text-align: right; }
.hero--right .hero__card > * { margin-left: auto; }
.hero--right .hero__actions { justify-content: flex-end; }
/* outline button reads white on the dark hero / CTA bands */
.hero .btn--outline,
.cta-band .btn--outline {
  color: #fff;
  background: transparent;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.65);
}
.hero .btn--outline:hover,
.cta-band .btn--outline:hover {
  color: #fff;
  background: rgba(255,255,255,.14);
  box-shadow: inset 0 0 0 1.5px #fff;
}

/* ============================================================
   Sections
   ============================================================ */
.section { padding: var(--section-pad) 0; background: var(--surface); }
.section--alt { background: var(--surface-alt); }

/* Right-aligned watermark (gusher) behind a section */
.section--watermark { position: relative; overflow: hidden; }
.section--watermark > .container { position: relative; z-index: 1; }
.section--watermark::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: clamp(-170px, -7vw, -70px);
  width: clamp(260px, 34vw, 440px);
  background: url("assets/img/Lucas_gusher.jpg") no-repeat right top;
  background-size: auto 132%;
  opacity: .38;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 760px) {
  .section--watermark::after { display: none; }
}

/* White CTA section with a faint oil-field watermark across the bottom */
.cta-field { position: relative; overflow: hidden; background: var(--surface); }
.cta-field > .container { position: relative; z-index: 1; }
.cta-field .cta-actions { justify-content: center; }
.cta-field .body-text,
.cta-field .lead .body-text { max-width: 60ch; margin-left: auto; margin-right: auto; text-align: center; }
.cta-field::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 82%;
  background: url("assets/img/spindletop-field.jpg") no-repeat center bottom;
  background-size: cover;
  opacity: .16;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 70%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 70%);
}

/* Section title — Fraunces, short flanking accents */
.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 0 clamp(36px, 5vw, 56px);
}
.section-title::before,
.section-title::after {
  content: "";
  flex: 0 0 36px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  opacity: .55;
}
.section-title span {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--ink);
  text-align: center;
  text-wrap: balance;
}
.section-title--plain { justify-content: center; }
.section-title--plain::before,
.section-title--plain::after { display: none; }

/* ============================================================
   Zigzag rows (home About)
   ============================================================ */
.zigzag { display: flex; flex-direction: column; gap: clamp(40px, 6vw, 72px); }
.zigrow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}
.zigrow:nth-child(even) .zigrow__media { order: 2; }
.zigrow__media img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.zigrow__body { text-align: left; }
.zigrow__body h4 { margin: 0 0 14px; }

/* ============================================================
   Card grid (services, testimonials)
   ============================================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
/* 5-card feature grid: 3 on top, 2 wide on the bottom row (desktop/laptop) */
.cards--feature { grid-template-columns: repeat(6, 1fr); }
.cards--feature > * { grid-column: span 2; }
.cards--feature > *:nth-child(4),
.cards--feature > *:nth-child(5) { grid-column: span 3; }

/* Generic text + image feature row */
.feature-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}
.feature-split__img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  object-position: center top;
  aspect-ratio: 4 / 5;
}
.card {
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 0 26px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 22px;
}
.card h4 { margin: 0 0 14px; padding: 0 26px; }
.card p, .card span { display: block; padding: 0 26px; }
.card .btn { margin: 0 26px; }

/* round-avatar / profile columns (Nader) */
.profile-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.profile-col {
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.profile-col:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.profile-col__img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center top;
}
.profile-col__body { padding: 28px; }
.avatar {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, #d8e8d6, #b9d3b6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dark);
  font-family: var(--display);
  font-size: 28px;
}
.profile-col h4 { margin: 0 0 14px; }

/* ============================================================
   Two-column split (success stories, articles)
   ============================================================ */
.split { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 600px; }
.split__text {
  padding: clamp(48px, 6vw, 80px) clamp(32px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split__text .section-title { justify-content: flex-start; margin-bottom: 32px; }
.split__text .section-title::before { display: none; }
.split__text .section-title::after { flex-basis: 28px; }
.split__text .section-title span { white-space: normal; text-align: left; }
.story {
  margin-bottom: 24px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-sm);
}
.story h4 { margin: 0 0 10px; }
.story p { margin: 0 0 8px; }
.story p:last-child { margin-bottom: 0; }
.story a { color: var(--brand-dark); word-break: break-word; }
.story a:hover { text-decoration: underline; }
.split__media { background-size: cover; background-position: center; }

/* ============================================================
   Typography helpers
   ============================================================ */
h1, h2, h3, h4, h5, h6 { font-family: var(--display); font-weight: 500; color: var(--ink); }
.h-sub {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -.005em;
  color: var(--head);
}
.body-text {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
}
.body-text em, em.accent { font-style: italic; color: var(--brand-dark); }
.show-more {
  display: inline-block;
  margin-top: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--brand-dark);
  cursor: pointer;
}
.show-more:hover { text-decoration: underline; }
.collapsible.collapsed .more { display: none; }

/* ============================================================
   Inspiration page
   ============================================================ */
.inspo-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}
.inspo-row img {
  height: 220px;
  width: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}
.metaphor { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 56px); align-items: center; }
.metaphor__text .body-text { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; }
.video-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ============================================================
   Subscribe
   ============================================================ */
.subscribe {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  max-width: 920px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
}
.subscribe h3 {
  font-family: var(--display);
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
}
.field { position: relative; }
.field label {
  position: absolute;
  top: 9px;
  left: 14px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  pointer-events: none;
}
.field input, .field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-input);
  padding: 26px 14px 10px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 140px; padding: 14px; resize: vertical; }

/* ============================================================
   Contact form
   ============================================================ */
.contact {
  max-width: 640px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow);
}
.contact .field { margin-bottom: 16px; }

/* Contact page — two-column layout (info + description / form) */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  max-width: 1060px;
  margin: 0 auto;
}
.contact-split .contact { max-width: none; margin: 0; }
.contact-intro h3 {
  font-family: var(--display);
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 18px;
}
.contact-intro .body-text { margin: 0 0 18px; }
.contact-list { display: grid; gap: 12px; margin-top: 26px; }
@media (max-width: 860px) {
  .contact-split { grid-template-columns: 1fr; }
}
.contact .btn { width: 100%; }
.contact__meta { text-align: center; margin-top: 24px; }
.contact__meta a { color: var(--brand-dark); font-weight: 600; }
.recaptcha-note { text-align: center; font-size: 13px; line-height: 1.5; color: var(--muted); margin-top: 16px; }
.form-status--ok {
  color: var(--brand-dark);
  background: var(--brand-tint, #eaf3ed);
  border: 1px solid rgba(47,125,79,.28);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.form-status--err {
  color: #9a2b2b;
  background: #fbecec;
  border: 1px solid rgba(154,43,43,.28);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.recaptcha-note a { color: var(--brand-dark); }

/* ============================================================
   Blog list
   ============================================================ */
.blog-list { display: grid; gap: 18px; max-width: 800px; margin: 0 auto; }
.post {
  padding: 28px 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.post:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post__date {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 10px;
}
.post h4 { margin: 0 0 12px; }
.post__excerpt { margin: 0 0 14px; }
.post a.continue { color: var(--brand-dark); font-weight: 600; }
.post a.continue:hover { text-decoration: underline; }

/* ============================================================
   About Nader Seifen
   ============================================================ */
.about-nader {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}
.about-nader__media { position: sticky; top: 96px; }
.portrait {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  object-position: center top;
}
.nader-lead-photo {
  display: block;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  margin: 0 auto 36px;
  border: 4px solid var(--surface);
  box-shadow: var(--shadow-lg);
}
.about-nader__body { text-align: left; }
.about-nader__body .body-text { margin: 0 0 18px; }
.about-nader__subhead { text-align: left; margin: 28px 0 14px; }
.cred-list { margin: 0 0 18px; padding-left: 24px; list-style: none; }
.cred-list li {
  position: relative;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 10px;
}
.cred-list li::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 10px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand);
}
.cred-list--cols { columns: 2; column-gap: 40px; }
.cred-list--cols li { break-inside: avoid; }
.about-nader__quote {
  margin: 30px 0;
  padding: 24px 28px;
  background: var(--brand-tint);
  border-radius: var(--radius);
  border-left: 4px solid var(--brand);
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.3;
  font-style: italic;
  color: var(--brand-dark);
  text-align: left;
}

/* ============================================================
   Module cards (Business Improvement Tools)
   ============================================================ */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.module-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.module-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.module-card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--brand-tint);
  color: var(--brand-dark);
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 16px;
}
.module-card h4 { margin: 0 0 12px; text-align: left; }
.module-card .body-text { flex: 1 1 auto; margin: 0 0 22px; font-size: 16px; }
.module-card .btn { align-self: flex-start; }

/* ============================================================
   Testimonial quote blocks
   ============================================================ */
.tcard {
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tcard .cat {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 12px;
}
.tcard .desc { margin: 0 0 18px; font-size: 16px; }
.tcard blockquote {
  position: relative;
  margin: auto 0 0;
  padding: 34px 22px 20px;
  background: var(--brand-tint);
  border-radius: var(--radius-sm);
  font-family: var(--display);
  font-size: 18px;
  font-style: italic;
  line-height: 1.45;
  color: var(--brand-dark);
}
.tcard blockquote::before {
  content: "\201C";
  position: absolute;
  top: 6px;
  left: 16px;
  font-family: var(--display);
  font-size: 54px;
  line-height: 1;
  color: var(--brand-light);
}

/* ============================================================
   Intro / lead
   ============================================================ */
.lead {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.lead .body-text { margin: 0 0 18px; font-size: clamp(17px, 1.5vw, 19px); }
.lead .btn { margin-top: 14px; }

/* ============================================================
   Read-article links
   ============================================================ */
.read-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-dark);
  border-bottom: 1px solid transparent;
  transition: border-color .15s ease, gap .15s ease;
}
.read-link::after { content: "\2197"; font-size: .95em; }
.read-link:hover { border-bottom-color: var(--brand); gap: 10px; }

/* ============================================================
   Franchise landing page helpers
   ============================================================ */
.lede-heading {
  display: block;
  text-align: center;
  margin: 0 auto 32px;
  max-width: 22ch;
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--ink);
}
.lede-heading--wide { max-width: 30ch; }
.hero__actions,
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.prose { max-width: 820px; margin: 0 auto; text-align: left; }
.prose .body-text { margin: 0 0 16px; }
.prose .cred-list { margin: 4px 0 18px; }

.faq { max-width: 840px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  color: var(--head);
}
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { flex: none; width: 22px; height: 22px; position: relative; color: var(--brand); }
.faq .plus::before,
.faq .plus::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); background: currentColor; border-radius: 1px;
}
.faq .plus::before { width: 14px; height: 2px; }
.faq .plus::after { width: 2px; height: 14px; transition: transform .2s ease; }
.faq details[open] .plus::after { transform: translate(-50%, -50%) scaleY(0); }
.faq__body { padding: 0 24px 22px; }
.faq__body p { margin: 0; font-size: 16.5px; line-height: 1.7; color: var(--text); }

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  max-width: 920px;
  margin: 0 auto;
}
.audience-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.audience-item svg { flex: none; color: var(--brand); }
.audience-item span { font-size: 16px; line-height: 1.3; color: var(--head); }

.cta-band { background: var(--forest); text-align: center; }
.cta-band .container { max-width: 780px; }
.cta-band .section-title span { color: #fff; }
.cta-band .body-text { margin: 0 auto 26px; max-width: 60ch; color: #cbe0d2; }
.cta-band .lead .body-text { color: #cbe0d2; }
.cta-band .cta-actions { justify-content: center; }
.cta-band .lede-heading { color: #fff; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { padding: 0; background: var(--forest); }
.footer-main {
  background: var(--forest);
  color: #e7eee9;
  padding: clamp(48px, 6vw, 72px) 0 44px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 44px;
}
.footer-brand .footer-logo {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 600;
  color: #fff;
  line-height: 1;
  margin: 0 0 16px;
}
.footer-brand p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #a9c1b3;
  max-width: 40ch;
}
.footer-col h5 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #79b894;
  margin: 0 0 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 11px; }
.footer-col a, .footer-col span {
  font-size: 15px;
  line-height: 1.5;
  color: #c2d4c9;
  transition: color .15s ease;
}
.footer-col a:hover { color: #fff; }
.footer-bar {
  background: rgba(0,0,0,.22);
  text-align: center;
  padding: 18px 0;
}
.footer-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-bar .copyright,
.footer-bar .powered { font-size: 13px; line-height: 1.5; color: #8aa495; }
.footer-bar a { color: #9fcbb1; transition: color .15s ease; }
.footer-bar a:hover { color: #fff; }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Focus + interaction polish
   ============================================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(47, 125, 79, 0.15);
  outline: none;
}

/* type niceties */
.body-text,
.lead p,
.post__excerpt { text-wrap: pretty; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .zigrow,
  .cards,
  .profile-cols,
  .split,
  .metaphor,
  .modules-grid,
  .subscribe { grid-template-columns: 1fr; }
  .zigrow:nth-child(even) .zigrow__media { order: 0; }
  .split { min-height: 0; }
  .split__media { min-height: 300px; }
  .subscribe { text-align: center; }
  .about-nader { grid-template-columns: 1fr; gap: 32px; }
  .about-nader__media { position: static; max-width: 320px; margin: 0 auto; }
  .cred-list--cols { columns: 1; }
  .cards--feature { grid-template-columns: 1fr; }
  .cards--feature > * { grid-column: auto; }
  .feature-split { grid-template-columns: 1fr; }
}
@media (max-width: 1180px) {
  /* mobile nav */
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 10px 16px 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .28s ease, padding .28s ease;
  }
  .main-nav:not(.open) { padding-top: 0; padding-bottom: 0; }
  .main-nav.open { max-height: 80vh; }
  .main-nav a { padding: 12px 14px; font-size: 15px; }
  .nav-cta { margin: 8px 0 0; text-align: center; }
}
@media (max-width: 760px) {
  .hero__card { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .footer-brand p { max-width: none; margin-inline: auto; }
  .cards { gap: 22px; }
  .footer-bar .container { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  * { scroll-behavior: auto !important; }
}
