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

@font-face {
  font-family: "Lexend";
  src: url("../assets/fonts/Lexend/Lexend-Latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy: #2A0F18;
  --navy2: #401926;
  color-scheme: dark;
  --brand: #9F1B40;
  --accent-text: #D9738F; /* AA-contrast brand tint for text/borders on dark surfaces */
  --blue: #BC5F79;
  --rose: #BC5F79;
  --lb: #3A1823;
  --bg: #121212;
  --w: #fff;
  --text-primary: #E2E8F0;
  --text-body: #CBD5E1;
  --text-muted: #94A3B8;
  --tx: var(--text-primary);
  --tx2: var(--text-muted);
  --bd: #2A2E32;
  --ok: #16856B;
  --card: #191B1D;
  --h: "Lexend", "Helvetica Neue", sans-serif;
  --b: "Inter", "Segoe UI", sans-serif;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

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

html {
  scroll-padding-top: 90px;
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-body);
  font: 400 1rem/1.7 var(--b);
  min-height: 100%;
  overflow-x: hidden;
}

header, main, footer {
  position: relative;
  z-index: 1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--h);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -.02em;
  color: var(--text-primary);
}

a {
  color: inherit;
}

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

.c {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.sec {
  padding: 50px 0;
}

.hero + .sec {
  padding-top: 64px;
}

.alt {
  background: rgba(25, 27, 29, .55);
  border-block: 1px solid var(--bd);
}

.eb {
  font: 600 .78rem var(--b);
  letter-spacing: .14em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.sh {
  max-width: 720px;
  margin-bottom: 44px;
}

.sh h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
}

.sh p {
  color: var(--text-muted);
  margin: 14px 0 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 6px;
  font: 600 .95rem var(--b);
  text-decoration: none;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
  cursor: pointer;
}

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

.btn.o {
  background: transparent;
  color: var(--tx);
  border-color: var(--bd);
}

.btn.o:hover {
  border-color: var(--blue);
}

.dk .btn.o {
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
}

.row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  isolation: isolate;
  background: transparent;
  color: var(--text-primary);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(18, 18, 18, .7);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.nv {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}

.lg {
  font: 600 1.25rem var(--h);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lg i {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--blue);
  display: grid;
  place-items: center;
  font: 800 .8rem var(--h);
  font-style: normal;
}

nav ul {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

nav li {
  position: relative;
}

nav a.l, nav button.l {
  font: 500 .93rem var(--b);
  color: var(--text-primary);
  text-decoration: none;
  padding: 10px 12px;
  background: none;
  border: 0;
  cursor: pointer;
  display: block;
}

nav a.l:hover, nav button.l:hover, nav a.on, nav button.l.on {
  color: var(--text-primary);
}

.nav-arrow {
  display: inline-block;
  transition: transform .2s ease;
}

nav li:hover > button.l .nav-arrow,
nav li.open > button.l .nav-arrow {
  transform: rotate(180deg);
}

.dd {
  position: absolute;
  top: 140%;
  left: -50px;
  min-width: 230px;
  background: rgba(18, 18, 18, .72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  padding: 8px;
  display: none;
  list-style: none;
  margin: 0;
}

.dd a {
  display: block;
  padding: 10px 12px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: .9rem;
  border-radius: 6px;
}

.dd a:hover {
  background: rgba(255, 255, 255, .08);
  color: var(--text-primary);
}

li.open > .dd, li:hover > .dd {
  display: block;
}

.bg {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 6px;
  color: var(--text-primary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.bg[aria-expanded="true"] .hamburger-line:first-child {
  transform: translateY(7px) rotate(45deg);
}

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

.bg[aria-expanded="true"] .hamburger-line:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.dk {
  background: transparent;
  color: var(--text-primary);
}

.dk .sh p {
  color: var(--text-muted);
}

.dk p.ld {
  color: var(--text-body);
}

.hero {
  padding: clamp(8px, 2.5vh, 28px) 0 70px;
  background: transparent;
}

.hg {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.3vw, 3.3rem);
  font-weight: 600;
  line-height: 1.12;
  margin: 8px 0 0;
}

.ld {
  font-size: 1.08rem;
  margin: 16px 0 24px;
  max-width: 34em;
}

.pan {
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  background: linear-gradient(160deg, var(--navy2), #1E0A12);
  padding: 22px;
  font: .8rem/1.9 ui-monospace, Menlo, Consolas, monospace;
  color: var(--text-body);
}

.pan b {
  color: var(--text-primary);
  font-weight: 500;
}

.pan .d {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.pan .d i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .25);
}

.pan .k {
  color: #E58CA5;
}

.pan .g {
  color: #4FD1AE;
}

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

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

/* Partner logos: one continuous panel, logos flow together */
.partner-grid-section {
  background: transparent;
}

.partner-grid-section .sh {
  margin-bottom: 32px;
}

.logo-panel {
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
  border: 1px solid rgba(203, 213, 225, .50);
  border-radius: 20px;
  padding: clamp(32px, 6vw, 72px) clamp(24px, 5vw, 64px);
}

.logo-cloud {
  --s: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: calc(40px * var(--s)) calc(56px * var(--s));
}

.logo-cloud li {
  display: flex;
}

.logo-cloud img {
  display: block;
  width: calc(var(--w) * var(--s) * 1px);
  height: auto;
}

.pg-note {
  margin: 20px 0 0;
  color: var(--text-muted);
  font-size: .8125rem;
}

@media (width <= 860px) {
  .logo-cloud {
    --s: .78;
  }
}

@media (width <= 520px) {
  .logo-cloud {
    --s: .62;
  }
}

.gr-two {
  grid-template-columns: repeat(2, 1fr);
}

.about-offerings-grid > .card:last-child {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc(50% - 11px);
}

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

.cybersecurity-grid > .card {
  grid-column: span 2;
}

.cybersecurity-grid > .card:nth-last-child(2) {
  grid-column: 2 / span 2;
}

.cybersecurity-grid > .card:last-child {
  grid-column: 4 / span 2;
}

.gr .card {
  height: 100%;
}

.gr .card p {
  flex: 1;
}

.gr .card .btn {
  width: 100%;
  margin-top: auto;
  box-sizing: border-box;
}

.gr .card .btn.o {
  color: var(--accent-text);
  border-color: var(--accent-text);
}

.gr .card .btn.o:hover {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.solutions-card-grid .card {
  row-gap: 12px;
}

.solutions-card-grid .card h3 {
  margin-bottom: 0;
}

.card.dtap-card {
  display: grid;
  grid-template-columns: minmax(160px, .55fr) 1.45fr;
  align-items: center;
  gap: 32px;
  margin-top: 28px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: 10px;
  padding: 28px;
}

.card.dtap-card:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 24px rgba(16, 28, 54, .1);
}

.dtap-badge-wrap {
  display: grid;
  place-items: center;
  min-height: 200px;
}

.dtap-badge-wrap img {
  display: block;
  width: 156px;
  height: 156px;
  object-fit: contain;
}

.dtap-card .eb {
  margin-bottom: 8px;
}

.dtap-copy p {
  max-width: 62ch;
  margin: 12px 0 0;
}

.card {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: 10px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: border-color .2s, box-shadow .2s;
}

.card:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 24px rgba(16, 28, 54, .1);
}

.ic {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--lb);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.ic svg {
  width: 24px;
  height: 24px;
}

.ic img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-body);
  margin: 0 0 18px;
  font-size: .95rem;
}

.card a.m {
  margin-top: auto;
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  font-size: .92rem;
}

.card a.m:hover {
  text-decoration: underline;
}

.tl {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: s;
}

.tl li {
  position: relative;
  padding-top: 58px;
}

.tl li::before {
  counter-increment: s;
  content: counter(s);
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font: 700 1rem var(--h);
  display: grid;
  place-items: center;
  z-index: 1;
}

.tl li::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 42px;
  right: -18px;
  height: 2px;
  background: var(--bd);
}

