/* ============================================================
   VENTURAE — Main Stylesheet
   Colors: Navy #0E1D40 · Blue #1E4FD8 · Cyan #1BC8E8
   Fonts: Fraunces (h1/h2) · Space Grotesk (body, h3/h4)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,700;0,9..144,800;0,9..144,900;1,9..144,700;1,9..144,800&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* ---- Custom Properties ---- */
:root {
  --navy:        #0E1D40;
  --blue:        #1E4FD8;
  --blue-hover:  #1740C0;
  --cyan:        #1BC8E8;
  --cyan-dark:   #0FA8C5;
  --white:       #FFFFFF;
  --gray-50:     #F8FAFF;
  --gray-100:    #EEF2FF;
  --gray-200:    #E2E8F0;
  --gray-400:    #94A3B8;
  --gray-600:    #475569;
  --gray-800:    #1E293B;
  --gradient:    linear-gradient(135deg, #1BC8E8 0%, #1E4FD8 100%);
  --gradient-r:  linear-gradient(135deg, #1E4FD8 0%, #1BC8E8 100%);
  --gradient-soft: linear-gradient(135deg, rgba(27,200,232,.1) 0%, rgba(30,79,216,.1) 100%);
  --shadow-sm:   0 1px 3px rgba(14,29,64,.08), 0 1px 2px rgba(14,29,64,.05);
  --shadow-md:   0 4px 20px rgba(14,29,64,.10), 0 2px 8px rgba(14,29,64,.06);
  --shadow-lg:   0 8px 40px rgba(14,29,64,.14);
  --radius:      10px;
  --radius-lg:   16px;
  --max-w:       1120px;
  --nav-h:       70px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-hover); }
ul { list-style: none; }

/* ---- Typography ---- */
h1, h2 { font-family: 'Fraunces', Georgia, serif; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; }
h2 { font-size: clamp(1.55rem, 3.5vw, 2.6rem); font-weight: 700; line-height: 1.18; letter-spacing: -.015em; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.45rem); font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
h4 { font-size: 1.05rem; font-weight: 600; line-height: 1.4; }
p { font-size: 1.0625rem; color: var(--gray-600); line-height: 1.75; }

/* ---- Layout ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }
section { padding: clamp(3rem, 7vw, 5.5rem) 0; }

/* ---- Section labels & headers ---- */
.label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cyan-dark);
  background: var(--gradient-soft);
  border: 1px solid rgba(30,79,216,.15);
  padding: .3rem .85rem;
  border-radius: 2rem;
  margin-bottom: .9rem;
}
.section-header {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.section-header p {
  max-width: 580px;
  margin: .85rem auto 0;
  font-size: 1.1rem;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 500;
  height: var(--nav-h);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}
.nav-inner {
  max-width: var(--max-w);
  height: 100%;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-logo img { height: 34px; width: auto; }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: .15rem;
  flex: 1;
  justify-content: flex-end;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: .2rem;
  padding: .45rem .8rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-800);
  border-radius: 8px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--blue); background: var(--gray-100); }
.nav-links > li > a.nav-cta,
.nav-links > li > a.nav-cta:hover,
.nav-links > li > a.nav-cta.active { background: var(--blue) !important; color: white !important; }

/* Dropdown */
.has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .2s;
  flex-shrink: 0;
}
.has-dropdown:hover > a::after { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 280px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: .5rem;
  z-index: 600;
  /* Invisible bridge covering the 8px gap so cursor can reach the panel */
  padding-top: calc(.5rem + 10px);
  margin-top: -10px;
  /* Fade in/out with delay on exit so cursor has time to reach the panel */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .15s ease, visibility 0s linear .25s;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .15s ease, visibility 0s linear 0s;
}

