/* =========================================================
   KAEBERG — landing styles
   ========================================================= */

/* FOUC prevention: hide content until i18n applies translations */
html.is-translating body { visibility: hidden; }

:root {
  --navy: #193B66;
  --navy-deep: #0F2747;
  --navy-ink: #0F1F36;
  --ink: #1A1F2B;
  --bone: #F5F1EA;
  --bone-soft: #EFEAE0;
  --paper: #FFFFFF;
  --gold: #A48A56;
  --gold-soft: #C4AC7C;
  --rule: rgba(15, 31, 54, 0.14);
  --rule-soft: rgba(15, 31, 54, 0.08);
  --rule-on-navy: rgba(255, 255, 255, 0.18);
  --rule-on-navy-soft: rgba(255, 255, 255, 0.10);

  --font-display: "Inria Serif", "Times New Roman", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --nav-h: 76px;
  --nav-h-scrolled: 76px;

  --container: 1380px;
  --gutter: 40px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: #fff;
  overscroll-behavior-y: none;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  overscroll-behavior-y: none;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  text-wrap: pretty;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

::selection {
  background: var(--navy);
  color: #fff;
}


/* ---------- Typography utilities ---------- */

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255, 255, 255, .7);
  margin: 0 0 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: .6;
}

.eyebrow--ink {
  color: rgba(15, 31, 54, .62);
}

.eyebrow--light {
  color: rgba(255, 255, 255, .7);
}


/* ---------- Buttons ---------- */

.btn {
  --bg: var(--navy);
  --fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  background: var(--bg);
  color: var(--fg);
  padding: 18px 28px 17px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
  border: 1px solid var(--bg);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  cursor: pointer;
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform .35s var(--ease);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn--solid:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
}

.btn--ghost {
  --bg: transparent;
  --fg: var(--navy);
  border: 1px solid var(--navy);
}

.btn--ghost:hover {
  background: var(--navy);
  color: #fff;
}

.btn--bone {
  --bg: var(--bone);
  --fg: var(--navy);
  border-color: var(--bone);
}

.btn--bone:hover {
  background: #fff;
  border-color: #fff;
}

.btn--outline-light {
  --bg: transparent;
  --fg: #fff;
  border: 1px solid rgba(255, 255, 255, .4);
}

.btn--outline-light:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.btn--outline-light svg {
  display: none;
}


/* ---------- Link arrow ---------- */

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
  color: #fff;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, .35);
  transition: color .3s var(--ease), border-color .3s var(--ease), gap .3s var(--ease);
}

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

.link-arrow--ink {
  color: var(--navy);
  border-bottom-color: rgba(15, 31, 54, .25);
}

.link-arrow--ink:hover {
  border-bottom-color: var(--navy);
}

.link-arrow--lg {
  font-size: 14px;
}

.dotsep {
  opacity: .5;
  padding: 0 .5rem;
}


/* ---------- Placeholders ---------- */

.ph {
  display: block;
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(135deg,
      rgba(25, 59, 102, .05) 0 1px,
      transparent 1px 14px),
    linear-gradient(180deg, #EFEFEF 0%, #E2E2E2 100%);
  color: rgba(25, 59, 102, .6);
  position: relative;
  overflow: hidden;
}

.ph::before {
  content: "[" attr(data-label)"]";
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 18px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: .05em;
  color: rgba(25, 59, 102, .55);
  text-transform: uppercase;
}

.ph::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px dashed rgba(25, 59, 102, .18);
}

.ph--portrait {
  aspect-ratio: 3/4;
}


/* =========================================================
   TOP NAV
   ========================================================= */

.topnav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  /* above mega menu */
  height: var(--nav-h);
  display: flex;
  align-items: center;
  color: #fff;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  transition: background .5s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
}

.topnav--always-solid {
  background: var(--navy);
  border-bottom-color: var(--rule-on-navy-soft);
}

@media (max-width: 760px) {
  .topnav {
    background: var(--navy);
    border-bottom-color: var(--rule-on-navy-soft);
  }
}

.topnav[data-scrolled="true"] {
  background: var(--navy);
  border-bottom-color: rgba(255, 255, 255, .10);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04);
}