.tl li:last-child::after {
  display: none;
}

.tl h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.tl p {
  margin: 0;
  color: var(--text-body);
  font-size: .92rem;
}

.quote {
  border-left: 4px solid var(--rose);
  padding: 8px 0 8px 28px;
  font: 600 clamp(.95rem, 1.3vw, 1.1rem)/1.5 var(--h);
  max-width: 860px;
}

.vid {
  position: relative;
  border: 0;
  box-shadow: none;
  background: transparent;
  aspect-ratio: 16 / 9;
  border-radius: 15px;
  overflow: hidden;
}

.vid iframe {
  position: absolute;
  top: -1px;
  left: 0;
  display: block;
  width: 100%;
  height: calc(100% + 1px);
  border: 0;
  outline: 0;
}

.cta {
  text-align: center;
  padding: 76px 0;
}

.cta h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.cta p {
  color: var(--text-body);
  margin: 14px auto 28px;
  max-width: 34em;
}

.cta .row {
  justify-content: center;
}

.policy-layout {
  max-width: 900px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: 10px;
  padding: clamp(24px, 5vw, 48px);
}

.policy-meta,
.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
}

.policy-meta th,
.policy-meta td,
.policy-table th,
.policy-table td {
  border: 1px solid var(--bd);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.policy-meta th,
.policy-table th {
  width: 34%;
  color: var(--text-primary);
  background: rgba(255, 255, 255, .03);
  font-weight: 600;
}

.policy-layout h2 {
  margin: 38px 0 14px;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.policy-layout h3 {
  margin: 24px 0 10px;
  font-size: 1.05rem;
}

.policy-layout p,
.policy-layout li {
  color: var(--text-body);
}

.policy-layout ul,
.policy-layout ol {
  margin: 12px 0 18px;
  padding-left: 22px;
}

.policy-layout li {
  margin-bottom: 6px;
}

.policy-layout a {
  color: var(--blue);
  overflow-wrap: anywhere;
}

.policy-layout hr {
  border: 0;
  border-top: 1px solid var(--bd);
  margin: 38px 0 18px;
}

.policy-layout .policy-end {
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 0;
}

.ph {
  padding: 40px 0;
}

.ph h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.ph p {
  color: var(--text-body);
  max-width: 44em;
  margin: 16px 0 0;
  font-size: 1.08rem;
}

.service-card > div:last-of-type {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.service-card-vapt {
  position: relative;
}

.service-card-vapt > .dtap-service-seal {
  position: absolute;
  inset-inline-end: 28px;
  inset-block-start: 28px;
  display: block;
  width: 60px;
  height: auto;
  object-fit: contain;
}

.service-card h3 {
  font-size: 1.25rem;
}

.service-card p {
  flex: 1;
  margin-top: 12px;
  max-width: 46em;
}

.note {
  background: var(--lb);
  border: 1px solid var(--bd);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: .9rem;
  margin: 20px 0;
}

form {
  display: grid;
  gap: 18px;
  max-width: 560px;
}

label {
  color: var(--text-primary);
  font-weight: 600;
  font-size: .92rem;
  display: block;
  margin-bottom: 6px;
}

input,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 14px;
  border: 1px solid var(--bd);
  border-radius: 6px;
  font: inherit;
  background: var(--card);
  color: var(--tx);
}

#d {
  height: 300px;
  resize: vertical;
}

input[aria-invalid=true],
textarea[aria-invalid=true] {
  border-color: #C0392B;
}

.er {
  color: #C0392B;
  font-size: .85rem;
  min-height: 1.2em;
}

.al {
  padding: 14px 18px;
  border-radius: 8px;
  border: 1px solid;
  font-size: .92rem;
}

.al.e {
  border-color: #C0392B;
  background: rgba(192, 57, 43, .08);
}

.al.i {
  border-color: var(--blue);
  background: var(--lb);
}

.al pre {
  white-space: pre-wrap;
  margin: 8px 0 0;
  font: inherit;
}

footer {
  background: rgba(18, 18, 18, 0.88);
  color: var(--text-body);
  padding: 60px 0 28px;
  font-size: .92rem;
}

.fg {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
}

footer h4 {
  color: var(--text-primary);
  font: 600 .95rem var(--h);
  margin: 0 0 14px;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

footer a {
  text-decoration: none;
}

footer a:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

.cp {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 40px;
  padding-top: 20px;
  font-size: .82rem;
}

.cp .fp {
  display: flex;
  align-items: center;
  gap: 20px;
}

@media (width <= 600px) {
  .cp {
    align-items: flex-start;
    flex-direction: column;
  }

  .cp .fp {
    flex-wrap: wrap;
    gap: 10px 16px;
  }
}

@media (width <= 960px) {
  .hg, .g2 {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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


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

  .cybersecurity-grid > .card {
    grid-column: auto;
  }

  .cybersecurity-grid > .card:nth-last-child(2) {
    grid-column: auto;
  }

  .cybersecurity-grid > .card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 11px);
    justify-self: center;
  }

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

  .tl {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .tl li {
    padding: 0 0 28px 62px;
    min-height: 60px;
  }

  .tl li::after {
    top: 42px;
    left: 20px;
    right: auto;
    width: 2px;
    height: calc(100% - 42px);
  }

  .bg {
    display: flex;
    position: fixed;
    top: max(8px, env(safe-area-inset-top));
    right: 18px;
    z-index: 22;
  }

  #nav {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 21;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    background: rgba(0, 0, 0, .84);
    padding: 24px;
  }

  #nav.open {
    display: flex;
  }

  #nav > ul {
    width: min(100%, 400px);
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 16px;
    background: #121212;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .45);
  }

  #nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .dd {
    position: static;
    display: none;
    background: none;
    border: 0;
    padding: 0 0 0 14px;
  }

  #nav li.open > .dd {
    display: block;
  }

  #nav a.l, #nav button.l {
    padding: 12px 4px;
    width: 100%;
    text-align: left;
    color: var(--text-primary);
  }

  .dd a {
    color: var(--text-primary);
  }
}

