@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── TOKENS ─────────────────────────────────────────────────────────── */
:root {
  --ivory:       #FFFFFF;
  --ivory-2:     #F6F7F9;
  --ivory-3:     #EEF0F4;
  --ink:         #0B1220;
  --ink-2:       #1F2735;
  --ink-3:       #4A5260;
  --muted:       #8A8F99;
  --line:        rgba(11,18,32,0.10);
  --line-2:      rgba(11,18,32,0.05);
  --primary:     #0385eb;
  --primary-2:   #0269BD;
  --moss:        #5C6B3F;
  --plum:        #6E4760;
  --copper:      #0385eb;
  --copper-2:    #0269BD;
  --display:     "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans:        "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:        "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
  --pad-x:       clamp(20px, 5vw, 80px);
  --container:   1320px;
}

/* ── SKIP LINK ──────────────────────────────────────────────────────── */
.skip-link {
  position: fixed;
  top: -100%;
  left: 0;
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
  z-index: 99999;
  font-size: 14px;
  font-weight: 600;
  border-radius: 0 0 6px 0;
  text-decoration: none;
  transition: top 0.15s;
}
.skip-link:focus { top: 0; }

/* ── RESET ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #050a14;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { background: var(--ink); color: var(--ivory); }

body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(11,18,32,0.018) 1px, transparent 1px);
  background-size: 4px 4px;
  z-index: 1;
  mix-blend-mode: multiply;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}


/* ── TYPOGRAPHY ──────────────────────────────────────────────────────── */
.serif { font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; }
.mono  { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.h-display {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.h-section {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0;
}
.h-card {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 3.5vw, 52px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0;
}
.italic { font-style: normal; }
.lead {
  font-family: var(--sans);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
}

/* ── NAV ─────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  height: 68px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.nav.scrolled {
  background: rgba(11,18,32,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(255,255,255,0.10);
  box-shadow: 0 2px 24px rgba(0,0,0,0.28);
}

.nav-brand {
  display: flex; align-items: center; gap: 11px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo { height: 48px; width: auto; filter: brightness(0) invert(1); transition: opacity 0.2s; }
.nav-brand:hover .nav-logo { opacity: 0.75; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-brand-top {
  font-family: var(--display); font-weight: 700; font-size: 13px;
  letter-spacing: 0.10em; color: #fff; text-transform: uppercase;
}
.nav-brand-bot {
  font-family: var(--display); font-weight: 400; font-size: 10px;
  letter-spacing: 0.16em; color: rgba(255,255,255,0.50); text-transform: uppercase;
}

.nav-links {
  display: flex; align-items: center; gap: 2px;
  list-style: none; padding: 0; margin: 0;
}
.nav-links a {
  font-size: 13.5px; padding: 8px 15px;
  color: rgba(255,255,255,0.65);
  border-radius: 6px; position: relative;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.07); }
.nav-links a.active { color: #fff; }
.nav-links a.active::after {
  content: "";
  position: absolute; bottom: 2px; left: 15px; right: 15px;
  height: 2px; border-radius: 1px; background: var(--primary);
}

.nav-cta {
  font-size: 13.5px; padding: 10px 22px;
  border-radius: 100px; background: var(--primary); color: #fff;
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap; flex-shrink: 0;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
  background: var(--primary-2); transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(3,133,235,0.38);
}

.nav-toggle {
  display: none; background: none; border: none;
  color: #fff; font-size: 20px; line-height: 1; padding: 4px; cursor: pointer;
}

@media (max-width: 900px) {
  .nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 640px) {
  .nav-cta { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 68px; left: 0; right: 0;
    background: rgba(11,18,32,0.98);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.09);
    padding: 8px 0;
    box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  }
  .nav-links.open li { width: 100%; }
  .nav-links.open a {
    display: block; padding: 14px 24px;
    font-size: 15px; color: rgba(255,255,255,0.78);
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .nav-links.open li:last-child a { border-bottom: none; }
  .nav-links.open a:hover { background: rgba(255,255,255,0.06); color: #fff; }
}

/* ── SCROLL PROGRESS ─────────────────────────────────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; background: var(--primary);
  width: 0%; z-index: 200;
  box-shadow: 0 0 12px rgba(3,133,235,0.55);
  transition: width 60ms linear;
  pointer-events: none;
}

/* ── SCROLL-TO-TOP ───────────────────────────────────────────────────── */
.scroll-top {
  position: fixed; bottom: 28px; right: 26px;
  width: 56px; height: 56px; z-index: 90;
  background: var(--ink); border: none; border-radius: 50%;
  display: grid; place-items: center;
  opacity: 0; transform: translateY(20px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.4s, transform 0.5s cubic-bezier(.2,.7,.2,1), background 0.3s;
  box-shadow: 0 8px 24px rgba(11,18,32,0.18), 0 2px 6px rgba(11,18,32,0.10);
}
.scroll-top.show { opacity: 1; transform: none; pointer-events: auto; }
.scroll-top:hover { background: var(--primary); }
.scroll-top svg.ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.scroll-top svg.ring circle.track { fill: none; stroke: rgba(255,255,255,0.18); stroke-width: 2; }
.scroll-top svg.ring circle.bar {
  fill: none; stroke: var(--primary); stroke-width: 2;
  stroke-linecap: round;
  transition: stroke-dashoffset 80ms linear, stroke 0.3s;
}
.scroll-top:hover svg.ring circle.bar { stroke: #fff; }
.scroll-top .arrow {
  color: var(--ivory); display: grid; place-items: center;
  position: relative; z-index: 1;
  transition: transform 0.3s;
}
.scroll-top:hover .arrow { transform: translateY(-2px); }
@media (max-width: 640px) { .scroll-top { bottom: 20px; right: 18px; width: 48px; height: 48px; } }

/* ── SECTION RAIL ────────────────────────────────────────────────────── */
.section-rail {
  position: fixed; right: 26px; top: 50%;
  transform: translateY(-50%);
  z-index: 50; display: flex; flex-direction: column;
  gap: 12px; align-items: flex-end;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}
.section-rail.visible {
  opacity: 1; pointer-events: auto;
}
.section-rail .dot {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink-3); background: none; border: none;
  padding: 4px 2px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  opacity: 0.5; transition: opacity 0.3s, color 0.3s;
}
.section-rail .dot .lbl {
  opacity: 0; transform: translateX(8px);
  transition: opacity 0.3s, transform 0.3s;
  white-space: nowrap;
}
.section-rail .dot:hover { opacity: 1; }
.section-rail .dot:hover .lbl { opacity: 1; transform: none; }
.section-rail .dot::after {
  content: ""; width: 22px; height: 1px;
  background: currentColor; transition: width 0.3s;
}
.section-rail .dot.active { opacity: 1; color: var(--primary); }
.section-rail .dot.active::after { width: 36px; height: 2px; }
.section-rail .dot.active .lbl { opacity: 1; transform: none; }
@media (max-width: 1100px) { .section-rail { display: none; } }

/* ── REVEAL ANIMATIONS ───────────────────────────────────────────────── */
/* All "starts hidden" rules are gated on .js so content is always visible
   if JavaScript fails to load or execute. */
.js .reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--rd, 0ms);
}
.reveal.in { opacity: 1; transform: none; }

.reveal-mask {
  display: inline-block; overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.18em; margin-bottom: -0.18em;
  line-height: inherit;
}
.js .reveal-mask > span {
  display: inline-block;
  transform: translateY(120%);
  transition: transform 1.1s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--rd, 0ms);
}
.reveal-mask.in > span { transform: none; }

