/* ══════════════════════════════════════
   FUSION MARKETING / GLOBAL STYLES
   ══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,600;12..96,700;12..96,800&family=Public+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* ── Studio Sage palette ── */
  --ground:       #F2F4EF;   /* page background, pale sage */
  --surface:      #FBFCF9;   /* cards, near white */
  --surface-alt:  #E6EAE1;   /* alternating bands, light grey */
  --ink:          #1B2A22;   /* headings and body text */
  --ink-soft:     #55635A;   /* secondary text */
  --ink-faint:    #78857C;   /* captions, meta */
  --brand:        #2C6E4B;   /* primary green */
  --brand-deep:   #17422D;   /* hover, dark green */
  --brand-tint:   #E1EBE4;   /* pale green wash */
  --accent:       #A34E62;   /* muted plum, use sparingly */
  --accent-tint:  #F2E2E0;
  --line:         #D5DACE;   /* hairlines and borders */
  --line-strong:  #C4CBBC;

  /* ── legacy aliases: older page styles still reference these ── */
  --black:  var(--ground);
  --dark:   var(--surface-alt);
  --forest: var(--surface-alt);
  --card:   var(--surface);
  --white:  var(--ink);
  --grey:   var(--ink-soft);
  --green:  var(--brand);
  --lime:   var(--accent);
  --mid:    var(--line-strong);
  --border: var(--line);
}

*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Public Sans', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* height:auto is essential. Images carry width/height attributes so the browser
   can reserve space and avoid layout shift, but without this the height
   attribute becomes a literal used height and any CSS aspect-ratio is
   ignored. That is what stretched the photo band to 900px tall. */
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Public Sans';
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--lime);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(163,78,98,0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
}

.btn-lg {
  font-size: 15px;
  padding: 16px 36px;
}

.btn-outline-green {
  background: transparent;
  color: var(--green);
  border: 1px solid var(--green);
}

.btn-outline-green:hover {
  background: var(--green);
  color: var(--black);
}

/* ── NAVIGATION ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(242,244,239,0.95);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 8px 60px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-svg {
  width: 36px;
  height: 36px;
}

.nav-logo-text {
  font-family: 'Bricolage Grotesque';
  font-size: 20px;
  letter-spacing: 0.06em;
  color: var(--white);
  line-height: 1;
}

.nav-logo-text span { color: var(--green); }

.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}

.nav-link {
  font-family: 'Public Sans';
  font-size: 14px;
  letter-spacing: 0.15em;
  color: var(--grey);
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform 0.2s;
}

.nav-link:hover { color: var(--white); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { color: var(--green); }
.nav-link.active::after { transform: scaleX(1); }

.nav-cta { margin-left: 20px; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 24px 24px;
  gap: 16px;
  background: rgba(242,244,239,0.98);
  border-top: 1px solid var(--border);
}

.nav-mobile a:not(.btn) {
  font-family: 'Public Sans';
  font-size: 18px;
  letter-spacing: 0.2em;
  color: var(--white);
  text-transform: uppercase;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.nav-mobile.open { display: flex; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 160px 60px 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.page-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(44,110,75,0.06) 0%, transparent 60%),
              var(--black);
}

.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-eyebrow {
  font-family: 'Public Sans';
  font-size: 11px;
  letter-spacing: 0.5em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.page-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--green);
}

.page-hero-title {
  font-family: 'Bricolage Grotesque';
  font-size: clamp(56px, 7vw, 120px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}

.page-hero-title span { color: var(--green); }

.page-hero-sub {
  font-family: 'Public Sans';
  font-size: 18px;
  color: var(--grey);
  max-width: 600px;
  line-height: 1.7;
}

.page-hero-sub strong { color: var(--white); }

/* ── SECTION UTILITIES ── */
.section-label {
  font-family: 'Public Sans';
  font-size: 11px;
  letter-spacing: 0.5em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Bricolage Grotesque';
  font-size: clamp(40px, 4vw, 64px);
  line-height: 1.02;
  color: var(--white);
  letter-spacing: -0.025em;
}

