/*
 * Revenue Fox & Co. — Main Stylesheet
 *
 * Fonts: Sora (headings) + Source Sans 3 (body) via Google Fonts
 * Fallbacks: Georgia → serif (headings), Arial → system-ui (body)
 *
 * Color tokens (from brand guidelines):
 *   --midnight-ink  #10233F  header, footer, dark panels, headlines
 *   --fox-rust      #C85A2E  CTAs ONLY — primary buttons, CTA emphasis
 *   --bold-green    #3F7D4E  icons, labels, accents, proof metrics
 *   --warm-ivory    #FFF8EE  primary page background
 *   --soft-sand     #F1E4D2  cards, secondary section bands
 *   --graphite      #2A2E33  body text
 *   --pale-stone    #DED5CA  borders, dividers
 */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700&family=Source+Sans+3:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* ============================================================
   0. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Brand colors */
  --midnight-ink:    #10233F;
  --fox-rust:        #C85A2E;
  --fox-rust-dark:   #A84822;
  --bold-green:      #3F7D4E;
  --bold-green-dim:  rgba(63, 125, 78, 0.12);
  --warm-ivory:      #FFFCF7;
  --soft-sand:       #F7F2EA;
  --porcelain:       #FAF7F2;
  --graphite:        #2A2E33;
  --pale-stone:      #E8E1D8;
  --white:           #FFFFFF;

  /* Typography */
  --font-heading: 'Sora', Georgia, 'Times New Roman', serif;
  --font-body:    'Source Sans 3', Arial, system-ui, sans-serif;

  /* Layout */
  --container-max:  1140px;
  --container-pad:  clamp(20px, 4vw, 32px);
  --section-pad-y:  clamp(64px, 8vw, 112px);
  --card-pad:       clamp(22px, 3vw, 32px);

  /* Radii */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;

  /* Borders */
  --border:  1px solid var(--pale-stone);

  /* Shadows */
  --shadow-card:       0 1px 3px rgba(16,35,63,0.06), 0 2px 8px rgba(16,35,63,0.04);
  --shadow-card-hover: 0 4px 20px rgba(16,35,63,0.10), 0 2px 8px rgba(16,35,63,0.06);

  /* Transitions */
  --ease: 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ============================================================
   1. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--graphite);
  background-color: var(--warm-ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--fox-rust);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  z-index: 9999;
  transition: top var(--ease);
}
.skip-link:focus { top: 8px; }

