/* ==================== TOKENS ==================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Syne";
  src: url("../fonts/Syne-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --font-body: "Inter", sans-serif;
  --font-display: "Syne", sans-serif;

  /* type: weights and tracking. Display: uppercase hero titles. Snug: sentence-case display and large type. UI: buttons, chips, nav, text links and the wordmark. Label / wide: small uppercase labels and eyebrows. Everything else keeps normal tracking. */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --tracking-display: -0.03em;
  --tracking-snug: -0.01em;
  --tracking-ui: 0.06em;
  --tracking-label: 0.1em;
  --tracking-wide: 0.12em;

  --site-gutter: clamp(1.25rem, 5.833vw, 7rem);
  --header-h: 80px;
  --site-header-bg: rgba(22, 22, 22, 0.96);
  --site-border: rgba(255, 255, 255, 0.1);
  --bs-body-font-family: var(--font-body);

  /* accents */
  --gold: #fdb92e;
  --gold-soft: #ffd68b;
  --gold-hover: #e2a325;
  --yellow-2: #ffc62b;

  /* dark surfaces */
  --surface-black: #090a0b;
  --surface-lowest: #0e0e0e;
  --surface-deep: #111111;
  --surface: #131313;
  --dark: #161616;
  --panel: #181818;
  --surface-low: #1b1b1b;
  --dark-card: #1d1d1d;
  --charcoal: #202020;
  --dark-card-alt: #232323;
  --surface-high: #2a2a2a;
  --surface-highest: #353535;

  /* dark text on light sections */
  --dark-text: #1c1c1c;
  --body-dark: #555;

  /* light surfaces and text */
  --text: #e5e2e1;
  --text-soft: #c8c6c6;
  --text-warm: #d4c4ac;
  --outline: #9d8f79;
  --light: #efefef;
  --warm-white: #f5f3ef;
  --light-border: #e2e2e2;
  --light-card: #fff;

  /* muted greys */
  --muted-light: #666666;
  --muted-2: #777777;
  --muted: #888888;
  --muted-dark: #999999;

  /* motion and shape */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  /* card surfaces: padding and corner radius tiers */
  --card-pad-sm: 1.5rem;
  --card-pad: 2rem;
  --card-pad-lg: clamp(2rem, 4vw, 4rem);
  --card-radius-sm: 2px;
  --card-radius: 0.5rem;
  --card-radius-lg: 12px;

  /* standalone media (images not filling a card) */
  --media-radius: 0.5rem;
}

/* Fixed header height: content below it is offset by the same token */
@media (max-width: 991.98px) {
  :root {
    --header-h: 72px;
  }
}

/* ==================== RESET ==================== */

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

img {
  max-width: 100%;
}

input,
select,
textarea,
button {
  font: inherit;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

/* ==================== BASE ==================== */

html,
body {
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  color: var(--body-color, #fff);
  background: var(--body-bg, var(--surface));
}

/* Per-page body colour and background: tokens read by the body rule above */
.overview-body,
.portfolio-body,
.asset-body {
  --body-color: var(--text);
}

.build-body,
.systems-body {
  --body-bg: var(--dark);
}

.work-detail-body,
.systems-product-body {
  --body-bg: var(--surface-deep);
}

.technical-body::selection,
.build-body::selection,
.inquiry-body::selection {
  color: #000;
  background: var(--gold);
}

a {
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  max-width: 100%;
  margin-top: 0;
  overflow-wrap: break-word;
}

button,
[role="button"],
input[type="button"],
input[type="reset"],
input[type="submit"],
a[class*="btn"],
a[class*="button"] {
  max-width: 100%;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ==================== LAYOUT ==================== */

/* Shared page shell */
.page-shell {
  width: 100%;
  max-width: 1920px;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--site-gutter);
  padding-left: var(--site-gutter);
}

/* Shared offset below the fixed header */
.page-main {
  padding-top: var(--header-h);
}

/* ==================== COMPONENTS ==================== */

/* Header and navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1030;
  width: 100%;
  height: var(--header-h);
  color: #fff;
  background: var(--site-header-bg);
  border-bottom: 1px solid var(--site-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-shell {
  height: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 2rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 0.7rem;
  color: inherit;
}

.header-logo {
  display: block;
  flex: 0 0 auto;
  width: 30px;
  height: 38px;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1;
  white-space: nowrap;
}

.brand-copy strong {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-ui);
}

.brand-copy small {
  margin-top: 0.28rem;
  font-size: 0.42rem;
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  color: var(--muted);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 8px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.1vw, 2.5rem);
}

/* Nav and footer links share type, colour and the hover and active colours */
.nav-link,
.footer-link {
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-ui);
  text-transform: uppercase;
  color: var(--muted-dark);
  transition: color 0.2s ease;
}

.nav-link {
  position: relative;
  padding: 0.45rem 0;
  font-size: 0.75rem;
  line-height: 1.2;
  white-space: nowrap;
}

.inquiry-link {
  padding: 0.8rem 1.1rem;
  color: white;
  background: var(--gold);
  border: 1px solid var(--gold);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-link:hover,
.nav-link:focus-visible,
.footer-link:hover,
.footer-link:focus-visible {
  color: #fff;
}

.nav-link.active,
.footer-link.active {
  color: var(--gold);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--gold);
}

.inquiry-link:hover,
.inquiry-link:focus-visible {
  color: var(--gold);
  background: transparent;
}

.inquiry-link.active {
  color: white;
}

.inquiry-link.active::after {
  display: none;
}

@media (max-width: 991.98px) {
  .header-logo {
    width: 27px;
    height: 34px;
  }

  .header-inner {
    gap: 0.75rem;
  }

  .nav-toggle {
    position: relative;
    z-index: 2;
    display: block;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: calc(-1 * var(--site-gutter));
    left: calc(-1 * var(--site-gutter));
    display: none;
    align-items: stretch;
    padding: 0.75rem var(--site-gutter) 1rem;
    gap: 0;
    background: rgba(22, 22, 22, 0.99);
    border-bottom: 1px solid var(--site-border);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.3);
  }

  .site-nav .nav-link {
    width: 100%;
    padding: 0.8rem 0;
    text-align: center;
  }

  .site-nav .inquiry-link {
    align-self: center;
    width: max-content;
    margin: 0.5rem auto 0;
    padding: 0.8rem 1.1rem;
  }

  .site-nav.is-open {
    display: flex;
    flex-direction: column;
  }

  .site-nav .nav-link.active::after {
    right: auto;
    left: 50%;
    width: 32px;
    transform: translateX(-50%);
  }
}

@media (max-width: 420px) {
  .brand-copy strong {
    font-size: 0.6875rem;
  }

  .brand-copy small {
    font-size: 0.38rem;
  }
}

/* Footer */
.site-footer {
  padding: 3.5rem 0 0;
  font-size: 0.75rem;
  color: #fff;
  background: var(--surface-deep);
  border-top: 1px solid var(--site-border);
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 3rem;
  gap: clamp(2rem, 5vw, 5rem);
  border-bottom: 1px solid var(--site-border);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-transform: uppercase;
}

.footer-logo {
  display: block;
  flex: 0 0 auto;
  width: 27px;
  height: 34px;
  object-fit: contain;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: var(--weight-bold);
  line-height: 1.1;
  letter-spacing: var(--tracking-ui);
  color: rgba(255, 255, 255, 0.92);
}

.footer-private {
  margin-top: 0.3rem;
  font-size: 0.55rem;
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  color: var(--muted);
}

.footer-tagline {
  max-width: 19rem;
  margin-top: 0.7rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.6);
}

