/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/archivo-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/archivo-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/lato-300-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/lato-400-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/lato-700-latin.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  --c-navy: #222e50;
  --c-navy-deep: #1a2440;
  --c-blue: #a2e1f2;
  --c-blue-soft: #d6f0f7;
  --c-coral: #b74f6f;
  --c-bg: #e9e9e9;
  --c-bg-soft: #f4f4f4;
  --c-text: #1d1d1f;
  --c-text-muted: #5a5a62;
  --c-line: rgba(34, 46, 80, 0.12);

  --ff-head: 'Archivo', system-ui, -apple-system, Segoe UI, sans-serif;
  --ff-body: 'Lato', system-ui, -apple-system, Segoe UI, sans-serif;

  --header-h: 84px;
  --header-h-shrunk: 64px;

  --container: 1200px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--ff-head);
  font-weight: 700;
  line-height: 1.05;
  margin: 0;
}

p { margin: 0 0 1em; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--c-navy);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-navy);
  color: #fff;
  transition: background-color .35s ease, box-shadow .35s ease, padding .35s ease;
}
.site-header::after {
  content: '';
  display: block;
  height: 1px;
  background: rgba(255,255,255,0.12);
  width: 100%;
}
.site-header.is-scrolled {
  background: rgba(34, 46, 80, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  transition: height .35s ease;
}
.site-header.is-scrolled .header-inner { height: var(--header-h-shrunk); }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo {
  height: 56px;
  width: auto;
  transition: height .35s ease;
}
.site-header.is-scrolled .brand-logo { height: 42px; }

.primary-nav { margin-left: auto; }
.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}
.primary-nav a {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  padding: 8px 0;
  position: relative;
  transition: color .25s ease;
}
.primary-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--c-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.primary-nav a:hover { color: var(--c-blue); }
.primary-nav a:hover::after { transform: scaleX(1); }

.nav-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  background: var(--c-navy-deep);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 16px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav a {
  display: block;
  padding: 14px 0;
  color: #fff;
  text-decoration: none;
  font-family: var(--ff-head);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav .btn { margin-top: 12px; border-bottom: 0; text-align: center; }

@media (max-width: 880px) {
  .primary-nav, .nav-cta { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--c-blue);
  color: var(--c-navy);
}
.btn-primary:hover {
  background: var(--c-navy);
  color: var(--c-blue);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.btn-ghost:hover {
  background: var(--c-coral);
  border-color: var(--c-coral);
  color: #fff;
}
.btn-lg { padding: 16px 34px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  padding: 96px 0 120px;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(162, 225, 242, 0.18), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(183, 79, 111, 0.18), transparent 55%),
    linear-gradient(160deg, #1a2440 0%, #222e50 50%, #2a3a66 100%);
  z-index: -1;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 35%, transparent 80%);
}
.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.hero-title {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: clamp(2.5rem, 7vw, 5.75rem);
  letter-spacing: -0.01em;
  line-height: 0.98;
  text-transform: none;
  color: #fff;
  margin: 0 0 28px;
  max-width: 14ch;
}
.hero-title .accent { color: var(--c-blue); }
.hero-sub {
  max-width: 56ch;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Section primitives ---------- */
section { scroll-margin-top: var(--header-h); }
.eyebrow {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-coral);
  margin: 0 0 14px;
}
.eyebrow-light { color: var(--c-blue); }

.section-title {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.1;
  color: var(--c-navy);
  max-width: 22ch;
  margin: 0 0 48px;
}
.section-title-light { color: #fff; }

/* ---------- Ethos ---------- */
.ethos {
  padding: 96px 0 88px;
  background: var(--c-bg);
}
.ethos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-bottom: 72px;
}
.ethos-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px;
  border: 1px solid var(--c-line);
  transition: transform .3s ease, box-shadow .3s ease;
}
.ethos-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(34, 46, 80, 0.08);
}
.card-kicker {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-coral);
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--c-blue);
  display: inline-block;
}
.ethos-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c-text);
  margin: 0;
}

.values-heading {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-navy);
  margin: 0 0 20px;
}
.values-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px 28px;
}
.values-list li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-top: 1px solid var(--c-line);
  font-weight: 400;
  color: var(--c-text);
}
.values-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--c-blue);
  transform: translateY(-50%);
}

