/* ============================================================================
   uncorde — site.css
   Desktop-first. Base styles = desktop (1440 design width).
   Breakpoints:  tablet 768–1199  |  mobile <768
   ========================================================================== */

/* --- Tokens (from the Purist design file) --------------------------------- */
:root {
  --navy: #0F1F2B;
  --navy-deep: #0A1620;
  --green: #38B27E;
  --green-hover: #2C9466;
  --green-soft: #E9F7F1;
  --lavender: #F3F1FA;
  --grey: #F4F6F8;
  --surface: #F0F5FF;
  --ink: #111820;
  --heading: #1A2A3A;
  --body: #4B5761;
  --body-alt: #4A5A6A;
  --paragraph: #33415C;
  --muted: #8A959E;
  --line: #E2E6EA;

  --font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --pad-x: 80px;
  --header-h: 76px;
  --container: 1240px;
  --radius: 8px;
  --speed: 0.18s;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, figure { margin: 0; }
h1, h2, h3 { font-weight: 600; }
a { color: inherit; }

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

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  border-radius: 6px;
  transition: top var(--speed) ease;
}
.skip-link:focus { top: 12px; }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 32px;
  border: 0;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--speed) ease, transform var(--speed) ease;
}
.btn:hover { background: var(--green-hover); }
.btn:active { transform: translateY(1px); }

.btn--card {
  width: 100%;
  height: 44px;
  margin-top: auto;
  font-size: 14px;
}
.card .btn--card { background: var(--accent, var(--green)); }
.card .btn--card:hover { background: var(--accent, var(--green)); filter: brightness(0.93); }
.btn--block { width: 100%; height: 50px; }
.btn--copy { align-self: flex-start; height: 48px; padding: 0 26px; font-size: 14px; margin-top: 4px; }

/* --- Header --------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--navy);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 var(--pad-x);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.wordmark img {
  display: block;
  height: 26px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav__item { position: relative; }

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.1px;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: opacity var(--speed) ease;
}
.nav__link:hover { opacity: 0.78; }

.nav__chevron { width: 14px; height: 14px; flex-shrink: 0; opacity: 0.9; transition: transform var(--speed) ease; }

.nav__item--menu:hover > .nav__link .nav__chevron,
.nav__item--menu:focus-within > .nav__link .nav__chevron { transform: rotate(180deg); }

.nav__menu {
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 232px;
  padding: 8px;
  margin-top: 14px;
  /* same surface as the header it hangs from */
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--speed) ease, transform var(--speed) ease, visibility var(--speed) ease;
}
/* invisible bridge so the pointer can cross the gap */
.nav__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }

.nav__item--menu:hover .nav__menu,
.nav__item--menu:focus-within .nav__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__menu-link {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: background var(--speed) ease, color var(--speed) ease;
}
.nav__menu-link:hover { background: rgba(255, 255, 255, 0.06); color: var(--green); }

.nav-toggle { display: none; }

/* --- Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px var(--pad-x);
  text-align: center;
  overflow: hidden;
}

.hero--home {
  min-height: 620px;
  background-color: var(--navy);
}
.hero--short { min-height: 440px; }

.hero--page {
  height: 620px;
  padding: 0 var(--pad-x);
  background: var(--navy-deep);
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hero__photo {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero__photo--pending {
  background-image:
    radial-gradient(ellipse 70% 80% at 28% 18%, rgba(34, 122, 112, 0.45) 0%, rgba(11, 29, 38, 0) 62%),
    linear-gradient(150deg, #2C4A56 0%, #17313C 55%, #0B1D26 100%);
}

.hero__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* one flat mask over the whole frame, in the header navy */
  background: rgba(15, 31, 43, 0.75);
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 760px;
}
.hero--home .hero__content { max-width: 760px; gap: 22px; }

.hero__headline {
  font-size: 54px;
  line-height: 62px;
  font-weight: 600;
  letter-spacing: -1.8px;
  color: #fff;
}
.hero--home .hero__headline { font-size: 52px; line-height: 60px; letter-spacing: -1.6px; }

.hero__subhead {
  font-size: 17px;
  line-height: 27px;
  letter-spacing: -0.1px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 660px;
}
.hero--home .hero__subhead { max-width: 540px; }

/* --- Sections ------------------------------------------------------------- */
.section {
  padding: 96px var(--pad-x);
  background: transparent;
}
/* The page colour is continuous from below the hero to the contact block, so the
   section variants no longer paint anything — they only carry spacing. */
.section--grey { background: transparent; }
.section--lavender { background: transparent; padding: 96px var(--pad-x) 110px; }

