/* ==========================================================================
   Vertex Manufacturing Solutions
   Design system: "Process Data Sheet"
   Plain CSS. No frameworks, no build step.
   --------------------------------------------------------------------------
   Brand tokens live in :root. Changing --heat and --ink re-skins the site.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Colour ---------------------------------------------------------------- */
  /* Brand blue sampled from the VMS logo. Change --brand to re-skin.        */
  --brand: #304da0;        /* logo blue: actions, links, focus               */
  --brand-600: #263f83;    /* pressed / hover                                */
  --brand-300: #7d95d8;    /* brand on dark surfaces                         */
  --brand-wash: #edf1fb;   /* pale brand fill                                */

  --ink: #0d1220;          /* near-black with the logo's blue cast           */
  --ink-2: #151d31;        /* raised dark surface                            */
  --ink-3: #27334f;        /* hairlines on dark                              */
  --slate: #5b6779;        /* secondary text on light                        */
  --slate-2: #8b96a7;      /* tertiary text                                  */
  --line: #dbe1e9;         /* hairlines on light                             */
  --line-2: #eaeef4;       /* very soft dividers                             */
  --paper: #f2f5f9;        /* page background, cool grey                     */
  --white: #ffffff;

  /* Copper: energy into the joint. Structural only - seams, ticks, counters.
     Never a button, never body text.                                        */
  --heat: #c06014;
  --heat-2: #e18b3f;
  --heat-soft: #fbf2e9;
  --copper: #b87333;

  /* Type ------------------------------------------------------------------ */
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Metrics --------------------------------------------------------------- */
  --wrap: 1240px;
  --gutter: 24px;

  /* Corner scale. Sized by the element rather than one value everywhere, so a
     13px chip and a 450px panel read as the same softness rather than the
     same number. Raise or lower all three together to re-tune the whole site. */
  --radius-sm: 6px;       /* inputs, chips, tags, small counters             */
  --radius: 10px;         /* buttons, cards — the default                    */
  --radius-lg: 16px;      /* large panels: RFQ card, contact panel, case     */
  --header-h: 76px;

  --shadow-card: 0 1px 2px rgba(15, 20, 26, .05),
                 0 18px 46px -18px rgba(15, 20, 26, .28);
  --shadow-lift: 0 1px 2px rgba(15, 20, 26, .06),
                 0 26px 60px -22px rgba(15, 20, 26, .34);

  --ease: cubic-bezier(.32, .72, .28, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
svg { display: block; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: -.015em;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}

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

ul, ol { margin: 0 0 1.05em; padding-left: 1.15em; }

/* dl was missing from this reset, so every definition list on the site carried
   the UA default margin-block: 1em. Most visibly it held .hero__creds 17px off
   the bottom of the hero. Spacing is set per-component instead. */
dl { margin: 0; }
dd { margin-left: 0; }

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

/* No border-radius here on purpose — setting one would square off the focus
   ring on elements that have their own corner radius. Browsers already draw
   the outline following each element's shape. */
:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 999;
  background: var(--brand);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font: 500 14px/1 var(--mono);
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 12px; }

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

.wrap--narrow { max-width: 880px; }

/* Section backgrounds. Decorative texture only — applied through ::before at
   low opacity so nothing competes with body copy. Check contrast at the final
   opacity against 14px slate text, not against headings. */
.band { position: relative; isolation: isolate; padding-block: 88px; overflow: hidden; }
.band--dark { background: var(--ink); color: #e7ecf1; }
.band--white { background: var(--white); }

.band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../img/bg-drawing-lines.webp") center / cover no-repeat;
  opacity: .16;
}
.band--white::before { opacity: .12; }
/* The capabilities band carries the texture more strongly by request. Safe here
   because its text is headings and card copy sitting on opaque white cards. */
#capabilities::before { opacity: .26; }
.band--dark::before {
  background-image: url("../img/bg-brushed-steel.webp");
  opacity: .3;
}
/* Opts a band out of the section texture entirely. */
.band--plain::before { display: none; }

.band--dark h1,
.band--dark h2,
.band--dark h3 { color: #fff; }

.band-head { max-width: 720px; margin-bottom: 44px; }
.band-head p { color: var(--slate); font-size: 18px; }
.band--dark .band-head p { color: #9dabb9; }

/* Eyebrow: mono label preceded by a short "weld" tick ---------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 500 11px/1 var(--mono);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--heat);
  flex: none;
}
/* .hero and .page-head are dark surfaces but are not .band--dark, so they were
   falling back to --slate, a light-theme colour. Same trap as .page-head .lede. */
.band--dark .eyebrow,
.hero .eyebrow,
.page-head .eyebrow { color: #a2b0bd; }

/* Type scale --------------------------------------------------------------- */
.t-display {
  font-size: clamp(2.5rem, 1.5rem + 3.4vw, 4.1rem);
  letter-spacing: -.028em;
  line-height: 1.03;
}
.t-h2 { font-size: clamp(1.85rem, 1.3rem + 1.8vw, 2.6rem); }
.t-h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); letter-spacing: -.01em; }
.t-h4 { font-size: 1.075rem; font-stretch: 105%; letter-spacing: 0; }

.lede {
  font-size: clamp(1.05rem, 1rem + .35vw, 1.2rem);
  line-height: 1.6;
  color: var(--slate);
}
.band--dark .lede { color: #a8b5c2; }

.mono-note {
  font: 400 12.5px/1.5 var(--mono);
  letter-spacing: .02em;
  color: var(--slate-2);
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .005em;
  cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-600); }

.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .28);
}
.btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }

.btn--block { width: 100%; }
.btn--lg { padding: 17px 30px; font-size: 16px; }

.btn__arrow { transition: transform .18s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* Text link with underline that grows ------------------------------------- */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 2px solid var(--brand);
  padding-bottom: 2px;
  transition: color .18s var(--ease);
}
.tlink:hover { color: var(--brand); }
.band--dark .tlink { color: #fff; }

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--ink);
  border-bottom: 1px solid var(--ink-3);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
  transition: height .22s var(--ease);
}
.site-header.is-stuck .site-header__inner { height: 64px; }

.brand { display: flex; align-items: center; flex: none; }
.brand img { width: auto; height: 42px; transition: height .22s var(--ease); }
.site-header.is-stuck .brand img { height: 36px; }

