/* ================================================================
   ASZM CONSULTING SERVICES / Global Stylesheet
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Jost:wght@300;400;500&display=swap');

:root {
  --green-primary: #00733C;
  --green-dark:    #1F5129;
  --green-fern:    #008C45;

  --ink:       #0C0C0C;
  --ink-soft:  #131313;
  --charcoal:  #1A1A1A;
  --stone:     #444444;
  --silver:    #A0A0A0;
  --rule:      rgba(0,0,0,0.09);
  --rule-inv:  rgba(255,255,255,0.07);
  --bone:      #F0EDE8;
  --parchment: #F8F6F3;
  --white:     #FFFFFF;
  --light-grey: #CCCCCC;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Jost', Arial, sans-serif;

  --nav-h: 84px;
  --pad-h: 88px;
  --pad-v: 160px;
  --max-w: 1280px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 400;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.85;
}
img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

/* ── NAV ─────────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad-h);
  background: rgba(255,255,255,0.98);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  z-index: 900;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: box-shadow 0.5s cubic-bezier(0.4,0,0.2,1);
}
.nav.scrolled { box-shadow: 0 1px 40px rgba(0,0,0,0.06); }

.nav-logo { display: flex; align-items: center; gap: 18px; }
.nav-logo-mark {
  display: block;
  height: 44px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
}
.nav-logo-wordmark { display: flex; flex-direction: column; gap: 3px; }
.nav-logo-name {
  font-family: var(--font-sans); font-size: 28px;
  font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ink);
}
.nav-logo-sub {
  font-family: var(--font-display); font-size: 21px;
  font-weight: 400; font-style: italic; color: var(--charcoal);
}

.nav-links {
  display: flex; align-items: center; gap: 48px; list-style: none;
}
.nav-links a {
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--stone); position: relative;
  transition: color 0.3s cubic-bezier(0.4,0,0.2,1);
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: -3px; left: 0; right: 100%; height: 1px;
  background: var(--green-primary);
  transition: right 0.45s cubic-bezier(0.4,0,0.2,1);
}
.nav-links a:hover       { color: var(--ink); }
.nav-links a.active      { color: var(--ink); font-weight: 500; }
.nav-links a:hover::after,
.nav-links a.active::after { right: 0; }

.nav-links a.nav-contact {
  font-size: 12px; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: #fff !important;
  background: var(--ink); padding: 10px 28px;
  border: none;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.nav-links a.nav-contact::after { display: none !important; }
.nav-links a.nav-contact:hover  { background: var(--green-dark); color: #fff !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 1px; background: var(--charcoal); transition: all 0.3s; }

/* ── PAGE WRAPPER ──────────────────────────────────────────── */
.page { padding-top: var(--nav-h); }

/* ── SHARED LAYOUT ─────────────────────────────────────────── */
.w { max-width: var(--max-w); margin: 0 auto; }

.section       { padding: var(--pad-v) var(--pad-h); }
.section--dark { background: var(--ink); color: var(--white); }
.section--mid  { background: var(--ink-soft); color: var(--white); }
.section--bone { background: var(--bone); }
.section--parch { background: var(--parchment); }

/* ── TYPOGRAPHY ────────────────────────────────────────────── */
.eyebrow {
  display: block; font-size: 12px; font-weight: 500;
  letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--green-primary); margin-bottom: 20px;
}
.section--dark .eyebrow,
.section--mid  .eyebrow  { color: var(--green-fern); }

.hairline {
  display: block; width: 32px; height: 1px;
  background: var(--green-primary); margin-bottom: 40px;
}
.section--dark .hairline,
.section--mid  .hairline { background: rgba(255,255,255,0.18); }

.display-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 92px);
  font-weight: 400; line-height: 1.04; letter-spacing: -0.02em;
  color: var(--ink);
}
.display-title em { font-style: italic; color: var(--green-primary); }
.section--dark .display-title { color: var(--white); }
.section--dark .display-title em { color: var(--green-fern); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 400; line-height: 1.1; letter-spacing: -0.01em;
  color: var(--ink);
}
.section--dark .section-title { color: var(--white); }

