/* ==========================================================================
   MVEK Solutions AB — mveksolutions.com
   Static site. No build step, no framework, no external requests.
   Fonts are self-hosted (GDPR: no third-party font CDN calls).
   ========================================================================== */

/* --- Fonts ---------------------------------------------------------------- */
@font-face {
  font-family: 'Switzer';
  src: url('fonts/switzer-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Switzer';
  src: url('fonts/switzer-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Switzer';
  src: url('fonts/switzer-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}

/* --- Tokens --------------------------------------------------------------- */
:root {
  --blue:        #3A57FD;   /* sampled from the MVEK logo */
  --blue-hover:  #2A44E0;
  --blue-soft:   #EEF1FF;
  --navy:        #070B1F;
  --navy-2:      #0E1533;

  --ink:         #0A0E1A;
  --body:        #414B60;
  --muted:       #6B7488;
  --line:        #E5E9F2;
  --line-soft:   #EFF2F8;
  --bg:          #FFFFFF;
  --bg-soft:     #F6F8FC;

  --wrap:        1140px;
  --gutter:      clamp(20px, 5vw, 40px);
  --radius:      14px;
  --radius-lg:   22px;

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

  --shadow-sm:   0 1px 2px rgba(10,14,26,.04), 0 2px 8px rgba(10,14,26,.04);
  --shadow-md:   0 2px 4px rgba(10,14,26,.04), 0 12px 32px rgba(10,14,26,.08);
  --shadow-lg:   0 4px 8px rgba(10,14,26,.05), 0 24px 60px rgba(10,14,26,.12);
}

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

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

body {
  font-family: 'Switzer', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

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

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

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

section { position: relative; }

.section {
  padding-block: clamp(72px, 11vw, 130px);
}
.section--soft { background: var(--bg-soft); }
.section--line { border-top: 1px solid var(--line-soft); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: 12px 20px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* --- Section heading ------------------------------------------------------ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(30px, 4.4vw, 46px);
  max-width: 20ch;
}
.section-lead {
  margin-top: 22px;
  font-size: clamp(17px, 1.8vw, 19px);
  max-width: 62ch;
  color: var(--body);
}

/* --- Header --------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(255,255,255,.94);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: var(--shadow-sm);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
  list-style: none;
  padding: 0;
}
.nav-links a {
  position: relative;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--body);
  transition: color .2s var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-right { display: flex; align-items: center; gap: 18px; }

.lang {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  background: #fff;
}
.lang a {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 4px 11px;
  border-radius: 999px;
  color: var(--muted);
  transition: all .2s var(--ease);
}
.lang a[aria-current="true"] {
  background: var(--ink);
  color: #fff;
}
.lang a:not([aria-current="true"]):hover { color: var(--ink); }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 13px 24px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease),
              box-shadow .25s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; flex-shrink: 0; }

.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 1px 2px rgba(58,87,253,.24), 0 8px 22px rgba(58,87,253,.24);
}
.btn--primary:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(58,87,253,.26), 0 14px 32px rgba(58,87,253,.32);
}
.btn--primary:active { transform: translateY(0); }

.btn--light {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn--light:hover {
  border-color: #C9D2E6;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* --- Hero ----------------------------------------------------------------- */
.hero {
  /* Headline size lives here so the lead paragraph can be indented by exactly
     the lockup's footprint and line up with the first headline glyph.
     Footprint = img 1.04em + padding .22em + margin .21em + 2px rule. */
  --h1-size: clamp(40px, 7.2vw, 82px);
  --lockup-indent: calc(1.47 * var(--h1-size) + 2px);

  position: relative;
  isolation: isolate;
  background:
    radial-gradient(120% 90% at 82% 8%, rgba(58,87,253,.42) 0%, transparent 58%),
    radial-gradient(90% 80% at 8% 100%, rgba(58,87,253,.20) 0%, transparent 55%),
    linear-gradient(168deg, var(--navy-2) 0%, var(--navy) 100%);
  color: #fff;
  overflow: hidden;
  padding-block: clamp(84px, 13vw, 148px) clamp(72px, 10vw, 116px);
}

/* the MVEK swoosh, used as an oversized watermark */
.hero__mark {
  position: absolute;
  right: -14%;
  top: 44%;
  width: min(1000px, 105vw);
  opacity: .06;
  transform: rotate(-7deg);
  pointer-events: none;
  z-index: -1;
  animation: driftIn 2s var(--ease) both;
}
@keyframes driftIn {
  from { opacity: 0; transform: rotate(-7deg) translateX(60px) scale(1.06); }
  to   { opacity: .06; transform: rotate(-7deg) translateX(0) scale(1); }
}

/* fine grain, keeps the large flat gradient from banding */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .30;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
}

/* Full wrap width — the headline needs the room to break into two lines
   with the floated lockup at the head of line 1. The lead paragraph keeps
   its own narrower measure. */
.hero__inner { max-width: none; }

/* Logo mark above the headline, as on the original site.
   Uses logo-swoosh-white.png — the square source cropped to its content box,
   so the mark sits on the baseline instead of floating in transparent padding. */
/* Hero lockup — swoosh + vertical rule sitting inline to the left of the
   headline, with the remaining lines wrapping beneath it. Floated (not flex)
   so line 1 clears the mark and line 2 returns to the full measure, exactly
   as the original does. All sizing is in `em` so it tracks the h1 clamp.
   Ratios measured off the original hero at 127px headline size. */
.hero__lockup {
  float: left;
  display: flex;
  align-items: center;
  height: 1.06em;
  padding-right: .22em;
  margin: .10em .21em 0 0;
  border-right: 2px solid rgba(255, 255, 255, .5);
}
.hero__lockup img {
  width: 1.04em;
  height: auto;
}

.hero h1 {
  color: #fff;
  font-size: var(--h1-size);
  font-weight: 600;
  letter-spacing: -0.042em;
  /* 1.06 rather than a tighter 1.0 — Swedish å/ä/ö need ascender headroom */
  line-height: 1.06;
  /* No explicit measure — the 1140px wrap constrains it, which lets the
     headline break into two lines as the original does, with the floated
     lockup occupying the head of line 1. */
  max-width: none;
}
.hero h1 em {
  font-style: normal;
  color: transparent;
  background: linear-gradient(96deg, #A9BAFF 0%, #6E8CFF 55%, #3A57FD 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero__lead {
  margin-top: 28px;
  /* indent past the logo + rule so this lines up with the headline's first
     glyph rather than with the logo */
  margin-left: var(--lockup-indent);
  font-size: clamp(17px, 2.1vw, 20.5px);
  line-height: 1.62;
  color: rgba(255,255,255,.72);
  max-width: 56ch;
}

/* --- 404 ------------------------------------------------------------------ */
.notfound {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: clamp(60px, 10vw, 100px);
}
.notfound__inner { max-width: 620px; }
.notfound__logo { width: clamp(104px, 9.5vw, 136px); height: auto; margin-bottom: 34px; }
.notfound__code {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  color: rgba(255,255,255,.42);
  margin-bottom: 14px;
}
.notfound h1 {
  color: #fff;
  font-size: clamp(32px, 5.4vw, 54px);
  letter-spacing: -0.035em;
  line-height: 1.08;
}
.notfound__lead {
  margin-top: 18px;
  font-size: clamp(16px, 1.9vw, 18.5px);
  color: rgba(255,255,255,.70);
}
.notfound__actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.notfound__contact {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.13);
  font-size: 15px;
  color: rgba(255,255,255,.52);
}
.notfound__contact a {
  color: #fff;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,.3);
  transition: border-color .2s var(--ease);
}
.notfound__contact a:hover { border-bottom-color: #fff; }

/* --- Stat strip ----------------------------------------------------------- */
.stats {
  margin-top: clamp(58px, 8vw, 86px);
  padding-top: clamp(34px, 4vw, 46px);
  border-top: 1px solid rgba(255,255,255,.13);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 34px 28px;
  /* centre each stat inside its column so the row reads as balanced across
     the full width, rather than clustering to the left with dead space
     trailing off the last column */
  justify-items: center;
}
.stat { text-align: center; }
.stat__num {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
  color: #fff;
}
.stat__label {
  margin-top: 11px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255,255,255,.56);
}

/* --- About ---------------------------------------------------------------- */
/* Section heading left, body copy right — mirrors the original About layout */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.about-copy p + p { margin-top: 20px; }

/* Sits under the platform card in "What we've built" — a 3-up row rather
   than the vertical stack it was when it lived in the About column. */
.principles {
  margin-top: clamp(30px, 4vw, 46px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
}
.principle {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              border-color .3s var(--ease);
}
.principle:hover {
  transform: translateY(-3px);
  border-color: #D3DCF2;
  box-shadow: var(--shadow-md);
}
.principle__icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--blue-soft);
  color: var(--blue);
}
.principle__icon svg { width: 19px; height: 19px; }
.principle h3 { font-size: 16.5px; font-weight: 600; }
.principle p { margin-top: 6px; font-size: 15px; line-height: 1.55; color: var(--muted); }

/* --- Platform / portfolio ------------------------------------------------- */
.platform {
  margin-top: clamp(40px, 5vw, 58px);
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.platform__intro {
  padding: clamp(32px, 4.4vw, 50px);
  background:
    radial-gradient(110% 80% at 100% 0%, rgba(58,87,253,.30) 0%, transparent 60%),
    linear-gradient(165deg, var(--navy-2), var(--navy));
  color: #fff;
  display: flex;
  flex-direction: column;
}
.platform__intro h3 {
  color: #fff;
  font-size: clamp(27px, 3.4vw, 36px);
  letter-spacing: -0.032em;
}
.platform__intro p {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.62;
  color: rgba(255,255,255,.70);
}
.platform__legacy {
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.11);
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,.68);
}
.platform__legacy strong { color: #fff; font-weight: 600; }
.platform__cta { margin-top: auto; padding-top: 30px; }

.platform__list { padding: clamp(26px, 3.4vw, 38px); }
.platform__list h4 {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.conditions {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
  gap: 8px;
  list-style: none;
  padding: 0;
}
.condition {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  transition: background .2s var(--ease), border-color .2s var(--ease),
              transform .2s var(--ease), box-shadow .25s var(--ease);
}
.condition__label { min-width: 0; flex: 1; }

/* icon tile — per-item colour set inline via --c-fg / --c-bg */
.condition__icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--c-bg, var(--blue-soft));
  color: var(--c-fg, var(--blue));
  transition: transform .3s var(--ease);
}
.condition__icon svg { width: 18px; height: 18px; }

.condition__arrow {
  width: 15px; height: 15px;
  flex-shrink: 0;
  color: var(--muted);
  opacity: 0;
  transform: translateX(-5px);
  transition: all .25s var(--ease);
}
.condition:hover {
  background: #fff;
  border-color: var(--line);
  transform: translateX(3px);
  box-shadow: var(--shadow-sm);
}
.condition:hover .condition__icon { transform: scale(1.07); }
.condition:hover .condition__arrow { opacity: 1; transform: translateX(0); color: var(--ink); }

/* --- Team ----------------------------------------------------------------- */
.team {
  margin-top: clamp(40px, 5vw, 56px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: clamp(20px, 3vw, 34px);
}
.member { text-align: center; }
.member__photo {
  position: relative;
  width: min(180px, 100%);
  margin-inline: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-soft);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.member__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.02);
  transition: filter .5s var(--ease), transform .6s var(--ease);
}
.member:hover .member__photo {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.member:hover .member__photo img {
  transform: scale(1.05);
}
.member h3 {
  margin-top: 20px;
  font-size: 18px;
  font-weight: 600;
}
.member p {
  margin-top: 3px;
  font-size: 14.5px;
  color: var(--muted);
}

/* --- Contact -------------------------------------------------------------- */
.contact-grid {
  display: grid;
  /* heading + lead left, mailto card right — no longer a wide form column */
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

/* The whole card is the mailto target — bigger hit area than a bare link,
   and it reads as an action rather than a piece of text. */
.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 18px;
  padding: 26px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .3s var(--ease),
              border-color .25s var(--ease);
}
.contact-card:hover {
  transform: translateY(-3px);
  border-color: #C9D2E6;
  box-shadow: var(--shadow-md);
}
.contact-card__label {
  grid-column: 1;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-card__value {
  grid-column: 1;
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--ink);
  overflow-wrap: anywhere;
  transition: color .2s var(--ease);
}
.contact-card__arrow {
  grid-column: 2;
  grid-row: 1 / 3;
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--muted);
  transition: transform .25s var(--ease), color .25s var(--ease);
}
.contact-card:hover .contact-card__value { color: var(--blue); }
.contact-card:hover .contact-card__arrow { color: var(--blue); transform: translateX(4px); }

.contact-meta {
  margin-top: 22px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* --- Footer --------------------------------------------------------------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.56);
  padding-block: clamp(46px, 6vw, 66px);
  font-size: 14.5px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.site-footer .brand { color: #fff; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  list-style: none;
  padding: 0;
}
.footer-nav a { transition: color .2s var(--ease); }
.footer-nav a:hover { color: #fff; }
.footer-bot {
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  justify-content: space-between;
  font-size: 13.5px;
  color: rgba(255,255,255,.44);
}

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

/* stagger children */
.reveal-group > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal-group.is-in > * { opacity: 1; transform: none; }
.reveal-group.is-in > *:nth-child(1) { transition-delay: .00s; }
.reveal-group.is-in > *:nth-child(2) { transition-delay: .07s; }
.reveal-group.is-in > *:nth-child(3) { transition-delay: .14s; }
.reveal-group.is-in > *:nth-child(4) { transition-delay: .21s; }
.reveal-group.is-in > *:nth-child(5) { transition-delay: .28s; }
.reveal-group.is-in > *:nth-child(6) { transition-delay: .35s; }

/* hero loads immediately rather than on scroll */
.hero__inner > * { animation: riseIn .85s var(--ease) both; }
.hero__inner > *:nth-child(1) { animation-delay: .05s; }
.hero__inner > *:nth-child(2) { animation-delay: .13s; }
.hero__inner > *:nth-child(3) { animation-delay: .21s; }
.hero__inner > *:nth-child(4) { animation-delay: .29s; }
.hero .stats { animation: riseIn .85s var(--ease) .37s both; }
@keyframes riseIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* --- Responsive ----------------------------------------------------------- */
/* The nav needs ~960px before the 4 links, language toggle and CTA fit
   without colliding with the wordmark. Below that, drop the links — the
   page is short and the footer carries the same navigation. */
@media (max-width: 960px) {
  .nav-links { display: none; }
}

@media (max-width: 900px) {
  .about-grid,
  .contact-grid,
  .platform { grid-template-columns: 1fr; }
  .platform__intro { border-radius: 0; }
}

@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .nav { height: 66px; }
  .stats { gap: 26px 20px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  /* too little width left to give the indent away on phones */
  .hero__lead { margin-left: 0; }
}

/* --- Print ---------------------------------------------------------------- */
@media print {
  .site-header, .hero__mark { display: none; }
  .hero { background: #fff; color: #000; }
  .hero h1, .hero h1 em { color: #000; -webkit-text-fill-color: #000; }
  body { font-size: 12pt; }
}

/* --- Reduced motion ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal, .reveal-group > * { opacity: 1 !important; transform: none !important; }
  .hero__inner > *, .hero .stats { animation: none !important; opacity: 1; }
}