.footer-heading {
  margin-bottom: 0.85rem;
  font-size: 0.72rem;
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-link {
  font-size: 0.72rem;
}

.footer-inquiry {
  font-style: normal;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
}

.footer-address {
  margin: 0 0 0.5rem;
  font-weight: var(--weight-medium);
  color: #fff;
}

.footer-email,
.footer-phone {
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.footer-phones {
  margin-top: 0.25rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  gap: 1rem;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.42);
}

.footer-bottom > div:first-child {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-phrase {
  font-size: 13px;
  text-align: right;
  color: var(--gold);
}

.footer-credentials {
  display: flex;
  flex: 1 0 100%;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  letter-spacing: var(--tracking-ui);
  color: rgba(255, 255, 255, 0.55);
}

.footer-credential-code {
  font-weight: var(--weight-semibold);
  color: #fff;
}

.footer-email:hover,
.footer-email:focus-visible,
.footer-phone:hover,
.footer-phone:focus-visible {
  color: var(--gold);
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .footer-main {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }
}

@media (max-width: 767.98px) {
  .site-footer {
    padding-top: 3rem;
    text-align: center;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .footer-main > * {
    min-width: 0;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-tagline,
  .footer-inquiry {
    margin-right: auto;
    margin-left: auto;
  }

  .footer-links {
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
  }

  .footer-credentials {
    flex-basis: auto;
    flex-direction: column;
    align-items: center;
  }

  .footer-phrase {
    text-align: center;
  }
}

/* Section bands. The dark band surface is shared with .hero-band. Dark bands keep the page text colour; other surfaces via the .bg-* utilities, no rule via .border-bottom-0. --strong: darker rule on a light band. Padding via a .section--* tier. */
.section-dark,
.hero-band {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  border-bottom: 1px solid var(--site-border);
}

.section-light {
  color: var(--dark-text);
  background: var(--light);
  border-bottom: 1px solid var(--light-border);
}

.section-light--strong {
  border-bottom-color: #d1d1d1;
}

/* Section bands: padding tiers by role. --lg 6rem for main content sections, --md 5rem for closing CTA bands, --sm 4rem for compact strips (page intro, back-link row); one rem less on phones. */
.section--lg {
  padding: 6rem 0;
}

.section--md {
  padding: 5rem 0;
}

.section--sm {
  padding: 4rem 0;
}

@media (max-width: 767.98px) {
  .section--lg {
    padding: 5rem 0;
  }

  .section--md {
    padding: 4rem 0;
  }

  .section--sm {
    padding: 3rem 0;
  }
}

/* Eyebrow: uppercase kicker 1rem above a title, label tracking. Colour: gold on dark bands; --dark grey on light bands. --sm: smaller type, a flex row that keeps a ::before marker 0.5rem from the text. */
.eyebrow {
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow--sm {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  line-height: 1.25;
}

.eyebrow--dark {
  color: var(--muted-light);
}

@media (max-width: 575.98px) {
  .eyebrow--sm {
    font-size: 0.625rem;
  }
}

/* Label: uppercase micro-type for codes, kickers, categories and meta lines (11px; --xs 10px; --wide tracking; --plain regular weight; --loose body line height). Colour via the .text-* utilities. */
.label {
  font-size: 0.6875rem;
  font-weight: var(--weight-semibold);
  line-height: 1.25;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

.label--xs {
  font-size: 0.625rem;
}

.label--wide {
  letter-spacing: var(--tracking-wide);
}

.label--plain {
  font-weight: var(--weight-regular);
}

.label--loose {
  line-height: 1.5;
}

/* Display titles: hero (h1), section and CTA titles share the display face and weight, with a gold <span> accent. Hero titles are the only uppercase display type; section and CTA titles are sentence case with snug tracking. Fluid size tiers, each sized so its longest word fits its column at every width. Hero: --md beside a form or record (contact, project detail), --lg page heroes, --xl division landing heroes; from 768px (--md 992px) they size to the split column. Section: --sm record-page sub-sections, default section heads, --lg intro statement set beside copy or media. CTA: --md. */
.hero-title,
.section-title,
.cta-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
}

.hero-title {
  line-height: 1.05;
  letter-spacing: var(--tracking-display);
  text-transform: uppercase;
}

.section-title,
.cta-title {
  line-height: 1.1;
  letter-spacing: var(--tracking-snug);
}

.section-title {
  font-size: clamp(1.625rem, max(min(8vw, 2.1rem), 3.9vw), 3rem);
}

.cta-title {
  margin-bottom: 1.5rem;
}

.hero-title span,
.section-title span,
.cta-title span {
  color: var(--gold);
}

.hero-title--md {
  font-size: clamp(1.375rem, 6.8vw, 2.75rem);
}

.hero-title--lg {
  font-size: clamp(1.625rem, 8.5vw, 2.6rem);
}

.hero-title--xl {
  font-size: clamp(1.625rem, 8.6vw, 2.75rem);
}

.section-title--sm {
  font-size: clamp(1.625rem, 1.05rem + 1.6vw, 2.5rem);
}

.section-title--lg {
  font-size: clamp(1.625rem, max(min(8.3vw, 2.25rem), 3.9vw), 3.75rem);
}

.cta-title--md {
  font-size: clamp(1.875rem, max(min(7vw, 2.3rem), 3.8vw), 3.5rem);
}

@media (min-width: 768px) {
  .hero-title--lg {
    font-size: clamp(2.25rem, 4vw, 3.75rem);
  }

  .hero-title--xl {
    font-size: clamp(2.2rem, 4.6vw, 4.125rem);
  }
}

@media (min-width: 992px) {
  .hero-title--md {
    font-size: clamp(1.875rem, 3vw, 3.75rem);
  }
}

/* Section head: eyebrow + title (+ intro) above a section's content. --lg / --xl: roomier gap below. --center: centred, wider. */
.section-head {
  max-width: 48rem;
  margin-bottom: 3rem;
}

.section-head--lg {
  margin-bottom: 4rem;
}

.section-head--xl {
  margin-bottom: 6rem;
}

.section-head--center {
  max-width: 56rem;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

/* Body copy: .lead-copy is the intro paragraph (fluid 16-18px); --md 16px and --sm 15px body text; --lg fixed 18px with a wider measure. Colour: soft by default, --dim / --muted / --warm on dark, --dark on light. .card-text: 14px card body, --dark on light cards. */
.lead-copy {
  margin: 0;
  font-size: clamp(1rem, 0.825rem + 0.48vw, 1.125rem);
  line-height: 1.6;
  color: var(--text-soft);
}

.lead-copy--md {
  font-size: 1rem;
  line-height: 1.7;
}

.lead-copy--sm {
  font-size: 0.9375rem;
  line-height: 1.65;
}

.lead-copy--lg {
  max-width: 36rem;
  font-size: 1.125rem;
}

.lead-copy--dim {
  color: rgba(255, 255, 255, 0.7);
}

.lead-copy--muted {
  color: rgba(255, 255, 255, 0.6);
}

.lead-copy--warm {
  color: var(--text-warm);
}

.lead-copy--dark {
  color: var(--body-dark);
}

.card-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}

.card-text--dark {
  color: var(--body-dark);
}

/* Hero image: full-height contained image, background layer on phones */
.hero-image {
  display: block;
  width: auto;
  max-width: none;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 991.98px) {
  .hero-image {
    object-position: 42% center;
  }

  .hero-image--center {
    object-position: center;
  }
}

@media (max-width: 767.98px) {
  .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

/* Responsive oversized hero media. Pages configure the three breakpoint widths/heights with custom properties. */
@media (max-width: 991.98px) {
  .hero-image--oversize {
    width: min(var(--hero-image-width-lg, 100%), 700px);
    max-height: var(--hero-image-max-lg, none);
  }
}

@media (max-width: 767.98px) {
  .hero-image--oversize {
    width: var(--hero-image-width-md, var(--hero-image-width-lg, 100%));
    max-height: var(--hero-image-max-md, var(--hero-image-max-lg, none));
  }
}

@media (max-width: 575.98px) {
  .hero-image--oversize {
    width: var(
      --hero-image-width-sm,
      var(--hero-image-width-md, var(--hero-image-width-lg, 100%))
    );
    max-height: var(
      --hero-image-max-sm,
      var(--hero-image-max-md, var(--hero-image-max-lg, none))
    );
  }
}

/* Split hero: copy left, image right; image becomes a faded background on phones. Band: --fit sits in .page-main, one header (--header-h) shorter than the viewport; --stack is --fit on desktop in small-viewport units (svh), layers the image over the copy and stacks it under the copy below 992px. Split: --wide 5/7 columns with a 3rem gap (55/45 below 992px); --half equal columns with a 3rem gap; --bleed right-aligns the image and, from 992px, takes it out of the grid to the viewport's right edge. */
.hero-band {
  min-height: 100vh;
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 57%) minmax(0, 43%);
  align-items: stretch;
  min-height: 100vh;
}

.hero-split-copy {
  z-index: 1;
  align-self: center;
  width: 100%;
  max-width: 760px;
  padding: 5rem clamp(1.5rem, 3vw, 3rem) 5rem 0;
}

.hero-split-copy > * + * {
  margin-top: 2.1rem;
}

.hero-split-visual {
  display: flex;
  align-items: center;
  align-self: stretch;
  justify-content: center;
  overflow: visible;
  min-width: 0;
  height: 100vh;
  padding: 0;
}

.hero-band--fit {
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
}

.hero-band--stack {
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
}

.hero-split--wide {
  grid-template-columns: minmax(0, calc(500% / 12 - 1.75rem)) minmax(0, 1fr);
  column-gap: 3rem;
}

.hero-split--half {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 3rem;
}

.hero-split-copy--lift {
  transform: translateY(-1.5rem);
}

.hero-band--fit .hero-split {
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
}

.hero-band--stack .hero-split {
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
}

.hero-band--fit .hero-split-visual {
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
}

.hero-band--stack .hero-split-visual {
  z-index: 1;
  height: calc(100vh - var(--header-h));
  height: calc(100svh - var(--header-h));
}

.hero-split--bleed .hero-split-visual {
  justify-content: flex-end;
}

@media (min-width: 992px) {
  .hero-split--bleed .hero-split-visual {
    position: absolute;
    top: 1px;
    right: calc(50% - 50vw);
    width: 50vw;
  }
}

@media (max-width: 991.98px) {
  .hero-split {
    grid-template-columns: minmax(0, 55%) minmax(0, 45%);
  }

  .hero-split-copy {
    padding: 4rem clamp(1.5rem, 3vw, 2.5rem) 4rem 0;
  }

  .hero-band--stack {
    min-height: 0;
    padding-top: 3rem;
  }

  .hero-split--wide {
    grid-template-columns: minmax(0, calc(55% - 1.35rem)) minmax(0, 1fr);
  }

  .hero-band--stack .hero-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding-right: var(--site-gutter);
    padding-left: var(--site-gutter);
    row-gap: 3rem;
  }

  .hero-band--stack .hero-split-copy {
    display: block;
    max-width: none;
    min-height: 0;
    padding: 0;
  }

  .hero-band--stack .hero-split-visual {
    position: static;
    align-items: flex-end;
    overflow: visible;
    height: auto;
    opacity: 1;
  }

  .hero-band--stack .hero-image {
    height: auto;
    object-fit: contain;
    object-position: center;
  }
}

@media (max-width: 767.98px) {
  .hero-split {
    position: relative;
    display: block;
    padding-right: 0;
    padding-left: 0;
  }

  .hero-split-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: none;
    min-height: 100vh;
    padding: 3rem 1.5rem;
  }

  .hero-split-visual {
    position: absolute;
    inset: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
    opacity: 0.3;
  }

  .hero-band--fit .hero-split-copy {
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100dvh - var(--header-h));
  }

  .hero-split-copy--lift {
    transform: none;
  }

  .hero-band--fit .hero-split-visual {
    height: 100%;
  }
}

/* CTA actions */
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 575.98px) {
  .cta-actions--block > * {
    width: 100%;
  }
}

/* CTA block: a page's closing call to action, one boxed treatment on dark bands. Markup: .cta-block__copy (eyebrow, .cta-title--md, .lead-copy) then .cta-actions. --split: copy left, stacked actions right from 992px; --center: centred copy and actions. */
.cta-block {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: var(--card-pad-lg);
  background: var(--charcoal);
  border: 1px solid var(--site-border);
  border-radius: var(--card-radius-sm);
}

.cta-block__copy {
  min-width: 0;
  max-width: 42rem;
}

.cta-block__copy > :last-child {
  margin-bottom: 0;
}

.cta-block--center {
  align-items: center;
  text-align: center;
}

.cta-block--center .cta-actions {
  justify-content: center;
}

@media (max-width: 575.98px) {
  .cta-block {
    padding: var(--card-pad-sm);
  }
}

@media (min-width: 992px) {
  .cta-block--split {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
  }

  .cta-block--split > .cta-actions {
    flex: 0 0 auto;
    flex-direction: column;
    align-items: stretch;
    margin-left: auto;
  }
}

/* Panel */
.panel {
  padding: var(--card-pad-lg);
  background: var(--charcoal);
  border-radius: var(--card-radius-sm);
}

/* Buttons. Palette: --primary (gold fill) or --secondary (light outline, for dark bands). Size: 54px tall with 13px type; 1rem side padding on phones. Layout: --icon gap for an icon child; --arrow pushes a trailing arrow to the end; --block-md full width up to 767px. .btn-cta__icon (an aria-hidden arrow glyph) nudges forward on hover. */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.9rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-ui);
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 0;
  transition:
    background-color 0.32s var(--ease-out),
    border-color 0.32s var(--ease-out),
    color 0.32s var(--ease-out);
}

