/* ==========================================================================
   Advanced Medical Technology — site styles
   Montserrat (headings) · Hanken Grotesk (body) · JetBrains Mono (labels)
   ========================================================================== */

:root {
  /* Brand */
  --navy: #00334e;
  --teal: #008da8;
  --burgundy: #9b1b30;
  --ink: #081c2c;

  /* Supporting */
  --white: #ffffff;
  --mist: #eef3f7;          /* very light blue-gray */
  --slate: #5a748a;         /* muted slate blue */
  --teal-tint: #e2f0f4;     /* soft teal tint */
  --line: #dae5ed;

  /* On-dark variants */
  --teal-bright: #16a9c6;
  --teal-glow: #5fd0e0;
  --on-dark-body: #c3d7e4;

  /* Layout */
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-y: clamp(72px, 9vw, 128px);
  --radius: 14px;
  --shadow-card: 0 1px 2px rgba(8, 28, 44, 0.04), 0 12px 32px -18px rgba(8, 28, 44, 0.35);
  --shadow-card-hover: 0 2px 4px rgba(8, 28, 44, 0.06), 0 26px 48px -22px rgba(8, 28, 44, 0.42);

  /* Type */
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Logo mark colour hooks — overridden per surface */
  --mark-ribbon: var(--teal);
  --mark-spine: var(--navy);
  --mark-rung: var(--teal);
}

/* --------------------------------------------------------------- reset -- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.075rem);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--navy);
  /* Long single words — "multidisciplinary", "Histopathology" — otherwise
     run past the edge of display-sized headings on narrow screens. */
  overflow-wrap: break-word;
}

@media (max-width: 620px) {
  h1, h2 { hyphens: auto; }
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--white);
  color: var(--navy);
  padding: 12px 20px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ------------------------------------------------------------- helpers -- */

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

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(56px, 6vw, 88px); }
.section--mist { background: var(--mist); }
.section--tint { background: var(--teal-tint); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--burgundy);
  flex: none;
}
.eyebrow--plain::before { display: none; }
.on-dark .eyebrow { color: var(--teal-glow); }
.on-dark .eyebrow::before { background: var(--teal-glow); opacity: 0.55; }

/* The lower bound is set by the longest unbreakable word on the site
   ("multidisciplinary"), which must fit a 375px screen without breaking. */
.h1 { font-size: clamp(2rem, 0.6rem + 5vw, 4.3rem); }
.h2 { font-size: clamp(1.95rem, 1.35rem + 2.4vw, 3.05rem); }
.h3 { font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.55rem); }

.lede {
  font-size: clamp(1.08rem, 1rem + 0.4vw, 1.27rem);
  line-height: 1.62;
  color: #33556c;
}

.muted { color: var(--slate); }

.on-dark { color: var(--on-dark-body); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--white); }
.on-dark .lede { color: var(--on-dark-body); }

.rule {
  border: 0;
  height: 3px;
  width: 54px;
  background: var(--burgundy);
  margin: 0 0 28px;
}

/* -------------------------------------------------------------- button -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  padding: 15px 30px;
  border-radius: 4px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary { background: var(--teal); color: var(--white); border-color: var(--teal); }
.btn--primary:hover { background: #007590; border-color: #007590; }

.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.45); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.09); }

.btn--outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--outline:hover { border-color: var(--teal); color: var(--teal); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* -------------------------------------------------------------- header -- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #12354b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 84px;
  padding-block: 12px;
}

.brand {
  --mark-ribbon: var(--teal-bright);
  --mark-spine: #ffffff;
  --mark-rung: var(--teal-glow);
  display: inline-flex;
  flex: none;
  text-decoration: none;
}
.brand .amt-logo { height: 52px; width: auto; }
.brand .amt-logo__word--strong { fill: #ffffff; }
.brand .amt-logo__word--accent { fill: var(--teal-glow); }
.brand .amt-logo__tag { fill: #a8c4d4; }

.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  color: #d3e2ec;
  text-decoration: none;
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
  transition: color 0.18s ease;
}
.nav__link:hover { color: var(--white); }
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--teal-glow);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--white); }

.nav__cta { padding: 12px 22px; font-size: 0.85rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 42px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1040px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    inset: 100% 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #12354b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px var(--gutter) 26px;
  }
  .site-header.is-open .nav { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li { border-bottom: 1px solid rgba(255, 255, 255, 0.09); }
  .nav__link { display: block; padding: 15px 0; font-size: 1rem; }
  .nav__link::after { display: none; }
  .nav__cta { margin-top: 20px; align-self: flex-start; }
  .site-header__inner { position: relative; }
}

/* Keep the lockup and the menu button on one line on the narrowest phones. */
@media (max-width: 430px) {
  .brand .amt-logo { height: 40px; }
  .site-header__inner { min-height: 72px; gap: 12px; }
}

