/* =========================================
   WORDPRESS / DIVI: page runs full width, no theme chrome
   (only affects the page this block is on)
========================================= */
html, body { margin: 0 !important; padding: 0 !important; }
html { scrollbar-gutter: auto !important; scroll-behavior: auto !important; }
/* Theme header, page title and footer: the page has its own */
body > header, .site-header, #masthead, header.wp-block-template-part,
.entry-header, .page-header, h1.entry-title, .wp-block-post-title,
body > footer, .site-footer, #colophon, footer.wp-block-template-part {
  display: none !important;
}
/* Theme spacing above and around the content */
.wp-site-blocks, .site, .site-content, #content, #primary, .site-main, main,
article, .entry-content, .post-content, .page-content, .content-area,
.wp-block-post-content, .is-layout-constrained, .is-layout-flow {
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
/* ----- Divi ----- */
#main-header, #top-header, #et-top-navigation, #main-footer, #footer-bottom,
.et-l--header, .et-l--footer, #sidebar, .et_pb_scroll_top {
  display: none !important;
}
#page-container, #et-boc, #et-main-area, #main-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
#main-content .container, #left-area, .et_pb_post, .et_pb_section, .et_pb_row,
.et_pb_column, .et_pb_module, .et_pb_code, .et_pb_code_inner, .et_pb_text_inner,
.et_builder_inner_content, .et-l--post {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
#main-content .container::before { display: none !important; }
#left-area { width: 100% !important; padding-right: 0 !important; float: none !important; }
.et_pb_row { width: 100% !important; max-width: none !important; }
#main-content { background: #000 !important; }
.entry-content > p:empty, .et_pb_code_inner > p:empty, .et_pb_text_inner > p:empty,
.entry-content > p:has(> br:only-child), .et_pb_code_inner > p:has(> br:only-child) {
  display: none !important;
}
/* ----- Undo the theme's default typography inside the page -----
   (Divi colours every heading grey, adds padding to headings and
   paragraphs, bullets on lists, and its own link and input styles) */
.ces-page :where(h1, h2, h3, h4, h5, h6) {
  color: inherit;
  line-height: normal;
}
.ces-page h1, .ces-page h2, .ces-page h3,
.ces-page h4, .ces-page h5, .ces-page h6 {
  padding-bottom: 0;
  margin: 0;
}
.ces-page p { padding-bottom: 0; }
.ces-page ul, .ces-page ol,
#left-area .ces-page ul, .entry-content .ces-page ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.ces-page li { list-style: none !important; padding: 0; margin: 0; }
.ces-page li::before, .ces-page li::marker { content: none; }
.ces-page :where(a) { color: inherit; text-decoration: none; }
.ces-page input[type="text"], .ces-page input[type="tel"], .ces-page input[type="email"] {
  background: transparent !important;
  color: var(--navy) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.ces-page img { max-width: none; }
/* Break out of the theme's narrow column straight away */
.ces-page {
  -webkit-tap-highlight-color: transparent;
  position: relative;
  width: calc(100vw - var(--ces-sb, 0px));
  max-width: none !important;
  margin: 0 calc(50% - 50vw + var(--ces-sb, 0px) / 2) !important;
  overflow-x: clip;
  background: #000;
}
.ces-page > * { margin-top: 0; }
.ces-page p:empty { display: none; }
/* =========================================
   BASE
========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --navy: #1a3350;
  --blue: #a2b2d1;  /* exact light blue from the PSD */
  --ring: #3570a8;
  --text: #4a5568;
  --panel: #1e3450;
  --font-title: 'Montserrat', sans-serif;
  --font-body: 'Sora', sans-serif;
}
html {
  -webkit-tap-highlight-color: transparent; /* no dark box flashing on tap (phones) */
  scroll-behavior: auto; /* menu links use the quicker scroll in script.js */
}
body {
  background: #000;
  color: #fff;
  overflow-x: clip;
  font-family: var(--font-body);
}
button, input, textarea, select { font: inherit; }
section, [id] { scroll-margin-top: 30px; }
/* =========================================
   FONTS: titles in Montserrat, body in Sora
========================================= */
.logo-text,
.nav-links a,
.hero-content h1,
.btn,
.about .intro h2,
.section-title,
.type-heading,
.iso h3,
.btn-outline,
.outcome h2,
.outcome .values,
.submit-btn {
  font-family: var(--font-title);
}
/* =========================================
   1. HERO
========================================= */
.hero {
  position: relative;
  min-height: 856px;
  background: #000 url("//coelect.com.au/wp-content/uploads/2026/10/hero.jpg") center / cover no-repeat;
  overflow: hidden;
  padding: 0 13% 80px;
  display: flex;
  flex-direction: column;
}
/* Navy overlay that fades out to the right (matches the PSD "Overlay" layer) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg,
    rgba(24, 56, 81, 0.99) 0%,
    rgba(24, 56, 81, 0.71) 42%,
    rgba(24, 56, 81, 0.18) 68%,
    rgba(24, 56, 81, 0) 87%);
}
/* Faint CES mark on the right (PSD "Overlay Logo", 8% opacity) */
.hero::after {
  content: "";
  position: absolute;
  left: 70.8%;
  top: 30.5%;
  width: 36%;
  aspect-ratio: 693 / 702;
  z-index: 0;
  background: url("//coelect.com.au/wp-content/uploads/2026/10/overlay-logo.png") center / contain no-repeat;
  opacity: 0.08;
  pointer-events: none;
}
.ces-page nav {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 100px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #fff;
}
.logo-img { display: block; height: 85px; width: auto; }
.logo-text {
  line-height: 1.05;
  letter-spacing: 3px;
  font-size: 24px;
  font-weight: 400;
}
.logo-text .top { color: #8fa3d9; font-weight: 700; }
.nav-links { display: flex; gap: 40px; list-style: none; }
/* Three-line menu button (phones and tablets only) */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 2;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 44px;
  height: 44px;
  padding: 0 6px;
  margin-right: -6px;
  border: none;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: var(--blue);
  transition: transform 0.3s ease, opacity 0.2s ease;
}
/* Turns into an X while the menu is open */
.ces-page nav.open .nav-toggle span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.ces-page nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.ces-page nav.open .nav-toggle span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }
.nav-toggle:focus:not(:focus-visible) { outline: none; }
body.menu-open .to-top { opacity: 0; visibility: hidden; }
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: #8fa3d9;
  border-bottom-color: #8fa3d9;
}
.hero-content {
  position: relative;
  z-index: 2;
  margin-top: 140px;
  max-width: 1100px;
}
.hero-content h1 {
  color: #fff;
  font-size: clamp(36px, 4.4vw, 68px);
  font-weight: 700;
  line-height: 1.2;
}
.hero-content p {
  margin-top: 50px;
  font-size: clamp(18px, 1.6vw, 30px);
  font-weight: 400;
  color: #9aa0b5;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 70px;
  padding: 18px 30px;
  border: 2px solid #fff;
  border-radius: 40px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: color 0.45s ease, box-shadow 0.45s ease, transform 0.2s ease;
}
/* ---------- Shared button hover: fill sweeps in, arrow loops ---------- */
.btn,
.btn-outline,
.submit-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn::before,
.btn-outline::before,
.submit-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.55s cubic-bezier(.65, 0, .35, 1);
}
.btn::before { background: #fff; }
.btn-outline::before,
.submit-btn::before { background: var(--navy); }
.btn:hover::before,
.btn-outline:hover::before,
.submit-btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}
.btn:hover {
  color: #000;
  box-shadow: 0 10px 34px rgba(143, 163, 217, 0.35);
}
.btn-outline:hover,
.submit-btn:hover {
  color: #fff;
  border-color: var(--navy);
  box-shadow: 0 10px 30px rgba(26, 51, 80, 0.25);
}
.btn:active,
.btn-outline:active,
.submit-btn:active { transform: scale(0.97); }
/* The PSD arrow, used as a mask so it can change colour */
.btn-arrow {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  width: 24px;
  height: 16px;
}
.btn-arrow i {
  display: block;
  width: 19px;
  height: 14px;
  background-color: currentColor;
  -webkit-mask: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAOCAYAAADNGCeJAAAAjUlEQVR4nOXSIQ7CQBBA0b+0GocgIcWgOCk3QFZRwSmqegEESUMCR0CSIH4FFU2gYrd1jJpkMy+zMwMRoVbqQ939el/EYMAd2AK1WkTWfnUW1KOfuKmbPwSD2gD7RDMAyz6/5sALeCZi2QB7JxqgZuqp/+ZFXaVCQS0H81pPgaZvctaTUA9z3tZZbcegDpfivFj3LiatAAAAAElFTkSuQmCC") center / contain no-repeat;
  mask: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAOCAYAAADNGCeJAAAAjUlEQVR4nOXSIQ7CQBBA0b+0GocgIcWgOCk3QFZRwSmqegEESUMCR0CSIH4FFU2gYrd1jJpkMy+zMwMRoVbqQ939el/EYMAd2AK1WkTWfnUW1KOfuKmbPwSD2gD7RDMAyz6/5sALeCZi2QB7JxqgZuqp/+ZFXaVCQS0H81pPgaZvctaTUA9z3tZZbcegDpfivFj3LiatAAAAAElFTkSuQmCC") center / contain no-repeat;
  transition: background-color 0.45s ease;
}
.btn-outline .btn-arrow i,
.submit-btn .btn-arrow i { background-color: var(--blue); }
.btn-outline:hover .btn-arrow i,
.submit-btn:hover .btn-arrow i { background-color: #fff; }
.btn:hover .btn-arrow i,
.btn-outline:hover .btn-arrow i,
.submit-btn:hover .btn-arrow i {
  animation: arrowLoop 0.6s cubic-bezier(.65, 0, .35, 1) 0.1s;
}
@keyframes arrowLoop {
  0%   { transform: translateX(0);     opacity: 1; }
  45%  { transform: translateX(120%);  opacity: 0; }
  46%  { transform: translateX(-120%); opacity: 0; }
  100% { transform: translateX(0);     opacity: 1; }
}
/* =========================================
   SHARED TEXT STYLES (white sections)
========================================= */
.lead {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.75;
  margin-bottom: 22px;
  color: var(--navy);
}
.body-text {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.85;
  color: var(--text);
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.section-title {
  font-size: clamp(32px, 3vw, 50px);
  font-weight: 500;
  color: var(--navy);
}
.type-heading {
  font-weight: 700;
  font-size: clamp(44px, 5.5vw, 96px);
  line-height: 1.15;
}
.type-heading .line1 { color: var(--navy); }
.type-heading .line2 {
  display: grid;
  white-space: nowrap;   /* never wraps: script.js shrinks it to fit instead */
  color: var(--blue);
  padding-left: 8%;
}
.type-heading .line2 > .typed-wrap,
.type-heading .line2::after {
  grid-area: 1 / 1;
}
.type-heading .line2::after {
  content: attr(data-full) "\00a0";
  visibility: hidden;
}
.cursor {
  display: inline-block;
  width: 4px;
  height: 0.9em;
  background: var(--navy);
  margin-left: 8px;
  vertical-align: -0.05em;
  animation: blink 0.9s step-end infinite;
}
.line2 .cursor { background: var(--blue); }
/* Each letter appears as it's typed (a very short fade keeps the edges soft) */
.typed .ch {
  opacity: 0;
  transition: opacity 0.05s linear;
}
.typed .ch.on { opacity: 1; }
/* The finished line vanishes in one go (no backspacing) */
.typed.vanish .ch {
  opacity: 0;
  transition: opacity 0.25s ease;
}
/* Cursor stays solid while typing, blinks when idle */
.type-heading.typing .cursor {
  animation: none;
  opacity: 1;
}
@keyframes blink {
  50% { opacity: 0; }
}
/* Menu link to Approach lands with a small gap above the heading */
#approach { scroll-margin-top: 60px; }
/* =========================================
   2. ABOUT
========================================= */
.about {
  background: #fff;
  color: var(--navy);
  padding: 100px 13% 120px;
}
.about .intro h2 {
  font-size: clamp(32px, 3vw, 50px);
  font-weight: 500;
  line-height: 1.25;
}
.features {
  --feature-gap: 90px;   /* space between the four columns */
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--feature-gap);
  margin-top: 90px;
}
/* Four equal columns: same width, same gap, same divider length */
.feature {
  position: relative;
  padding: 0 0 30px;
}
/* Slight magnification on hover (About + Services columns).
   Only the inner content zooms, so the divider shadows stay put. */
.feature .zoom,
.service .zoom {
  transform-origin: 50% 30%;
  transition: transform 0.5s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}
@media (hover: hover) {
  .feature:hover .zoom,
  .service:hover .zoom {
    transform: scale(1.06);
  }
}
/* Column divider shadows, taken from the PSD */
.feature + .feature::before,
.service + .service::before {
  content: "";
  position: absolute;
  left: 0;
  top: 60px;
  bottom: 0;
  width: 18px;
  background: url("//coelect.com.au/wp-content/uploads/2026/10/divider-shadow.png") left top / 100% 100% no-repeat;
}
/* About dividers sit in the middle of the gap between columns */
.feature + .feature::before {
  left: calc(var(--feature-gap) / -2 - 9px);
  top: 20px;
}
/* Services dividers: same treatment, centred in their gap */
.service + .service::before {
  left: calc(var(--service-gap) / -2 - 6px);
  top: 20px;
}
.service + .service::before {
  width: 13px;
  background-image: url("//coelect.com.au/wp-content/uploads/2026/10/divider-shadow-services.png");
}
.feature svg,
.service svg {
  stroke: var(--blue);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature img {
  display: block;
  height: 90px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  margin-bottom: 22px;
}
.feature h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
}
.feature p {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.85;
  color: var(--text);
}
.about .type-heading { margin-top: 110px; }
.about .approach { margin-top: 100px; }
/* =========================================
   3. STATS + PROJECTS
========================================= */
.projects {
  background: #fff;
  color: var(--navy);
  padding: 40px 0 140px;
  overflow: hidden;
}
.stats {
  display: flex;
  justify-content: space-between;   /* every gap (number to line, line to number) is equal */
  padding: 0 13%;
}
/* Each stat is as wide as its number; the label wraps underneath it */
.stat { width: min-content; min-width: 140px; }   /* short numbers still get a two-line label */
.stat h3 { white-space: nowrap; }
.stat-div {
  flex: none;
  width: 1px;
  background: var(--blue);
}
.stat h3 {
  font-size: clamp(44px, 4.4vw, 84px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1px;
}
.stat p {
  margin-top: 16px;
  font-size: 17px;
  font-weight: 400;
  color: var(--blue);
}
.projects .section-title {
  padding: 0 13%;
  margin-top: 140px;
}
.projects-grid {
  container-type: inline-size;
  padding: 0 2.5%;
  margin-top: 50px;
}
.projects-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  min-height: max(calc(72.9cqw + 50px), calc(70.6cqw + 170px));
}
.col {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.col-left  { padding-top: 120px; align-items: flex-end; }
.col-right { align-items: flex-start; }
.project-card {
  position: relative;
  display: block;
  aspect-ratio: 970 / 740;
  border-radius: 40px;
  overflow: hidden;
  background: #2b3d52;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  /* Size swap: fast start, soft landing. Only width animates; height follows the aspect ratio */
  transition: width 1.1s cubic-bezier(.22, 1, .36, 1), box-shadow 0.6s ease,
              opacity 0.45s ease, transform 0.7s cubic-bezier(.22, 1, .36, 1);
  contain: layout paint;
  transform: translateZ(0);
  outline: none;
}
.project-card:focus-visible { box-shadow: 0 0 0 3px var(--blue); }
.project-card[data-size="xl"] { width: 52cqw; }
.project-card[data-size="l"]  { width: 43.5cqw; }
.project-card[data-size="m"]  { width: 40.5cqw; }
.project-card[data-size="s"]  { width: 31.5cqw; }
.project-card .img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.4s cubic-bezier(.25, .8, .25, 1);
  will-change: transform;
}
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(12, 28, 48, 0.95) 0%,
    rgba(12, 28, 48, 0.6) 35%,
    rgba(12, 28, 48, 0) 65%);
}
.project-info {
  position: absolute;
  left: clamp(24px, 2.7cqw, 50px);
  bottom: clamp(24px, 2.5cqw, 45px);
  width: 23cqw;
  z-index: 2;
}
.project-info h3 {
  font-size: clamp(16px, 1.5cqw, 28px);
  font-weight: 700;
  margin-bottom: clamp(8px, 0.9cqw, 16px);
}
.project-info p {
  font-size: clamp(12px, 1cqw, 19px);
  font-weight: 400;
  line-height: 1.55;
}
.expand-icon {
  position: absolute;
  right: clamp(20px, 2.2cqw, 40px);
  bottom: clamp(24px, 2.7cqw, 50px);
  width: clamp(38px, 3cqw, 54px);
  height: clamp(38px, 3cqw, 54px);
  z-index: 2;
  opacity: 0;
  transform: translateY(10px) scale(0.8);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.expand-icon img {
  display: block;
  width: 100%;
  height: 100%;
}
.project-card:hover {
  box-shadow: 0 30px 60px rgba(12, 28, 48, 0.25);
}
.project-card:hover .img { transform: scale(1.05); }
.project-card:hover .expand-icon {
  opacity: 1;
  transform: translateY(0) scale(1);
}
/* =========================================
   4. SLIDER + SERVICES
========================================= */
.slider {
  position: relative;
  height: clamp(360px, 56vw, 900px);
  overflow: hidden;
  background: #2b3d52;
}
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.slide.active { opacity: 1; }
/* CES motif over the photo, as in the PSD: Overlay blend at 80% */
.slider-overlay {
  position: absolute;
  left: 40.5%;
  top: 13.4%;
  width: 56%;
  height: auto;
  z-index: 1;
  opacity: 0.8;
  mix-blend-mode: overlay;
  pointer-events: none;
  transition: opacity 1.2s ease;   /* fades with the slides */
}
/* On the second photo (the dark night shot), the motif is shown lighter */
.slider-overlay.bright { mix-blend-mode: screen; opacity: 0; }
.slider[data-slide="1"] .slider-overlay.base { opacity: 0; }
.slider[data-slide="1"] .slider-overlay.bright { opacity: 0.4; }
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 38px;
  height: 65px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.25s, transform 0.25s;
}
.slider-arrow:hover { opacity: 1; }
.slider-arrow.prev { left: 9.4%; }
.slider-arrow.next { right: 10.6%; }
.slider-arrow.prev:hover { transform: translateY(-50%) translateX(-4px); }
.slider-arrow.next:hover { transform: translateY(-50%) translateX(4px); }
.slider-arrow img {
  display: block;
  width: 100%;
  height: 100%;
}
.services {
  position: relative;
  background: #fff;
  color: var(--navy);
  padding: 110px 13% 60px;
  overflow: hidden;
}
/* Hexagon motif from the PSD. One image, shown in both sections:
   the teams copy is shifted up so it carries on exactly where the
   services copy is cut off (script.js lines them up). */