.btn-cta__icon {
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}

.btn-cta--primary {
  color: var(--surface-deep);
  background: var(--gold);
  border-color: var(--gold);
}

.btn-cta--secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-cta--icon {
  gap: 0.75rem;
}

.btn-cta--arrow {
  justify-content: space-between;
  gap: 1.5rem;
}

.btn-cta--primary:hover {
  color: var(--surface-deep);
  background: var(--gold-hover);
  border-color: var(--gold-hover);
}

.btn-cta--secondary:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold);
}

.btn-cta:hover .btn-cta__icon {
  transform: translateX(4px);
}

.btn-cta:disabled {
  color: rgba(255, 255, 255, 0.5);
  background: #5b4c2d;
  border-color: #5b4c2d;
  opacity: 0.65;
  cursor: not-allowed;
}

@media (max-width: 767.98px) {
  .btn-cta--block-md {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .btn-cta {
    padding-right: 1rem;
    padding-left: 1rem;
  }
}

/* Text link CTA: uppercase link with UI tracking ("VIEW PROJECT →"). --gold or --dark colour; --dark turns gold on hover. */
.link-cta {
  font-size: 0.75rem;
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-ui);
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.link-cta--gold {
  color: var(--gold);
}

.link-cta--dark {
  color: var(--dark-text);
}

.link-cta--dark:hover {
  color: var(--gold);
}

/* Back link: "← BACK TO …" text link on dark bands; pair with .touch-target. Markup: an aria-hidden .back-link__icon (&larr;, gold) before the text; the arrow nudges back on hover. Centred when a parent stretches it. */
.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-ui);
  text-transform: uppercase;
  color: var(--outline);
  transition: color 0.2s ease;
}

.back-link__icon {
  color: var(--gold);
  transition: transform 0.2s ease;
}

.back-link:hover {
  color: var(--text);
}

.back-link:hover .back-link__icon {
  transform: translateX(-4px);
}

/* Stroke icons: outline SVG arrows (catalog arrows) */
.cap-arrow svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Dot: small gold bullet for list rows and inline separators */
.dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

/* Cards. Shell settings are exposed as variables so page-specific cards can reuse the same structure without re-declaring it. */
/* Dark card shell: dark surface with a 1px border. A page-specific card tunes it through --card-shell-padding, -radius, -bg and -border. */
.card-dark {
  --card-shell-padding: var(--card-pad);
  --card-shell-radius: var(--card-radius-sm);
  position: relative;
  height: 100%;
  padding: var(--card-shell-padding);
  background: var(--card-shell-bg, var(--dark-card));
  border: var(--card-shell-border, 1px solid var(--site-border));
  border-radius: var(--card-shell-radius);
}

/* Light card shell: light surface, no border; same --card-shell-* settings as .card-dark. */
.card-light {
  --card-shell-padding: var(--card-pad);
  --card-shell-radius: var(--card-radius-sm);
  padding: var(--card-shell-padding);
  background: var(--card-shell-bg, var(--light-card));
  border: var(--card-shell-border, 0);
  border-radius: var(--card-shell-radius);
}

/* Card fill: flex column that fills its grid cell, so a .card-divider-footer sits at the foot. --card-min-height sets a floor. */
.card-fill {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  min-height: var(--card-min-height, 0);
}

/* Card stack body: padded flex column for the copy beneath media inside a card. --card-body-padding, --card-body-bg. */
.card-stack-body {
  display: flex;
  flex-direction: column;
  padding: var(--card-body-padding, var(--card-pad));
  background: var(--card-body-bg, transparent);
}

/* Card divider footer: pushed to the foot of the card with a rule above it. --card-divider-gap sets the space above the rule. */
.card-divider-footer {
  margin-top: auto;
  padding-top: var(--card-divider-gap, 1rem);
  border-top: 1px solid var(--light-border);
}

/* Card interactive: border, shadow and lift on hover via --card-hover-border-color, --card-hover-shadow, --card-hover-transform; --card-transition replaces the transition. */
.card-interactive {
  transition: var(
    --card-transition,
    transform 0.3s var(--ease-out),
    border-color 0.3s ease,
    box-shadow 0.3s ease
  );
}

.card-interactive:hover {
  border-color: var(--card-hover-border-color, var(--light-border));
  box-shadow: var(--card-hover-shadow, none);
  transform: var(--card-hover-transform, none);
}