/* ============================================================
   2. LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--section-pad-y);
}

/* Backgrounds */
.bg-midnight { background: linear-gradient(160deg, #15294a 0%, #0c1b30 100%); }
.bg-green    { background: linear-gradient(160deg, #468a5b 0%, #356b43 100%); }
.bg-ivory    { background-color: var(--warm-ivory); }
.bg-sand     { background-color: var(--soft-sand); }
.bg-white    { background-color: var(--white); }

/* Text on dark */
.text-on-dark h1,
.text-on-dark h2,
.text-on-dark h3,
.text-on-dark h4  { color: var(--white); }
.text-on-dark p,
.text-on-dark .lead { color: rgba(255,255,255,0.78); }
.text-on-dark .label { color: var(--bold-green); }

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--midnight-ink);
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 600;
  text-wrap: balance;
}
h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h3 { font-size: clamp(18px, 2vw, 22px);  font-weight: 600; }
h4 { font-size: 16px; font-weight: 600; }

p { margin-bottom: 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

/* Section label — small all-caps in Bold Green */
.label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bold-green);
  display: block;
}

/* Larger intro paragraph */
.lead {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.65;
  color: var(--graphite);
}

/* Green accent divider */
.divider {
  display: block;
  width: 44px;
  height: 3px;
  background-color: var(--bold-green);
  border-radius: 2px;
  margin-bottom: 24px;
}
.divider.centered { margin-inline: auto; }

/* Section header block */
.section-header {
  margin-bottom: 48px;
}
.section-header .label { margin-bottom: 10px; }
.section-header h2    { margin-bottom: 16px; }
.section-header p     { max-width: 640px; }
.section-header.centered { text-align: center; }
.section-header.centered p { margin-inline: auto; }

/* ============================================================
   4. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background-color var(--ease), color var(--ease),
              border-color var(--ease), box-shadow var(--ease),
              transform var(--ease);
}

/* Fox Rust — CTAs only */
.btn-primary {
  background-color: var(--fox-rust);
  color: var(--white);
  border: 2px solid transparent;
  box-shadow: 0 2px 10px rgba(200,90,46,0.28);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: #D8642F;
  border-color: #D8642F;
  box-shadow: 0 6px 18px rgba(200,90,46,0.34);
}
.btn-primary:active {
  background-color: var(--fox-rust-dark);
  border-color: var(--fox-rust-dark);
}

/* Midnight Ink outline — secondary */
.btn-secondary {
  background-color: transparent;
  color: var(--midnight-ink);
  border: 2px solid var(--midnight-ink);
}
.btn-secondary:hover,
.btn-secondary:focus-visible {
  background-color: var(--midnight-ink);
  color: var(--white);
}

/* White outline — secondary on dark backgrounds */
.btn-secondary-light {
  background-color: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.45);
}
.btn-secondary-light:hover,
.btn-secondary-light:focus-visible {
  border-color: var(--white);
  background-color: rgba(255,255,255,0.08);
}

.btn:focus-visible { outline: 2px solid var(--fox-rust); outline-offset: 2px; }
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ============================================================
   5. HEADER & NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background-color: var(--midnight-ink);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}

.nav-logo img { height: 82px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.72);
  border-radius: var(--radius-sm);
  transition: color var(--ease), background-color var(--ease);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background-color: rgba(255,255,255,0.07);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 5px;
  border-radius: var(--radius-sm);
  color: var(--white);
  transition: background-color var(--ease);
}
.nav-toggle:hover { background-color: rgba(255,255,255,0.08); }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: currentColor;
  border-radius: 1px;
  transition: transform var(--ease), opacity var(--ease);
  transform-origin: center;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.nav-mobile {
  display: none;
  position: fixed;
  top: 68px;
  inset-inline: 0;
  bottom: 0;
  background-color: var(--midnight-ink);
  z-index: 199;
  padding: 24px var(--container-pad);
  overflow-y: auto;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.nav-mobile.is-open { display: block; }
.nav-mobile a {
  display: block;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 600;
  color: rgba(255,255,255,0.80);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color var(--ease);
}
.nav-mobile a:hover { color: var(--white); }
.nav-mobile a.active { color: var(--white); }
.nav-mobile a:last-of-type { border-bottom: none; }
.nav-mobile .btn-primary {
  display: block;
  text-align: center;
  margin-top: 28px;
  padding: 16px;
}

/* ============================================================
   6. FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--midnight-ink);
  padding-block: 60px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p {
  font-size: 15px;
  color: rgba(255,255,255,0.58);
  line-height: 1.65;
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bold-green);
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a {
  font-size: 15px;
  color: rgba(255,255,255,0.60);
  transition: color var(--ease);
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

/* ============================================================
   7. HERO — SHARED BASE
   ============================================================ */
.hero {
  background-color: var(--midnight-ink);
  padding-block: 96px 88px;
  position: relative;
  overflow: hidden;
}

.hero .label  { margin-bottom: 16px; }
.hero h1      { color: var(--white); margin-bottom: 24px; }
.hero .lead   { color: rgba(255,255,255,0.78); margin-bottom: 36px; max-width: 680px; }

.hero-credibility {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.10);
  font-size: 14px;
  color: rgba(255,255,255,0.46);
  font-style: italic;
  max-width: 600px;
}

