/* ==========================================================================
   Agile Manufacturing Services — static site stylesheet
   Brand: White #FFFFFF · Slate #3A5A78 · Teal #35A9A8 · Ink #050C12 · Depth #063B40 · Tint #E6EEF4
   Type:  Hanken Grotesk (display + body) · JetBrains Mono (labels + data)
   ========================================================================== */

:root {
  --white: #ffffff;
  --slate: #3a5a78;
  --teal: #35a9a8;
  --ink: #050c12;
  --depth: #063b40;
  --tint: #e6eef4;
  --sky: #70b8ff;
  --mist: #f4f6f8;
  --cloud: #f2f5f7;
  --line: #dbe3e9;
  --rule: #d2dce5;
  --soft: #d7e4ef;
  --navy: #06233e;
  --navy-deep: #0a2238;
  --navy-line: #31536f;
  --grad-dark: linear-gradient(135deg, #3a5a78 0%, #061d31 55%, #020b14 100%);
  --grad-navy: linear-gradient(180deg, #082846 0%, #041a2d 52%, #020b14 100%);
  --grad-teal: linear-gradient(135deg, #35a9a8 0%, #b9dedd 48%, #ffffff 100%);
  --font-sans: "Hanken Grotesk", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;
  --header-h: 94px;
  --radius-xl: 3rem;
  --radius-lg: 2.5rem;
  --radius-md: 2rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-sans); font-weight: 700; line-height: 1.05; letter-spacing: -0.04em; }
ul { margin: 0; padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- Icons (inline SVG sprite, see <svg hidden> at the top of each page) ---------- */
.icon { width: 1.25rem; height: 1.25rem; stroke-width: 1.5; flex-shrink: 0; }
.icon--sm { width: 1rem; height: 1rem; }
.icon--md { width: 2rem; height: 2rem; stroke-width: 1.4; }
.icon--lg { width: 3rem; height: 3rem; stroke-width: 1.25; }
.icon--xl { width: 4rem; height: 4rem; stroke-width: 1.15; }
.icon--hero { width: 6rem; height: 6rem; stroke-width: 1; }
.icon--teal { color: var(--teal); }
.icon--slate { color: var(--slate); }
.icon--sky { color: var(--sky); }

/* ---------- Layout primitives ---------- */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.container--wide { max-width: 1440px; }
.section { padding: 80px 0; }
.section--tight { padding: 64px 0; }
.bg-white { background: var(--white); }
.bg-tint { background: var(--tint); }
.bg-mist { background: var(--mist); }
.bg-slate { background: var(--slate); color: var(--white); }
.bg-ink { background: var(--ink); color: var(--white); }
.bg-grad-dark { background-color: #03111f; background-image: var(--grad-dark); color: var(--white); }
.bg-grad-navy { background-color: #041a2d; background-image: var(--grad-navy); color: var(--white); }
.grid { display: grid; gap: 1.5rem; }
.split { display: grid; gap: 2.5rem; }
.flex-between { display: flex; flex-direction: column; gap: 1.5rem; justify-content: space-between; }

/* ---------- Typography ---------- */
.overline {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--depth);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.overline--teal { color: var(--teal); }
.overline--sky { color: var(--sky); }
.overline--light { font-weight: 400; font-size: 14px; letter-spacing: 0.1em; }
.overline .bar { display: inline-block; width: 3rem; height: 4px; background: var(--teal); }
.display { font-size: clamp(2.75rem, 5.3vw, 4.8rem); line-height: 0.98; letter-spacing: -0.055em; }
.display--page { font-size: clamp(2.75rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.05em; }
.h2 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.045em; line-height: 1.05; color: var(--slate); }
.h2--white { color: var(--white); }
.h3 { font-size: 1.5rem; letter-spacing: -0.03em; line-height: 1.2; }
.lead { font-size: 1.25rem; line-height: 1.6; }
.lead--soft { color: var(--soft); }
.copy { font-size: 1.125rem; line-height: 1.7; color: var(--slate); }
.mono-label { font-family: var(--font-mono); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 2.5rem; } .mt-6 { margin-top: 3rem; } .mt-8 { margin-top: 4rem; }
.max-sm { max-width: 24rem; } .max-md { max-width: 28rem; } .max-lg { max-width: 32rem; } .max-xl { max-width: 36rem; }
.max-2xl { max-width: 42rem; } .max-3xl { max-width: 48rem; } .max-4xl { max-width: 56rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  height: 3.5rem; padding: 0 1.5rem;
  font-family: var(--font-sans); font-size: 1rem; font-weight: 700; white-space: nowrap;
  border: 2px solid transparent; border-radius: 999px;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.btn .icon { width: 1.1rem; height: 1.1rem; stroke-width: 2; }
.btn:hover { transform: translateY(-1px); }
.btn--teal { background: var(--teal); border-color: var(--teal); color: var(--ink); }
.btn--teal:hover { background: #2f9796; border-color: #2f9796; }
.btn--outline-white { background: transparent; border-color: var(--white); color: var(--white); }
.btn--outline-white:hover { background: var(--white); color: var(--ink); }
.btn--outline-slate { background: transparent; border-color: var(--slate); color: var(--slate); }
.btn--outline-slate:hover { background: var(--slate); color: var(--white); }
.btn--sm { height: 3rem; padding: 0 1.25rem; font-size: 0.875rem; }
.btn--block { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; color: var(--depth); transition: color 160ms ease; }
.text-link .icon { color: var(--teal); }
.text-link:hover { color: var(--teal); }
.text-link--teal { color: var(--teal); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: var(--white);
  border-bottom: 2px solid var(--ink);
}
.site-header__inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.brand { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.brand__logo { height: 56px; width: 128px; object-fit: contain; }
.brand__text { display: none; border-left: 1px solid var(--rule); padding-left: 1rem; }
.brand__name { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; line-height: 1; }
.brand__loc { display: block; margin-top: 4px; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--slate); }
.nav { display: none; flex: 1; align-items: center; justify-content: center; gap: 0.25rem; }
.nav a {
  position: relative; padding: 0.75rem 1rem; white-space: nowrap;
  font-size: 13px; font-weight: 600; color: var(--slate);
  transition: color 160ms ease;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--depth); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 1rem; right: 1rem; bottom: -32px; height: 4px; background: var(--teal);
}
.header-actions { display: none; align-items: center; gap: 1.25rem; }
.header-actions__brief { font-size: 13px; font-weight: 600; color: var(--slate); transition: color 160ms ease; }
.header-actions__brief:hover { color: var(--depth); }
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border: 1px solid var(--rule); border-radius: 0.5rem; color: var(--ink);
}
.menu-toggle .icon--close { display: none; }
.site-header.is-open .menu-toggle .icon--menu { display: none; }
.site-header.is-open .menu-toggle .icon--close { display: block; }

.mobile-nav {
  display: none; position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 40;
  overflow-y: auto; background: var(--white); border-top: 2px solid var(--ink);
}
.site-header.is-open .mobile-nav { display: block; }
.mobile-nav__inner { max-width: 42rem; margin: 0 auto; padding: 1.75rem 20px; }
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1.25rem; border-bottom: 2px solid var(--ink); }
.mobile-nav__title { font-family: var(--font-mono); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--depth); }
.mobile-nav__close { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; color: var(--slate); }
.mobile-nav__label { margin-top: 1.5rem; font-family: var(--font-mono); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--teal); }
.mobile-nav__links a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 0; border-bottom: 1px solid var(--tint);
  font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em; color: var(--slate);
}
.mobile-nav__links a .icon { color: var(--teal); width: 1.5rem; height: 1.5rem; }
.mobile-nav__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; padding: 1rem 0 1.75rem; border-bottom: 1px solid var(--tint); }
.mobile-nav__cols a { font-size: 1.125rem; font-weight: 600; }
.mobile-nav__cols a.is-service { font-size: 1rem; color: var(--slate); }
.mobile-nav__brief { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 1.25rem 0; border-bottom: 1px solid var(--tint); font-size: 1.25rem; font-weight: 700; color: var(--slate); }
.mobile-nav__brief .icon { color: var(--teal); width: 1.5rem; height: 1.5rem; }
.mobile-nav .btn { margin-top: 1.75rem; height: 4rem; font-size: 1.125rem; border-radius: 0.5rem; }