.nav { margin-left: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  display: block;
  padding: 10px 13px;
  font-size: 14.5px;
  font-weight: 500;
  color: #c2cdd8;
  border-radius: var(--radius-sm);
  position: relative;
  transition: color .16s var(--ease);
}
.nav__link:hover { color: #fff; }
.nav__link[aria-current="page"] { color: #fff; }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 13px; right: 13px; bottom: 2px;
  height: 2px;
  background: var(--brand-300);
}

.header-cta { flex: none; display: flex; align-items: center; gap: 14px; }
.header-cta .btn { padding: 11px 20px; font-size: 14.5px; }

/* Two "Request a quote" buttons exist in the markup: .header-cta for desktop,
   .nav__cta inside the collapsed menu for mobile. Exactly one is ever
   displayed, so assistive tech and crawlers only ever see a single link. */
.nav__cta { display: none; }

/* Mobile nav toggle -------------------------------------------------------- */
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px; height: 46px;
  background: transparent;
  border: 1px solid var(--ink-3);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: #fff;
  position: relative;
  transition: background .16s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px; height: 2px;
  background: #fff;
  transition: transform .2s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   6. Hero + the straddling RFQ card (signature moment)
   -------------------------------------------------------------------------- */
/* Utility strip + masthead + hero add up to exactly one viewport. min-height
   rather than height so the hero can still grow if the copy needs it on very
   short screens instead of clipping. */
.hero {
  position: relative;
  display: flex;
  /* The -1px is .site-header's bottom border, which sits outside its
     declared height. */
  min-height: calc(100vh - var(--header-h) - 1px);
  background: var(--ink);
  color: #e7ecf1;
  padding-block: clamp(24px, 4.6vh, 56px) clamp(22px, 4.2vh, 48px);
  overflow: visible;
  isolation: isolate;
}

/* Background plate: poster image, optional video, and the scrim that makes
   white type readable over both. Sits at z-index -2 so the measurement grid and
   the colour blooms below still render on top of it. */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: var(--ink) url("../img/hero-bg.webp") center / cover no-repeat;
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Heavier on the left, where the headline sits, and heavier again at the very
   bottom so the copper seam stays the brightest thing on that edge. */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, transparent 55%, rgba(13, 18, 32, .85) 100%),
    linear-gradient(100deg,
      rgba(13, 18, 32, .95) 0%,
      rgba(13, 18, 32, .90) 34%,
      rgba(13, 18, 32, .60) 60%,
      rgba(13, 18, 32, .38) 100%);
}

/* Measurement grid + heat bloom, both very low contrast */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .038) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .022) 0 1px, transparent 1px 80px);
  mask-image: linear-gradient(to bottom, #000 0%, #000 62%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 62%, transparent 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(760px 440px at 14% 106%, rgba(48, 77, 160, .42), transparent 66%),
    radial-gradient(560px 340px at 86% -12%, rgba(125, 149, 216, .16), transparent 62%),
    radial-gradient(420px 260px at 62% 118%, rgba(192, 96, 20, .12), transparent 64%);
}

.hero__grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
}

/* The copy column spans the full hero height so the credential strip can be
   pinned to the bottom edge — that is what absorbs the leftover space on tall
   screens instead of leaving a dead gap under the buttons. */
/* Top inset on the copy column only, so the eyebrow/headline/lede/buttons drop
   clear of the masthead without moving the quick-quote card with them. The
   credential strip stays pinned to the bottom via margin: auto 0 0 below, so
   this eats into the slack between the buttons and the strip rather than
   making the hero taller.

   The floor value is what a short laptop gets: at 1280x580 there is only ~25px
   of that slack to spend, so the larger inset is gated behind a viewport tall
   enough to afford it. */
.hero__copy {
  display: flex;
  flex-direction: column;
  max-width: 780px;
  padding-top: clamp(16px, 6.5vh, 96px);
}

@media (min-height: 700px) {
  .hero__copy { padding-top: clamp(40px, 9vh, 110px); }
}

.hero .eyebrow { margin-bottom: clamp(10px, 1.8vh, 18px); }

/* Deliberately smaller than the sitewide .t-display, and sized against the
   viewport *height* as well as its width — the headline has to clear the fold
   together with the lede, the buttons and the credential strip, and it is
   height that runs out first on a laptop. Overridden below 980px, where the
   hero stops being one viewport tall. */
.hero__title {
  font-size: clamp(1.6rem, .6rem + 1.6vw + 1.75vh, 3.25rem);
  line-height: 1.06;
  letter-spacing: -.025em;
  color: #90a1b4;
  margin-bottom: clamp(12px, 2.2vh, 20px);
}
.hero__title em {
  font-style: normal;
  color: #fff;
}

.hero__lede {
  font-size: clamp(.95rem, .9rem + .25vw, 1.1rem);
  line-height: 1.55;
  color: #a8b5c2;
  max-width: 58ch;
  margin-bottom: clamp(12px, 2.4vh, 26px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: clamp(16px, 3.4vh, 40px);
}
.hero__actions .btn { padding-block: clamp(11px, 1.9vh, 17px); }

/* Credential strip, pinned to the bottom of the hero */
.hero__creds {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink-3);
  margin: auto 0 0;
}
.hero__cred { padding: clamp(10px, 2vh, 20px) 20px 0 0; }
.hero__cred dt {
  font: 400 11px/1 var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #a2b0bd;
  margin-bottom: clamp(6px, 1vh, 9px);
}
.hero__cred dd {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 112%;
  font-size: clamp(1.02rem, .62rem + .95vh, 1.28rem);
  letter-spacing: -.02em;
  color: #fff;
}
.hero__cred dd small {
  display: block;
  font: 400 12.5px/1.4 var(--body);
  letter-spacing: 0;
  color: #93a1af;
  margin-top: 3px;
}

/* --- The RFQ card --------------------------------------------------------- */
/* Centred rather than top-aligned: the card is now short enough to sit inside
   the hero at every size, so top-aligning it left a growing well of dead space
   underneath on tall screens. At the tightest supported viewport there is still
   ~6px of clearance either side, so it never overflows. */

.rfq {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  color: var(--ink);
  overflow: hidden;
}

/* The seam: the joint line where the dark hero meets the page below. Pinned to
   the hero's own bottom edge, so it stays aligned at any viewport size. */
.hero__seam {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--heat);
  z-index: 1;
  pointer-events: none;
}
.hero__seam::before,
.hero__seam::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 2px;
  height: 9px;
  background: var(--heat);
}
.hero__seam::before { left: 0; }
.hero__seam::after { right: 0; }

.rfq__head {
  padding: 26px 30px 20px;
  border-bottom: 1px solid var(--line-2);
}
.rfq__head h2 {
  font-size: 1.32rem;
  font-stretch: 108%;
  margin-bottom: 6px;
}
.rfq__head p { font-size: 14px; color: var(--slate); margin: 0; }

.rfq__body { padding: 24px 30px 30px; position: relative; z-index: 3; }