.lead {
  font-family: var(--font-sans);
  font-size: clamp(19px, 1.6vw, 23px);
  font-weight: 300; line-height: 2; color: var(--stone);
}
.section--dark .lead { color: rgba(255,255,255,0.68); }

/* ── BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-block; font-family: var(--font-sans);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.26em; text-transform: uppercase;
  padding: 16px 44px; border: 1px solid transparent;
  cursor: pointer; transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
.btn-dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-dark:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.8); color: var(--white); }
.btn-ghost-dark { background: transparent; color: var(--ink); border-color: rgba(0,0,0,0.18); }
.btn-ghost-dark:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-green { background: var(--green-primary); color: var(--white); border-color: var(--green-primary); }
.btn-green:hover { background: var(--green-dark); border-color: var(--green-dark); }

/* ── PAGE HERO (interior pages) ─────────────────────────────── */
.page-hero {
  background: var(--ink); padding: 148px var(--pad-h) 108px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    -55deg, transparent 0, transparent 56px,
    rgba(255,255,255,0.013) 56px, rgba(255,255,255,0.013) 57px
  );
}
.page-hero-inner { position: relative; z-index: 1; max-width: 820px; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(46px, 6vw, 80px); font-weight: 400;
  line-height: 1.07; letter-spacing: -0.015em;
  color: var(--white); margin-bottom: 36px;
  opacity: 0; animation: fadeUp 0.9s 0.3s ease forwards;
}
.page-hero h1 em { font-style: italic; color: var(--green-fern); }
.page-hero .eyebrow {
  color: var(--green-fern);
  opacity: 0; animation: fadeUp 0.7s 0.1s ease forwards;
}
.page-hero-lead {
  font-family: var(--font-sans);
  font-size: clamp(18px, 1.4vw, 20px); font-weight: 300; line-height: 1.95;
  color: rgba(255,255,255,0.65); max-width: 580px;
  opacity: 0; animation: fadeUp 0.9s 0.5s ease forwards;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ── SHARED GRID PATTERNS ─────────────────────────────────── */

/* 2-col split */
.split-2 { display: grid; grid-template-columns: 1fr 1fr; }
/* 3-col equal */
.split-3 { display: grid; grid-template-columns: repeat(3, 1fr); }
/* 4-col equal */
.split-4 { display: grid; grid-template-columns: repeat(4, 1fr); }
/* cell gap: hairline dividers via background */
.grid-gap { gap: 1px; background: var(--rule); }
.grid-gap--inv { gap: 1px; background: var(--rule-inv); }

/* ── FOOTER ────────────────────────────────────────────────── */
footer {
  background: var(--ink); color: rgba(255,255,255,0.62);
  padding: 96px var(--pad-h) 48px;
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: 80px; padding-bottom: 68px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand p { font-size: 17px; font-weight: 300; line-height: 2; max-width: 340px; }
.footer-col h5 {
  font-size: 12px; font-weight: 500; letter-spacing: 0.32em;
  text-transform: uppercase; color: rgba(255,255,255,0.25);
  margin-bottom: 28px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 14px; }
.footer-col a { font-size: 17px; font-weight: 300; color: rgba(255,255,255,0.55); transition: color 0.3s cubic-bezier(0.4,0,0.2,1); }
.footer-col a:hover { color: rgba(255,255,255,0.9); }

/* ── SCROLL REVEAL ─────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 1.1s cubic-bezier(0.25,0.1,0.25,1), transform 1.1s cubic-bezier(0.25,0.1,0.25,1);
}
.reveal.in-view { opacity: 1; transform: none; }

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1100px) {
  :root { --pad-h: 48px; --pad-v: 96px; }
}
@media (max-width: 768px) {
  :root { --pad-h: 24px; --pad-v: 72px; }
  .nav { padding: 0 24px; }
  .nav-links {
    display: none; position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; background: var(--white);
    padding: 36px 24px; gap: 24px;
    border-bottom: 1px solid rgba(0,0,0,0.07);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-logo-mark { height: 36px; }
  .nav-logo-name { font-size: 22px; }
  .nav-logo-sub { font-size: 16px; }
  .split-2, .split-3, .split-4 { grid-template-columns: 1fr; }
  .page-hero { padding: 108px var(--pad-h) 72px; }
  footer { padding: 64px 24px 36px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-mark { height: 32px; }
  }


/* ================================================================
   TYPOGRAPHY SYSTEM OVERRIDE
   Responsive scale — appended per client specification
   ================================================================ */

/* 1. HERO HEADLINES (H1) */
.page-hero h1,
.display-title {
  font-size: clamp(46px, 5.5vw, 72px) !important;
  line-height: 1.1 !important;
}

/* 1b. HOMEPAGE HERO — largest title on the site */
.hero-title {
  font-size: clamp(56px, 7.5vw, 104px) !important;
  line-height: 1.05 !important;
}

/* 2. SECTION TITLES (H2) */
.section-title,
.story-text h2,
.contact-info h2,
.contact-form-panel h3,
.about-cta h2,
.home-cta h2,
.svc-cta h2 {
  font-size: clamp(36px, 4.5vw, 50px) !important;
  line-height: 1.2 !important;
}

/* 2b. SIDEBAR TITLES — narrower container, needs smaller scale */
.svc-sidebar h2 {
  font-size: clamp(26px, 2.8vw, 36px) !important;
  line-height: 1.18 !important;
}

/* 3. CARD & ARTICLE HEADLINES (H3/H4) */
.axiom h3,
.svc-body h3,
.svc-block h3,
.geo-name,
.value-cell h4,
.sprint-cell h4,
.symbol-cell h4,
.outcome-card h4,
.outcome-cell h4,
.enabler-card h4 {
  font-size: clamp(22px, 2.8vw, 30px) !important;
  line-height: 1.3 !important;
}

/* 4. PRIMARY BODY COPY (Paragraphs) */
p,
.axiom p,
.svc-block p,
.svc-sidebar p,
.story-text p,
.contact-info > p,
.contact-form-panel > p,
.ctx-body,
.value-cell p,
.sprint-cell p,
.symbol-cell p,
.outcome-card p,
.outcome-cell p,
.enabler-card p,
.enabler-cell p,
.svc-lines li,
.c-val {
  font-size: 20px !important;
  line-height: 1.85 !important;
}

/* Lead paragraphs */
.lead,
.hero-lead,
.page-hero-lead {
  font-size: clamp(18px, 1.6vw, 22px) !important;
  line-height: 1.85 !important;
}

/* 5. NAVIGATION & UI ELEMENTS */
.nav-links a,
.nav-contact,
.btn,
.form-foot button {
  font-size: 15px !important;
  letter-spacing: 0.12em !important;
}

/* 6. EYEBROWS / OVERLINES */
.eyebrow,
.hero-label,
.axiom-n,
.svc-idx,
.symbol-n,
.c-lbl,
.outcome-n,
.sprint-n,
.ctx-title,
.fg label {
  font-size: 13px !important;
  letter-spacing: 0.15em !important;
}

/* 7. FOOTNOTES & DISCLOSURES */
.footer-bottom,
.form-priv {
  font-size: 14px !important;
  line-height: 1.6 !important;
}

/* ── FOOTER LOGO LOCKUP ─────────────────────────────────────────── */
.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.footer-mark {
  display: block;
  height: 40px;
  width: auto;
  opacity: 0.7;
  flex-shrink: 0;
  object-fit: contain;
}
.footer-logo-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.f-name {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.f-sub {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,0.70);
}

/* ── FOOTER BOTTOM (restored) ───────────────────────────────────── */
.footer-bottom {
  max-width: var(--max-w);
  margin: 36px auto 0;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.25);
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