/* Interior pages — narrower hero */
.hero-sm {
  padding-block: 64px 56px;
  background: linear-gradient(160deg, #122742 0%, #0a182a 100%);
}
.hero-sm h1 { font-size: clamp(28px, 4vw, 46px); }
.hero-sm .lead { max-width: 720px; }

/* ============================================================
   8. HOME — PROBLEM SECTION
   ============================================================ */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.problem-card {
  background-color: var(--soft-sand);
  border: var(--border);
  border-radius: var(--radius-md);
  padding: var(--card-pad);
  transition: box-shadow var(--ease), transform var(--ease);
}
.problem-card:hover {
  box-shadow: 0 14px 32px rgba(16,35,63,0.12), 0 2px 8px rgba(16,35,63,0.06);
  transform: translateY(-4px);
}
.problem-card-icon {
  width: 38px;
  height: 38px;
  color: var(--bold-green);
  margin-bottom: 14px;
  flex-shrink: 0;
}
.problem-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.35;
}
.problem-card p {
  font-size: 14px;
  color: var(--graphite);
  margin-bottom: 0;
  line-height: 1.6;
}

.pain-kicker {
  margin-top: 40px;
  font-size: 16px;
  font-weight: 600;
  font-style: italic;
  color: var(--midnight-ink);
  padding-left: 18px;
  border-left: 3px solid var(--bold-green);
}

/* ============================================================
   9. HOME — BRIDGE SECTION
   ============================================================ */
.bridge-inner { max-width: 740px; }
.bridge-inner h2 { margin-bottom: 18px; }
.bridge-inner .lead { margin-bottom: 20px; }

/* ============================================================
   10. HOME — SERVICES PREVIEW
   ============================================================ */
.services-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.service-preview-card {
  background-color: var(--porcelain);
  border: var(--border);
  border-radius: var(--radius-md);
  padding: var(--card-pad);
  transition: box-shadow var(--ease), transform var(--ease);
}
.service-preview-card:hover {
  box-shadow: 0 14px 32px rgba(16,35,63,0.12), 0 2px 8px rgba(16,35,63,0.06);
  transform: translateY(-4px);
}
.service-preview-card-icon {
  width: 40px;
  height: 40px;
  color: var(--bold-green);
  margin-bottom: 16px;
}
.service-preview-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-preview-card p  { font-size: 15px; color: var(--graphite); margin-bottom: 0; }

.services-flex-note {
  margin-top: 32px;
  text-align: center;
  font-size: 19px;
  color: var(--bold-green);
  font-style: normal;
}
.services-flex-note a {
  color: var(--midnight-ink);
  font-weight: 600;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1.5px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 1px;
  transition: background-size 220ms cubic-bezier(0.2,0.8,0.2,1), color 180ms ease;
}
.services-flex-note a:hover { color: var(--fox-rust); background-size: 100% 1.5px; }

/* ============================================================
   11. HOME — PROCESS SECTION (dark background)
   ============================================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 48px;
  position: relative;
}

/* Connector line removed per design preference */

.process-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: rgba(63,125,78,0.14);
  border: 2px solid var(--bold-green);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--bold-green);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.process-step h3 {
  color: var(--white);
  font-size: 22px;
  margin-bottom: 12px;
}
.process-step p {
  color: rgba(255,255,255,0.68);
  font-size: 15px;
  margin-bottom: 0;
  line-height: 1.7;
}

/* ============================================================
   12. HOME — PROOF SECTION
   ============================================================ */
.proof-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  background: transparent;
  border: none;
  margin-bottom: 24px;
}

