/* ==========================================================================
   COMPONENTS
   Reusable pieces. Each block is self-contained and named after
   what it is (BEM style: .block, .block__part, .block--variant).
    1. Buttons and links
    2. Grid tile shape (the logo motif)
    3. Choice tiles ("What are you powering?")
    4. Form fields
    5. Enquiry form
    6. Platform card
    7. Lists and icon chips
    8. Claim-control note
    9. Photo frame
   10. WhatsApp button and mobile bar
   11. Drawer
   12. Toast
   ========================================================================== */


/* 1. Buttons and links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: 600 16px/1.2 var(--font-body);
  text-decoration: none;
  transition: background-color .2s, color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary:hover { background: var(--brand-ink); }
.btn--light { background: var(--on-dark); color: #1E1F3B; }
.btn--light:hover { background: var(--sun); }
.btn--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn--outline:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--block { width: 100%; }
.btn svg { width: 20px; height: 20px; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .btn--primary:hover { background: #FFFFFF; }
}
:root[data-theme="dark"] .btn--primary:hover { background: #FFFFFF; }

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--brand);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.text-link:hover { text-decoration-color: var(--accent); }

.link-button {
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--brand-ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}


/* 2. Grid tile shape
   A square with circular joints cut from chosen corners, as in the
   Sensory Grid mark. Add .bite-tl / -tr / -bl / -br for each corner.
   --bite sets the joint radius, --offset where its centre sits.
   -------------------------------------------------------------------------- */
