:root {
  --navy: #0E2160;
  --blue: #0070C0;
  --sky: #12AEEA;
  --sand: #C2BB7F;
  --olive: #97A63C;
  --ink: #1B2438;
  --muted: #55607A;
  --paper: #FFFFFF;
  --tint: #F3F5F0;
  --line: #DCE0E6;
  --head: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1180px;
  box-sizing: border-box;
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--head); color: var(--navy); margin: 0; }
h2 { font-weight: 300; font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.15; letter-spacing: -.01em; }
h3 { font-weight: 600; font-size: 1.125rem; line-height: 1.3; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 2px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
  padding-top: env(safe-area-inset-top, 0px);
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 48px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--head); }
.brand-name { color: var(--navy); font-weight: 600; font-size: 1.05rem; letter-spacing: .02em; }
.brand-sub { color: var(--blue); font-weight: 400; font-size: .8rem; }
.nav { display: flex; align-items: center; gap: 28px; font-family: var(--head); font-size: .92rem; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--blue); }
.nav .nav-cta { color: #fff; background: var(--navy); padding: 10px 18px; border-radius: 4px; }
.nav .nav-cta:hover { background: var(--blue); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 12px; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 22px; height: 2px; background: var(--navy); position: relative; transition: transform .2s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-block; font-family: var(--head); font-weight: 600; font-size: .95rem;
  padding: 14px 24px; border-radius: 4px; text-decoration: none; border: 2px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--blue); }
