/* =============================================================================
   Blueeyes Eagle

   1.  Tokens
   2.  Reset and base
   3.  Layout primitives
   3b. Background decoration and floating items
   4.  Typography
   5.  Buttons and links
   6.  Site header
   7.  Hero
   8.  Page header
   9.  Feature rows
   10. Cards
   11. Ticker band
   12. Process
   13. Detail lists
   14. FAQ
   15. Forms
   16. CTA band
   17. Editor content
   18. Footer
   19. Motion
   20. Breakpoints
   21. Print

   Layout rule: .wrap sets the page gutter and is never given a narrower
   max-width. Reading widths belong on .measure or on the element itself,
   so a container can never re-centre at a smaller size.
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */

:root {
  /* Colour */
  --ink: #17384b;
  --ink-deep: #102d3e;
  --midnight: #28627a;
  --steel: #20495d;
  --cyan: #63afbf;
  --cyan-pale: #d9f0ec;
  --gold: #dca13b;
  --paper: #fdfcf8;
  --bone: #f1f4ef;

  --text-on-dark: rgba(248, 251, 255, 0.88);
  --text-on-dark-soft: rgba(248, 251, 255, 0.74);
  --text-on-light: rgba(4, 26, 61, 0.84);
  --line-dark: rgba(169, 238, 255, 0.18);
  --line-light: rgba(4, 26, 61, 0.14);

  /* Type */
  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;

  --size-xs: 0.7rem;
  --size-sm: 0.82rem;
  --size-base: 1.0625rem;
  --size-lg: 1.14rem;
  --size-xl: clamp(1.5rem, 2.6vw, 2.1rem);
  --size-2xl: clamp(2rem, 4vw, 3.2rem);
  --size-3xl: clamp(2.6rem, 6vw, 5.2rem);
  --size-hero: clamp(3.4rem, 8.5vw, 8rem);

  /* Space */
  --gutter: 24px;
  --wrap: 1190px;
  --measure: 44rem;
  --section-y: clamp(56px, 6vw, 92px);
  --header-height: 79px;

  /* Motion */
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-slow: cubic-bezier(0.77, 0, 0.175, 1);

  /* Shape */
  --radius: 18px;
  --border: 1px solid var(--line-dark);
}

/* 2. Reset and base -------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* Anchor targets clear the fixed header. */
[id] {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: var(--size-base);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-nav-open {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
}

p {
  margin: 0;
}

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

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.skip-link:focus {
  z-index: 99;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  clip: auto;
  padding: 0.7rem 1rem;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
}

/* 3. Layout primitives ----------------------------------------------------- */

.shell {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 560px at 82% 0%, rgba(99, 175, 191, 0.14), transparent 68%),
    radial-gradient(780px 500px at 8% 38%, rgba(220, 161, 59, 0.08), transparent 66%),
    var(--ink);
}

/* Fixed grid behind the whole page. */
.shell::before {
  display: none;
}

/* Fixed grain, sitting over the gradients to stop them banding. */
.shell::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.shell > * {
  position: relative;
  z-index: 1;
}

