/* ==========================================================================
   Strategi Geo Engineering — main stylesheet
   Palette: taken from the SGE logo — navy #19305A, sky #3AAFE4, turquoise #43A0BA
   Type:    Sora (display) · Inter (body) · IBM Plex Mono (technical data)
   ========================================================================== */

:root {
  --ink:          #0A1A29;
  --ink-2:        #123A4D;
  --teal:       #1E6C8C;
  --teal-deep:  #114C66;
  --teal-light: #43A0BA;
  --slate:        #2F5D80;
  --mist:         #D3E5EF;
  --mist-2:       #E8F2F7;
  --paper:        #F5F9FC;
  --white:        #FFFFFF;
  --grey:         #5C6F7E;
  --grey-light:   #93A6B3;
  --deep:         #0C3A4E;
  --sky:       #1279AB;
  --sky-light: #6FC8EE;

  --line:      rgba(10, 26, 41, .14);
  --line-soft: rgba(10, 26, 41, .08);
  --line-dark: rgba(211, 229, 239, .18);

  --font-display: 'Sora', 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --font-body:    'Inter', 'Open Sans', system-ui, -apple-system, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1220px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 8vw, 7.5rem);
  --radius: 6px;
  --shadow: 0 1px 2px rgba(10,26,41,.05), 0 12px 32px -18px rgba(10,26,41,.35);
  --shadow-lift: 0 2px 6px rgba(10,26,41,.07), 0 26px 54px -26px rgba(10,26,41,.45);
  --ease: cubic-bezier(.2, .6, .2, 1);
}

/* ---------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -.022em; margin: 0 0 .6em; }
p { margin: 0 0 1.1em; }
ul { margin: 0 0 1.1em; padding-left: 1.1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: 0; top: 0; z-index: 200;
  transform: translateY(-120%);
  background: var(--teal); color: var(--mist-2);
  padding: .75rem 1.25rem; text-decoration: none; font-weight: 600;
}
.skip-link:focus { transform: translateY(0); }

.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;
}

/* --------------------------------------------------------------- layout -- */
.wrap { width: 100%; max-width: 1220px; max-width: var(--wrap); margin-left: auto; margin-right: auto;
  padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap--narrow { max-width: 860px; }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 5vw, 4.5rem); }
.section--dark { background: var(--deep); color: var(--mist-2); }
.section--teal { background: var(--teal-deep); color: var(--mist-2); }
.section--mist { background: var(--mist-2); }
.section--line { border-top: 1px solid var(--line); }
.section--dark .section-head p,
.section--teal .section-head p { color: rgba(232,242,247,.72); }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--wide { max-width: 78ch; }
.section-head p { color: var(--grey); font-size: 1.075rem; margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sky);
  display: flex; align-items: center; gap: .7rem;
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: ''; width: 26px; height: 1px; background: var(--sky); flex: none;
}
.section--dark .eyebrow, .section--teal .eyebrow { color: var(--sky-light); }
.section--dark .eyebrow::before, .section--teal .eyebrow::before { background: var(--sky-light); }

h1, .h1 { font-size: clamp(2.35rem, 5.6vw, 4.15rem); }
h2, .h2 { font-size: clamp(1.85rem, 3.6vw, 2.85rem); }
h3, .h3 { font-size: clamp(1.2rem, 1.9vw, 1.45rem); letter-spacing: -.015em; }
.lead { font-size: clamp(1.075rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--grey); }
.section--dark .lead, .section--teal .lead { color: rgba(232,242,247,.78); }
.mono { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .05em; }

.grid { display: grid; gap: clamp(1rem, 2vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr .95fr; } .split--wide { grid-template-columns: 1.3fr .7fr; } }