@media (width <= 600px) {
  .gr, .fg {
    grid-template-columns: 1fr;
  }

  .about-offerings-grid > .card:last-child {
    grid-column: auto;
    width: auto;
  }

  .gr-two {
    grid-template-columns: 1fr;
  }

  .card.dtap-card {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .service-card-vapt > .dtap-service-seal {
    width: 60px;
  }

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

  .cybersecurity-grid > .card,
  .cybersecurity-grid > .card:nth-last-child(2),
  .cybersecurity-grid > .card:last-child {
    grid-column: auto;
    width: auto;
    justify-self: stretch;
    padding: 24px;
  }

  .hero {
    padding: 24px 0 48px;
  }

  .hero h1 {
    font-size: clamp(2rem, 11vw, 2.65rem);
  }

  .wordmark-slot {
    width: 100%;
    margin-bottom: 18px;
  }

  .orbit-slot {
    width: 112%;
    max-width: none;
    margin: 8px -6% 0;
  }

  .hero .row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero .row .btn {
    width: 100%;
  }

  .sec {
    padding: 56px 0;
  }

  .c {
    padding: 0 18px;
  }

  footer {
    padding-top: 48px;
  }

  .fg {
    gap: 32px;
  }

  .card.card-feature {
    padding: 28px !important;
  }
}

/* GhostFibers page background (WebGL2; falls back to the page color) */
.hero-bg{position:fixed;inset:0;z-index:0;pointer-events:none}
.hero-bg::after{content:"";position:absolute;inset:0;pointer-events:none;background:rgba(18,18,18,.42)}

/* Animated wordmark: big in the hero on load, travels to the header logo on scroll */
.wordmark-slot{width:min(100%,520px);aspect-ratio:5.2/1;margin:0 0 14px}
.wordmark{position:fixed;left:0;top:0;z-index:30;transform-origin:0 0;will-change:transform;font-family:var(--h);touch-action:pan-y;user-select:none;-webkit-user-select:none}
.wordmark canvas{display:block;width:calc(100% + 96px);height:100%;margin-left:-48px}
body:has(#nav.open) .wordmark{opacity:0!important;pointer-events:none!important}
.lg #logotext{display:inline-block}
.skip{position:absolute;left:-999px;top:8px;background:var(--blue,#9F1B40);color:#fff;padding:8px 12px;z-index:50;border-radius:6px}.skip:focus{left:8px}

/* Footer social icons */
.soc{display:flex;gap:12px;margin-top:20px}
.soc a{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;border:1px solid rgba(255,255,255,.22);color:#fff;transition:background .2s,border-color .2s,transform .2s}
.soc a:hover{background:var(--brand);border-color:var(--brand);transform:translateY(-2px);text-decoration:none}
.soc a:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
.soc svg{width:18px;height:18px;fill:currentColor}

/* Orbit hero graphic (React, pre-bundled to js/orbit-hero.js) */
.orbit-slot{width:120%;aspect-ratio:1230/1070;max-height:70vh;justify-self:end;pointer-events:none;-webkit-mask-image:linear-gradient(to right,transparent 0,#000 14%,#000 84%,transparent 100%),linear-gradient(to bottom,transparent 0,#000 12%,#000 82%,transparent 100%);-webkit-mask-composite:source-in;mask-image:linear-gradient(to right,transparent 0,#000 14%,#000 84%,transparent 100%),linear-gradient(to bottom,transparent 0,#000 12%,#000 82%,transparent 100%);mask-composite:intersect}
.orbit-slot>div{height:100%}
@media (width <= 960px){.orbit-slot{max-width:500px;margin:0 auto;max-height:none}}

/* Nav hover and focus text */
nav a.l, nav button.l, .dd a {
  border-radius: 6px;
  color: var(--accent-text);
  transition: background-color .2s ease, color .2s ease;
}
nav a.l:hover, nav button.l:hover, nav li:hover > button.l, nav li.open > button.l,
nav a.l:focus-visible, nav button.l:focus-visible, .dd a:hover, .dd a:focus-visible {
  background: transparent;
  color: #e2f8f0;
}
nav a.on, nav button.l.on,
nav a[aria-current="page"], .dd a[aria-current="page"] { color: #e2f8f0; }

/* Utilities replacing former inline styles. Inline styles outranked every
   selector, so these use !important to keep the exact same cascade result. */
.m0 { margin: 0 !important; }
.mt-2 { margin-top: 2rem !important; }
.sec-lede { margin: -20px 0 24px !important; }
.sec-lede-flush { margin: -20px 0 0 !important; }
.back-link { color: var(--blue) !important; font-weight: 600 !important; text-decoration: none !important; }
.form-note { margin: 0 !important; color: var(--tx2) !important; font-size: .9rem !important; }
.row.row-center { align-items: center !important; }
.card.card-feature { background: var(--navy) !important; color: var(--text-body) !important; border: 0 !important; padding: 40px !important; }
.ic.ic-lg { width: 60px !important; height: 60px !important; }
.ic.ic-on-dark { background: rgba(255, 255, 255, .1) !important; color: #fff !important; }
.card-lede { color: #EBD3DA !important; margin: 0 !important; }

/* Page behind the open mobile menu must not scroll */
body:has(#nav.open) { overflow: hidden; }

/* Invalid-after-interaction feedback from native constraint validation */
input:user-invalid,
textarea:user-invalid { border-color: #C0392B; }

/* Honour reduced-motion for CSS transitions (JS/WebGL visuals handle their own) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* Footer: one row. The brand card (logo + seal on top, description and socials
   beneath) sits beside the three link columns, whose headings line up with the
   card's first line ("Data Prove"). */
.fg {
  --card-pad: clamp(20px, 2.4vw, 30px);
  grid-template-columns: minmax(0, 4.2fr) repeat(3, minmax(0, 1fr));
  align-items: start;
  column-gap: clamp(24px, 3vw, 44px);
}
.fg > div:first-child {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 24px;
  align-items: start;
  padding: var(--card-pad);
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: 12px;
}
.fg > div:first-child > .lg,
.fg > div:first-child > p,
.fg > div:first-child > .soc { grid-column: 1; }
.fg > div:first-child > p { margin: 14px 0 0; }
.fg > div:first-child > .soc { margin-top: 20px; }
.fg > div:not(:first-child) { padding-top: calc(var(--card-pad) + 1px); }

.seal {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  max-inline-size: 15rem;
  margin: 0;
}
.seal.card {
  align-self: center;
  background: transparent;
  border: 0;
  border-radius: 10px;
  padding: 28px;
}
.seal.card:hover {
  border: 0;
  box-shadow: none;
}
.seal img {
  display: block;
  flex: none;
  inline-size: 78px;
  block-size: auto;
  aspect-ratio: 502 / 960;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .35));
}
.seal p {
  margin: 0;
  color: var(--text-muted);
  font-size: .82rem;
  line-height: 1.5;
  text-wrap: pretty;
}
.seal strong { color: var(--text-primary); font-weight: 600; }

@media (width <= 960px) {
  .fg { grid-template-columns: 1fr 1fr; }
  .fg > div:first-child { grid-column: 1 / -1; }
  .fg > div:not(:first-child) { padding-top: 0; }
}
@media (width <= 600px) {
  .fg { grid-template-columns: 1fr; }
  .fg > div:first-child { grid-template-columns: 1fr; }
  .seal { grid-column: 1; grid-row: auto; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--bd); max-inline-size: none; }
}

/* Footer: "Follow Data Prove" sits under the link columns, level with the bottom of the brand card */
.fg > div:first-child { grid-row: 1 / span 2; }
.fg-follow { grid-column: 2 / -1; align-self: end; }
.fg-follow .soc { margin-top: 0; }
@media (width <= 960px) {
  .fg > div:first-child { grid-row: auto; }
  .fg-follow { grid-column: 1 / -1; }
}

/* Footer: the brand card stretches so its bottom edge lines up with the "Follow Data Prove" icons */
.fg > div:first-child { align-self: stretch; align-content: center; }
@media (width <= 960px) { .fg > div:first-child { align-self: start; } }

/* Footer: "Connect with us" sits beside "Follow Data Prove", under the link columns */
.fg-follow { grid-column: 2; }
.fg-connect { grid-column: 3 / -1; align-self: end; }
.fg-connect ul { gap: 12px; }
.fg-connect a { display: inline-flex; align-items: center; gap: 10px; overflow-wrap: anywhere; }
.fg-connect svg { flex: none; inline-size: 20px; block-size: 20px; fill: currentColor; }
@media (width <= 960px) {
  .fg-follow { grid-column: 1 / -1; }
  .fg-connect { grid-column: 1 / -1; }
}

/* Footer: "Connect with us" first, then "Follow Data Prove" (DOM order matches) */
.fg-connect { grid-column: 2; }
.fg-follow { grid-column: 3 / -1; }
@media (width <= 960px) {
  .fg-connect, .fg-follow { grid-column: 1 / -1; }
}

/* Connect gets two columns so the email and number stay on one line; Follow takes the last column */
.fg-connect { grid-column: 2 / span 2; }
.fg-follow { grid-column: 4; }
.fg-connect a { white-space: nowrap; }
@media (width <= 960px) {
  .fg-connect, .fg-follow { grid-column: 1 / -1; }
}

/* Privacy and cookie policy pages: the Academy's legal-page layout
   (eyebrow, title, lead, then plain sections in a 760px reading column). */
body:has(.legal-page) .wordmark { display: none !important; }
body:has(.legal-page) #logotext { opacity: 1 !important; }
.legal-page { max-inline-size: 760px; }
.legal-page h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 8px 0 0; }
.legal-page .lead { font-size: 1.1rem; line-height: 1.7; margin: 16px 0 0; color: var(--text-body); }
.legal-page h2 { margin: 2rem 0 .5rem; font-size: 1.25rem; }
.legal-page h3 { margin: 1.4rem 0 .4rem; font-size: 1.05rem; }
.legal-page p, .legal-page li { line-height: 1.7; color: var(--text-body); }
.legal-page ul, .legal-page ol { padding-inline-start: 1.25rem; display: grid; gap: .5rem; margin: 12px 0 18px; }
.legal-page a { color: var(--blue); overflow-wrap: anywhere; }
.legal-page code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9em; }
.legal-page .policy-meta { margin-top: 28px; }
.legal-page .legal-end { color: var(--text-muted); margin-top: 2.4rem; padding-top: 1.2rem; border-top: 1px solid var(--bd); }

/* Legal and contact pages: the column lines up with the header logo (left edge of the page container) */
.legal-page { max-inline-size: 1180px; }
.legal-page > * { max-inline-size: 760px; }
.legal-page > .contact-layout { max-inline-size: none; margin-top: 32px; }
.legal-page > .lead { margin-top: 16px; }

/* Contact page: pair the form with quick contact links and social channels. */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .85fr);
  gap: 24px;
  align-items: stretch;
}

.contact-layout > #f {
  width: 100%;
  max-width: none;
  max-inline-size: none;
  margin-top: 0;
}

.contact-aside {
  display: grid;
  align-content: start;
  grid-template-rows: repeat(4, minmax(148px, 1fr));
  gap: 16px;
  min-width: 0;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
  min-height: 148px;
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, .2);
  border-radius: 18px;
  background: var(--card);
  color: inherit;
}

a.contact-card {
  text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

a.contact-card:hover {
  border-color: rgba(217, 115, 143, .58);
  background: var(--card);
  transform: translateY(-2px);
}

.contact-card-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.contact-card-label {
  color: var(--text-primary);
  font-family: var(--h);
  font-size: 1.15rem;
  line-height: 1.3;
}

.contact-card-copy strong {
  color: var(--text-muted);
  font-size: .96rem;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.contact-card-arrow {
  display: grid;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 12px;
  background: #101112;
  color: var(--text-primary);
  font-size: 1.35rem;
  line-height: 1;
  transition: border-color .2s ease, color .2s ease;
}

a.contact-card:hover .contact-card-arrow {
  border-color: var(--accent-text);
  color: var(--accent-text);
}

.contact-social {
  align-content: center;
  justify-content: center;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.contact-social h2 {
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: normal;
  text-align: start;
}

.contact-social .soc {
  margin-top: 0;
  justify-content: flex-start;
  gap: 14px;
}

.contact-social .soc a {
  width: 52px;
  height: 52px;
  color: var(--text-body);
}

.contact-social .soc svg {
  width: 24px;
  height: 24px;
}

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

  .contact-aside {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    grid-template-rows: none;
    grid-auto-rows: minmax(148px, auto);
  }

  .contact-social {
    grid-column: 1 / -1;
  }
}

/* Contact form: compact, branded panel with clear field hierarchy. */
#f {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 18px;
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid rgba(148, 163, 184, .2);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 22px 56px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .035);
}

#f > div:not(#out):not(.row) {
  display: grid;
  align-content: start;
  min-width: 0;
}

#f > div:nth-of-type(3),
#f > div:nth-of-type(4),
#f > .form-note,
#f > .row,
#f > #out {
  grid-column: 1 / -1;
}

#f label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: .86rem;
  letter-spacing: .01em;
}