.motif {
  position: absolute;
  left: 0;
  width: 49.2vw;
  height: auto;
  pointer-events: none;
}
.services > * {
  position: relative;
  z-index: 1;
}
.services > .motif {
  position: absolute;
  z-index: 0;
}
.services .intro-text { margin-top: 70px; }
.services .section-title { margin-top: 90px; }
.services .lifecycle-text { margin-top: 60px; }
.services-grid {
  --service-gap: clamp(40px, 5vw, 80px);   /* space between the six columns */
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: var(--service-gap);
  /* Runs nearly edge to edge: breaks out of the section's 13% side padding to 4% */
  margin-left: -9vw;
  margin-right: -9vw;
  margin-top: 80px;
}
.service {
  position: relative;
  padding: 0 0 30px;
}
.service img {
  display: block;
  height: 80px;
  width: auto;
  max-width: 92px;
  object-fit: contain;
  margin-bottom: 26px;
}
.service h3 {
  font-size: clamp(13px, 1.3vw, 19px);   /* long words fit the columns */
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 26px;
}
.service p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
}
/* =========================================
   5. TEAMS + ISO + OUTCOME
========================================= */
.teams {
  position: relative;
  background: #fff;
  color: var(--navy);
  padding: 40px 13% 140px;
  overflow: hidden;
}
.motif-services { top: 60%; }   /* fallback before the script runs */
.motif-teams { top: -26vw; z-index: 0; }
.teams-intro {
  position: relative;
  z-index: 2;
  max-width: 460px;
}
.teams-intro .section-title { margin-bottom: 40px; }
.teams-intro .lead { font-size: 17px; line-height: 1.8; }
.teams-intro .body-text { font-size: 17px; line-height: 1.8; }
.teams-diagram {
  position: relative;
  z-index: 1;
  width: min(63vw, 1130px);
  margin: 30px auto 0;
}
.teams-diagram svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
/* Diagram artwork is the PSD vector, rendered with its own shadows.
   The hovered team shows the highlighted version through a cut-out. */
