/* ==========================================================================
   ATGS — Alpha Trade Global Services
   Corporate design system — see design-system/atgs/MASTER.md
   Swiss grid · hairlines · single accent · no shadows, no gradients
   ========================================================================== */
:root {
  --navy:        #0a1f44;
  --navy-deep:   #06142e;
  --ink:         #0f172a;
  --steel:       #5b6577;
  --muted:       #8a94a6;
  --line:        #d9dee7;
  --line-soft:   #e9edf2;
  --bg:          #f3f5f8;
  --white:       #ffffff;
  --accent:      #1e6fe8;
  --accent-deep: #1557bd;

  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "IBM Plex Sans Condensed", "IBM Plex Sans", system-ui, sans-serif;
  --container: 1400px;
  --topbar-h: 38px;
  --header-h: 112px;
  --ease: cubic-bezier(.2, .6, .2, 1);
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6;
  color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { color: var(--navy); margin: 0 0 .5em; line-height: 1.1; font-weight: 600; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); font-weight: 700; letter-spacing: -.03em; }
h2 { font-size: clamp(1.8rem, 3.1vw, 2.8rem); }
h3 { font-size: 1.1rem; letter-spacing: -.01em; }
p  { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { width: min(100% - 3rem, var(--container)); margin-inline: auto; }
.section { padding-block: clamp(4rem, 7vw, 6.5rem); }
.section-alt { background: var(--bg); }
.section-dark { background: var(--navy); color: #c6cfdf; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: #8fb4f5; }
.section-dark .eyebrow::before { background: #8fb4f5; }
.section-dark .lead { color: #aebbd3; }
.section + .section:not(.section-alt):not(.section-dark) { border-top: 1px solid var(--line-soft); }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .5rem 1rem; z-index: 999; }
.skip-link:focus { left: 1rem; top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Typographic helpers ---------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.section-head { max-width: 760px; margin-bottom: clamp(2.2rem, 4vw, 3.25rem); }
.section-head.row { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 2rem 4rem; align-items: end; padding-bottom: 1.75rem; border-bottom: 1px solid var(--line); }
.section-head.row .eyebrow { margin-bottom: 0; }
.section-head.row h2 { margin-bottom: .6rem; }
.section-head.row .lead { margin: 0; }
.section-dark .section-head.row { border-bottom-color: rgba(255,255,255,.18); }
.index { display: block; font-family: var(--font-display); font-size: clamp(3.5rem, 7vw, 7rem); font-weight: 700; line-height: .85; letter-spacing: -.04em; color: var(--line-soft); margin-bottom: 1rem; font-variant-numeric: tabular-nums; }
.section-dark .index { color: rgba(255,255,255,.14); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }
.lead { font-size: 1.08rem; color: var(--steel); line-height: 1.65; max-width: 62ch; }
.section-head.center .lead { margin-inline: auto; }
.accent { color: var(--accent); }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  padding: .95rem 1.6rem; font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer; transition: background .2s var(--ease), color .2s, border-color .2s;
  white-space: nowrap; line-height: 1; touch-action: manipulation;
}
.btn::after { content: "→"; font-weight: 400; transition: transform .2s var(--ease); }
.btn:hover::after { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-outline { border-color: rgba(255,255,255,.75); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: var(--navy); border-color: #fff; color: #fff; }
.btn-ghost { border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-lg { padding: 1.1rem 1.9rem; }
.link-arrow { font-weight: 600; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.link-arrow::after { content: " →"; }

/* Top bar + header ------------------------------------------------------- */
.topbar { background: var(--navy-deep); color: #b9c4d8; font-size: .78rem; height: var(--topbar-h); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 1.5rem; }
.topbar ul { display: flex; gap: 1.75rem; }
.topbar li { display: flex; align-items: center; gap: .5rem; white-space: nowrap; }
.topbar li span { color: #6f7d97; text-transform: uppercase; letter-spacing: .1em; font-size: .66rem; font-weight: 600; }
.topbar a { color: #e5ebf5; }
.topbar a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.topbar-right { color: #8b98b0; white-space: nowrap; }

.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line-soft); }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner, .brand img { transition: height .25s var(--ease); }
.site-header.is-scrolled .header-inner { height: 76px; }
.site-header.is-scrolled .brand img { height: 60px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 2rem; }
.brand img { width: auto; height: 92px; }
.site-nav { display: flex; align-items: center; gap: 2.5rem; }
.site-nav ul { display: flex; gap: 2.1rem; }
.site-nav li a {
  display: block; padding: .5rem 0; color: var(--navy);
  font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; position: relative;
}
.site-nav li a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--accent); transition: right .25s var(--ease); }
.site-nav li a:hover::after, .site-nav li a[aria-current="page"]::after { right: 0; }
.site-nav li a[aria-current="page"] { color: var(--accent); }
.nav-cta { padding: .8rem 1.25rem; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 6px; padding: 8px;
}
.nav-toggle span { display: block; height: 2px; background: var(--navy); transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative; color: #fff; overflow: hidden; display: flex; align-items: center;
  min-height: clamp(540px, 56vw, 1080px); background: var(--navy);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6,20,46,.64) 0%, rgba(6,20,46,.36) 42%, rgba(6,20,46,0) 68%);
}
.hero-inner { position: relative; z-index: 1; padding-block: clamp(3rem, 6vw, 5rem); }
.hero-content { max-width: 980px; }
.hero h1 { color: #fff; margin-bottom: 1.2rem; text-transform: uppercase; line-height: .94; font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; font-size: clamp(3rem, 6vw, 6.4rem); }
.hero h1 .accent { color: var(--accent); }
.hero h1 .accent.block { display: block; }
.hero .eyebrow { color: #fff; }
.hero .eyebrow::before { background: #fff; }
.hero p { font-size: clamp(1.05rem, 1.45vw, 1.45rem); color: #fff; max-width: 52ch; line-height: 1.5; font-weight: 500; text-shadow: 0 0 16px rgba(6,20,46,.9), 0 0 4px rgba(6,20,46,.8); }
.hero-tagline { font-size: clamp(1.35rem, 2.2vw, 2.2rem); font-weight: 500; line-height: 1.2; color: #fff; margin-bottom: 1.2rem; }
.hero-light .hero-tagline { color: var(--navy); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.2rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.35); }
.hero-points li { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: rgba(255,255,255,.9); }

.hero { align-items: flex-start; }
.hero .hero-inner { padding-top: clamp(2.5rem, 4.5vw, 5rem); }
.hero-light { color: var(--navy); }
.hero-light .hero-media::after { background: linear-gradient(90deg, rgba(255,255,255,.78) 0%, rgba(255,255,255,.55) 38%, rgba(255,255,255,.18) 56%, rgba(255,255,255,0) 68%); }
.hero-light h1, .hero-light .eyebrow, .hero-light p { color: var(--navy); }
.hero-light p { font-weight: 500; text-shadow: 0 0 16px rgba(255,255,255,.95), 0 0 4px rgba(255,255,255,.9); }
.hero-light .eyebrow::before { background: var(--navy); }
.hero-light .btn-outline { border-color: var(--navy); color: var(--navy); background: rgba(255,255,255,.85); }
.hero-light .btn-outline:hover { background: var(--navy); color: #fff; }
.hero-light .hero-points { border-top-color: rgba(10,31,68,.3); }
.hero-light .hero-points li { color: var(--navy); }

.hero-sm { min-height: clamp(480px, 56vw, 1080px); }
.hero-sm h1 { font-size: clamp(3rem, 6vw, 6.4rem); }
.breadcrumb { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 1.2rem; }
.breadcrumb a { color: rgba(255,255,255,.9); }
.breadcrumb a:hover { color: #fff; }
.hero-light .breadcrumb, .hero-light .breadcrumb a { color: var(--navy); }

/* Hero motion ------------------------------------------------------------ */
@keyframes hero-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(1.06); } }
.hero-content > * { animation: hero-in .7s var(--ease) both; }
.hero-content > :nth-child(1) { animation-delay: .05s; }
.hero-content > :nth-child(2) { animation-delay: .15s; }
.hero-content > :nth-child(3) { animation-delay: .25s; }
.hero-content > :nth-child(4) { animation-delay: .35s; }
.hero-content > :nth-child(5) { animation-delay: .45s; }
.hero-content > :nth-child(6) { animation-delay: .55s; }
.hero-media img { animation: hero-zoom 22s linear both; transform-origin: 60% 50%; }
@media (prefers-reduced-motion: reduce) {
  .hero-content > *, .hero-media img { animation: none; }
}

/* Stats — proof band ---------------------------------------------------- */
.stats { background: var(--navy); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 2.75rem 2rem 2.75rem 0; border-right: 1px solid rgba(255,255,255,.14); position: relative; }
.stat + .stat { padding-left: 2rem; }
.stat:last-child { border-right: 0; }
.stat::before { content: ""; position: absolute; top: 0; left: 0; width: 40px; height: 3px; background: var(--accent); }
.stat + .stat::before { left: 2rem; }
.stat strong { display: block; font-size: clamp(2.6rem, 3.4vw, 3.6rem); font-weight: 600; color: #fff; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stat strong small { font-size: 1.3rem; color: #8fb4f5; font-weight: 600; margin-left: .05em; }
.stat span { display: block; margin-top: .7rem; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: #aebbd3; }

/* Partners & certifications (placeholders until real logos) ------------- */
.partners { padding-block: 2.5rem; border-bottom: 1px solid var(--line-soft); }
.partners-inner { display: grid; grid-template-columns: auto 1fr; gap: 2.5rem; align-items: center; }
.partners-label { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); white-space: nowrap; }
.partners ul { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.partners li { height: 64px; display: grid; place-items: center; border: 1px dashed var(--line); color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; text-align: center; padding: 0 .5rem; filter: grayscale(1); transition: filter .2s, border-color .2s; }
.partners li:hover { filter: none; border-color: var(--navy); }
.partners li img { max-height: 40px; width: auto; }

/* World map ---------------------------------------------------------------- */
.map-wrap { position: relative; }
.worldmap { width: 100%; height: auto; display: block; }
.map-dots path { stroke: #c3cbd9; stroke-width: 3.2; fill: none; }
.section-dark .map-dots path { stroke: rgba(255,255,255,.22); }
.map-arcs path { fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-dasharray: 4 5; opacity: .85; }
.map-hubs circle { fill: var(--navy); stroke: #fff; stroke-width: 2; }
.section-dark .map-hubs circle { fill: #fff; stroke: var(--navy); }
.map-hubs circle.origin { fill: var(--accent); stroke: #fff; }
.map-hubs text { font-family: var(--font); font-size: 13px; font-weight: 600; fill: var(--navy); letter-spacing: .04em; }
.section-dark .map-hubs text { fill: #fff; }
.map-legend { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 1.5rem; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); }
.map-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: .5rem; vertical-align: middle; background: var(--navy); }
.map-legend span.origin::before { background: var(--accent); }
@keyframes dash { to { stroke-dashoffset: -18; } }
.map-arcs path { animation: dash 1.6s linear infinite; }
@media (prefers-reduced-motion: reduce) { .map-arcs path { animation: none; } }

/* Case study ---------------------------------------------------------------- */
.case { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: #fff; }
.case > div { padding: 1.75rem 1.5rem; border-right: 1px solid var(--line); }
.case > div:last-child { border-right: 0; }
.case dt { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); margin-bottom: .5rem; }
.case dd { margin: 0; font-weight: 600; color: var(--navy); font-size: 1.05rem; }
.case-note { font-size: .78rem; color: var(--muted); margin-top: .75rem; }

.placeholder-tag { display: inline-block; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: #92400e; background: #fef3c7; border: 1px solid #fcd34d; padding: .15rem .5rem; margin-left: .75rem; vertical-align: middle; }

/* Grid & cards ----------------------------------------------------------- */
.grid { display: grid; gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 2.25rem 2rem 2.5rem; transition: background .2s var(--ease); position: relative;
}
.card::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.card:hover { background: var(--bg); }
.card:hover::before { transform: scaleX(1); }
.card:hover .card-icon { color: var(--accent); }
.card[data-index]::after { content: attr(data-index); position: absolute; top: 1.6rem; right: 1.75rem; font-size: .74rem; font-weight: 600; letter-spacing: .12em; color: var(--muted); font-variant-numeric: tabular-nums; }
.card-icon { width: 32px; height: 32px; color: var(--navy); margin-bottom: 1.6rem; transition: color .2s; }
.card-icon svg { width: 32px; height: 32px; stroke-width: 1.5; }
.card h3 { margin-bottom: .6rem; }
.card p { color: var(--steel); margin: 0; font-size: .95rem; line-height: 1.6; }
.card-num { font-size: .72rem; font-weight: 600; color: var(--accent); letter-spacing: .14em; margin-bottom: 1.2rem; }
.card-media { padding: 0; }
.card-media img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.card-media .card-body { padding: 1.75rem 2rem 2rem; }

/* Split section ---------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.split-media img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.checklist { margin: 1.5rem 0 2rem; border-top: 1px solid var(--line); }
.checklist li { display: flex; gap: 1rem; align-items: flex-start; padding: .95rem 0; border-bottom: 1px solid var(--line-soft); color: var(--steel); font-size: .95rem; }
.checklist li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .55rem; background: var(--accent); }
.checklist strong { color: var(--navy); font-weight: 600; }

/* Process steps ---------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; border-top: 1px solid rgba(255,255,255,.2); }
.step { padding: 2rem 2rem 2rem 0; border-right: 1px solid rgba(255,255,255,.12); }
.step + .step { padding-left: 2rem; }
.step:last-child { border-right: 0; }
.step::before { counter-increment: step; content: "0" counter(step); font-size: 2.6rem; font-weight: 600; letter-spacing: -.04em; line-height: 1; color: var(--accent); display: block; margin-bottom: 1.4rem; font-variant-numeric: tabular-nums; }
.step h3 { color: #fff; font-size: 1.05rem; margin-bottom: .6rem; }
.step p { margin: 0; font-size: .93rem; color: rgba(255,255,255,.72); }

/* Values ----------------------------------------------------------------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.value { display: flex; gap: 1.25rem; align-items: flex-start; padding: 2rem 2rem 2rem 0; border-right: 1px solid var(--line-soft); }
.value + .value { padding-left: 2rem; }
.value:last-child { border-right: 0; }
.value-icon { flex: none; width: 28px; height: 28px; color: var(--navy); }
.value-icon svg { width: 28px; height: 28px; stroke-width: 1.5; }
.value h3 { font-size: 1.02rem; margin-bottom: .3rem; }
.value p { margin: 0; font-size: .93rem; color: var(--steel); }

/* Pillars ---------------------------------------------------------------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.pillar { padding: 1.9rem 1.75rem; background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillar h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .8rem; padding-bottom: .7rem; border-bottom: 2px solid var(--accent); display: inline-block; }
.pillar p { margin: 0; font-size: .92rem; color: var(--steel); }

/* Tags ------------------------------------------------------------------- */
.tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tags li { padding: .55rem .9rem; border: 1px solid var(--line); background: #fff; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--navy); }

/* Statement band (full-bleed image + tagline) ---------------------------- */
.band { position: relative; color: #fff; overflow: hidden; min-height: clamp(320px, 34vw, 520px); display: flex; align-items: center; background: var(--navy-deep); }
.band-media { position: absolute; inset: 0; }
.band-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.band-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,20,46,.86) 0%, rgba(6,20,46,.55) 50%, rgba(6,20,46,.25) 100%); }
.band-inner { position: relative; z-index: 1; padding-block: 4rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 2rem 4rem; align-items: end; }
.band .eyebrow { color: #8fb4f5; margin-bottom: 0; }
.band .eyebrow::before { background: #8fb4f5; }
.band p.statement { font-size: clamp(1.6rem, 3.2vw, 3rem); font-weight: 600; line-height: 1.1; letter-spacing: -.03em; color: #fff; margin: 0; text-transform: uppercase; }
.band p.statement .accent { color: #8fb4f5; }

/* CTA band --------------------------------------------------------------- */
.cta-band { background: #fff; color: var(--ink); padding-block: 3.25rem; border-top: 1px solid var(--line); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: .3rem; font-size: clamp(1.3rem, 2.1vw, 1.7rem); }
.cta-band p { margin: 0; color: var(--steel); }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--navy-deep); color: #a9b5cb; padding-top: 4.5rem; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr 1.2fr; gap: 3rem; padding-bottom: 3.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand img { background: #fff; padding: .6rem .9rem; margin-bottom: 1.4rem; width: 150px; }
.footer-brand p { line-height: 1.7; max-width: 40ch; }
.site-footer h3 { color: #fff; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.2rem; }
.site-footer a { color: #e2e8f3; }
.site-footer a:hover { color: #8fb4f5; }
.footer-nav li, .footer-contact li { margin-bottom: .6rem; }
.footer-contact li span { display: block; font-size: .66rem; text-transform: uppercase; letter-spacing: .12em; color: #6f7d97; }
.footer-address address { line-height: 1.75; margin-bottom: .9rem; }
.footer-mark { padding-top: 3rem; overflow: hidden; }
.footer-mark span { display: block; font-size: clamp(3rem, 11vw, 11rem); font-weight: 700; letter-spacing: -.05em; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14); white-space: nowrap; user-select: none; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-block: 1.5rem; font-size: .8rem; color: #6f7d97; }
.footer-bottom p { margin: 0; }

/* Contact page ----------------------------------------------------------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.contact-card { background: #fff; padding: 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact-card .card-icon { margin-bottom: 1.2rem; }
.contact-card h3 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .5rem; color: var(--steel); }
.contact-card a { font-weight: 600; font-size: 1.05rem; word-break: break-all; }
.contact-card p { margin: .5rem 0 0; font-size: .88rem; color: var(--steel); }

.contact-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); padding: clamp(1.75rem, 3vw, 2.75rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); margin-bottom: .45rem; }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 0;
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.field textarea { min-height: 160px; resize: vertical; }
.field-consent { display: flex; gap: .75rem; align-items: flex-start; font-size: .85rem; color: var(--steel); }
.field-consent input { width: auto; margin-top: .25rem; }
.field-consent label { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: .85rem; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 1rem; }

.alert { padding: 1rem 1.25rem; margin-bottom: 1.5rem; font-weight: 500; border-left: 3px solid; }
.alert-success { background: #eef8f1; color: #14532d; border-color: #16a34a; }
.alert-error { background: #fdf2f2; color: #7f1d1d; border-color: #dc2626; }

.info-block { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line-soft); }
.info-block h3 { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); margin-bottom: .75rem; }
.info-block address { line-height: 1.7; }

/* Legal ------------------------------------------------------------------ */
.prose { max-width: 800px; }
.prose h2 { font-size: 1.35rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-soft); }
.prose h3 { margin-top: 1.5rem; font-size: 1rem; }
.prose ul { list-style: none; padding: 0; margin-bottom: 1em; }
.prose ul li { padding: .5rem 0; border-bottom: 1px solid var(--line-soft); }
.notice { background: #fffbeb; border-left: 3px solid #d97706; color: #78350f; padding: 1rem 1.25rem; font-size: .9rem; }

/* Reveal ----------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .06s; }
.reveal-delay-2 { transition-delay: .12s; }
.reveal-delay-3 { transition-delay: .18s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1100px) {
  .topbar ul { gap: 1.25rem; }
  .topbar-right { display: none; }
}
@media (max-width: 1024px) {
  .grid-4, .steps, .pillars, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .stat:nth-child(2n+1) { padding-left: 0; }
  .step:nth-child(2n) { border-right: 0; }
  .step:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
  .step:nth-child(2n+1) { padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .section-head.row, .band-inner { grid-template-columns: 1fr; gap: 1rem; align-items: start; }
  .partners-inner { grid-template-columns: 1fr; gap: 1rem; }
  .partners ul { grid-template-columns: repeat(3, 1fr); }
  .case { grid-template-columns: repeat(2, 1fr); }
  .case > div:nth-child(2n) { border-right: 0; }
  .case > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
  :root { --header-h: 76px; }
  .brand img { height: 60px; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: #fff; flex-direction: column; align-items: stretch; gap: 1.25rem;
    padding: 1.5rem 1.5rem 2rem; transform: translateX(100%); visibility: hidden;
    transition: transform .3s var(--ease), visibility 0s .3s; overflow-y: auto; border-top: 1px solid var(--line);
  }
  .site-nav.is-open { transform: none; visibility: visible; transition-delay: 0s; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li a { padding: 1rem 0; font-size: .9rem; border-bottom: 1px solid var(--line-soft); }
  .site-nav li a::after { display: none; }
  .nav-cta { margin-top: .5rem; }
  body.nav-open { overflow: hidden; }

  .grid-3, .values, .contact-cards { grid-template-columns: 1fr; }
  .value { padding: 1.5rem 0; border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .value + .value { padding-left: 0; }
  .split { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .hero { min-height: 0; }
  .hero-media img { object-position: 62% center; }
  .hero-media::after { background: linear-gradient(180deg, rgba(6,20,46,.8) 0%, rgba(6,20,46,.66) 100%); }
  .hero-light .hero-media::after { background: linear-gradient(180deg, rgba(255,255,255,.84) 0%, rgba(255,255,255,.72) 100%); }
  .hero-inner { padding-block: 3.5rem; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 2rem, var(--container)); }
  .grid-2, .grid-4, .steps, .pillars, .form-grid { grid-template-columns: 1fr; }
  .stat { padding-block: 1.6rem; }
  .stat strong { font-size: 2.1rem; }
  .stat:nth-child(2n+1)::before { left: 0; }
  .step { border-right: 0; padding-left: 0 !important; border-top: 1px solid rgba(255,255,255,.12); }
  .step:first-child { border-top: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .partners ul { grid-template-columns: repeat(2, 1fr); }
  .case { grid-template-columns: 1fr; }
  .case > div { border-right: 0; border-top: 1px solid var(--line); }
  .case > div:first-child { border-top: 0; }
  .map-hubs text { font-size: 18px; }
  .hero-actions .btn, .cta-inner .btn { width: 100%; }
}