/* Menu-open: navy bg only — never resize the nav, so logo & utilities stay put */
.topnav[data-menu-open="true"] {
  background: var(--navy);
  border-bottom-color: var(--rule-on-navy-soft);
  box-shadow: none;
}

.topnav__inner {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.topnav__group {
  display: flex;
  align-items: center;
  gap: 28px;
}

.topnav__group--right {
  justify-content: flex-end;
}

.topnav__util {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .01em;
  color: #fff;
  opacity: .92;
  transition: opacity .25s var(--ease);
}

.topnav__util:hover {
  opacity: 1;
}

.topnav__util .ico {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}

/* ---- Login lock — animate shackle open on hover ---- */
.topnav__util--login .ico-lock {
  overflow: visible;
}

.topnav__util--login .ico-lock__shackle {
  transform-box: view-box;
  transform-origin: 16px 10.5px;
  /* hinge at right anchor where shackle meets body */
  transition: transform .4s var(--ease);
}

.topnav__util--login:hover .ico-lock__shackle {
  transform: rotate(30deg);
  /* swings left foot up & out (lock opens) */
}

.topnav__logo {
  display: block;
  height: 30px;
}

.topnav__logo-img {
  height: 100%;
  width: auto;
  filter: brightness(0) invert(1);
}

.topnav__burger {
  width: 24px;
  height: 18px;
  position: relative;
  margin-left: 8px;
}

.topnav__burger span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.4px;
  background: #fff;
  transition: transform .4s var(--ease), top .4s var(--ease), bottom .4s var(--ease), opacity .25s;
}

.topnav__burger span:nth-child(1) {
  top: 2px;
}

.topnav__burger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.topnav__burger span:nth-child(3) {
  bottom: 2px;
}

.topnav__burger[aria-expanded="true"] span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

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

.topnav__burger[aria-expanded="true"] span:nth-child(3) {
  bottom: auto;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}


/* ---------- Language picker ---------- */

.langpick {
  position: relative;
}

.langpick__btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  color: #fff;
  padding: 8px 4px;
  opacity: .95;
  transition: opacity .25s var(--ease);
}

.langpick__btn:hover {
  opacity: 1;
}

.langpick__chev {
  width: 10px;
  height: 6.67px;
  display: block;
  transition: transform .35s var(--ease);
}

.langpick[data-open="true"] .langpick__chev {
  transform: rotate(180deg);
}

.langpick__current {
  display: inline-block;
  min-width: 1.4em;
}

.langpick__menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -8px;
  min-width: 72px;
  background: var(--navy-deep);
  border: 1px solid rgba(255, 255, 255, .16);
  padding: 6px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}

.langpick[data-open="true"] .langpick__menu {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.langpick__menu li {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .7);
  padding: 9px 14px;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}

.langpick__menu li:hover {
  background: rgba(255, 255, 255, .06);
  color: #fff;
}

.langpick__menu li[aria-selected="true"] {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255, 255, 255, .85);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 0 0 9vh;
}

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

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  animation: heroDrift 22s var(--ease) infinite alternate;
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.10) translate3d(-1%, -1%, 0);
  }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 31, 54, .55) 0%, rgba(15, 31, 54, .05) 30%, rgba(15, 31, 54, .10) 60%, rgba(15, 31, 54, .60) 100%),
    linear-gradient(90deg, rgba(15, 31, 54, .25), transparent 40%, transparent 60%, rgba(15, 31, 54, .15));
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: .32em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0 0 28px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  opacity: .92;
}

.hero__eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: #fff;
  opacity: .7;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(44px, 6.8vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.012em;
  margin: 0;
  max-width: 20ch;
  text-wrap: balance;
}

.hero__pager {
  position: absolute;
  z-index: 2;
  right: calc(6vw + 24px);
  bottom: 9vh;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
}

.hero__pager-line {
  display: block;
  width: 50px;
  height: 1px;
  background: rgba(255, 255, 255, .45);
}


/* =========================================================
   PROMISE
   ========================================================= */

.promise {
  background: #fff;
  color: var(--navy);
  padding: clamp(72px, 10vw, 140px) 0;
  border-bottom: 1px solid var(--rule-soft);
}

.promise__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 56px 64px;
  align-items: end;
}

.promise__lede {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.22;
  letter-spacing: -0.008em;
  color: var(--navy);
  margin: 0;
  max-width: 26ch;
}