/* -------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.6rem;
  font-family: var(--font-display); font-weight: 600; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; border-radius: 3px; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn--primary { background: var(--sky); color: #fff; }
.btn--primary:hover { background: #9C6631; transform: translateY(-1px); }
.btn--teal { background: var(--teal); color: var(--mist-2); }
.btn--teal:hover { background: var(--teal-deep); transform: translateY(-1px); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--teal); background: rgba(30,108,140,.06); }
.btn--ghost-light { border-color: rgba(211,229,239,.38); color: var(--mist-2); background: transparent; }
.btn--ghost-light:hover { border-color: var(--mist); background: rgba(211,229,239,.1); }
.btn--sm { padding: .68rem 1.1rem; font-size: .72rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 600; font-size: .8rem;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  color: var(--teal); border-bottom: 1px solid rgba(30,108,140,.28);
  padding-bottom: 2px; transition: gap .25s var(--ease), border-color .25s var(--ease);
}
.link-arrow:hover { gap: .85rem; border-color: var(--teal); }
.section--dark .link-arrow, .section--teal .link-arrow { color: var(--sky-light); border-color: rgba(111,200,238,.4); }

/* --------------------------------------------------------------- header -- */
.topbar {
  background: var(--deep); color: rgba(232,242,247,.62);
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .09em;
}
.topbar__in { display: flex; justify-content: space-between; gap: 1.5rem; padding-block: .55rem; }
.topbar span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 780px) { .topbar__in > span + span { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,245,240,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 10px 30px -22px rgba(10,26,41,.6); }
.nav { display: flex; align-items: center; gap: 1.5rem; padding-block: .85rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand__mark { width: auto; height: 44px; flex: none; display: block; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; letter-spacing: -.01em; color: var(--ink); }
.brand__sub { font-family: var(--font-mono); font-size: .58rem; letter-spacing: .19em; text-transform: uppercase; color: var(--grey); }

.nav__links { display: none; gap: 1.35rem; align-items: center; white-space: nowrap; }
.nav__link {
  text-decoration: none; color: var(--ink); font-size: .88rem; font-weight: 500;
  padding: .35rem 0; border-bottom: 2px solid transparent; white-space: nowrap;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.nav__link:hover { color: var(--teal); border-color: var(--sky); }
.nav__link[aria-current="page"] { border-color: var(--teal); color: var(--teal); }
.nav__cta { display: none; }
@media (min-width: 1080px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
}

.burger {
  margin-left: auto; display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 44px; padding: 0 10px; background: transparent;
  border: 1px solid var(--line); border-radius: 3px; cursor: pointer;
}
.burger span { display: block; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (min-width: 1080px) { .burger { display: none; } }

.drawer {
  position: fixed; inset: 0; z-index: 99;
  background: var(--ink); color: var(--mist-2);
  padding: 6.5rem var(--gutter) 2rem;
  transform: translateX(100%); transition: transform .35s var(--ease);
  overflow-y: auto;
}
.drawer.is-open { transform: translateX(0); }
.drawer a { white-space: nowrap; display: block; text-decoration: none; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; padding: .7rem 0; border-bottom: 1px solid var(--line-dark); }
.drawer .btn { width: 100%; margin-top: 1.4rem; }
@media (min-width: 1080px) { .drawer { display: none; } }

/* ------------------------------------------------------------------ hero -- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #12556F 0%, #114C66 55%, #0E4058 100%); color: var(--mist-2);
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -3; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.hero__contours { position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(105deg, rgba(17,76,102,.95) 0%, rgba(18,85,111,.84) 42%, rgba(30,108,140,.5) 100%);
}
.hero__in { padding-block: clamp(4.5rem, 12vw, 9rem); position: relative; }
.hero__title { max-width: 17ch; margin-bottom: 1.2rem; }
.hero__sub {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--sky-light);
  letter-spacing: -.01em; max-width: 46ch; margin-bottom: 1.2rem;
}
.hero__copy { max-width: 52ch; color: rgba(232,242,247,.8); font-size: 1.075rem; }
.hero__strata { position: absolute; left: 0; right: 0; bottom: 0; height: 90px; z-index: -1; opacity: .55; }
.hero--page .hero__in { padding-block: clamp(3.25rem, 7vw, 5.5rem); }
.hero--page .hero__title { font-size: clamp(2.1rem, 4.4vw, 3.3rem); max-width: 22ch; }

.crumbs { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(232,242,247,.55); margin-bottom: 1.4rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--sky-light); }

/* ------------------------------------------------------- signature: log -- */

/* ------------------------------------------------------------- stat bar -- */
.stats { background: var(--deep); color: var(--mist-2); border-top: 1px solid rgba(211,229,239,.1); }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .stats__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .stats__grid { grid-template-columns: repeat(6, 1fr); } }
.stat { padding: clamp(1.5rem, 3vw, 2.4rem) 1.25rem; border-right: 1px solid rgba(211,229,239,.12); border-bottom: 1px solid rgba(211,229,239,.12); }
.stat__value { font-family: var(--font-display); font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 600; letter-spacing: -.03em; color: var(--mist); line-height: 1; }
.stat__label { font-size: .82rem; font-weight: 500; margin-top: .55rem; }
.stat__note { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .08em; color: rgba(232,242,247,.5); margin-top: .25rem; }

/* ---------------------------------------------------------------- cards -- */
.card {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card__body { padding: clamp(1.25rem, 2.2vw, 1.75rem); flex: 1; display: flex; flex-direction: column; }
.card__body p { color: var(--grey); font-size: .95rem; }
.card__foot { margin-top: auto; padding-top: 1rem; }

.service-card { position: relative; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: rgba(30,108,140,.22); }
.service-card__num {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em;
  color: var(--sky); margin-bottom: .55rem;
}
.service-card__caps { list-style: none; padding: 0; margin: 0 0 1.1rem; border-top: 1px solid var(--line-soft); }
.service-card__caps li {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .04em; color: var(--grey);
  padding: .42rem 0; border-bottom: 1px solid var(--line-soft);
}
.service-card__caps li::before { content: '— '; color: var(--sky); }

/* image placeholder --------------------------------------------------- */
.ph {
  position: relative; margin: 0; overflow: hidden;
  background: var(--teal-deep);
  background-image:
    repeating-linear-gradient(115deg, rgba(211,229,239,.05) 0 1px, transparent 1px 9px),
    radial-gradient(120% 120% at 20% 0%, rgba(46,92,72,.7) 0%, rgba(17,76,102,1) 70%);
}
.ph::after {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='160' viewBox='0 0 240 160'%3E%3Cg fill='none' stroke='%23E2D6BC' stroke-opacity='.16' stroke-width='1'%3E%3Cpath d='M-20 130 C 40 96, 80 138, 140 100 S 230 60, 270 82'/%3E%3Cpath d='M-20 108 C 40 74, 80 116, 140 78 S 230 38, 270 60'/%3E%3Cpath d='M-20 86 C 40 52, 80 94, 140 56 S 230 16, 270 38'/%3E%3Cpath d='M-20 64 C 40 30, 80 72, 140 34 S 230 -6, 270 16'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 240px 160px;
  pointer-events: none;
}
.ph img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.ph__hint {
  position: absolute; inset: 0; z-index: 2;
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: .4rem;
  color: rgba(211,229,239,.6); text-align: center; padding: 1rem;
}
.ph--missing .ph__hint { display: flex; }
.ph__hint span { font-family: var(--font-display); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; }
.ph__hint code { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .02em; color: rgba(211,229,239,.42); word-break: break-all; }
.ph--16-9 { aspect-ratio: 16 / 9; }
.ph--4-3 { aspect-ratio: 4 / 3; }
.ph--1-1 { aspect-ratio: 1 / 1; }
.ph--3-4 { aspect-ratio: 3 / 4; }
.ph--wide { aspect-ratio: 21 / 8; }

/* ------------------------------------------------------------- features -- */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; }
.feature-list h3 { margin-bottom: .35rem; }
.feature-list p { color: var(--grey); margin: 0; font-size: .96rem; }
.section--dark .feature-list p, .section--teal .feature-list p { color: rgba(232,242,247,.7); }
.feature-list li { padding-left: 1.25rem; border-left: 2px solid var(--sky); }

.spec-list { list-style: none; padding: 0; margin: 0; }
.section--dark .service-card__caps,
.section--teal .service-card__caps,
.section--dark .spec-list li,
.section--teal .spec-list li,
.section--dark .service-card__caps li,
.section--teal .service-card__caps li { border-color: var(--line-dark); }
.section--dark .service-card__caps li,
.section--teal .service-card__caps li,
.section--dark .spec-list li,
.section--teal .spec-list li { color: rgba(232,242,247,.74); }
.section--dark .spec-list span:last-child,
.section--teal .spec-list span:last-child { color: rgba(232,242,247,.55); }
.section--dark .notice, .section--teal .notice { background: rgba(111,200,238,.1); border-color: var(--sky-light); }
.section--dark .mono, .section--teal .mono { color: rgba(232,242,247,.6); }
.spec-list li {
  display: flex; gap: 1rem; justify-content: space-between; align-items: baseline;
  padding: .7rem 0; border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono); font-size: .78rem;
}
.spec-list span:last-child { color: var(--grey); text-align: right; }

/* ---------------------------------------------------------------- steps -- */
.steps { counter-reset: step; display: grid; gap: 0; }
.step { display: grid; gap: .35rem 1.6rem; padding: 1.5rem 0; border-top: 1px solid var(--line-dark); grid-template-columns: 3.4rem 1fr; align-items: start; }
.step:last-child { border-bottom: 1px solid var(--line-dark); }
.step__n { font-family: var(--font-mono); font-size: .82rem; color: var(--sky-light); letter-spacing: .1em; padding-top: .3rem; }
.step h3 { margin-bottom: .2rem; }
.step p { margin: 0; color: rgba(232,242,247,.72); font-size: .96rem; }
@media (min-width: 800px) { .step { grid-template-columns: 4rem 16rem 1fr; align-items: baseline; } .step p { grid-column: 3; } .step h3 { grid-column: 2; } }

/* --------------------------------------------------------------- filters -- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.filter {
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  padding: .5rem 1rem; font-family: var(--font-mono); font-size: .72rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--grey); cursor: pointer;
  transition: all .22s var(--ease);
}
.filter:hover { border-color: var(--teal); color: var(--teal); }
.filter.is-active { background: var(--teal); border-color: var(--teal); color: var(--mist-2); }
.search-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.25rem; }
.search-row input, .search-row select {
  font: inherit; font-size: .92rem; padding: .7rem .9rem;
  border: 1px solid var(--line); border-radius: 3px; background: var(--white); color: var(--ink);
  min-width: 180px; flex: 1 1 200px;
}
.result-count { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; color: var(--grey); margin-bottom: 1.25rem; text-transform: uppercase; }

/* -------------------------------------------------------------- projects -- */
.project-card { cursor: pointer; text-align: left; padding: 0; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.project-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.project-card__tag {
  display: inline-block; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal); background: rgba(30,108,140,.08);
  padding: .28rem .6rem; border-radius: 2px; margin-bottom: .75rem;
}
.project-card h3 { font-size: 1.02rem; line-height: 1.3; margin-bottom: .55rem; }
.project-card__meta { font-family: var(--font-mono); font-size: .7rem; color: var(--grey); letter-spacing: .04em; display: grid; gap: .2rem; margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line-soft); }
.project-card__scope { font-size: .9rem; color: var(--grey); margin-bottom: .9rem; }
.is-hidden { display: none !important; }
.empty-state { padding: 3rem 1rem; text-align: center; color: var(--grey); border: 1px dashed var(--line); border-radius: var(--radius); }

.feature-project { display: grid; gap: 0; border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; background: rgba(211,229,239,.04); }
@media (min-width: 820px) { .feature-project { grid-template-columns: 1.1fr 1fr; } }
.feature-project__body { padding: clamp(1.5rem, 3vw, 2.5rem); }

/* ------------------------------------------------------------------ map -- */
.map-panel { display: grid; gap: 1.5rem; }
@media (min-width: 960px) { .map-panel { grid-template-columns: 1.35fr .65fr; align-items: start; } }
.map-frame { position: relative; border: 1px solid var(--line-dark); border-radius: var(--radius); background: rgba(10,26,41,.35); padding: .5rem; }
.map-frame svg { width: 100%; height: auto; }
.map-pin { cursor: pointer; transition: r .2s var(--ease); }
.map-pin:hover circle, .map-pin:focus circle { fill: var(--sky-light); }
.map-readout { border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 1.5rem; min-height: 220px; background: rgba(211,229,239,.05); }
.map-readout dl { display: grid; grid-template-columns: 8rem 1fr; gap: .55rem 1rem; margin: 0; font-size: .92rem; }
.map-readout dt { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(232,242,247,.5); padding-top: .2rem; }
.map-readout dd { margin: 0; }
.map-note { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .06em; color: rgba(232,242,247,.45); margin-top: 1rem; line-height: 1.6; }

/* ----------------------------------------------------------------- team -- */
.team-card { cursor: pointer; text-align: left; padding: 0; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.team-card__body { padding: 1.25rem; }
.team-card h3 { font-size: 1rem; margin-bottom: .2rem; }
.team-card__role { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sky); margin-bottom: .6rem; }
.team-card__qual { font-size: .86rem; color: var(--grey); margin: 0; }

.modal { position: fixed; inset: 0; z-index: 150; display: none; }
.modal.is-open { display: block; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(10,26,41,.72); backdrop-filter: blur(3px); }
.modal__panel {
  position: relative; z-index: 1; background: var(--paper); max-width: 700px;
  margin: 6vh auto; max-height: 88vh; overflow-y: auto; border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: var(--shadow-lift);
}
.modal__close {
  position: absolute; top: .9rem; right: .9rem; width: 40px; height: 40px;
  border: 1px solid var(--line); background: var(--white); border-radius: 3px; cursor: pointer; font-size: 1.1rem; line-height: 1;
}
.modal__close:hover { background: var(--mist-2); }
body.no-scroll { overflow: hidden; }

/* ---------------------------------------------------------- credentials -- */
.cred { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: clamp(1.25rem, 2.5vw, 1.9rem); }
.cred__issuer { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); margin-bottom: .5rem; }
.cred h3 { font-size: 1.08rem; margin-bottom: .5rem; }
.cred__ref { font-family: var(--font-mono); font-size: .78rem; color: var(--teal); margin-bottom: .9rem; word-break: break-word; }
.cred ul { padding-left: 1.1rem; font-size: .92rem; color: var(--grey); margin-bottom: .9rem; }
.cred__dates { font-family: var(--font-mono); font-size: .72rem; color: var(--grey); letter-spacing: .04em; }
.cred__note { font-size: .86rem; color: var(--slate); margin: .8rem 0 0; }

