/* --------------------------------------------------------------------------
   Custom Properties
-------------------------------------------------------------------------- */
:root {
  /* Brand core */
  --ke-charcoal:    #3D3733;
  --ke-charcoal-dk: #2D2826;
  --ke-chartreuse:  #C5D95A;
  --ke-teal:        #3EBFB0;
  --ke-white:       #FFFFFF;
  --ke-cream:       #F2EDE6;

  /* Data / categorical */
  --ke-navy:        #2A6496;
  --ke-ochre:       #C87941;
  --ke-violet:      #7B6FA0;
  --ke-rose:        #B85C6E;

  /* RAG / status */
  --ke-green:       #52A85A;
  --ke-amber:       #E8C030;
  --ke-red:         #C03939;
  --ke-neutral:     #7A9AB5;

  /* Typography */
  --font-display:   'Barlow', Calibri, sans-serif;
  --font-body:      'Jost', Calibri, sans-serif;
  --font-mono:      'DM Mono', 'Courier New', monospace;
  --font-accent:    'Playfair Display', Georgia, serif;
}

/* --------------------------------------------------------------------------
   Reset & Base
-------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.75;
  letter-spacing: 0.015em;
  color: var(--ke-charcoal);
  background: var(--ke-white);
}

a {
  color: var(--ke-teal);
  transition: color 0.2s ease;
}

a:hover {
  color: var(--ke-chartreuse);
}

a:visited {
  color: var(--ke-violet);
}

img {
  max-width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   Navigation
-------------------------------------------------------------------------- */
#nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ke-charcoal);
  height: 56px;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

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

.nav-brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ke-white);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ke-chartreuse);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ke-white);
}

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ke-charcoal);
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.nav-overlay.is-open {
  display: flex;
}

.nav-overlay-close {
  position: absolute;
  top: 16px;
  right: 24px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 18px;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
  transition: color 0.2s;
}

.nav-overlay-close:hover {
  color: var(--ke-white);
}

.nav-overlay-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.nav-overlay-links a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-overlay-links a:hover,
.nav-overlay-links a.active {
  color: var(--ke-chartreuse);
}

/* --------------------------------------------------------------------------
   Section Base
-------------------------------------------------------------------------- */
section {
  padding: 96px 32px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ke-charcoal);
  margin-bottom: 14px;
}

.heading-rule {
  width: 28px;
  height: 2px;
  background: var(--ke-chartreuse);
  margin-bottom: 48px;
}

.section-framing {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: var(--ke-charcoal);
  max-width: 620px;
  margin-bottom: 48px;
}

/* --------------------------------------------------------------------------
   Hero
-------------------------------------------------------------------------- */
#hero {
  background: var(--ke-charcoal);
  border-top: 3px solid var(--ke-chartreuse);
  padding: 112px 32px 96px;
}

.hero-inner {
  max-width: 780px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ke-teal);
  margin-bottom: 28px;
}

.hero-lines {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 5.5vw, 56px);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.1;
  color: var(--ke-white);
  margin-bottom: 32px;
}

.hero-lines .accent {
  color: var(--ke-chartreuse);
}

.hero-subhead {
  font-family: var(--font-body);
  font-weight: 300;
  font-style: italic;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-rule {
  border: none;
  border-top: 0.5px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.stat-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  color: var(--ke-chartreuse);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.45);
}

.btn-primary {
  display: inline-block;
  background: var(--ke-chartreuse);
  color: var(--ke-charcoal);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 15px 32px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-primary:hover {
  background: var(--ke-teal);
  color: var(--ke-charcoal);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   About
-------------------------------------------------------------------------- */
#about {
  background: var(--ke-white);
}

.about-body {
  max-width: 680px;
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.75;
  color: var(--ke-charcoal);
}

.about-body p {
  margin-bottom: 1.4em;
}

.about-body p:last-child {
  margin-bottom: 0;
}

.about-body ul,
.about-body ol {
  padding-left: 1.4em;
  margin-bottom: 1.4em;
}

/* --------------------------------------------------------------------------
   Services
-------------------------------------------------------------------------- */
#services {
  background: var(--ke-cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--ke-white);
  border: 0.5px solid rgba(61, 55, 51, 0.15);
  padding: 32px;
}

.service-card-icon {
  width: 20px;
  height: 20px;
  background: var(--ke-chartreuse);
  margin-bottom: 24px;
}

.service-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ke-charcoal);
  margin-bottom: 12px;
}

.service-card-body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ke-charcoal);
}

/* --------------------------------------------------------------------------
   Clients
-------------------------------------------------------------------------- */
#clients {
  background: var(--ke-white);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.client-card {
  background: var(--ke-cream);
  border-left: 3px solid var(--ke-teal);
  padding: 28px 28px 28px 24px;
}

.client-trigger {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ke-charcoal);
  margin-bottom: 10px;
}

.client-body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ke-charcoal);
}

/* --------------------------------------------------------------------------
   Proof
-------------------------------------------------------------------------- */
#proof {
  background: var(--ke-cream);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.deal-card {
  background: var(--ke-white);
  border: 0.5px solid rgba(61, 55, 51, 0.12);
  border-top: 3px solid var(--ke-chartreuse);
  border-radius: 8px;
  padding: 28px;
}

.deal-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ke-teal);
  margin-bottom: 10px;
}

.deal-scale {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--ke-charcoal);
  margin-bottom: 6px;
}

.deal-structure {
  display: block;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--ke-teal);
  margin-bottom: 16px;
}

.deal-body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ke-charcoal);
}

/* --------------------------------------------------------------------------
   Contact
-------------------------------------------------------------------------- */
#contact {
  background: var(--ke-charcoal);
}

.contact-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ke-white);
  margin-bottom: 14px;
}

#contact .heading-rule {
  margin-bottom: 36px;
}

.contact-framing {
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.65);
  max-width: 520px;
  margin-bottom: 40px;
}

.booking-block {
  background: rgba(197, 217, 90, 0.12);
  border: 0.5px solid var(--ke-chartreuse);
  border-radius: 8px;
  padding: 32px;
  max-width: 520px;
  margin-bottom: 40px;
}

.booking-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ke-teal);
  margin-bottom: 12px;
}

.booking-body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
}

.booking-cta {
  display: inline-block;
  background: var(--ke-chartreuse);
  color: var(--ke-charcoal);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 13px 28px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.booking-cta:hover {
  background: var(--ke-teal);
  color: var(--ke-charcoal);
  opacity: 1;
}

.contact-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
}

.contact-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: opacity 0.2s;
}

.contact-link:hover {
  opacity: 0.75;
}

.contact-link-primary {
  color: var(--ke-teal);
}

.contact-link-dim {
  color: rgba(62, 191, 176, 0.4);
}

/* --------------------------------------------------------------------------
   Footer
-------------------------------------------------------------------------- */
footer {
  background: var(--ke-charcoal-dk);
  padding: 20px 32px;
}

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

.footer-inner span {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.3);
}

@media (min-width: 769px) {
  body {
    font-size: 15px;
  }
}

/* --------------------------------------------------------------------------
   Responsive — Mobile (≤ 768px)
-------------------------------------------------------------------------- */
@media (max-width: 768px) {
  #nav {
    height: 48px;
  }

  .nav-logo {
    height: 34px;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
  }

  section {
    padding: 72px 20px;
  }

  #hero {
    padding: 80px 20px 72px;
  }

  .hero-stats {
    gap: 28px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .clients-grid {
    grid-template-columns: 1fr;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .booking-block {
    max-width: 100%;
  }

  .contact-links {
    gap: 20px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}