.rfq__legend {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font: 500 10.5px/1 var(--mono);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--slate-2);
  margin: 0 0 16px;
  padding: 0;
}
.rfq__legend b {
  color: var(--heat);
  font-weight: 500;
}
/* Reset lives here rather than in a style attribute on each <fieldset>: an
   inline `margin:0;padding:0;border:0` outranks the adjacent-sibling rule
   below, which collapsed the divider between section 01 and section 02. */
.rfq__section { border: 0; margin: 0; padding: 0; }
.rfq__section + .rfq__section {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid var(--line-2);
}

.rfq__foot {
  margin-top: 22px;
}
.rfq__fine {
  margin: 14px 0 0;
  font: 400 12px/1.5 var(--mono);
  color: var(--slate-2);
}

/* --- Form fields ---------------------------------------------------------- */
.field { margin-bottom: 15px; }
.field:last-child { margin-bottom: 0; }

.field__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .005em;
  margin-bottom: 6px;
  color: var(--ink);
}
.field label .req { color: var(--heat); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 13px;
  background: #fbfcfd;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 15px;
  transition: border-color .16s var(--ease), background .16s var(--ease),
              box-shadow .16s var(--ease);
}
.field textarea { min-height: 96px; resize: vertical; }

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%235b6779' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 36px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(48, 77, 160, .16);
}

.field input::placeholder,
.field textarea::placeholder { color: #a6b1bd; }

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: #c62828; background: #fff8f8; }

.field__error {
  display: none;
  margin: 6px 0 0;
  font: 400 12.5px/1.4 var(--mono);
  color: #c62828;
}
.field.is-invalid .field__error { display: block; }

/* Honeypot */
.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

/* Fallback notice shown inside <noscript> */
.form-note {
  margin: 0 0 18px;
  padding: 14px 16px;
  background: var(--heat-soft);
  border-left: 3px solid var(--heat);
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.5;
  color: #5a3a18;
}
.form-note a { font-weight: 600; border-bottom: 1px solid currentColor; }

/* "What happens next" — the reassurance that rides below the fold */
.rfq__next {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line-2);
}
.rfq__next h3 {
  font: 500 10.5px/1 var(--mono);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--slate-2);
  margin: 0 0 14px;
}
.rfq__next ol { list-style: none; margin: 0; padding: 0; counter-reset: nx; }
.rfq__next li {
  position: relative;
  counter-increment: nx;
  padding: 0 0 11px 30px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--slate);
}
.rfq__next li:last-child { padding-bottom: 0; }
.rfq__next li::before {
  content: counter(nx);
  position: absolute;
  left: 0; top: 1px;
  width: 19px; height: 19px;
  display: grid;
  place-items: center;
  background: var(--brand-wash);
  color: var(--brand);
  font: 500 10.5px/1 var(--mono);
  border-radius: 50%;
}

/* Success state */
.form-success {
  display: none;
  padding: 28px 30px;
  background: var(--brand-wash);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-sm);
}
.form-success h3 { font-size: 1.15rem; margin-bottom: 8px; }
.form-success p { font-size: 14.5px; color: var(--slate); margin: 0; }
.form-success.is-visible { display: block; }
form.is-sent { display: none; }

/* --------------------------------------------------------------------------
   7. Proof band (sits under the hero)
   -------------------------------------------------------------------------- */
.proof { background: var(--paper); padding-block: 76px; }
/* Two tracks: intro left, and a 460px column reserved for an image that has
   not been supplied yet. The track is declared whether or not a second child
   exists, so the image can be dropped straight in — see the comment in
   index.html. Centred so the intro will sit level with that image. */
.proof__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 56px;
  align-items: center;
}
.proof__intro { max-width: 620px; }

.proof__media {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
/* h2 carries margin: 0 from the reset, so the lede would otherwise butt
   straight up against the last line of the heading. */
.proof__intro h2 { margin-bottom: 16px; }


/* --------------------------------------------------------------------------
   8. Capability cards
   -------------------------------------------------------------------------- */
.caps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.cap {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 30px 26px;
  position: relative;
  overflow: hidden;
  transition: border-color .2s var(--ease), transform .2s var(--ease),
              box-shadow .2s var(--ease);
}
.cap::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 64px; height: 3px;
  background: var(--heat);
  transition: width .28s var(--ease);
  z-index: 1;
}

/* Full-bleed across the card's padding, so the image meets the card edges. */
.cap__img {
  width: calc(100% + 60px);
  max-width: none;            /* overrides the base img { max-width: 100% } */
  flex: none;
  margin: -30px -30px 22px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}
.cap:hover {
  border-color: #c3ccd6;
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.cap:hover::before { width: 100%; }

.cap h3 { margin-bottom: 10px; }
.cap p { font-size: 15.5px; color: var(--slate); margin-bottom: 18px; }

.cap__tech {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  border-top: 1px solid var(--line-2);
}
.cap__tech li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 14.5px;
}
.cap__tech li::before {
  content: "";
  width: 6px; height: 6px;
  flex: none;
  background: var(--copper);
  transform: translateY(-1px);
}
.cap__foot { margin-top: auto; }

/* --------------------------------------------------------------------------
   9. Process rail (a real 5-step sequence — numbering earns its place)
   -------------------------------------------------------------------------- */
.rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--ink-3);
  position: relative;
}
.step { padding: 28px 26px 0 0; position: relative; }
/* Copper tick follows the pointer instead of marking step 01 permanently.
   Keyboard users get it too, via :focus-within on the step's contents. */