.proof-stat {
  background-color: var(--white);
  padding: 36px 24px;
  text-align: center;
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(16,35,63,0.05), 0 10px 24px rgba(16,35,63,0.06);
}
.proof-stat-value {
  font-family: var(--font-heading);
  font-size: clamp(44px, 5.5vw, 76px);
  font-weight: 700;
  color: var(--bold-green);
  line-height: 1;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.proof-stat-label {
  font-size: 14px;
  color: var(--graphite);
  line-height: 1.5;
}

.proof-note {
  font-size: 13px;
  color: var(--graphite);
  text-align: center;
  font-style: italic;
  opacity: 0.65;
}

/* ============================================================
   13. HOME — FIT SECTION
   ============================================================ */
.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.fit-card {
  border-radius: var(--radius-md);
  border: var(--border);
  padding: var(--card-pad);
}
.fit-card-for  { background-color: rgba(63,125,78,0.05); border-color: rgba(63,125,78,0.22); }
.fit-card-not  { background-color: var(--soft-sand); }

.fit-card-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: var(--border);
}
.fit-card-for .fit-card-heading { color: var(--bold-green); }
.fit-card-not .fit-card-heading { color: var(--graphite); opacity: 0.55; }

.fit-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  margin-bottom: 12px;
  line-height: 1.55;
}
.fit-list li:last-child { margin-bottom: 0; }
.fit-check, .fit-x {
  flex-shrink: 0;
  margin-top: 2px;
}
.fit-check { color: var(--bold-green); }
.fit-x     { color: var(--pale-stone); }

/* ============================================================
   14. FINAL CTA BAND
   ============================================================ */
.cta-band {
  padding-block: 80px;
  text-align: center;
}
.cta-band h2 {
  color: var(--white);
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: 16px;
}
.cta-band .lead {
  color: rgba(255,255,255,0.70);
  max-width: 500px;
  margin-inline: auto;
  margin-bottom: 36px;
}
.cta-band .btn-group { justify-content: center; }

/* ============================================================
   15. SERVICES PAGE
   ============================================================ */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  padding-block: 36px;
  border-bottom: var(--border);
}
.service-block:first-child { padding-top: 0; }
.service-block:last-child  { border-bottom: none; padding-bottom: 0; }

.service-block-meta { display: flex; flex-direction: column; }
.service-block-icon {
  width: 48px;
  height: 48px;
  color: var(--bold-green);
  margin-bottom: 20px;
}
.service-block .label  { margin-bottom: 10px; }
.service-block h2      { font-size: clamp(22px, 2.5vw, 30px); margin-bottom: 14px; }
.service-block .service-for {
  font-size: 15px;
  color: var(--graphite);
  font-style: italic;
  border-top: var(--border);
  padding-top: 14px;
  margin-top: 6px;
  line-height: 1.65;
}
.service-block p { font-size: 16px; margin-top: 14px; }

/* Deliverables card */
.deliverables {
  background-color: var(--soft-sand);
  border: var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  position: sticky;
  top: 88px;
}
.deliverables-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bold-green);
  margin-bottom: 16px;
  display: block;
}
.deliverables ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  margin-bottom: 11px;
  line-height: 1.55;
}
.deliverables ul li:last-child { margin-bottom: 0; }
.deliverables .check { color: var(--bold-green); flex-shrink: 0; margin-top: 2px; }

/* Engagement models */
.engagement-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.engagement-card {
  background-color: var(--white);
  border: var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}
.engagement-card h3 { font-size: 17px; margin-bottom: 8px; }
.engagement-card p  { font-size: 14px; color: var(--graphite); margin-bottom: 0; line-height: 1.6; }

/* Services page CTA */
.services-cta {
  background-color: var(--soft-sand);
  border: var(--border);
  border-radius: var(--radius-md);
  padding: clamp(36px, 5vw, 56px);
  text-align: center;
  margin-top: 64px;
}
.services-cta h2 { font-size: clamp(20px, 2.5vw, 28px); margin-bottom: 12px; }
.services-cta p  { font-size: 16px; max-width: 540px; margin-inline: auto; margin-bottom: 28px; }
.services-cta .btn-group { justify-content: center; }

/* ============================================================
   16. ABOUT PAGE
   ============================================================ */
