/* Grexprint — Design tokens (B2B industrial minimal)
   Palette: deep blue / charcoal / light grey. No rounded-philosophy, no gradients. */

:root {
  /* Colour */
  --c-navy:        #0F2540;
  --c-navy-700:    #16324F;
  --c-navy-600:    #1D4066;
  --c-accent:      #3384C4;
  --c-accent-ink:  #0B6BB0;
  --c-charcoal:    #2A2F36;
  --c-ink:         #1B2026;
  --c-body:        #4A525C;
  --c-muted:       #6B747F;
  --c-line:        #D9DFE5;
  --c-surface:     #FFFFFF;
  --c-surface-2:   #F4F6F8;
  --c-surface-3:   #EAEEF2;

  /* Process colours (CMYK print palette) — used consistently, never randomly */
  --pc-cyan:       #12A7DE;
  --pc-cyan-ink:   #0B7FA8;
  --pc-magenta:    #E0479E;
  --pc-magenta-ink:#B62B7C;
  --pc-yellow:     #F0B323;
  --pc-yellow-ink: #A9760B;
  --pc-violet:     #8B5CC7;
  --pc-green:      #3FA86B;
  --pc-bar: linear-gradient(90deg, #12A7DE 0%, #3FA86B 26%, #F0B323 52%, #F07A3C 74%, #E0479E 100%);

  /* Typography */
  --f-sans: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
  --f-mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  /* Spacing scale */
  --s-1: .25rem;
  --s-2: .5rem;
  --s-3: .75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;

  --radius: 3px;
  --shadow-sm: 0 1px 2px rgba(15, 37, 64, .06);
  --shadow-md: 0 8px 24px rgba(15, 37, 64, .10);

  --maxw: 1200px;
  --nav-h: 68px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-body);
  background: var(--c-surface);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--c-accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--c-navy); line-height: 1.2; margin: 0 0 var(--s-4); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.15rem); }
h3 { font-size: 1.125rem; }
p  { margin: 0 0 var(--s-4); }
ul { margin: 0 0 var(--s-4); padding-left: 1.15rem; }
li { margin-bottom: .4rem; }
hr { border: 0; border-top: 1px solid var(--c-line); margin: var(--s-6) 0; }
strong { color: var(--c-ink); }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }

/* ---------- Layout helpers ---------- */
.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.narrow { max-width: 78ch; }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--tight { padding: clamp(2rem, 4.5vw, 3.25rem) 0; }
.section--alt { background: var(--c-surface-2); border-block: 1px solid var(--c-line); }
.section--navy { background: var(--c-navy); color: #C9D6E4; border-block: 0; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--charcoal { background: var(--c-charcoal); color: #C6CCD4; }
.section--charcoal h2, .section--charcoal h3 { color: #fff; }
.grid { display: grid; gap: var(--s-5); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .grid { gap: var(--s-4); }
}

/* ---------- Text utilities ---------- */
.eyebrow {
  font-family: var(--f-mono);
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-accent-ink);
  margin: 0 0 var(--s-3);
  display: block;
}
/* every section eyebrow carries the process-colour dash */
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px; height: 3px;
  margin-right: .55rem;
  vertical-align: middle;
  border-radius: 2px;
  background: var(--pc-bar);
}
.section--navy .eyebrow, .section--charcoal .eyebrow { color: #7FB6E6; }
.lede { font-size: 1.0625rem; color: var(--c-body); }
.section--navy .lede, .section--charcoal .lede { color: #C9D6E4; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.mono { font-family: var(--f-mono); font-size: .8125rem; }
.small { font-size: .875rem; color: var(--c-muted); }
.mb0 { margin-bottom: 0; }
.mt0 { margin-top: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-family: var(--f-sans); font-size: .9375rem; font-weight: 600;
  padding: .8rem 1.4rem; border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; text-decoration: none; transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--c-navy); color: #fff; border-color: var(--c-navy); }
.btn--primary:hover { background: var(--c-navy-700); }
.btn--accent { background: var(--c-accent-ink); color: #fff; }
.btn--accent:hover { background: #08558C; }
.btn--ghost { background: transparent; color: var(--c-navy); border-color: var(--c-line); }
.btn--ghost:hover { border-color: var(--c-navy); background: var(--c-surface-2); }
.btn--onnavy { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--onnavy:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--c-line);
}
.header-inner {
  min-height: var(--nav-h); display: flex; align-items: center; gap: var(--s-5);
}
.brand { display: flex; align-items: center; gap: .65rem; flex: 0 0 auto; }
.brand img, .brand svg { width: 34px; height: 34px; }
.brand-word {
  font-weight: 700; font-size: 1.0625rem; letter-spacing: -.02em;
  color: var(--c-navy);
  background: linear-gradient(100deg,
    #0F2540 0%,
    #2B81BF 16%,
    #37B6E9 29%,
    #4FD1C5 41%,
    #86D96A 54%,
    #E3C24A 67%,
    #E88B3F 80%,
    #D9585F 91%,
    #B85CA8 100%
  );
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.brand-tag { display: block; font-family: var(--f-mono); font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-accent-ink); opacity: .92; }
/* fallback for engines without background-clip:text */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .brand-word { background: none; -webkit-text-fill-color: currentColor; }
}
.nav { margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: clamp(.85rem, 1.6vw, 1.75rem); margin: 0; padding: 0; list-style: none; }
.nav { flex-wrap: nowrap; white-space: nowrap; }
.nav a { color: var(--c-charcoal); font-size: .9375rem; font-weight: 500; }
.nav a:hover { color: var(--c-accent-ink); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--c-navy); font-weight: 700; box-shadow: inset 0 -2px 0 var(--c-accent); }
.header-actions { display: flex; align-items: center; gap: var(--s-3); }
.btn--header { padding: .55rem .9rem; font-size: .875rem; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--c-line); border-radius: var(--radius);
  width: 42px; height: 38px; cursor: pointer; padding: 0;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--c-navy); margin: 3px auto; }
