/*
 * SUNPOWER SOLUTIONS — SITE STYLES
 * 01 Foundation and shared controls
 * 02 Header and navigation
 * 03 Hero and coverage map
 * 04 Company overview
 * 05 Service cards and supporting capabilities
 * 06 Project lifecycle
 * 07 Connected delivery ecosystem
 * 08 Sector applications
 * 09 Organisation, contact and footer
 * 10 Responsive layouts
 * 11 Motion and accessibility
 *
 * Edit the owning rule below instead of appending override blocks.
 * Shared brand values live in tokens.css. JavaScript lives in js/.
 */
/* 01 — Foundation and shared controls */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font: 16px/1.65 var(--font-body);
}

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

button {
  font: inherit;
  cursor: pointer;
}

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

h1, h2, h3, h4, p {
  margin-top: 0;
}

h1, h2, h3 {
  line-height: 1.15;
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(30px, 3.4vw, 46px);
}

h3 {
  font-size: 23px;
}

p {
  color: var(--muted);
}

[hidden] {
  display: none !important;
}

a:focus-visible, button:focus-visible, summary:focus-visible,
[tabindex="-1"]:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 5px;
}

.wrap {
  width: min(var(--max), calc(100% - 64px));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-space);
}

.skip {
  position: fixed;
  z-index: 99;
  top: -100px;
  left: 20px;
  padding: 12px;
  background: white;
  color: var(--navy);
}

.skip:focus {
  top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 17px;
  color: #83d6eb;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  flex-shrink: 0;
  background: var(--amber);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.primary {
  background: var(--amber);
  color: #0a2032;
}

.primary:hover {
  background: #ffc267;
}

.secondary {
  border-color: #7294ac;
  background: #12344c;
  color: #e7f5ff;
}

.secondary:hover {
  background: #23506c;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 36px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p {
  max-width: 355px;
  margin: 0;
}

.icon {
  display: block;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

/* 02 — Header and navigation */
header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid #304c62;
  background: #081727f5;
  backdrop-filter: blur(15px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 88px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 156px;
  height: 82px;
}

.brand img {
  width: 156px;
  height: 88px;
  object-fit: contain;
}

.links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
}

.links a:hover {
  color: var(--cyan);
}

.links .primary:hover {
  color: var(--navy);
}

.menu {
  display: none;
  padding: 9px 16px;
  border: 1px solid #618399;
  border-radius: 6px;
  background: #18394f;
  color: white;
}

/* 03 — Hero and responsive map artwork */
.hero {
  padding-block: 56px;
  background: radial-gradient(ellipse at 0 0, #1c57795a, transparent 65%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero-grid > *, .overview > *, .contact-grid > *, .org-layout > * {
  min-width: 0;
}

.hero h1 {
  margin-bottom: 24px;
  font-size: clamp(44px, 5.2vw, 70px);
}

.hero h1 span, .contact h2 span {
  color: var(--cyan);
}

.hero p {
  max-width: 530px;
  font-size: 18px;
}

.hero .hero-kicker {
  margin: 24px 0 0;
  color: #98b7cf;
  font-size: 12px;
}

.hero-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.hero-scope span {
  padding: 4px 10px;
  border: 1px solid #355067;
  border-radius: 4px;
  color: #b9d5e8;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.coverage-card {
  padding: 12px 12px 18px;
  overflow: hidden;
  border: 1px solid #5a7b91;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #08203a, #06182d);
}

.coverage-map {
  position: relative;
  width: 100%;
  aspect-ratio: 7 / 5;
  overflow: hidden;
  border: 1px solid #68def229;
  border-radius: var(--radius);
  background: #061729;
}

.coverage-map-image {
  position: absolute;
  inset: 0;
  background: url("../assets/images/malaysia-coverage.png") center / 100% 100% no-repeat;
  filter: saturate(1.02) contrast(1.02) brightness(0.94);
}

.coverage-map-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #030f1e0f, #030f1e38);
}

/* Decorative network waves sit above the map, below its label and HQ button. */
.coverage-map::before,
.coverage-map::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 52%;
  aspect-ratio: 1;
  border: 1px solid #68def280;
  border-radius: 50%;
  opacity: 0.2;
  animation: network-resonance 5s ease-in-out infinite;
  pointer-events: none;
}

.coverage-map::before {
  top: 18%;
  left: 15%;
}