.promise__inner .eyebrow {
  margin: 0 0 1.4rem;
  color: rgba(15,31,54,.62);
}


/* =========================================================
   SECTION HEAD
   ========================================================= */

.section-head {
  margin-bottom: clamp(48px, 6vw, 96px);
  max-width: 760px;
}

.section-head__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.012em;
  margin: 0;
  color: var(--navy);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  max-width: none;
}


/* =========================================================
   SOLUTIONS
   ========================================================= */

.solutions {
  background: #fff;
  padding: clamp(80px, 10vw, 140px) 0;
}

.solutions__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.solcard {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid var(--rule);
  transition: transform .5s var(--ease-out);
}

.solcard:hover {
  transform: translateY(-4px);
}

.solcard__media {
  display: block;
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  margin-bottom: 32px;
}

.solcard__media .ph {
  transition: transform 1.2s var(--ease-out);
}

.solcard:hover .solcard__media .ph {
  transform: scale(1.03);
}

.solcard__body {
  padding: 0 4px;
}

.solcard__media img{
  transition: transform 1.2s var(--ease-out);
}

.solcard:hover .solcard__media img{
  transform: scale(1.03);
}

.solutions__cta{
  margin-top: clamp(40px, 5vw, 64px);
  text-align: center;
}

@media (max-width: 760px){
  .solutions__cta .btn{
    width: 100%;
    justify-content: center;
  }
}

.solcard__num {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: .22em;
  color: rgba(15, 31, 54, .5);
  margin: 0 0 14px;
}

.solcard__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--navy);
}

.solcard__copy {
  font-size: 15px;
  line-height: 1.62;
  color: #3A4256;
  margin: 0 0 24px;
  max-width: 40ch;
}


/* =========================================================
   FEATURE / EDITORIAL
   ========================================================= */

.feature {
  background: #fff;
  padding: clamp(80px, 11vw, 160px) 0;
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}

.feature__grid {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.feature__media {
  margin: 0;
  position: relative;
}

.feature__media .ph {
  aspect-ratio: 4/5;
}

.feature__caption {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(15, 31, 54, .5);
}

.feature__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.012em;
  margin: 0 0 32px;
  color: var(--navy);
}

.feature__lede {
  font-size: 17px;
  line-height: 1.65;
  color: #2D3346;
  margin: 0 0 18px;
  max-width: 56ch;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 48px 0 40px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

.stats__cell {
  padding-right: 24px;
  position: relative;
}

.stats__cell+.stats__cell {
  padding-left: 24px;
  border-left: 1px solid var(--rule);
}

.stats__cell dt {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(15, 31, 54, .5);
  margin-bottom: 10px;
}

.stats__cell dd {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 2.8vw, 40px);
  margin: 0;
  color: var(--navy);
}


/* =========================================================
   PILLARS (three brand pillars in feature section)
   ========================================================= */

.pillars{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 48px 0 0;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
.pillars__cell{
  padding-right: 24px;
}
.pillars__cell + .pillars__cell{
  padding-left: 24px;
  border-left: 1px solid var(--rule);
}
.pillars__cell dt{
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: -0.005em;
  color: var(--navy);
  margin-bottom: 8px;
}
.pillars__cell dd{
  font-size: 14px;
  line-height: 1.55;
  color: rgba(15,31,54,.66);
  margin: 0;
}


/* =========================================================
   CAPABILITIES
   ========================================================= */

.capabilities {
  background: #fff;
  padding: clamp(80px, 11vw, 160px) 0;
}

.caps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 72px;
  row-gap: 64px;
}

.caps__item {
  padding-top: 36px;
  border-top: 1px solid var(--rule);
}

.caps__num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
  font-size: 20px;
  margin: 0 0 18px;
}

.caps__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.008em;
  color: var(--navy);
  margin: 0 0 18px;
}

.caps__copy {
  font-size: 15px;
  line-height: 1.65;
  color: #3A4256;
  margin: 0 0 22px;
  max-width: 48ch;
}


/* =========================================================
   INSIGHTS
   ========================================================= */

.insights {
  background: #fff;
  padding: clamp(80px, 11vw, 160px) 0;
  border-top: 1px solid var(--rule-soft);
}