main { padding-top: var(--header-h); }

/* ---------- Home: hero ---------- */
.hero-home { border-bottom: 2px solid var(--ink); background: var(--white); }
.hero-home__grid { display: grid; min-height: 650px; }
.hero-home__statement {
  display: flex; flex-direction: column; justify-content: center;
  padding: 4rem 2rem;
  background-color: #03111f; background-image: var(--grad-dark); color: var(--white);
}
.hero-home__statement .display { color: var(--white); max-width: 48rem; }
.hero-home__statement .lead { color: var(--soft); max-width: 36rem; }
.hero-home__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.5rem; }
.hero-home__actions .btn { border-radius: 0.5rem; }
.hero-home__location { display: flex; align-items: center; gap: 0.75rem; margin-top: 2.5rem; font-family: var(--font-mono); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--sky); }
.hero-home__location .dot { width: 0.75rem; height: 0.75rem; background: var(--teal); }

.slider { position: relative; min-height: 520px; overflow: hidden; background: var(--slate); }
.slider__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 600ms ease; }
.slider__image.is-active { opacity: 1; }
.slider__panel { position: absolute; left: 0; right: 0; bottom: 0; background: var(--depth); border-top: 2px solid var(--ink); color: var(--white); }
.slider__panel-body { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; padding: 1.75rem; }
.slider__mark { font-family: var(--font-mono); font-size: 0.875rem; font-weight: 700; color: var(--teal); }
.slider__title { margin-top: 1rem; font-size: clamp(1.75rem, 3.5vw, 3rem); max-width: 36rem; line-height: 1.1; }
.slider__body { margin-top: 0.75rem; max-width: 32rem; color: var(--tint); }
.slider__controls { display: flex; gap: 0.5rem; flex-shrink: 0; }
.slider__btn { display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border: 2px solid var(--teal); color: var(--teal); transition: background-color 160ms ease, color 160ms ease; }
.slider__btn:hover, .slider__btn--solid { background: var(--teal); color: var(--ink); }
.slider__dots { display: flex; gap: 0.5rem; padding: 0 1.75rem 1.75rem; }
.slider__dot { height: 6px; width: 2rem; background: rgba(255, 255, 255, 0.4); transition: width 240ms ease, background-color 240ms ease; }
.slider__dot.is-active { width: 4rem; background: var(--teal); }