/* Card accent: a 4px gold bar that grows to full width on hover. --top: on the card's top edge, 48px at rest; --media: on the foot of the card's .media, hidden at rest. --card-accent-start sets the rest width. */
.card-accent-top::before,
.card-accent-media > .media::after {
  content: "";
  position: absolute;
  left: 0;
  height: 4px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.card-accent-top {
  position: relative;
  overflow: hidden;
}

.card-accent-top::before {
  top: 0;
  width: var(--card-accent-start, 48px);
}

.card-accent-media > .media::after {
  bottom: 0;
  width: var(--card-accent-start, 0);
}

.card-accent-top:hover::before,
.card-accent-media:hover > .media::after {
  width: 100%;
}

/* Card head row: number left, tag or rule right */
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-dark--hover {
  transition: border-color 0.3s ease;
}

.card-light--outlined {
  --card-shell-border: 1px solid var(--light-border);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.card-dark--hover:hover {
  border-color: rgba(253, 185, 46, 0.5);
}

/* Card hover: .card-lift raises the card */
.card-lift {
  transition:
    transform 0.4s var(--ease-out),
    border-color 0.3s ease;
  will-change: transform;
}

.card-lift:hover,
.card-lift:focus-visible {
  transform: translateY(-6px);
}

/* Card title: body face, sentence case (18px; --sm 16px, --lg 20px, --xl 24px). Card number: body face (32px gold; --sm 18px, --md 24px, --lg 48px; --dark on light cards). */
.card-title {
  margin: 0 0 0.625rem;
  font-size: 1.125rem;
  font-weight: var(--weight-semibold);
  line-height: 1.3;
}

.card-num {
  font-size: 2rem;
  font-weight: var(--weight-semibold);
  color: var(--gold);
}

.card-title--sm {
  font-size: 1rem;
}

.card-title--lg {
  font-size: 1.25rem;
}

.card-title--xl {
  font-size: 1.5rem;
}

.card-num--sm {
  font-size: 1.125rem;
}

.card-num--md {
  font-size: 1.5rem;
}

.card-num--lg {
  font-size: 3rem;
}

.card-num--dark {
  color: var(--dark-text);
}

/* Gold rule under titles */
.rule-bar {
  width: 64px;
  height: 4px;
  background: var(--gold);
}

.rule-bar--sm {
  width: 44px;
  height: 3px;
}

@media (max-width: 767.98px) {
  .rule-bar--fluid-md {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 575.98px) {
  .rule-bar--fluid-xs {
    width: 100%;
  }
}

/* Stat row: a list of stat items (credentials, attributes); value and label in sentence case */
.stat-list {
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}

.stat {
  text-align: center;
}

.stat + .stat {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-value {
  display: block;
  font-weight: var(--weight-semibold);
}

/* Sequence strip: a chain of steps ("Plan + Execute + Build"), body face, sentence case. Markup: a <span> per step, an empty aria-hidden .sequence__sep between steps, .sequence__active on the highlighted step (gold; a black chip on light bands, --dark). Separator: "+", --dash an em dash. Gap: --tight / default / --loose. Alignment: centred below 768px; from 768px start, --center or --spread (space-between). --boxed: white card. */
.sequence {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1rem;
  font-weight: var(--weight-semibold);
}

.sequence__sep::before {
  content: "+";
  color: var(--muted);
}

.sequence__active {
  color: var(--gold);
}

.sequence--dash .sequence__sep::before {
  content: "\2014";
}

.sequence--dark .sequence__active {
  padding: 0.25rem 0.75rem;
  background: #000;
}

.sequence--tight {
  gap: 0.5rem 0.65rem;
}

.sequence--loose {
  gap: 0.5rem 1.5rem;
}

.sequence--boxed {
  padding: var(--card-pad-sm) var(--card-pad);
  background: var(--light-card);
  border: 1px solid var(--light-border);
  border-radius: var(--card-radius-sm);
}

@media (min-width: 768px) {
  .sequence {
    justify-content: flex-start;
  }

  .sequence--center {
    justify-content: center;
  }

  .sequence--spread {
    justify-content: space-between;
  }
}

@media (max-width: 575.98px) {
  .sequence,
  .sequence--loose {
    column-gap: 0.75rem;
  }

  .sequence--tight {
    column-gap: 0.45rem;
  }
}

/* Media: image wrapper and fill image. Ratio: --16x9 or --4x3; --1x1 for headshots and for phone cards whose copy overlays the image. --rounded: standalone media take the media radius; media filling a card stay square, clipped by the card. */
.media {
  position: relative;
  overflow: hidden;
  background: var(--dark-card);
}

.media-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.media--16x9 {
  aspect-ratio: 16 / 9;
}

.media--4x3 {
  aspect-ratio: 4 / 3;
}

.media--1x1 {
  aspect-ratio: 1 / 1;
}

.media--rounded {
  border-radius: var(--media-radius);
}

/* Card zoom: the card's .media-img scales up when the card is hovered. --zoom sets the scale (default 1.05). */
.card-zoom .media-img {
  will-change: transform;
}

.card-zoom:hover .media-img {
  transform: scale(var(--zoom, 1.05));
}

/* Chip: filter toggle on dark bands, outlined; .active (set by JS) fills it gold. 40px tall, a 44px tap target below 768px. */
.chip {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.5rem 1rem;
  font-size: 0.6875rem;
  font-weight: var(--weight-semibold);
  line-height: 1.25;
  letter-spacing: var(--tracking-ui);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--card-radius-sm);
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.chip:hover {
  color: #fff;
  border-color: rgba(253, 185, 46, 0.55);
}

.chip.active {
  color: var(--surface-deep);
  background: var(--gold);
  border-color: var(--gold);
}

@media (max-width: 767.98px) {
  .chip {
    min-height: 44px;
  }
}

/* Progress line: pagination bar whose active segment fills during autoplay. Classes are set by JS: .active on the line, .is-running / .is-paused on the parent. Per-use: --progress-track, --progress-duration, width. */
.portfolio-slider-indicator,
.cap-page-line {
  overflow: hidden;
  height: 4px;
  padding: 0;
  background: var(--progress-track);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.portfolio-slider-indicator::after,
.cap-page-line::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
}

.portfolio-slider-indicator.active::after,
.cap-page-line.active::after {
  transform: scaleX(0.08);
}

.portfolio-slider-indicator:hover,
.cap-page-line:hover {
  transform: scaleY(1.5);
}

.portfolio-slider-nav.is-running .portfolio-slider-indicator.active::after,
.cap-showcase-progress.is-running .cap-page-line.active::after {
  animation: progress-line-fill var(--progress-duration) linear forwards;
}

.portfolio-slider-nav.is-paused .portfolio-slider-indicator.active::after,
.cap-showcase-progress.is-paused .cap-page-line.active::after {
  animation-play-state: paused;
}

@media (max-width: 767.98px) {
  .portfolio-slider-indicator,
  .cap-page-line {
    position: relative;
    overflow: visible;
    height: 44px;
    background: linear-gradient(var(--progress-track), var(--progress-track))
      center / 100% 4px no-repeat;
  }

  .portfolio-slider-indicator::after,
  .cap-page-line::after {
    position: absolute;
    top: 20px;
    left: 0;
    height: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-slider-nav .portfolio-slider-indicator.active::after,
  .cap-showcase-progress .cap-page-line.active::after {
    transform: scaleX(1);
    animation: none;
  }
}

@keyframes progress-line-fill {
  from {
    transform: scaleX(0.08);
  }

  to {
    transform: scaleX(1);
  }
}

/* ==================== UTILITIES ==================== */

/* Minimum 44px tap target on phones */
@media (max-width: 767.98px) {
  .touch-target {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

/* Remove default list spacing/markers when a component supplies its own list treatment. */
.list-reset {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Readable measure for copy: 34rem by default; tiers --sm 31rem, --md 36rem, --lg 42rem, --xl 48rem (each works alone) */
.measure {
  max-width: 34rem;
}

.measure--sm {
  max-width: 31rem;
}

.measure--md {
  max-width: 36rem;
}

.measure--lg {
  max-width: 42rem;
}

.measure--xl {
  max-width: 48rem;
}

/* Text colours (named apart from Bootstrap's .text-muted) */
.text-gold {
  color: var(--gold);
}

.text-outline {
  color: var(--outline);
}

.text-warm {
  color: var(--text-warm);
}

.text-mute {
  color: var(--muted);
}

.text-mute-dark {
  color: var(--muted-2);
}

.text-mute-light {
  color: var(--muted-light);
}

/* Dark surface backgrounds (named apart from Bootstrap's .bg-dark) */
.bg-surface-lowest {
  background: var(--surface-lowest);
}

.bg-surface-deep {
  background: var(--surface-deep);
}

.bg-surface {
  background: var(--surface);
}

.bg-surface-low {
  background: var(--surface-low);
}

.bg-dark-card {
  background: var(--dark-card);
}

/* ==================== PAGE-SPECIFIC ==================== */

/* ---------- Home (index.html) ---------- */

/* Page root */
.landing-body {
  --body-bg: var(--surface-black);
}

/* Splash screen: hidden unless main.js sets .splash-play on <html> (first load of a browser session, motion allowed). The logo and name fade in, then .is-exiting fades the screen out. */
.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  background: radial-gradient(
    circle at center,
    #191919 0%,
    #0b0b0b 42%,
    #000 82%
  );
  transition:
    opacity 0.45s ease,
    visibility 0.45s ease;
}

.splash-logo {
  width: 160px;
  max-width: 45vw;
  opacity: 0;
  object-fit: contain;
  animation: home-splashFade 0.8s ease 0.1s forwards;
}

.splash-company-name {
  font-size: 12px;
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  opacity: 0;
  animation: home-splashFade 0.8s ease 0.3s forwards;
}

.splash-play {
  overflow: hidden;
}

.splash-play .splash-screen {
  display: flex;
}

.splash-screen.is-exiting {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 767.98px) {
  .splash-logo {
    width: 128px;
  }

  .splash-company-name {
    font-size: 10px;
  }
}

@keyframes home-splashFade {
  to {
    opacity: 1;
  }
}

/* Landing: fills the first screen below the header with the cards centred on a subtle gradient surface */
.industry-landing {
  --landing-pad-y: clamp(2rem, 6vh, 4rem);
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(
      circle at 50% 43%,
      rgba(255, 255, 255, 0.025),
      transparent 33%
    ),
    linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.035),
      transparent 24%,
      transparent 76%,
      rgba(255, 255, 255, 0.025)
    ),
    #090a0b;
}

.landing-page-shell {
  padding-top: var(--landing-pad-y);
  padding-bottom: var(--landing-pad-y);
}

/* Industry cards: the shared dark card shell (.card-dark .card-fill) with media above the copy; the linked cards add .card-dark--hover (gold border) and .card-zoom (image zoom). Media 16:9 while stacked, square in the three-column row from 992px. */
.industry-card {
  --card-shell-padding: 0;
  --card-shell-radius: var(--card-radius-lg);
  --card-shell-bg: var(--surface-deep);
  --card-body-padding: var(--card-pad-sm);
  overflow: hidden;
  color: inherit;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.industry-card-media {
  aspect-ratio: 16 / 9;
}

.industry-card-body {
  flex: 1 1 auto;
}

.industry-card:hover {
  color: inherit;
}

.industry-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

@media (min-width: 992px) {
  .industry-card-media {
    aspect-ratio: 1 / 1;
  }
}

/* ---------- About (about.html) ---------- */

/* Who we are */
.who-copy {
  margin-bottom: 2rem;
  color: #333;
}

.discipline-stack {
  background: var(--light-border);
}

.discipline-stack > li + li {
  margin-top: 1px;
}

.discipline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  padding: 1rem;
  gap: 1.5rem;
  color: var(--dark-text);
  background: var(--light);
  transition: background 0.2s ease;
}

.discipline-row-static {
  cursor: default;
}

.discipline-left,
.discipline-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.discipline-left strong {
  font-size: 1.75rem;
  font-weight: var(--weight-semibold);
}

.discipline-descriptor {
  color: var(--muted-light);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.overview-arrow {
  flex: 0 0 auto;
  font-size: 1.15rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.discipline-row:hover {
  background: #fff;
}

.discipline-row-static:hover {
  background: var(--light);
}

.discipline-row-static:hover .discipline-index {
  color: var(--muted);
}

.discipline-row:hover .discipline-index {
  color: var(--gold);
}

.discipline-row:hover .discipline-descriptor {
  opacity: 1;
}

.discipline-row:hover .discipline-right .overview-arrow {
  transform: translateX(4px);
}

@media (max-width: 991.98px) {
  .discipline-descriptor {
    opacity: 1;
  }
}

@media (max-width: 767.98px) {
  .discipline-row {
    min-height: 78px;
  }

  .discipline-left strong {
    font-size: 1.35rem;
  }

  .discipline-descriptor {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .discipline-row {
    align-items: flex-start;
  }

  .discipline-right {
    padding-top: 0.25rem;
  }
}

/* Mission and vision */
.purpose-card {
  min-height: 390px;
}

/* Panel heading set like a section title: display face, sentence case */
.purpose-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-snug);
}

@media (max-width: 767.98px) {
  .purpose-card {
    min-height: 330px;
  }
}

/* Principles */
.principle-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 220px;
}

.principles-strip {
  margin-top: 2rem;
}

.principles-strip p {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: var(--weight-medium);
  color: #333;
}

@media (max-width: 575.98px) {
  .principle-card {
    min-height: 180px;
  }
}

@media (min-width: 1200px) and (max-width: 1599.98px) {
  .principle-card {
    min-height: 200px;
    padding: var(--card-pad-sm);
  }
}

/* Leadership */
.leadership-section {
  border-top: 1px solid var(--surface-highest);
}

.leader-card {
  padding: 1rem;
  background: var(--charcoal);
  border-radius: var(--card-radius-sm);
  transition: background 0.2s ease;
}

.leader-image-wrap {
  margin-bottom: 1rem;
  background: var(--surface-lowest);
}

.leader-image {
  filter: grayscale(1) contrast(1.25) brightness(0.95);
  transition:
    filter 0.5s ease,
    transform 0.5s ease;
}

.leader-image-placeholder {
  display: grid;
  place-items: center;
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-snug);
  color: var(--gold);
  background:
    linear-gradient(135deg, rgba(253, 185, 46, 0.16), transparent 55%),
    var(--surface-lowest);
}

.leader-role {
  margin-bottom: 0.75rem;
}

.leader-card:hover {
  background: var(--surface-high);
}

.leader-card:hover .leader-image {
  filter: grayscale(0) contrast(1.05) brightness(1);
  transform: scale(1.02);
}

/* ---------- Capability (capability.html) ---------- */

/* Page root */
.technical-body {
  --body-color: var(--light);
  --hero-image-width-lg: 112%;
  --hero-image-max-lg: 560px;
  --hero-image-width-sm: 110%;
  --hero-image-max-sm: 480px;
  overflow-x: hidden;
}

/* Hero: the image leaves the grid from 992px, so the split holds the copy's centring box, ending 1.5rem above the band's foot */
.hero-title--capability {
  max-width: 650px;
}

@media (min-width: 992px) {
  .technical-body .hero-split {
    min-height: calc(100vh - var(--header-h) - 1.5rem);
    min-height: calc(100svh - var(--header-h) - 1.5rem);
  }
}

/* Capability cards */
.section-copy {
  max-width: 650px;
}

.technical-card {
  --card-shell-border: 1px solid var(--light-border);
  --card-min-height: 300px;
  --card-hover-border-color: var(--dark);
  --card-hover-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.12);
  --card-hover-transform: translateY(-4px);
}

.technical-description {
  --card-divider-gap: 24px;
}

.technical-description p {
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  .technical-card {
    --card-min-height: 270px;
  }
}

/* Delivery strip */
.delivery-strip {
  padding: 48px 0;
  background: var(--dark);
  border-bottom: 1px solid var(--site-border);
}

.delivery-sequence {
  margin-bottom: 14px;
  font-size: clamp(1rem, 2.4vw, 1.5rem);
}

.delivery-copy {
  margin-bottom: 0;
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 575.98px) {
  .delivery-sequence {
    font-size: 14px;
  }

  .delivery-copy {
    font-size: 12px;
  }
}

/* ---------- Construction (construction.html) ---------- */

/* Page root */
.build-body {
  overflow-x: visible;
}

/* About */
.overview-section {
  overflow: hidden;
}

.overview-section .section-title {
  overflow-wrap: normal;
}

.overview-heading-column {
  min-width: 0;
}

.overview-paragraphs p + p {
  margin-top: 1rem;
}

.statement-strip {
  flex-wrap: nowrap;
  padding-top: 1.5rem;
  font-size: clamp(1.15rem, 1.7vw, 2rem);
  white-space: nowrap;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.support-image-wrap {
  width: min(68%, 1120px);
  max-width: none;
  margin: 6rem auto 0;
}

@media (max-width: 991.98px) {
  .support-image-wrap {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .statement-strip {
    font-size: clamp(0.82rem, 3.8vw, 1.05rem);
  }

  .support-image-wrap {
    aspect-ratio: 16 / 9;
    margin-top: 4rem;
  }
}

/* Capabilities */
.technical-top {
  margin-bottom: 1.5rem;
}

.technical-top::after {
  content: "";
  width: 2rem;
  height: 2px;
  background: rgba(253, 185, 46, 0.4);
  transition:
    width 0.3s ease,
    background 0.3s ease;
}

.card-dark--hover:hover .technical-top::after {
  width: 3rem;
  background: var(--gold);
}

/* Projects slider */
.portfolio-header > div {
  min-width: 0;
}

.view-all-link {
  padding-bottom: 0.25rem;
  border-bottom: 1px solid;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.portfolio-container {
  overflow: hidden;
  max-width: 100%;
}

.portfolio-slider {
  --project-gap: clamp(1.25rem, 2vw, 2.25rem);
  --project-card-width: 68%;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.portfolio-slider-viewport {
  overflow: hidden;
  width: 100%;
}

.portfolio-slider-track {
  display: flex;
  align-items: center;
  gap: var(--project-gap);
  transition: transform 0.65s var(--ease-out);
  will-change: transform;
}

.slider-project-card {
  flex: 0 0 var(--project-card-width);
  min-width: var(--project-card-width);
  opacity: 0.48;
  transform: scale(0.88);
  cursor: pointer;
  transition:
    opacity 0.55s ease,
    transform 0.65s var(--ease-out);
}

.slider-project-media {
  background: #d8d8d8;
  box-shadow: 0 1.5rem 3.5rem rgba(0, 0, 0, 0.12);
}

.slider-project-image {
  transition: transform 0.6s ease;
  will-change: transform;
}

.slider-project-media::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02) 0%,
    rgba(255, 255, 255, 0.1) 52%,
    rgba(255, 255, 255, 0.42) 100%
  );
  pointer-events: none;
}

.slider-project-panel {
  position: absolute;
  top: 2rem;
  right: 2rem;
  bottom: 2rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 32.5%;
  min-width: 260px;
  max-width: 380px;
  padding: clamp(1.5rem, 2.2vw, 2.5rem) clamp(1.25rem, 1.8vw, 2rem);
  background: rgba(245, 245, 245, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--card-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
}

.slider-project-category {
  margin-bottom: 0.75rem;
}

.slider-project-description {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  margin: 0.8rem 0 0;
  font-size: clamp(0.7rem, 0.75vw, 0.84rem);
  line-height: 1.5;
  color: var(--body-dark);
  -webkit-line-clamp: 5;
}

.slider-project-location {
  margin: auto 0 0.85rem;
  padding-top: 0.9rem;
  font-size: clamp(0.78rem, 0.8vw, 0.9rem);
  font-weight: var(--weight-medium);
  color: var(--muted-light);
}

.portfolio-slider-nav {
  --progress-duration: 5.5s;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  gap: 0.65rem;
}

.portfolio-slider-indicator {
  --progress-track: #bdbdbd;
  width: clamp(2.5rem, 5vw, 5.5rem);
}

.view-all-link:hover {
  border-color: var(--gold);
}

.slider-project-card.is-active {
  opacity: 1;
  transform: scale(1);
  cursor: default;
}

.slider-project-card.is-active
  .slider-project-media:hover
  .slider-project-image {
  transform: scale(1.035);
}

@media (max-width: 1199.98px) {
  .portfolio-slider {
    --project-card-width: 78%;
  }

  .slider-project-media {
    aspect-ratio: 4 / 3;
  }

  .slider-project-panel {
    width: 38%;
    min-width: 220px;
  }
}

@media (max-width: 991.98px) {
  .portfolio-slider {
    --project-card-width: 84%;
  }

  .slider-project-panel {
    top: 1.25rem;
    right: 1.25rem;
    bottom: 1.25rem;
    min-width: 230px;
  }
}

@media (max-width: 767.98px) {
  .portfolio-slider {
    --project-card-width: 92%;
    --project-gap: 1rem;
  }

  .slider-project-media {
    aspect-ratio: 1 / 1;
  }

  .slider-project-panel {
    top: auto;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    width: auto;
    min-width: 0;
    max-width: none;
    padding: 1.35rem 1rem;
  }

  .slider-project-description {
    font-size: 0.72rem;
    -webkit-line-clamp: 3;
  }

  .portfolio-slider-indicator {
    width: 44px;
    min-width: 44px;
  }

  .portfolio-slider-nav {
    gap: 0.2rem;
  }
}

@media (max-width: 575.98px) {
  .view-all-link {
    margin: 0 auto;
  }

  .portfolio-slider {
    --project-card-width: 100%;
  }

  .slider-project-card {
    opacity: 1;
    transform: none;
  }
}

/* Delivery */
.delivery-grid {
  position: relative;
}

.delivery-grid::before {
  content: "";
  position: absolute;
  top: 28px;
  right: 3rem;
  left: 3rem;
  z-index: 0;
  display: none;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(253, 185, 46, 0.2),
    var(--gold),
    rgba(253, 185, 46, 0.2)
  );
}

.delivery-card {
  z-index: 1;
  background: rgba(29, 29, 29, 0.9);
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 0.75rem;
  font-weight: var(--weight-semibold);
  color: var(--gold);
  background: var(--dark);
  border: 1px solid var(--gold);
  border-radius: 50%;
}

.delivery-closing {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 4rem;
  padding-top: 2rem;
  gap: 3rem;
  font-size: 0.875rem;
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid var(--site-border);
}

.delivery-closing .dot {
  display: none;
}

.delivery-emphasis {
  color: #fff;
}

@media (min-width: 576px) {
  .delivery-closing .dot {
    display: inline-block;
  }
}

@media (min-width: 992px) {
  .delivery-grid::before {
    display: block;
  }
}

/* Resources */
.resource-card {
  --card-shell-padding: 0;
  color: inherit;
}

.resource-link {
  margin-top: auto;
  padding-top: 0.5rem;
}

.resource-image-dark {
  background: linear-gradient(to bottom, var(--dark-card-alt), var(--dark));
}

.object-contain-image {
  padding: 1.5rem;
  object-fit: contain;
}

.resource-label {
  position: absolute;
  bottom: 0.75rem;
  left: 1rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(0, 0, 0, 0.8);
}

.resource-body {
  flex-grow: 1;
}

.resource-strip {
  font-size: 0.875rem;
}

.resource-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.resource-card:hover .resource-link {
  color: var(--gold);
}

@media (max-width: 575.98px) {
  .resource-strip {
    font-size: 0.75rem;
  }
}

/* Credentials and CTA */
.credential-list {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
}

.credential-item {
  padding: 0 4rem;
}

.credential-code {
  font-size: 1.875rem;
}

.credential-label {
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

.credential-item:first-child .credential-code,
.credential-item:last-child .credential-code {
  color: var(--gold);
}

@media (max-width: 767.98px) {
  .credential-item {
    padding: 0 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .credential-list {
    align-items: stretch;
  }

  .credential-item {
    flex: 1 1 33.333%;
    padding: 0 0.75rem;
  }

  .credential-code {
    font-size: 1.5rem;
  }

  .credential-label {
    font-size: 0.6875rem;
  }
}

/* ---------- Construction projects (construction-projects.html) ---------- */

/* Intro */
.counter-card {
  align-self: flex-start;
  width: auto;
  min-width: 242px;
  padding: 1rem;
  background: var(--charcoal);
  border-radius: var(--card-radius);
}

.visible-count {
  font-size: 3rem;
  font-weight: var(--weight-semibold);
  line-height: 1;
  color: var(--gold-soft);
}

.filter-area {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
}

.intro-break {
  display: none;
}

@media (max-width: 991.98px) {
  .counter-card {
    min-width: 210px;
  }
}

@media (max-width: 767.98px) {
  .counter-card {
    width: 100%;
  }

  .filter-area {
    margin-top: 2rem;
  }
}

@media (min-width: 576px) {
  .intro-break {
    display: inline;
  }
}

/* Project grid */
.project-item {
  display: flex;
}

.portfolio-project-card {
  --card-shell-padding: 0;
  --card-shell-radius: var(--card-radius);
  --card-shell-bg: var(--surface-lowest);
  --card-shell-border: 0;
  overflow: hidden;
  width: 100%;
  box-shadow: 0 0.125rem 0.35rem rgba(0, 0, 0, 0.12);
  transition: transform 0.4s var(--ease-out, ease-out);
}

.portfolio-project-image-wrap {
  background: var(--charcoal);
}

.portfolio-project-number,
.portfolio-project-category {
  position: absolute;
  left: 0.75rem;
  padding: 0.35rem 0.65rem;
  background: rgba(19, 19, 19, 0.92);
  border-radius: 0.125rem;
}

.portfolio-project-number {
  top: 0.75rem;
}

.portfolio-project-category {
  bottom: 0.75rem;
}

.portfolio-project-body {
  --card-body-padding: 1.5rem;
  --card-body-bg: var(--surface-low);
  flex: 1;
  min-height: 205px;
}

.portfolio-project-title {
  color: var(--text);
  transition: color 0.2s ease;
}

.portfolio-project-location {
  display: flex;
  align-items: center;
  margin: 0.5rem 0 1rem;
  gap: 0.4rem;
}

.portfolio-project-location::before {
  content: "";
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 16s6-5.686 6-10A6 6 0 0 0 2 6c0 4.314 6 10 6 10m0-7a3 3 0 1 1 0-6 3 3 0 0 1 0 6'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.project-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.75rem;
  gap: 1rem;
}

.portfolio-project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.portfolio-project-link span {
  transition: transform 0.2s ease;
}

.project-item.is-hidden {
  display: none !important;
}

.project-item:hover .portfolio-project-card,
.project-item:focus-within .portfolio-project-card {
  transform: translateY(-6px);
}

.portfolio-project-card:hover .portfolio-project-title {
  color: var(--gold-soft);
}

.portfolio-project-card:hover .portfolio-project-link span {
  transform: translateX(5px);
}

@media (max-width: 575.98px) {
  .project-footer-row {
    align-items: flex-end;
  }
}

/* ---------- Construction project detail (construction-project-detail.html) ---------- */

/* Page root */
.work-detail-body {
  --body-color: var(--warm-white);
}

/* Hero */
.work-detail-hero {
  display: flex;
  align-items: center;
  min-height: 510px;
  padding: 4rem 0 3.5rem;
  background: var(--surface-deep);
}

.detail-hero-row {
  align-items: center;
  width: 100%;
}

.project-hero-image-wrap {
  background: var(--dark-card-alt);
  box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.22);
}

.project-hero-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.22), transparent 45%);
  pointer-events: none;
}

.hero-title--detail {
  margin-top: 1.4rem;
}

.hero-title--detail span {
  display: block;
  color: var(--warm-white);
  word-break: normal;
  overflow-wrap: normal;
}

@media (max-width: 991.98px) {
  .work-detail-hero {
    padding-top: 3rem;
  }
}

@media (max-width: 767.98px) {
  .work-detail-hero {
    padding: 4.8rem 0;
  }

  .detail-hero-row {
    justify-content: center;
    margin-right: 0;
    margin-left: 0;
  }

  .work-detail-summary {
    margin-right: auto;
    margin-left: auto;
  }
}

/* Meta strip */
.project-meta-strip {
  padding: 2rem 0;
  background: var(--surface-low);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  text-align: center;
}

.meta-label {
  position: relative;
  margin-bottom: 0.5rem;
  color: #8d8377;
}

.meta-label::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  margin: 0.35rem auto 0;
  background: var(--gold);
}

.meta-value {
  font-size: 0.9375rem;
  font-weight: var(--weight-semibold);
  line-height: 1.3;
}

@media (max-width: 767.98px) {
  .meta-label::after {
    width: 22px;
  }

  .project-meta-strip {
    padding: 1.6rem 0;
  }
}

@media (max-width: 575.98px) {
  .meta-value {
    font-size: 0.875rem;
  }
}

/* Overview */
.overview-cards {
  margin-top: 2rem;
}

.overview-card {
  --card-shell-padding: var(--card-pad-sm);
  --card-shell-radius: var(--card-radius);
}

.detail-list {
  display: grid;
  gap: 0.6rem;
}

.detail-list li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--body-dark);
}