.insights__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.insight {
  display: flex;
  flex-direction: column;
}

.insight__media {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  margin-bottom: 24px;
}

.insight__media .ph {
  transition: transform 1.2s var(--ease-out);
}

.insight:hover .insight__media .ph {
  transform: scale(1.04);
}

.insight__meta {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(15, 31, 54, .55);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
}

.insight__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.18;
  margin: 0 0 14px;
  color: var(--navy);
}

.insight__title a {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .5s var(--ease);
}

.insight__title a:hover {
  background-size: 100% 1px;
}

.insight__dek {
  font-size: 14px;
  line-height: 1.6;
  color: #3A4256;
  margin: 0;
  max-width: 40ch;
}


/* =========================================================
   GLOBAL PRESENCE
   ========================================================= */

.global {
  background: var(--navy);
  color: #fff;
  padding: clamp(40px, 6vh, 96px) 0;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.global__inner {
  width: 100%;
}

.global .section-head {
  margin-bottom: clamp(20px, 3vh, 44px);
}

.global .section-head__title {
  color: #fff;
  font-size: clamp(28px, 4vh, 54px);
}

.global .eyebrow {
  color: rgba(255, 255, 255, .65);
}

.global__map {
  position: relative;
  margin: clamp(12px, 2vh, 32px) auto clamp(12px, 2vh, 28px);
  max-width: min(1100px, 78vh * 1066 / 524);
  width: 100%;
  aspect-ratio: 1066/524;
}

.global__map-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .5;
}

.global__caption {
  text-align: center;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  margin: 0;
}


/* =========================================================
   CTA
   ========================================================= */

.cta {
  background: var(--navy);
  color: #fff;
  padding: clamp(72px, 9vw, 130px) 0;
}

.cta__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
}

.cta__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 1.06;
  margin: 0 0 20px;
}

.cta__copy {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .78);
  max-width: 52ch;
  margin: 0;
}

.cta__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.foot {
  background: var(--navy);
  color: #fff;
  padding: 90px 0 36px;
}

.foot__inner {
  display: flex;
  flex-direction: column;
}

.foot__brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--rule-on-navy-soft);
}

.foot__logo {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
}

.foot__tag {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.005em;
  margin: 0;
  color: rgba(255, 255, 255, .85);
}

.foot__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 56px;
}

.foot__head {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  margin: 0 0 18px;
}

.foot__cols ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.foot__cols a,
.foot__cols li {
  font-size: 14px;
  color: rgba(255, 255, 255, .86);
  transition: color .2s;
}

.foot__cols a:hover {
  color: #fff;
}

.foot__disclaimer {
  font-size: 11.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .50);
  margin: 0;
  max-width: none;
  padding: 0;
  border: 0;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.foot__disclaimer-band {
  background: var(--navy);
  /* Extend navy paint into the iOS home-indicator safe area so the bottom
     of the page is navy edge-to-edge, while the top stays clean white. */
  padding: 28px 0 calc(36px + env(safe-area-inset-bottom, 0px));
  margin-top: 0;
}

.foot__bottom {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--rule-on-navy-soft);
  font-size: 12px;
}

.foot__copy {
  color: rgba(255, 255, 255, .55);
  margin: 0;
}


/* =========================================================
   MEGA MENU (full-screen overlay; top nav stays in place above it)
   Designed to fit the viewport exactly — no scroll
   ========================================================= */

.mega {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  /* starts below the fixed top nav */
  z-index: 80;
  background: var(--navy);
  color: #fff;
  visibility: hidden;
  opacity: 0;
  transition: opacity .55s var(--ease), visibility .55s, inset .4s var(--ease);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /* viewport-locked, no scrolling */
}

.topnav[data-scrolled="true"]~.mega {
  inset: var(--nav-h-scrolled) 0 0 0;
}

.mega.is-open {
  visibility: visible;
  opacity: 1;
}

.mega__body {
  flex: 1 1 auto;
  min-height: 0;
  padding: clamp(24px, 4vh, 56px) var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mega__nav {
  /* Lay out the main list and the reserved sub-column slot as a flex pair,
     so the combined pair stays visually centered when the submenu opens. */
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(80px, 14vw, 200px);
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
}

.mega__nav>ol {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1vh, 14px);
}