.section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}
.section__inner--narrow { max-width: 1120px; gap: 52px; }

.section__heading {
  font-size: 34px;
  line-height: 42px;
  font-weight: 600;
  letter-spacing: -0.8px;
  color: var(--heading);
  text-align: center;
}
.section--lavender .section__heading { color: var(--ink); letter-spacing: -1px; }

/* --- Two column (Challenges) ---------------------------------------------- */
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 600px;
  gap: 80px;
  align-items: center;
  width: 100%;
}
.two-col__copy { display: flex; flex-direction: column; gap: 20px; }
.two-col__copy p {
  font-size: 16px;
  line-height: 30px;
  color: var(--paragraph);
}

.two-col__media {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 4px;
}
.two-col__media--pending {
  background-image: linear-gradient(150deg, #CBBBA4 0%, #B7C3C6 55%, #8FA3A8 100%);
}
/* The farmer photo is portrait: let it keep its own proportions rather than
   cropping it to the landscape slot. Specificity beats the breakpoint heights. */
.two-col .two-col__media--natural { height: auto; }

/* --- Solutions grid ------------------------------------------------------- */
.solutions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 72px 56px;
  width: 100%;
}
.solution {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  scroll-margin-top: calc(var(--header-h) + 32px);
}
.solution__icon { width: 72px; height: 72px; object-fit: contain; }
.solution__icon--pending {
  display: grid;
  place-items: center;
  border: 1px dashed #A9DDC6;
  border-radius: 8px;
  background: var(--green-soft);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6FA98F;
}
.solution__title {
  margin-top: 24px;
  font-size: 16px;
  line-height: 22px;
  font-weight: 700;
  letter-spacing: -0.1px;
  color: var(--heading);
}
.solution__copy {
  margin-top: 8px;
  max-width: 320px;
  font-size: 14px;
  line-height: 26px;
  color: var(--body-alt);
}

/* --- Homepage cards ------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  align-items: stretch;
}

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--speed) ease, transform var(--speed) ease;
}
.card:hover { box-shadow: 0 14px 32px rgba(10, 20, 27, 0.09); transform: translateY(-2px); }

.card__accent { height: 4px; background: var(--accent, var(--green)); }

.card__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 26px 22px;
  background: var(--tint, transparent);
}
.card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding: 0 26px 26px;
}

.card__icon { width: 44px; height: 44px; border-radius: 6px; object-fit: contain; }
.card__icon--pending {
  display: grid;
  place-items: center;
  border: 1px dashed #A9DDC6;
  background: var(--green-soft);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6FA98F;
}

.card__title {
  margin-top: 18px;
  font-size: 20px;
  line-height: 26px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--ink);
  text-align: center;
}
.card__subtitle {
  margin-top: 6px;
  font-size: 13px;
  line-height: 19px;
  color: var(--muted);
  text-align: center;
}

.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  padding: 24px 0 22px;
  flex: 1;
}
.checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  line-height: 19px;
  color: var(--body);
}
.checklist__tick {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--green);
}
.card .checklist__tick { color: var(--accent, var(--green)); }

/* --- Case studies --------------------------------------------------------- */
.case-study {
  display: grid;
  grid-template-columns: 540px minmax(0, 1fr);
  gap: 88px;
  align-items: center;
  width: 100%;
}
.case-study__media {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 4px;
}
.case-study__media--pending {
  background-image: linear-gradient(150deg, #CBBBA4 0%, #B7C3C6 55%, #8FA3A8 100%);
}
.case-study__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.case-study__title {
  font-size: 17px;
  line-height: 24px;
  font-weight: 700;
  letter-spacing: -0.1px;
  color: var(--heading);
}
.case-study__body {
  max-width: 560px;
  font-size: 15px;
  line-height: 28px;
  color: var(--body-alt);
}

.logo-marquee {
  width: 100%;
  overflow: hidden;
  padding-top: 8px;
  --logo-scale: 1;
}
.logo-marquee__track {
  display: flex;
  width: max-content;
  animation: logo-marquee 48s linear infinite;
}
.logo-marquee:hover .logo-marquee__track,
.logo-marquee:focus-within .logo-marquee__track { animation-play-state: paused; }

.logo-marquee__group {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
/* margin, not gap: each half must be exactly half the track or the loop jumps */
.logo-marquee__group .logo { margin-right: 72px; }

@keyframes logo-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
/* Each logo is set by eye, not by a shared height: a stack of solid BBC blocks
   and a thin VOLTSERVER wordmark never read as the same size in the same box. */
.logo img {
  height: calc(var(--logo-h, 26px) * var(--logo-scale, 1));
  width: auto;
  max-width: none;
}
.logo--cisco { --logo-h: 32px; }
.logo--bbc { --logo-h: 23px; }
.logo--strathclyde { --logo-h: 40px; }
.logo--bt { --logo-h: 27px; }
.logo--voltserver { --logo-h: 26px; }
.logo--shefa { --logo-h: 21px; }

/* --- Contact -------------------------------------------------------------- */
.contact {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 780px;
  padding: 96px var(--pad-x);
  overflow: hidden;
}
.contact__bg {
  position: absolute;
  inset: 0;
  background-color: var(--navy-deep);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.contact__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 31, 43, 0.72);
}

.contact__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  text-align: center;
}
.contact__heading {
  margin-bottom: 12px;
  font-size: 38px;
  line-height: 46px;
  font-weight: 600;
  letter-spacing: -1.1px;
  color: #fff;
}
.contact__subhead {
  margin-bottom: 30px;
  font-size: 15px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.88);
}