.detail-list li::before {
  content: "";
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--gold);
}

/* Highlights */
.highlights-row {
  margin-top: 2.3rem;
}

.highlight-card {
  --card-shell-padding: var(--card-pad-sm);
  --card-shell-radius: var(--card-radius);
  --card-shell-border: 0;
  --card-min-height: 225px;
}

.highlight-line {
  width: 100%;
  height: 1px;
  margin-top: auto;
  background: rgba(253, 185, 46, 0.55);
}

/* ---------- Resources (resources.html) ---------- */

.asset-body {
  --hero-image-width-lg: 125%;
  --hero-image-max-lg: 560px;
  --hero-image-width-md: 125%;
  --hero-image-max-md: 500px;
  --hero-image-width-sm: 120%;
  --hero-image-max-sm: 430px;
}

/* Hero */
.asset-body .hero-band {
  border-bottom-color: rgba(80, 69, 51, 0.3);
}

/* Equipment grid */
.equipment-heading {
  margin-bottom: 3.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--light-border);
}

.equipment-heading p {
  max-width: 28rem;
}

.equipment-card {
  --card-shell-padding: 0;
  --card-shell-border: 1px solid var(--light-border);
  --card-transition: box-shadow 0.3s ease;
  --card-hover-border-color: var(--light-border);
  --card-hover-shadow: 0 20px 30px rgba(0, 0, 0, 0.12);
  --card-body-min-height: 255px;
  --card-body-bg: var(--light-card);
  overflow: hidden;
}

