/* ============================================================
   A&T Nicaragua, S.A. — site styles
   Static site. No build step. Single stylesheet.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Brand: sampled from the Cupid Nicaragua plant signage (#5098e0)
     and the Cupid Intimates wordmark heart (#ed1a3b). */
  --ink:        #0b1c2e;
  --ink-2:      #14304d;
  --ink-3:      #1d3f63;
  --blue:       #1f6cb8;  /* accessible on white */
  --blue-bright:#5098e0;  /* signage blue, for dark grounds */
  --blue-wash:  #eaf2fb;
  --red:        #ed1a3b;

  --paper:      #ffffff;
  --paper-2:    #f6f7f9;
  --paper-3:    #edf1f5;
  --line:       #dde3ea;
  --line-dark:  rgba(255,255,255,.16);
  --muted:      #566878;
  --muted-dark: #9fb3c6;

  --font-sans: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;

  --wrap: 1240px;
  --wrap-narrow: 860px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);

  --header-h: 76px;

  --r-sm: 3px;
  --r-md: 6px;
  --r-lg: 10px;

  --shadow-sm: 0 1px 2px rgba(11,28,46,.06), 0 2px 8px rgba(11,28,46,.05);
  --shadow-md: 0 2px 6px rgba(11,28,46,.07), 0 12px 32px rgba(11,28,46,.09);
  --shadow-lg: 0 4px 12px rgba(11,28,46,.09), 0 24px 60px rgba(11,28,46,.13);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 600; line-height: 1.14; letter-spacing: -.018em; }