/* ---------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 130% at 88% 30%, rgba(0, 141, 168, 0.55) 0%, rgba(0, 141, 168, 0) 58%),
    linear-gradient(104deg, #041d2e 0%, #00334e 42%, #005a78 74%, #00819c 100%);
  color: var(--on-dark-body);
}

.hero__inner {
  position: relative;
  z-index: 2;
  min-height: 660px;
  display: flex;
  align-items: center;
  padding-block: clamp(64px, 8vw, 104px);
}

.hero__content { max-width: 660px; }

.hero__logo {
  --mark-ribbon: var(--teal-bright);
  --mark-spine: #ffffff;
  --mark-rung: var(--teal-glow);
  margin: 0 0 30px;
}
.hero__logo .amt-logo { height: clamp(58px, 6.5vw, 76px); width: auto; }
.hero__logo .amt-logo__word--strong { fill: #ffffff; }
.hero__logo .amt-logo__word--accent { fill: var(--teal-glow); }
.hero__logo .amt-logo__tag { fill: #a8c4d4; }

.hero h1 {
  font-size: clamp(2.4rem, 1.4rem + 3.7vw, 4.15rem);
  color: var(--white);
  margin-bottom: 26px;
  max-width: 15ch;
}

.hero__text {
  font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.22rem);
  line-height: 1.66;
  color: #cfe2ee;
  max-width: 58ch;
  margin-bottom: 36px;
}

.hero__figure {
  position: absolute;
  z-index: 1;
  top: -9%;
  right: -7%;
  bottom: -11%;
  width: min(58%, 820px);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.hero__figure .amt-mark {
  height: 116%;
  width: auto;
  opacity: 0.19;
  --mark-ribbon: #8fdcea;
  --mark-spine: #eaf6fb;
  --mark-rung: #a9e4ef;
  transform-origin: center;
  animation: amt-drift 26s ease-in-out infinite;
}

/* Keep the continuous helix ribbon reading through the vertebrae so the mark
   never breaks down into disconnected diagonal bars at low opacity. */
.hero__figure .amt-mark__ribbon,
.page-hero__figure .amt-mark__ribbon {
  stroke: var(--mark-ribbon);
  stroke-width: 5;
}
.hero__figure .amt-mark__spine,
.page-hero__figure .amt-mark__spine { opacity: 0.68; }
.hero__figure .amt-mark__rungs,
.page-hero__figure .amt-mark__rungs { opacity: 0.55; }

@keyframes amt-drift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(0, -26px, 0) rotate(-1.6deg); }
}

@media (max-width: 900px) {
  .hero__inner { min-height: 540px; }
  .hero__figure { width: 92%; right: -34%; opacity: 0.75; }
}

/* --------------------------------------------------------- page header -- */

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 150% at 92% 20%, rgba(0, 141, 168, 0.5) 0%, rgba(0, 141, 168, 0) 60%),
    linear-gradient(102deg, #041d2e 0%, #00334e 48%, #00688a 100%);
  color: var(--on-dark-body);
}
.page-hero__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(58px, 7vw, 104px);
}
.page-hero h1 { color: var(--white); margin-bottom: 22px; max-width: 17ch; }
.page-hero .lede { max-width: 62ch; }
.page-hero__figure {
  position: absolute;
  z-index: 1;
  top: -30%;
  right: -6%;
  bottom: -30%;
  width: min(46%, 620px);
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}
.page-hero__figure .amt-mark {
  height: 160%;
  width: auto;
  opacity: 0.14;
  --mark-ribbon: #7fd6e6;
  --mark-spine: #eaf6fb;
  --mark-rung: #9fdfeb;
  animation: amt-drift 30s ease-in-out infinite;
}
@media (max-width: 820px) { .page-hero__figure { display: none; } }

