/* NorVect — main stylesheet */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand */
  --navy-950: #021a2c;
  --navy-900: #06253d;
  --navy-800: #0b3354;
  --navy-700: #12466f;
  --amber: #fdb207;
  --amber-600: #e09c00;
  --amber-100: #fff4d6;

  /* Neutrals */
  --ink: #0e1b26;
  --ink-soft: #3d4b57;
  --ink-muted: #5f6d79;
  --line: #dfe5ea;
  --surface: #ffffff;
  --surface-alt: #f4f7f9;

  /* Type */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Montserrat", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  /* Layout */
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(2, 26, 44, .06), 0 8px 24px rgba(2, 26, 44, .07);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, picture, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--navy-700); text-underline-offset: 3px; }
a:hover { color: var(--navy-950); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-head); color: var(--navy-950); line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--amber); color: var(--navy-950); padding: 10px 16px; border-radius: 6px; font-weight: 600; }
.skip-link:focus { top: 12px; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-700); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--amber); border-radius: 2px; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--ink-soft); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 8px; font-family: var(--font-head); font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--amber); color: var(--navy-950); }
.btn-primary:hover { background: #ffc233; color: var(--navy-950); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.btn-outline { border-color: var(--navy-950); color: var(--navy-950); }
.btn-outline:hover { background: var(--navy-950); color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; }
.brand img { width: 156px; height: auto; }
.nav-list { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-list a { color: var(--ink); font-weight: 500; font-size: .98rem; text-decoration: none; }
.nav-list a:hover { color: var(--navy-700); }
.nav-list .btn { min-height: 42px; padding: 8px 18px; font-size: .95rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--navy-950); }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; }
  .nav-list li a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-list li:last-child { padding-top: 16px; }
  .nav-list .btn { width: 100%; }
}
/* Without JS the menu stays visible on small screens */
.no-js .site-nav { position: static; display: block; box-shadow: none; border: 0; }
.no-js .nav-toggle { display: none; }

/* Hero */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--navy-950); overflow: hidden; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { z-index: -2; }
.hero-media img { object-fit: cover; object-position: 70% 50%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(2, 26, 44, .88) 0%, rgba(2, 26, 44, .70) 38%, rgba(2, 26, 44, .18) 68%, rgba(2, 26, 44, 0) 100%),
  linear-gradient(0deg, rgba(2, 26, 44, .55) 0%, rgba(2, 26, 44, 0) 40%); }
.hero-inner { min-height: min(86vh, 760px); display: flex; flex-direction: column; justify-content: center; padding-top: 72px; padding-bottom: 88px; }
.hero-copy { max-width: 640px; }
.hero h1 { color: #fff; border-left: 5px solid var(--amber); padding-left: 22px; margin-bottom: 24px; }
.hero h1 span { display: block; }
.hero .lead { color: rgba(255, 255, 255, .9); max-width: 560px; }
.hero .eyebrow { color: var(--amber); }
.hero .eyebrow::before { background: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
@media (max-width: 640px) {
  .hero::before { background: linear-gradient(180deg, rgba(2, 26, 44, .78) 0%, rgba(2, 26, 44, .55) 55%, rgba(2, 26, 44, .85) 100%); }
  .hero-inner { min-height: auto; padding-top: 56px; padding-bottom: 64px; }
  .hero h1 { padding-left: 16px; border-left-width: 4px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero .eyebrow { font-size: .72rem; letter-spacing: .1em; }
  .hero .eyebrow::before { display: none; }
}

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-alt { background: var(--surface-alt); }
.section-dark { background: var(--navy-950); color: rgba(255, 255, 255, .86); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--amber); }
.section-dark .eyebrow::before { background: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.split .lead { margin-top: 0; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

.grid { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1040px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .grid-4, .grid-3 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 26px; box-shadow: var(--shadow); }
.card p { color: var(--ink-soft); margin: 0; font-size: 1rem; }
.card-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--navy-950); color: var(--amber); margin-bottom: 20px; }
.card-icon svg { width: 26px; height: 26px; }

/* Outcomes */
.outcomes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.outcome { padding: 32px 28px 8px 0; }
.outcome + .outcome { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .14); }
.outcome-num { font-family: var(--font-head); font-weight: 800; color: var(--amber); font-size: .9rem; letter-spacing: .12em; }
.outcome h3 { margin: 10px 0 8px; font-size: 1.35rem; }
.outcome p { margin: 0; }
@media (max-width: 760px) {
  .outcomes { grid-template-columns: 1fr; }
  .outcome, .outcome + .outcome { padding: 26px 0; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
}

/* Sectors */
.sector-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.sector-list li { display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); font-weight: 600; color: var(--navy-950); line-height: 1.35; }
.sector-list li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 6px; border-radius: 2px; background: var(--amber); transform: rotate(45deg); }