/* Reserves the right-column width so the main list stays in place
   regardless of whether the submenu is currently visible. */
.mega__subslot {
  flex: 0 0 auto;
  width: clamp(360px, 30vw, 540px);
}

.mega__nav>ol>li {
  padding: clamp(6px, 0.8vh, 12px) 0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}

.mega.is-open .mega__nav>ol>li {
  opacity: 1;
  transform: none;
}

.mega.is-open .mega__nav>ol>li:nth-child(1) {
  transition-delay: .10s;
}

.mega.is-open .mega__nav>ol>li:nth-child(2) {
  transition-delay: .16s;
}

.mega.is-open .mega__nav>ol>li:nth-child(3) {
  transition-delay: .22s;
}

.mega.is-open .mega__nav>ol>li:nth-child(4) {
  transition-delay: .28s;
}

.mega.is-open .mega__nav>ol>li:nth-child(5) {
  transition-delay: .34s;
}

.mega.is-open .mega__nav>ol>li:nth-child(6) {
  transition-delay: .40s;
}

.mega.is-open .mega__nav>ol>li:nth-child(7) {
  transition-delay: .46s;
}

.mega__link {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 4.6vh, 56px);
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  position: relative;
  white-space: nowrap;
}

.mega__link span {
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  transition: background-size .5s var(--ease);
  padding-bottom: 6px;
  white-space: nowrap;
}

.mega__link:hover span {
  background-size: 100% 1px;
}

/* Hide underline on tap/click for mobile/touch */
@media (max-width: 900px),
(pointer: coarse) {
  .mega__link span {
    background-size: 0 1px !important;
  }

  .mega__link:active span {
    background-size: 0 1px !important;
  }

  .mega__sublink span {
    background-size: 0 1px !important;
  }

  .mega__sublink:active span {
    background-size: 0 1px !important;
  }

  /* Allow text to wrap on mobile so long items don't overflow */
  .mega__link,
  .mega__link span {
    white-space: normal;
  }

  .mega__sublink,
  .mega__sublink span {
    white-space: normal;
  }

  .mega__sublink {
    font-size: clamp(16px, 4vw, 28px);
  }
}

/* --------------------------------------------------------- */
/* Submenu — overlays the reserved .mega__subslot column,     */
/* with its top edge aligned to the main list's top edge.     */
/* --------------------------------------------------------- */
.mega__sublist {
  position: absolute;
  top: 0;
  right: 0;
  /* anchored to subslot's right edge */
  width: clamp(360px, 30vw, 540px);
  /* matches subslot width */
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1vh, 14px);
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
  transition: visibility .4s var(--ease);
}

.mega.is-sub-open .mega__sublist {
  visibility: visible;
  pointer-events: auto;
}

.mega__sublist>li {
  padding: clamp(6px, 0.8vh, 12px) 0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}

.mega.is-sub-open .mega__sublist>li {
  opacity: 1;
  transform: none;
}

/* 8 <li>s (back + 7 sub-links) — delays cover all 8 so none animate at 0 */
.mega.is-sub-open .mega__sublist>li:nth-child(1) {
  transition-delay: .04s;
}

.mega.is-sub-open .mega__sublist>li:nth-child(2) {
  transition-delay: .06s;
}

.mega.is-sub-open .mega__sublist>li:nth-child(3) {
  transition-delay: .10s;
}

.mega.is-sub-open .mega__sublist>li:nth-child(4) {
  transition-delay: .14s;
}

.mega.is-sub-open .mega__sublist>li:nth-child(5) {
  transition-delay: .18s;
}

.mega.is-sub-open .mega__sublist>li:nth-child(6) {
  transition-delay: .22s;
}

.mega.is-sub-open .mega__sublist>li:nth-child(7) {
  transition-delay: .26s;
}

.mega.is-sub-open .mega__sublist>li:nth-child(8) {
  transition-delay: .30s;
}

.mega__sublink {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(18px, 2.8vh, 32px);
  line-height: 1.18;
  letter-spacing: -0.005em;
  color: rgba(255, 255, 255, .86);
  display: inline-flex;
  align-items: center;
  position: relative;
  white-space: nowrap;
  transition: color .25s var(--ease);
}