.tile-shape {
  --bite: 24px;
  --offset: -5px;
  --m-tl: linear-gradient(#000 0 0);
  --m-tr: linear-gradient(#000 0 0);
  --m-bl: linear-gradient(#000 0 0);
  --m-br: linear-gradient(#000 0 0);
  -webkit-mask-image: var(--m-tl), var(--m-tr), var(--m-bl), var(--m-br);
          mask-image: var(--m-tl), var(--m-tr), var(--m-bl), var(--m-br);
  -webkit-mask-position: 0 0, 100% 0, 0 100%, 100% 100%;
          mask-position: 0 0, 100% 0, 0 100%, 100% 100%;
  -webkit-mask-size: 51% 51%;
          mask-size: 51% 51%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
}
.bite-tl { --m-tl: radial-gradient(circle at var(--offset) var(--offset), #0000 var(--bite), #000 calc(var(--bite) + .5px)); }
.bite-tr { --m-tr: radial-gradient(circle at calc(100% - var(--offset)) var(--offset), #0000 var(--bite), #000 calc(var(--bite) + .5px)); }
.bite-bl { --m-bl: radial-gradient(circle at var(--offset) calc(100% - var(--offset)), #0000 var(--bite), #000 calc(var(--bite) + .5px)); }
.bite-br { --m-br: radial-gradient(circle at calc(100% - var(--offset)) calc(100% - var(--offset)), #0000 var(--bite), #000 calc(var(--bite) + .5px)); }

/* Small coloured marker in the platform colour */
.swatch {
  display: inline-block;
  flex: none;
  width: 22px; height: 22px;
  background: var(--c);
  border-radius: 3px;
  --bite: 8px;
  --offset: -1px;
}


/* 3. Choice tiles
   -------------------------------------------------------------------------- */
.choice-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.choice {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 112px;
  padding: 18px 20px;
  cursor: pointer;
  color: var(--ink);
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__fill {
  position: absolute; inset: 0; z-index: -1;
  border-radius: var(--radius-s);
  background: color-mix(in srgb, var(--c) var(--tile-mix), var(--surface));
  transition: background-color .25s;
}
.choice:hover .choice__fill { background: color-mix(in srgb, var(--c) 75%, var(--surface)); }
.choice:has(input:checked) .choice__fill { background: var(--c); }
.choice:has(input:checked) { color: #1E1F3B; }
.choice[data-c="indigo"]:has(input:checked) { color: #FFFFFF; }
.choice:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: var(--radius-s); }
.choice__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 500 17.5px/1.2 var(--font-display);
}
.choice__radio {
  display: grid;
  place-items: center;
  flex: none;
  width: 20px; height: 20px;
  border: 2px solid currentColor;
  border-radius: 50%;
}
.choice__radio::after {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
  transform: scale(0);
  transition: transform .2s;
}
.choice:has(input:checked) .choice__radio::after { transform: scale(1); }

/* Older browsers without :has() (Firefox before 121, Safari before 15.4):
   the same checked and focus states, reached through the input's siblings.
   Modern browsers skip this block, so they render exactly as before. */
@supports not selector(:has(a)) {
  .choice input:checked ~ .choice__fill { background: var(--c); }
  .choice input:checked ~ .choice__label,
  .choice input:checked ~ .choice__sub { color: #1E1F3B; }
  .choice[data-c="indigo"] input:checked ~ .choice__label,
  .choice[data-c="indigo"] input:checked ~ .choice__sub { color: #FFFFFF; }
  .choice input:checked ~ .choice__label .choice__radio::after { transform: scale(1); }
  .choice:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: var(--radius-s); }
}
.choice__sub { padding-left: 30px; font-size: 14px; font-weight: 600; opacity: .85; }

@media (prefers-reduced-motion: no-preference) {
  .choice { animation: tile-in .6s cubic-bezier(.2, .7, .2, 1) both; }
  .choice:nth-child(1) { animation-delay: .10s; } .choice:nth-child(2) { animation-delay: .17s; }
  .choice:nth-child(3) { animation-delay: .24s; } .choice:nth-child(4) { animation-delay: .31s; }
  .choice:nth-child(5) { animation-delay: .38s; } .choice:nth-child(6) { animation-delay: .45s; }
}
@keyframes tile-in { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }


/* 4. Form fields
   -------------------------------------------------------------------------- */
.field { display: grid; gap: 6px; }
.field__label { font-size: 14.5px; font-weight: 500; color: var(--ink); }
.input,
.select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface);
  font-size: 16px;
  color: var(--ink);
}
.select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%237D7FB8' stroke-width='2' viewBox='0 0 12 12'%3E%3Cpath d='m2 4 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.input:focus-visible,
.select:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.input[aria-invalid="true"] { border-color: var(--error); }
.form-error { margin-bottom: 10px; font-size: 14.5px; font-weight: 500; color: var(--error); }
.form-note { margin-top: 12px; font-size: 14px; color: var(--muted); }

.upload {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 14px 18px;
  border: 1.5px dashed var(--line-strong);
  border-radius: 12px;
  background: var(--bg-alt);
  cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.upload:hover { border-color: var(--brand); }
.upload:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.upload.is-attached {
  border-style: solid;
  border-color: var(--teal);
  background: color-mix(in srgb, var(--teal) 10%, var(--surface));
}
.upload__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--brand-ink);
}
.upload__icon svg { width: 20px; height: 20px; }
.upload strong { display: block; font-size: 15.5px; color: var(--ink); }
.upload small { display: block; font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }

.picked {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--c) 55%, var(--surface));
  border-radius: 12px;
  background: color-mix(in srgb, var(--c) 16%, var(--surface));
  color: var(--ink);
  font-size: 15.5px;
}
.picked p, .picked > span:last-child { flex: 1; }
.picked .swatch { width: 30px; height: 30px; --bite: 10px; }


/* 5. Enquiry form
   -------------------------------------------------------------------------- */
.enquiry-form__heading { margin-bottom: 22px; font-size: 22px; font-weight: 500; }
.enquiry-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.enquiry-form--compact .enquiry-form__grid { grid-template-columns: 1fr; gap: 14px; }
.field--full { grid-column: 1 / -1; }
.enquiry-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-card {
  padding: clamp(24px, 3.5vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: var(--shadow);
}


/* 6. Platform card
   -------------------------------------------------------------------------- */
.platform-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: border-color .2s, box-shadow .2s;
}
.platform-card:hover,
.platform-card.is-match { border-color: var(--c); box-shadow: 0 0 0 1px var(--c), var(--shadow); }
.platform-card__photo { aspect-ratio: 4 / 3; background: color-mix(in srgb, var(--c) 30%, var(--photo-placeholder)); }
.platform-card__body {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 40px 24px 22px;
}
.platform-card__tile {
  position: absolute; top: -28px; left: 24px;
  width: 56px; height: 56px;
  background: var(--c);
  --bite: 16px;
  --offset: -2px;
}
.platform-card__kind { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--muted); }
.platform-card__title { margin-top: 6px; font-size: 22px; line-height: 1.2; }
.platform-card__title a { color: inherit; text-decoration: none; }
.platform-card__title a:hover { text-decoration: underline; text-decoration-color: var(--c); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.platform-card__text { margin-top: 10px; font-size: 15.5px; }
.platform-card__action { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; margin-top: auto; padding-top: 20px; }
.platform-card__action a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--c);
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
}
.platform-card__action a:hover { text-decoration-thickness: 5px; }
.platform-card__match {
  display: none;
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--c);
  color: #1E1F3B;
  font-size: 12.5px;
  font-weight: 600;
}
.platform-card[data-c="indigo"] .platform-card__match { color: #FFFFFF; }
.platform-card.is-match .platform-card__match { display: inline-block; }

/* Large variant for the lead platforms */
.platform-card--feature .platform-card__photo { aspect-ratio: 16 / 9; }
.platform-card--feature .platform-card__body { padding: 44px 32px 26px; }
.platform-card--feature .platform-card__tile { width: 64px; height: 64px; top: -32px; left: 32px; --bite: 18px; }
.platform-card--feature .platform-card__title { font-size: 30px; }
.platform-card--feature .platform-card__text { font-size: 17px; max-width: 34em; }
.platform-card--feature .platform-card__action a {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
}
.platform-card--feature .platform-card__action a:hover { background: var(--brand-ink); }
/* The second link on a card: hands over to the page's enquiry form, quieter than "Explore" */
.platform-card__action .platform-card__enquire,
.platform-card--feature .platform-card__action .platform-card__enquire {
  min-height: 44px;
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
}
.platform-card__action .platform-card__enquire:hover,
.platform-card--feature .platform-card__action .platform-card__enquire:hover { background: none; color: var(--ink); text-decoration-color: var(--c); text-decoration-thickness: 1.5px; }


/* 7. Lists and icon chips
   -------------------------------------------------------------------------- */
.check-list { display: grid; gap: 8px; margin-top: 16px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; color: var(--ink); }
.check-list svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: color-mix(in srgb, var(--c, var(--brand)) 75%, var(--ink)); }

.icon-chip {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--brand-ink);
}
.icon-chip svg { width: 22px; height: 22px; }
.icon-chip--dark { width: 52px; height: 52px; border: 0; background: var(--ink); color: var(--bg); }
.icon-chip--dark svg { width: 26px; height: 26px; }


/* Contact links (WhatsApp, phone, email) beside forms */
.contact-links { display: grid; gap: 2px; margin-top: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.contact-links a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}
.contact-links a:hover span { text-decoration: underline; text-underline-offset: 4px; }
.contact-links svg { flex: none; width: 22px; height: 22px; color: var(--brand-ink); }


/* 8. Claim-control note (used on dark bands)
   -------------------------------------------------------------------------- */
.claim-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-top: 16px;
  padding: 16px 22px;
  border: 1px dashed rgba(255, 255, 255, .22);
  border-radius: var(--radius-m);
  font-size: 15px;
  color: var(--on-dark-text);
}
.claim-note svg { flex: none; width: 20px; height: 20px; color: var(--teal); }
.claim-note a { color: var(--on-dark); font-weight: 600; text-decoration-color: var(--sun); text-underline-offset: 4px; }


/* 9. Photo frame: shows a soft placeholder until the image loads
   -------------------------------------------------------------------------- */
.photo { overflow: hidden; background: var(--photo-placeholder); }
.photo img { width: 100%; height: 100%; object-fit: cover; }


/* 10. WhatsApp button and mobile bar
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 30;
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  box-shadow: 0 10px 24px -8px rgba(18, 140, 70, .6);
}
.whatsapp-float svg { width: 28px; height: 28px; }

.mobile-bar { display: none; }

@media (max-width: 767px) {
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .whatsapp-float { display: none; }
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
    display: flex;
    gap: 10px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line);
    background: var(--surface);
  }
  .mobile-bar .btn { flex: 1; }
  .mobile-bar__whatsapp {
    display: grid;
    place-items: center;
    flex: none;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: #25D366;
    color: #FFFFFF;
  }
  .mobile-bar__whatsapp svg { width: 24px; height: 24px; }
}


/* 11. Drawer: lavender enquiry form. Slides up on phones, centred dialog on larger screens
   -------------------------------------------------------------------------- */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer__backdrop {
  position: absolute; inset: 0;
  background: rgba(20, 21, 42, .5);
  opacity: 0;
  transition: opacity .25s;
}
.drawer__sheet {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-height: 88vh;
  overflow-y: auto;
  padding: 12px var(--gutter) calc(24px + env(safe-area-inset-bottom, 0px));
  border-radius: 22px 22px 0 0;
  background: var(--drawer);
  transform: translateY(105%);
  transition: transform .3s cubic-bezier(.2, .7, .2, 1);
}
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__sheet { transform: none; }
.drawer__grip { width: 44px; height: 5px; margin: 0 auto 14px; border-radius: 3px; background: var(--line-strong); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.drawer__head h2 { font-size: 22px; font-weight: 500; }
.drawer__intro { margin: -8px 0 18px; font-size: 15px; }

/* Larger screens: the same form as a centred dialog */
@media (min-width: 768px) {
  .drawer__sheet {
    left: 50%; right: auto; top: 50%; bottom: auto;
    width: min(560px, calc(100vw - 48px));
    max-height: min(86vh, 760px);
    padding: 28px 32px 30px;
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(20, 21, 42, .25);
    opacity: 0;
    transform: translate(-50%, -46%);
    transition: transform .25s cubic-bezier(.2, .7, .2, 1), opacity .2s;
  }
  .drawer.is-open .drawer__sheet { opacity: 1; transform: translate(-50%, -50%); }
  .drawer__grip { display: none; }
  .drawer__head h2 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .drawer__sheet, .drawer__backdrop { transition: none; }
}
.icon-button {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
  color: var(--ink);
}
.icon-button svg { width: 16px; height: 16px; }


/* 12. Toast
   -------------------------------------------------------------------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  z-index: 70;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--bg);
  font-size: 15px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
  transition: opacity .2s, transform .2s;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 767px) {
  .toast { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}


/* Component breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 599px) {
  .enquiry-form__grid { grid-template-columns: 1fr; }
}
@media (max-width: 479px) {
  .choice { min-height: 100px; padding: 16px; }
  .choice__label { font-size: 15.5px; gap: 8px; }
  .choice__radio { width: 18px; height: 18px; }
  .choice__sub { padding-left: 26px; font-size: 13px; }
  .choice__fill { --bite: 20px; }
}

/* Captcha (Cloudflare Turnstile), shown only when keys are set in config/site.php */
.captcha { min-height: 65px; }
.captcha .cf-turnstile { width: 100%; }


/* Scroll reveal (assets/js/modules/reveal.js)
   The script adds .reveal-pending to content below the screen, then swaps
   it for .reveal-in when it scrolls into view. Without the script, or with
   reduced motion, neither class is ever added.
   -------------------------------------------------------------------------- */
.reveal-pending { opacity: 0; transform: translateY(16px); }
/* !important: an element's own hover transition must not cancel its arrival.
   The script removes .reveal-in again as soon as the element has arrived. */
.reveal-in {
  transition: opacity .55s ease, transform .55s cubic-bezier(.2, .7, .2, 1) !important;
  transition-delay: var(--reveal-delay, 0ms) !important;
}
@media print { .reveal-pending { opacity: 1; transform: none; } }



/* 14. Inner-page heroes, homepage style (SGPL, 6 Nov 2026)
   Same recipe as the homepage hero: a photo, a dark navy layer and white
   text. Each page has its own background photo, never the photo shown in
   its own card on the right (that card stays). Add class="hero-dark" to the
   hero and hero_bg() markup inside it. Light text applies only inside
   .platform-hero__text or .hero-dark__text, so cards keep their colours.
   -------------------------------------------------------------------------- */
.hero-dark { position: relative; isolation: isolate; overflow: hidden; color: var(--on-dark-text); }
:is(.platform-hero, .solutions-intro, .contact-head).hero-dark { background: var(--band); }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-dark::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(20, 21, 42, .94) 0%, rgba(20, 21, 42, .82) 38%, rgba(20, 21, 42, .5) 70%, rgba(20, 21, 42, .4) 100%);
}
@media (max-width: 1023px) {
  .hero-dark::before { background: linear-gradient(180deg, rgba(20, 21, 42, .92) 0%, rgba(20, 21, 42, .82) 55%, rgba(20, 21, 42, .7) 100%); }
}
:is(.hero-dark .platform-hero__text, .hero-dark .hero-dark__text) :is(h1, .platform-hero__kind, .platform-hero__tagline, .platform-hero__facts li) { color: var(--on-dark); }
:is(.hero-dark .platform-hero__text, .hero-dark .hero-dark__text) :is(.lede, .breadcrumbs) { color: var(--on-dark-text); }
:is(.hero-dark .platform-hero__text, .hero-dark .hero-dark__text) .breadcrumbs a { text-decoration-color: var(--sun); }
:is(.hero-dark .platform-hero__text, .hero-dark .hero-dark__text) .split-heading .light { color: var(--sun); }
:is(.hero-dark .platform-hero__text, .hero-dark .hero-dark__text) .btn--primary { background: var(--on-dark); color: #1E1F3B; }
:is(.hero-dark .platform-hero__text, .hero-dark .hero-dark__text) .btn--primary:hover { background: var(--sun); }
:is(.hero-dark .platform-hero__text, .hero-dark .hero-dark__text) .btn--outline { color: var(--on-dark); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
:is(.hero-dark .platform-hero__text, .hero-dark .hero-dark__text) .btn--outline:hover { box-shadow: inset 0 0 0 1.5px var(--on-dark); }
:is(.hero-dark .platform-hero__text, .hero-dark .hero-dark__text) .btn--outline svg { color: currentColor; }
:is(.hero-dark .platform-hero__text, .hero-dark .hero-dark__text) :focus-visible { outline-color: var(--sun); }
/* The page's photo card on the dark hero (SGPL, 27 Nov 2026): a balanced,
   professional finish. Contrast and saturation brought down a little so it
   is not harsh next to the navy, fully opaque so it is not washed out, a
   faint navy veil and a soft shade at the bottom so it belongs to the scene. */
.hero-dark .platform-hero__photo {
  position: relative;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 28px 64px -24px rgba(0, 0, 0, .6);
}
.hero-dark .platform-hero__photo img { filter: saturate(.88) contrast(.9) brightness(.95); }
.hero-dark .platform-hero__photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 21, 42, .06) 0%, rgba(20, 21, 42, .06) 50%, rgba(20, 21, 42, .34) 100%);
  pointer-events: none;
}