#f .required-tag {
  padding: 2px 7px;
  border: 1px solid rgba(217, 115, 143, .24);
  border-radius: 999px;
  color: var(--accent-text);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.4;
  text-transform: uppercase;
}

#f input,
#f textarea {
  min-height: 52px;
  padding: 13px 15px;
  border-color: rgba(148, 163, 184, .22);
  border-radius: 10px;
  background: rgba(18, 18, 18, .72);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

#f input:hover,
#f textarea:hover {
  border-color: rgba(217, 115, 143, .46);
}

#f input:focus-visible,
#f textarea:focus-visible {
  border-color: var(--accent-text);
  background: rgba(18, 18, 18, .92);
  box-shadow: 0 0 0 3px rgba(217, 115, 143, .14);
}

#f #d {
  height: 176px;
  min-height: 140px;
  resize: vertical;
}

#f input[aria-invalid="true"],
#f textarea[aria-invalid="true"] {
  border-color: #F87171;
}

#f .er {
  min-height: 0;
  margin-top: 6px;
  color: #FDA4AF;
}

#f .er:empty {
  display: none;
}

#f > .form-note {
  margin-top: 2px !important;
  padding-top: 16px;
  border-top: 1px solid rgba(217, 115, 143, .16);
  line-height: 1.55;
}