/* The one container. Never narrowed. */
.wrap {
  width: min(var(--wrap), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

/* Reading width, applied inside a container rather than to it. */
.measure {
  max-width: var(--measure);
}

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

.section--flush-top {
  padding-top: 0;
}

.section--light {
  background: var(--bone);
  color: var(--ink);
}

.section--gradient {
  background: linear-gradient(180deg, var(--ink), var(--ink-deep));
}

.section--soft {
  background: var(--bone);
  color: var(--ink);
}

/* Section heading block, optionally with something aligned to its right. */
.section-head {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
}

.section-head--split > * {
  min-width: 0;
}

/* Column layouts */
.cols {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
}

.cols--half {
  grid-template-columns: 1fr 1fr;
}

.cols--wide-left {
  grid-template-columns: 1.1fr 0.9fr;
}

.cols--wide-right {
  grid-template-columns: 0.85fr 1.15fr;
}

.cols--center {
  align-items: center;
}

.grid {
  display: grid;
  gap: 1.1rem;
}

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

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

/* 3b. Background decoration and floating items ---------------------------- */

/* Every decorative layer is inert and hidden from assistive tech. */
.decor {
  display: none;
}

.section,
.hero,
.page-head,
.cta {
  position: relative;
  isolation: isolate;
}

.section > .wrap,
.cta > .wrap {
  position: relative;
  z-index: 2;
}

/* Soft coloured glow. Position with --x / --y, size with --size. */
.aura {
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  width: var(--size, 520px);
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--tint, rgba(0, 185, 232, 0.3)), transparent 68%);
  filter: blur(30px);
  animation: pulse var(--speed, 14s) ease-in-out infinite alternate;
}

.aura--gold {
  --tint: rgba(249, 182, 0, 0.22);
}

.aura--deep {
  --tint: rgba(10, 63, 134, 0.6);
}

/* Diagonal light beam. */
.beam {
  position: absolute;
  left: var(--x, 60%);
  top: -30%;
  width: var(--size, 180px);
  height: 160%;
  translate: -50% 0;
  rotate: 14deg;
  background: linear-gradient(180deg, transparent, rgba(169, 238, 255, 0.09), transparent);
  filter: blur(14px);
}

/* Thin outlined ring. */
.ring {
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  width: var(--size, 320px);
  aspect-ratio: 1;
  translate: -50% -50%;
  border: 1px solid rgba(169, 238, 255, 0.16);
  border-radius: 50%;
  animation: spin var(--speed, 40s) linear infinite;
}

.ring::after {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(249, 182, 0, 0.16);
  border-radius: 50%;
}

.ring--dashed {
  border-style: dashed;
  border-color: rgba(0, 185, 232, 0.22);
}

.ring--dashed::after {
  display: none;
}

/* Small drifting marks: dots, crosses, squares. */
.mark {
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  width: var(--size, 8px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--tint, var(--cyan));
  box-shadow: 0 0 16px var(--tint, var(--cyan));
  animation: bob var(--speed, 9s) var(--ease) infinite alternate;
  animation-delay: var(--delay, 0s);
}

.mark--gold {
  --tint: var(--gold);
}

.mark--cross {
  width: var(--size, 20px);
  border-radius: 0;
  background: none;
  box-shadow: none;
  background-image:
    linear-gradient(var(--tint, rgba(169, 238, 255, 0.6)) 0 0),
    linear-gradient(var(--tint, rgba(169, 238, 255, 0.6)) 0 0);
  background-size: 100% 1px, 1px 100%;
  background-position: center;
  background-repeat: no-repeat;
}

.mark--square {
  border-radius: 0;
  background: none;
  border: 1px solid var(--tint, rgba(169, 238, 255, 0.4));
  box-shadow: none;
  rotate: 45deg;
  animation-name: bob-spin;
}

/* Light sections get their own, quieter decoration. */
.section--light .aura {
  --tint: rgba(0, 185, 232, 0.14);
}

.section--light .ring {
  border-color: rgba(4, 26, 61, 0.1);
}

.section--light .ring::after {
  border-color: rgba(4, 26, 61, 0.08);
}

.section--light .mark {
  opacity: 0.5;
}

/* 4. Typography ------------------------------------------------------------ */