.section-title span { color: var(--green); }

/* ── FOOTER ── */
.footer {
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 60px 60px;
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 80px;
}

.footer-tagline {
  font-family: 'Public Sans';
  font-size: 18px;
  color: var(--grey);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.footer-location {
  font-family: 'Public Sans';
  font-size: 13px;
  color: rgba(85,99,90,0.6);
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-title {
  font-family: 'Public Sans';
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.footer-col a {
  font-family: 'Public Sans';
  font-size: 14px;
  color: var(--grey);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 60px;
}

.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom-inner > span {
  font-family: 'Public Sans';
  font-size: 13px;
  color: var(--grey);
}

.footer-tagline-big {
  font-family: 'Bricolage Grotesque';
  font-size: 24px;
  letter-spacing: 0.06em;
  color: var(--white);
}

/* ── GREEN DIVIDER ── */
.g-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
}

/* ── FORM STYLES ── */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: 'Public Sans';
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px 18px;
  font-family: 'Public Sans';
  font-size: 15px;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder { color: rgba(85,99,90,0.5); }

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(44,110,75,0.1);
}

.form-textarea { resize: vertical; min-height: 120px; }

.form-select option { background: var(--forest); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-inner { padding: 16px 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .footer-inner { grid-template-columns: 1fr; gap: 40px; padding: 60px 24px 40px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { padding: 20px 24px; }
  .footer-bottom-inner { flex-direction: column; gap: 12px; text-align: center; }

  .page-hero { padding: 120px 24px 60px; }
}




/* Ensure all sections sit above the grid */
nav, section, footer, .hero, .page-hero,
.problem, .services-preview, .social-proof,
.cta-band, .about-story, .values, .usp,
.about-cta, .services-list, .audits, .process,
.services-cta, .portfolio-section, .results-band,
.testimonials, .portfolio-cta, .contact-section,
.contact-faq {
  position: relative;
  z-index: 1;
}


/* ── LOGO LOCKUP (inline SVG, inherits colour) ── */
.fm-lockup {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--brand);
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.fm-lockup-mark {
  width: 40px;
  height: 31px;
  flex: none;
  display: block;
  transition: transform 0.3s ease;
}
.fm-lockup-mark--solo { width: 34px; height: 27px; }
.fm-lockup-word {
  display: flex;
  flex-direction: column;
  line-height: 0.9;
  font-family: 'Bricolage Grotesque', sans-serif;
  text-transform: uppercase;
}
.fm-lockup-word b {
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.015em;
  color: var(--ink);
}
.fm-lockup-word i {
  font-style: normal;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.205em;
  color: var(--brand);
  margin-top: 2px;
}
.nav-logo:hover .fm-lockup-mark { transform: translateY(-2px); }

.fm-lockup--lg { gap: 14px; }
.fm-lockup--lg .fm-lockup-mark { width: 52px; height: 41px; }
.fm-lockup--lg .fm-lockup-word b { font-size: 31px; }
.fm-lockup--lg .fm-lockup-word i { font-size: 19px; }

.fm-lockup.logo-clicked .fm-lockup-mark {
  animation: fm-logo-pop 0.55s cubic-bezier(.34,1.56,.64,1);
}
@keyframes fm-logo-pop {
  0%   { transform: translateY(0) scale(1); }
  40%  { transform: translateY(-5px) scale(1.06); }
  100% { transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* Several elements start at opacity 0 and rely on an animation to appear.
     Suppressing motion must not suppress the content, so reveal them outright. */
  .fm-lockup.logo-clicked .fm-lockup-mark,
  .hero-eyebrow, .hero-title, .hero-sub, .hero-cta-row,
  .hero-stat-bar, .hero-scroll, .reveal, .ticker-track {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
@media (max-width: 900px) {
  .fm-lockup-mark { width: 34px; height: 27px; }
  .fm-lockup-word b { font-size: 20px; }
  .fm-lockup-word i { font-size: 12.5px; letter-spacing: 0.19em; }
}