.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .3rem .65rem; border-radius: 2px; margin-bottom: .9rem;
}
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--current { background: rgba(30,108,140,.1); color: var(--teal); }
.badge--historical { background: rgba(47,93,128,.12); color: var(--slate); }
.badge--pending { background: rgba(18,121,171,.14); color: #8A5A24; }

.notice {
  border-left: 3px solid var(--sky); background: rgba(18,121,171,.07);
  padding: 1.1rem 1.25rem; font-size: .92rem; border-radius: 0 3px 3px 0;
}
.notice strong { display: block; font-family: var(--font-display); margin-bottom: .3rem; }

/* ----------------------------------------------------------- data table -- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table.data { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 560px; }
table.data th, table.data td { text-align: left; padding: .85rem 1.1rem; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.data th { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); background: var(--mist-2); }
table.data td.qty { font-family: var(--font-mono); color: var(--teal); white-space: nowrap; }
table.data tr:last-child td { border-bottom: 0; }

/* ---------------------------------------------------------------- forms -- */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 700px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; }
.field label { font-family: var(--font-display); font-size: .8rem; font-weight: 600; letter-spacing: .04em; }
.field .req { color: var(--sky); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; padding: .8rem .9rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: 3px; width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(30,108,140,.1); outline: none; }
.field .hint { font-size: .78rem; color: var(--grey); }
.field .error { font-size: .78rem; color: #9B2C1E; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #9B2C1E; }
.field.has-error .error { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { padding: 1.1rem 1.25rem; border-radius: 3px; font-size: .95rem; display: none; }
.form-status.is-shown { display: block; }
.form-status--ok { background: rgba(30,108,140,.1); border-left: 3px solid var(--teal); }
.form-status--err { background: rgba(155,44,30,.08); border-left: 3px solid #9B2C1E; }

.steps-progress { display: flex; gap: .5rem; margin-bottom: 1.75rem; flex-wrap: wrap; }
.steps-progress span {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--grey); padding: .4rem .8rem; border: 1px solid var(--line); border-radius: 999px;
}
.steps-progress span.is-active { background: var(--teal); border-color: var(--teal); color: var(--mist-2); }
.form-step { display: none; }
.form-step.is-active { display: grid; gap: 1.1rem; }

/* -------------------------------------------------------------- download -- */
.download-card {
  display: grid; gap: 1.25rem; align-items: center; padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line-dark); border-radius: var(--radius); background: rgba(211,229,239,.05);
}
@media (min-width: 720px) { .download-card { grid-template-columns: 64px 1fr auto; } }
.download-card__type { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; color: var(--sky-light); border: 1px solid rgba(111,200,238,.4); border-radius: 3px; padding: .8rem .5rem; text-align: center; }
.download-card h3 { margin-bottom: .2rem; }
.download-card p { margin: 0; color: rgba(232,242,247,.7); font-size: .92rem; }

/* ------------------------------------------------------------- contact -- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
.contact-list dt, .contact-list__label { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--grey); margin-bottom: .25rem; }
.contact-list a { color: var(--teal); }
.placeholder-value { font-family: var(--font-mono); font-size: .82rem; color: var(--slate); background: rgba(47,93,128,.08); padding: .2rem .45rem; border-radius: 2px; }

/* ----------------------------------------------------------------- CTA -- */
.final-cta { background: var(--teal-deep); color: var(--mist-2); position: relative; overflow: hidden; }
.final-cta__contours { position: absolute; inset: 0; opacity: .35; pointer-events: none; }
.final-cta h2 { max-width: 20ch; font-size: clamp(2rem, 4.4vw, 3.2rem); }
.final-cta p { max-width: 52ch; color: rgba(232,242,247,.75); }

/* -------------------------------------------------------------- footer -- */
.site-footer { background: var(--deep); color: rgba(232,242,247,.72); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; font-size: .92rem; }
.footer-grid { display: grid; gap: 2.25rem; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr .7fr 1fr; } }
.site-footer h4 { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sky-light); margin-bottom: 1rem; font-weight: 500; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { color: rgba(232,242,247,.72); text-decoration: none; }
.site-footer a:hover { color: var(--mist); text-decoration: underline; }
.site-footer .placeholder-value, .section--dark .placeholder-value, .section--teal .placeholder-value {
  color: var(--sky-light); background: rgba(111,200,238,.14);
}
.footer-bottom {
  margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid rgba(211,229,239,.12);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em; color: rgba(232,242,247,.5);
}
.footer-bottom ul { display: flex; gap: 1.25rem; }