.dropdown-menu a {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: .75rem;
  padding: .5rem .75rem;
  border-radius: 8px;
  transition: background .15s, color .15s;
  color: var(--gray-800);
}
.dropdown-menu a:hover { background: var(--gray-50); color: var(--blue); }
.drop-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: var(--gray-100);
  color: var(--gray-500);
  transition: background .15s, color .15s;
}
.dropdown-menu a:hover .drop-icon { background: #DBEAFE; color: var(--blue); }
.drop-text { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.drop-title {
  font-size: .875rem;
  font-weight: 600;
  white-space: nowrap;
  color: inherit;
}
.drop-desc {
  font-size: .775rem;
  color: var(--gray-400);
  white-space: normal;
  line-height: 1.35;
}
.dropdown-menu a:hover .drop-desc { color: var(--blue); opacity: .7; }
.drop-bonus .drop-icon { background: #FEF3C7; color: #B45309; }
.drop-bonus:hover .drop-icon { background: #FDE68A !important; color: #92400E; }
.drop-bonus:hover .drop-desc { color: #92400E; }

/* Dropdown bonus separator (books) */
.drop-hr {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin: .35rem .5rem .2rem;
}
.dropdown-menu a.drop-bonus {
  background: linear-gradient(135deg,#FFFBEB,#FFF7ED);
  border: 1px solid #FDE68A;
}
.dropdown-menu a.drop-bonus:hover {
  background: linear-gradient(135deg,#FEF3C7,#FFEDD5);
  border-color: #FCD34D;
  color: var(--gray-800);
}
.dropdown-menu a.drop-bonus .drop-desc { color: #B45309; opacity: .8; }
.dropdown-menu a.drop-bonus:hover .drop-desc { color: #92400E; opacity: 1; }

/* Nav CTA button (contact) */
.nav-cta {
  background: var(--blue) !important;
  color: white !important;
  font-weight: 600 !important;
  border-radius: 8px;
  display: inline-flex !important;
  align-items: center;
  gap: .35rem;
}
.nav-cta:hover { background: var(--navy) !important; color: white !important; }
.nav-cta svg { transition: transform .2s; flex-shrink: 0; }
.nav-cta:hover svg { transform: translateX(3px); }

/* Language select (footer) */
.lang-select {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255,255,255,.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right .6rem center;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 6px;
  color: var(--gray-400);
  font-size: .8rem;
  font-weight: 600;
  padding: .3rem 1.8rem .3rem .65rem;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.lang-select:hover, .lang-select:focus {
  border-color: rgba(255,255,255,.3);
  color: var(--white);
  outline: none;
}
.lang-select option { background: var(--navy); color: var(--white); }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  color: var(--navy);
  border-radius: 8px;
  transition: background .2s;
}
.hamburger:hover { background: var(--gray-100); }
.hamburger svg { display: block; pointer-events: none; }

/* ---- Mobile Nav ---- */
@media (max-width: 880px) {
  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 2px solid var(--gray-200);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 1rem 1.25rem 1.5rem;
    gap: .15rem;
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    z-index: 400;
  }
  .nav-links.open { display: flex; }
  .nav-links > li > a { padding: .65rem .85rem; font-size: 1rem; border-radius: var(--radius); }
  .lang-btn { align-self: flex-start; margin-top: .5rem; }

  /* Mobile dropdown: hidden by default, toggled via JS */
  .has-dropdown > a::after { margin-left: auto; }
  .dropdown-menu {
    display: none;
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--gray-200);
    border-radius: 0;
    margin-left: 1.25rem;
    margin-top: 0;
    padding: .25rem 0 .25rem .5rem;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: none;
  }
  .has-dropdown.dropdown-open .dropdown-menu { display: block; }
  .has-dropdown.dropdown-open > a::after { transform: rotate(180deg); }
  .dropdown-menu a { font-size: .9rem; padding: .5rem .85rem; }

  /* Mobile lang-menu: static, toggled by JS */
  .has-langpicker .lang-btn { align-self: flex-start; margin-top: .5rem; }
  .lang-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--gray-200);
    border-radius: 0;
    margin-left: 1.25rem;
    margin-top: 0;
    padding: .25rem 0 .25rem .5rem;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: none;
    display: none;
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.65rem;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .9375rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-hover); border-color: var(--blue-hover); color: var(--white); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(30,79,216,.3); }

.btn-secondary { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-secondary:hover { background: var(--blue); color: var(--white); transform: translateY(-1px); }

.btn-white { background: var(--white); color: var(--blue); border-color: var(--white); }
.btn-white:hover { background: var(--gray-100); color: var(--blue-hover); border-color: var(--gray-100); }

.btn-ghost { background: rgba(255,255,255,.15); color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.25); color: var(--white); }

/* ============================================================
   HERO — Home
   ============================================================ */
.hero {
  padding: clamp(5rem, 10vw, 9rem) 0 clamp(4.5rem, 9vw, 8rem);
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(27,200,232,.1) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(30,79,216,.18) 0%, transparent 65%);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.042) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.042) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black 0%, black 75%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 75%, transparent 100%);
  opacity: 0;
  transform: scale(1.06);
  animation: hero-grid-in 1.8s ease 0.1s forwards;
  pointer-events: none;
}
@keyframes hero-grid-in {
  to { opacity: 1; transform: scale(1); }
}
.hero-inner {
  position: relative;
  z-index: 1;
}
.hero h1 {
  color: white;
  margin-bottom: 1.5rem;
  max-width: 820px;
}
.hero h1 em {
  font-style: italic;
  color: var(--cyan);
}
.hero .lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.68);
  margin-bottom: 2.5rem;
  max-width: 600px;
  line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(135deg, var(--navy) 0%, #162B6E 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(27,200,232,.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.042) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.042) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black 0%, black 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 55%, transparent 100%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .label { color: var(--cyan); background: rgba(27,200,232,.15); border-color: rgba(27,200,232,.25); }
.page-hero h1 { color: white; margin-bottom: 1rem; }
.page-hero .lead { color: rgba(255,255,255,.82); font-size: clamp(1.05rem, 2vw, 1.2rem); max-width: 620px; line-height: 1.7; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.card-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-soft);
  margin-bottom: 1.2rem;
  flex-shrink: 0;
}
.card-icon svg { width: 24px; height: 24px; color: var(--blue); }
.card h3 { color: var(--navy); margin-bottom: .65rem; }
.card p { font-size: .9375rem; }