.equipment-body {
  flex: 1;
  min-height: var(--card-body-min-height);
}

.equipment-meta {
  line-height: 1.5;
}

@media (max-width: 767.98px) {
  .equipment-heading {
    margin-bottom: 2.5rem;
  }

  .equipment-card {
    --card-body-min-height: auto;
  }
}

/* Bottom CTA */
.asset-technical-section {
  border-top: 1px solid rgba(80, 69, 51, 0.3);
}

.technical-formula {
  max-width: 1000px;
  margin: 0 auto 3rem;
  padding: 1.5rem 0;
  font-size: 1.1rem;
  border-top: 1px solid rgba(80, 69, 51, 0.3);
  border-bottom: 1px solid rgba(80, 69, 51, 0.3);
}

@media (max-width: 767.98px) {
  .technical-formula {
    font-size: 0.9rem;
  }
}

@media (max-width: 575.98px) {
  .technical-formula {
    flex-direction: column;
  }

  .technical-formula .sequence__sep {
    transform: rotate(90deg);
  }
}

/* ---------- Defense (defense.html) ---------- */

/* About */
.overview-systems-image-wrap {
  background: #d8d8d8;
}

.overview-systems-copy {
  overflow: hidden;
  padding-left: clamp(0rem, 3vw, 2.6rem);
}

.overview-systems-copy p {
  margin-bottom: 1.3rem;
}

.systems-process-strip {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  font-size: clamp(1.05rem, 2vw, 1.55rem);
}

@media (max-width: 991.98px) {
  .overview-systems-copy {
    padding-left: 0;
  }
}

@media (max-width: 767.98px) {
  .systems-process-strip {
    font-size: 1rem;
  }
}

/* Prevent About Defense content from creating horizontal overflow */
.overview-systems-section .systems-row,
.overview-systems-section [class*="col-"],
.overview-systems-copy {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 575.98px) {
  .sec-systems {
    margin: 0 auto !important;
  }
}

@media (min-width: 1200px) {
  .systems-process-strip {
    margin-top: 3rem;
  }
}

/* Core capabilities catalog: 6 products per page */
.cap-showcase-heading {
  min-width: 0;
  max-width: 850px;
}

.cap-showcase-description {
  max-width: 720px;
}

.cap-showcase-controls {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  padding-bottom: 0.4rem;
  gap: clamp(0.7rem, 1.6vw, 1.4rem);
}

.cap-control-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--gold);
  background: transparent;
  border: 0;
  outline: 0;
  cursor: pointer;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.cap-pause {
  width: 38px;
  height: 56px;
  gap: 7px;
}

.cap-pause::before,
.cap-pause::after {
  content: "";
  width: 6px;
  height: 29px;
  background: var(--gold);
}

.cap-arrow {
  width: 50px;
  height: 50px;
  background: rgba(253, 185, 46, 0.05);
  border: 1px solid rgba(253, 185, 46, 0.55);
  border-radius: 4px;
}

.cap-arrow svg {
  width: 23px;
  height: 23px;
}

.cap-filter-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  margin-top: 2rem;
  cursor: grab;
  user-select: none;
}

.cap-filter-scroll::-webkit-scrollbar {
  display: none;
}

.cap-filters {
  display: flex;
  align-items: center;
  min-width: max-content;
  padding: 0.1rem 0;
  gap: 0.5rem;
}

.cap-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2.8rem;
  gap: clamp(1.5rem, 2.2vw, 2.2rem);
}

.cap-system-card {
  --zoom: 1.04;
  min-width: 0;
  background: var(--surface-low);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--card-radius-lg);
  cursor: pointer;
}

.cap-system-image {
  width: 100%;
  background: var(--surface-lowest);
  border-radius: var(--card-radius-lg) var(--card-radius-lg) 0 0;
}

.cap-system-body {
  --card-body-padding: 1.35rem 1.5rem 1.5rem;
  min-height: 185px;
}

.cap-system-category {
  display: block;
  margin-bottom: 0.75rem;
}

.cap-system-body p {
  margin: 0.65rem 0 1.3rem;
}

.cap-system-link {
  margin-top: auto;
}

/* Dynamic page bars: 26 products = 5 bars. Filters <= 6 products = hidden. */
.cap-showcase-progress {
  --progress-duration: 6s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(900px, 80%);
  margin: 3rem auto 0;
  gap: clamp(0.8rem, 2vw, 2rem);
}

.cap-page-line {
  --progress-track: rgba(255, 255, 255, 0.72);
  flex: 1 1 0;
  min-width: 54px;
  max-width: 220px;
}

.cap-control-btn:hover:not(:disabled) {
  transform: scale(1.08);
}

.cap-control-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 6px;
}

.cap-control-btn:disabled {
  opacity: 0.25;
  cursor: default;
}

.cap-pause.is-paused::before {
  content: "▶";
  width: auto;
  height: auto;
  font-size: 1.7rem;
  color: var(--gold);
  background: none;
}