.step::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  right: 26px;
  height: 3px;
  background: var(--heat);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s var(--ease);
}
.step:hover::before,
.step:focus-within::before { transform: scaleX(1); }
.step:hover .step__n { color: var(--heat); }
.step__n { transition: color .2s var(--ease); }
.step + .step { padding-left: 26px; border-left: 1px solid var(--ink-3); }
.step__n {
  font: 500 11px/1 var(--mono);
  letter-spacing: .18em;
  color: var(--heat-2);
  margin-bottom: 14px;
}
.step h3 {
  font-size: 1.02rem;
  font-stretch: 106%;
  letter-spacing: -.005em;
  color: #fff;
  margin-bottom: 9px;
}
.step p { font-size: 14.5px; line-height: 1.55; color: #9dabb9; margin: 0; }

/* --------------------------------------------------------------------------
   10. Industries
   -------------------------------------------------------------------------- */
 /* Six tracks so the five cards land 3-then-2 and both rows fill the width.
   auto-fit would leave a hole in the second row instead. */
.inds {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
}
.ind {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s var(--ease), transform .2s var(--ease),
              box-shadow .2s var(--ease);
}
.ind:nth-child(n+4) { grid-column: span 3; }
.ind:hover {
  border-color: #c3ccd6;
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
/* Fixed height rather than an aspect ratio: the second row's cards are wider,
   and a ratio would make their images noticeably taller than the first row's. */
.ind__thumb {
  width: 100%;
  height: 178px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}
/* Flex so the chips can sit on the baseline of the tallest card in the row
   rather than leaving dead space beneath them. */
.ind__body { flex: 1; display: flex; flex-direction: column; padding: 22px 24px 26px; }
.ind__ref {
  font: 500 11px/1 var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--heat);
  margin-bottom: 14px;
}
.ind h3 { font-size: 1.06rem; font-stretch: 106%; margin-bottom: 10px; }
.ind p { font-size: 14.5px; color: var(--slate); margin-bottom: 16px; }
.ind .chips { margin-top: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.chips li {
  font: 400 11.5px/1 var(--mono);
  letter-spacing: .01em;
  color: var(--slate);
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  padding: 6px 8px;
}

/* --------------------------------------------------------------------------
   11. Field notes (real project examples)
   -------------------------------------------------------------------------- */
.notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.note {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 28px 30px;
  display: flex;
  flex-direction: column;
}
.note__img {
  width: calc(100% + 56px);
  max-width: none;            /* overrides the base img { max-width: 100% } */
  flex: none;
  margin: -28px -28px 20px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}
.note__tag {
  display: inline-block;
  align-self: flex-start;
  border-radius: var(--radius-sm);
  font: 500 10.5px/1 var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-wash);
  padding: 7px 9px;
  margin-bottom: 18px;
}
.note h3 { font-size: 1.08rem; font-stretch: 106%; margin-bottom: 14px; }
.note dt {
  font: 500 10.5px/1 var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--slate-2);
  margin-bottom: 6px;
}
.note dd { margin: 0 0 16px; font-size: 14.8px; line-height: 1.55; color: var(--slate); }
.note dd:last-child { margin-bottom: 0; }
.note dd.is-result { color: var(--ink); font-weight: 500; }

/* --------------------------------------------------------------------------
   12. Founder block
   -------------------------------------------------------------------------- */
