/* ==========================================================
   Verako — landing page
   Palette sampled from the Verako logo.
   ========================================================== */

:root {
  /* brand */
  --navy: #00186A;
  --navy-2: #001971;
  --deep: #00288A;
  --royal: #0054CD;   /* primary buttons (white text passes AA) */
  --azure: #0076F9;
  --sky: #0184F6;
  --glow: #5CB0FF;

  /* neutrals */
  --ice: #E6EEFF;
  --tint: #F5F8FF;
  --line: #E3EAF7;
  --line-strong: #C2D0EC;
  --white: #FFFFFF;
  --muted: #4A5878;
  --nav-text: #33416A;
  --on-dark: #C3D2F2;

  --grad: linear-gradient(90deg, var(--royal), var(--sky));

  --font-head: 'Manrope', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --radius: 20px;
  --shadow: 0 30px 70px -40px rgba(0, 24, 106, 0.45);
  --container: 1200px;
  --header-h: 76px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: var(--royal); }

svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

:focus-visible { outline: 3px solid var(--azure); outline-offset: 3px; border-radius: 6px; }

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 10px; background: var(--navy); color: var(--white);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 16px var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { stroke-width: 2; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { height: 44px; padding: 0 20px; font-size: 15px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--royal); color: var(--white); }
.btn-primary:hover { background: var(--deep); box-shadow: 0 10px 24px -10px rgba(0, 84, 205, .7); }

.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-white { background: var(--white); color: var(--navy); font-weight: 700; }
.btn-white:hover { background: var(--ice); }

.btn-ghost-light { border-color: #8FB4F0; color: var(--white); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); border-color: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0, 24, 106, .4); }

.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 42px; height: 40px; }
.brand-word { width: 145px; height: auto; }
.brand-light img { filter: brightness(0) invert(1); }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) {
  color: var(--nav-text); text-decoration: none; font-weight: 500; font-size: 15px;
  padding: 10px 0; position: relative;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.site-nav a:not(.btn):hover { color: var(--navy); }
.site-nav a:not(.btn):hover::after { transform: scaleX(1); }

.menu-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--white); cursor: pointer; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .25s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { background: var(--tint); padding: 72px 0 64px; overflow: hidden; }
.hero-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }

.pill {
  align-self: flex-start; padding: 7px 14px; border-radius: 999px;
  background: var(--ice); color: var(--deep); font-size: 13px; font-weight: 600;
}

.hero h1 { font-size: clamp(36px, 5.4vw, 70px); line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { max-width: 540px; font-size: 18px; line-height: 1.6; color: var(--muted); }

.hero-visual { flex: 1 1 360px; min-width: 0; display: flex; justify-content: center; }
.orbit-card {
  position: relative; width: 100%; max-width: 460px; height: 420px;
  border-radius: 32px; background: var(--white); border: 1px solid #DCE5F7; box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.ring { position: absolute; border-radius: 50%; }
.ring-1 { width: 380px; height: 380px; border: 1px dashed #CCDAF7; animation: spin 60s linear infinite; }
.ring-2 { width: 520px; height: 520px; border: 1px solid var(--ice); }
.hero-mark { position: relative; width: min(290px, 70%); height: auto; animation: float 6s ease-in-out infinite; }

.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: var(--white); color: var(--deep); border: 1px solid #DCE5F7;
  box-shadow: 0 8px 20px -12px rgba(0, 24, 106, .4);
}
.chip svg { stroke: var(--royal); stroke-width: 2; }
.chip-a { top: 28px; left: 24px; animation: float 7s ease-in-out infinite; }
.chip-b { top: 46%; right: 20px; animation: float 8s ease-in-out -2s infinite; }
.chip-c { bottom: 28px; left: 36px; background: var(--royal); color: var(--white); border-color: var(--royal); animation: float 7.5s ease-in-out -4s infinite; }
.chip-c svg { stroke: var(--white); }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes spin { to { transform: rotate(360deg); } }

.pillars { margin-top: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.pillar {
  display: flex; gap: 14px; align-items: flex-start; padding: 20px;
  border-radius: 16px; background: var(--white); border: 1px solid var(--line);
}
.pillar h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.pillar p { font-size: 14px; color: var(--muted); }
.num { font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--royal); padding-top: 3px; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section-tint { background: var(--tint); }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 640px; margin-bottom: 48px; }
.eyebrow { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--royal); }
.section h2, .contact-info h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; font-weight: 800; }
.section-head p { font-size: 17px; line-height: 1.6; color: var(--muted); }

.icon-tile {
  width: 48px; height: 48px; border-radius: 14px; background: var(--ice); color: var(--royal);
  display: flex; align-items: center; justify-content: center;
}
.icon-tile-lg { width: 52px; height: 52px; border-radius: 16px; }
.icon-tile-sm { width: 40px; height: 40px; border-radius: 12px; }

