/* ── Home page styles ── */

/* Nav logo image — use SVG version for nav, original JPG elsewhere */
.nav-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  /* No filter — show the SVG as-is on dark bg */
}

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(31,56,100,0.45) 0%, transparent 70%),
              radial-gradient(ellipse 50% 40% at 20% 80%, rgba(11,110,115,0.2) 0%, transparent 60%),
              var(--color-bg);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, black 40%, transparent 100%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  padding-block: clamp(var(--space-20), 10vw, var(--space-32));
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}

.hero-title {
  font-size: var(--text-3xl);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-block: var(--space-4) var(--space-6);
  color: var(--color-text);
}
.hero-title-accent {
  background: linear-gradient(135deg, var(--teal-light) 0%, var(--color-accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 52ch;
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.hero-ctas {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* Hero visual — logo display */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-wrap {
  position: relative;
  width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-wrap::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11,110,115,0.15) 0%, transparent 70%);
  animation: pulse-ring 3s ease-in-out infinite;
}

@keyframes pulse-ring {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.hero-logo-img {
  width: 320px;
  height: auto;
  border-radius: 12px;
  /* White background logo on dark bg: use a card-style container */
  background: rgba(255,255,255,0.05);
  padding: var(--space-6);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg), var(--shadow-teal);
}

/* Stats bar */
.stats-bar {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding-block: var(--space-8);
}

.stats-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.stats-divider {
  width: 1px;
  height: 40px;
  background: var(--color-border);
}

@media (max-width: 640px) {
  .stats-divider { display: none; }
  .stats-row { gap: var(--space-6); justify-content: center; }
}

/* What we do */
.what-we-do { background: var(--color-bg); }

.card-icon {
  color: var(--teal-light);
  margin-bottom: var(--space-4);
}

.card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.card-link {
  display: inline-block;
  margin-top: var(--space-5);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--teal-light);
  text-decoration: none;
  transition: color var(--transition), gap var(--transition);
}
.card-link:hover { color: var(--color-accent-light); }

/* Bio strip */
.bio-strip {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.bio-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-16);
  align-items: start;
}
@media (max-width: 768px) {
  .bio-inner { grid-template-columns: 1fr; }
}

.bio-quote {
  font-size: var(--text-lg);
  color: var(--color-text);
  font-style: italic;
  line-height: 1.7;
  border-left: 3px solid var(--color-primary);
  padding-left: var(--space-6);
  margin-block: var(--space-4) var(--space-5);
}

.bio-sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
}

.bio-facts {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.fact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--color-border);
  gap: var(--space-4);
}
.fact-row:last-child { border-bottom: none; }

.fact-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-faint);
  white-space: nowrap;
}

.fact-value {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-align: right;
}
.fact-value a { color: var(--teal-light); text-decoration: none; }
.fact-value a:hover { color: var(--color-accent-light); }

/* CTA strip */
.cta-strip {
  background: linear-gradient(135deg, var(--navy-deeper) 0%, var(--color-surface-3) 100%);
  border-top: 1px solid var(--color-border-teal);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-10);
  flex-wrap: wrap;
}

.cta-inner h2 {
  font-size: var(--text-xl);
  font-weight: 800;
  margin-bottom: var(--space-2);
}

.cta-inner p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
}

.cta-buttons {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* footer-logo-img defined at bottom */

/* ── Hero OI display visual ── */
.hero-oi-display {
  width: 340px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-teal);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg), var(--shadow-teal);
  text-align: center;
}

.oi-title {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--teal-light);
  margin-bottom: var(--space-6);
}

.oi-ring {
  width: 200px;
  height: 200px;
  margin: 0 auto var(--space-6);
  /* No rotation on the container — crosshairs rotate internally */
}

/* Only the crosshairs group rotates */
.oi-crosshairs {
  transform-origin: 100px 100px;  /* SVG center */
  animation: crosshair-spin 12s linear infinite;
}

@keyframes crosshair-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.oi-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
}

.oi-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}

.oi-val {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 900;
  color: var(--color-text);
}

.oi-lbl {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.oi-divider {
  width: 1px;
  height: 32px;
  background: var(--color-border);
}

/* Footer logo via SVG - keep same height but no filter needed */
.footer-logo-img {
  height: 48px;
  width: auto;
  margin-bottom: var(--space-4);
}
