/* =========================================
   OCIPO — Shared Stylesheet v2
   Theme: Light bg · Mildly dark textures · Bold dark foreground
   Fonts: DM Serif Display + DM Sans
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }

:root {
  --navy:        #1A2B6B;
  --navy-mid:    #2455A4;
  --navy-light:  #D0E5F5;
  --navy-pale:   #EBF4FC;

  --forest:       #0D3B2E;
  --forest-mid:   #1A7A5E;
  --forest-light: #C2EDD9;
  --forest-pale:  #E6F8F1;

  --brown:       #3B2210;
  --brown-mid:   #7A4A1E;
  --brown-light: #E8D5BC;
  --brown-pale:  #F6EDE0;

  --ink:    #0D1C2B;
  --ink-80: rgba(13,28,43,.80);
  --ink-60: rgba(13,28,43,.58);
  --ink-40: rgba(13,28,43,.38);
  --ink-15: rgba(13,28,43,.08);

  --bg-base:    #F5F7FA;
  --bg-surface: #FFFFFF;
  --bg-muted:   #EDF1F6;
  --bg-subtle:  #E2E9F0;

  --border:     rgba(13,28,43,.11);
  --border-med: rgba(13,28,43,.20);

  --ff-display: 'DM Serif Display', Georgia, serif;
  --ff-body:    'DM Sans', system-ui, sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 4px rgba(13,28,43,.09);
  --shadow-md: 0 4px 18px rgba(13,28,43,.11), 0 2px 6px rgba(13,28,43,.05);
  --shadow-lg: 0 12px 40px rgba(13,28,43,.13), 0 4px 12px rgba(13,28,43,.07);

  --max-w:      1160px;
  --gutter:     clamp(1.25rem, 5vw, 2.5rem);
  --section-py: clamp(4rem, 8vw, 7rem);
}

body {
  font-family: var(--ff-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--bg-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* subtle dot texture on bg-base sections */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(13,28,43,.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}
.nav, section, footer, .stats-bar { position: relative; z-index: 1; }

h1, h2, h3 { font-family: var(--ff-display); font-weight: 400; line-height: 1.2; color: var(--ink); }
h4, h5, h6 { font-family: var(--ff-body); font-weight: 600; color: var(--ink); line-height: 1.3; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--ff-body); cursor: pointer; border: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-py) 0; }

/* =============================================
   NAV
   ============================================= */
.nav {
  position: sticky; top: 0; z-index: 300;
  background: var(--bg-surface);
  border-bottom: 1.5px solid var(--border);
  box-shadow: 0 2px 8px rgba(13,28,43,.06);
}
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 90px;
  display: flex;
  align-items: center;
}
.nav__logo {
  flex-shrink: 0;
  margin-right: 2rem;
  padding-right: 2rem;
  border-right: 1.5px solid var(--border);
  display: flex;
  align-items: center;
}
.nav__logo img { height: 76px; width: auto; max-width: 160px; }

.nav__links { display: flex; align-items: stretch; height: 100%; flex: 1; }
.nav__item { position: relative; display: flex; align-items: center; }

.nav__item > a,
.nav__dropbtn {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-80);
  padding: 0 14px;
  height: 90px;
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color .15s, background .15s;
  font-family: var(--ff-body);
}
.nav__item > a:hover,
.nav__dropbtn:hover { color: var(--navy); background: var(--bg-muted); }
.nav__item > a.active { color: var(--navy); font-weight: 600; }

.nav__caret {
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-top: 1px;
  transition: transform .2s;
}
.nav__item:hover .nav__caret { transform: rotate(180deg); }