/* ------------------------------------------------------- editorial two -- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 84px);
  align-items: start;
}
.split--lead { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
@media (max-width: 880px) { .split, .split--lead { grid-template-columns: minmax(0, 1fr); } }

/* --------------------------------------------------------------- cards -- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(18px, 2vw, 26px);
}
.card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1040px) { .card-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .card-grid--4 { grid-template-columns: minmax(0, 1fr); } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 2.4vw, 34px);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}
.card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); border-color: #c3d8e6; }

.card__index {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--teal);
}
.card h3 { font-size: 1.18rem; }
.card p { font-size: 0.965rem; color: #3d5b71; line-height: 1.62; }

.card__link {
  margin-top: auto;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--teal);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.card__link:hover { text-decoration: underline; }

/* ------------------------------------------------------------ galleries -- */

/* The supplied photographs are small originals, so tiles are capped near
   their native size instead of being stretched to full bleed. */
.gallery-block { margin-top: clamp(26px, 3vw, 38px); }

.gallery-block__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.gallery {
  display: grid;
  /* Capped at 260px: the supplied originals are small, so tiles must never
     scale a frame up past roughly its native width. */
  grid-template-columns: repeat(auto-fill, minmax(190px, 260px));
  justify-content: start;
  gap: clamp(14px, 1.6vw, 20px);
}

.shot { margin: 0; display: flex; flex-direction: column; gap: 10px; }

.shot__media {
  display: block;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.shot__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--white);
}
.shot__media img.is-grayscale { filter: grayscale(1); }

.shot figcaption {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: var(--slate);
}

.gallery-block__aside {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}
.gallery-block__aside a { color: var(--teal); }

/* -------------------------------------------------------- card thumbnail -- */

.card__media {
  display: block;
  margin: calc(-1 * clamp(24px, 2.4vw, 34px)) calc(-1 * clamp(24px, 2.4vw, 34px)) 4px;
  border-bottom: 1px solid var(--line);
  background: var(--mist);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* -------------------------------------------------------------- mosaic -- */

.figure-tile--mosaic { padding: clamp(14px, 1.6vw, 22px); }
.mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 16px);
  width: 100%;
}
.mosaic img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  background: var(--white);
}

/* ---------------------------------------------------------- accordions -- */

.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: none;
  border: 0;
  padding: 20px 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--navy);
}
.accordion__btn:hover { color: var(--teal); }
.accordion__icon {
  flex: none;
  width: 22px;
  height: 22px;
  position: relative;
}
.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 2px;
  background: var(--teal);
  transition: transform 0.22s ease;
}
.accordion__icon::after { transform: rotate(90deg); }
.accordion__btn[aria-expanded="true"] .accordion__icon::after { transform: rotate(0deg); }

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}
.accordion__panel > div { overflow: hidden; }
.accordion__btn[aria-expanded="true"] + .accordion__panel { grid-template-rows: 1fr; }
.accordion__panel p {
  font-size: 0.97rem;
  color: #3d5b71;
  padding-bottom: 22px;
}

/* --------------------------------------------------------- figure tile -- */

.figure-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(110% 120% at 20% 15%, rgba(0, 141, 168, 0.42) 0%, rgba(0, 141, 168, 0) 62%),
    linear-gradient(150deg, #052034 0%, #00334e 55%, #015d7c 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.figure-tile .amt-mark {
  height: 86%;
  width: auto;
  opacity: 0.9;
  --mark-ribbon: var(--teal-bright);
  --mark-spine: #ffffff;
  --mark-rung: var(--teal-glow);
}
.figure-tile__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 26px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b6d5e3;
  background: linear-gradient(180deg, rgba(4, 22, 36, 0) 0%, rgba(4, 22, 36, 0.85) 100%);
}

/* ------------------------------------------------------------- process -- */

.process {
  background:
    radial-gradient(90% 120% at 12% 0%, rgba(0, 141, 168, 0.35) 0%, rgba(0, 141, 168, 0) 55%),
    linear-gradient(128deg, #04182b 0%, #00334e 46%, #12224f 100%);
}
.process__head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }

.process__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 24px);
}
@media (max-width: 1040px) { .process__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .process__grid { grid-template-columns: minmax(0, 1fr); } }

.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(24px, 2.2vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.75);
}
.step__num {
  font-family: var(--font-mono);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--teal);
  line-height: 1;
}
/* The step cards sit on a dark section but are white surfaces, so they opt
   back out of the .on-dark colour inheritance. */