.coverage-map::after {
  right: 10%;
  bottom: 15%;
  animation-delay: -2.5s;
}

.map-note {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  max-width: calc(100% - 28px);
  padding: 11px 14px;
  border: 1px solid #68def238;
  border-radius: 10px;
  background: #051423c9;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.map-note strong {
  display: block;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map-note span {
  display: block;
  margin-top: 4px;
  color: #9ec8dc;
  font-size: 11px;
}

/* HQ position is relative to the supplied artwork; preserve when replacing CSS. */
.hq-marker {
  position: absolute;
  z-index: 3;
  left: 16%;
  top: 51%;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 2px solid white;
  border-radius: 50%;
  appearance: none;
  background: var(--amber);
  box-shadow: 0 0 0 5px #f4a1292e, 0 0 25px #f4a129d9;
  transform: translate(-50%, -50%);
  touch-action: manipulation;
}

.hq-marker::before {
  content: "";
  position: absolute;
  inset: -12px;
  border: 1px solid #f4a12980;
  border-radius: 50%;
  animation: hq-pulse 2.4s infinite;
  pointer-events: none;
}

.hq-marker::after {
  content: "";
  position: absolute;
  inset: -13px;
}

.hq-tooltip {
  position: absolute;
  top: 26px;
  left: -12px;
  width: min(230px, 60vw);
  padding: 10px 14px;
  border: 1px solid #68def273;
  border-radius: 10px;
  background: #05121ef5;
  color: var(--text);
  text-align: left;
  font-size: 12px;
  line-height: 1.5;
  box-shadow: 0 15px 35px #0007;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  pointer-events: none;
}

.hq-marker[aria-expanded="true"] .hq-tooltip {
  opacity: 1;
  visibility: visible;
}

.hero-caption {
  margin: 16px 20px 0;
  padding-top: 16px;
  border-top: 1px solid #a6d5e76b;
}

.hero-caption strong {
  display: block;
  font-size: 29px;
  line-height: 1.2;
}

.hero-caption > span {
  display: block;
  margin-top: 9px;
  color: #b9e5f1;
  font-size: 11px;
  letter-spacing: 0.12em;
}

/* 04 — Company overview */
.overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}

.overview p {
  font-size: 17px;
}

.principles {
  margin-top: 25px;
}

.principles > div {
  display: flex;
  gap: 18px;
  padding-block: 14px;
  border-top: 1px solid var(--line);
  color: #cce3f2;
  font-size: 15px;
}

.principles b {
  color: var(--amber);
  font-family: monospace;
}

.purpose {
  display: grid;
  align-content: start;
  gap: 16px;
}

.purpose article {
  padding: 26px 30px;
  border: 1px solid #426680;
  border-radius: var(--radius);
  background: linear-gradient(120deg, #173a54, #10283f);
}

.purpose h3 {
  margin-bottom: 13px;
  color: #79dff2;
  font-size: 25px;
}

.purpose article:last-child h3 {
  color: #ffc97c;
}

.purpose p {
  margin-bottom: 0;
  font-size: 16px;
}

/* 05 — Service cards */
.services-surface {
  position: relative;
  overflow: hidden;
  border-block: 1px solid #29455c;
  background: radial-gradient(ellipse at 90% 0, #12384f, transparent 45%), var(--navy);
}

.services-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(#ffffff05 1px, transparent 1px), linear-gradient(90deg, #ffffff05 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black, transparent 75%);
  pointer-events: none;
}

.services-surface .wrap {
  position: relative;
}

.cards {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
}

.anchor-alias {
  position: absolute;
  top: 0;
  left: 0;
}

.card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--surface), var(--surface-deep));
  scroll-margin-top: 112px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.card:hover, .card:focus-within {
  border-color: var(--cyan);
  box-shadow: 0 14px 36px #0005;
}

.card-body {
  padding: 28px;
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #68def238;
  border-radius: 10px;
  background: #68def20a;
  color: var(--cyan);
}

.card-num {
  color: #88b8ce;
  font: 10px monospace;
  letter-spacing: 0.1em;
}