.display {
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.display em {
  color: var(--cyan);
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.section--light .display em {
  color: var(--midnight);
}

.display--hero {
  font-size: var(--size-hero);
}

.display--xl {
  font-size: var(--size-3xl);
}

.display--lg {
  font-size: var(--size-2xl);
}

.display--md {
  font-size: var(--size-xl);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.2rem;
  color: var(--cyan-pale);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 1.8rem;
  height: 1px;
  background: var(--cyan);
}

.section--light .eyebrow {
  color: #176a86;
}

.section--light .eyebrow::before {
  background: var(--midnight);
}

.lede {
  margin-top: 1.6rem;
  color: var(--text-on-dark);
  font-size: var(--size-lg);
}

.section--light .lede {
  color: var(--text-on-light);
}

.lede--large {
  font-size: clamp(1.11rem, 1.7vw, 1.36rem);
}

.statement {
  color: #fff;
  font-size: clamp(1.5rem, 2.9vw, 2.3rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.quote-mark {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 0.4;
}

/* 5. Buttons and links ----------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.15s var(--ease);
}

.btn:active {
  transform: scale(0.98);
}

.btn:focus-visible {
  outline-offset: 4px;
}

.btn--solid {
  background: var(--cyan);
  color: var(--ink);
}

.btn--solid:hover {
  background: #fff;
}

.btn--outline {
  border-color: rgba(248, 251, 255, 0.4);
  color: #fff;
}

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn[disabled],
.btn[data-busy] {
  opacity: 0.55;
  pointer-events: none;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.8rem;
  color: var(--cyan-pale);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: gap 0.2s var(--ease), color 0.2s var(--ease);
}

.arrow-link::after {
  content: "→";
}

.arrow-link:hover {
  gap: 0.9rem;
  color: #fff;
}

.arrow-link--flush {
  margin-top: 0;
}

.section--light .arrow-link {
  color: #176a86;
}

.section--light .arrow-link:hover {
  color: var(--ink);
}

/* 6. Site header ----------------------------------------------------------- */

.header {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto;
  padding: 18px 0;
  transition: padding 0.28s var(--ease), background-color 0.28s var(--ease);
}

.header.is-stuck {
  padding: 10px 0;
  background: rgba(4, 26, 61, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand img {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  object-fit: contain;
  background: var(--midnight);
}

.brand__name {
  display: grid;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  line-height: 1.05;
  text-transform: uppercase;
}

.brand__name small {
  margin-top: 0.3rem;
  color: var(--cyan-pale);
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav li {
  position: relative;
}

.nav a {
  display: inline-block;
  color: var(--text-on-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.18s var(--ease);
}

.nav a:hover,
.nav .current-menu-item > a,
.nav .current_page_item > a {
  color: var(--cyan);
}

.nav .menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 0.45rem;
  vertical-align: middle;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.nav .sub-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  display: grid;
  min-width: 240px;
  padding: 0.5rem;
  border: var(--border);
  background: rgba(4, 26, 61, 0.97);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}

/* Keeps hover alive while the pointer crosses the gap. */
.nav .sub-menu::before {
  content: "";
  position: absolute;
  inset: -16px 0 100% 0;
}

.nav li:hover > .sub-menu,
.nav li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav .sub-menu a {
  padding: 0.6rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
}

.nav .sub-menu a:hover {
  background: rgba(0, 185, 232, 0.12);
}

.nav-toggle {
  display: none;
  padding: 0.5rem;
  border: 0;
  background: none;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* 7. Hero ------------------------------------------------------------------ */

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 700px;
  padding: 138px 0 64px;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% 50%;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 45, 62, 0.98) 0%, rgba(16, 45, 62, 0.9) 42%, rgba(16, 45, 62, 0.32) 76%, rgba(16, 45, 62, 0.46) 100%),
    linear-gradient(0deg, rgba(16, 45, 62, 0.76), transparent 42%);
}

.hero__orbit {
  display: none;
  position: absolute;
  z-index: -1;
  top: 9%;
  right: -10%;
  width: min(62vw, 740px);
  aspect-ratio: 1;
  border: var(--border);
  border-radius: 50%;
  box-shadow: 0 0 150px rgba(0, 185, 232, 0.22), inset 0 0 70px rgba(0, 185, 232, 0.08);
  animation: spin 26s linear infinite, float-y 7s var(--ease) infinite alternate;
}

.hero__orbit::before,
.hero__orbit::after {
  content: "";
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(249, 182, 0, 0.2);
  border-radius: 50%;
  transform: rotateX(64deg);
}

.hero__orbit::after {
  inset: 29%;
  border-color: rgba(169, 238, 255, 0.34);
  transform: rotateY(65deg);
}

/* Reading widths sit on the children, never on .wrap. */
.hero__title {
  max-width: 15ch;
}

.hero__lede {
  max-width: 34rem;
  margin-bottom: 1.5rem;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  margin-top: 2rem;
}

.hero__facts dt {
  color: var(--cyan-pale);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__facts dd {
  margin: 0.3rem 0 0;
  color: #fff;
  font-size: 0.94rem;
  font-weight: 600;
}

/* 8. Page header ----------------------------------------------------------- */

.page-head {
  position: relative;
  padding: 176px 0 92px;
  overflow: hidden;
  isolation: isolate;
}

.page-head__media {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
}

.page-head__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 45%;
  transform: scale(1.04);
  animation: drift 24s var(--ease-slow) infinite alternate;
}

.page-head__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 26, 61, 0.97), rgba(4, 26, 61, 0.74) 58%, rgba(4, 26, 61, 0.92)),
    linear-gradient(0deg, var(--ink), transparent 58%);
}

.page-head__orbit {
  display: none;
  position: absolute;
  z-index: -1;
  top: -170px;
  right: -130px;
  width: 540px;
  height: 540px;
  border: var(--border);
  border-radius: 50%;
  box-shadow: inset 0 0 70px rgba(0, 185, 232, 0.08);
  animation: spin 46s linear infinite;
}

.page-head__title {
  max-width: 18ch;
}

/* 9. Feature rows ---------------------------------------------------------- */

.rows {
  display: grid;
  gap: clamp(2.75rem, 6vw, 5rem);
}

.row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 3.5rem);
}