/* ---- Service card (larger) ---- */
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all .25s;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-card .service-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.service-card .service-icon svg { width: 28px; height: 28px; color: white; }
.service-card h3 { color: var(--navy); font-size: 1.35rem; }
.service-card .service-list { margin-top: .5rem; display: flex; flex-direction: column; gap: .45rem; }
.service-card .service-list li {
  display: flex; align-items: flex-start; gap: .5rem;
  font-size: .9rem; color: var(--gray-600);
}
.service-card .service-list li::before {
  content: '';
  width: 6px; height: 6px; min-width: 6px;
  background: var(--cyan);
  border-radius: 50%;
  margin-top: .55rem;
}

/* ============================================================
   GRID LAYOUTS
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.25rem, 3vw, 2rem); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.75rem); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }

@media (max-width: 480px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (min-width: 481px) and (max-width: 768px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Split (2-col text + visual) ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split.reverse .split-visual { order: -1; }
@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split.reverse .split-visual { order: 0; }
}

/* ============================================================
   VISUAL DECORATIVE BOXES
   ============================================================ */
.visual-gradient {
  background: var(--gradient);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: white;
  position: relative;
  overflow: hidden;
}
.visual-gradient::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
}
.visual-gradient .big-num { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; line-height: 1; }
.visual-gradient .num-label { font-size: .9rem; opacity: .85; margin-top: .35rem; }

/* ============================================================
   FORMULA BOX
   ============================================================ */
.formula-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--cyan);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}
.formula-box .formula { font-size: 1.15rem; font-weight: 700; color: var(--navy); }
.formula-box .formula-sub { font-size: .875rem; color: var(--gray-600); margin-top: .4rem; }

/* ============================================================
   OPPORTUNITY MATRIX
   ============================================================ */
.matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}
.matrix-cell {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}
.matrix-cell.opportunity { background: #D1FAE5; border-color: #6EE7B7; }
.matrix-cell.overserved { background: #FEF3C7; border-color: #FCD34D; }
.matrix-cell.table-stakes { background: var(--gray-100); border-color: var(--gray-200); }
.matrix-cell.ignore { background: var(--gray-50); border-color: var(--gray-200); }
.matrix-cell h4 { font-size: .9rem; margin-bottom: .35rem; }
.matrix-cell p { font-size: .82rem; }

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.steps { display: flex; flex-direction: column; gap: 1.5rem; }
.step { display: flex; gap: 1.1rem; align-items: flex-start; }
.step-num {
  flex-shrink: 0;
  width: 34px; height: 34px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: .82rem;
}
.step-body h4 { color: var(--navy); margin-bottom: .25rem; }
.step-body p { font-size: .9rem; }

/* ============================================================
   STATS ROW
   ============================================================ */
.stats-row { display: flex; gap: clamp(1.5rem, 4vw, 3rem); flex-wrap: wrap; }
.stat-item .num { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; color: var(--blue); line-height: 1; }
.stat-item .num em { color: var(--cyan-dark); font-style: normal; }
.stat-item .lbl { font-size: .875rem; color: var(--gray-600); margin-top: .2rem; }

/* ============================================================
   BLOCKQUOTE
   ============================================================ */
blockquote {
  border-left: 4px solid var(--cyan);
  background: var(--gray-50);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.75rem;
  margin: 2rem 0;
}
blockquote p { font-size: 1.05rem; font-style: italic; color: var(--gray-800); }
blockquote cite { display: block; font-size: .82rem; color: var(--gray-400); margin-top: .5rem; font-style: normal; }

/* ============================================================
   TABLE (responsive)
   ============================================================ */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--gray-200); }
.styled-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  min-width: 500px;
}
.styled-table thead { background: var(--navy); color: white; }
.styled-table th { padding: .85rem 1.1rem; text-align: left; font-weight: 600; font-size: .82rem; letter-spacing: .04em; white-space: nowrap; }
.styled-table td { padding: .8rem 1.1rem; border-bottom: 1px solid var(--gray-200); color: var(--gray-800); }
.styled-table tbody tr:last-child td { border-bottom: none; }
.styled-table tbody tr:hover { background: var(--gray-50); }

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-block;
  padding: .2rem .65rem;
  border-radius: 2rem;
  font-size: .75rem;
  font-weight: 600;
}
.badge-green  { background: #D1FAE5; color: #065F46; }
.badge-blue   { background: #DBEAFE; color: #1E3A8A; }
.badge-orange { background: #FEF3C7; color: #92400E; }
.badge-purple { background: #EDE9FE; color: #5B21B6; }

/* ============================================================
   PROJECT CARDS
   ============================================================ */
.project-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  transition: all .22s;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.project-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.project-year { font-size: .78rem; font-weight: 700; color: var(--cyan-dark); letter-spacing: .07em; text-transform: uppercase; }
.project-card h3 { color: var(--navy); font-size: 1.3rem; }
.project-card p { font-size: .9375rem; flex: 1; }
.project-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .5rem; }
.project-tag {
  padding: .2rem .65rem;
  background: var(--gray-100);
  color: var(--blue);
  border-radius: 2rem;
  font-size: .75rem;
  font-weight: 600;
}
.project-exit {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .82rem;
  font-weight: 600;
  color: #065F46;
  background: #D1FAE5;
  padding: .2rem .7rem;
  border-radius: 2rem;
  margin-top: .25rem;
  width: fit-content;
}

/* ============================================================
   SOCIAL CARDS (contact page)
   ============================================================ */
.social-card {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--navy);
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.social-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--blue);
  color: var(--navy);
}
.social-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.social-body { flex: 1; min-width: 0; }
.social-name { font-weight: 700; font-size: .9375rem; margin-bottom: .1rem; }
.social-handle { font-size: .8rem; color: var(--gray-400); margin-bottom: .5rem; font-weight: 500; }
.social-desc { font-size: .875rem; color: var(--gray-600); line-height: 1.5; margin: 0; }
.social-arrow { flex-shrink: 0; color: var(--gray-300); margin-top: .2rem; }
.social-card:hover .social-arrow { color: var(--blue); }

/* ============================================================
   NEWSLETTER CARD
   ============================================================ */
.nl-card {
  background: var(--gradient);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.5rem);
  color: white;
  text-align: center;
}
.nl-card h2 { color: white; margin-bottom: .75rem; }
.nl-card p { color: rgba(255,255,255,.85); max-width: 500px; margin: 0 auto 2rem; }
.nl-num { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; line-height: 1; }
.nl-sub { font-size: .9rem; opacity: .8; }

/* ============================================================
   CTA BANNER (inner pages)
   ============================================================ */
