/* OPTIMUM OUTREACH DESIGN SYSTEM */

:root {
  /* Colours */
  --navy-deep:    #0A1733;   /* Sovereign Navy — primary dark surface */
  --navy:         #0F1E3D;   /* Secondary dark */
  --navy-mid:     #152957;   /* Tertiary dark */
  --electric:     #1E6BFF;   /* Optimum Blue — brand signal */
  --electric-sky: #4D8DFF;   /* Hover, highlights, gradients */
  --gold:         #C9A961;   /* Heritage Gold — premium accent */
  --gold-soft:    #D4B775;   /* Gold hover state */
  --silver:       #C9D4E2;   /* Secondary text on dark */
  --silver-soft:  #E8EDF5;   /* Light supporting tone */
  --paper:        #F4F7FB;   /* Primary light surface */
  --paper-warm:   #FAFBFD;   /* Warm-tinted light surface */
  --white:        #FFFFFF;
  --ink:          #0A1733;   /* Body text on light */
  --ink-soft:     #3A4A6B;   /* Secondary body text */
  --ink-muted:    #6B7A95;   /* Captions, footers, meta */
  --hairline:     #DFE5EE;   /* Dividers on light */
  --hairline-dark:#243A6B;   /* Dividers on dark */

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing scale — 8-point grid */
  --s1:  8px;   
  --s2: 16px;   
  --s3: 24px;   
  --s4: 32px;
  --s5: 48px;   
  --s6: 64px;   
  --s7: 96px;   
  --s8: 128px;

  /* Layout */
  --container-max: 1280px;
  --container-wide: 1440px;
  --gutter: clamp(24px, 5vw, 80px);
  --section-pad: clamp(80px, 12vw, 160px);
}

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
em { font-style: italic; }

/* TYPOGRAPHY SYSTEM */
h1, h2, h3, h4, h5, h6 { font-weight: normal; margin-bottom: var(--s2); }

.display-xl {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(48px, 6vw, 96px);
  line-height: 1.02;
}

.display-l {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.05;
}

.display-m {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
}

.lead {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.body-l {
  font-size: 17px;
}

.body-m {
  font-size: 15px;
}

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* LAYOUT HELPERS */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container-wide {
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.bg-navy {
  background-color: var(--navy-deep);
  color: var(--white);
}

.bg-paper {
  background-color: var(--paper);
  color: var(--ink);
}

.bg-paper-warm {
  background-color: var(--paper-warm);
  color: var(--ink);
}

.bg-white {
  background-color: var(--white);
  color: var(--ink);
}

/* TEXT COLOURS */
.text-gold { color: var(--gold); }
.text-electric { color: var(--electric); }
.text-silver { color: var(--silver); }
.text-white { color: var(--white); }
.text-ink-muted { color: var(--ink-muted); }

/* COMPONENTS */

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(10, 23, 51, 0.4);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  color: var(--white);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--s2) var(--gutter);
}

.nav-brand {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
}

.gold-dot {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: var(--s4);
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-cta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.nav-cta:hover {
  color: var(--gold);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
}

@media (max-width: 992px) {
  .nav-links, .nav-cta {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--navy-deep);
    padding: var(--s4) var(--gutter);
    gap: var(--s3);
  }
}

/* Eyebrow with gold rule */
.eyebrow-header {
  display: flex;
  align-items: center;
  gap: var(--s2);
  margin-bottom: var(--s3);
}

.gold-rule {
  width: 64px;
  height: 1px;
  background-color: var(--gold);
  display: inline-block;
}