/* ---------- Home: stats band ---------- */
.stats { border-bottom: 1px solid var(--ink); }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.stats__cell { padding: 1.5rem; border-right: 1px solid rgba(255, 255, 255, 0.2); border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.stats__cell:nth-child(2n) { border-right: 0; }
.stats__value { font-size: clamp(2.25rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.03em; }
.stats__label { margin-top: 0.5rem; font-family: var(--font-mono); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--tint); }

/* ---------- Home: AMS difference ---------- */
.usp {
  background-color: var(--tint);
  background-image:
    linear-gradient(135deg, rgba(230, 238, 244, 0.92), rgba(58, 90, 120, 0.28)),
    repeating-linear-gradient(0deg, transparent 0 47px, rgba(6, 59, 64, 0.13) 48px 49px),
    repeating-linear-gradient(90deg, transparent 0 47px, rgba(6, 59, 64, 0.13) 48px 49px);
}
.usp__tagline { max-width: 28rem; font-size: 1.125rem; line-height: 1.7; color: var(--slate); }
.usp__tagline strong { display: block; color: var(--depth); }
.usp__grid { display: grid; gap: 1.5rem; margin-top: 3rem; }
.usp__card { padding: 1.75rem; border-radius: var(--radius-xl); transition: background-color 200ms ease, color 200ms ease, transform 200ms ease; }
.usp__card .icon { width: 5rem; height: 5rem; stroke-width: 1.1; color: var(--teal); }
.usp__title { margin-top: 2.5rem; font-size: 1.375rem; font-weight: 700; letter-spacing: 0.01em; text-transform: uppercase; color: var(--depth); }
.usp__copy { margin-top: 1rem; color: var(--ink); }
.usp__card:hover { background: var(--slate); color: var(--white); transform: translateY(-4px); }
.usp__card:hover .usp__title, .usp__card:hover .usp__copy { color: var(--white); }

/* ---------- Bordered tile grids (hairline rules) ---------- */
.tiles { display: grid; gap: 1px; border: 2px solid var(--ink); background: var(--ink); }
.tiles > * { background: var(--white); padding: 1.25rem; }
.tiles--tint > * { background: var(--tint); }
.tile-link { display: block; padding: 1.75rem; transition: background-color 200ms ease, color 200ms ease; }
.tile-link__head { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-mono); font-size: 0.875rem; color: var(--teal); }
.tile-link__title { margin-top: 3.5rem; font-size: 1.5rem; font-weight: 600; color: var(--slate); }
.tile-link__copy { margin-top: 1rem; color: var(--slate); }
.tile-link:hover { background: var(--depth); }
.tile-link:hover .tile-link__title { color: var(--white); }
.tile-link:hover .tile-link__copy { color: var(--tint); }