/* --------------------------------------------------------- floating CTA -- */
.fabs { position: fixed; right: 16px; bottom: 16px; z-index: 90; display: grid; gap: .6rem; justify-items: end; }
.fab {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  box-shadow: 0 8px 24px -8px rgba(10,26,41,.5); transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.fab:hover { transform: translateY(-2px); }
.fab--wa { background: #1FA855; color: #fff; }
.fab--top { background: var(--white); border-color: var(--line); color: var(--ink); opacity: 0; pointer-events: none; }
.fab--top.is-shown { opacity: 1; pointer-events: auto; }
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line); border-top: 1px solid var(--line);
}
.mobile-bar a {
  background: var(--white); text-align: center; padding: .85rem .5rem; text-decoration: none;
  font-family: var(--font-display); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.mobile-bar a.is-primary { background: var(--sky); color: #fff; }
@media (min-width: 780px) { .mobile-bar { display: none; } }
@media (max-width: 779px) { body { padding-bottom: 48px; } .fabs { bottom: 62px; } }

/* --------------------------------------------------------------- misc --- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.error-page__code { font-family: var(--font-mono); font-size: clamp(4rem, 14vw, 8rem); color: var(--mist); line-height: 1; }

.tag-row { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.tag { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; padding: .28rem .55rem; border: 1px solid var(--line); border-radius: 2px; color: var(--grey); }

.diagram { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: 1.25rem; }
.section--dark .diagram, .section--teal .diagram { background: rgba(211,229,239,.04); border-color: var(--line-dark); }
.diagram figcaption { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; color: var(--grey); margin-top: .9rem; text-transform: uppercase; }
.section--dark .diagram figcaption, .section--teal .diagram figcaption { color: rgba(232,242,247,.5); }

.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 2rem; }
.prose ul li { margin-bottom: .4rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .drawer, .fabs, .mobile-bar, .topbar { display: none !important; }
  body { background: #fff; color: #000; }
}

/* --------------------------------------------------- contact map link --- */
.map-link-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--mist-2); padding: 1.5rem;
}
.map-link-card p { color: var(--ink); }