.js .section-enter {
  opacity: 0; transform: translateY(60px);
  transition: opacity 1.1s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1);
}
.section-enter.in { opacity: 1; transform: none; }


.js .port-card .vis {
  transform: scale(0.92) translateY(28px);
  opacity: 0;
  transition: transform 1.1s cubic-bezier(.2,.7,.2,1), opacity 0.9s ease;
}
.port-wrap.reveal.in .vis { transform: none; opacity: 1; }

/* ── HERO SLIDER ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh; min-height: 600px;
  overflow: hidden;
}
.hero-slider { position: absolute; inset: 0; }

/* Top gradient so the transparent nav stays readable over any slide image */
.hero::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 220px;
  background: linear-gradient(to bottom, rgba(11,18,32,0.72) 0%, transparent 100%);
  z-index: 5; pointer-events: none;
}

.slide {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}
.slide.active { opacity: 1; z-index: 1; pointer-events: auto; }

.slide-bg {
  position: absolute; inset: -6%;
  background-size: cover; background-position: center;
  background-color: #0b1220;
  transition: transform 0.01s;
}
.slide.active .slide-bg {
  animation: kenburns 9s ease-out forwards;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5,10,20,0.55) 0%,
    rgba(5,10,20,0.68) 45%,
    rgba(5,10,20,0.85) 100%
  );
}