@media (max-width: 980px) {
  .nav-toggle { display: block; order: 3; }
  .header-actions { margin-left: auto; order: 2; }
  .nav {
    order: 4; flex-basis: 100%; margin: 0; display: none;
    border-top: 1px solid var(--c-line); padding: var(--s-3) 0 var(--s-4);
  }
  .nav.is-open { display: block; }
  .header-inner { flex-wrap: wrap; padding-bottom: 0; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav ul li a { display: block; padding: .6rem 0; border-bottom: 1px solid var(--c-surface-3); }
  .nav ul li:last-child a { border-bottom: 0; }
  .header-inner > .btn--header { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(115deg, rgba(15,37,64,.96) 0%, rgba(15,37,64,.86) 55%, rgba(29,64,102,.82) 100%);
  color: #D7E2EE;
  border-bottom: 4px solid transparent;
  border-image: var(--pc-bar) 1;
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(55% 75% at 92% 8%, rgba(18,167,222,.30), transparent 72%),
    radial-gradient(50% 65% at 4% 96%, rgba(224,71,158,.26), transparent 72%),
    radial-gradient(45% 60% at 55% 100%, rgba(240,179,35,.16), transparent 70%);
}
.hero-inner { position: relative; z-index: 1; display: grid; gap: var(--s-7); align-items: center; padding: clamp(3rem, 8vw, 6rem) 0; }
@media (min-width: 900px) { .hero-inner { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1240px) { .hero-inner { grid-template-columns: .88fr 1.22fr; } }
.hero h1 { color: #fff; max-width: 20ch; }
.hero-sub {
  margin: var(--s-3) 0 var(--s-2);
  font-family: var(--f-mono); font-size: clamp(.8125rem, 1.4vw, .9375rem);
  letter-spacing: .06em; text-transform: uppercase;
  color: #8FE3FF;
}
.hero .lede { color: #C9D8E8; font-size: clamp(1rem, 1.6vw, 1.1875rem); max-width: 46ch; }
.hero-visual { border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); background: rgba(255,255,255,.04); padding: var(--s-2); }
.hero-visual figcaption { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: #8FA9C4; padding: var(--s-3) 0 .25rem; }
@media (min-width: 1240px) {
  .hero-visual { padding: 0; border: 0; background: none; }
}
.hero-visual img, .hero-visual svg { border-radius: 2px; background: #fff; }
.hero-badges { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-5); }
.badge {
  font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.28); color: #E6EFF8; padding: .3rem .6rem; border-radius: var(--radius);
  background: rgba(9,22,40,.28);
}
.hero-badges .badge:nth-child(4n+1) { border-color: rgba(56,197,240,.85); color: #8FE3FF; }
.hero-badges .badge:nth-child(4n+2) { border-color: rgba(236,110,178,.85); color: #FFA7D3; }
.hero-badges .badge:nth-child(4n+3) { border-color: rgba(246,199,88,.85);  color: #FFDD85; }
.hero-badges .badge:nth-child(4n+4) { border-color: rgba(163,140,231,.85); color: #CBBEFF; }

/* ---------- Sub hero (inner pages) ---------- */
.subhero { position: relative; background: var(--c-navy); color: #C9D8E8; padding: clamp(2.5rem, 6vw, 4rem) 0; }
.subhero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--pc-bar); }
.subhero h1 { color: #fff; margin-bottom: var(--s-3); }
.subhero .lede { color: #C9D8E8; max-width: 62ch; }
.breadcrumb { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: #8FA9C4; margin-bottom: var(--s-4); }
.breadcrumb a { color: #C9D8E8; }
.breadcrumb span { margin: 0 .4rem; opacity: .6; }

/* ---------- Cards ---------- */
.card {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: var(--s-5); box-shadow: var(--shadow-sm); transition: box-shadow .18s, transform .18s, border-color .18s;
}
.card:hover { box-shadow: var(--shadow-md); border-color: #C2CBD4; }
.card h3 { margin-bottom: var(--s-2); }
.card p:last-child { margin-bottom: 0; }
.card--flat { background: var(--c-surface-2); box-shadow: none; }
.card-icon { width: 26px; height: 26px; color: var(--c-accent-ink); margin-bottom: var(--s-4); }
.section--navy .card, .section--charcoal .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.16); color: #C9D6E4; }
.section--navy .card h3, .section--charcoal .card h3 { color: #fff; }
.card-index { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .12em; color: var(--c-muted); display: block; margin-bottom: var(--s-3); }

/* Answer-first summary block (readability for users + AI answer engines) */
.quick-answer {
  position: relative;
  overflow: hidden;
  background: var(--c-surface-2);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: var(--s-4) var(--s-5);
}
.quick-answer::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  border-radius: 3px 0 0 3px; background: var(--pc-bar);
}
.quick-answer__label {
  font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--c-accent-ink); margin: 0 0 var(--s-2);
}
.quick-answer__text { margin: 0; font-size: 1rem; line-height: 1.65; color: var(--c-ink); max-width: 92ch; }

/* Photo cards (services) */
.card--photo {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: var(--s-5);
  border-color: var(--c-line);
  background-color: var(--c-navy);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.card--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,37,64,.78) 0%, rgba(15,37,64,.18) 40%, rgba(15,37,64,.68) 100%);
}
.card--photo > * { position: relative; z-index: 1; text-shadow: 0 1px 4px rgba(8,18,32,.9); }
.card-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* Title stays top-left, everything else is pushed to the bottom of the photo */
.card--photo h3 { margin: 0 0 auto; color: #fff; }
.card--photo p { color: #E8F0F8; }
.card--photo p.small a { color: #8FC2EE; }
.card--photo p.small a:hover { color: #fff; }
.svc-card--1 { background-image: url("../img/svc-01-low-volume-packaging.webp"); }
.svc-card--2 { background-image: url("../img/svc-02-artwork-validation.webp"); }
.svc-card--3 { background-image: url("../img/svc-03-die-cut-colour.webp"); }
.svc-card--4 { background-image: url("../img/svc-04-ppwr-compliance.webp"); }
@media (max-width: 760px) {
  .card--photo { min-height: 300px; }
}

/* ---------- Fact / stat strip ---------- */
.strip { display: grid; gap: var(--s-4); grid-template-columns: repeat(4, minmax(0,1fr)); }
.strip-item {
  position: relative;
  min-height: 240px;
  padding: var(--s-5) var(--s-4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--s-3);
  overflow: hidden;
  background-color: var(--c-navy);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 3px;
}
.strip-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,37,64,.72) 0%, rgba(15,37,64,.14) 42%, rgba(15,37,64,.80) 100%);
}
.strip-item > * { position: relative; z-index: 1; text-shadow: 0 1px 4px rgba(8,18,32,.85); }
.strip-item--1 { background-image: url("../img/strip-01-low-volume-batches.webp"); }
.strip-item--2 { background-image: url("../img/strip-02-shared-plate-offset.webp"); }
.strip-item--3 { background-image: url("../img/strip-03-ppwr-documentation.webp"); }
.strip-item--4 { background-image: url("../img/strip-04-material-verification.webp"); }
.stat-num { font-family: var(--f-mono); font-size: clamp(1.4rem, 3vw, 1.9rem); color: #8FB8DE; display: block; line-height: 1.1; }
.strip-item:nth-child(4n+1) .stat-num { color: #7FDCFF; }
.strip-item:nth-child(4n+2) .stat-num { color: #FFA7D3; }
.strip-item:nth-child(4n+3) .stat-num { color: #FFDD85; }
.strip-item:nth-child(4n+4) .stat-num { color: #CBBEFF; }
.strip-item::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 3px 3px 0 0; }
.strip-item:nth-child(4n+1)::after { background: var(--pc-cyan); }
.strip-item:nth-child(4n+2)::after { background: var(--pc-violet); }
.strip-item:nth-child(4n+3)::after { background: var(--pc-yellow); }
.strip-item:nth-child(4n+4)::after { background: var(--pc-magenta); }
.stat-label { font-size: .875rem; line-height: 1.5; color: #fff; font-weight: 500; }
@media (max-width: 760px) {
  .strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .strip-item { min-height: 200px; }
}
@media (max-width: 480px) {
  .strip { grid-template-columns: minmax(0,1fr); }
  .strip-item { min-height: 190px; }
}

/* ---------- Checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 1.75rem; margin-bottom: .65rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 11px; height: 6px;
  border-left: 2px solid var(--c-accent-ink); border-bottom: 2px solid var(--c-accent-ink); transform: rotate(-45deg);
}
.section--navy .checklist li::before, .section--charcoal .checklist li::before { border-color: #7FB6E6; }

/* ---------- Media / figures ---------- */
.figure {
  border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; background: var(--c-surface-2);
}
.figure img, .figure svg { width: 100%; }
.figure figcaption {
  font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-muted); padding: var(--s-3) var(--s-4); border-top: 1px solid var(--c-line); background: var(--c-surface);
}
.media-grid { display: grid; gap: var(--s-4); grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 760px) { .media-grid { grid-template-columns: 1fr; } }

/* ---------- Split section ---------- */
.split { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--wide { grid-template-columns: 1.1fr .9fr; } }

/* ---------- Icon-row / markets ---------- */
.market-chips { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; padding: 0; margin: 0; }
.market-chips li {
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid var(--c-line); background: var(--c-surface); color: var(--c-charcoal); padding: .35rem .7rem; border-radius: var(--radius);
}

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--c-line); border-radius: var(--radius); background: var(--c-surface); margin-bottom: var(--s-3); }
.faq-item > summary {
  cursor: pointer; padding: var(--s-4) var(--s-5); font-weight: 600; color: var(--c-navy);
  list-style: none; display: flex; justify-content: space-between; gap: var(--s-4); align-items: center;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: "+"; font-family: var(--f-mono); font-size: 1.25rem; color: var(--c-accent-ink); flex: 0 0 auto; line-height: 1;
}
.faq-item[open] > summary::after { content: "\2212"; }
.faq-item .answer { padding: 0 var(--s-5) var(--s-5); color: var(--c-body); }
.faq-item .answer > :last-child { margin-bottom: 0; }

/* ---------- Forms ---------- */
.form-card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow-sm); }
.field { margin-bottom: var(--s-4); }
.field label { display: block; font-size: .8125rem; font-weight: 600; color: var(--c-ink); margin-bottom: .35rem; }
.field .hint { font-size: .75rem; color: var(--c-muted); margin-top: .3rem; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; font-size: .9375rem; color: var(--c-ink); background: var(--c-surface);
  border: 1px solid var(--c-line); border-radius: var(--radius); padding: .7rem .8rem; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--c-accent-ink); box-shadow: 0 0 0 3px rgba(11,107,176,.12); }
textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; gap: var(--s-4); grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.checkline { display: flex; gap: var(--s-3); align-items: flex-start; font-size: .8125rem; color: var(--c-muted); }
.checkline input { margin-top: .25rem; }
.form-status { margin-top: var(--s-4); font-size: .875rem; display: none; padding: .75rem 1rem; border-radius: var(--radius); border: 1px solid; }
.form-status.is-ok { display: block; color: #0B5A2B; background: #ECF7F0; border-color: #B6DFC6; }
.form-status.is-error { display: block; color: #7A1520; background: #FBEDED; border-color: #EFBFBF; }
.cf-turnstile { margin: var(--s-2) 0; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: .9375rem; background: var(--c-surface); }
caption { text-align: left; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); padding: var(--s-4); }
th, td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid var(--c-line); vertical-align: top; }
thead th { background: var(--c-surface-2); color: var(--c-navy); font-size: .8125rem; letter-spacing: .03em; text-transform: uppercase; }
tbody tr:last-child td { border-bottom: 0; }
th[scope="row"] { font-weight: 600; color: var(--c-ink); white-space: nowrap; }

/* ---------- Contact band / CTA ---------- */
.cta-band { background: var(--c-navy); color: #C9D8E8; }
.cta-band h2 { color: #fff; }
.cta-band .btn--primary { background: #fff; color: var(--c-navy); border-color: #fff; }
.cta-band .btn--primary:hover { background: var(--c-surface-3); }
.contact-grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  color: #B9C8D8; font-size: .875rem; padding: var(--s-8) 0 var(--s-5);
  background: linear-gradient(180deg, #0B1E36 0%, #123A5E 58%, #14456E 100%);
}
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--pc-bar); }
.site-footer a { color: #D7E3EF; }
.site-footer a:hover { color: #fff; }
.site-footer h3 { color: #fff; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; font-family: var(--f-mono); margin-bottom: var(--s-4); }
.site-footer ul { list-style: none; padding: 0; margin: 0 0 var(--s-4); }
.site-footer li { margin-bottom: .5rem; }
.footer-grid { display: grid; gap: var(--s-6); grid-template-columns: 1.4fr 1fr 1fr 1fr; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-bottom {
  margin-top: var(--s-6); padding-top: var(--s-4); border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: space-between; font-size: .8125rem; color: #8FA9C4;
}
.footer-brand { display: flex; align-items: center; gap: .6rem; margin-bottom: var(--s-4); }
.footer-brand img, .footer-brand svg { width: 30px; height: 30px; }
.footer-brand .brand-word {
  color: #fff;
  background: linear-gradient(100deg,
    #FFFFFF 0%,
    #9FD3F5 15%,
    #56C4EE 28%,
    #57DCCF 41%,
    #9CE47F 54%,
    #EDD268 67%,
    #F2A265 80%,
    #E8757C 91%,
    #CE7AC2 100%
  );
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .footer-brand .brand-word { background: none; -webkit-text-fill-color: currentColor; }
}

/* ---------- Misc ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--c-navy); color: #fff; padding: .6rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0; }
.note-box { border-left: 3px solid var(--c-accent-ink); background: var(--c-surface-2); padding: var(--s-4) var(--s-5); font-size: .9375rem; }
.section--navy .note-box, .section--charcoal .note-box { background: rgba(255,255,255,.06); border-left-color: #7FB6E6; color: #DCE8F5; }
.section--navy .small, .section--charcoal .small { color: #A8C2DA; }
.section--navy .small a, .section--charcoal .small a { color: #9FD0F5; }
.section--navy .small a:hover, .section--charcoal .small a:hover { color: #fff; }
.section--navy .note-box .mono, .section--charcoal .note-box .mono { color: #8FE3FF; }
.list-inline { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-3); margin: 0; }
.process-step { border-top: 2px solid var(--c-navy); padding-top: var(--s-4); }
.process-step .card-index { margin-bottom: var(--s-2); }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