p { margin: 0; }
strong { font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

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

::selection { background: var(--blue-bright); color: #fff; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: .85rem 1.25rem;
  font-size: .9rem; font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; text-decoration: none; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--paper-2 { background: var(--paper-2); }
.section--paper-3 { background: var(--paper-3); }
.section--ink { background: var(--ink); color: #fff; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }
.section--ink .lede, .section--ink p { color: #cddae6; }
.section--ink .eyebrow { color: var(--blue-bright); }
.section--ink .eyebrow::before { background: var(--blue-bright); }
.section--ink a { color: var(--blue-bright); }
.section-divider { border-top: 1px solid var(--line); }

/* ---------- Type ---------- */
.eyebrow {
  display: flex; align-items: center; gap: .7rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 1.15rem;
}
.eyebrow::before {
  content: ""; width: 24px; height: 2px; background: var(--blue); flex: none;
}

.h-display {
  font-size: clamp(2.05rem, 5.4vw, 4.35rem);
  line-height: 1.04; letter-spacing: -.032em; font-weight: 600;
}
.h1 { font-size: clamp(1.9rem, 4.4vw, 3.4rem); letter-spacing: -.028em; }
.h2 { font-size: clamp(1.6rem, 3.2vw, 2.6rem); letter-spacing: -.024em; }
.h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); letter-spacing: -.016em; }
.h4 { font-size: 1.075rem; letter-spacing: -.01em; font-weight: 600; }

.lede {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  line-height: 1.55; color: var(--ink-2); font-weight: 380;
}
.body-lg { font-size: 1.075rem; line-height: 1.7; color: var(--muted); }
.body    { color: var(--muted); }
.small   { font-size: .875rem; }
.tiny    { font-size: .78rem; }

.measure     { max-width: 62ch; }
.measure-tight { max-width: 48ch; }

.stack > * + * { margin-top: 1rem; }
.stack-sm > * + * { margin-top: .5rem; }
.stack-lg > * + * { margin-top: 1.75rem; }

.section-head { max-width: 68ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head.center { margin-inline: auto; }
.section-head .h2 + .lede, .section-head .h2 + p { margin-top: 1.1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-sans); font-size: .935rem; font-weight: 600;
  letter-spacing: .005em; line-height: 1;
  padding: 1.02rem 1.6rem; border: 1px solid transparent; border-radius: var(--r-sm);
  cursor: pointer; transition: background .18s var(--ease), color .18s var(--ease),
    border-color .18s var(--ease), transform .18s var(--ease);
  text-decoration: none !important;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: #185b9f; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); }
.btn--outline { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn--ghost-light { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--blue-wash); }
.btn__arrow { transition: transform .18s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; font-size: .935rem; text-decoration: none;
}
.link-arrow:hover { text-decoration: none; }
.link-arrow svg { transition: transform .18s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}

/* transparent over a hero image, until scrolled */
.site-header--overlay {
  background: transparent; border-bottom-color: transparent; backdrop-filter: none;
}
.site-header--overlay .nav__link { color: rgba(255,255,255,.86); }
.site-header--overlay .nav__link:hover,
.site-header--overlay .nav__link[aria-current="page"] { color: #fff; }
.site-header--overlay .nav__link[aria-current="page"]::after { background: #fff; }
.site-header--overlay .brand__sub { color: rgba(255,255,255,.72); }
.site-header--overlay .brand__rule { background: rgba(255,255,255,.28); }
.site-header--overlay .logo--dark { display: none; }
.site-header--overlay .logo--light { display: block; }
.site-header--overlay .btn--outline { border-color: rgba(255,255,255,.4); color: #fff; }
.site-header--overlay .btn--outline:hover { background: #fff; color: var(--ink); border-color: #fff; }
.site-header--overlay .nav-toggle__bar { background: #fff; }

/* With the mobile panel open the header sits against white, not the hero */
body.nav-open .site-header,
body.nav-open .site-header--overlay {
  background: var(--paper); border-bottom-color: var(--line); backdrop-filter: none;
}
body.nav-open .site-header--overlay .logo--dark { display: block; }
body.nav-open .site-header--overlay .logo--light { display: none; }
body.nav-open .site-header--overlay .brand__sub { color: var(--muted); }
body.nav-open .site-header--overlay .brand__rule { background: var(--line); }
body.nav-open .site-header .nav-toggle__bar { background: var(--ink); }

.logo--light { display: none; }

.brand { display: flex; align-items: center; gap: .95rem; flex: none; text-decoration: none !important; }
.brand img { height: 26px; width: auto; }
.brand__rule { width: 1px; height: 30px; background: var(--line); flex: none; }
.brand__sub {
  font-size: .715rem; font-weight: 600; letter-spacing: .11em;
  text-transform: uppercase; color: var(--muted); line-height: 1.35;
  max-width: 9.5rem;
}
.brand__sub em { font-style: normal; display: block; letter-spacing: .09em; opacity: .72; font-weight: 500; }

.nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.4vw, 2.15rem); }
.nav__link {
  position: relative; font-size: .935rem; font-weight: 500; color: var(--ink-2);
  text-decoration: none !important; padding-block: .4rem;
  transition: color .16s var(--ease);
}
.nav__link:hover { color: var(--blue); }
.nav__link[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--blue);
}
.nav .btn { padding: .8rem 1.25rem; font-size: .875rem; }

.nav-toggle {
  display: none; width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; cursor: pointer; padding: 0;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle__bar {
  display: block; width: 22px; height: 2px; background: var(--ink);
  transition: transform .22s var(--ease), opacity .18s var(--ease);
}
body.nav-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    background: var(--paper); flex-direction: column; align-items: stretch;
    justify-content: flex-start; gap: 0; padding: 1.25rem var(--gutter) 2rem;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .22s var(--ease), transform .22s var(--ease);
    overflow-y: auto; border-top: 1px solid var(--line);
  }
  body.nav-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  body.nav-open { overflow: hidden; }
  .nav__link {
    font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em;
    color: var(--ink) !important; padding: 1.05rem 0;
    border-bottom: 1px solid var(--line);
  }
  .nav__link[aria-current="page"] { color: var(--blue) !important; }
  .nav__link[aria-current="page"]::after { display: none; }
  .nav .btn { margin-top: 1.5rem; justify-content: center; padding: 1.05rem 1.5rem; font-size: .95rem; }
  .site-header--overlay .nav .btn--outline { border-color: var(--line); color: var(--ink); }
  .brand__sub { display: none; }
  .brand__rule { display: none; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: min(88vh, 800px);
  display: flex; align-items: flex-end;
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
  color: #fff; overflow: hidden; background: var(--ink);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,28,46,.72) 0%, rgba(11,28,46,.34) 34%, rgba(11,28,46,.80) 100%),
    linear-gradient(90deg, rgba(11,28,46,.66) 0%, rgba(11,28,46,.12) 62%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: #fff; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.24);
  padding: .5rem .85rem; border-radius: 100px; margin-bottom: 1.6rem;
  backdrop-filter: blur(4px);
}
.hero__eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-bright); }
.hero h1 { color: #fff; max-width: 22ch; }
.hero__sub {
  font-family: var(--font-serif); font-weight: 380;
  font-size: clamp(1.02rem, 1.7vw, 1.4rem); line-height: 1.55;
  color: rgba(255,255,255,.9); max-width: 56ch; margin-top: 1.5rem;
}
.hero .btn-row { margin-top: 2.25rem; }

@media (max-width: 620px) {
  .hero { min-height: 0; padding-top: calc(var(--header-h) + 2.5rem); }
  .hero__eyebrow { font-size: .66rem; letter-spacing: .13em; margin-bottom: 1.25rem; }
  .hero .btn-row { margin-top: 1.85rem; }
  .hero .btn, .page-hero .btn { width: 100%; justify-content: center; }
}

/* trust rail under hero */
.trust-rail { background: var(--ink-2); color: #fff; border-top: 1px solid rgba(255,255,255,.1); }
.trust-rail__inner {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .75rem clamp(1.25rem, 3vw, 2.5rem);
  padding-block: 1.15rem;
  font-size: .795rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.trust-rail__label { color: var(--blue-bright); }
.trust-rail__item { color: rgba(255,255,255,.82); display: flex; align-items: center; gap: .75rem; }
.trust-rail__item + .trust-rail__item::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%;
  background: rgba(255,255,255,.32); flex: none;
}

/* ---------- Page hero (interior) ---------- */
.page-hero {
  position: relative; background: var(--ink); color: #fff; overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(3rem, 6vw, 5rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.page-hero__media { position: absolute; inset: 0; z-index: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,28,46,.94) 0%, rgba(11,28,46,.80) 48%, rgba(11,28,46,.58) 100%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 24ch; }
.page-hero__sub {
  font-family: var(--font-serif); font-weight: 380;
  font-size: clamp(1.08rem, 1.6vw, 1.32rem); line-height: 1.58;
  color: rgba(255,255,255,.86); max-width: 60ch; margin-top: 1.35rem;
}
.page-hero .eyebrow { color: var(--blue-bright); }
.page-hero .eyebrow::before { background: var(--blue-bright); }

/* breadcrumb */
.crumbs {
  display: flex; align-items: center; gap: .55rem;
  font-size: .8rem; color: rgba(255,255,255,.6); margin-bottom: 1.5rem;
}
.crumbs a { color: rgba(255,255,255,.78); }
.crumbs span { opacity: .5; }

/* ---------- Stat band ---------- */
.stat-band {
  display: grid; gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  background: var(--line);
  border: 1px solid var(--line);
}
.stat {
  background: var(--paper); padding: 1.85rem 1.5rem;
}
.stat__value {
  font-size: clamp(1.85rem, 3.2vw, 2.6rem); font-weight: 600;
  letter-spacing: -.03em; line-height: 1; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat__label {
  margin-top: .7rem; font-size: .765rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.stat__note { margin-top: .35rem; font-size: .82rem; color: var(--muted); }

.section--ink .stat-band { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.14); }
.section--ink .stat { background: var(--ink); }
.section--ink .stat__value { color: #fff; }
.section--ink .stat__label { color: var(--blue-bright); }
.section--ink .stat__note { color: var(--muted-dark); }

/* ---------- Grids ---------- */
.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

/* 2x2 media block — safe inside a narrow column, where .grid--2 would collapse */
.media-quad { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.65rem, 1.4vw, 1rem); }
.media-quad img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: var(--r-md); background: var(--paper-3);
}

.split {
  display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-text { grid-template-columns: 1.15fr .85fr; }
  .split--wide-media { grid-template-columns: .85fr 1.15fr; }
  .split--start { align-items: start; }
  .split__media--first { order: -1; }
}

/* ---------- Cards ---------- */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.card--link:hover { border-color: #c6d2df; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card__media { position: relative; aspect-ratio: 4 / 3; background: var(--paper-3); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card__media--contain { background: #fff; }
.card__media--contain img { object-fit: contain; padding: 1.5rem; }
.card--link:hover .card__media img { transform: scale(1.035); }
.card__body { padding: 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.card__index {
  font-size: .72rem; font-weight: 600; letter-spacing: .14em;
  color: var(--blue); text-transform: uppercase;
}
.card__title { font-size: 1.15rem; font-weight: 600; letter-spacing: -.014em; }
.card__text { font-size: .935rem; color: var(--muted); line-height: 1.62; }
.card__foot { margin-top: auto; padding-top: .5rem; }

.card__tag {
  position: absolute; top: .85rem; left: .85rem; z-index: 1;
  background: rgba(11,28,46,.86); color: #fff; backdrop-filter: blur(4px);
  font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: .38rem .6rem; border-radius: var(--r-sm);
}

/* plain bordered panel */
.panel {
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--paper);
}
.panel--wash { background: var(--blue-wash); border-color: #d3e3f6; }
.panel--ink { background: var(--ink); color: #fff; border-color: transparent; }
.panel--ink p { color: #cddae6; }

/* ---------- Spec table (definition rows) ---------- */
/* Container-queried so the two-column form only appears when the SPEC itself
   is wide enough — safe to drop into a narrow sidebar or a full-width section. */
.spec { border-top: 1px solid var(--line); container-type: inline-size; }
.spec__row {
  display: grid; gap: .35rem 2rem; padding-block: 1.15rem;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 1fr;
}
@container (min-width: 620px) {
  .spec__row { grid-template-columns: 15rem 1fr; gap: 2rem; align-items: baseline; }
}
/* Fallback for engines without container queries */
@supports not (container-type: inline-size) {
  @media (min-width: 900px) {
    .spec__row { grid-template-columns: 15rem 1fr; gap: 2rem; align-items: baseline; }
  }
}
.spec__key {
  font-size: .765rem; font-weight: 600; letter-spacing: .11em;
  text-transform: uppercase; color: var(--muted);
}
.spec__val { color: var(--ink); }
.spec__val .note { display: block; margin-top: .3rem; font-size: .89rem; color: var(--muted); }

/* ---------- Feature list / checklist ---------- */
.check-list { display: grid; gap: .85rem; }
.check-list li {
  display: grid; grid-template-columns: 22px 1fr; gap: .8rem;
  align-items: start; line-height: 1.6;
}
.check-list svg { margin-top: .42rem; color: var(--blue); flex: none; }
.section--ink .check-list svg { color: var(--blue-bright); }
.check-list--tight { gap: .6rem; font-size: .95rem; }

.num-list { display: grid; gap: 1.35rem; counter-reset: n; }
.num-list li { display: grid; grid-template-columns: 2.35rem 1fr; gap: 1rem; counter-increment: n; }
.num-list li::before {
  content: counter(n, decimal-leading-zero);
  font-size: .8rem; font-weight: 600; letter-spacing: .06em;
  color: var(--blue); padding-top: .28rem;
  font-variant-numeric: tabular-nums;
}
.num-list .h4 + p { margin-top: .35rem; }

/* pill list */
.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill {
  font-size: .855rem; font-weight: 500; color: var(--ink-2);
  background: var(--paper); border: 1px solid var(--line);
  padding: .5rem .85rem; border-radius: 100px;
}
.section--ink .pill { background: rgba(255,255,255,.07); border-color: var(--line-dark); color: #e2ebf3; }
.section--paper-2 .pill, .section--paper-3 .pill { background: #fff; }

/* capability grid — bordered cells */
.cell-grid {
  display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}
.cell {
  background: var(--paper); padding: 1.6rem 1.5rem;
  display: flex; flex-direction: column; gap: .55rem;
}
.cell__icon { color: var(--blue); margin-bottom: .35rem; }
.cell__title { font-size: 1.02rem; font-weight: 600; letter-spacing: -.012em; }
.cell__text { font-size: .915rem; color: var(--muted); line-height: 1.6; }
.section--paper-2 .cell { background: #fff; }

/* ---------- Process stages ---------- */
.stages { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 860px) { .stages { grid-template-columns: repeat(4, 1fr); } }
.stage { background: var(--paper); padding: 1.75rem 1.5rem 1.85rem; }
.stage__num {
  font-size: .72rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue); margin-bottom: .85rem;
  display: flex; align-items: center; gap: .55rem;
}
.stage__num::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.stage__title { font-size: 1.2rem; font-weight: 600; letter-spacing: -.016em; margin-bottom: .9rem; }
.stage__items { display: grid; gap: .5rem; font-size: .925rem; color: var(--muted); }
.stage__items li { display: grid; grid-template-columns: 6px 1fr; gap: .7rem; align-items: baseline; }
.stage__items li::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: #c2cfdc; transform: translateY(.55em);
}

/* ---------- Process detail rows ---------- */
.proc-row { display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 900px) {
  .proc-row { grid-template-columns: 1fr 1fr; }
  .proc-row:nth-child(even) .proc-row__media { order: -1; }
}
.proc-row + .proc-row { margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.proc-row__media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--r-md); background: var(--paper-3);
}

/* ---------- Certifications ---------- */
.cert-strip {
  display: grid; gap: 1px; background: var(--line);
  border-block: 1px solid var(--line);
  grid-template-columns: repeat(auto-fit, minmax(min(50%, 150px), 1fr));
}
.cert-strip__item {
  background: var(--paper); padding: 1.85rem 1.25rem;
  display: flex; flex-direction: column; align-items: center; gap: .9rem; text-align: center;
}
.cert-strip__item img { height: 54px; width: auto; object-fit: contain; }
.cert-strip__item .name {
  font-size: .75rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-2); line-height: 1.4;
}
.cert-strip__item .name em { display: block; font-style: normal; color: var(--muted); font-weight: 500; letter-spacing: .05em; margin-top: .2rem; }
.section--paper-2 .cert-strip__item { background: #fff; }

.cert-card {
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper);
  padding: clamp(1.5rem, 3vw, 2rem); display: flex; flex-direction: column; gap: 1.1rem;
}
.cert-card__top { display: flex; align-items: flex-start; gap: 1.25rem; }
.cert-card__logo {
  flex: none; width: 76px; height: 76px; display: flex; align-items: center; justify-content: center;
  background: var(--paper-2); border-radius: var(--r-sm); padding: .6rem;
}
.cert-card__logo img { max-height: 100%; width: auto; object-fit: contain; }
.cert-card__kind {
  font-size: .7rem; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: var(--blue);
}
.cert-card__title { font-size: 1.25rem; font-weight: 600; letter-spacing: -.018em; margin-top: .35rem; }
.cert-card__by { font-size: .855rem; color: var(--muted); margin-top: .3rem; }
.cert-card__text { font-size: .95rem; color: var(--muted); line-height: 1.65; }
.cert-card__status {
  display: inline-flex; align-items: center; gap: .45rem; align-self: flex-start;
  font-size: .74rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  padding: .4rem .7rem; border-radius: 100px;
  background: var(--blue-wash); color: var(--blue); border: 1px solid #d3e3f6;
}
.cert-card__status--pending { background: #fff6e8; color: #92600e; border-color: #f2ddb9; }

/* recognition badges */
.badge-row {
  display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center; justify-content: flex-start;
}
.badge { display: flex; flex-direction: column; gap: .65rem; align-items: flex-start; max-width: 13rem; }
.badge img { height: 44px; width: auto; object-fit: contain; }
.badge .h4 { font-size: .95rem; }
.badge p { font-size: .855rem; color: var(--muted); line-height: 1.55; }

/* ---------- Galleries ---------- */
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.gallery figure { margin: 0; }
.gallery img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  background: var(--paper-3); border-radius: var(--r-md);
}
.gallery--contain img { object-fit: contain; background: #fff; border: 1px solid var(--line); padding: 1rem; }
.gallery--wide img { aspect-ratio: 4 / 3; }
/* Fixed track counts, so an item count that divides evenly never orphans */
.gallery--3 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .gallery--3 { grid-template-columns: repeat(3, 1fr); } }
.gallery--4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .gallery--4 { grid-template-columns: repeat(4, 1fr); } }
.gallery figcaption {
  margin-top: .7rem; font-size: .78rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase; color: var(--muted); line-height: 1.45;
}

.band-image { width: 100%; border-radius: var(--r-md); overflow: hidden; background: var(--paper-3); }
.band-image img { width: 100%; }

.figure-note {
  margin-top: .85rem; font-size: .82rem; color: var(--muted); line-height: 1.55;
}

/* ---------- Brand list ---------- */
.brand-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
@media (min-width: 640px) { .brand-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); } }
.brand-list li {
  background: var(--paper); padding: 1.35rem 1.4rem;
  font-size: 1.02rem; font-weight: 600; letter-spacing: -.01em;
}
.brand-list li span { display: block; font-size: .8rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: .25rem; }
.section--paper-2 .brand-list li { background: #fff; }

/* ---------- Locations ---------- */
.loc-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 760px) { .loc-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .loc-list { grid-template-columns: repeat(4, 1fr); } }
.loc { background: var(--paper); padding: 1.6rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.loc--primary { background: var(--ink); color: #fff; }
.loc__place {
  font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue);
}
.loc--primary .loc__place { color: var(--blue-bright); }
.loc__entity { font-size: 1.08rem; font-weight: 600; letter-spacing: -.012em; }
.loc__role { font-size: .9rem; color: var(--muted); line-height: 1.55; }
.loc--primary .loc__role { color: #b9cbdb; }
.loc__flag {
  margin-top: .35rem; align-self: flex-start;
  font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue-bright); border: 1px solid rgba(80,152,224,.45); border-radius: 100px; padding: .3rem .6rem;
}
.section--paper-2 .loc { background: #fff; }

/* ---------- Timeline ---------- */
.timeline { display: grid; gap: 0; }
.tl-item {
  display: grid; grid-template-columns: 1fr; gap: .5rem;
  padding-block: 1.6rem; border-top: 1px solid var(--line);
}
@media (min-width: 700px) {
  .tl-item { grid-template-columns: 8rem 1fr; gap: 2.5rem; align-items: baseline; }
}
.tl-item:last-child { border-bottom: 1px solid var(--line); }
.tl-year {
  font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; color: var(--blue);
  font-variant-numeric: tabular-nums; line-height: 1;
}
.tl-body .h4 { margin-bottom: .35rem; }
.tl-body p { font-size: .95rem; color: var(--muted); line-height: 1.65; }

/* ---------- Quote / pull ---------- */
.pull {
  font-family: var(--font-serif); font-weight: 380;
  font-size: clamp(1.4rem, 2.8vw, 2.05rem); line-height: 1.38;
  letter-spacing: -.015em; color: var(--ink);
  border-left: 3px solid var(--blue); padding-left: clamp(1.25rem, 3vw, 2.25rem);
  max-width: 34ch;
}
.section--ink .pull { color: #fff; border-color: var(--blue-bright); }

/* ---------- CTA band ---------- */
.cta {
  background: var(--ink); color: #fff; position: relative; overflow: hidden;
  padding-block: clamp(3.5rem, 7vw, 6rem);
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(1000px 520px at 88% -20%, rgba(80,152,224,.28), transparent 62%);
  pointer-events: none;
}
.cta .wrap { position: relative; }
.cta h2 { color: #fff; max-width: 26ch; }
.cta p { color: #c6d5e3; margin-top: 1.15rem; max-width: 54ch; }
.cta .btn-row { margin-top: 2.25rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); }
@media (min-width: 940px) { .contact-grid { grid-template-columns: 1.05fr .95fr; align-items: start; } }

.field { display: grid; gap: .5rem; }
.field label {
  font-size: .765rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
}
.field label .req { color: var(--red); margin-left: .15rem; }
.field input, .field textarea, .field select {
  font-family: var(--font-sans); font-size: 1rem; color: var(--ink);
  padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--paper); width: 100%; transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,108,184,.14);
}
.field textarea { resize: vertical; min-height: 140px; }
.form-grid { display: grid; gap: 1.15rem; }
@media (min-width: 620px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.form-note { font-size: .84rem; color: var(--muted); line-height: 1.6; }

.contact-block { display: grid; gap: .4rem; padding-block: 1.35rem; border-bottom: 1px solid var(--line); }
.contact-block:first-of-type { border-top: 1px solid var(--line); }
.contact-block__key {
  font-size: .765rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; color: var(--muted);
}
.contact-block__val { font-size: 1.08rem; color: var(--ink); }
.contact-block__val a { font-weight: 500; }

/* clearly-marked placeholder for details not yet supplied */
.placeholder {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-sans); font-size: .855rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: #92600e; background: #fff9ee;
  border: 1px dashed #dcb974; border-radius: var(--r-sm);
  padding: .38rem .65rem;
}
.placeholder::before { content: "⚑"; font-size: .9em; }

.notice {
  display: flex; gap: .9rem; align-items: flex-start;
  background: #fff9ee; border: 1px solid #f0dcb4; border-radius: var(--r-md);
  padding: 1.1rem 1.25rem; font-size: .9rem; line-height: 1.6; color: #6b4a0f;
}
.notice svg { flex: none; margin-top: .18rem; color: #a97a1c; }
.notice strong { color: #4d350a; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #fff; padding-block: clamp(3rem, 5vw, 4.25rem) 0; }
.footer-top {
  display: grid; gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
}
@media (min-width: 860px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand img { height: 26px; width: auto; }
.footer-brand p {
  margin-top: 1.15rem; font-size: .935rem; color: #a9bccd; line-height: 1.65; max-width: 34ch;
}
.footer-col h3 {
  font-size: .74rem; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: var(--blue-bright); margin-bottom: 1.1rem;
}
.footer-col ul { display: grid; gap: .65rem; }
.footer-col a, .footer-col li { font-size: .935rem; color: #c3d2e0; }
.footer-col a:hover { color: #fff; }
.footer-col .muted { color: #8fa5b8; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between;
  align-items: center; padding-block: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .84rem; color: #8fa5b8;
}
.footer-certs { display: flex; flex-wrap: wrap; gap: .5rem 1.15rem; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: #7f97ac; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(14px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-in { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card--link:hover { transform: none; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .measure, .center .measure-tight { margin-inline: auto; }
.center .btn-row { justify-content: center; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: .75rem; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2.25rem; }
.mt-4 { margin-top: 3rem; }
.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;
}
@media (max-width: 620px) { .hide-sm { display: none; } }

/* ---------- Print ---------- */
@media print {
  .site-header, .nav-toggle, .cta, .site-footer, .btn-row { display: none !important; }
  body { font-size: 11pt; }
  .hero, .page-hero { background: #fff; color: #000; padding-top: 0; }
  .hero__media, .page-hero__media { display: none; }
  .hero h1, .page-hero h1, .hero__sub, .page-hero__sub { color: #000; }
  .section--ink { background: #fff; color: #000; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