.cap-pause.is-paused::after {
  display: none;
}

.cap-arrow:hover:not(:disabled) {
  color: var(--surface-deep);
  background: var(--gold);
  transform: translateY(-2px);
}

.cap-system-card:hover,
.cap-system-card:focus-visible {
  border-color: rgba(253, 185, 46, 0.45);
}

.cap-system-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.cap-system-card:focus-visible .media-img {
  transform: scale(var(--zoom));
}

.cap-showcase-progress[hidden] {
  display: none !important;
}

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

  .cap-system-body {
    min-height: 180px;
  }

  .cap-showcase-progress {
    width: 90%;
  }
}

@media (max-width: 767.98px) {
  .cap-showcase-controls {
    padding: 0;
  }

  .cap-arrow {
    width: 44px;
    height: 44px;
  }

  .cap-pause {
    width: 44px;
    height: 46px;
  }

  .cap-pause::before,
  .cap-pause::after {
    width: 5px;
    height: 24px;
  }

  .cap-filter-scroll {
    margin-top: 1.5rem;
  }

  .cap-showcase-grid {
    grid-template-columns: 1fr;
    margin-top: 2rem;
    gap: 1.25rem;
  }

  .cap-system-body {
    min-height: auto;
  }

  .cap-showcase-progress {
    width: 100%;
    margin-top: 2rem;
    gap: clamp(0.2rem, 1vw, 0.4rem);
  }

  .cap-page-line {
    min-width: 0;
    max-width: none;
  }
}

@media (max-width: 575.98px) {
  .cap-showcase-controls {
    margin: 0 auto !important;
  }

  .cap-system-body {
    padding: 1.2rem;
  }
}

/* Ecosystem */
.ecosystem-heading p {
  max-width: 690px;
}

.ecosystem-board {
  position: relative;
  overflow: hidden;
  min-height: 510px;
  padding: 3rem;
  background: #fff;
  border-radius: var(--media-radius);
}

.ecosystem-layout {
  position: relative;
  max-width: 1080px;
  min-height: 410px;
  margin: 0 auto;
}

/* Connector lines behind the boxes: one through each row of side nodes and the hub, one from the hub down to the bottom node */
.ecosystem-layout::before {
  --ecosystem-line: linear-gradient(rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.18));
  content: "";
  position: absolute;
  inset: 0;
  background:
    var(--ecosystem-line) 0 118px / 100% 1px no-repeat,
    var(--ecosystem-line) 0 236px / 100% 1px no-repeat,
    var(--ecosystem-line) 50% 100% / 1px 50% no-repeat;
  pointer-events: none;
}

.ecosystem-node {
  position: absolute;
  display: flex;
  align-items: center;
  min-width: 260px;
  min-height: 92px;
  padding: 1rem 1.25rem;
  background: #f7f7f7;
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: 4px;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.ecosystem-node strong {
  display: block;
  font-size: 1.05rem;
  font-weight: var(--weight-semibold);
  line-height: 1.25;
}

.ecosystem-node-right {
  justify-content: flex-end;
}

.ecosystem-node-01 {
  top: 72px;
  left: 0;
}

.ecosystem-node-02 {
  top: 190px;
  left: 0;
}

.ecosystem-node-04 {
  top: 72px;
  right: 0;
}

.ecosystem-node-05 {
  top: 190px;
  right: 0;
}

.ecosystem-node-03 {
  bottom: 0;
  left: 50%;
  justify-content: center;
  min-width: 280px;
  min-height: 74px;
  transform: translateX(-50%);
}

.ecosystem-hub {
  position: absolute;
  top: 45%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 310px;
  min-height: 250px;
  padding: 2rem;
  text-align: center;
  color: #fff;
  background: var(--dark);
  border-radius: 18px;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
  transform: translate(-50%, -56%);
}

.central-bus {
  position: absolute;
  top: -14px;
  left: 50%;
  padding: 0.45rem 0.75rem;
  color: #000;
  background: #d5a027;
  border-radius: 4px;
  transform: translateX(-50%);
}

.ecosystem-hub h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: var(--weight-semibold);
  line-height: 1.25;
}

.hub-subtitle {
  margin-top: 1.2rem;
}

.ecosystem-attributes {
  margin-top: 4rem;
  padding: 1.2rem 0;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.attribute-item {
  padding: 0.25rem 1rem;
}

.attribute-item + .attribute-item {
  border-left-color: rgba(0, 0, 0, 0.1);
}

.attribute-item .stat-value {
  font-size: 1.375rem;
}

.attribute-item .stat-label {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.8125rem;
  color: var(--muted-2);
}

@media (max-width: 1199.98px) {
  .ecosystem-node {
    min-width: 225px;
  }

  .ecosystem-hub {
    width: 275px;
  }
}

@media (max-width: 991.98px) {
  .ecosystem-board {
    min-height: auto;
    padding: 2rem;
  }

  .ecosystem-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 0;
    gap: 1rem;
  }

  .ecosystem-layout::before {
    display: none;
  }

  .ecosystem-node,
  .ecosystem-hub {
    position: relative;
    inset: auto;
    width: auto;
    min-width: 0;
    min-height: 110px;
    transform: none;
  }

  .ecosystem-hub {
    grid-column: 1 / -1;
    order: 1;
    min-height: 230px;
  }

  .ecosystem-node-01 {
    order: 2;
  }

  .ecosystem-node-04 {
    order: 3;
  }

  .ecosystem-node-02 {
    order: 4;
  }

  .ecosystem-node-05 {
    order: 5;
  }

  .ecosystem-node-03 {
    grid-column: 1 / -1;
    order: 6;
  }
}

@media (max-width: 767.98px) {
  .ecosystem-board {
    padding: 1rem;
  }

  .ecosystem-layout {
    grid-template-columns: 1fr;
  }

  .ecosystem-hub,
  .ecosystem-node-03 {
    grid-column: auto;
  }

  .ecosystem-node-01,
  .ecosystem-node-02,
  .ecosystem-node-03,
  .ecosystem-node-04,
  .ecosystem-node-05,
  .ecosystem-hub {
    order: initial;
  }

  .ecosystem-node {
    min-height: 94px;
  }

  .ecosystem-node-right {
    justify-content: flex-start;
  }

  .ecosystem-node-bottom {
    justify-content: flex-start;
  }

  .ecosystem-node-bottom .systems-text-center {
    text-align: left !important;
  }

  .attribute-item + .attribute-item {
    margin-top: 1rem;
    padding-top: 1rem;
    border-left: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }

  .ecosystem-attributes {
    margin-top: 2.5rem;
  }
}

/* Mission */
.mission-card {
  --card-shell-padding: 0;
  --card-shell-border: 1px solid rgba(255, 255, 255, 0.15);
}

.mission-image-wrap {
  background: #000;
}

.mission-image {
  backface-visibility: hidden;
  transition: transform 0.7s ease;
}

.mission-number {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.7rem;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid var(--site-border);
}

.mission-body {
  padding: 2rem;
}

.mission-card:hover {
  border-color: rgba(253, 185, 46, 0.45);
}

/* Support: the rule sits at the card's foot, at least 2.5rem below the copy */
.support-card .lead-copy {
  margin-bottom: 2.5rem;
}

.support-card::after {
  content: "";
  width: 48px;
  height: 4px;
  margin-top: auto;
  background: #000;
}

.support-process {
  margin-bottom: 3rem;
  font-size: clamp(1rem, 2vw, 1.3rem);
}

.digital-assurance {
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.digital-assurance p {
  max-width: 620px;
}

/* Why */
.why-index {
  display: block;
  margin-bottom: 0.8rem;
  font-size: 0.75rem;
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Defense product (defense-product.html) ---------- */

/* Layout */
.product-shell {
  width: min(100% - 3rem, 1500px);
  margin-inline: auto;
}

.product-main {
  padding: clamp(3rem, 5vw, 5rem) 0 clamp(4rem, 6vw, 6.5rem);
  background:
    radial-gradient(
      circle at 78% 4%,
      rgba(253, 185, 46, 0.06),
      transparent 22%
    ),
    var(--surface-deep);
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(390px, 1fr);
  align-items: stretch;
  padding-top: 2rem;
  gap: clamp(2rem, 4vw, 4rem);
}

.product-visual-panel,
.product-detail-panel {
  background: rgba(24, 24, 24, 0.86);
  border: 1px solid var(--site-border);
  border-radius: var(--card-radius);
}

@media (max-width: 1100px) {
  .product-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .product-shell {
    width: min(100% - 2rem, 1500px);
  }

  .product-main {
    padding-top: 2rem;
  }
}

/* Visual panel */
.product-visual-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.7rem;
}

.product-image-frame {
  width: 92%;
  margin: 0 auto;
  background: var(--surface-lowest);
}

@media (max-width: 1100px) {
  .product-image-frame {
    max-width: 860px;
  }
}

@media (max-width: 767.98px) {
  .product-visual-panel {
    padding: 1rem;
  }

  .product-image-frame {
    width: 100%;
  }
}

/* Detail panel */
.product-detail-panel {
  display: flex;
  flex-direction: column;
  padding: clamp(2rem, 3.5vw, 3.2rem);
}

/* Product name: the page's hero title, uppercase display type */
.product-detail-panel h1 {
  margin: 0.8rem 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4.4rem);
  font-weight: var(--weight-bold);
  line-height: 0.98;
  letter-spacing: var(--tracking-display);
  text-transform: uppercase;
}

.product-subtitle {
  font-size: 1rem;
  font-weight: var(--weight-medium);
  color: rgba(255, 255, 255, 0.6);
}

.product-description {
  margin-top: 1.8rem;
}

#productDescription::after,
.systems-product-detail-divider {
  height: 1px;
  margin: 2rem 0;
  background: var(--site-border);
}

#productDescription::after {
  content: "";
  display: block;
}

.spec-heading-row,
.roles-heading {
  font-size: 0.6875rem;
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.spec-heading-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.spec-class {
  text-align: right;
  color: var(--gold);
}

.spec-list {
  margin-top: 0.85rem;
}

.spec-row {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  padding: 0.85rem 0;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid var(--site-border);
}

.spec-row strong {
  font-weight: var(--weight-medium);
  text-align: right;
  color: rgba(255, 255, 255, 0.92);
}

.spec-empty {
  padding: 1rem 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.42);
}