.founder {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.founder__photo {
  position: relative;
  border: 1px solid var(--ink-3);
  background: var(--ink-2);
  border-radius: var(--radius);
  overflow: hidden;
}
.founder__photo img { width: 100%; }
/* Inset past the corner curve. Hugging the edge (left: -1px) worked when the
   frame was square, but the rounded corner now clips the stroke and leaves it
   looking severed rather than deliberate. */
.founder__photo::after {
  content: "";
  position: absolute;
  left: 22px; bottom: 0;
  width: 76px; height: 3px;
  background: var(--heat);
}
.founder__meta {
  border-top: 1px solid var(--ink-3);
  margin-top: 26px;
  padding-top: 20px;
}
.founder__meta dt {
  font: 400 10.5px/1 var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #7d8b99;
  margin-bottom: 6px;
}
.founder__meta dd { margin: 0 0 16px; font-size: 14.5px; color: #c2cdd8; }
.founder__meta dd:last-child { margin-bottom: 0; }

.founder blockquote {
  margin: 0 0 26px;
  font-family: var(--display);
  font-weight: 500;
  font-stretch: 106%;
  font-size: clamp(1.25rem, 1.05rem + .8vw, 1.7rem);
  line-height: 1.32;
  letter-spacing: -.015em;
  color: #fff;
  border-left: 3px solid var(--heat);
  padding-left: 24px;
}

.affil { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 30px; }

/* The founder block was built for a dark band. On the About page it now sits on
   white, so the surface-dependent colours are re-stated rather than duplicated
   into a second component. */
.founder--light .founder__photo {
  border-color: var(--line);
  background: var(--paper);
}
.founder--light .founder__meta { border-top-color: var(--line); }
.founder--light .founder__meta dt { color: var(--slate); }
.founder--light .founder__meta dd { color: var(--slate); }
.founder--light blockquote { color: var(--ink); }
.founder--light .answer { margin-bottom: 22px; }
.founder--light .affil img {
  filter: none;
  opacity: 1;
  border: 1px solid var(--line);
}
/* The association marks are supplied as PNGs with an opaque white plate, so
   they need their own corners softening — otherwise two hard rectangles sit
   against everything else being rounded. */
.affil img {
  height: 54px;
  width: auto;
  border-radius: var(--radius-sm);
  opacity: .85;
  filter: brightness(1.6) grayscale(.2);
}

/* --------------------------------------------------------------------------
   13. CTA band + footer
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  isolation: isolate;
  background: var(--ink-2);
  border-top: 3px solid var(--brand);
  padding-block: 72px;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../img/cta-band-bg.webp") center / cover no-repeat;
  opacity: .5;
}
.cta-band__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: #a8b5c2; max-width: 60ch; margin: 0; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; min-width: 260px; }

.site-footer { background: var(--ink); color: #93a1af; padding-block: 64px 0; font-size: 14.5px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 52px;
}
.footer h3 {
  font-size: 12px;
  font-family: var(--mono);
  font-weight: 500;
  font-stretch: 100%;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #8b96a7;
  margin-bottom: 18px;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; }
.footer a { transition: color .16s var(--ease); }
.footer a:hover { color: var(--brand-300); }
.footer__brand img { height: 44px; width: auto; margin-bottom: 20px; }
.footer__brand p { max-width: 34ch; line-height: 1.6; }
.footer address { font-style: normal; line-height: 1.7; }

/* Copper tick on the two navigation columns, matching .cap__tech. */
.footer__links li { position: relative; padding-left: 16px; }
.footer__links li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 5px;
  height: 5px;
  background: var(--copper);
}

/* Contact details. Icons are drawn with mask-image + currentColor rather than
   a coloured background image, so they follow the link colour on hover and
   need no second asset for the hover state. Decorative: the adjacent text
   already says what each line is, so they stay out of the accessibility tree
   by being pseudo-elements. */
.footer__contact li { position: relative; padding-left: 27px; margin-bottom: 14px; }
.footer__contact li:last-child { margin-bottom: 0; }
.fc::before {
  content: "";
  position: absolute;
  left: 0;
  top: .18em;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  opacity: .7;
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
}
.footer__contact a:hover { color: var(--brand-300); }
.fc--place::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21.5S19 15.4 19 10.5a7 7 0 1 0-14 0C5 15.4 12 21.5 12 21.5Z'/%3E%3Ccircle cx='12' cy='10.3' r='2.6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21.5S19 15.4 19 10.5a7 7 0 1 0-14 0C5 15.4 12 21.5 12 21.5Z'/%3E%3Ccircle cx='12' cy='10.3' r='2.6'/%3E%3C/svg%3E"); }
.fc--phone::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.3 3h3.1l1.5 3.9-2 1.4a12.4 12.4 0 0 0 6.8 6.8l1.4-2 3.9 1.5v3.1a2 2 0 0 1-2.2 2A17.6 17.6 0 0 1 4.3 5.2 2 2 0 0 1 6.3 3Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.3 3h3.1l1.5 3.9-2 1.4a12.4 12.4 0 0 0 6.8 6.8l1.4-2 3.9 1.5v3.1a2 2 0 0 1-2.2 2A17.6 17.6 0 0 1 4.3 5.2 2 2 0 0 1 6.3 3Z'/%3E%3C/svg%3E"); }
.fc--mail::before  { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5.5' width='18' height='13' rx='2'/%3E%3Cpath d='m3.6 7 8.4 5.8L20.4 7'/%3E%3C/svg%3E");  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5.5' width='18' height='13' rx='2'/%3E%3Cpath d='m3.6 7 8.4 5.8L20.4 7'/%3E%3C/svg%3E"); }
.fc--hours::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.8'/%3E%3Cpath d='M12 6.8V12l3.6 2.1'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.8'/%3E%3Cpath d='M12 6.8V12l3.6 2.1'/%3E%3C/svg%3E"); }

/* Trailing "see also" link under a band's content */
.band-more { margin-top: 32px; }

.footer__bottom {
  border-top: 1px solid var(--ink-3);
  padding-block: 24px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  font: 400 12.5px/1.5 var(--mono);
  color: #8b96a7;
}
/* Underlined so the agency credit reads as a link — the site removes link
   underlines globally, which is fine inside a list of links but not for one
   link sitting inside a sentence. */
.footer__credit a { border-bottom: 1px solid rgba(255, 255, 255, .22); }
.footer__credit a:hover { color: var(--brand-300); border-color: var(--brand-300); }

/* --------------------------------------------------------------------------
   14. Inner pages: header, two-column layout, sidebar
   -------------------------------------------------------------------------- */
.page-head {
  position: relative;
  background: var(--ink);
  color: #a8b5c2;
  padding-block: 54px 62px;
  isolation: isolate;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 80px);
  mask-image: linear-gradient(to bottom, #000, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent);
}
.page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(680px 340px at 8% 128%, rgba(48, 77, 160, .40), transparent 64%),
    radial-gradient(360px 220px at 58% 140%, rgba(192, 96, 20, .10), transparent 66%);
}

/* Photographic plate behind the banner. z-index -2 keeps it under the
   measurement grid and colour blooms above. The scrim is weighted to the left,
   where the h1 and breadcrumb sit. */
.page-head--plastic, .page-head--riveting, .page-head--assembly,
.page-head--ultrasonic, .page-head--industries, .page-head--about,
.page-head--contact, .page-head--notfound { overflow: hidden; }

.page-head--plastic::before,
.page-head--riveting::before,
.page-head--assembly::before,
.page-head--ultrasonic::before,
.page-head--industries::before,
.page-head--about::before,
.page-head--contact::before,
.page-head--notfound::before {
  z-index: -2;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  mask-image: none;
  -webkit-mask-image: none;
}
.page-head--plastic::before    { background-image: linear-gradient(100deg, rgba(13,18,32,.95) 0%, rgba(13,18,32,.9) 38%, rgba(13,18,32,.62) 72%, rgba(13,18,32,.45) 100%), url("../img/head-plastic-welding.webp"); }
.page-head--riveting::before   { background-image: linear-gradient(100deg, rgba(13,18,32,.95) 0%, rgba(13,18,32,.9) 38%, rgba(13,18,32,.62) 72%, rgba(13,18,32,.45) 100%), url("../img/head-metal-riveting.webp"); }
.page-head--assembly::before   { background-image: linear-gradient(100deg, rgba(13,18,32,.95) 0%, rgba(13,18,32,.9) 38%, rgba(13,18,32,.62) 72%, rgba(13,18,32,.45) 100%), url("../img/head-assembly-automation.webp"); }
.page-head--ultrasonic::before { background-image: linear-gradient(100deg, rgba(13,18,32,.95) 0%, rgba(13,18,32,.9) 38%, rgba(13,18,32,.62) 72%, rgba(13,18,32,.45) 100%), url("../img/head-ultrasonic-metal.webp"); }
.page-head--industries::before { background-image: linear-gradient(100deg, rgba(13,18,32,.95) 0%, rgba(13,18,32,.9) 38%, rgba(13,18,32,.62) 72%, rgba(13,18,32,.45) 100%), url("../img/head-industries.webp"); }
.page-head--about::before { background-image: linear-gradient(100deg, rgba(13,18,32,.95) 0%, rgba(13,18,32,.9) 38%, rgba(13,18,32,.62) 72%, rgba(13,18,32,.45) 100%), url("../img/head-about.webp"); }
.page-head--contact::before { background-image: linear-gradient(100deg, rgba(13,18,32,.95) 0%, rgba(13,18,32,.9) 38%, rgba(13,18,32,.62) 72%, rgba(13,18,32,.45) 100%), url("../img/head-contact.webp"); }
.page-head--notfound::before { background-image: linear-gradient(100deg, rgba(13,18,32,.95) 0%, rgba(13,18,32,.9) 38%, rgba(13,18,32,.62) 72%, rgba(13,18,32,.45) 100%), url("../img/head-404.webp"); }
.page-head h1 { color: #fff; max-width: 18ch; margin-bottom: 18px; }
/* .page-head is a dark surface but is not .band--dark, so it never picked up
   that block's .lede override and fell back to --slate — a light-theme colour
   on a near-black background, measuring 2.4:1. */
.page-head .lede { max-width: 62ch; color: #a8b5c2; }
.page-head__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: end; }

/* Lifted from #7d8b99: the page-head now carries a photograph behind it, and
   the old value measured ~3:1 against the lighter parts of those images. */
.breadcrumb {
  font: 400 12px/1 var(--mono);
  letter-spacing: .06em;
  color: #aab7c4;
  margin-bottom: 26px;
}
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.breadcrumb li::after { content: "/"; margin-left: 10px; color: #6b7b8c; }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a:hover { color: var(--brand-300); }
.breadcrumb [aria-current] { color: #e2e8ee; }

/* The spec block sits on the right, where the page-head scrim is lightest and
   where several of the photographs put their brightest element. A local wash
   behind it keeps this text legible whichever image is used, without darkening
   the whole banner. */
.page-head__spec {
  position: relative;
  isolation: isolate;
  border-left: 1px solid var(--ink-3);
  padding-left: 32px;
  min-width: 220px;
}
.page-head__spec::before {
  content: "";
  position: absolute;
  inset: -22px -28px -22px -1px;
  z-index: -1;
  background: linear-gradient(to right, rgba(13, 18, 32, .45), rgba(13, 18, 32, .82) 45%, rgba(13, 18, 32, .88));
  -webkit-mask-image: linear-gradient(to right, transparent, #000 22%);
  mask-image: linear-gradient(to right, transparent, #000 22%);
}
.page-head__spec dt {
  font: 400 10.5px/1 var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #a6b3c0;
  margin-bottom: 6px;
}
.page-head__spec dd { margin: 0 0 14px; color: #dbe3ea; font-size: 14.5px; }
.page-head__spec dd:last-child { margin-bottom: 0; }

/* Two-column layout ------------------------------------------------------- */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 372px;
  gap: 64px;
  align-items: start;
  padding-block: 72px 88px;
}

.aside__card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
  overflow: hidden;
}
.aside__card > .rfq__head { border-bottom: 1px solid var(--line-2); }

.aside__contact { padding: 24px 26px 26px; }
.aside__contact h3 { font-size: 1rem; font-stretch: 106%; margin-bottom: 4px; }
.aside__contact .mono-note { margin-bottom: 16px; }
.aside__contact ul { list-style: none; margin: 0; padding: 0; }
.aside__contact li { margin-bottom: 12px; font-size: 15px; }
.aside__contact li:last-child { margin-bottom: 0; }
.aside__contact a { font-weight: 600; border-bottom: 1px solid var(--line); }
.aside__contact a:hover { color: var(--brand); border-color: var(--brand); }

.aside__nav { padding: 22px 26px 24px; }
.aside__nav h3 {
  font: 500 11px/1 var(--mono);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--slate-2);
  margin-bottom: 14px;
}
.aside__nav ul { list-style: none; margin: 0; padding: 0; }
.aside__nav li { border-top: 1px solid var(--line-2); }
.aside__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  font-size: 14.8px;
  font-weight: 500;
  transition: color .16s var(--ease), padding .16s var(--ease);
}
.aside__nav a:hover { color: var(--brand); padding-left: 5px; }
.aside__nav a[aria-current="page"] { color: var(--brand); }
.aside__nav .arr { color: var(--slate-2); font: 400 13px/1 var(--mono); }

/* --------------------------------------------------------------------------
   15. Prose / article content
   -------------------------------------------------------------------------- */
.prose > * + * { margin-top: 1.1em; }

/* Full-width banner under each industry heading, cropped 3:1 so it reads as a
   section divider rather than a photo dropped beside the copy. Re-cropped from
   the 2400x1792 originals, not squashed from the 4:3 export. */
.ind__img {
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  margin: 1.5em 0 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
/* Image and the four value cards share the row instead of the image sitting
   above them as a full-width slab (it rendered 1192x895). */
.values-layout {
  display: grid;
  grid-template-columns: 372px minmax(0, 1fr);
  gap: 44px;
  align-items: stretch;
}
/* Fills the row rather than running past the cards — the two columns end level. */
.values__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.prose h2 {
  clear: both;
  font-size: clamp(1.5rem, 1.25rem + 1vw, 1.95rem);
  margin-top: 2.2em;
  margin-bottom: .55em;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 1.16rem;
  font-stretch: 106%;
  letter-spacing: -.005em;
  margin-top: 1.9em;
  margin-bottom: .45em;
}
.prose p { color: #2c3641; }
.prose a:not(.btn):not(.tlink) {
  font-weight: 500;
  border-bottom: 1px solid var(--brand);
  transition: color .16s var(--ease), background .16s var(--ease);
}
.prose a:not(.btn):not(.tlink):hover { color: var(--brand); }

/* The "direct answer" block — the definitional paragraph on each page */
.answer {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--heat);
  border-radius: var(--radius);
  padding: 26px 30px;
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--ink);
  font-weight: 500;
}
.answer p { color: inherit; }
.answer .mono-note { margin-bottom: 10px; }

/* Spec list — what Vertex supports */
.speclist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.speclist li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 4px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  color: #2c3641;
}
.speclist li::before {
  content: counter(spec, decimal-leading-zero);
  counter-increment: spec;
  font: 500 11px/1.5 var(--mono);
  letter-spacing: .08em;
  color: var(--heat);
}
.speclist { counter-reset: spec; }

/* Two columns, reading down each in turn. CSS multi-column rather than a grid
   so it stays correct if the number of items changes — a grid would need the
   row count hardcoded. The ul's top rule spans both columns, and both columns
   start level, so the existing borders still read correctly. */
.speclist--split {
  columns: 2;
  column-gap: 56px;
}
.speclist--split li { break-inside: avoid; }

/* Technology blocks */
.tech {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
  gap: 22px;
}
.tech__item {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s var(--ease), transform .2s var(--ease),
              box-shadow .2s var(--ease);
}
.tech__item:hover {
  border-color: #c3ccd6;
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.tech__body { padding: 18px 20px 22px; }
.tech__thumb {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}
.tech__item h3 { margin: 0 0 8px; font-size: 1.04rem; }
.tech__item p { margin: 0; font-size: 15.5px; color: var(--slate); }

/* Vertical process steps on inner pages */
.vsteps { list-style: none; margin: 0; padding: 0; counter-reset: vs; }
.vsteps li {
  position: relative;
  padding: 0 0 26px 56px;
  counter-increment: vs;
}
.vsteps li::before {
  content: counter(vs, decimal-leading-zero);
  position: absolute;
  left: 0; top: 1px;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font: 500 11.5px/1 var(--mono);
  border-radius: var(--radius-sm);
}
.vsteps li::after {
  content: "";
  position: absolute;
  left: 17px; top: 42px; bottom: 6px;
  width: 1px;
  background: var(--line);
}
.vsteps li:last-child { padding-bottom: 0; }
.vsteps li:last-child::after { display: none; }
.vsteps h3 { margin: 0 0 5px; font-size: 1.02rem; }
.vsteps p { margin: 0; font-size: 15.5px; color: var(--slate); }

/* Case note inside prose */
/* Line card. The logos are supplied at different proportions, so the mark box
   is a fixed height that each one is fitted into rather than filled to --
   capping the width as well keeps the wide wordmarks from reading as louder
   than the compact ones. */
.lines {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.line {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 24px;
  transition: border-color .2s var(--ease), transform .2s var(--ease),
              box-shadow .2s var(--ease);
}
.line:hover {
  border-color: #c3ccd6;
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.line__mark {
  display: flex;
  align-items: center;
  height: 54px;
  margin-bottom: 20px;
}
.line__mark img {
  max-height: 54px;
  max-width: 175px;
  width: auto;
  height: auto;
  object-fit: contain;
}
/* A logo that is only a wordmark gets the full box height for its letterforms,
   where the others give a third of theirs to a tagline. Matching them on box
   height would leave it optically twice the size, so it is capped. */
.line--wordmark .line__mark img { max-height: 36px; }
.line__name {
  font-size: 1.06rem;
  font-stretch: 106%;
  margin-bottom: 10px;
}
.line__terr {
  display: flex;
  gap: 8px;
  font: 400 12.5px/1.5 var(--mono);
  margin-bottom: 18px;
}
.line__terr dt {
  color: var(--slate-2);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 11px;
  padding-top: 2px;
}
.line__terr dd { color: var(--ink-3); }
/* Without this the link stretches to the card width as a flex item, and its
   underline runs well past the end of the text. */
.line__link { align-self: flex-start; margin-top: auto; font-size: 14px; }

/* Closing call to action on the inner pages. It used to be a bare heading,
   paragraph and button in the prose flow and read as more body copy. */
.next-step {
  margin-top: 2.8em;
  padding: 30px 34px 34px;
  background: var(--brand-wash);
  border: 1px solid #d3ddf3;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.next-step::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 72px; height: 3px;
  background: var(--heat);
}
.next-step h2 { margin-top: 0; margin-bottom: .45em; }
.next-step p { color: #37414f; }
.next-step p:last-child { margin-top: 1.2em; }

.case {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: #a8b5c2;
  border-radius: var(--radius-lg);
  padding: 30px 32px 32px;
}
.case::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../img/bg-plant-depth.webp") center / cover no-repeat;
  /* This image carries bright bokeh highlights. Above ~.18 it lifts the panel
     enough to drop the copper eyebrow (--heat-2) under 4.5:1. */
  opacity: .16;
}
.case h3 { color: #fff; margin: 0 0 14px; font-size: 1.14rem; }
.case p { color: #a8b5c2; font-size: 15.5px; }
.case .mono-note { color: var(--heat-2); margin-bottom: 12px; }
.case__result {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--ink-3);
  color: #fff;
  font-weight: 500;
}

/* FAQ accordion ----------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
/* The question heading is only a wrapper for the button. On the inner pages the
   accordion sits inside .prose, whose `h3 { margin-top: 1.9em }` would otherwise
   apply and shove each question away from its own rule. */
.faq h3 { margin: 0; font-size: inherit; }
/* Inside .prose the accordion would otherwise inherit the 1.1em rhythm of body
   copy and sit tight under its heading. 44px matches .band-head's margin-bottom,
   which is the gap the About page's FAQ uses. */
.prose .faq { margin-top: 44px; }
.faq__q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 600;
  font-stretch: 106%;
  font-size: 1.04rem;
  line-height: 1.35;
  letter-spacing: -.005em;
  color: var(--ink);
  transition: color .16s var(--ease);
}
.faq__q:hover { color: var(--brand); }
.faq__icon { flex: none; position: relative; width: 14px; height: 14px; margin-top: 5px; }
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--brand);
  transition: transform .22s var(--ease), opacity .22s var(--ease);
}
.faq__icon::before { left: 0; top: 6px; width: 14px; height: 2px; }
.faq__icon::after { left: 6px; top: 0; width: 2px; height: 14px; }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: scaleY(0); opacity: 0; }

/* `visibility` — not just height:0 — is what keeps a collapsed answer out of
   the accessibility tree and out of the tab order. It transitions as a step,
   flipping to visible immediately on open and to hidden only once the height
   animation has finished on close. */
.faq__a {
  overflow: hidden;
  height: 0;
  visibility: hidden;
  transition: height .28s var(--ease), visibility .28s var(--ease);
}
.faq__a.is-open { visibility: visible; }
.faq__a__inner { padding: 0 56px 22px 0; font-size: 15.5px; color: var(--slate); }

/* --------------------------------------------------------------------------
   16. Contact page
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.contact-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: #a8b5c2;
  padding: 34px 34px 36px;
  border-radius: var(--radius-lg);
}
.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../img/bg-measurement-grid.webp") center / cover no-repeat;
  opacity: .5;
}
.contact-panel h2 { color: #fff; font-size: 1.35rem; margin-bottom: 6px; }
.contact-panel .mono-note { color: var(--heat-2); margin-bottom: 22px; }
/* Lighter than the other mono labels because this panel carries a background
   texture that lifts the surface behind it. */
.contact-panel dt {
  font: 400 10.5px/1 var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #a6b3c0;
  margin-bottom: 7px;
}
.contact-panel dd { margin: 0 0 20px; font-size: 16px; color: #dbe3ea; }
.contact-panel dd:last-child { margin-bottom: 0; }
.contact-panel a { border-bottom: 1px solid rgba(255, 255, 255, .2); }
.contact-panel a:hover { color: var(--brand-300); border-color: var(--brand-300); }
.contact-panel address { font-style: normal; line-height: 1.7; }

.map-embed {
  margin-top: 26px;
  border: 1px solid var(--ink-3);
  border-radius: var(--radius);
  overflow: hidden;
  filter: grayscale(1) contrast(1.05) brightness(.92);
  transition: filter .3s var(--ease);
}
.map-embed:hover { filter: grayscale(.35) contrast(1) brightness(1); }
.map-embed iframe { display: block; width: 100%; height: 260px; border: 0; }

/* --------------------------------------------------------------------------
   17. About page extras
   -------------------------------------------------------------------------- */
/* Cards, matching .cap and .tech__item, rather than a flat hairline grid. */
.values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.value {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 28px;
  overflow: hidden;
  transition: border-color .2s var(--ease), transform .2s var(--ease),
              box-shadow .2s var(--ease);
}
.value::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 52px; height: 3px;
  background: var(--heat);
  transition: width .28s var(--ease);
}
.value:hover {
  border-color: #c3ccd6;
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.value:hover::before { width: 100%; }
.value h3 { font-size: 1.06rem; font-stretch: 106%; margin-bottom: 9px; }
.value p { font-size: 15px; color: var(--slate); margin: 0; }
.value__ref {
  font: 500 11px/1 var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--heat);
  margin-bottom: 14px;
}

.territory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.terr {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--heat);
  border-radius: var(--radius);
  padding: 26px 26px 28px;
}
.terr h3 { font-size: 1.3rem; margin-bottom: 8px; }
.terr p { font-size: 14.5px; color: var(--slate); margin: 0; }

/* --------------------------------------------------------------------------
   18. Scroll reveal
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   19. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .hero__grid,
  .proof__grid { grid-template-columns: minmax(0, 1fr) 430px; gap: 44px; }
  .layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 1080px) {
  .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step { padding-bottom: 26px; }
  .step:nth-child(odd) { padding-left: 0; border-left: 0; }
  .step:nth-child(even) { padding-left: 26px; border-left: 1px solid var(--ink-3); }
  .notes { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 260px minmax(0, 1fr); gap: 40px; }
}

@media (max-width: 980px) {
  /* Stacked: one viewport for the hero stops making sense once the card sits
     under the copy, so the height constraint is dropped. */
  .hero {
    display: block;
    min-height: 0;
    padding-block: 56px 60px;
  }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero__copy { max-width: none; padding-top: 0; }
  .hero__creds { margin-top: 0; }

  /* Stacked, so viewport height no longer constrains the copy. Drop the vh
     terms — on mobile they would also resize text as the URL bar hides. */
  .hero .eyebrow { margin-bottom: 16px; }
  .hero__title {
    font-size: clamp(2rem, 1.3rem + 2.4vw, 2.9rem);
    margin-bottom: 18px;
  }
  .hero__lede { font-size: 1.05rem; margin-bottom: 26px; }
  .hero__actions { margin-bottom: 36px; }
  .hero__cred { padding-top: 18px; }

  .proof { padding-block: 60px; }
  .proof__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }

  .layout { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-block: 52px 64px; }
  .page-head__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
  .page-head__spec { border-left: 0; border-top: 1px solid var(--ink-3); padding-left: 0; padding-top: 24px; }
  .page-head__spec dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }

  .values-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .values__img { height: auto; aspect-ratio: 16 / 9; }

  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .cta-band__grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .cta-band__actions { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .header-cta { display: none; }

  /* Anchored to the header itself rather than a fixed viewport offset. The
     header is sticky (so it is the containing block) and it shrinks by 12px
     once scrolled — a hardcoded offset left a gap of page content showing
     between the header and the open menu. top:100% tracks it at any height. */
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--ink-3);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s var(--ease);
    margin: 0;
  }
  .nav.is-open { max-height: 80vh; overflow-y: auto; }
  .nav__list { flex-direction: column; align-items: stretch; padding: 8px 24px 24px; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--ink-3); }
  .nav__link { padding: 15px 0; font-size: 16px; }
  .nav__link[aria-current="page"]::after { left: 0; right: auto; width: 22px; bottom: 8px; }
  .nav__cta { display: block; margin-top: 20px; }
  .nav__cta .btn { width: 100%; }

  .lines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inds { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ind, .ind:nth-child(n+4) { grid-column: span 2; }
  .ind:nth-child(5) { grid-column: span 4; }

  .caps { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .territory { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; gap: 32px; }
  .founder__photo { max-width: 300px; }
  .tech { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  :root { --gutter: 18px; }

  .band { padding-block: 56px; }

  .hero__creds { grid-template-columns: 1fr; }
  .hero__cred { padding-right: 0; border-bottom: 1px solid var(--ink-3); padding-bottom: 18px; }
  .hero__cred:last-child { border-bottom: 0; }

  .rfq__head, .rfq__body, .aside__contact, .aside__nav { padding-inline: 22px; }
  .field__row { grid-template-columns: 1fr; }

  .lines { grid-template-columns: 1fr; }
  .inds { grid-template-columns: 1fr; }
  .ind, .ind:nth-child(n+4), .ind:nth-child(5) { grid-column: auto; }

  .rail { grid-template-columns: 1fr; }
  .step, .step:nth-child(even) { padding-left: 0; border-left: 0; }
  .step + .step { border-top: 1px solid var(--ink-3); padding-top: 26px; }

  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .page-head__spec dl { grid-template-columns: 1fr; }
  .ind__img { aspect-ratio: 2 / 1; }

  .speclist--split { columns: 1; }

  .answer { padding: 22px 22px; font-size: 16.5px; }
  .case { padding: 24px 22px 26px; }
  .cta-band__actions { flex-direction: column; }
  .cta-band__actions .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   20. Motion + print
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .aside, .cta-band, .nav-toggle, .map-embed,
  .skip-link { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .layout { grid-template-columns: 1fr; }

  /* Every dark surface has to be neutralised or it prints as a solid block. */
  .hero, .page-head, .band--dark, .case, .site-footer, .contact-panel, .rfq {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
  }
  .hero h1, .page-head h1, .case h3, .band--dark h2, .band--dark h3,
  .site-footer h3, .contact-panel h2, .founder blockquote { color: #000 !important; }
  .hero .hero__lede, .page-head .lede, .band--dark .lede, .band--dark .band-head p,
  .step p, .case p, .founder__meta dd, .contact-panel dd { color: #333 !important; }
  .site-footer, .contact-panel, .founder__meta, .hero__creds { border-color: #999 !important; }

  /* Collapsed FAQ answers should still be on the page when it is printed. */
  .faq__a { height: auto !important; visibility: visible !important; }
  .faq__icon { display: none !important; }

  a[href^="http"]::after,
  a[href^="/"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
  a[href^="#"]::after, .btn::after { content: ""; }
}

/* --------------------------------------------------------------------------
   21. Capabilities dropdown
   -------------------------------------------------------------------------- */
.nav__item { position: relative; }

.nav__link--menu {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--body);
}
.nav__link--menu .caret {
  width: 9px; height: 9px;
  border-right: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s var(--ease);
}
.nav__link--menu[aria-expanded="true"] .caret { transform: translateY(1px) rotate(-135deg); }

.submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 302px;
  list-style: none;
  margin: 0;
  padding: 8px;
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-radius: var(--radius);
  box-shadow: 0 24px 54px -20px rgba(0, 0, 0, .7);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
  z-index: 70;
}
.nav__item.is-open .submenu { opacity: 1; visibility: visible; transform: none; }

.submenu a {
  display: block;
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 500;
  color: #ccd5e2;
  transition: background .16s var(--ease), color .16s var(--ease);
}
.submenu a span {
  display: block;
  font: 400 11.5px/1.4 var(--mono);
  color: #7f8ca0;
  margin-top: 3px;
  transition: color .16s var(--ease);
}
.submenu a:hover,
.submenu a:focus-visible { background: rgba(125, 149, 216, .14); color: #fff; }
.submenu a:hover span { color: var(--brand-300); }
.submenu a[aria-current="page"] { color: #fff; background: rgba(125, 149, 216, .1); }

@media (max-width: 860px) {
  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--ink-3);
    border-radius: 0;
    background: transparent;
    min-width: 0;
    margin: 0 0 10px 4px;
    padding: 0 0 0 14px;
    display: none;
  }
  .nav__item.is-open .submenu { display: block; }
  .nav__link--menu { width: 100%; justify-content: space-between; }
  .submenu a { padding: 12px 0; }
}