.slide-content {
  position: relative; z-index: 2;
  text-align: center; color: #fff;
  padding: 0 24px;
  max-width: 780px; width: 100%;
  transform: translateY(28px); opacity: 0;
  transition: opacity 0.75s ease 0.4s, transform 0.75s ease 0.4s;
}
.slide.active .slide-content { opacity: 1; transform: none; }

.slide-eyebrow {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.60);
  margin-bottom: 20px;
}
.slide-heading {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(48px, 6.5vw, 92px);
  line-height: 1; letter-spacing: -0.04em;
  color: #fff; margin: 0 0 24px;
}
.slide-desc {
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.70; color: rgba(255,255,255,0.92);
  max-width: 680px; margin: 0 auto 40px;
}
.slide-btns {
  display: flex; gap: 14px;
  justify-content: center; flex-wrap: wrap;
}

/* Ghost button (white outline, dark bg) */
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500;
  padding: 14px 28px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.38);
  color: #fff; background: rgba(255,255,255,0.06);
  text-decoration: none; cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.70); transform: translateY(-1px); }

/* Primary button override for dark slide bg */
.slide-btns .btn-primary { background: var(--primary); color: #fff; }
.slide-btns .btn-primary:hover { background: var(--primary-2); transform: translateY(-1px); }

/* Arrows */
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; width: 50px; height: 50px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.30);
  background: rgba(255,255,255,0.10);
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.slider-arrow:hover { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.65); }
.slider-arrow.prev { left: 32px; }
.slider-arrow.next { right: 32px; }


@media (max-width: 640px) {
  .slider-arrow { display: none; }
  .slide-heading { font-size: clamp(38px, 9vw, 56px); }
}

/* ── BUTTONS ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500;
  padding: 14px 28px; border-radius: 100px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  cursor: pointer; border: none;
}
.btn-primary { background: var(--ink); color: var(--ivory); }
.btn-primary:hover { background: var(--primary); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-outline:hover { border-color: var(--ink); transform: translateY(-1px); }

/* ── STATS STRIP ────────────────────────────────────────────────────────── */
.stats-strip {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 10;
  background: linear-gradient(to bottom, transparent 0%, rgba(5,10,20,0.70) 55%, rgba(5,10,20,0.95) 100%);
}
.stats-inner {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px 0 18px;
}
.stat-icon {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.stat-icon svg { width: 17px; height: 17px; }
.stat-value {
  font-family: var(--display);
  font-size: clamp(15px, 1.35vw, 19px);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.01em;
}
.stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.44);
  margin-top: 4px;
  letter-spacing: 0.025em;
}
@media (max-width: 700px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  .stats-strip { display: none; }
}