.mega__sublink span {
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  transition: background-size .5s var(--ease);
  padding-bottom: 4px;
}

.mega__sublink:hover {
  color: #fff;
}

.mega__sublink:hover span {
  background-size: 100% 1px;
}

/* --------------------------------------------------------- */
/* Mobile "back" button — hidden on desktop, shown on mobile  */
/* when the submenu replaces the main list.                   */
/* --------------------------------------------------------- */
.mega__sub-back {
  display: none;
}

.mega__back-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
  cursor: pointer;
  transition: color .2s var(--ease);
}

.mega__back-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.mega__back-btn:hover {
  color: #fff;
}

/* --------------------------------------------------------- */
/* MOBILE / TOUCH — submenu replaces the main list as a       */
/* single pane (instead of sitting next to it in a reserved    */
/* right slot). Triggered by narrow width OR touch-primary    */
/* device so tablets in landscape also get the tap pattern.    */
/* --------------------------------------------------------- */
@media (max-width: 900px),
(pointer: coarse) {
  .mega__nav {
    width: 100%;
    margin: 0;
    justify-content: flex-start;
    gap: 0;
    /* Grid stacks both children in the same cell so they cross-fade
       without absolute positioning (avoids overflow:hidden clipping). */
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }

  .mega__subslot {
    display: none;
  }

  /* Both lists share the same grid cell; the active one defines the row height */
  .mega__nav>ol,
  .mega__sublist {
    grid-area: 1 / 1;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    transition: opacity .32s var(--ease), transform .32s var(--ease);
  }

  .mega__nav>ol {
    /* Main list is visible by default */
  }

  .mega__sublist {
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transform: translateX(28px);
  }

  /* Even when JS adds .is-sub-open alone (desktop hover-equivalent),
     the sublist stays hidden on mobile until the user taps. */
  .mega.is-sub-open .mega__sublist {
    display: none;
  }

  /* Only show when the tap-swap mode is active (JS adds both classes) */
  .mega.is-mobile-submenu.is-sub-open .mega__sublist {
    visibility: visible;
    pointer-events: auto;
    display: flex;
    opacity: 1;
    transform: none;
  }

  /* Fade the main list out when submenu is active; it still defines
     the row height so the submenu doesn't collapse the container */
  .mega.is-mobile-submenu .mega__nav>ol {
    opacity: 0;
    transform: translateX(-28px);
    pointer-events: none;
    visibility: hidden;
  }

  /* Once the submenu is fully in, let IT define the row height
     so the container shrinks to fit — avoids dead space below. */
  .mega.is-mobile-submenu.is-sub-open .mega__nav>ol {
    visibility: hidden;
  }

  /* Show the back button on mobile only */
  .mega__sub-back {
    display: list-item;
    padding: clamp(6px, 0.8vh, 12px) 0;
  }
}


/* --------------------------------------------------------- */
/* Landscape mobile — very short viewport, allow menu scroll */
/* --------------------------------------------------------- */
@media (max-height: 500px) and (pointer: coarse) {
  .mega {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mega__body {
    padding: 16px var(--gutter);
    justify-content: flex-start;
  }

  .mega__nav>ol {
    gap: 4px;
  }

  .mega__link {
    font-size: clamp(20px, 4.6vh, 32px);
  }

  .mega__sublist {
    gap: 4px;
  }

  .mega__sublink {
    font-size: clamp(14px, 2.8vh, 22px);
  }

  .mega__sub-back {
    padding: 4px 0;
  }

  .mega__foot {
    padding: 8px 0;
  }

  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding-bottom: 5vh;
  }

  .hero__title {
    font-size: clamp(28px, 5vw, 48px);
  }
}

.mega__foot {
  flex: 0 0 auto;
  padding-block: clamp(16px, 2.4vh, 28px);
  border-top: 1px solid var(--rule-on-navy-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.mega__foot-copy {
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .55);
  margin: 0;
}

.mega__foot-links {
  display: flex;
  gap: 22px;
}

.mega__foot-links a {
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .7);
  transition: color .2s var(--ease);
}

.mega__foot-links a:hover {
  color: #fff;
}

body.menu-open {
  overflow: hidden;
}


/* =========================================================
   COOKIE BANNER
   ========================================================= */

