:root {
  --color-black: #000000;
  --color-ink: #0a0a0a;
  --color-near-black: #0c0f14;
  --color-panel: #14181f;
  --color-steel: #2E6DA4;
  --color-steel-bright: #4A8AC2;
  --color-steel-soft: #9CC6F2;
  --color-white: #ffffff;
  --color-muted: rgba(255, 255, 255, 0.7);
  --color-line: rgba(255, 255, 255, 0.12);
  --font-head: 'Barlow Semi Condensed', system-ui, sans-serif;
  --font-body: 'Barlow', system-ui, sans-serif;
  --max-width: 1140px;
  --r: 4px;
  --transition: 0.18s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-white);
  background: var(--color-black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--color-steel-soft); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-white); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--color-white);
}

img, svg { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }
@media (max-width: 720px) { section { padding: 64px 0; } }

/* ============== NAV ============== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--color-line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 84px;
  position: relative;
}

.logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: -0.01em;
  color: var(--color-white);
  text-transform: none;
  line-height: 1;
}

.logo:hover { color: var(--color-steel-soft); }

@media (max-width: 520px) {
  .nav-inner { height: 72px; }
}

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--r);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-steel);
  color: var(--color-white);
  border-color: var(--color-steel);
  box-shadow: 0 6px 22px rgba(46, 109, 164, 0.4);
}
.btn-primary:hover {
  background: var(--color-steel-bright);
  border-color: var(--color-steel-bright);
  color: var(--color-white);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-steel-soft);
  border-color: rgba(156, 198, 242, 0.4);
}
.btn-ghost:hover {
  background: rgba(46, 109, 164, 0.14);
  border-color: var(--color-steel-soft);
  color: var(--color-white);
}

/* ============== HERO ============== */
.hero {
  position: relative;
  background-color: var(--color-black);
  background-image: url("/hero-bg.jpg");
  background-size: cover;
  background-position: center 75%;
  background-repeat: no-repeat;
  padding: 96px 0 110px;
  overflow: hidden;
}

/* Dark + steel-blue overlay so text stays readable on the photo */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.85) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0.55) 100%),
    radial-gradient(ellipse at 80% 25%, rgba(46, 109, 164, 0.30), transparent 55%);
  pointer-events: none;
}

@media (max-width: 880px) {
  .hero { background-position: center bottom; }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.55) 50%, rgba(0,0,0,0.9) 100%),
      radial-gradient(ellipse at 50% 25%, rgba(46, 109, 164, 0.25), transparent 60%);
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 64px;
  align-items: center;
}

.hero-copy { max-width: 720px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-steel-soft);
  margin-bottom: 28px;
  padding: 8px 16px;
  background: rgba(46, 109, 164, 0.14);
  border: 1px solid rgba(156, 198, 242, 0.35);
  border-radius: 999px;
  line-height: 1.3;
}

.hero h1 {
  font-size: clamp(48px, 7.2vw, 92px);
  font-weight: 800;
  line-height: 0.98;
  margin-bottom: 28px;
  letter-spacing: -0.025em;
}

.hero .lede {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--color-muted);
  max-width: 620px;
  margin-bottom: 40px;
  line-height: 1.55;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-photo {
  position: relative;
  width: 100%;
  max-width: 360px;
  justify-self: end;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(46, 109, 164, 0.45);
  box-shadow: 0 30px 80px rgba(46, 109, 164, 0.3);
  background: linear-gradient(135deg, #14181f, #0a0a0a);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 880px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: left;
  }
  .hero-photo {
    max-width: 240px;
    justify-self: start;
    order: -1;
  }
}

/* ============== ABOUT ============== */
.about {
  background: var(--color-near-black);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.eyebrow-light {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-steel);
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 800;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.about-body {
  font-size: 18px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
  max-width: 820px;
}

/* ============== CARDS ============== */
.ventures { background: var(--color-black); }

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

@media (max-width: 820px) {
  .cards { grid-template-columns: 1fr; }
}

.card {
  position: relative;
  padding: 44px 36px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card-bg {
  position: absolute;
  width: 220px;
  height: 220px;
  top: -10px;
  right: -30px;
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}

.card > *:not(.card-bg) { position: relative; z-index: 1; }

@media (max-width: 520px) {
  .card-bg { width: 170px; height: 170px; right: -40px; top: -20px; opacity: 0.7; }
}

.card:hover { transform: translateY(-4px); }

.card-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.card h3 {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.card p {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.card-link {
  margin-top: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.card-link span { transition: transform var(--transition); }
.card-link:hover span { transform: translateX(4px); }

/* Solid steel-blue card */
.card-solid {
  background: linear-gradient(155deg, var(--color-steel) 0%, #1f5384 100%);
  color: var(--color-white);
  box-shadow: 0 16px 40px rgba(46, 109, 164, 0.35);
}
.card-solid .card-label { color: rgba(255, 255, 255, 0.85); }
.card-solid .card-link { color: var(--color-white); }
.card-solid .card-link:hover { color: rgba(255, 255, 255, 0.85); }
.card-solid:hover { box-shadow: 0 22px 50px rgba(46, 109, 164, 0.45); }

/* Dark card with steel-blue border */
.card-outline {
  background: var(--color-panel);
  border: 1.5px solid var(--color-steel);
  color: var(--color-white);
}
.card-outline .card-label { color: var(--color-steel-soft); }
.card-outline .card-link { color: var(--color-steel-soft); }
.card-outline .card-link:hover { color: var(--color-white); }
.card-outline:hover { border-color: var(--color-steel-bright); box-shadow: 0 16px 40px rgba(46, 109, 164, 0.25); }

/* ============== CONTACT ============== */
.contact {
  background: var(--color-near-black);
  border-top: 1px solid var(--color-line);
  text-align: left;
}

.contact-title { margin-bottom: 20px; }

.contact-body {
  font-size: 19px;
  line-height: 1.6;
  color: var(--color-muted);
  max-width: 720px;
  margin-bottom: 48px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 720px;
}

@media (max-width: 600px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 28px;
  background: rgba(46, 109, 164, 0.08);
  border: 1px solid rgba(46, 109, 164, 0.3);
  border-radius: 6px;
  transition: all var(--transition);
}

.contact-item:hover {
  background: rgba(46, 109, 164, 0.16);
  border-color: var(--color-steel-bright);
  transform: translateY(-2px);
}

.contact-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-steel-soft);
}

.contact-value {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  color: var(--color-white);
  letter-spacing: -0.01em;
}

/* ============== FOOTER ============== */
.footer {
  background: var(--color-black);
  border-top: 1px solid var(--color-line);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}
.footer-links a:hover { color: var(--color-white); }

.footer-sep { color: rgba(255, 255, 255, 0.3); }

@media (max-width: 520px) {
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