/* ── MARQUEE ─────────────────────────────────────────────────────────── */
.marquee {
  overflow: hidden;
  padding: 22px 0;
  margin-bottom: 60px;
}
.marquee-track {
  display: flex; gap: 60px;
  white-space: nowrap;
  animation: marquee 18s linear infinite;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(26px, 2.6vw, 40px);
  line-height: 1; letter-spacing: -0.03em;
  align-items: center;
  color: rgba(255,255,255,0.85);
}
.marquee-track span { display: inline-flex; align-items: center; gap: 60px; }
.marquee-track .dot { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; display: inline-block; flex-shrink: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── SECTIONS ────────────────────────────────────────────────────────── */
.section { padding: 120px 0; position: relative; }
.section-head {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: end;
  padding-bottom: 80px;
}
.section-head .right { padding-bottom: 8px; }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; gap: 24px; } }

/* ── ABOUT ───────────────────────────────────────────────────────────── */
.about { }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.about-grid .left { position: sticky; top: 120px; }
.about-points { display: flex; flex-direction: column; gap: 0; }
.about-points .point {
  display: grid; grid-template-columns: 48px 1fr;
  gap: 24px; padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.09);
  align-items: start;
}
.about-points .point:last-child { border-bottom: 1px solid rgba(255,255,255,0.09); }
.about-points .point .num {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.12em; color: rgba(255,255,255,0.35);
  padding-top: 8px;
}
.about-points .point h4 {
  margin: 0 0 8px;
  font-family: var(--display); font-size: 22px;
  font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; color: #fff;
}
.about-points .point p { margin: 0; color: rgba(255,255,255,0.62); font-size: 15px; max-width: 460px; }
.about .eyebrow { color: rgba(255,255,255,0.45); }
.about .h-section { color: #fff; }
.about .lead { color: rgba(255,255,255,0.65); }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } .about-grid .left { position: static; } }

/* ── SECTORS ─────────────────────────────────────────────────────────── */
.sectors {
  background: #050a14; color: var(--ivory);
  padding: 130px 0;
}
.sectors .eyebrow { color: rgba(244,241,236,0.6); }
.sectors .h-section { color: var(--ivory); }
.sectors .lead { color: rgba(244,241,236,0.7); }

.sectors-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border-top: 1px solid rgba(244,241,236,0.14);
}
.sector-item {
  padding: 48px 32px 48px 0;
  border-right: 1px solid rgba(244,241,236,0.14);
  position: relative; transition: background 0.5s;
}
.sector-item:nth-child(3n) { border-right: none; padding-right: 0; }
.sector-item:nth-child(n+1) { padding-left: 32px; }
.sector-item:first-child { padding-left: 0; }
.sector-item .glow {
  position: absolute; inset: -1px;
  background: linear-gradient(180deg, rgba(3,133,235,0.08), transparent 60%);
  opacity: 0; transition: opacity 0.5s; pointer-events: none;
}
.sector-item:hover .glow { opacity: 1; }
.sector-item .num {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.16em; color: rgba(244,241,236,0.5);
  margin-bottom: 80px; display: block;
}
.sector-item h3 {
  font-family: var(--display); font-weight: 700;
  font-size: 34px; line-height: 1;
  letter-spacing: -0.03em; margin: 0 0 8px;
}
.sector-item .sub {
  font-size: 13px; color: rgba(244,241,236,0.55);
  font-family: var(--mono); letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 28px;
}
.sector-item .body {
  color: rgba(244,241,236,0.72); font-size: 14.5px;
  line-height: 1.6; max-width: 320px;
}
.sector-item .icon {
  width: 56px; height: 56px; margin-top: 36px;
  display: grid; place-items: center;
  border: 1px solid rgba(244,241,236,0.2); border-radius: 50%;
  transition: transform 0.5s cubic-bezier(.2,.7,.2,1), background 0.4s, border-color 0.4s;
}
.sector-item:hover .icon { transform: rotate(45deg); background: var(--copper); border-color: var(--copper); }
.sector-item .icon svg { transition: transform 0.5s cubic-bezier(.2,.7,.2,1); }
.sector-item:hover .icon svg { transform: rotate(-45deg); }
@media (max-width: 820px) {
  .sectors-grid { grid-template-columns: 1fr; }
  .sector-item { border-right: none; border-bottom: 1px solid rgba(244,241,236,0.14); padding: 40px 0 !important; }
  .sector-item:last-child { border-bottom: none; }
}