.about-intro {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-copy h2    { font-size: clamp(24px, 3vw, 34px); margin-bottom: 20px; }
.about-copy p     { font-size: 16px; line-height: 1.80; max-width: 64ch; }

/* Headshot placeholder */
.headshot-slot {
  background-color: var(--soft-sand);
  border: var(--border);
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 24px;
  position: sticky;
  top: 88px;
}
.headshot-slot svg   { width: 48px; height: 48px; color: var(--pale-stone); }
.headshot-slot span  { font-size: 13px; color: rgba(42,46,51,0.45); font-style: italic; line-height: 1.5; }

/* Differentiators */
.differentiators-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.differentiator-card {
  background-color: var(--white);
  border: var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}
.differentiator-icon { width: 36px; height: 36px; color: var(--bold-green); margin-bottom: 14px; }
.differentiator-card h3 { font-size: 16px; margin-bottom: 8px; }
.differentiator-card p  { font-size: 14px; color: var(--graphite); margin-bottom: 0; line-height: 1.6; }

/* Principles */
.principles-list { display: flex; flex-direction: column; }
.principle-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding-block: 20px;
  border-bottom: var(--border);
}
.principle-item:last-child { border-bottom: none; }
.principle-num {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--bold-green);
  min-width: 24px;
  padding-top: 3px;
}
.principle-item h3 { font-size: 16px; margin-bottom: 4px; }
.principle-item p  { font-size: 14px; color: var(--graphite); margin-bottom: 0; line-height: 1.6; }

/* ============================================================
   17. CONTACT PAGE
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 56px;
  align-items: start;
}

/* Form */
.contact-form-card {
  background-color: var(--white);
  border: var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--midnight-ink);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--graphite);
  background-color: var(--warm-ivory);
  border: 1px solid var(--pale-stone);
  border-radius: var(--radius-sm);
  transition: border-color var(--ease), box-shadow var(--ease);
  appearance: none;
  -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232A2E33' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--midnight-ink);
  box-shadow: 0 0 0 3px rgba(16,35,63,0.08);
}
.form-group input[aria-invalid="true"],
.form-group select[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
  border-color: var(--fox-rust);
}

.field-error {
  font-size: 12px;
  color: var(--fox-rust);
  display: none;
}
.field-error.visible { display: block; }

.form-actions { margin-top: 8px; }

/* Success message */
.form-success-msg {
  display: none;
  background-color: rgba(63,125,78,0.08);
  border: 1px solid rgba(63,125,78,0.28);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  font-size: 15px;
  color: var(--bold-green);
  margin-top: 16px;
  line-height: 1.6;
}
.form-success-msg.visible { display: block; }

/* Contact sidebar */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 88px;
}
.contact-info-block {
  background-color: var(--soft-sand);
  border: var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}