.btn-quiet { color: var(--navy); border-color: var(--navy); }
.btn-quiet:hover { background: var(--navy); color: #fff; }

/* Hero */
.hero { position: relative; padding: clamp(56px, 10vw, 120px) 0 0; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; }
.hero-kicker { font-family: var(--head); color: var(--olive); font-weight: 500; font-size: 1rem; margin-bottom: 18px; }
.hero h1 {
  font-weight: 300; font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.06; letter-spacing: -.02em;
  max-width: 15ch; margin-bottom: 28px;
}
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 54ch; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.wave { margin-top: clamp(32px, 6vw, 64px); height: clamp(120px, 18vw, 240px); }
.wave svg { width: 100%; height: 100%; display: block; }

/* Value band */
.value { background: var(--navy); color: #E6EAF4; padding: clamp(40px, 6vw, 64px) 0; }
.value-inner { display: grid; grid-template-columns: 1fr 2.4fr; gap: 32px; align-items: baseline; }
.value .h-sm { color: var(--sand); font-weight: 500; font-size: 1.15rem; }
.value p { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.5; margin: 0; max-width: 60ch; font-family: var(--head); font-weight: 300; }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { color: var(--muted); font-size: 1.15rem; margin-top: 14px; }

/* Services */
.services { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.services > li {
  display: grid; grid-template-columns: minmax(220px, 1fr) 1.6fr; gap: 24px 48px;
  padding: 28px 0 28px 24px; border-bottom: 1px solid var(--line); position: relative;
}
.services > li::before { content: ""; position: absolute; left: 0; top: 28px; bottom: 28px; width: 5px; background: var(--c); border-radius: 2px; }
.svc-name h3 { font-size: 1.3rem; font-weight: 500; }
.svc-name p { color: var(--muted); margin: 6px 0 0; }
.svc-points { margin: 0; padding: 0; list-style: none; }
.svc-points li { padding-left: 20px; position: relative; margin-bottom: 6px; }
.svc-points li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 2px; background: var(--c); }

/* Packages */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.pkg { background: var(--paper); padding: 28px; display: flex; flex-direction: column; }
.pkg h3 { font-size: 1.2rem; margin-bottom: 10px; }
.pkg-best { color: var(--blue); font-weight: 600; }
.pkg .price { margin: auto 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-family: var(--head); font-weight: 600; color: var(--navy); font-size: 1.15rem; }
.pkg .price span { display: block; font-family: var(--body); font-weight: 400; font-size: .85rem; color: var(--muted); }
.pkg-wide { grid-column: 1 / -1; background: var(--navy); color: #E6EAF4; display: grid; grid-template-columns: 1fr 1.5fr auto; gap: 8px 40px; align-items: center; }
.pkg-wide h3 { color: #fff; margin: 0; }
.pkg-wide .pkg-best { color: var(--sand); margin: 0; }
.pkg-wide p { margin: 0; }
.pkg-wide .price { color: #fff; border: 0; padding: 0; grid-row: 1 / 3; grid-column: 3; text-align: right; }
.pkg-wide .price span { color: #AEB8D2; }
.pkg-wide > p:not(.pkg-best):not(.price) { grid-column: 2; grid-row: 1 / 3; }

/* Clients */
.clients { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 48px; margin: 0; }
.clients div { border-top: 3px solid var(--sand); padding-top: 18px; }
.clients dt { font-family: var(--head); font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.clients dd { margin: 0; color: var(--muted); }

/* Projects */
.section-dark { background: var(--navy); color: #D9DFEE; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-head p { color: #AEB8D2; }
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.proj { background: #16296F; border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.proj img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.proj-body { padding: 24px; font-size: .98rem; display: flex; flex-direction: column; flex: 1; }
.proj-body h3 { margin-bottom: 4px; }
.proj-loc { color: #AEB8D2; margin: 0 0 8px; font-size: .9rem; }
.proj-role { color: var(--sky); font-family: var(--head); font-weight: 500; font-size: .92rem; margin: 6px 0 12px; }
.proj-scope { color: #AEB8D2; font-size: .92rem; }
.proj-note { margin: auto 0 0; padding-top: 12px; font-size: .82rem; color: #8592B3; font-style: italic; }
.proj-feature { grid-column: span 2; flex-direction: row; }
.proj-feature img { width: 55%; aspect-ratio: auto; height: 100%; }
.proj-feature .proj-body { padding: 32px; }
.proj-text { background: transparent; border: 1px solid #2D4290; }

/* About */
.about { display: grid; grid-template-columns: 340px 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-photo { margin: 0; position: sticky; top: 100px; }
.about-photo img { border-radius: 6px; width: 100%; }
.about-photo figcaption { margin-top: 16px; font-family: var(--head); }
.about-photo strong { display: block; color: var(--navy); font-size: 1.2rem; }
.about-photo span { color: var(--blue); font-size: .95rem; }
.about-intro { font-size: 1.2rem; color: var(--muted); max-width: 60ch; margin: 16px 0 40px; }
.timeline { list-style: none; margin: 0 0 56px; padding: 0 0 0 28px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding-bottom: 28px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -35px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 3px solid var(--olive); }
.timeline li:first-child::before { background: var(--olive); }
.tl-years { font-family: var(--head); font-weight: 600; color: var(--olive); font-size: .9rem; }
.timeline h3 { margin: 2px 0 6px; }
.timeline p { margin: 0; color: var(--muted); max-width: 62ch; }
.tools-title { font-size: 1.3rem; font-weight: 500; margin-bottom: 20px; }
.tools { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 36px; margin: 0; }
.tools dt { font-weight: 600; color: var(--navy); }
.tools dd { margin: 4px 0 0; color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); }
.contact-info > p { color: var(--muted); font-size: 1.15rem; margin: 16px 0 32px; max-width: 44ch; }
.contact-list { margin: 0; display: grid; gap: 18px; }
.contact-list div { display: grid; grid-template-columns: 90px 1fr; }
.contact-list dt { font-family: var(--head); font-weight: 600; color: var(--navy); font-size: .92rem; }
.contact-list dd { margin: 0; }
.contact-list a { font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-form { background: var(--paper); padding: clamp(24px, 4vw, 40px); border-radius: 6px; border: 1px solid var(--line); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--head); font-weight: 500; font-size: .9rem; color: var(--navy); margin-bottom: 6px; }
.opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #BFC6D2; border-radius: 4px; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--sky); border-color: var(--sky); }
.field [aria-invalid="true"] { border-color: #C0392B; }
.form-error { color: #A8281C; font-weight: 600; }
.form-hint { font-size: .88rem; color: var(--muted); margin: 12px 0 0; }
.form-ok { color: #1E6B3A; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form button[disabled] { opacity: .6; cursor: wait; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 calc(40px + env(safe-area-inset-bottom, 0px)); font-size: .9rem; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.footer-logo { width: 220px; }
.footer-inner p { margin: 0; }

/* Responsive */
@media (max-width: 980px) {
  .projects { grid-template-columns: 1fr 1fr; }
  .proj-feature { grid-column: 1 / -1; }
  .packages { grid-template-columns: 1fr 1fr; }
  .clients { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 260px 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 20px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { margin-top: 14px; text-align: center; border: 0; }
  .value-inner, .services > li, .about, .contact, .tools { grid-template-columns: 1fr; }
  .packages, .clients, .projects { grid-template-columns: 1fr; }
  .proj-feature { flex-direction: column; }
  .proj-feature img { width: 100%; aspect-ratio: 16 / 10; }
  .pkg-wide { display: flex; }
  .pkg-wide .price { text-align: left; padding-top: 12px; }
  .about-photo { position: static; max-width: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
.pkg-wide h3 { grid-column: 1; grid-row: 1; }
.pkg-wide .pkg-best { grid-column: 1; grid-row: 2; }
.contact > * { min-width: 0; }
.contact-list dd { overflow-wrap: anywhere; }
/* Packages: 3 + 3 + full-width so no empty cells */
.packages { grid-template-columns: repeat(6, 1fr); }
.pkg { grid-column: span 2; }
.pkg-wide { grid-column: 1 / -1; }
@media (max-width: 980px) {
  .packages { grid-template-columns: 1fr 1fr; }
  .pkg { grid-column: span 1; }
  .pkg-wide { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .packages { grid-template-columns: 1fr; }
  .pkg, .pkg:nth-child(n) { grid-column: 1 / -1; }
}
.proj-full { grid-column: 1 / -1; }
.proj-full img { width: 45%; }
@media (max-width: 760px) { .proj-full img { width: 100%; } }

/* Project image placeholders (swap back to <img> once image permissions are in place) */
.proj-ph { width: 100%; aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(135deg, #1D3383 0 14px, #1A2E78 14px 28px); color: #8592B3;
  font-family: var(--head); font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; border-bottom: 1px solid #2D4290; }
.proj-feature .proj-ph { width: 55%; aspect-ratio: auto; min-height: 260px; border-bottom: 0; border-right: 1px solid #2D4290; }
.proj-full .proj-ph { width: 45%; }
@media (max-width: 760px) {
  .proj-feature .proj-ph, .proj-full .proj-ph { width: 100%; aspect-ratio: 16 / 10; min-height: 0; border-right: 0; border-bottom: 1px solid #2D4290; }
}
/* Experience section: single column now the photo is gone */
.about { grid-template-columns: 1fr; }
.about-body { max-width: none; }
.about-body .tools { max-width: 900px; }

/* Statutory company details: required, kept discreet */
.footer-inner .legal { flex-basis: 100%; order: 3; font-size: .72rem; line-height: 1.5; color: var(--muted); opacity: .85; }

/* INoVATE feature panel */
.inovate { margin: 0 0 56px; display: grid; grid-template-columns: 1.35fr 1fr; gap: 0; background: var(--navy); color: #E6EAF4; border-radius: 6px; overflow: hidden; }
.inovate-shot { padding: clamp(16px, 3vw, 28px); background: #16296F; display: flex; align-items: center; }
.inovate-shot img { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.inovate-body { padding: clamp(24px, 3.5vw, 40px); }
.inovate-kicker { margin: 0 0 6px; color: var(--sand); font-family: var(--head); font-weight: 600; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
.inovate h3 { color: #fff; font-size: 1.6rem; margin: 0; }
.inovate-sub { color: var(--sky); font-family: var(--head); font-size: .95rem; margin: 4px 0 16px; }
.inovate-body p { margin: 0 0 14px; }
.inovate-body ul { margin: 0; padding-left: 18px; color: #C9D1E6; font-size: .95rem; }
.inovate-body li { margin-bottom: 8px; }
.inovate-body strong { color: #fff; font-weight: 600; }
@media (max-width: 980px) { .inovate { grid-template-columns: 1fr; } }

/* Inner pages (tester download, privacy notice) */
.page { padding-top: 56px; }
.page-body { max-width: 760px; }
.page-title { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 400; margin: 0 0 12px; }
.page-body .lede { margin-bottom: 28px; }
.h-page { font-size: 1.25rem; font-weight: 600; margin: 36px 0 10px; }
.page-body p, .page-body li { line-height: 1.6; }
.page-body a { color: var(--blue); }
.page-note { color: var(--muted); font-size: .92rem; }
.download-box { border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: 6px; padding: 24px 28px; background: var(--tint); }
.download-version { font-family: var(--head); font-weight: 600; color: var(--navy); margin: 0 0 14px; }
.download-box .btn-primary { color: #fff; }
.download-meta { color: var(--muted); font-size: .92rem; margin: 14px 0 6px; }
.download-alt { font-size: .92rem; margin: 0; }
.steps { padding-left: 1.3em; }
.steps li { margin-bottom: 10px; }
.inovate-testers { margin-top: 14px; font-size: .95rem; }
.inovate-testers a, .legal a { color: inherit; text-decoration: underline; }
@media (max-width: 560px) { .download-box { padding: 20px; } }