.row--flip .row__media {
  order: 2;
}

.row__media {
  position: relative;
  overflow: hidden;
  border: var(--border);
}

.row__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.row:hover .row__media img {
  transform: scale(1.05);
}

.row__tag {
  position: absolute;
  left: 1.1rem;
  bottom: 1.1rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(169, 238, 255, 0.28);
  background: rgba(4, 26, 61, 0.86);
  color: var(--cyan-pale);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.row__index {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 2rem;
}

/* Bulleted highlights inside a row. */
.points {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.points li {
  padding-left: 1.1rem;
  border-left: 2px solid rgba(0, 185, 232, 0.55);
  color: var(--text-on-dark);
  font-size: 0.93rem;
}

.points strong {
  display: block;
  margin-bottom: 0.2rem;
  color: #fff;
  font-size: 0.95rem;
}

/* 10. Cards ---------------------------------------------------------------- */

/* Image-led service card. */
.card-image {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 340px;
  aspect-ratio: 4 / 5;
  padding: 1.75rem;
  overflow: hidden;
  border: 1px solid rgba(169, 238, 255, 0.16);
  background: var(--steel);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.card-image:hover {
  transform: translateY(-7px);
  border-color: rgba(0, 185, 232, 0.75);
}

.card-image:focus-visible {
  outline-offset: -2px;
}

.card-image img {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.card-image:hover img {
  transform: scale(1.08);
}

.card-image::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(0deg, rgba(4, 26, 61, 0.98) 3%, rgba(4, 26, 61, 0.44) 78%);
}

.card-image > *:not(img) {
  position: relative;
  z-index: 2;
}

.card-image h3 {
  margin-top: 0.8rem;
  color: #fff;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.card-image p {
  margin-top: 0.7rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.96rem;
}

.card-image__more {
  margin-top: 1.3rem;
  color: var(--cyan-pale);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.card-image:hover .card-image__more,
.card-image:focus-visible .card-image__more {
  opacity: 1;
  transform: none;
}

/* Plain bordered card. */
.card {
  display: block;
  padding: 2.1rem 1.9rem;
  border: var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

a.card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 185, 232, 0.6);
}

.card h3 {
  margin-bottom: 0.6rem;
  color: #fff;
  font-size: 1.18rem;
  letter-spacing: -0.03em;
}

.card p {
  color: var(--text-on-dark);
  font-size: 1rem;
}

.card__label {
  margin-bottom: 0.9rem;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card__figure {
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1;
}

.card__name {
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.card__more {
  display: inline-block;
  margin-top: 1.1rem;
  color: var(--cyan-pale);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Client logos: simple brand recognition, with no project description under the name. */
.client-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.client-card {
  --brand: #73cb43;
  position: relative;
  display: grid;
  align-content: start;
  justify-items: center;
  min-height: 320px;
  padding: clamp(1.35rem, 2.4vw, 2rem);
  overflow: hidden;
  border: 1px solid rgba(217, 240, 236, 0.18);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(99, 175, 191, 0.28), transparent 40%),
    linear-gradient(145deg, #1d4c60, #122f41);
  box-shadow: 0 16px 34px rgba(4, 26, 61, 0.16);
  color: #fff;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.client-card:nth-child(1) {
  --brand: #73cb43;
}

.client-card:nth-child(2) {
  --brand: #dc3d2f;
}

.client-card:nth-child(3) {
  --brand: #dca13b;
}

.client-card::before {
  content: "";
  position: absolute;
  inset: auto -18% -42% auto;
  width: 230px;
  aspect-ratio: 1;
  border: 1px solid rgba(217, 240, 236, 0.16);
  border-radius: 50%;
  box-shadow: inset 0 0 0 28px rgba(217, 240, 236, 0.035);
  pointer-events: none;
  animation: client-orbit 11s linear infinite;
}

.client-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--brand);
  box-shadow: 0 0 16px 1px var(--brand);
}

.client-card__glow {
  position: absolute;
  top: -40%;
  left: 50%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, var(--brand) 0%, transparent 70%);
  opacity: 0.18;
  filter: blur(6px);
  transform: translateX(-50%) scale(0.9);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
  pointer-events: none;
}

.client-card:hover {
  transform: translateY(-10px) scale(1.015);
  border-color: color-mix(in srgb, var(--brand) 55%, rgba(217, 240, 236, 0.4));
  box-shadow: 0 30px 54px rgba(4, 26, 61, 0.3), 0 0 0 1px color-mix(in srgb, var(--brand) 40%, transparent);
}

.client-card:hover .client-card__glow {
  opacity: 0.38;
  transform: translateX(-50%) scale(1.15);
}

.client-card__logo {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 164px;
  height: 164px;
  padding: 8px;
  margin-inline: auto;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 25px rgba(4, 26, 61, 0.2);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  animation: client-logo-float 4.8s var(--ease) infinite alternate;
}

.client-card:hover .client-card__logo {
  transform: translateY(-4px) scale(1.04);
  border-color: var(--brand);
  box-shadow: 0 16px 32px rgba(4, 26, 61, 0.28), 0 0 0 3px color-mix(in srgb, var(--brand) 30%, transparent);
}

.client-card:nth-child(2) .client-card__logo {
  animation-delay: -1.5s;
}

.client-card:nth-child(3) .client-card__logo {
  animation-delay: -3s;
}

.client-card__logo img {
  width: 146px;
  height: 146px;
  border-radius: 10px;
  object-fit: contain;
  filter: grayscale(65%) opacity(0.88);
  transition: filter 0.4s var(--ease);
}

.client-card:hover .client-card__logo img {
  filter: grayscale(0%) opacity(1);
}

.client-card__name {
  position: relative;
  z-index: 1;
  margin-top: 1.5rem;
  color: #fff;
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-align: center;
}

.client-card__tag {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-top: 0.65rem;
  padding: 0.3em 0.85em;
  border: 1px solid color-mix(in srgb, var(--brand) 45%, rgba(255, 255, 255, 0.18));
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 16%, rgba(255, 255, 255, 0.06));
  color: var(--text-on-dark);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}

.client-card__tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 6px 1px var(--brand);
}

.client-card:hover .client-card__tag {
  background: color-mix(in srgb, var(--brand) 28%, rgba(255, 255, 255, 0.08));
  border-color: var(--brand);
}

.client-grid--large .client-card {
  min-height: 352px;
  padding: clamp(1.6rem, 3vw, 2.5rem);
}

.section--soft .lede,
.section--soft .statement {
  color: var(--text-on-light);
}

/* 11. Ticker band ---------------------------------------------------------- */

.ticker {
  position: relative;
  padding: 26px 0;
  overflow: hidden;
  border-block: var(--border);
  background: var(--gold);
  color: var(--ink);
  transform: rotate(-1.4deg) scale(1.04);
}

.ticker__track {
  display: flex;
  gap: 2rem;
  width: max-content;
  font-size: clamp(1.4rem, 2.8vw, 2.3rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  white-space: nowrap;
  animation: slide 30s linear infinite;
}

.ticker__track span::after {
  content: "✦";
  margin-left: 2rem;
  color: var(--midnight);
}

/* 12. Process -------------------------------------------------------------- */

.step {
  position: relative;
  padding: 2rem 1.5rem;
  border-top: 2px solid rgba(0, 185, 232, 0.45);
  background: linear-gradient(180deg, rgba(9, 40, 90, 0.5), transparent);
}

.step__number {
  display: block;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1;
}

.step h3 {
  margin: 0.8rem 0 0.6rem;
  color: #fff;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.step p {
  color: var(--text-on-dark);
  font-size: 0.94rem;
}

/* 13. Detail lists --------------------------------------------------------- */

.dotted {
  display: grid;
  gap: 0.75rem;
}

.dotted li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--text-on-dark);
  font-size: 0.96rem;
}