.cookie {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  align-items: flex-end;
  justify-content: center;
  background: rgba(15, 31, 54, .32);
  padding: 24px;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.cookie[aria-hidden="false"] {
  display: flex;
}

.cookie__inner {
  position: relative;
  max-width: 680px;
  width: 100%;
  background: var(--paper);
  color: var(--ink);
  padding: 38px 42px 34px;
  box-shadow: 0 24px 56px -12px rgba(15, 31, 54, .22);
  border-top: 3px solid var(--navy);
  animation: cookieIn .55s var(--ease-out) both;
}

@keyframes cookieIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.cookie__title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.005em;
  margin: 0 0 14px;
  color: var(--navy);
}

.cookie__copy {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(15, 31, 54, .72);
  margin: 0 0 24px;
}

.cookie__copy a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.cookie__copy a:hover {
  color: var(--navy-deep);
}

.cookie__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie__btn {
  padding: 14px 22px;
  font-size: 13px;
  flex: 1 1 auto;
  justify-content: center;
}

.cookie__btn svg {
  display: none;
}

.cookie__view[hidden] {
  display: none;
}

/* Categories */
.cookie__cats {
  margin: 8px 0 24px;
  display: flex;
  flex-direction: column;
}

.cookie__cat {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid rgba(15, 31, 54, .12);
}

.cookie__cat:last-child {
  border-bottom: 1px solid rgba(15, 31, 54, .12);
}

.cookie__cat>div {
  flex: 1;
  min-width: 0;
}

.cookie__cat h3 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--navy);
  margin: 0 0 4px;
}

.cookie__cat p {
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(15, 31, 54, .62);
  margin: 0;
}

/* Toggle switch */
.toggle {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.toggle input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.toggle__track {
  position: relative;
  width: 38px;
  height: 22px;
  background: rgba(15, 31, 54, .18);
  border-radius: 999px;
  transition: background .25s var(--ease);
}

.toggle__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(15, 31, 54, .18);
  transition: transform .25s var(--ease);
}

.toggle input:checked+.toggle__track {
  background: var(--navy);
}

.toggle input:checked+.toggle__track .toggle__thumb {
  transform: translateX(16px);
}

.toggle--locked .toggle__track {
  background: var(--navy);
  opacity: .55;
}

.toggle--locked .toggle__thumb {
  transform: translateX(16px);
}

.toggle input:disabled {
  cursor: not-allowed;
}

/* Two-view animation */
.cookie__view {
  animation: cookieIn .35s var(--ease-out) both;
}

.cookie__view[hidden] {
  display: none;
}

/* Customise — category list */
.cookie__cats {
  display: flex;
  flex-direction: column;
  margin: 4px 0 26px;
  border-top: 1px solid var(--rule);
}

.cookie__cat {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}

.cookie__cat h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.005em;
  color: var(--navy);
  margin: 0 0 6px;
}

.cookie__cat p {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(15, 31, 54, .62);
  margin: 0;
  max-width: 58ch;
}

/* Toggle switch */
.toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 4px;
  cursor: pointer;
}

.toggle input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.toggle__track {
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(15, 31, 54, .22);
  border-radius: 999px;
  position: relative;
  transition: background .3s var(--ease);
}

.toggle__thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform .3s var(--ease);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .18);
}

.toggle input:checked~.toggle__track {
  background: var(--navy);
}

.toggle input:checked~.toggle__track .toggle__thumb {
  transform: translateX(20px);
}

.toggle input:focus-visible~.toggle__track {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.toggle--locked {
  cursor: not-allowed;
}

.toggle--locked input {
  cursor: not-allowed;
}

.toggle--locked .toggle__track {
  background: var(--navy);
  opacity: .65;
}

.toggle--locked .toggle__track .toggle__thumb {
  transform: translateX(20px);
}


/* =========================================================
   ORNAMENTS — small, sober dividers used between major sections
   ========================================================= */

.fleuron {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: clamp(40px, 6vw, 72px) var(--gutter);
  margin: 0 auto;
  max-width: 1100px;
}

.fleuron::before,
.fleuron::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15, 31, 54, .18), transparent);
}

.fleuron__mark {
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  border: 1px solid var(--gold);
  background: transparent;
  flex-shrink: 0;
}