#f > .row {
  align-items: center;
  gap: 18px;
}

#f .row .btn {
  min-width: 132px;
  min-height: 50px;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(159, 27, 64, .22);
}

#f .row strong {
  color: var(--text-primary);
  font-family: var(--h);
  font-size: 1rem;
  font-weight: 500;
}

#f #out:empty {
  display: none;
}

@media (max-width: 580px) {
  #f {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 20px;
    border-radius: 14px;
  }

  #f > div:nth-of-type(3),
  #f > div:nth-of-type(4),
  #f > .form-note,
  #f > .row,
  #f > #out {
    grid-column: 1;
  }

  #f > .row {
    align-items: flex-start;
  }

  #f .row strong {
    align-self: center;
  }
}

/* Footer: logo only (no "Data Prove" text), bigger */
.fg > div:first-child > .lg img { inline-size: 120px; block-size: auto; }

/* Footer card: a vertical divider between the logo/description and the seal */
.fg > div:first-child > .seal:not(.card) {
  align-self: stretch;
  padding-inline-start: clamp(18px, 2.4vw, 32px);
  border-inline-start: 1px solid var(--bd);
}
@media (width <= 600px) {
  .fg > div:first-child > .seal:not(.card) { padding-inline-start: 0; border-inline-start: 0; }
}
.fg > div:first-child > .seal { max-inline-size: 17rem; }
@media (width <= 600px) { .fg > div:first-child > .seal { max-inline-size: none; } }