.dotted li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 185, 232, 0.7);
}

.dotted--gold li::before {
  background: var(--gold);
  box-shadow: 0 0 12px rgba(249, 182, 0, 0.6);
}

.blocks {
  display: grid;
  gap: 1.3rem;
}

.block {
  padding: 1.6rem 1.8rem;
  border-left: 2px solid rgba(0, 185, 232, 0.6);
  background: rgba(9, 40, 90, 0.36);
}

.block h3 {
  margin-bottom: 0.5rem;
  color: #fff;
  font-size: 1.08rem;
}

.block p {
  color: var(--text-on-dark);
  font-size: 0.94rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.tag {
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(169, 238, 255, 0.28);
  border-radius: 999px;
  color: var(--cyan-pale);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rule-top {
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: var(--border);
}

.data-line {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: var(--border);
}

.data-line dt {
  color: var(--cyan);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.data-line dd {
  margin: 0;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 600;
}

/* 14. FAQ ------------------------------------------------------------------ */

.faq {
  display: grid;
  gap: 0.75rem;
}

.faq__item {
  border: var(--border);
  background: rgba(9, 40, 90, 0.34);
}

.faq__item[open] {
  border-color: rgba(0, 185, 232, 0.5);
}

.faq__item summary {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  padding: 1.4rem 1.8rem;
  cursor: pointer;
  list-style: none;
}

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

.faq__item summary:focus-visible {
  outline-offset: -3px;
}

.faq__number {
  flex: none;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.1rem;
}

.faq__question {
  color: #fff;
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.faq__answer {
  padding: 0 1.8rem 1.6rem 4.2rem;
  color: var(--text-on-dark);
  font-size: 1.02rem;
}

/* 15. Forms ---------------------------------------------------------------- */

.form-panel {
  padding: clamp(1.6rem, 3vw, 2.8rem);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(4, 26, 61, 0.13);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
}

.field {
  display: grid;
  gap: 0.45rem;
  margin: 0;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  color: #276079;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field .required {
  color: var(--cyan);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0;
  appearance: none;
  border: 0;
  border-bottom: 1px solid var(--line-light);
  background: transparent;
  font-size: 1rem;
  transition: border-color 0.18s var(--ease);
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--cyan);
  outline: none;
}

.form-actions {
  margin-top: 2rem;
}

.form-note {
  margin-top: 0.9rem;
  color: rgba(4, 26, 61, 0.55);
  font-size: 0.8rem;
}

.form-status {
  margin-bottom: 1.5rem;
  padding: 0.9rem 1rem;
  border-left: 3px solid #23a4c7;
  background: #e7f9ff;
  color: #07536d;
  font-size: 0.9rem;
}

.form-status--error {
  border-left-color: #c7452a;
  background: #fff0ed;
  color: #9b2e17;
}

/* Bot trap. Hidden from people and from assistive tech. */
.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-list {
  display: grid;
  gap: 1.2rem;
  margin-top: 2.6rem;
}

.contact-list > div {
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line-light);
}

.contact-list dt {
  color: #276079;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-list dd {
  margin: 0.4rem 0 0;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
}

.contact-list a:hover {
  color: #176a86;
}

/* 16. CTA band ------------------------------------------------------------- */

.cta {
  padding-block: clamp(70px, 8vw, 110px);
  background: linear-gradient(120deg, #062354, #0a3f86);
}

.cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}

.cta__inner > div:first-child {
  max-width: 38rem;
}

/* 17. Editor content ------------------------------------------------------- */

.prose {
  color: var(--text-on-dark);
  font-size: 1.08rem;
}

.prose > * {
  max-width: 52rem;
}

.prose > * + * {
  margin-top: 1.1em;
}

.prose h2 {
  margin-top: 2em;
  color: #fff;
  font-size: var(--size-xl);
  letter-spacing: -0.03em;
}

.prose h3 {
  margin-top: 1.6em;
  color: #fff;
  font-size: 1.2rem;
}

.prose ul,
.prose ol {
  padding-left: 1.3rem;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li + li {
  margin-top: 0.4em;
}

.prose a {
  color: var(--cyan-pale);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose img {
  height: auto;
}

.prose blockquote {
  padding-left: 1.4rem;
  border-left: 2px solid var(--cyan);
  font-family: var(--font-serif);
  font-size: 1.2rem;
}

/* 18. Footer --------------------------------------------------------------- */

.footer {
  padding: 60px 0 28px;
  background: var(--ink-deep);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
  gap: 2.5rem 2rem;
  padding-bottom: 3.5rem;
}

.footer__brand h2 {
  margin: 1rem 0;
  font-size: 1.25rem;
  letter-spacing: -0.035em;
}

.footer__brand p {
  color: var(--text-on-dark-soft);
  font-size: 0.9rem;
}

.footer__col h3 {
  margin-bottom: 1rem;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer__col a,
.footer__col span {
  display: block;
  padding: 0.3rem 0;
  color: var(--text-on-dark);
  font-size: 0.9rem;
}

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

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding-top: 1.5rem;
  border-top: var(--border);
  color: var(--text-on-dark-soft);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* 19. Motion --------------------------------------------------------------- */

/* Only hide content once JS has confirmed it is able to reveal it again. */
.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes drift {
  to {
    transform: scale(1.13) translate(-1.4%, -1.6%);
  }
}

@keyframes float-y {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-14px);
  }
}

@keyframes client-logo-float {
  from {
    transform: translateY(0) rotate(-1.5deg);
  }
  to {
    transform: translateY(-9px) rotate(1.5deg);
  }
}

@keyframes client-orbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes spin {
  to {
    rotate: 360deg;
  }
}

@keyframes pulse {
  from {
    opacity: 0.55;
    scale: 0.92;
  }
  to {
    opacity: 1;
    scale: 1.08;
  }
}

@keyframes bob {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-16px);
  }
}

@keyframes bob-spin {
  from {
    transform: translateY(0) rotate(0deg);
  }
  to {
    transform: translateY(-18px) rotate(90deg);
  }
}

@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}

