/* ==========================================================
   Vigil Hive — site styles
   ========================================================== */
:root {
  --navy-900: #0A1F35;
  --navy-800: #0F2C49;
  --navy-line: #23415E;
  --green-700: #1B7550;
  --green-600: #21845B;
  --green-400: #3ECF8E;
  --mint-100: #E4F2EA;
  --mint-50: #F5F9F7;
  --line: #DCE7E2;
  --line-soft: #E6EEEA;
  --text: #33475B;
  --text-muted: #43586B;
  --text-subtle: #5A6E80;
  --on-dark: #BCCDDD;
  --on-dark-muted: #9DB2C6;
  --white: #FFFFFF;

  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  --gutter: 48px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
[id] { scroll-margin-top: 96px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 104px 0; }
.bg-mint { background: var(--mint-50); }
.bg-white { background: var(--white); }
.bg-navy { background: var(--navy-800); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy-800); color: var(--white); padding: 10px 16px; border-radius: 8px;
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--green-400); outline-offset: 3px; border-radius: 4px; }

.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; color: var(--green-700); text-transform: uppercase; }
.eyebrow--light { color: var(--green-400); }

.h2 { font-family: var(--font-head); font-weight: 800; font-size: 42px; line-height: 1.15; color: var(--navy-800); }
.lead { font-size: 18px; line-height: 1.6; color: var(--text-muted); }