.cta-banner {
  background: var(--gradient);
  border-radius: var(--radius-lg);
  padding: clamp(3rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 3rem);
  text-align: center;
}
.cta-banner h2 { color: white; margin-bottom: .85rem; }
.cta-banner p { color: rgba(255,255,255,.85); max-width: 480px; margin: 0 auto 2rem; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .85rem; }

/* ============================================================
   CTA FULL (home page — full viewport)
   ============================================================ */
.cta-full {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy);
  padding: 0;
}
/* Grid dots */
.cta-full::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 50%, black 25%, transparent 100%);
  mask-image: radial-gradient(ellipse 85% 75% at 50% 50%, black 25%, transparent 100%);
  pointer-events: none;
}
/* Colour glow layers */
.cta-full::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 50% 50%, rgba(30,79,216,.18) 0%, transparent 65%),
    radial-gradient(ellipse 40% 35% at 25% 70%, rgba(0,200,255,.07) 0%, transparent 55%),
    radial-gradient(ellipse 35% 30% at 75% 30%, rgba(139,92,246,.07) 0%, transparent 55%);
  pointer-events: none;
}
.cta-full-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 4rem clamp(1.25rem, 5vw, 3rem);
  max-width: 860px;
}
.cta-full-inner h2 {
  font-size: clamp(2.6rem, 6.5vw, 5.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -.025em;
  margin-bottom: 1.5rem;
}
.cta-full-inner p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.62);
  max-width: 520px;
  margin: 0 auto 2.75rem;
  line-height: 1.75;
}
.cta-full .cta-actions { gap: 1rem; }
.btn-lg { padding: .85rem 2.2rem; font-size: 1rem; }

/* ============================================================
   ODI POST REFERENCE CALLOUT
   ============================================================ */
.odi-post-ref {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(0,200,255,.06);
  border: 1px solid rgba(0,200,255,.2);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  margin-bottom: 2.5rem;
}
.odi-post-ref p { margin: 0; font-size: .92rem; color: var(--gray-700); line-height: 1.6; flex: 1; }
.odi-post-ref p strong { color: var(--gray-900); }
.odi-post-link {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: .82rem;
  font-weight: 700;
  color: var(--blue);
  transition: color .2s;
  flex-shrink: 0;
  align-self: center;
}
.odi-post-link:hover { color: var(--blue-hover); }
@media (max-width: 640px) {
  .odi-post-ref { flex-wrap: wrap; }
  .odi-post-link { margin-top: .5rem; }
}

/* ============================================================
   ABOUT / FOUNDER
   ============================================================ */
.founder-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
.founder-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 2rem;
  font-weight: 700;
  flex-shrink: 0;
}
.founder-info h3 { color: var(--navy); margin-bottom: .25rem; }
.founder-info .role { font-size: .875rem; color: var(--cyan-dark); font-weight: 600; margin-bottom: .75rem; }
.founder-info p { font-size: .9375rem; }

@media (max-width: 480px) {
  .founder-card { flex-direction: column; gap: 1.25rem; }
}

/* ============================================================
   HIGHLIGHT BOX
   ============================================================ */
.highlight-box {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border-left: 4px solid var(--blue);
}
.highlight-box h4 { color: var(--navy); margin-bottom: .5rem; }
.highlight-box p { font-size: .9375rem; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .9375rem;
  color: var(--navy);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30,79,216,.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.65);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.footer-brand img { height: 30px; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.footer-brand p { font-size: .875rem; line-height: 1.65; color: rgba(255,255,255,.55); max-width: 280px; }
.footer-col h4 {
  color: white;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .55rem; }
.footer-col a { color: rgba(255,255,255,.55); font-size: .875rem; transition: color .2s; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .82rem;
}
.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: var(--cyan); }
.footer-legal { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,.4); font-size: .82rem; transition: color .2s; }
.footer-legal a:hover { color: var(--cyan); }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 100%; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-navy { color: var(--navy); }
.text-blue { color: var(--blue); }
.text-cyan { color: var(--cyan-dark); }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.gap-1 { gap: .5rem; }
.bg-gray { background: var(--gray-50); }
.bg-dark { background: var(--navy); }

/* ---- Fade-in animation on scroll ---- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .nav, footer, .cta-banner, .cta-full { display: none; }
  section { padding: 1.5rem 0; }
}