.form { display: flex; flex-direction: column; gap: 16px; width: 100%; }

/* Glass fields: the photo behind stays visible through the input, so the form
   sits in the image rather than on top of it. */
.field {
  width: 100%;
  height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.10);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  font-family: var(--font);
  font-size: 14px;
  line-height: 20px;
  color: #fff;
  transition: background var(--speed) ease, border-color var(--speed) ease, box-shadow var(--speed) ease;
}
.field::placeholder { color: rgba(255, 255, 255, 0.66); }
.field:hover { background: rgba(255, 255, 255, 0.14); }
.field:focus,
.field:focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0.20);
  border-color: rgba(255, 255, 255, 0.75);
}
/* Safari paints autofilled fields solid; keep them glass */
.field:-webkit-autofill {
  -webkit-text-fill-color: #fff;
  -webkit-box-shadow: 0 0 0 1000px rgba(15, 31, 43, 0.30) inset;
  caret-color: #fff;
}
.field--area { height: 180px; padding: 14px 16px; line-height: 22px; resize: vertical; }

/* Honeypot: positioned off-screen rather than display:none, because some bots
   skip hidden fields but happily fill an invisible one. */
.field-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.flash {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin: 0 0 18px;
  padding: 0;
}
.flash__item {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 13px;
  line-height: 18px;
  color: #fff;
  text-align: left;
}
.flash__item--error { background: rgba(196, 72, 72, 0.32); }
.flash__item--ok { background: rgba(56, 178, 126, 0.5); }

/* --- Footer --------------------------------------------------------------- */
.footer { background: var(--navy); color: #fff; }

.footer__main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 64px;
  padding: 72px var(--pad-x) 64px;
}
.footer__brand { display: flex; flex-direction: column; gap: 14px; width: 280px; flex-shrink: 0; }
.wordmark--footer img { height: 28px; }
.footer__tagline { font-size: 13px; line-height: 20px; color: rgba(255, 255, 255, 0.5); }