.section-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; margin-bottom: 56px; }
.section-head .h2 { max-width: 720px; }
.section-head .lead { max-width: 620px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 600; text-decoration: none;
  padding: 16px 28px; border-radius: 8px; border: 2px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--green { background: var(--green-700); color: var(--white); }
.btn--green:hover { background: #155F41; }
.btn--navy { background: var(--navy-800); color: var(--white); font-size: 15px; padding: 12px 22px; }
.btn--navy:hover { background: var(--navy-900); }
.btn--outline { background: transparent; color: var(--navy-800); border-color: var(--navy-800); }
.btn--outline:hover { background: var(--navy-800); color: var(--white); }
.btn--white { background: var(--white); color: var(--navy-800); font-weight: 700; padding: 16px 32px; }
.btn--white:hover { background: var(--mint-100); }

/* Top bar */
.topbar { background: var(--navy-900); color: #C4D3E1; font-size: 13px; }
.topbar .container { height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar__links { display: flex; gap: 24px; }
.topbar a { color: #C4D3E1; text-decoration: none; }
.topbar a:hover { color: var(--white); }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .container { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { height: 50px; width: auto; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 23px; letter-spacing: 0.02em; color: var(--navy-800); white-space: nowrap; }
.brand__name span { color: var(--green-600); }

.nav { display: flex; align-items: center; gap: 36px; }
.nav a:not(.btn) { font-size: 15px; font-weight: 600; color: var(--navy-800); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--green-700); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--white); cursor: pointer; align-items: center; justify-content: center; padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--navy-800); position: relative; transition: transform .2s, background-color .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero { background: var(--mint-50); }
.hero .container { padding-top: 88px; padding-bottom: 96px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.hero__copy { flex: 1; display: flex; flex-direction: column; gap: 28px; max-width: 560px; }
.hero h1 { font-family: var(--font-head); font-weight: 800; font-size: 58px; line-height: 1.08; color: var(--navy-800); }
.hero h1 span { color: var(--green-600); }
.hero__text { font-size: 19px; line-height: 1.65; }
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.checks { display: flex; gap: 12px 28px; flex-wrap: wrap; font-size: 15px; font-weight: 500; list-style: none; padding: 0; margin: 0; }
.checks li { display: inline-flex; align-items: center; gap: 8px; }

.hero__art { position: relative; width: 520px; height: 480px; flex-shrink: 0; }
.hero__art > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.status-card {
  position: absolute; left: 0; top: 74px; width: 340px;
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  padding: 24px 26px 12px; box-shadow: 0 24px 48px rgba(15, 44, 73, 0.12);
}
.status-card__head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.status-card__head img { height: 34px; width: auto; }
.status-card__title { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--navy-800); display: block; }
.status-card__sub { font-size: 13px; color: var(--text-subtle); display: block; }
.status-row { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.status-row:last-child { border-bottom: 0; }
.status-row__label { font-size: 15px; font-weight: 600; color: var(--navy-800); }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--mint-100); color: var(--green-700); font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green-600); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

.hex-badge {
  position: absolute; right: 0; bottom: 14px; width: 124px; height: 142px;
  background: var(--green-700); clip-path: var(--hex);
  display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--white);
}
.hex-badge strong { font-family: var(--font-head); font-weight: 800; font-size: 32px; line-height: 1; }
.hex-badge span { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; margin-top: 4px; }

/* Partners strip (hidden until real logos are added — see README) */
.partners { background: var(--white); border-bottom: 1px solid var(--line); }
.partners .container { padding-top: 36px; padding-bottom: 36px; display: flex; align-items: center; gap: 32px; }
.partners__label { flex-shrink: 0; width: 180px; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; color: var(--text-muted); }
.partners__logos { flex: 1; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.partners__logos img { height: 44px; width: auto; filter: grayscale(1); opacity: .8; }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 16px; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 16px 32px rgba(15, 44, 73, 0.08); transform: translateY(-2px); }
.card__icon { width: 56px; height: 56px; border-radius: 14px; background: var(--mint-100); display: flex; align-items: center; justify-content: center; }
.card h3 { font-family: var(--font-head); font-weight: 700; font-size: 20px; line-height: 1.3; color: var(--navy-800); }
.card p { font-size: 16px; line-height: 1.6; color: var(--text-muted); }

/* QUEEN */
.queen__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-bottom: 64px; }
.queen__head > div { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.queen__head .h2 { color: var(--white); }
.queen__head p { font-size: 18px; line-height: 1.6; color: var(--on-dark); max-width: 440px; }
.queen__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; list-style: none; padding: 0; margin: 0; }
.queen__item { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.queen__letter { width: 88px; height: 100px; background: var(--green-600); clip-path: var(--hex); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: 40px; color: var(--white); }
.queen__item > div { display: flex; flex-direction: column; gap: 16px; }
.queen__item h3 { font-family: var(--font-head); font-weight: 700; font-size: 18px; line-height: 1.3; color: var(--white); }
.queen__item p { font-size: 15px; line-height: 1.6; color: var(--on-dark); }

/* About */
.about { display: flex; gap: 80px; align-items: flex-start; }
.about__left { flex: 1; display: flex; flex-direction: column; gap: 40px; }
.about__mission { display: flex; flex-direction: column; gap: 16px; }
.about__mission h2 { font-family: var(--font-head); font-weight: 700; font-size: 34px; line-height: 1.25; color: var(--navy-800); }
.vision { background: var(--mint-50); border: 1px solid var(--line); border-radius: 16px; padding: 28px 32px; display: flex; flex-direction: column; gap: 12px; }
.vision p { font-size: 19px; line-height: 1.6; color: var(--navy-800); }
.about__right { flex: 1; }
.about__right .eyebrow { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.values { list-style: none; padding: 0; margin: 0; }
.value { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.value:last-child { border-bottom: 0; }
.value__num { flex-shrink: 0; width: 44px; height: 50px; background: var(--mint-100); clip-path: var(--hex); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--green-700); }
.value h3 { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--navy-800); margin-bottom: 6px; }
.value p { font-size: 16px; line-height: 1.6; color: var(--text-muted); }

/* Process */
.step { padding: 36px 32px; gap: 14px; }
.step__num { font-family: var(--font-head); font-weight: 800; font-size: 44px; line-height: 1; color: var(--green-600); }
.step h3 { font-size: 22px; }

/* CTA */
.cta { background: var(--green-700); color: var(--white); }
.cta .container { padding-top: 88px; padding-bottom: 88px; display: flex; align-items: center; justify-content: space-between; gap: 64px; }
.cta__copy { flex: 1; display: flex; flex-direction: column; gap: 16px; max-width: 620px; }
.cta h2 { font-family: var(--font-head); font-weight: 800; font-size: 44px; line-height: 1.12; }
.cta__copy p { font-size: 19px; line-height: 1.6; }
.cta__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.cta__contact { display: flex; flex-direction: column; gap: 6px; font-size: 16px; }
.cta__contact a { color: var(--white); text-decoration: none; }
.cta__contact a:hover { text-decoration: underline; }
.cta__contact a:first-child { font-weight: 600; }

/* Footer */
.site-footer { background: var(--navy-900); }
.site-footer .container { padding-top: 72px; padding-bottom: 40px; }
.footer__top { display: flex; justify-content: space-between; gap: 48px; margin-bottom: 56px; }
.footer__brand { display: flex; flex-direction: column; gap: 18px; max-width: 320px; }
.footer__brand-row { display: flex; align-items: center; gap: 14px; }
.footer__logo { height: 60px; width: auto; }
.footer__brand .brand__name { font-size: 22px; color: var(--white); }
.footer__brand .brand__name span { color: var(--green-400); }
.footer__brand p { font-size: 16px; line-height: 1.6; color: var(--on-dark); }
.footer__col { display: flex; flex-direction: column; gap: 14px; }
.footer__col h2 { font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; color: var(--white); }
.footer__col a, .footer__col address { font-size: 15px; color: var(--on-dark); text-decoration: none; font-style: normal; line-height: 1.6; }
.footer__col a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid var(--navy-line); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--on-dark-muted); }