.service-category {
  margin-bottom: 12px;
  color: #95c5dc;
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.card h3 {
  min-height: 81px;
  margin-bottom: 14px;
  font-size: 24px;
  line-height: 1.12;
}

.card-body > p {
  min-height: 100px;
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.65;
}

.card details {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  font-size: 13px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.card summary::-webkit-details-marker {
  display: none;
}

.card summary::after {
  content: "+";
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border: 1px solid #68def280;
  border-radius: 50%;
  color: var(--cyan);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}

.card details[open] summary::after {
  content: "−";
  background: var(--cyan);
  color: var(--navy);
}

.card ul {
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}

.card li {
  margin-block: 9px;
}

.service-cta {
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
}

.service-cta:hover, .support-capabilities a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.support-capabilities {
  display: grid;
  grid-template-columns: 0.85fr 1fr 1fr;
  gap: 30px;
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.support-intro h3 {
  margin-bottom: 0;
  font-size: 24px;
}

.support-intro .eyebrow {
  font-size: 10px;
}

.support-capabilities article {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  scroll-margin-top: 112px;
}

.support-icon {
  padding-top: 3px;
  color: var(--cyan);
}

.support-capabilities h4 {
  margin-bottom: 10px;
  font-size: 16px;
}

.support-capabilities p {
  margin-bottom: 12px;
  font-size: 14px;
}

.support-capabilities a {
  color: var(--cyan);
  font-size: 12px;
}

/* 06 — Project lifecycle */
.delivery-section {
  background: radial-gradient(ellipse at 0 60%, #12435d44, transparent 60%), #071523;
}

.delivery-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: delivery;
}

.delivery-steps li {
  position: relative;
  padding: 26px;
  border: 1px solid #304c63;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #123047, #0b1d30);
}

.step-number {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--cyan);
  font: 12px monospace;
  letter-spacing: 0.1em;
}

.delivery-steps h3 {
  margin-bottom: 12px;
  font-size: 21px;
  letter-spacing: -0.025em;
}

.delivery-steps p {
  margin-bottom: 0;
  font-size: 14px;
}

.delivery-foundation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 26px;
  margin-top: 26px;
  padding: 20px 24px;
  border: 1px solid #f4a1294d;
  border-radius: 8px;
  background: #f4a12906;
  font-size: 12px;
}

.delivery-foundation > span {
  margin-right: auto;
  color: #ffcd86;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.delivery-foundation a {
  color: #dcebf5;
}

.delivery-foundation a:hover {
  color: var(--cyan);
}

/* 07 — Connected delivery ecosystem */
.ecosystem {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: radial-gradient(circle at center, #12384f, var(--navy) 60%);
  padding-block: var(--section-space);
}

.ecosystem > .wrap > p {
  max-width: 620px;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: 1fr 220px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 28px;
  margin-top: 48px;
}

.eco-node {
  display: grid;
  place-content: center;
  min-height: 132px;
  padding: 28px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, #17364c, #0b1d30);
  text-align: center;
}

.eco-node:nth-child(1) {
  grid-area: 1 / 1;
}

.eco-node:nth-child(2) {
  grid-area: 1 / 3;
}

.eco-node:nth-child(4) {
  grid-area: 2 / 1;
}

.eco-node:nth-child(5) {
  grid-area: 2 / 3;
}

.eco-node strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.eco-node span {
  color: var(--muted);
  font-size: 13px;
}

.eco-core {
  position: relative;
  display: grid;
  grid-area: 1 / 2 / 3 / 3;
  place-content: center;
  width: 220px;
  height: 220px;
  margin: auto;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  background: linear-gradient(145deg, #1a4661, #102a40);
  box-shadow: 0 0 50px #68def233;
  text-align: center;
  animation: core-glow 4s ease-in-out infinite;
}

.eco-core::before,
.eco-core::after {
  content: "";
  position: absolute;
  inset: -16px;
  border: 1px solid #68def280;
  border-radius: 50%;
  opacity: 0.35;
  animation: core-resonance 4s ease-out infinite;
  pointer-events: none;
}

.eco-core::after {
  animation-delay: -2s;
}

.eco-core strong {
  font-size: 22px;
  line-height: 1.35;
}

.eco-core span {
  margin-top: 8px;
  color: #b9e5f1;
  font-size: 11px;
}

/* 08 — Sector applications */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.sector-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px 23px;
  border: 1px solid var(--line);
  border-top: 2px solid #478fa9;
  border-radius: 4px 4px var(--radius) var(--radius);
  background: #0c2338;
}

.sector-icon {
  display: block;
  margin-bottom: 24px;
  color: var(--cyan);
}

.sector-card h3 {
  min-height: 54px;
  margin-bottom: 14px;
  font-size: 23px;
}

.sector-card p {
  margin-bottom: 24px;
  font-size: 14px;
}

.sector-label {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #2b4a61;
  color: #94bcd0;
  font: 10px/1.6 monospace;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.sector-enquiry {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
}

.sector-enquiry p {
  margin: 0;
  font-size: 15px;
}

/* 09 — Organisation, contact and footer */
.organisation {
  border-block: 1px solid var(--line);
  background: #102b42;
}

.org-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.3fr;
  gap: 60px;
}

.org-ceo {
  position: relative;
  width: 140px;
  margin: 0 auto 32px;
  padding: 10px;
  border: 1px solid #6a91ab;
  border-radius: 7px;
  background: #254b65;
  text-align: center;
  font-size: 15px;
}

.org-ceo::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  height: 32px;
  border-left: 1px solid #6b98b3;
}

.org-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-top: 23px;
  border-top: 1px solid #6b98b3;
}