/* Sector groups */
.sector-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .sector-groups { grid-template-columns: 1fr; } }
.sector-group { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--amber); border-radius: var(--radius-lg); padding: 26px 26px 22px; box-shadow: var(--shadow); }
.sector-group h3 { font-size: 1.2rem; margin-bottom: 14px; }
.sector-group ul { list-style: none; margin: 0; padding: 0; }
.sector-group li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; border-top: 1px solid var(--line); color: var(--ink-soft); line-height: 1.4; }
.sector-group li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 7px; border-radius: 2px; background: var(--amber); transform: rotate(45deg); }

/* Partners */
.lead-light { color: rgba(255, 255, 255, .9); }
.partner-points { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 18px; }
.partner-points li { padding-left: 18px; border-left: 3px solid var(--amber); }
.partner-points h3 { font-size: 1.1rem; margin: 0 0 4px; }
.partner-points p { margin: 0; }
.on-dark { color: #fff; }
.partner-reach { font-family: var(--font-head); font-weight: 700; color: var(--amber); font-size: 1.1rem; }

/* Standard / approach */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 24px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--amber-600); line-height: 1.2; }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; color: var(--ink-soft); }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--navy-950); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2.5px solid var(--navy-950); border-bottom: 2.5px solid var(--navy-950); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--ink-soft); margin: 0 0 22px; max-width: 760px; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
@media (max-width: 880px) { .contact { grid-template-columns: 1fr; } }
.contact-points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.contact-points li { display: flex; gap: 12px; align-items: center; color: rgba(255, 255, 255, .9); }
.contact-points svg { width: 20px; height: 20px; color: var(--amber); flex: none; }
.contact-points a { color: #fff; }
.form-slot { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); box-shadow: 0 20px 50px rgba(0, 0, 0, .25); min-height: 200px; }
.form-slot iframe { display: block; width: 100%; border: 0; margin: 0 -6px; width: calc(100% + 12px); }
.bigin-form-learn { height: 1120px; }
.bigin-form-partner { height: 1180px; }
@media (max-width: 520px) { .bigin-form-learn { height: 1240px; } .bigin-form-partner { height: 1300px; } }
.form-slot h3 { color: var(--navy-950); margin-bottom: 8px; }
.form-fallback p { color: var(--ink-soft); }
.form-note { font-size: .88rem; color: var(--ink-muted); margin-top: 16px; }

/* Footer */
.site-footer { background: #01121f; color: rgba(255, 255, 255, .72); padding: 56px 0 36px; font-size: .95rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-brand img { width: 260px; margin-bottom: 14px; }
.footer-brand p { max-width: 360px; margin: 0; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-nav a, .footer-bottom a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.footer-nav a:hover, .footer-bottom a:hover { color: var(--amber); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: .88rem; }

/* Legal / simple pages */
.page-header { background: var(--navy-950); color: #fff; padding: 64px 0 48px; }
.page-header h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); margin: 0; }
.prose { max-width: 760px; padding-top: 48px; padding-bottom: 80px; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.updated { color: var(--ink-muted); font-size: .95rem; }
.notfound { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
