/* ═══════════════════════════════════════════════
   D.I.D. — Discover Innovate Deliver
   Shared Stylesheet v2.0
   Palette: Deep Navy · Cyan · Amber/Orange
═══════════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
  --navy:    #060d28;
  --navy2:   #0a1540;
  --navy3:   #0e1e55;
  --navy4:   #112266;
  --cyan:    #00d4f5;
  --cyan2:   #38e8ff;
  --cyan-dim: rgba(0,212,245,0.15);
  --gold:    #f59e0b;
  --gold2:   #fbbf24;
  --white:   #eef4ff;
  --muted:   #7ea8cc;
  --muted2:  #6b93b8;
  --border:  rgba(0,212,245,0.16);
  --border2: rgba(0,212,245,0.08);
  --shadow:  0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.5);
  --font-head: 'Georgia', 'Times New Roman', serif;
  --font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.22s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--cyan2); }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--white);
}
p { color: var(--muted); }
strong { color: var(--white); font-weight: 600; }
em { font-style: italic; }

/* ── Layout ── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 2rem; }
.container-sm { max-width: 760px; margin: 0 auto; padding: 0 2rem; }
.container-lg { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* ── Navigation ── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  height: 64px;
  background: rgba(6,13,40,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 1.1rem; font-weight: bold;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(245,158,11,0.35);
}
.nav-logo span { color: var(--cyan); }
.nav-links {
  display: flex; align-items: center; gap: 0.25rem;
}
.nav-links a {
  color: var(--muted); font-size: 0.875rem;
  letter-spacing: 0.04em; padding: 0.4rem 0.85rem;
  border-radius: 4px; transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--white); background: var(--cyan-dim); }
.nav-links a.active { color: var(--cyan); }
.nav-cta {
  background: var(--gold); color: var(--navy) !important;
  font-weight: 700; padding: 0.45rem 1.2rem !important;
  border-radius: 4px !important;
  font-size: 0.83rem !important; letter-spacing: 0.05em;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover { background: var(--gold2) !important; transform: translateY(-1px); }
.nav-mobile-btn {
  display: none; background: none; border: none;
  color: var(--muted); font-size: 1.4rem; cursor: pointer;
}
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.article-title, .chapter-title { margin: 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.9rem;
  letter-spacing: 0.04em; padding: 0.82rem 1.9rem;
  border-radius: var(--radius); border: none; cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--gold); color: var(--navy);
}
.btn-primary:hover { background: var(--gold2); color: var(--navy); box-shadow: 0 6px 20px rgba(245,158,11,0.35); }
.btn-secondary {
  background: transparent; color: var(--cyan);
  border: 1px solid var(--cyan);
}
.btn-secondary:hover { background: var(--cyan-dim); color: var(--cyan2); }
.btn-ghost {
  background: transparent; color: var(--muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--white); border-color: rgba(0,212,245,0.4); background: var(--cyan-dim); }
.btn-lg { padding: 1rem 2.4rem; font-size: 1rem; }
.btn-sm { padding: 0.55rem 1.3rem; font-size: 0.82rem; }

/* ── Section Shared ── */
section { padding: 5.5rem 0; }
section.dark { background: var(--navy); }
section.tinted { background: var(--navy2); }

.section-label {
  display: inline-block;
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 0.9rem;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.05rem; color: var(--muted);
  max-width: 640px; line-height: 1.7;
  margin-bottom: 3rem;
}
.section-subtitle.center { margin-left: auto; margin-right: auto; text-align: center; }
.divider {
  width: 48px; height: 2px; margin: 1.2rem 0 2.8rem;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
}
.divider.center { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }

/* ── Hero variants ── */
.hero-full {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 6rem 0 4rem;
}
.hero-small {
  padding: 5rem 0 3.5rem;
  position: relative; overflow: hidden;
}
.hero-bg-default {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 5% 30%, rgba(0,160,210,0.2) 0%, transparent 50%),
    radial-gradient(ellipse 70% 70% at 85% 75%, rgba(0,40,140,0.25) 0%, transparent 55%),
    linear-gradient(140deg, #0d2060 0%, #060d28 55%, #030818 100%);
}
.hero-grid {
  position: absolute; inset: 0; opacity: 0.038;
  background-image:
    linear-gradient(var(--cyan) 1px, transparent 1px),
    linear-gradient(90deg, var(--cyan) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }

/* ── Eyebrow chips ── */
.eyebrow {
  display: inline-block;
  font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--cyan); border: 1px solid rgba(0,212,245,0.35);
  padding: 0.3rem 1rem; border-radius: 2rem; margin-bottom: 1.5rem;
}
.eyebrow.gold {
  color: var(--gold); border-color: rgba(245,158,11,0.35);
}