.fleuron--on-navy::before,
.fleuron--on-navy::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .20), transparent);
}

.fleuron--on-navy .fleuron__mark {
  border-color: var(--gold-soft);
}


/* =========================================================
   REVEAL ON SCROLL
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  will-change: opacity, transform;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.solcard.reveal {
  transition-delay: 0s;
}

.solcard:nth-child(2).reveal {
  transition-delay: .08s;
}

.solcard:nth-child(3).reveal {
  transition-delay: .16s;
}

.insight:nth-child(2).reveal {
  transition-delay: .08s;
}

.insight:nth-child(3).reveal {
  transition-delay: .16s;
}

.caps__item:nth-child(2).reveal {
  transition-delay: .06s;
}

.caps__item:nth-child(3).reveal {
  transition-delay: .12s;
}

.caps__item:nth-child(4).reveal {
  transition-delay: .18s;
}

.global__list li.reveal {
  transition-delay: calc((var(--i, 0) * 50ms));
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__img {
    animation: none;
  }
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1080px) {
  .promise__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
  }

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

  .feature__media {
    max-width: 540px;
  }

  .caps {
    grid-template-columns: 1fr;
    row-gap: 48px;
  }

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

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

@media (max-width: 760px) {
  :root {
    --gutter: 22px;
    --nav-h: 64px;
    --nav-h-scrolled: 64px;
  }

  .topnav__util>span {
    display: none;
  }

  .hero {
    padding-bottom: 28vh;
    min-height: 115vh;
    min-height: 115dvh;
  }

  .hero__pager {
    display: none;
  }

  .solutions__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .insights__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 24px 0;
  }

  .pillars {
    grid-template-columns: 1fr;
    gap: 20px 0;
  }

  .pillars__cell + .pillars__cell {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--rule);
    padding-top: 20px;
  }

  .stats__cell+.stats__cell {
    border-left: 0;
    padding-left: 0;
  }

  .stats__cell:nth-child(odd) {
    padding-right: 24px;
  }

  .stats__cell:nth-child(3),
  .stats__cell:nth-child(4) {
    border-top: 1px solid var(--rule);
    padding-top: 24px;
  }

  .foot__brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .foot__cols {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .section-head--row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .global__map {
    margin-bottom: 28px;
  }

  .global {
    min-height: 0;
    padding: clamp(48px, 10vw, 80px) 0;
  }

  .global .section-head {
    margin-bottom: 24px;
  }

  .cookie__inner {
    padding: 28px 24px 24px;
  }

  .cookie__btn {
    flex-basis: 100%;
  }
}

/* =========================================================
   Branded modal — used for form confirmations and errors
   ========================================================= */

.kae-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.kae-modal[hidden] {
  display: none;
}

.kae-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.kae-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 31, 54, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.kae-modal__panel {
  position: relative;
  background: var(--paper);
  width: 100%;
  max-width: 480px;
  padding: 44px 44px 32px;
  box-shadow: 0 30px 60px rgba(15, 31, 54, 0.25);
  transform: translateY(14px) scale(0.985);
  opacity: 0;
  transition: transform 0.35s var(--ease-out), opacity 0.25s var(--ease-out);
  outline: none;
}

.kae-modal.is-open .kae-modal__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.kae-modal__rule {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
  margin: 0 0 24px;
}

.kae-modal[data-kind="error"] .kae-modal__rule {
  background: #B23A3A;
}

.kae-modal__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 16px;
  letter-spacing: -0.005em;
}

.kae-modal__body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 32px;
}

.kae-modal__actions {
  display: flex;
  justify-content: flex-end;
}

.kae-modal__close {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  background: transparent;
  border: 1px solid var(--rule);
  padding: 13px 26px;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.kae-modal__close:hover,
.kae-modal__close:focus-visible {
  background: var(--navy);
  color: var(--paper);
  border-color: var(--navy);
  outline: none;
}

@media (max-width: 480px) {
  .kae-modal__panel { padding: 32px 24px 24px; }
  .kae-modal__title { font-size: 24px; }
  .kae-modal__body { font-size: 14px; }
}

/* Reserve space under form actions so inline validation errors
   do not push the submit button. Success/error use the modal. */
.co-form__status,
.careers-form__status {
  min-height: 1.3em;
}