.contact-info-block h3 { font-size: 16px; margin-bottom: 8px; }
.contact-info-block p  { font-size: 14px; color: var(--graphite); margin-bottom: 12px; }
.contact-info-block a {
  font-weight: 600;
  color: var(--midnight-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 15px;
  transition: color var(--ease);
}
.contact-info-block a:hover { color: var(--fox-rust); }

/* Two-box contact layout on dark background */
.contact-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 36px;
}
.contact-boxes-note {
  max-width: 580px;
  margin-inline: auto;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
  text-align: center;
}
.bg-midnight .contact-info-block {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: left;
}
.bg-midnight .contact-info-block h3 { color: #ffffff; }
.bg-midnight .contact-info-block p  { color: rgba(255, 255, 255, 0.70); }
.bg-midnight .contact-info-block a  { color: var(--warm-ivory); }
.bg-midnight .contact-info-block a:hover { color: #ffffff; }

.contact-reassurance {
  padding: 20px;
  border-left: 3px solid var(--bold-green);
  background-color: rgba(63,125,78,0.04);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14px;
  font-style: italic;
  color: var(--graphite);
  line-height: 1.7;
}

/* ============================================================
   18. HERO EXTRAS
   ============================================================ */

/* Fox watermark in hero */
.hero-fox-mark {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 380px;
  height: auto;
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
}

/* Light-background hero variant (used on homepage) */
.hero-light {
  background-color: #0d1e2e; /* fallback while image loads */
  background-image: url('/images/hero-fox.jpg');
  background-size: cover;
  background-position: center 38%;
  padding-block: clamp(120px, 14vw, 180px) clamp(96px, 11vw, 132px);
}
.hero-light::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    155deg,
    rgba(8, 20, 40, 0.82) 0%,
    rgba(8, 20, 40, 0.62) 50%,
    rgba(8, 20, 40, 0.32) 100%
  );
  z-index: 0;
}
.hero-light .container {
  position: relative;
  z-index: 1;
}
.hero-light h1    { color: #ffffff; text-shadow: 0 2px 24px rgba(0,0,0,0.55), 0 1px 4px rgba(0,0,0,0.35); }
.hero-light .lead { color: rgba(255, 255, 255, 0.88); }
.hero-light .hero-fox-mark { display: none; } /* real fox photo in use */
.hero-light .hero-mini-stats {
  border-top-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.55);
}

/* Fox Rust accent rule above H1 */
.hero-rule {
  width: 48px;
  height: 3px;
  background-color: var(--fox-rust);
  border-radius: 2px;
  margin-block: 16px 28px;
}

/* Compact credential bar below CTAs */
.hero-mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.10);
  font-size: 13px;
  color: rgba(255,255,255,0.46);
  font-style: italic;
}
.hero-mini-stats span[aria-hidden] { color: rgba(255,255,255,0.22); }

/* ============================================================
   19. SYMPTOM LIST (replaces problem card grid)
   ============================================================ */
.symptom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 8px;
}
.symptom-card {
  background: var(--porcelain);
  border: 1px solid var(--pale-stone);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.symptom-num {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--bold-green);
  flex-shrink: 0;
  padding-top: 3px;
}
.symptom-text {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--midnight-ink);
  line-height: 1.35;
}

/* ============================================================
   20. STATEMENT MOMENT (bold typographic section)
   ============================================================ */
.statement-section {
  padding-block: 56px;
}
.statement-quote {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.18;
  max-width: 820px;
  margin-bottom: 24px;
}
.statement-quote em {
  font-style: normal;
  color: var(--fox-rust);
}
.statement-sub {
  font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(255,255,255,0.55);
  max-width: 520px;
  margin-bottom: 0;
  line-height: 1.7;
}

/* ============================================================
   21. WHO IT'S FOR SECTION
   ============================================================ */
.who-its-for-inner {
  max-width: 780px;
}
.who-its-for-inner h2 {
  font-size: clamp(22px, 2.8vw, 32px);
  margin-bottom: 24px;
}
.who-its-for-inner > p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--graphite);
  max-width: 64ch;
}

.who-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-block: 28px;
}
.who-split-col {
  padding: 24px 28px;
  border-radius: var(--radius-md);
}
.who-split-col--for {
  background: rgba(63, 125, 78, 0.07);
  border-top: 3px solid var(--bold-green);
}
.who-split-col--not {
  background: var(--porcelain);
  border-top: 3px solid var(--pale-stone);
}
.who-split-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}
.who-split-label--for { color: var(--bold-green); }
.who-split-label--not { color: var(--graphite); opacity: 0.50; }
.who-split-col p {
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 0;
  color: var(--graphite);
}

.who-closing {
  font-size: 16px;
  font-weight: 600;
  color: var(--midnight-ink);
  line-height: 1.7;
  padding-left: 20px;
  border-left: 3px solid var(--bold-green);
  margin-top: 8px;
}

/* ============================================================
   22. OFFERING CARDS (Services page)
   ============================================================ */