/* ---------- Home: capability proof ---------- */
.proof__cert .icon { width: 2.25rem; height: 2.25rem; stroke-width: 1.4; color: var(--teal); }
.proof__cert-name { margin-top: 1.5rem; font-size: 1.125rem; font-weight: 700; line-height: 1.2; color: var(--slate); }
.proof__cert-scope { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.35; color: var(--slate); }
.proof__cap-value { font-size: 2.25rem; font-weight: 700; letter-spacing: -0.03em; color: var(--slate); }
.proof__cap-label { margin-top: 0.75rem; font-family: var(--font-mono); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--depth); }
.proof__process { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; padding: 1.5rem; border: 2px solid var(--ink); background: var(--depth); color: var(--white); }
.proof__process .mono-label { margin-right: 0.5rem; color: var(--teal); }
.proof__process .icon { color: var(--teal); width: 1rem; height: 1rem; }
.proof__process strong { font-weight: 700; }

/* ---------- Page hero (About, Manufacturing, Design, Quality, Contact, 404) ---------- */
.hero-page { padding: 96px 0; }
.hero-page__grid { display: grid; gap: 2.5rem; }
.hero-page .display--page { color: var(--white); }

/* ---------- Soft cards (Manufacturing, Design, Quality, Contact) ---------- */
.card { border-radius: var(--radius-xl); padding: 2rem; }
.card--light { background: var(--cloud); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.card--slate { background: var(--slate); color: var(--white); }
.card--teal { background: var(--teal); color: var(--white); }
.card--dark { background-color: #03111f; background-image: var(--grad-dark); color: var(--white); }
.card--white { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.card--tint { background: var(--tint); color: var(--ink); }
.card--light .card__title, .card--white .card__title, .card--tint .card__title { color: var(--slate); }
.card--light .card__copy, .card--white .card__copy, .card--tint .card__copy { color: var(--slate); }
.card--slate .card__copy, .card--dark .card__copy { color: var(--tint); }
.card__title { font-size: clamp(1.75rem, 3vw, 2.25rem); letter-spacing: -0.04em; }
.card__sub { margin-top: 1rem; font-size: 1.25rem; font-weight: 600; }
.card__copy { margin-top: 1rem; line-height: 1.65; }
.card__index { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--teal); }
.card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; }
.card--light .card__index { color: var(--depth); }
.card--stretch { display: flex; flex-direction: column; justify-content: space-between; min-height: 380px; }
.card--stretch .card__content { margin-top: 4rem; }
.card--light .icon { color: var(--slate); }
.card--slate .icon, .card--dark .icon { color: var(--teal); }

.cta-card { display: flex; flex-direction: column; gap: 2rem; justify-content: space-between; padding: 2.5rem; border-radius: var(--radius-xl); background-color: #03111f; background-image: var(--grad-dark); color: var(--white); }
.cta-card .h2 { color: var(--white); max-width: 48rem; }
.cta-band { padding: 80px 0; }
.cta-band .h2 { color: var(--white); max-width: 56rem; }

/* ---------- Manufacturing: services ---------- */
.service { display: grid; gap: 1.5rem; padding: 1.75rem; border-radius: var(--radius-lg); background: var(--teal); color: var(--white); }
.service__icon { display: flex; align-items: center; justify-content: center; width: 5rem; height: 5rem; border-radius: 999px; background: var(--white); color: var(--slate); }
.service__name { font-size: 1.875rem; letter-spacing: -0.035em; }
.service__copy { font-size: 1.125rem; line-height: 1.65; }
.service__arrow { color: var(--white); width: 2rem; height: 2rem; transition: transform 200ms ease; }
.service:hover .service__arrow { transform: translate(4px, -4px); }

/* ---------- Design: process ---------- */
.process { position: relative; display: grid; gap: 1.25rem; margin-top: 4rem; }
.process__line { display: none; }
.process__step { position: relative; padding: 1.5rem; border-radius: var(--radius-md); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.process__num { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 999px; background: var(--slate); color: var(--white); font-family: var(--font-mono); font-size: 12px; font-weight: 700; }
.process__label { margin-top: 2rem; font-size: 1.25rem; font-weight: 700; color: var(--slate); }

/* ---------- Quality: stage cards ---------- */
.stage { min-height: 390px; padding: 2rem; border-radius: var(--radius-xl); background: var(--tint); }
.stage .icon { color: var(--slate); }
.stage__num { display: block; margin-top: 3rem; font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--teal); }
.stage__title { margin-top: 1rem; font-size: 1.5rem; color: var(--slate); }
.stage__copy { margin-top: 1rem; color: var(--slate); line-height: 1.65; }
.cert { min-height: 280px; padding: 1.75rem; border-radius: var(--radius-lg); background: var(--cloud); color: var(--ink); }
.cert__icon { display: flex; align-items: center; justify-content: center; width: 4rem; height: 4rem; border-radius: 999px; background: var(--white); color: var(--slate); }
.cert__name { margin-top: 2.5rem; font-size: 1.25rem; font-weight: 700; color: var(--slate); }
.cert__desc { margin-top: 1rem; color: var(--slate); line-height: 1.6; }
.cert--slate { background: var(--slate); color: var(--white); }
.cert--slate .cert__icon { background: var(--teal); color: var(--ink); }
.cert--slate .cert__name { color: var(--white); }
.cert--slate .cert__desc { color: var(--tint); }

/* ---------- Reference photo band (Manufacturing, Quality) ---------- */
.ref-band { padding: 96px 0; }
.ref-band__frame { position: relative; min-height: 520px; overflow: hidden; border-radius: 3.5rem; background: var(--slate); }
.ref-band__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ref-band__label { position: absolute; left: 1.5rem; top: 1.5rem; padding: 0.75rem 1.25rem; border-radius: 999px; background: var(--white); font-family: var(--font-mono); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--depth); }
.ref-band__caption { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.25rem; padding: 1.75rem; border-radius: var(--radius-lg); background: var(--slate); color: var(--white); }
.ref-band__caption h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); letter-spacing: -0.035em; line-height: 1.15; }
.ref-band__caption p { display: flex; align-items: center; gap: 0.5rem; margin-top: 1rem; color: var(--tint); }
.ref-band__caption .icon { color: var(--teal); }