.team-hl {
  opacity: 0;
  transition: opacity 0.45s ease;
}
.team-hl.active { opacity: 1; }
/* The diagram can be grabbed and spun. Swiping on it spins the wheel, not the page. */
#teamsSvg {
  cursor: grab;
  touch-action: none; /* dragging the wheel never scrolls the page */
  user-select: none;
  -webkit-user-select: none;
}
#teamsSvg.dragging,
#teamsSvg.dragging .team-node { cursor: grabbing; }
#teamsSvg image { pointer-events: none; -webkit-user-drag: none; }
#teamsSvg, #teamsSvg * { -webkit-tap-highlight-color: transparent; }
.team-node { cursor: pointer; outline: none; }
.team-node:focus { outline: none; }
.team-node .hit { fill: transparent; }
.team-node text {
  fill: var(--navy);
  font-size: 17.5px;
  text-anchor: middle;
}
.team-node .name { font-weight: 700; }
.team-node .word { font-weight: 400; }
.team-panel {
  position: absolute;
  left: 86%;
  top: 4%;
  width: 24%;
  padding: 0 0 22px 18px;
  border-left: 1px solid var(--blue);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.team-panel.fading { opacity: 0; transform: translateY(8px); }
/* Desktop: the description follows its team round the diagram
   (script.js positions it); line across the top */
@media (min-width: 1101px) {
  .team-panel {
    width: 22%;
    border-left: none;
    border-top: 1px solid var(--blue);
    padding: 18px 0 0;
  }
  /* Teams on the left-hand side: text lines up against the circle */
  .team-panel.side-left { text-align: right; }
}
.team-panel h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
}
.team-panel p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
}
.iso {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 100px;
}
.iso .section-title { line-height: 1.1; }
.iso h3 {
  font-size: clamp(20px, 1.7vw, 28px);
  font-weight: 500;
  margin: 10px 0 40px;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  padding: 14px 26px;
  border: 2px solid var(--blue);
  border-radius: 40px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease, transform 0.2s ease;
}
.badges {
  display: flex;
  justify-content: flex-end;
  gap: 34px;
}
.badges img {
  width: 150px;
  height: auto;
  transition: transform 0.3s;
}
.badges img:hover { transform: translateY(-6px); }
.outcome { margin-top: 150px; }
.outcome h2 {
  font-size: clamp(44px, 5.5vw, 96px);
  font-weight: 700;
  line-height: 1.1;
}
/* "Built around the outcome." / "From intent to operation." (indented, light blue) */
.outcome-title span { display: block; }
.outcome-title .line2 {
  color: var(--blue);
  padding-left: 8%;
  white-space: nowrap;   /* stays on one line on desktop: script.js shrinks the heading if needed */
}
.outcome-copy {
  max-width: 560px;
  margin-top: 50px;
}
.outcome-copy .lead { margin-bottom: 18px; }
.outcome .values {
  margin-top: 90px;
  font-size: clamp(28px, 3.5vw, 62px);
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;   /* one line on desktop: script.js shrinks it to fit if needed */
}
.values .v {
  display: inline-block;
  opacity: 0;
  transition: opacity 0s;   /* no fade or slide: each word simply appears */
}
/* One after the other, half a second apart */
.values.show .v { opacity: 1; }
.values.show .v:nth-child(2) { transition-delay: 0.5s; }
.values.show .v:nth-child(3) { transition-delay: 1s; }
.values.show .v:nth-child(4) { transition-delay: 1.5s; }
.values.show .v:nth-child(5) { transition-delay: 2s; }
/* =========================================
   6. CONTACT / FOOTER
========================================= */
.footer {
  background: #fff;
  color: var(--navy);
  padding: 60px 13% 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 40px;
}
.office + .office { margin-top: 36px; }
.office h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}
.office p {
  font-size: 21px;
  font-weight: 400;
  line-height: 1.5;
}
.contact-link {
  display: block;
  text-decoration: none;
  transition: color 0.2s;
}
.contact-email {
  margin-top: 30px;
  font-size: 21px;
  font-weight: 500;
  color: var(--blue);
}
.contact-phone {
  margin-top: 14px;
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
}
.contact-link:hover { color: var(--ring); }
.award {
  display: block;
  width: 160px;
  margin-top: 30px;
}
.download {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  text-decoration: none;
  color: var(--navy);
}
.download-icon {
  flex: none;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--blue);
  display: grid;
  place-items: center;
  transition: background 0.3s;
}
.download-icon svg {
  display: block;
  width: 36px;
  height: 36px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s;
}
.download:hover .download-icon { background: var(--ring); }
.download:hover .download-icon svg { transform: translateY(3px); }
.download-text strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--blue);
}
.download-text span {
  display: block;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
}
.download-text small {
  display: block;
  margin-top: 18px;
  font-size: 18px;
  font-weight: 400;
  color: var(--text);
}
.contact-form { width: 100%; }
.field {
  position: relative;
  margin-bottom: 50px;
}
.field input {
  width: 100%;
  border: none;
  border-bottom: 2px solid var(--blue);
  padding: 30px 0 10px;
  font-size: 21px;
  font-weight: 400;
  color: var(--navy);
  background: transparent;
  outline: none;
  transition: border-color 0.3s;
}
.field input:focus { border-bottom-color: var(--navy); }
.field label {
  position: absolute;
  left: 0;
  bottom: 12px;
  font-size: 21px;
  font-weight: 400;
  color: var(--navy);
  pointer-events: none;
  transform-origin: left bottom;
  transition: transform 0.3s ease, color 0.3s ease;
}
.field label sup { font-size: 0.6em; }
.field input:focus + label,
.field input:not(:placeholder-shown) + label {
  transform: translateY(-34px) scale(0.72);
  color: var(--blue);
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}
.form-msg {
  font-size: 15px;
  font-weight: 400;
  color: var(--ring);
}
.form-msg.is-error { color: #c0392b; }
.form-msg a { color: inherit; text-decoration: underline; }
.botcheck { display: none !important; }
.submit-btn:disabled { opacity: 0.6; cursor: wait; }
/* Book an Appointment: same outlined pill as Contact CES */
.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border: 2px solid var(--blue);
  border-radius: 40px;
  background: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  transition: color 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease, transform 0.2s ease;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 90px;
  padding-top: 20px;
  border-top: 1px solid var(--blue);
  font-size: 13px;
  font-weight: 400;
  color: var(--blue);
}
.footer-bottom a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom a:hover { color: var(--navy); }
.footer-bottom .sep { margin: 0 10px; }
/* Copyright with the agency credit underneath, same style */
.footer-credits { text-align: right; }
.footer-credits > div + div { margin-top: 4px; color: var(--ring); }   /* the wheel's blue */
.footer-bottom .footer-credits > div + div a { color: var(--ring); }
.footer-bottom .footer-credits > div + div a:hover { color: var(--navy); }
/* =========================================
   7. EXPANDED PROJECT (opens in place of the cards,
      lined up with the same left and right edges)
========================================= */
.projects-grid { position: relative; }
/* One shared timing for the whole expand / collapse */
.projects-grid {
  --expand-time: 0.8s;    /* opening: smooth */
  --expand-ease: cubic-bezier(.33, 0, .15, 1);
  --collapse-time: 0.55s; /* closing: quicker */
  --collapse-ease: cubic-bezier(.4, 0, .2, 1);
}
/* The grid's height glides between the cards and the expanded project */
.projects-grid.resizing {
  overflow: hidden;
  transition: height var(--expand-time) var(--expand-ease);
}
.projects-inner { transition: opacity 0.6s ease; }
/* On close, the other cards wait until the project has mostly shrunk away */
.projects-grid.collapsing { transition-duration: var(--collapse-time); transition-timing-function: var(--collapse-ease); }
.projects-grid.collapsing .projects-inner { transition: opacity 0.35s ease 0.2s; }
.projects-inner[hidden] { display: none; }
.projects-inner.fading { opacity: 0; pointer-events: none; }
.lightbox { display: none; }
.lightbox.open { display: block; }
.lightbox.closing { pointer-events: none; }
/* While expanding or collapsing, the project sits over the cards and grows
   out of (or shrinks back into) the card that was clicked */