/* ---------- Founders ---------- */
.founders {
  padding: 104px 0 96px;
  background: var(--c-navy);
  color: #fff;
}
.founders-intro {
  max-width: 70ch;
  font-size: 1.08rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255,255,255,0.85);
  margin: 0 0 56px;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.pillar {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 36px 30px 32px;
  position: relative;
  transition: background-color .3s ease, border-color .3s ease, transform .3s ease;
}
.pillar:hover {
  background: rgba(162, 225, 242, 0.06);
  border-color: rgba(162, 225, 242, 0.4);
  transform: translateY(-3px);
}
.pillar-num {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--c-blue);
  display: block;
  margin-bottom: 18px;
}
.pillar h3 {
  font-size: 1.6rem;
  color: #fff;
  margin: 0 0 6px;
}
.pillar-tag {
  font-style: italic;
  color: var(--c-blue);
  margin: 0 0 16px;
  font-weight: 400;
}
.pillar p:last-child {
  color: rgba(255,255,255,0.75);
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
}

/* ---------- Markets ---------- */
.markets {
  padding: 96px 0;
  background: var(--c-bg-soft);
}
.markets-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.market-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 16px;
  padding: 36px 24px;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.market-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-blue);
  box-shadow: 0 14px 30px rgba(34,46,80,0.10);
}
.market-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: var(--c-blue-soft);
  color: var(--c-navy);
  transition: background-color .3s ease, color .3s ease;
}
.market-card:hover .market-icon {
  background: var(--c-navy);
  color: var(--c-blue);
}
.market-card h3 {
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-navy);
}

/* ---------- Team ---------- */
.team {
  padding: 104px 0 96px;
  background: var(--c-navy-deep);
  color: #fff;
}
.team-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.team-card a {
  display: block;
  text-decoration: none;
  color: inherit;
  text-align: center;
  padding: 24px 16px;
  border-radius: 16px;
  transition: background-color .3s ease, transform .3s ease;
}
.team-card a:hover {
  background: rgba(255,255,255,0.04);
  transform: translateY(-3px);
}
.team-card img {
  width: 160px;
  height: 160px;
  border-radius: 999px;
  object-fit: cover;
  margin: 0 auto 18px;
  border: 3px solid var(--c-blue);
  background: #fff;
}
.team-card h3 {
  font-size: 1.15rem;
  color: #fff;
  margin: 0 0 4px;
}
.team-card .role {
  font-size: 0.92rem;
  color: var(--c-blue);
  margin: 0;
  font-weight: 300;
  letter-spacing: 0.04em;
}

/* ---------- CTA ---------- */
.cta {
  padding: 0;
  background: var(--c-bg);
}
.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 0;
  padding: 0;
  max-width: var(--container);
  margin: 0 auto;
}
.cta-art {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 0;
}
.cta-copy {
  padding: 80px 56px;
  background: var(--c-coral);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cta-copy h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  margin: 0 0 16px;
  color: #fff;
  max-width: 18ch;
}
.cta-copy p {
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.92);
  margin-bottom: 28px;
  max-width: 44ch;
}
.cta-copy .btn-primary {
  align-self: flex-start;
  background: #fff;
  color: var(--c-coral);
}
.cta-copy .btn-primary:hover {
  background: var(--c-navy);
  color: #fff;
}
@media (max-width: 820px) {
  .cta-inner { grid-template-columns: 1fr; }
  .cta-art { min-height: 240px; max-height: 320px; }
  .cta-copy { padding: 56px 28px; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-navy);
  color: #fff;
  padding: 36px 0 28px;
}
.footer-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 32px;
}
.footer-logo { height: 56px; width: auto; }
.footer-meta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.95rem;
}
.footer-meta a {
  color: #fff;
  text-decoration: none;
  transition: color .25s ease;
}
.footer-meta a:hover { color: var(--c-blue); }
.copyright {
  width: 100%;
  margin: 18px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.10);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
  letter-spacing: 0.04em;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Small screens ---------- */
@media (max-width: 600px) {
  .hero { padding: 72px 0 88px; }
  .ethos, .markets { padding: 72px 0; }
  .founders, .team { padding: 80px 0; }
  .cta-copy { padding: 48px 24px; }
}