/* ---------- About ---------- */
.about-monogram { display: flex; align-items: center; justify-content: center; width: 6rem; height: 6rem; margin-bottom: 3.5rem; border: 3px solid var(--white); font-size: 3.75rem; font-weight: 700; color: var(--white); }
.about-fact { border-left: 1px solid var(--navy-line); padding-left: 1.75rem; }
.about-fact__label { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--sky); }
.about-fact__value { margin-top: 0.75rem; font-size: 3rem; font-weight: 700; }
.about-fact__sub { margin-top: 0.5rem; font-size: 0.875rem; color: #9db3c7; }
.about-rule { height: 1px; margin-top: 4rem; background: var(--navy-line); }

.value { min-height: 430px; padding: 2.25rem; border-radius: var(--radius-xl); }
.value .icon { width: 4rem; height: 4rem; stroke-width: 1.2; }
.value__label { margin-top: 4rem; font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.16em; }
.value__title { margin-top: 1.25rem; max-width: 24rem; font-size: 2.25rem; letter-spacing: -0.045em; line-height: 1.1; }
.value__copy { margin-top: 1.25rem; max-width: 28rem; line-height: 1.65; }
.value--white { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.value--white .icon, .value--white .value__label { color: var(--teal); }
.value--white .value__title { color: var(--slate); }
.value--white .value__copy { color: var(--slate); }
.value--teal { background: var(--teal); color: var(--white); }
.value--teal .value__label { color: var(--tint); }
.value--slate { background: var(--slate); color: var(--white); }
.value--slate .value__label { color: var(--tint); }
.value--teal .icon, .value--slate .icon { color: var(--white); }

.leader { display: flex; flex-direction: column; }
.leader__photo { overflow: hidden; background: var(--white); }
.leader__photo img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; object-position: top; filter: grayscale(1); transition: filter 500ms ease, transform 500ms ease; }
.leader:hover .leader__photo img { filter: grayscale(0); transform: scale(1.02); }
.leader__body { flex: 1; min-height: 245px; padding: 1.75rem; background: var(--navy); color: var(--white); }
.leader__name { font-size: 2rem; letter-spacing: -0.035em; line-height: 1; }
.leader__role { margin-top: 1rem; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--teal); }
.leader__bio { margin-top: 1.25rem; font-size: 0.875rem; line-height: 1.65; color: #cad9e7; }
.leader__link { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.5rem; font-size: 0.875rem; font-weight: 600; color: var(--teal); }

.timeline { margin-top: 3.5rem; border: 1px solid #335572; background: #071d31; }
.timeline__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.timeline__track::-webkit-scrollbar { display: none; }
.milestone { position: relative; flex: 0 0 100%; min-height: 430px; padding: 2.25rem; overflow: hidden; scroll-snap-align: start; background-color: #03111f; background-image: var(--grad-dark); color: var(--white); }
.milestone__bg { position: absolute; right: -2.5rem; top: 0.75rem; width: 18rem; height: 18rem; stroke-width: 0.75; color: #5a85aa; opacity: 0.16; }
.milestone__label { position: relative; font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--sky); }
.milestone__year { position: relative; margin-top: 5rem; font-size: clamp(3.5rem, 7vw, 4.5rem); font-weight: 700; letter-spacing: -0.055em; }
.milestone__copy { position: relative; margin-top: 1.75rem; max-width: 42rem; font-size: 1.5rem; line-height: 1.5; color: #d8e7f3; }
.timeline__controls { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 1.25rem 1.5rem; border-top: 1px solid #335572; }
.timeline__btn { display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; background: #203c55; color: var(--white); }
.timeline__btn:disabled { opacity: 0.35; cursor: default; }
.timeline__dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.timeline__dot { height: 8px; width: 1.25rem; background: #45637c; transition: width 200ms ease, background-color 200ms ease; }
.timeline__dot.is-active { width: 2.5rem; background: var(--teal); }

.credentials { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 0.5rem; margin-top: 3.5rem; }
.credential { flex: 0 0 180px; display: flex; align-items: center; justify-content: center; min-height: 200px; padding: 1.5rem; border-radius: var(--radius-md); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.credential img { max-height: 120px; width: auto; object-fit: contain; }

.advantage { padding: 2rem; background: var(--navy-deep); }
.advantage .icon { color: var(--teal); }
.advantage__value { margin-top: 3rem; font-size: 2.25rem; font-weight: 700; }
.advantage__label { margin-top: 0.5rem; color: #9fb5c8; }
.advantages { display: grid; gap: 1px; margin-top: 3.5rem; background: #38566e; }

.partners { background-image: var(--grad-teal); }
.partners .h2 { color: var(--depth); }
.partners .overline { color: var(--depth); }
.partners__grid { display: grid; gap: 1rem; margin-top: 3.5rem; }
.partner { display: flex; flex-direction: column; justify-content: space-between; min-height: 300px; padding: 2rem; border-radius: var(--radius-md); background: var(--slate); color: var(--white); }
.partner__brand { width: 3rem; height: 3rem; color: var(--white); }
.partner__brand--matter img { width: 3rem; height: 3rem; filter: brightness(0) invert(1); }
.partner__name { margin-top: 1.5rem; font-size: 1.5rem; font-weight: 600; }
.partner__copy { margin-top: 1rem; font-size: 0.9375rem; line-height: 1.6; color: var(--tint); }
.partner__label { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--teal); }
.partner:hover .partner__arrow { transform: translate(4px, -4px); }
.partner__arrow { transition: transform 200ms ease; color: var(--teal); }

/* ---------- Contact ---------- */
.contact-detail { display: flex; align-items: center; gap: 1rem; color: var(--slate); }
.contact-detail--top { align-items: flex-start; }
.contact-detail__icon { display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; border-radius: 999px; background: var(--tint); color: var(--teal); }
.contact-detail--top span:last-child { padding-top: 0.5rem; line-height: 1.6; }
.form-card { padding: 1.75rem; border-radius: var(--radius-xl); background: var(--mist); box-shadow: inset 0 0 0 1px var(--rule); }
.form { display: grid; gap: 1.5rem; }
.form__row { display: grid; gap: 1.25rem; }
.field { display: grid; gap: 0.5rem; }
.field label { font-size: 0.875rem; font-weight: 600; }
.field label small { font-weight: 400; color: #8a9bab; }
.field input, .field textarea {
  width: 100%; padding: 0.7rem 0.9rem; font: inherit; font-size: 0.9375rem;
  border: 1px solid var(--rule); border-radius: 0.5rem; background: var(--white); color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(53, 169, 168, 0.25); }
.field textarea { min-height: 9rem; resize: vertical; }
.choice-group { display: grid; gap: 0.5rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: block; padding: 0.75rem; border: 1px solid var(--rule); border-radius: 0.75rem; background: var(--white); font-size: 0.75rem; font-weight: 600; color: #5b6f82; transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease; }
.choice input:checked + span { border-color: var(--teal); background: #eaf7f7; color: var(--depth); }
.choice input:focus-visible + span { box-shadow: 0 0 0 3px rgba(53, 169, 168, 0.25); }
.upload-note { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 1.5rem; min-height: 16rem; width: 100%; padding: 1.75rem; border: 2px dashed var(--slate); background: var(--tint); color: var(--slate); text-align: left; transition: border-color 160ms ease, background-color 160ms ease; }
.upload-note:hover { border-color: var(--teal); background: var(--white); }
.upload-note .icon { transition: transform 200ms ease; }
.upload-note:hover .icon { transform: translateY(-4px); }
.upload-note strong { display: block; font-size: 1.875rem; letter-spacing: -0.03em; }
.upload-note span { display: block; margin-top: 0.75rem; max-width: 28rem; color: #6b7c8c; line-height: 1.6; }
.form__note { text-align: center; font-size: 0.875rem; color: #8a9bab; line-height: 1.6; }
.form__status { display: none; padding: 1rem 1.25rem; border-radius: 0.75rem; font-size: 0.9375rem; line-height: 1.6; }
.form__status.is-visible { display: block; }
.form__status--error { background: #fdf1ef; color: #8a2e22; border: 1px solid #f3c9c2; }
.form__status--info { background: #eaf7f7; color: var(--depth); border: 1px solid #bfe3e2; }
.form-success { display: none; min-height: 360px; flex-direction: column; justify-content: center; padding: 1.75rem; border-radius: 1rem; background: #eef8f4; border: 1px solid #b9e2d1; }
.form-success.is-visible { display: flex; }
.form-success__icon { display: flex; align-items: center; justify-content: center; width: 5rem; height: 5rem; margin-bottom: 1.5rem; border-radius: 999px; background: var(--slate); color: var(--teal); }
.form-success h3 { margin-top: 0.75rem; font-size: 1.875rem; color: var(--slate); }
.form-success p { margin-top: 1rem; max-width: 32rem; color: #4b5d6e; line-height: 1.65; }
.entry { display: flex; flex-direction: column; min-height: 390px; padding: 2rem; border-radius: var(--radius-xl); background-color: #03111f; background-image: var(--grad-dark); color: var(--white); }
.entry .icon { color: var(--teal); }
.entry__body { margin-top: auto; padding-top: 4rem; }
.entry__title { font-size: 1.875rem; letter-spacing: -0.035em; }
.entry__copy { margin-top: 1.25rem; font-size: 1.125rem; line-height: 1.6; color: var(--soft); }
.brief-card { display: flex; flex-direction: column; gap: 2rem; justify-content: space-between; padding: 2.25rem; border-radius: var(--radius-xl); background: var(--tint); }

/* ---------- Not found ---------- */
.nf-path { font-family: var(--font-mono); color: var(--teal); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--white); }
.site-footer__inner { padding: 64px 0; }
.site-footer__grid { display: grid; gap: 3rem; }
.site-footer__logo { height: 64px; width: 144px; object-fit: contain; object-position: left; }
.site-footer__tagline { margin-top: 1.5rem; max-width: 20rem; color: var(--tint); }
.site-footer__contact { display: grid; gap: 0.75rem; margin-top: 1.5rem; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--teal); }
.site-footer__contact span { color: var(--tint); line-height: 1.6; }
.site-footer__label { font-family: var(--font-mono); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--teal); }
.site-footer__links { display: grid; gap: 1rem; margin-top: 1.25rem; }
.site-footer__links a { color: var(--tint); transition: color 160ms ease; }
.site-footer__links a:hover, .site-footer__links a.is-teal { color: var(--teal); }
.site-footer__links a.is-teal { display: inline-flex; align-items: center; gap: 0.5rem; }
.site-footer__bottom { display: flex; flex-direction: column; gap: 0.75rem; justify-content: space-between; margin-top: 4rem; padding-top: 1.25rem; border-top: 1px solid var(--slate); font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--tint); }

/* ---------- Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.rise { animation: rise 600ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.rise--2 { animation-delay: 90ms; }
.rise--3 { animation-delay: 180ms; }
@media (prefers-reduced-motion: reduce) {
  .rise { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .container { padding: 0 32px; }
  .hero-home__statement { padding: 5rem 3rem; }
  .slider__panel-body { padding: 2.25rem; }
  .slider__dots { padding: 0 2.25rem 2.25rem; }
  .stats__cell { padding: 2rem; }
  .usp__grid { grid-template-columns: repeat(2, 1fr); }
  .tiles--sm-2 { grid-template-columns: repeat(2, 1fr); }
  .form__row { grid-template-columns: 1fr 1fr; }
  .choice-group { grid-template-columns: repeat(3, 1fr); }
  .card { padding: 2.5rem; }
  .service { padding: 2.25rem; }
  .ref-band__label { left: 2.25rem; top: 2.25rem; }
  .ref-band__caption { left: 2rem; right: 2rem; bottom: 2rem; padding: 2.5rem; }
  .form-card { padding: 2.5rem; }
  .cta-card, .brief-card { padding: 3.5rem; }
  .milestone { padding: 3rem; }
  .value { padding: 2.75rem; }
  .form-success { padding: 2.5rem; }
}
@media (min-width: 768px) {
  .flex-between { flex-direction: row; align-items: flex-end; }
  .site-footer__bottom { flex-direction: row; }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .container { padding: 0 48px; }
  .section { padding: 112px 0; }
  .section--tight { padding: 96px 0; }
  .hero-page { padding: 144px 0; }
  .hero-page__grid { grid-template-columns: 1.2fr 0.8fr; align-items: end; }
  .hero-page__aside { justify-self: end; }
  .hero-home__grid { grid-template-columns: 0.86fr 1.14fr; }
  .hero-home__statement { padding: 5rem 4rem 5rem 3rem; }
  .slider { min-height: 0; }
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .stats__cell { border-bottom: 0; }
  .stats__cell:nth-child(2n) { border-right: 1px solid rgba(255, 255, 255, 0.2); }
  .stats__cell:last-child { border-right: 0; }
  .split { grid-template-columns: 0.72fr 1.28fr; }
  .split--about { grid-template-columns: 0.65fr 1.35fr; }
  .split--contact { grid-template-columns: 0.82fr 1.18fr; align-items: start; }
  .split--end { align-items: end; }
  .usp__grid { grid-template-columns: repeat(4, 1fr); }
  .tiles--3 { grid-template-columns: repeat(3, 1fr); }
  .tiles--4 { grid-template-columns: repeat(4, 1fr); }
  .tiles--5 { grid-template-columns: repeat(5, 1fr); }
  .grid--lg-3 { grid-template-columns: repeat(3, 1fr); }
  .grid--lg-4 { grid-template-columns: repeat(4, 1fr); }
  .grid--lg-5 { grid-template-columns: repeat(5, 1fr); }
  .grid--lg-6 { grid-template-columns: repeat(6, 1fr); }
  .grid--leaders { grid-template-columns: repeat(6, 1fr); }
  .grid--leaders > .leader { grid-column: span 2; }
  .grid--leaders > .leader:nth-child(4) { grid-column: 2 / span 2; }
  .grid--leaders > .leader:nth-child(5) { grid-column: 4 / span 2; }
  .service { grid-template-columns: 110px 0.7fr 1.3fr auto; align-items: center; }
  .process { grid-template-columns: repeat(6, 1fr); }
  .process__line { display: block; position: absolute; left: 0; right: 0; top: 3rem; height: 1px; background: #b8c7d3; }
  .cta-card { flex-direction: row; align-items: flex-end; }
  .cta-band .flex-between { align-items: flex-end; }
  .ref-band__caption { max-width: 42rem; }
  .advantages { grid-template-columns: repeat(4, 1fr); }
  .partners__grid { grid-template-columns: repeat(4, 1fr); }
  .credentials { display: grid; grid-template-columns: repeat(6, 1fr); overflow: visible; }
  .credential { flex: initial; }
  .site-footer__inner { padding: 80px 0; }
  .site-footer__grid { grid-template-columns: 1.2fr 0.7fr 0.9fr 0.8fr; }
  .header-actions { display: flex; }
  .menu-toggle { display: none; }
  .brief-card { flex-direction: row; align-items: flex-end; }
  .cta-band { padding: 96px 0; }
}
@media (min-width: 1280px) {
  .nav { display: flex; }
  .brand__text { display: block; }
  .brand { min-width: 245px; }
}