.roles-block {
  margin-top: 1.75rem;
}

.roles-heading {
  margin-bottom: 0.8rem;
}

.roles-list {
  display: grid;
  gap: 0.65rem;
}

.role-row {
  display: flex;
  align-items: center;
  min-height: 45px;
  padding: 0.8rem 0.95rem;
  gap: 0.75rem;
  font-size: 0.82rem;
  font-weight: var(--weight-semibold);
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.025);
  border-left: 2px solid var(--gold);
}

.role-row strong {
  font-weight: inherit;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
}

.product-note {
  margin: 1rem 0 0;
  font-size: 0.6875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.33);
}

@media (max-width: 767.98px) {
  .product-detail-panel {
    padding: 1.5rem;
  }

  .spec-row {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 0.75rem;
  }

  .spec-row > span {
    text-align: left;
  }

  .spec-row strong {
    text-align: right;
  }

  .role-row {
    text-align: left;
  }

  .product-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 480px) {
  .product-detail-panel h1 {
    zoom: 1;
    font-size: clamp(1.85rem, 8vw, 3.2rem);
    word-break: normal;
    overflow-wrap: normal;
  }
}

/* ---------- Contact (contactus.html) ---------- */

/* Page root */
.inquiry-body {
  overflow-x: hidden;
  min-height: 100vh;
}

/* Intro and contact details */
.inquiry-main {
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: calc(100vh - var(--header-h));
  margin-top: var(--header-h);
  padding: 2rem 0 86px;
  background:
    radial-gradient(
      circle at center,
      rgba(253, 185, 46, 0.025),
      transparent 68%
    ),
    var(--surface);
}

.inquiry-hero-copy {
  max-width: 500px;
  margin-bottom: 42px;
}

.inquiry-details {
  padding-top: 30px;
  border-top: 1px solid var(--surface-high);
}

.company-name {
  font-size: 15px;
  font-weight: var(--weight-semibold);
  line-height: 1.4;
}

.detail-text {
  margin-top: 7px;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #b4b4b4;
}

.detail-link,
.phone-link {
  font-weight: var(--weight-medium);
  transition: 0.2s ease;
}

.detail-link {
  font-size: 15px;
  color: #fff;
  overflow-wrap: anywhere;
}

.detail-block + .detail-block::before {
  content: "";
  display: block;
  height: 1px;
  margin: 27px 0;
  background: var(--dark-card-alt);
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
}

.phone-link::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  background: #444;
  border-radius: 50%;
}

.detail-link:hover,
.phone-link:hover {
  color: var(--gold);
}

@media (max-width: 991.98px) {
  .inquiry-main {
    min-height: auto;
    padding-bottom: 70px;
  }

  .inquiry-hero-copy {
    max-width: 620px;
  }
}

/* Enquiry form */
.enquiry-card {
  padding: var(--card-pad);
  background: var(--panel);
  border: 1px solid var(--surface-high);
  border-radius: var(--card-radius-sm);
}

.form-card-header {
  margin-bottom: 31px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--surface-high);
}

.form-card-header h2 {
  margin: 0;
  font-size: 21px;
  font-weight: var(--weight-semibold);
}

.form-card-header p {
  margin-top: 5px;
  margin-bottom: 0;
  font-size: 11px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--muted-2);
}

.form-label-custom {
  display: block;
  margin-bottom: 8px;
  color: var(--muted-dark);
}

.form-label-custom span {
  color: var(--gold);
}

/* The custom interest select trigger matches the text fields */
.input-field,
.form-select.input-field,
.interest-select-trigger {
  min-height: 50px;
  font-size: 14px;
  border: 1px solid var(--surface-highest);
  border-radius: 0;
}

.input-field,
.form-select.input-field {
  padding: 13px 15px;
  color: #fff;
  background-color: var(--surface-low);
  box-shadow: none !important;
  transition: 0.2s ease;
}

textarea.input-field {
  min-height: 120px;
  resize: none;
}

.input-field::placeholder {
  color: var(--muted-light);
  opacity: 1;
}

.phone-control {
  position: relative;
  width: 100%;
}

.phone-number-input {
  width: 100%;
}

.phone-help,
.phone-error,
.field-error {
  margin-top: 0.4rem;
  font-size: 0.6875rem;
  line-height: 1.5;
}

.phone-help {
  color: var(--muted-2);
}

.phone-error,
.field-error {
  font-weight: var(--weight-semibold);
  color: #ff9292;
}

.field-error {
  min-height: 1rem;
}

.interest-select {
  position: relative;
}

.interest-select-trigger {
  position: relative;
  width: 100%;
  padding: 13px 44px 13px 15px;
  line-height: 1.5;
  text-align: left;
  color: var(--muted-2);
  background: var(--surface-low);
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.interest-select-trigger::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.2s ease;
}

/* Dropdown panel shared with the intl-tel-input country list (Overrides) */
.interest-select-menu,
.iti__country-selector {
  background: var(--dark);
  border: 1px solid rgba(253, 185, 46, 0.55);
}

.interest-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  z-index: 30;
  padding: 6px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.42);
}

/* Dropdown options shared with the country list rows (Overrides) */
.interest-select-option,
.iti__country {
  transition:
    background-color 0.16s ease,
    color 0.16s ease;
}

.interest-select-option {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  font-size: 13px;
  font-weight: var(--weight-medium);
  line-height: 1.35;
  text-align: left;
  color: rgba(255, 255, 255, 0.82);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.form-status {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.form-note {
  margin-bottom: 0;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  color: var(--muted-light);
}

.form-status--success {
  color: #8bd7aa;
}

.form-status--error {
  color: #ff9292;
}

.input-field:focus {
  color: #fff;
  background-color: var(--charcoal);
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold) !important;
}

.phone-control.is-country-required .phone-number-input {
  padding-left: 64px !important;
}

.phone-error:empty,
.field-error:empty {
  display: none;
}

.phone-control.has-validation-error .phone-number-input,
.input-field.field-invalid,
.interest-select-trigger.field-invalid {
  border-color: #d93025;
  box-shadow: 0 0 0 1px #d93025 !important;
}

.input-field.field-attention,
.interest-select-trigger.field-attention {
  animation: contact-fieldAttention 0.38s ease;
}

.is-validation-shaking {
  animation: phoneShake 0.38s ease;
}

.native-select-hidden {
  display: none !important;
}

.interest-select-trigger:hover,
.interest-select-trigger:focus-visible,
.interest-select.is-open .interest-select-trigger {
  color: #fff;
  background: rgba(253, 185, 46, 0.1);
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 1px var(--gold);
}

.interest-select.is-open .interest-select-trigger::after {
  transform: translateY(-30%) rotate(225deg);
}

.interest-select-menu[hidden] {
  display: none;
}

.interest-select-option:hover,
.interest-select-option:focus-visible,
.interest-select-option[aria-selected="true"],
.iti__country.iti__highlight,
.iti__country:hover,
.iti__country[aria-selected="true"] {
  color: var(--surface-deep);
  background: var(--gold);
}

.interest-select-option:hover,
.interest-select-option:focus-visible,
.interest-select-option[aria-selected="true"] {
  outline: none;
}

@media (max-width: 767.98px) {
  .enquiry-card {
    padding: var(--card-pad-sm);
  }
}

@keyframes phoneShake {
  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  50% {
    transform: translateX(5px);
  }

  75% {
    transform: translateX(-3px);
  }
}

@keyframes contact-fieldAttention {
  25%,
  75% {
    transform: translateX(-3px);
  }

  50% {
    transform: translateX(3px);
  }
}

/* ==================== OVERRIDES ==================== */

/* Bootstrap overrides */
.project-meta-strip .work-detail-row > [class*="col-"] {
  min-width: 0;
}

.form-select.input-field {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 13px) 50%;
  background-size:
    5px 5px,
    5px 5px;
  background-repeat: no-repeat;
}

.form-select.input-field option {
  color: #fff;
  background: var(--surface-low);
}

@media (max-width: 991.98px) {
  .project-meta-strip .col-md {
    min-width: 33.333%;
  }
}

@media (max-width: 767.98px) {
  .ecosystem-node-right .text-end {
    text-align: left !important;
  }
}

@media (min-width: 768px) {
  .project-meta-strip .work-detail-row > [class*="col-"] + [class*="col-"] {
    border-left: 1px solid var(--site-border);
  }
}

/* intl-tel-input overrides */
.phone-control .iti {
  --iti-border-color: var(--surface-highest);
  --iti-country-selector-bg: var(--dark);
  --iti-hover-color: var(--gold);
  --iti-icon-color: var(--gold);
  width: 100%;
}

.iti__country-selector {
  color: var(--text);
  border-radius: 0;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.52);
}

.iti__country-list {
  background: var(--dark);
  scrollbar-color: var(--gold) var(--charcoal);
}

.iti__country {
  color: #d7d7d7;
}

.iti__dial-code {
  color: var(--muted-dark);
}

.iti__search-input {
  color: #fff;
  background: var(--charcoal);
  border: 1px solid var(--surface-highest);
  border-radius: 0;
  outline: none;
}

.iti__search-input::placeholder {
  color: var(--muted-2);
}

.iti__divider {
  border-bottom-color: var(--surface-highest);
}

.iti__selected-country {
  background: transparent;
}

.iti__arrow {
  border-top-color: var(--gold);
}

.iti__country.iti__highlight .iti__dial-code,
.iti__country:hover .iti__dial-code,
.iti__country[aria-selected="true"] .iti__dial-code {
  color: #292929;
}

.iti__arrow--up {
  border-top-color: transparent;
  border-bottom-color: var(--gold);
}

.iti--has-country-selector
  .iti__country-container
  .iti__selected-country-primary:hover,
.iti--has-country-selector
  .iti__country-container
  .iti__selected-country[aria-expanded="true"]
  .iti__selected-country-primary {
  background-color: transparent !important;
}

.iti__search-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

.iti__selected-country:hover,
.iti__selected-country:focus-visible,
.iti__selected-country[aria-expanded="true"] {
  background: rgba(253, 185, 46, 0.12);
  outline: none;
}