/* 20. Breakpoints ---------------------------------------------------------- */

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

@media (max-width: 880px) {
  :root {
    --gutter: 18px;
  }

  .header {
    padding: 12px 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: calc(100% + 6px);
    left: var(--gutter);
    right: var(--gutter);
    display: none;
    padding: 1rem;
    border: var(--border);
    background: rgba(4, 26, 61, 0.97);
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  }

  .nav.is-open {
    display: block;
  }

  .nav ul {
    display: grid;
    gap: 0.15rem;
  }

  .nav > ul > li > a {
    display: block;
    padding: 0.7rem;
  }

  /* Submenus sit inline once the menu is a stacked panel. */
  .nav .sub-menu {
    position: static;
    min-width: 0;
    margin: 0 0 0.3rem 0.7rem;
    padding: 0;
    border: 0;
    border-left: var(--border);
    background: none;
    box-shadow: none;
    backdrop-filter: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav .sub-menu a {
    padding: 0.5rem 0.7rem;
    opacity: 0.82;
  }

  .hero {
    min-height: 660px;
    padding: 150px 0 70px;
  }

  .hero__media::after {
    background:
      linear-gradient(90deg, rgba(16, 45, 62, 0.96), rgba(16, 45, 62, 0.54) 60%, rgba(16, 45, 62, 0.7)),
      linear-gradient(0deg, var(--ink), transparent 35%);
  }

  .page-head {
    padding: 145px 0 76px;
  }

  .cols--half,
  .cols--wide-left,
  .cols--wide-right,
  .row,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .row--flip .row__media {
    order: 0;
  }

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

  /* Client brands deliberately remain a three-card row. */
  .client-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 880px) {
  .beam {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 600px;
  }

  .aura {
    --size: 320px;
  }

  .ring,
  .mark {
    display: none;
  }

  .hero__facts {
    margin-top: 3rem;
  }

  .grid--3,
  .grid--5,
  .footer__top {
    grid-template-columns: 1fr;
  }

  /* Keep all three client brands side by side even on narrow screens. */
  .client-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .client-card,
  .client-grid--large .client-card {
    min-height: 144px;
    padding: 0.65rem;
    border-radius: 12px;
  }

  .client-card__logo {
    width: min(100%, 78px);
    height: auto;
    aspect-ratio: 1;
    padding: 4px;
    border-radius: 9px;
  }

  .client-card__logo img {
    width: 100%;
    height: 100%;
    border-radius: 6px;
  }

  .client-card__name {
    margin-top: 0.55rem;
    font-size: 0.72rem;
    line-height: 1.1;
  }

  .client-card__tag,
  .client-card__glow {
    display: none;
  }

  .card-image {
    min-height: 300px;
  }

  .card,
  .block {
    padding: 1.5rem 1.4rem;
  }

  .faq__item summary {
    gap: 0.9rem;
    padding: 1.15rem 1.3rem;
  }

  .faq__answer {
    padding: 0 1.3rem 1.3rem 1.3rem;
  }

  .data-line {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .btn-row .btn,
  .cta__inner .btn {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .has-js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .aura,
  .ring,
  .mark {
    animation: none;
  }
}

/* 21. Print ---------------------------------------------------------------- */

@media print {
  .header,
  .ticker,
  .cta,
  .hero__orbit,
  .page-head__orbit,
  .decor,
  .shell::before,
  .shell::after {
    display: none !important;
  }

  body,
  .shell {
    background: #fff;
    color: #000;
  }

  .display,
  .lede,
  h1,
  h2,
  h3,
  p {
    color: #000 !important;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
  }
}