/* Buttons */
.btn {
  display: inline-flex; 
  align-items: center; 
  gap: 12px;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all .3s ease;
  border: 1px solid transparent;
}
.btn-primary { background: var(--electric); color: var(--white); }
.btn-primary:hover { background: var(--white); color: var(--navy-deep); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.btn-ghost-light:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-ghost-dark {
  background: transparent;
  color: var(--navy-deep);
  border-color: rgba(10, 23, 51, 0.3);
}
.btn-ghost-dark:hover {
  border-color: var(--electric);
  color: var(--electric);
}
.btn .arrow { transition: transform .3s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* Capability Card */
.cap-card {
  background: var(--white);
  padding: var(--s5);
  border: 1px solid var(--hairline);
  border-left: 4px solid var(--electric);
  border-radius: 4px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-left-width 0.4s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.cap-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(10, 23, 51, 0.08), 0 1px 3px rgba(10, 23, 51, 0.04);
  border-left-width: 8px;
}
.cap-card.featured {
  border-left-color: var(--gold);
}
.cap-card .num {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--electric);
  margin-bottom: var(--s3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.cap-card.featured .num {
  color: var(--gold);
}
.cap-card h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 26px;
  margin-bottom: var(--s2);
}
.cap-card .cap-desc {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: var(--s4);
  flex-grow: 1;
}
.cap-card .cap-list {
  border-top: 1px solid var(--hairline);
  padding-top: var(--s3);
}
.cap-card .cap-list li {
  font-size: 12px;
  color: var(--ink-muted);
  margin-bottom: var(--s1);
  display: flex;
  align-items: center;
  gap: var(--s1);
}
.cap-card .cap-list li::before {
  content: "—";
  color: var(--gold);
}

/* Partner Card */
.partner-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: var(--s7) var(--s5);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.partner-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(201, 169, 97, 0.6);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.partner-card .numeral {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 64px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--s4);
}
.partner-card .tag {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s2);
}
.partner-card h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 32px;
  color: var(--white);
  margin-bottom: var(--s2);
}
.partner-card p {
  font-size: 15px;
  color: var(--silver);
  margin-bottom: var(--s4);
  flex-grow: 1;
}
.partner-card .supports-footer {
  border-top: 1px solid var(--hairline-dark);
  padding-top: var(--s3);
}
.partner-card .supports-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--electric-sky);
  margin-bottom: var(--s2);
}
.partner-card .supports-text {
  font-size: 13px;
  color: var(--silver-soft);
  line-height: 1.6;
}

/* Industry Tile */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
@media (max-width: 992px) {
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .industry-grid { grid-template-columns: 1fr; }
}

.industry-tile {
  background: var(--paper-warm);
  min-height: 280px;
  padding: var(--s4);
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 1;
}
.industry-tile:hover {
  background: var(--white);
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(10, 23, 51, 0.08);
  z-index: 2;
  border-radius: 8px;
}
.industry-tile .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-muted);
  margin-bottom: auto;
}
.industry-tile h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  margin-bottom: var(--s2);
}
.industry-tile p {
  font-size: 14px;
  color: var(--ink-soft);
}

/* Case Study Tile */
.case-tile {
  background: var(--navy-deep);
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--s4);
  transition: transform 0.4s ease;
  text-decoration: none;
}
.case-tile:hover {
  transform: translateY(-4px);
}
.case-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,23,51,0.1), rgba(10,23,51,0.9));
  z-index: 1;
}
.case-tile .bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transition: transform 0.6s ease;
}
.case-tile:hover .bg-img {
  transform: scale(1.05);
}
.case-tile .tag, .case-tile .content {
  position: relative;
  z-index: 2;
}
.case-tile .tag {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.case-tile h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 28px;
  color: var(--white);
  margin-bottom: var(--s1);
}
.case-tile .meta {
  font-size: 13px;
  color: var(--silver);
}

/* Insight Card */
.insight-card {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  text-decoration: none;
}
.insight-card .img-wrap {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--paper-warm);
}
.insight-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.insight-card:hover img {
  transform: scale(1.03);
}
.insight-card .category {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--electric);
}
.insight-card h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  color: var(--ink);
}
.insight-card .meta {
  font-size: 13px;
  color: var(--ink-muted);
}

/* Footer */
.footer {
  background: var(--navy-deep);
  color: var(--white);
  padding-top: var(--s8);
  padding-bottom: var(--s4);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s5);
  margin-bottom: var(--s6);
}
@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--s4); }
}
.footer-brand {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 32px;
  margin-bottom: var(--s2);
}
.footer-text {
  font-size: 14px;
  color: var(--silver);
  margin-bottom: var(--s1);
}
.footer h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s3);
}
.footer ul {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}
.footer ul a {
  font-size: 14px;
  color: var(--silver);
  transition: color 0.3s ease;
}
.footer ul a:hover {
  color: var(--white);
}
.footer-bottom {
  border-top: 1px solid var(--hairline-dark);
  padding-top: var(--s4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--silver);
}
.footer-tagline {
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: var(--s2);
    align-items: flex-start;
  }
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  box-shadow: 2px 2px 3px rgba(0,0,0,0.2);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
}
@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
}