.org-unit {
  position: relative;
  padding: 20px 16px;
  border: 1px solid #486f89;
  border-radius: 9px;
  background: #0c2338;
}

.org-unit::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  height: 24px;
  border-left: 1px solid #6b98b3;
}

.org-unit h3 {
  min-height: 45px;
  margin-bottom: 15px;
  color: #a2e7f7;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.org-unit ul {
  margin: 0;
  padding: 0;
  color: #b4cbdc;
  font-size: 13px;
  list-style: none;
}

.org-unit li {
  padding-block: 8px;
  border-top: 1px solid #2b4a61;
}

.contact {
  padding-block: var(--section-space);
  background: radial-gradient(ellipse at 0 40%, #13516a55, transparent 70%), var(--navy);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 60px;
}

.contact-links {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.contact-link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 18px;
  border: 1px solid #3d657f;
  border-radius: 9px;
  background: #102d44;
}

.contact-link small {
  display: block;
  margin-bottom: 7px;
  color: #94b9d1;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.contact-link a {
  font-size: 17px;
  overflow-wrap: anywhere;
}

.contact-link a:hover {
  text-decoration: underline;
}

.contact-link .call-action {
  color: #85dff4;
  font-size: 12px;
}

.copy {
  padding: 9px;
  border: 1px solid #658da8;
  border-radius: 5px;
  background: #23465f;
  color: #d4f4ff;
  font-size: 12px;
}

.copy:hover {
  background: #326887;
}

#copy-status {
  min-height: 25px;
  margin-top: 10px;
  color: #9fdef0;
  font-size: 13px;
}

.map {
  overflow: hidden;
  border: 1px solid #4b7590;
  border-radius: var(--radius);
  background: #16354d;
}

.map iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
}

.map-caption {
  padding: 23px 26px;
}

.map-caption h3 {
  margin-bottom: 12px;
}

.map-caption address {
  margin-bottom: 18px;
  color: #bbd0df;
  font-size: 14px;
  font-style: normal;
}

.map-caption a {
  display: inline-block;
  padding: 10px 15px;
  border-radius: 5px;
  background: var(--cyan);
  color: #082237;
  font-size: 13px;
  font-weight: 700;
}

.location-label {
  margin-bottom: 10px;
  color: #85c7df;
  font-size: 10px;
  letter-spacing: 0.13em;
}

.footer {
  padding-block: 26px;
  border-top: 1px solid #263f53;
  background: #050f1b;
}

.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #9bb3c7;
  font-size: 12px;
}

.footer strong {
  color: #e4f2fc;
}

.footer a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* 10 — Responsive layouts: match the 800px menu breakpoint in navigation.js. */
@media (max-width: 1100px) {
  .hero-grid {
    gap: 35px;
  }

  .overview, .org-layout {
    gap: 35px;
  }

  .contact-grid {
    gap: 30px;
  }

  .links {
    gap: 19px;
  }

  .card-body {
    padding: 24px;
  }

  .card h3 {
    font-size: 22px;
  }

  .card-body > p {
    min-height: 125px;
  }

  .sector-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sector-card h3 {
    min-height: 0;
  }

  .support-capabilities {
    gap: 22px;
  }

  .org-columns {
    gap: 8px;
  }

  .org-unit {
    padding: 16px 12px;
  }

  .contact-link a {
    font-size: 15px;
  }

}