/* ── Cards ── */
.card {
  background: var(--navy2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); border-color: rgba(0,212,245,0.4); box-shadow: 0 8px 32px rgba(0,60,180,0.2); }

.card-icon { font-size: 2rem; margin-bottom: 1rem; }
.card-title { font-family: var(--font-head); font-size: 1.2rem; margin-bottom: 0.7rem; }
.card-text { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }

/* Pillar cards */
.pillar-card {
  background: var(--navy2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.2rem 2rem;
  position: relative; overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.pillar-card:hover { transform: translateY(-5px); border-color: rgba(0,212,245,0.45); box-shadow: 0 10px 36px rgba(0,60,180,0.22); }
.pillar-card .bg-num {
  position: absolute; top: -1rem; right: 0.8rem;
  font-family: var(--font-head); font-size: 6rem; font-weight: bold;
  color: rgba(0,212,245,0.05); line-height: 1; pointer-events: none; user-select: none;
}
.pillar-word {
  font-family: var(--font-head);
  font-size: 1.5rem; color: var(--gold);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin: 0.6rem 0 0.3rem;
  text-shadow: 0 0 22px rgba(245,158,11,0.3);
}
.pillar-tagline { font-size: 0.82rem; color: var(--cyan); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; }

/* Accent left-border cards */
.accent-card {
  background: var(--navy2); border-left: 3px solid var(--cyan);
  padding: 1.5rem 1.8rem; border-radius: 0 var(--radius) var(--radius) 0;
  transition: border-color var(--transition), transform var(--transition);
}
.accent-card:hover { border-color: var(--gold); transform: translateX(4px); }
.accent-card .accent-title { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan); margin-bottom: 0.5rem; }
.accent-card p { font-size: 0.9rem; line-height: 1.65; }

/* Stat cards */
.stat-card {
  background: var(--navy3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.8rem;
  text-align: center;
}
.stat-num {
  font-family: var(--font-head); font-size: 2.8rem; font-weight: bold;
  color: var(--cyan); text-shadow: 0 0 24px rgba(0,212,245,0.4);
  line-height: 1;
}
.stat-unit { font-size: 1.2rem; color: var(--cyan); }
.stat-label { font-size: 0.82rem; color: var(--muted); margin-top: 0.5rem; line-height: 1.4; }

/* Article cards */
.article-card {
  background: var(--navy2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.article-card:hover { transform: translateY(-4px); border-color: rgba(0,212,245,0.4); box-shadow: 0 8px 28px rgba(0,50,160,0.2); }
.article-card-top {
  height: 5px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
}
.article-card-body { padding: 1.8rem; }
.article-tag { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cyan); margin-bottom: 0.7rem; }
.article-title { font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 0.7rem; line-height: 1.35; color: var(--white); }
.article-excerpt { font-size: 0.87rem; color: var(--muted); line-height: 1.65; margin-bottom: 1.2rem; }
.article-meta { font-size: 0.78rem; color: var(--muted2); }

/* Workshop cards */
.workshop-card {
  background: var(--navy2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: transform var(--transition), border-color var(--transition);
}
.workshop-card:hover { transform: translateY(-4px); border-color: rgba(245,158,11,0.4); }
.workshop-icon { font-size: 1.8rem; margin-bottom: 1rem; }
.workshop-title { font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 0.6rem; color: var(--white); }
.workshop-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }
.workshop-duration { font-size: 0.75rem; color: var(--cyan); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 1rem; }

/* ── Bullet Lists ── */
.check-list { list-style: none; }
.check-list li {
  padding: 0.35rem 0; padding-left: 1.6rem;
  position: relative; font-size: 0.9rem; color: var(--muted);
}
.check-list li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--cyan); font-size: 0.8rem; font-weight: bold;
}
.arrow-list { list-style: none; }
.arrow-list li {
  padding: 0.3rem 0; padding-left: 1.4rem;
  position: relative; font-size: 0.88rem; color: var(--muted);
}
.arrow-list li::before {
  content: '→'; position: absolute; left: 0; color: var(--cyan); font-size: 0.8rem;
}

/* ── Quote / Callout ── */
.blockquote {
  border-left: 3px solid var(--gold);
  padding: 1.2rem 1.8rem;
  background: rgba(245,158,11,0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0;
}
.blockquote p { font-family: var(--font-head); font-size: 1.2rem; color: var(--white); font-style: italic; line-height: 1.6; }
.blockquote cite { display: block; font-size: 0.78rem; color: var(--muted); margin-top: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; }

.callout {
  background: var(--navy3); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem 2.2rem;
  position: relative; overflow: hidden;
}
.callout::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(var(--cyan), var(--gold));
}

/* ── CTA Strip ── */
.cta-strip {
  background: linear-gradient(135deg, #0a1a5a 0%, #060d28 100%);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 4rem 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-strip::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 100% at 50% 50%, rgba(0,80,180,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-title { font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.8rem; position: relative; }
.cta-text { color: var(--muted); margin-bottom: 2rem; max-width: 520px; margin-left: auto; margin-right: auto; position: relative; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── Forms ── */
.form-group { margin-bottom: 1.2rem; }
.form-label { display: block; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted2); }
.form-textarea { resize: vertical; min-height: 120px; }
.notify-bar {
  display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap;
}
.notify-bar .form-input { flex: 1; min-width: 220px; max-width: 320px; }

/* ── Grids ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }

/* ── Prose (long-form text) ── */
.prose p { color: var(--muted); margin-bottom: 1.2rem; font-size: 1rem; line-height: 1.8; }
.prose h3 { font-family: var(--font-head); font-size: 1.25rem; margin: 2rem 0 0.6rem; color: var(--white); }
.prose h4 { font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--cyan); margin: 1.6rem 0 0.5rem; }
.prose ul { margin: 0.8rem 0 1.2rem 1.4rem; }
.prose ul li { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.4rem; }
.prose strong { color: var(--white); }

/* ── Tag badges ── */
.tag {
  display: inline-block; font-size: 0.7rem; letter-spacing: 0.15em;
  text-transform: uppercase; padding: 0.22rem 0.7rem;
  border-radius: 2rem; border: 1px solid var(--border);
  color: var(--muted2); margin: 0.2rem;
}
.tag.cyan { border-color: rgba(0,212,245,0.4); color: var(--cyan); }
.tag.gold { border-color: rgba(245,158,11,0.4); color: var(--gold); }

/* ── Footer ── */
.site-footer {
  background: var(--navy); border-top: 1px solid var(--border);
  padding: 3.5rem 0 2rem;
}
.footer-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 2rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem;
}
.footer-brand { }
.footer-logo {
  font-family: var(--font-head); font-size: 1.1rem; font-weight: bold;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold);
  text-shadow: 0 0 16px rgba(245,158,11,0.3);
  margin-bottom: 0.8rem;
}
.footer-logo span { color: var(--cyan); }
.footer-tagline { font-size: 0.85rem; color: var(--muted); line-height: 1.6; max-width: 260px; }
.footer-col h4 { font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--white); margin-bottom: 1rem; }
.footer-col ul li { margin-bottom: 0.55rem; }
.footer-col ul a { color: var(--muted); font-size: 0.85rem; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--cyan); }
.footer-bottom {
  max-width: 1080px; margin: 2.5rem auto 0; padding: 1.5rem 2rem 0;
  border-top: 1px solid var(--border2);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem;
}
.footer-copy { font-size: 0.78rem; color: var(--muted2); }
.footer-copy a { color: var(--muted); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  /* Hamburger kicks in before the 7-item nav row runs out of room and wraps */
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0.25rem;
    position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(6,13,40,0.98);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem 1.25rem;
  }
  .nav-links.open a { padding: 0.7rem 0.85rem; white-space: normal; }
  .nav-links.open .nav-cta { text-align: center; margin-top: 0.5rem; }
  .nav-mobile-btn { display: block; }
}
@media (max-width: 640px) {
  section { padding: 4rem 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .cta-buttons, .hero-ctas, .btn-row { flex-direction: column; align-items: stretch; }
  .cta-buttons .btn, .hero-ctas .btn, .btn-row .btn { width: 100%; }
  .btn-lg { padding-left: 1.2rem; padding-right: 1.2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