.footer__links { display: flex; gap: 72px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; min-width: 130px; }
.footer__col-title {
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
}
.footer__link {
  font-size: 13px;
  line-height: 18px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color var(--speed) ease;
}
.footer__link:hover { color: #fff; }

.footer__base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px var(--pad-x) 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  line-height: 18px;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================================================
   TABLET — 768 to 1199
   ========================================================================== */
@media (max-width: 1199px) {
  :root {
    --pad-x: 40px;
    --header-h: 64px;
  }

  .wordmark img { height: 22px; }
  .nav { gap: 24px; }

  .hero--home { min-height: 540px; padding: 88px var(--pad-x); }
  .hero--page { height: 520px; }
  .hero__content { gap: 18px; max-width: 640px; }
  .hero__headline,
  .hero--page .hero__headline { font-size: 40px; line-height: 48px; letter-spacing: -1.2px; }
  .hero__subhead { font-size: 15px; line-height: 25px; }

  .section { padding: 72px var(--pad-x); }
  .section--lavender { padding: 72px var(--pad-x) 80px; }
  .section__inner { gap: 40px; }
  .section__inner--narrow { gap: 32px; }
  .section__heading { font-size: 28px; line-height: 36px; letter-spacing: -0.6px; }

  /* Three cards stay the same width: fixed 3-track grid, no flex-basis stretching */
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .card__head { padding: 24px 16px 18px; }
  .card__body { padding: 0 16px 20px; }
  .card__brand { padding: 0; }
  .card__title { margin-top: 14px; font-size: 18px; line-height: 24px; }
  .card__subtitle { font-size: 12px; line-height: 18px; }
  .checklist { gap: 10px; padding: 18px 0 16px; }
  .checklist__item { gap: 7px; font-size: 13px; line-height: 18px; }

  .two-col { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .two-col__media { height: 320px; }
  .two-col__copy p { font-size: 15px; line-height: 28px; }

  .solutions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 40px; }

  .case-study { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .case-study__media { height: 320px; }
  .logo-marquee { --logo-scale: 0.92; }
  .logo-marquee__group .logo { margin-right: 56px; }

  .contact { min-height: 0; padding: 80px var(--pad-x); }
  .contact__heading { font-size: 32px; line-height: 40px; }

  .footer__main { flex-direction: column; gap: 32px; padding: 48px var(--pad-x) 40px; }
  .footer__brand { width: 100%; }
  .footer__links { flex-direction: column; gap: 28px; width: 100%; }
  .footer__col { gap: 10px; }
  .footer__base { padding: 18px var(--pad-x) 22px; }
}

/* ============================================================================
   MOBILE — below 768
   ========================================================================== */
@media (max-width: 767px) {
  :root {
    --pad-x: 20px;
    --header-h: 64px;
  }

  /* Mobile nav */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    margin-right: -8px;
    padding: 0 8px;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .nav-toggle__bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    transition: transform var(--speed) ease, opacity var(--speed) ease;
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - var(--header-h));
    padding: 4px var(--pad-x) 24px;
    overflow-y: auto;
    background: var(--navy);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.35);
  }
  .nav.is-open { display: flex; }

  .nav__item { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .nav__link {
    justify-content: space-between;
    width: 100%;
    padding: 16px 0;
    font-size: 16px;
  }

  .nav__menu {
    position: static;
    display: none;
    min-width: 0;
    margin: 0 0 12px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav__menu::before { display: none; }
  .nav__item--menu.is-open .nav__menu { display: block; }
  .nav__item--menu.is-open > .nav__link .nav__chevron { transform: rotate(180deg); }
  .nav__menu-link { padding: 10px 0 10px 14px; color: rgba(255, 255, 255, 0.72); }
  .nav__menu-link:hover { background: transparent; color: #fff; }

  /* Hero */
  .hero--home { min-height: 460px; padding: 72px var(--pad-x); }
  .hero--page { height: 460px; }
  .hero--short { min-height: 380px; }
  .hero__content { gap: 16px; }
  .hero__headline,
  .hero--page .hero__headline { font-size: 30px; line-height: 38px; letter-spacing: -0.9px; }
  .hero--home .hero__headline { font-size: 30px; line-height: 38px; letter-spacing: -0.9px; }
  .hero__subhead { font-size: 15px; line-height: 25px; }

  .btn { height: 48px; padding: 0 24px; font-size: 14px; }
  .btn--card { height: 44px; }
  .btn--copy { width: 100%; }

  .section { padding: 56px var(--pad-x); }
  .section--lavender { padding: 56px var(--pad-x) 64px; }
  .section__inner { gap: 32px; }
  .section__heading { font-size: 24px; line-height: 32px; letter-spacing: -0.6px; }

  .cards { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .card__head { padding: 26px 22px 20px; }
  .card__body { padding: 0 22px 22px; }

  .two-col { gap: 32px; }
  .two-col__media { height: 240px; }
  .two-col__copy { gap: 18px; }
  .two-col__copy p { font-size: 15px; line-height: 27px; }

  .solutions { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .solution__copy { font-size: 14px; line-height: 25px; }

  .case-study { gap: 28px; }
  .case-study__media { height: 220px; }
  .case-study__body { font-size: 14px; line-height: 26px; }

  .logo-marquee { --logo-scale: 0.8; }
  .logo-marquee__group .logo { margin-right: 40px; }

  .contact { padding: 64px var(--pad-x); }
  .contact__heading { font-size: 30px; line-height: 38px; }
  .contact__subhead { margin-bottom: 24px; }
  .field--area { height: 150px; }

  .footer__main { padding: 40px var(--pad-x) 32px; gap: 28px; }
  .footer__links { gap: 24px; }
  .footer__col { min-width: 0; }
  .wordmark--footer img { height: 24px; }
  .footer__base {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px var(--pad-x) 22px;
  }
}

/* --- Reduced motion ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .logo-marquee { overflow-x: auto; }
  .logo-marquee__track { animation: none !important; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