.on-dark .step h3 { font-size: 1.08rem; color: var(--navy); }
.on-dark .step p { font-size: 0.94rem; color: #3d5b71; line-height: 1.6; }
.on-dark .card h3 { color: var(--navy); }
.on-dark .card p { color: #3d5b71; }

/* ------------------------------------------------------------- mission -- */

.mission { background: var(--mist); }
.mission__figure { margin: 0; max-width: 58rem; }
.mission blockquote {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.35rem, 0.95rem + 1.5vw, 2.15rem);
  line-height: 1.34;
  letter-spacing: -0.015em;
  color: var(--navy);
  position: relative;
  padding-left: clamp(20px, 2.5vw, 34px);
  border-left: 4px solid var(--burgundy);
}
.mission figcaption {
  margin-top: 28px;
  padding-left: clamp(24px, 2.5vw, 38px);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}

/* ---------------------------------------------------------- stat / def -- */

.deflist {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.deflist__row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 2.1fr);
  gap: clamp(16px, 3vw, 48px);
  padding: clamp(26px, 3vw, 40px) 0;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 820px) { .deflist__row { grid-template-columns: minmax(0, 1fr); gap: 12px; } }
.deflist__row h3 { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem); }
.deflist__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}
.deflist__body p { color: #3d5b71; }
.deflist__body p + p { margin-top: 1em; }

.subpoints {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.subpoints li {
  position: relative;
  padding-left: 24px;
  font-size: 0.96rem;
  color: #3d5b71;
  line-height: 1.6;
}
.subpoints li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 2px;
  background: var(--burgundy);
}

/* --------------------------------------------------------- region grid -- */

.regions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 20px);
}
@media (max-width: 700px) { .regions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.region {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
}
.region__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}
.region strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--navy);
}

/* ------------------------------------------------------------- cta band -- */

.cta-band {
  background:
    radial-gradient(80% 160% at 85% 50%, rgba(0, 141, 168, 0.42) 0%, rgba(0, 141, 168, 0) 62%),
    linear-gradient(100deg, #04182b 0%, #00334e 60%, #0b2a52 100%);
}
.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-band h2 { max-width: 18ch; }

/* ---------------------------------------------------------------- form -- */

.form {
  display: grid;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: var(--shadow-card);
}
.form__row { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 620px) { .form__row { grid-template-columns: minmax(0, 1fr); } }

.field { display: grid; gap: 8px; }
.field label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}
.field input,
.field textarea,
.field select {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: #fbfdfe;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 15px;
  width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(0, 141, 168, 0.15); }

.field__error {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--burgundy);
  min-height: 1em;
}

.form__note {
  font-size: 0.86rem;
  color: var(--slate);
}

.form__status {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.6;
  padding: 14px 16px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--mist);
  color: #33556c;
}
.form__status[hidden] { display: none; }
.form__status[data-tone="error"] { border-color: rgba(155, 27, 48, 0.35); background: #fdf2f4; color: var(--burgundy); }
.form__status[data-tone="ok"] { border-color: rgba(0, 141, 168, 0.35); background: var(--teal-tint); color: #04586c; }

/* -------------------------------------------------------------- footer -- */

.site-footer {
  background: var(--ink);
  color: #9db6c6;
  padding-block: clamp(56px, 6vw, 84px) 34px;
}
.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 4vw, 64px);
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@media (max-width: 900px) { .site-footer__top { grid-template-columns: minmax(0, 1fr); } }

.site-footer .brand {
  --mark-ribbon: var(--teal-bright);
  --mark-spine: #ffffff;
  --mark-rung: var(--teal-glow);
  margin-bottom: 22px;
}
.site-footer .brand .amt-logo { height: 56px; }
.site-footer .brand .amt-logo__word--strong { fill: #ffffff; }
.site-footer .brand .amt-logo__word--accent { fill: var(--teal-glow); }
.site-footer .brand .amt-logo__tag { fill: #8fabbd; }

.site-footer p { font-size: 0.94rem; line-height: 1.66; max-width: 46ch; }

.footer-heading {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-glow);
  margin: 0 0 18px;
}

.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-list a {
  text-decoration: none;
  font-size: 0.94rem;
  color: #b8cdda;
  transition: color 0.16s ease;
}
.footer-list a:hover { color: var(--white); }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  justify-content: space-between;
  padding-top: 26px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #7b96a8;
}

/* ------------------------------------------------------------- reveals -- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__figure .amt-mark,
  .page-hero__figure .amt-mark { animation: none; }
}

/* ------------------------------------------------------- logo lettering -- */

.amt-logo__word { font-family: var(--font-head); font-weight: 800; }
.amt-logo__tag { font-family: var(--font-head); font-weight: 600; }
.amt-logo__word--strong { fill: var(--navy); }
.amt-logo__word--accent { fill: var(--teal); }
.amt-logo__tag { fill: var(--slate); }