/* services */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.card {
  display: flex; flex-direction: column; gap: 12px; padding: 28px;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--white);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); border-color: #CCDAF7; box-shadow: var(--shadow); }
.card h3 { font-size: 20px; font-weight: 700; }
.card p { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* mentoring + internships */
.grow-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.grow-card {
  display: flex; flex-direction: column; gap: 20px; padding: clamp(24px, 4vw, 36px);
  border-radius: 24px; background: var(--white); border: 1px solid var(--line);
}
.grow-card h3 { font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.kicker { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--royal); }
.grow-card > p { font-size: 15px; line-height: 1.6; color: var(--muted); }

.checks { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 20px; font-size: 15px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px;
  background: no-repeat center / 20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230054CD' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

.text-link {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; font-weight: 600; text-decoration: none;
}
.text-link svg { stroke-width: 2; transition: transform .2s; }
.text-link:hover svg { transform: translateX(3px); }

.grow-card-dark { background: var(--navy); border-color: var(--navy); color: var(--white); }
.grow-card-dark .icon-tile { background: #0A2A85; color: var(--glow); }
.grow-card-dark .kicker { color: var(--glow); }
.grow-card-dark > p { color: var(--on-dark); }
.grow-card-dark .btn { margin-top: auto; align-self: flex-start; }

.tracks { display: flex; flex-direction: column; gap: 10px; }
.tracks-label { font-size: 13px; font-weight: 600; color: var(--on-dark); }
.tags { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 8px 14px; border-radius: 999px; background: #0A2A85; font-size: 14px; font-weight: 500; }

/* process */
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.step { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 2px solid var(--step-color, var(--royal)); }
.step h3 { font-size: 20px; font-weight: 700; }
.step p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.step .num { font-size: 14px; padding: 0; }

/* cta */
.cta-wrap { padding-bottom: 96px; }
.cta-band {
  position: relative; overflow: hidden;
  border-radius: 28px; color: var(--white);
  background: linear-gradient(120deg, var(--navy-2) 0%, var(--deep) 45%, var(--royal) 100%);
  padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 64px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px;
}
.cta-band::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 300px;
  background: url("../assets/logo-mark.png") no-repeat center / contain;
  filter: brightness(0) invert(1); opacity: .07; pointer-events: none;
}
.cta-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; position: relative; }
.cta-band h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.1; font-weight: 800; }
.cta-band p { font-size: 17px; line-height: 1.6; color: var(--on-dark); }
.cta-band .btn-row { position: relative; }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info > p { font-size: 17px; line-height: 1.6; color: var(--muted); }
.contact-list { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.contact-item {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px;
  background: var(--white); border: 1px solid var(--line); color: var(--navy);
  text-decoration: none; font-weight: 500; overflow-wrap: anywhere;
  transition: border-color .2s, transform .2s;
}
.contact-item:hover { border-color: #CCDAF7; transform: translateX(3px); }

.contact-form {
  display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 4vw, 40px);
  border-radius: 24px; background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 30px 70px -48px rgba(0, 24, 106, .5);
}
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-strong);
  font: 400 15px var(--font-body); color: var(--navy); background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.field input, .field select { height: 48px; }
.field textarea { padding: 12px 14px; resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #6B7794; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--royal); box-shadow: 0 0 0 4px rgba(0, 84, 205, .15);
}
.field .invalid { border-color: #C2283B; }
.form-status { font-size: 14px; min-height: 1.4em; }
.form-status.ok { color: #0A7A4B; }
.form-status.err { color: #B4232F; }

/* footer */
.site-footer { background: var(--navy); color: var(--on-dark); padding: 56px 0 32px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; max-width: 320px; }
.footer-brand p { font-size: 15px; line-height: 1.6; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 48px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-col h4 { font-family: var(--font-body); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--white); }
.footer-col a { color: var(--on-dark); text-decoration: none; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 24px; border-top: 1px solid #1B3490; font-size: 14px;
}
.motto { letter-spacing: .16em; text-transform: uppercase; font-size: 12px; color: #8FB4F0; }

/* ---------- scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .menu-toggle { display: flex; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 24px; background: var(--white);
    border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -24px rgba(0, 24, 106, .35);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn { margin-top: 16px; height: 50px; }
}

@media (max-width: 560px) {
  .hero { padding: 48px 0; }
  .orbit-card { height: 340px; }
  .ring-1 { width: 300px; height: 300px; }
  .ring-2 { width: 420px; height: 420px; }
  .section { padding: 72px 0; }
  .cta-wrap { padding-bottom: 72px; }
  .pillars { margin-top: 48px; }
  .card-grid, .grow-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero .btn-row .btn, .cta-band .btn-row .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