.offering-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.offering-card {
  background: var(--porcelain);
  border: 1px solid var(--pale-stone);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.offering-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--midnight-ink);
  margin-bottom: 10px;
  line-height: 1.3;
}
.offering-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--fox-rust);
  margin-bottom: 2px;
}
.offering-duration {
  font-size: 13px;
  color: var(--graphite);
  opacity: 0.60;
  margin-bottom: 16px;
}
.offering-card .service-for {
  font-size: 14px;
  color: var(--graphite);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}
.offering-card .deliverables-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bold-green);
  display: block;
  margin-bottom: 12px;
  border-top: 1px solid var(--pale-stone);
  padding-top: 16px;
}
.offering-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.offering-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--graphite);
  line-height: 1.5;
}
.offering-card .check { flex-shrink: 0; margin-top: 2px; color: var(--bold-green); }

/* ============================================================
   23. EDITORIAL PULL QUOTE
   ============================================================ */
.editorial-quote-section {
  padding-block: clamp(56px, 7vw, 88px);
}
.editorial-quote-text {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 42px);
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--midnight-ink);
  line-height: 1.25;
  max-width: 860px;
  position: relative;
  padding-left: 28px;
  border-left: 3px solid var(--fox-rust);
}

/* ============================================================
   24. SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s cubic-bezier(0.2,0.8,0.2,1), transform 0.6s cubic-bezier(0.2,0.8,0.2,1);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   25. HEADER ON SCROLL
   ============================================================ */
.site-header.is-scrolled {
  background: rgba(13, 27, 48, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 8px 24px rgba(8,16,30,0.28);
}

/* ============================================================
   26. BORDERLESS CARDS
   ============================================================ */
.service-preview-card,
.offering-card,
.problem-card,
.differentiator-card,
.engagement-card,
.symptom-card {
  border-color: transparent;
  box-shadow: 0 1px 2px rgba(16,35,63,0.05), 0 8px 24px rgba(16,35,63,0.07);
}

/* ============================================================
   27. RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .proof-stats { grid-template-columns: repeat(3, 1fr); }

  .service-block { grid-template-columns: 1fr; gap: 32px; }
  .deliverables  { position: static; }

  .about-intro { grid-template-columns: 1fr; gap: 48px; }
  .headshot-slot { position: static; max-width: 360px; aspect-ratio: 4/3; }

  .differentiators-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 768px) {
  :root { --section-pad-y: 56px; --card-pad: 22px; }

  .nav-links,
  .nav-right .btn { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding-block: 64px 52px; }

  .offering-grid        { grid-template-columns: 1fr; }
  .who-split            { grid-template-columns: 1fr; }
  .symptom-grid         { grid-template-columns: 1fr; }
  .symptom-text         { font-size: 15px; }
  .statement-section    { padding-block: 72px; }
  .problem-grid         { grid-template-columns: 1fr; gap: 14px; }
  .services-preview-grid{ grid-template-columns: 1fr; }
  .process-steps        { grid-template-columns: 1fr; gap: 32px; }
  .process-steps::before{ display: none; }
  .proof-stats          { grid-template-columns: 1fr; }
  .fit-grid             { grid-template-columns: 1fr; }
  .contact-boxes        { grid-template-columns: 1fr; }
  .contact-layout       { grid-template-columns: 1fr; }
  .contact-sidebar      { position: static; }
  .form-row             { grid-template-columns: 1fr; }
  .engagement-grid      { grid-template-columns: 1fr; }
  .differentiators-grid { grid-template-columns: 1fr; }
  .footer-grid          { grid-template-columns: 1fr; gap: 32px; }

  .btn-group { flex-direction: column; align-items: flex-start; }
  .cta-band .btn-group  { align-items: center; }
  .services-cta .btn-group { align-items: center; }

  .contact-form-card { padding: 24px; }
}

/* Small mobile */
@media (max-width: 480px) {
  .proof-stats { grid-template-columns: 1fr 1fr; }
}