/* ── COMPANY CARDS ───────────────────────────────────────────────────── */
.co-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0 0 100px;
}
.co-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 36px 30px 28px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, background 0.3s;
}
.co-card:hover {
  border-color: rgba(3,133,235,0.28);
  background: rgba(3,133,235,0.04);
}
.co-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
  margin-bottom: 18px;
}
.co-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(24px, 2vw, 30px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: #fff;
  text-transform: uppercase;
}
.co-name .co-accent { display: block; }
.co-tagline {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.36);
  margin-top: 12px;
  margin-bottom: 24px;
}
.co-icon {
  color: #fff;
  margin-bottom: 20px;
}
.co-desc {
  font-size: 14px;
  line-height: 1.72;
  color: rgba(255,255,255,0.58);
  margin: 0 0 24px;
}
.co-feats {
  list-style: none;
  padding: 20px 0 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.co-feats li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.68);
}
.co-feats li svg { color: var(--primary); flex-shrink: 0; }
.co-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding: 13px 20px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.co-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
@media (max-width: 900px) {
  .co-cards { grid-template-columns: 1fr; gap: 16px; padding-bottom: 60px; }
}

/* ── PORTFOLIO ───────────────────────────────────────────────────────── */
.portfolio {
  background: #050a14;
  padding: 0;
  border-radius: 0;
  margin-top: 0;
}
.portfolio > .container { padding-top: 140px; padding-bottom: 0; }
.portfolio .section-head { padding-bottom: 0; }

/* Full-width card wrapper — carries the fixed bg image */
.port-wrap {
  position: relative;
  background-color: #050a14;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Disable the reveal translateY on port-wrap — transform on the element
   breaks background-attachment:fixed in Chrome/Firefox */
.port-wrap.reveal { transform: none; }

.port-mid::before { background: rgba(5,10,20,0.96); }

.port-first::before {
  background: linear-gradient(
    to bottom,
    #050a14 0%,
    rgba(5,10,20,0.96) 18%
  );
}

.port-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    #050a14 0%,
    rgba(5,10,20,0.96) 20%,
    rgba(5,10,20,0.96) 50%,
    rgba(5,10,20,0.96) 80%,
    #050a14 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* Two-col layout inside the container */
.port-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 100px 0;
  position: relative;
  z-index: 1;
}
.port-card.flip { grid-template-columns: 1fr 1fr; }
.port-card.flip .vis { order: 2; }