/* Footer card: logo centred in its half of the card */
.fg > div:first-child > .lg { justify-self: center; align-self: center; }
.fg > div:first-child { align-content: center; }
.fg > div:first-child > .lg { grid-row: 1 / span 3; }
@media (width <= 600px) { .fg > div:first-child > .lg { grid-row: auto; justify-self: start; } }

/* Footer: the brand card is as tall as the Solutions / Company / Learning columns;
   "Connect with us" and "Follow Data Prove" sit side by side underneath the card. */
.fg > div:first-child { grid-row: 1; grid-column: 1; align-self: stretch; }
.fg > div:nth-child(n+2):nth-child(-n+4) { grid-row: 1; }
.fg-connect { grid-column: 1; grid-row: 2; justify-self: start; align-self: start; margin-top: 8px; }
.fg-follow  { grid-column: 1; grid-row: 2; justify-self: end;   align-self: start; margin-top: 8px; }
@media (width <= 960px) {
  .fg > div:first-child { grid-row: auto; grid-column: 1 / -1; align-self: start; }
  .fg > div:nth-child(n+2):nth-child(-n+4) { grid-row: auto; }
  .fg-connect, .fg-follow { grid-column: 1 / -1; grid-row: auto; justify-self: start; margin-top: 0; }
}

/* Footer card: compact enough that the row height is set by the link columns */
.fg > div:first-child { padding-block: 22px; }
.fg > div:first-child > .seal img { inline-size: 62px; }
.fg > div:first-child > .lg img { inline-size: 110px; }
@media (width <= 960px) { .fg > div:first-child { padding-block: clamp(20px, 2.4vw, 30px); } }