@media (max-width: 900px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card h3 {
    min-height: 74px;
  }

  .card-body > p {
    min-height: 100px;
  }

  .support-capabilities {
    grid-template-columns: 1fr 1fr;
  }

  .support-intro {
    grid-column: 1 / -1;
  }

  .support-intro h3 br {
    display: none;
  }

  .ecosystem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ecosystem-grid .eco-node {
    grid-area: auto;
  }

  .ecosystem-grid .eco-core {
    grid-area: 1 / 1 / 2 / -1;
    margin-bottom: 14px;
  }

}

@media (max-width: 800px) {
  :root {
    --section-space: 56px;
  }

  .wrap {
    width: calc(100% - 40px);
  }

  .nav {
    flex-wrap: wrap;
    gap: 0;
    min-height: 80px;
  }

  .menu {
    display: block;
  }

  .links {
    width: 100%;
    flex-wrap: wrap;
    gap: 20px;
    padding: 15px 0 20px;
    border-top: 1px solid #2c485d;
  }

  .links .btn {
    margin-left: auto;
  }

  .hero-grid, .overview, .org-layout, .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-block: 35px;
  }

  .hero h1 {
    font-size: clamp(44px, 8vw, 64px);
  }

  .coverage-card {
    max-width: 600px;
    width: 100%;
    margin-inline: auto;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .section-heading > p {
    max-width: 620px;
  }

  .delivery-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .delivery-foundation > span {
    flex-basis: 100%;
  }

  .org-layout {
    gap: 35px;
  }

}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 43px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-caption {
    margin: 14px 8px 0;
  }

  .hero-caption strong {
    font-size: 23px;
  }

  .hero-caption > span {
    font-size: 9px;
  }

  .map-note {
    top: 10px;
    left: 10px;
    padding: 7px 9px;
  }

  .map-note strong {
    font-size: 10px;
  }

  .map-note span {
    font-size: 9px;
  }

  .cards, .delivery-steps, .sector-grid, .support-capabilities {
    grid-template-columns: 1fr;
  }

  .card h3 {
    min-height: 0;
    max-width: 20ch;
    font-size: 26px;
  }

  .card-body > p {
    min-height: 0;
  }

  .card-topline {
    margin-bottom: 22px;
  }

  .support-capabilities {
    gap: 28px;
  }

  .delivery-steps li {
    padding: 24px;
  }

  .step-number {
    margin-bottom: 18px;
  }

  .sector-card {
    padding: 26px;
  }

  .sector-card p {
    margin-bottom: 20px;
  }

  .purpose article {
    padding: 24px;
  }

  .ecosystem-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ecosystem-grid .eco-core {
    grid-column: 1;
    width: 180px;
    height: 180px;
  }

  .org-columns {
    grid-template-columns: 1fr;
    padding-top: 0;
    border-top: 0;
  }

  .org-unit::before {
    display: none;
  }

  .org-unit h3 {
    min-height: 0;
    margin-bottom: 10px;
  }

  .org-unit ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .org-unit li {
    padding: 6px 9px;
    border: 1px solid #335a75;
    border-radius: 4px;
  }

  .links {
    gap: 16px;
    font-size: 13px;
  }

  .links .btn {
    padding: 10px 15px;
  }

}

/* 11 — Progressive reveal and reduced-motion preferences */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.active {
  opacity: 1;
  transform: none;
}

@keyframes network-resonance {
  0%, 100% {
    transform: scale(0.8);
    opacity: 0.2;
  }

  50% {
    transform: scale(1.25);
    opacity: 0.65;
  }
}

@keyframes core-resonance {
  0% {
    transform: scale(0.94);
    opacity: 0.7;
  }

  100% {
    transform: scale(1.18);
    opacity: 0;
  }
}

@keyframes core-glow {
  0%, 100% {
    box-shadow: 0 0 50px #68def233;
  }

  50% {
    box-shadow: 0 0 80px #68def266;
  }
}

@keyframes hq-pulse {
  0% {
    transform: scale(0.6);
    opacity: 0.8;
  }

  70%, 100% {
    transform: scale(1.7);
    opacity: 0;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .btn:hover {
    transform: none;
  }

}