/* Image panel */
.port-card .vis {
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: var(--ivory-2);
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
}
.vis.tech     { background: linear-gradient(135deg, #D3E6F8 0%, #A6CCF2 100%); }
.vis.robotics { background: linear-gradient(135deg, #D8DDC9 0%, #B8BFA3 100%); }
.vis.digital  { background: linear-gradient(135deg, #DDD2E2 0%, #BFB0CB 100%); }
.vis.with-photo > img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0; z-index: 0;
}
.vis.with-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.05) 55%, transparent 100%);
  pointer-events: none; z-index: 1;
}
.vis-art { position: absolute; inset: 0; overflow: hidden; z-index: 2; }
.vis-art .corner {
  position: absolute; top: 20px; right: 20px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}
.vis-art .port-logo {
  position: absolute; bottom: 24px; left: 24px;
  height: 100px; width: auto; display: block;
  filter: brightness(0) invert(1) drop-shadow(0 2px 16px rgba(0,0,0,0.6));
  z-index: 4;
}

/* Right column — content */
.port-card .meta-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 28px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3);
}
.port-card h3 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1; letter-spacing: -0.035em;
  margin: 0 0 20px; color: var(--ink);
}
.port-card h3 .accent { font-style: normal; }
.port-card .desc {
  font-size: 16px; line-height: 1.6;
  color: var(--ink-2); max-width: 520px; margin: 0 0 32px;
}
.port-card .feats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; border-top: 1px solid var(--line);
  margin-bottom: 32px;
}
.port-card .feats .feat { padding: 18px 0; border-bottom: 1px solid var(--line); }
.port-card .feats .feat:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--line); }
.port-card .feats .feat:nth-child(even) { padding-left: 16px; }
.port-card .feats .feat .v { font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.port-card .feats .feat .l { margin-top: 6px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.port-card .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.port-card .tags span {
  font-size: 12.5px; padding: 6px 12px;
  border: 1px solid var(--line); border-radius: 100px;
  color: var(--ink-2); background: rgba(255,255,255,0.6);
}
.port-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 14px 22px;
  border: 1px solid var(--ink); border-radius: 100px;
  color: var(--ink);
  transition: background 0.3s, color 0.3s;
}
.port-link:hover { background: #fff; color: var(--ink); }
.port-link svg { transition: transform 0.3s; }
.port-link:hover svg { transform: translate(2px,-2px); }

/* Portfolio dark-theme text overrides */
.portfolio .eyebrow { color: rgba(255,255,255,0.45); }
.portfolio .h-section { color: #fff; }
.portfolio .lead { color: rgba(255,255,255,0.62); }
.port-card h3 { color: #fff; }
.port-card .desc { color: rgba(255,255,255,0.70); }
.port-card .meta-row { color: rgba(255,255,255,0.45); }
.port-card .feats { border-top-color: rgba(255,255,255,0.10); }
.port-card .feats .feat { border-bottom-color: rgba(255,255,255,0.10); }
.port-card .feats .feat:nth-child(odd) { border-right-color: rgba(255,255,255,0.10); }
.port-card .feats .feat .v { color: #fff; }
.port-card .feats .feat .l { color: rgba(255,255,255,0.45); }
.port-card .tags span { color: rgba(255,255,255,0.72); border-color: rgba(255,255,255,0.14); background: rgba(255,255,255,0.06); }
.port-link { color: rgba(255,255,255,0.88); border-color: rgba(255,255,255,0.30); }

@media (max-width: 880px) {
  .port-card,
  .port-card.flip { grid-template-columns: 1fr; gap: 40px; padding: 64px 0; }
  .port-card.flip .vis { order: 0; }
}


/* ── FOUNDER ─────────────────────────────────────────────────────────── */
.founder { background: #050a14; padding: 140px 0; position: relative; }
.founder-grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: 80px; align-items: center;
}
.founder-vis {
  aspect-ratio: 4 / 5; border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #D3E6F8 0%, #7CB5E8 100%);
  position: relative;
}
.founder-vis img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.founder h2.quote {
  font-family: var(--display); font-style: italic;
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 38px);
  line-height: 1.25; letter-spacing: -0.025em;
  margin: 0 0 28px; color: #fff;
}
.founder .bio { color: rgba(255,255,255,0.68); font-size: 16px; max-width: 540px; margin: 0 0 24px; line-height: 1.7; }
.founder .sig {
  display: flex; align-items: center; gap: 16px;
  margin-top: 36px;
}
.founder .sig .name { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1; letter-spacing: -0.025em; color: #fff; }
.founder .sig .role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-top: 6px; }
.founder .li-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 28px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 12px 20px; border: 1px solid rgba(255,255,255,0.22);
  border-radius: 100px; color: rgba(255,255,255,0.75);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.founder .li-link:hover { background: #fff; color: var(--ink); border-color: #fff; }
.founder .eyebrow { color: rgba(255,255,255,0.45); }
.founder .h-section { color: #fff; }
@media (max-width: 880px) { .founder-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ── CONTACT ─────────────────────────────────────────────────────────── */
.contact { padding: 140px 0 100px; background: #050a14; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-info { padding-right: 20px; }
.contact-info .intro { color: rgba(255,255,255,0.65); font-size: 16px; max-width: 480px; margin: 0 0 56px; line-height: 1.7; }
.contact-info .blocks { display: flex; flex-direction: column; gap: 0; }
.contact-info .blk {
  padding: 24px 0; border-top: 1px solid rgba(255,255,255,0.10);
  display: grid; grid-template-columns: 120px 1fr;
  gap: 24px; align-items: start;
}
.contact-info .blk:last-child { border-bottom: 1px solid rgba(255,255,255,0.10); }
.contact-info .blk .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.42); padding-top: 4px; }
.contact-info .blk .v { font-family: var(--display); font-weight: 600; font-size: 16px; line-height: 1.45; letter-spacing: -0.012em; color: #fff; }
.contact-info .blk a:hover { color: var(--primary); }
.contact .eyebrow { color: rgba(255,255,255,0.45); }
.contact .h-section { color: #fff; }

.form-wrap { background: rgba(255,255,255,0.04); border-radius: 24px; padding: 40px; border: 1px solid rgba(255,255,255,0.10); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; margin-bottom: 16px; }
.field label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.42); margin-bottom: 10px; }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 15px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.12); border-radius: 12px;
  background: rgba(255,255,255,0.06); color: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: none; appearance: none;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.28); }
.field select option { background: #0b1220; color: #fff; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(3,133,235,0.12);
}
.field .err { font-family: var(--mono); font-size: 10px; color: #c0392b; margin-top: 6px; letter-spacing: 0.06em; text-transform: uppercase; }
.submit-btn {
  background: var(--ink); color: var(--ivory);
  border: none; border-radius: 100px;
  padding: 16px 28px; font-size: 14px; letter-spacing: 0.02em;
  display: inline-flex; align-items: center; gap: 12px;
  transition: background 0.3s, transform 0.3s;
  margin-top: 8px;
}
.submit-btn:hover { background: var(--copper); }
.submit-btn:disabled { opacity: 0.6; cursor: wait; }
.submit-btn .arr { transition: transform 0.3s; }
.submit-btn:hover .arr { transform: translate(2px,-2px); }

.form-success {
  padding: 20px; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 16px;
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 16px;
}
.form-success .check { width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.form-success .t .t1 { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -0.02em; color: #fff; }
.form-success .t .t2 { font-size: 13px; color: rgba(255,255,255,0.55); }

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .form-wrap { padding: 28px; }
}

/* ── FOOTER ──────────────────────────────────────────────────────────── */
footer {
  background: #050a14; color: var(--ivory);
  padding: 100px 0 32px;
  position: relative; z-index: 2;
}
footer .container { max-width: 100%; }
.foot-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px; padding-bottom: 80px;
  border-bottom: 1px solid rgba(244,241,236,0.14);
}
.foot-brand .eyebrow { color: rgba(244,241,236,0.5); }
.foot-brand .ftxt { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3vw, 44px); line-height: 1.05; letter-spacing: -0.03em; margin: 24px 0 28px; color: rgba(244,241,236,0.92); }
.foot-brand .sub { color: rgba(244,241,236,0.6); font-size: 14.5px; max-width: 320px; }
.foot-col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(244,241,236,0.5); margin: 0 0 24px; font-weight: 400; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.foot-col a { color: rgba(244,241,236,0.85); font-size: 15px; display: inline-flex; align-items: center; gap: 8px; transition: color 0.2s; }
.foot-col a:hover { color: var(--copper); }
.foot-col a .ext { opacity: 0.5; transition: transform 0.3s, opacity 0.3s; }
.foot-col a:hover .ext { transform: translate(2px,-2px); opacity: 1; }
.foot-col li span.addr { color: rgba(244,241,236,0.6); font-size: 14px; line-height: 1.6; }
.foot-bottom {
  margin-top: 32px; display: flex; justify-content: space-between;
  align-items: center;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(244,241,236,0.5); flex-wrap: wrap; gap: 16px;
}
.foot-bottom-links { display: flex; align-items: center; gap: 10px; }
.foot-bottom-links a { color: rgba(244,241,236,0.5); text-decoration: underline; text-underline-offset: 3px; }
.foot-bottom-links a:hover { color: rgba(244,241,236,0.85); }
@media (max-width: 880px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 500px) {
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}