/* About page: open-line icons match the reference card treatment. */
.gr.gr-two .ic {
  width: 28px;
  height: 28px;
  border-radius: 0;
  background: transparent;
  color: #B95F78;
  margin-bottom: 14px;
}

.gr.gr-two .ic svg {
  width: 28px;
  height: 28px;
}

.gr.gr-two .ic img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.service-card .ic-lg img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* Footer: keep the connect/follow row directly below the card without excess grid gap. */
.fg { row-gap: 0; }
.fg-connect,
.fg-follow {
  margin-top: 0;
  padding-top: 0;
}

@media (width <= 600px) {
  .fg { row-gap: 28px; }

  .fg > div:first-child {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    column-gap: 12px;
    align-items: center;
  }

  .fg > div:first-child > .lg img {
    max-inline-size: 100%;
  }

  .fg > div:first-child > .seal {
    grid-column: 2;
    grid-row: auto;
    gap: 8px;
    margin: 0;
    padding: 0;
    border-top: 0;
  }

  .fg > div:first-child > .seal img {
    inline-size: clamp(44px, 15vw, 56px);
  }
}

@media (width <= 340px) {
  .fg > div:first-child {
    grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  }

  .fg > div:first-child > .seal {
    gap: 6px;
  }

  .fg > div:first-child > .seal img {
    inline-size: 40px;
  }

  .fg > div:first-child > .seal p {
    font-size: .75rem;
    line-height: 1.4;
  }
}