.lightbox.anim {
  position: absolute;
  top: 0;
  z-index: 5;
}
.lightbox.anim .lb-window {
  transition: clip-path var(--expand-time) var(--expand-ease), opacity 0.35s ease;
}
.lightbox.anim.closing .lb-window {
  transition: clip-path var(--collapse-time) var(--collapse-ease), opacity 0.2s ease calc(var(--collapse-time) - 0.2s);
}
.lb-window {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 40px;
  box-shadow: 0 30px 60px rgba(12, 28, 48, 0.25);
}
.lb-media {
  position: relative;
  aspect-ratio: 16 / 7.4;
  border-radius: 40px 40px 0 0;
  overflow: hidden;
  background: #2b3d52;
}
.lb-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.9s ease, transform 1.4s cubic-bezier(.22, 1, .36, 1);
}
.lb-slide.active {
  opacity: 1;
  transform: scale(1);
}
.lb-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top,
    rgba(18, 38, 62, 0.95) 0%,
    rgba(18, 38, 62, 0.4) 25%,
    rgba(18, 38, 62, 0) 50%);
}
.lb-title {
  position: absolute;
  left: clamp(24px, 4vw, 56px);
  right: 120px;
  bottom: clamp(22px, 3vw, 44px);
  z-index: 2;
  font-size: clamp(26px, 3vw, 46px);
  font-weight: 700;
  color: #fff;
}
.lb-counter {
  position: absolute;
  right: clamp(24px, 4vw, 56px);
  bottom: clamp(26px, 3vw, 48px);
  z-index: 2;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.75);
}
.lb-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 3;
  width: 56px;
  height: 56px;
  border: none;
  background: none;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s, transform 0.2s;
}
.lb-arrow:hover { opacity: 1; }
.lb-arrow.prev { left: 16px; }
.lb-arrow.next { right: 16px; }
.lb-arrow.prev:hover { transform: translateY(-50%) translateX(-3px); }
.lb-arrow.next:hover { transform: translateY(-50%) translateX(3px); }
.lb-arrow svg {
  width: 100%;
  height: 100%;
  stroke: #fff;
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lb-arrow[hidden], .lb-counter[hidden] { display: none; }
.lb-info {
  flex: none;
  background: var(--panel);
  border-radius: 0 0 40px 40px;
  padding: clamp(28px, 3.5vw, 50px) clamp(24px, 4vw, 56px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  grid-auto-flow: column; /* sections read down the left column, then the right */
  gap: 30px 60px;
  color: #fff;
}
.lb-section h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}
.lb-section p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: #dde4ef;
}
.lb-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: rgba(12, 28, 48, 0.6);
  padding: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s, transform 0.3s;
}
.lb-close:focus:not(:focus-visible) { outline: none; }
.lb-close:hover {
  background: rgba(12, 28, 48, 0.9);
  transform: rotate(90deg);
}
.lb-close svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.4;
  stroke-linecap: round;
}
/* =========================================
   BACK TO TOP BUTTON
========================================= */
.to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(26, 51, 80, 0.85);   /* dark blue, slightly see-through */
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(12, 28, 48, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s, background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: rgba(26, 51, 80, 1); }
.to-top:focus:not(:focus-visible) { outline: none; }
.to-top svg {
  display: block;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s ease;
}
.to-top:hover svg { transform: translateY(-2px); }
@media (max-width: 600px) {
  .to-top { right: 16px; bottom: 16px; width: 48px; height: 48px; }
  .to-top svg { width: 21px; height: 21px; }
}
/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 1100px) {
  .features { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .features { --feature-gap: 70px; }
  .feature:nth-child(3)::before { display: none; }
  .services-grid { margin-left: 0; margin-right: 0; --service-gap: 60px; grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 50px; }
  .service:nth-child(4)::before { display: none; }
  .teams-diagram { width: 65%; margin-top: 60px; margin-left: 0; }
  .team-panel { left: 100%; width: 30%; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-form { grid-column: 1 / -1; margin-top: 30px; }
}
@media (max-width: 900px) {
  .hero { padding: 0 6% 70px; }
  /* Mobile menu: logo on the left, three-line menu button on the right */
  .ces-page nav { flex-direction: row; align-items: center; padding-top: 40px; }
  .ces-page nav.open { z-index: 1000; }
  .logo-img { height: 64px; }
  .nav-toggle { display: flex; }
  .logo { position: relative; z-index: 2; }   /* logo stays visible above the open menu */
  /* The links open as a full-screen panel */
  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 34px;
    background: rgba(26, 51, 80, 0.97);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
  }
  .ces-page nav.open .nav-links { opacity: 1; visibility: visible; }
  .nav-links a { font-size: 22px; letter-spacing: 3px; }
  .nav-links li { opacity: 0; transform: translateY(10px); transition: opacity 0.3s ease, transform 0.3s ease; }
  .ces-page nav.open .nav-links li { opacity: 1; transform: none; }
  .ces-page nav.open .nav-links li:nth-child(2) { transition-delay: 0.04s; }
  .ces-page nav.open .nav-links li:nth-child(3) { transition-delay: 0.08s; }
  .ces-page nav.open .nav-links li:nth-child(4) { transition-delay: 0.12s; }
  .ces-page nav.open .nav-links li:nth-child(5) { transition-delay: 0.16s; }
  /* Project cards: show the expand icon (there's no hover on phones and tablets) */
  .expand-icon { opacity: 1; transform: none; }
  .hero-content { margin-top: 70px; }
  .hero { min-height: 0; }
  .hero::after { left: 55%; top: auto; bottom: -10%; width: 70%; }
  .about, .services, .teams, .footer { padding: 70px 6%; }
  .services { padding-bottom: 35px; }  /* half the usual gap above "One CES. Five Teams." */
  .teams { padding-top: 35px; }
  .footer { padding-bottom: 30px; }
  .two-col { grid-template-columns: 1fr; gap: 30px; }
  .two-col > .spacer { display: none; }
  .stats { display: grid; grid-template-columns: 1fr 1fr; row-gap: 40px; padding: 0 6%; }
  .stat-div { display: none; }
  .stat { width: auto; min-width: 0; padding: 0 40px; border-left: 1px solid var(--blue); }
  .stat:first-child, .stat:nth-of-type(3) { padding-left: 0; border-left: none; }
  .projects .section-title { padding: 0 6%; margin-top: 90px; margin-bottom: 30px; }
  .projects-grid { padding: 0 6%; margin-top: 0; }
  .projects-inner { display: block; min-height: 0; }
  .col { gap: 30px; }
  .col-left { padding-top: 0; }
  .col + .col { margin-top: 30px; }
  .projects-grid .project-card[data-size] { width: 100%; aspect-ratio: 4 / 3; border-radius: 28px; }
  .project-info { width: auto; right: 28px; }
  .project-info h3 { font-size: 20px; }
  .project-info p { font-size: 15px; }
  .expand-icon { display: none; }
  .slider-arrow { width: 24px; height: 41px; }
  .slider-arrow.prev { left: 4%; }
  .slider-arrow.next { right: 4%; }
  .services-grid { --service-gap: 50px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service:nth-child(odd)::before { display: none; }
  .service:nth-child(even)::before { display: block; }
  .teams-diagram { width: 100%; margin: 50px 0 0; }
  .team-panel { position: static; width: 100%; margin-top: 50px; }
  .iso { grid-template-columns: 1fr; margin-top: 80px; }
  .badges { justify-content: flex-start; gap: 18px; }
  .badges img { width: 28%; max-width: 130px; }
  .outcome { margin-top: 100px; }
  .footer-top { grid-template-columns: 1fr; gap: 50px; }
  .contact-form { margin-top: 0; }
  .footer-bottom { flex-direction: column; margin-top: 60px; }
  .footer-credits { text-align: left; }
  .lb-window { border-radius: 28px; }
  .lb-media { aspect-ratio: 4 / 3; border-radius: 28px 28px 0 0; }
  .lb-info { border-radius: 0 0 28px 28px; grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; gap: 22px; }
  .lb-close { top: 12px; right: 12px; width: 42px; height: 42px; }
  .lb-close svg { width: 18px; height: 18px; }
  .lb-title { right: 80px; }
  .lb-arrow { width: 40px; height: 40px; }
  .lb-arrow.prev { left: 8px; }
  .lb-arrow.next { right: 8px; }
}
@media (max-width: 600px) {
  .features { grid-template-columns: 1fr; }
  .feature, .feature + .feature { padding: 0 0 10px; }
  .feature::before { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .service:nth-child(n) { padding: 0 0 10px; }
  .service:nth-child(n)::before { display: none; }
}
/* =========================================
   MOBILE REFINEMENTS (phones)
========================================= */
@media (max-width: 600px) {
  /* Tier 2: bigger icons, centred so the space is even on both sides */
  .features { row-gap: 56px; }
  .feature { text-align: center; }
  .feature img {
    height: 120px;
    max-width: 140px;
    margin: 0 auto 24px;
  }
  /* Stats: all four on one line */
  .stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 0;
    row-gap: 0;
    padding: 0 4%;
  }
  .stat,
  .stat:nth-of-type(3),
  .stat:first-child {
    padding: 0 4px;
    text-align: center;
    border-left: 1px solid var(--blue);
  }
  .stat:first-child { border-left: none; }
  .stat h3 {
    font-size: 4.9vw;
    letter-spacing: -0.3px;
    white-space: nowrap;
  }
  .stat p {
    margin-top: 8px;
    font-size: 2.6vw;
    line-height: 1.35;
  }
  /* Services: bigger titles */
  .service { text-align: center; }
  .service img { margin: 0 auto 24px; }
  .service h3 { font-size: 20px; margin-bottom: 18px; }
  .service h3 br { display: none; }   /* titles on one line */
  /* Hexagon motif: much bigger in the background */
  .motif {
    width: 165vw;
    left: -32vw;
  }
  /* ISO badges evenly spaced with equal margins; Contact CES centred */
  .badges {
    justify-content: center;
    gap: 6%;
  }
  .badges img { width: 27%; max-width: 130px; }
  .btn-outline {
    display: flex;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
  .form-actions { flex-direction: column; }
  /* "Built around the outcome." centred */
  .outcome { text-align: center; }
  .outcome-title .line2 { padding-left: 0; white-space: normal; }
  .outcome-copy { max-width: none; margin-top: 30px; }
  /* Values on two lines on phones:
     "Precise. Optimal. Analytical." / "Reliable. Committed." */
  .outcome .values {
    white-space: normal;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 0.28em;
    row-gap: 2px;
    margin-top: 44px;
    font-size: min(6.9vw, 30px);
    line-height: 1.25;
  }
  .outcome .values::after { content: ""; flex-basis: 100%; order: 1; }  /* the line break */
  .outcome .values .v:nth-child(n+4) { order: 2; }
  /* A little less space between the values and the footer */
  .teams { padding-bottom: 30px; }
  /* Copyright line and policy links centred */
  .footer-bottom { align-items: center; text-align: center; }
  .footer-credits { text-align: center; }
  /* Footer: offices, contact, award and download centred */
  .footer-top > div:not(.contact-form) { text-align: center; }
  .award { margin: 30px auto 0; }
  .download {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  /* NECA badge and capability statement side by side */
  .footer-top {
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
    row-gap: 0;
  }
  .footer-top > div:first-child { display: contents; }
  .footer-top > div:first-child > * { grid-column: 1 / -1; }
  .footer-top > div:first-child > .award {
    grid-column: 1;
    align-self: center;
    margin: 60px auto 0;   /* a bit more room under the phone number */
    width: 140px;
  }
  .footer-top > div:nth-child(2) {
    grid-column: 2;
    align-self: center;
    margin-top: 60px;
  }
  .download { gap: 12px; }
  .download-icon { width: 64px; height: 64px; }
  .download-icon svg { width: 32px; height: 32px; }
  .download-text strong,
  .download-text span { font-size: 19px; }
  .download-text small { margin-top: 10px; font-size: 15px; }
  .contact-form { grid-column: 1 / -1; margin-top: 50px; }
  .form-actions { justify-content: center; }
}