/* 404 */
.notfound { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 20px; padding: 80px 24px; background: var(--mint-50); }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1100px) {
  .nav { gap: 24px; }
  .hero__art { transform: scale(.85); transform-origin: right center; margin-left: -78px; }
  .queen__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; }
}

@media (max-width: 960px) {
  :root { --gutter: 32px; }
  .section { padding: 80px 0; }
  .h2 { font-size: 36px; }

  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px; box-shadow: 0 16px 32px rgba(15, 44, 73, 0.08);
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .nav .btn { margin-top: 16px; }

  .hero .container { flex-direction: column; align-items: flex-start; padding-top: 64px; padding-bottom: 72px; }
  .hero__copy { max-width: 640px; }
  .hero h1 { font-size: 48px; }
  .hero__art { transform: none; margin: 0 auto; }

  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .queen__head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 48px; }
  .about { flex-direction: column; gap: 56px; }
  .cta .container { flex-direction: column; align-items: flex-start; gap: 32px; padding-top: 72px; padding-bottom: 72px; }
  .footer__top { flex-wrap: wrap; }
  .footer__brand { flex-basis: 100%; }
  .partners .container { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .section { padding: 64px 0; }
  .h2 { font-size: 30px; }
  .lead { font-size: 17px; }
  .section-head { margin-bottom: 40px; }

  .topbar__tagline { display: none; }
  .topbar .container { justify-content: center; }
  .site-header .container { height: 72px; }
  .brand img { height: 40px; }
  .brand__name { font-size: 19px; }
  [id] { scroll-margin-top: 80px; }

  .hero h1 { font-size: 38px; }
  .hero__text { font-size: 17px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__art { width: 100%; height: auto; }
  .hero__art > svg { display: none; }
  .status-card { position: static; width: 100%; }
  .hex-badge { display: none; }

  .grid-3 { grid-template-columns: 1fr; }
  .card { padding: 28px 24px; }
  .queen__grid { grid-template-columns: 1fr; row-gap: 32px; }
  .queen__item { flex-direction: row; align-items: center; gap: 20px; }
  .queen__letter { width: 64px; height: 72px; font-size: 30px; flex-shrink: 0; }
  .queen__item > div { display: flex; flex-direction: column; gap: 6px; }
  .about__mission h2 { font-size: 26px; }
  .vision { padding: 24px; }
  .vision p { font-size: 17px; }
  .cta h2 { font-size: 34px; }
  .cta__copy p { font-size: 17px; }
  .cta__actions, .cta__actions .btn { width: 100%; }

  .footer__top { flex-direction: column; gap: 36px; }
  .footer__bottom { flex-direction: column; }
}

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