.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--bg-surface);
  border: 1.5px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 8px 0 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s ease;
  z-index: 400;
}
.nav__item:hover .nav__dropdown,
.nav__item:focus-within .nav__dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav__dd-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-40);
  padding: 8px 16px 4px;
  display: block;
}
.nav__dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-80);
  transition: background .12s, color .12s;
}
.nav__dropdown a:hover { background: var(--bg-muted); color: var(--navy); }
.nav__dd-icon {
  width: 30px; height: 30px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  background: var(--navy-light);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px; height: 38px;
  background: none;
  padding: 5px;
  margin-left: auto;
}
.nav__burger span {
  display: block; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

.nav__drawer {
  display: none;
  flex-direction: column;
  background: var(--bg-surface);
  border-top: 1.5px solid var(--border);
  padding: 0 var(--gutter) 1.5rem;
  max-height: 80vh;
  overflow-y: auto;
}
.nav__drawer-group-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--ink-40);
  padding: 1rem 0 0.25rem;
  display: block;
}
.nav__drawer a {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-80);
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  display: block;
  transition: color .15s;
}
.nav__drawer a.indent { padding-left: 1rem; font-size: 15px; font-weight: 400; }
.nav__drawer a:hover { color: var(--navy); }
.nav__drawer .btn { margin-top: 1rem; width: 100%; text-align: center; display: block; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 16px; font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  transition: all .2s;
  white-space: nowrap; line-height: 1;
}
.btn--primary-navy { background: var(--navy); color: #fff; }
.btn--primary-navy:hover { background: #122B46; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--primary-forest { background: var(--forest-mid); color: #fff; }
.btn--primary-forest:hover { background: var(--forest); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--outline-navy { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn--outline-navy:hover { background: var(--navy); color: #fff; transform: translateY(-1px); }
.btn--outline-forest { background: transparent; color: var(--forest-mid); border: 2px solid var(--forest-mid); }
.btn--outline-forest:hover { background: var(--forest-mid); color: #fff; transform: translateY(-1px); }
.btn--ghost-dark { background: rgba(13,28,43,.07); color: var(--ink); border: 1.5px solid rgba(13,28,43,.16); }
.btn--ghost-dark:hover { background: rgba(13,28,43,.13); transform: translateY(-1px); }
.btn--ghost-white { background: rgba(255,255,255,.13); color: #fff; border: 1.5px solid rgba(255,255,255,.28); }
.btn--ghost-white:hover { background: rgba(255,255,255,.22); transform: translateY(-1px); }
.btn--lg { font-size: 17px; padding: 13px 28px; }
.btn--sm { font-size: 13px; padding: 7px 15px; }

/* ---- Eyebrow ---- */
.eyebrow {
  font-family: var(--ff-body);
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.4px; text-transform: uppercase;
  display: inline-block; margin-bottom: 1rem;
}
.eyebrow--navy   { color: var(--navy-mid); }
.eyebrow--forest { color: var(--forest-mid); }
.eyebrow--brown  { color: var(--brown-mid); }
.eyebrow--purple { color: #3C3489; }

.section-h  { font-size: clamp(28px, 4vw, 44px); margin-bottom: 1rem; color: var(--ink); }
.section-sub { font-size: clamp(15px, 2vw, 17px); color: var(--ink-60); max-width: 580px; line-height: 1.75; }

/* ---- Tags ---- */
.tag { display: inline-block; font-size: 12px; font-weight: 500; padding: 4px 11px; border-radius: 999px; border: 1.5px solid var(--border); color: var(--ink-60); background: var(--bg-surface); }
.tag--navy   { background: var(--navy-light); color: var(--navy); border-color: transparent; font-weight: 600; }
.tag--forest { background: var(--forest-light); color: var(--forest); border-color: transparent; font-weight: 600; }
.tag--brown  { background: var(--brown-light); color: var(--brown); border-color: transparent; font-weight: 600; }

/* ---- Card ---- */
.card { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; transition: box-shadow .25s, transform .25s; }
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* ---- Stats bar ---- */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1.5px solid var(--border); border-bottom: 1.5px solid var(--border);
  background: var(--bg-surface);
}
.stat-item { padding: 2rem 1.5rem; text-align: center; border-right: 1.5px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-item__num { font-family: var(--ff-display); font-size: 38px; line-height: 1; margin-bottom: 5px; color: var(--navy); }
.stat-item__label { font-size: 13px; font-weight: 500; color: var(--ink-60); }

/* ---- Footer ---- */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.6);
  padding: 4rem 0 2rem;
  background-image: radial-gradient(circle, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 24px 24px;
}
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer__brand-logo {
  margin-bottom: 1.25rem;
  display: inline-block;
  background: #ffffff;
  border-radius: 10px;
  padding: 10px 18px;
}
.footer__brand-logo img {
  height: 76px;
  width: auto;
  max-width: 240px;
  display: block;
}
.footer__tagline { font-size: 15px; line-height: 1.7; margin-bottom: 1.5rem; }
.footer__col h4 { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.85); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 1rem; }
.footer__col a { display: block; font-size: 14px; color: rgba(255,255,255,.48); margin-bottom: 0.55rem; transition: color .15s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 13px; }
.footer__version { font-size: 7px; font-family: var(--ff-mono, monospace); color: rgba(255,255,255,.22); letter-spacing: .5px; }
.footer__badges { display: none; }
.footer__badge { display: none; }

/* ---- Forms ---- */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; font-family: var(--ff-body); font-size: 14px;
  padding: 11px 14px;
  border: 1.5px solid var(--border-med);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
  outline: none; appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--ink-40); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(46,109,164,.15);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ---- Animations ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim-fadeup { animation: fadeUp .55s ease both; }
.anim-delay-1 { animation-delay: .08s; }
.anim-delay-2 { animation-delay: .16s; }
.anim-delay-3 { animation-delay: .24s; }
.anim-delay-4 { animation-delay: .32s; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .nav__item > a, .nav__dropbtn { padding: 0 10px; font-size: 16px; }
}
@media (max-width: 900px) {
  .nav__links, .nav__actions { display: none; }
  .nav__burger { display: flex; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1.5px solid var(--border); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .footer__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---- Logo image sizing ---- */
.nav__logo-img {
  height: 76px;
  width: auto;
  display: block;
  /* The logo is dark blue on white — sits perfectly on the light nav bg */
}

/* Footer logo — white version via CSS filter */
/* Footer logo — white pill preserves original blue-on-white brand colours */
.footer__logo-img {
  height: 76px;
  width: auto;
  display: block;
  /* No filter — logo renders on white wrapper above */
}

/* Mobile drawer logo */
.nav__drawer-home {
  padding: 0.75rem 0 0.5rem !important;
  border-bottom: none !important;
}
