/* ==========================================================================
   Rove Journey — main stylesheet
   --------------------------------------------------------------------------
   1. Fonts            6. Hero & stats          11. (removed)
   2. Design tokens    7. Buttons               12. Forms & tabs
   3. Base / reset     8. Cards & grids         13. Accordions & documents
   4. Layout helpers   9. Split features        14. Articles
   5. Header & nav    10. Media frames          15. Footer, CTA, utilities
   ========================================================================== */

/* 1. Fonts (self-hosted, SIL Open Font License) --------------------------- */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/lato-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/lato-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/lato-900.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-600.woff2') format('woff2');
}

/* 2. Design tokens -------------------------------------------------------- */
:root {
  --navy-950: #120f35;
  --navy-900: #1c1852;
  --navy-800: #2a2470;
  --navy-700: #3d3593;
  --navy-100: #ecebfb;
  --brand-600: #4a35d6;
  --brand-500: #5b45ec;
  --brand-400: #ff8acb;
  --brand-50: #f1eeff;
  --cream: #fcfbff;
  --peach: #fff1f7;
  --lavender: #f3f0ff;
  --white: #ffffff;
  --ink: #1e2235;
  --muted: #5b6075;
  --line: #e6e6ee;
  --success: #15803d;
  --danger: #b91c1c;
  --coral: #ff5a5f;
  --pink: #ff6ac6;
  --violet: #9150ff;
  --blue: #5872ff;
  --grad-frame: linear-gradient(90deg, #5872ff 0%, #a56ce0 50%, #ff6ac6 100%);
  --grad-text: linear-gradient(90deg, #ff5a5f 0%, #c94fb6 50%, #9150ff 100%);
  --grad-btn: linear-gradient(90deg, #5b45ec 0%, #8b3fd6 100%);

  --font-heading: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-body: 'Lato', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --radius: 24px;
  --radius-sm: 14px;
  --radius-pill: 999px;
  --shadow: 0 10px 40px -12px rgb(28 24 82 / 0.2);
  --shadow-soft: 0 4px 20px -6px rgb(28 24 82 / 0.12);
  --header-h: 84px;
  --container: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* 3. Base / reset --------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.no-scroll {
  overflow: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.18;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}
p {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
:focus-visible {
  outline: 3px solid var(--brand-500);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection {
  background: var(--brand-500);
  color: #fff;
}
[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}
[hidden] {
  display: none !important;
}

/* 4. Layout helpers ------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 768px) {
  .container {
    padding-inline: 32px;
  }
}
.section {
  padding-block: 72px;
}
@media (min-width: 1024px) {
  .section {
    padding-block: 104px;
  }
}
.section--white {
  background: var(--white);
}
.section--peach {
  background: var(--peach);
}
.section--lavender {
  background: var(--lavender);
}
.section--navy {
  background: var(--navy-900);
  color: rgb(255 255 255 / 0.85);
}
.section--navy h2,
.section--navy h3 {
  color: #fff;
}
.section-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head--left {
  margin-inline: 0;
  text-align: left;
}
.section-head h2,
.h2 {
  margin-top: 14px;
  font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.85rem);
}
.section-head p,
.lead {
  margin-top: 18px;
  font-size: 1.15rem;
  color: var(--muted);
}
.section--navy .section-head p {
  color: rgb(255 255 255 / 0.78);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgb(91 69 236 / 0.1);
  color: var(--brand-500);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.section--navy .eyebrow {
  background: rgb(255 255 255 / 0.1);
  color: var(--brand-400);
}
.grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .grid-5 {
    grid-template-columns: repeat(5, 1fr);
  }
}
.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
}
.icon--sm {
  width: 1rem;
  height: 1rem;
}
.icon--lg {
  width: 1.75rem;
  height: 1.75rem;
}

/* 5. Header & navigation -------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: var(--navy-900);
  color: #fff;
  font-weight: 700;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition:
    box-shadow 0.3s,
    border-color 0.3s;
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}
.brand img {
  width: auto;
  height: 56px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.menu-toggle,
.nav-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
}
.nav-close {
  background: var(--brand-50);
  color: var(--navy-900);
}
.nav-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: none;
  font-weight: 700;
  color: var(--navy-900);
}
.nav-trigger .icon {
  transition: transform 0.25s;
}
.nav-item.is-open > .nav-trigger .icon {
  transform: rotate(180deg);
}
.nav-trigger.is-active,
.nav-trigger:hover {
  color: var(--brand-500);
}
.dropdown a {
  display: block;
  border-radius: 12px;
  padding: 12px 16px;
  transition: background 0.2s;
}
.dropdown a:hover,
.dropdown a[aria-current='page'] {
  background: var(--brand-50);
}
.dropdown strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy-900);
}
.dropdown span {
  display: block;
  margin-top: 2px;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
}
.nav-drawer-head,
.nav-drawer-foot {
  display: none;
}
.nav-backdrop {
  display: none;
}

/* Desktop nav */
@media (min-width: 1100px) {
  .menu-toggle,
  .nav-close {
    display: none;
  }
  .nav-list {
    display: flex;
    gap: 4px;
  }
  .nav-item {
    position: relative;
  }
  .nav-trigger {
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
  }
  .dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 260px;
    padding-top: 12px;
    transform: translateX(-50%);
    visibility: hidden;
    opacity: 0;
    transition:
      opacity 0.2s,
      visibility 0.2s;
  }
  .dropdown--wide {
    width: 580px;
  }
  .dropdown ul {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
  }
  .dropdown--wide ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
  }
  .nav-item:hover > .dropdown,
  .nav-item.is-open > .dropdown {
    visibility: visible;
    opacity: 1;
  }
}

/* Mobile drawer */
@media (max-width: 1099.98px) {
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 60;
    display: flex;
    flex-direction: column;
    width: min(86vw, 380px);
    background: #fff;
    box-shadow: -20px 0 60px rgb(18 15 53 / 0.25);
    transform: translateX(100%);
    visibility: hidden;
    transition:
      transform 0.35s var(--ease),
      visibility 0.35s;
  }
  .main-nav.is-open {
    transform: none;
    visibility: visible;
    /* Become visible instantly on open so focus can move into the drawer. */
    transition:
      transform 0.35s var(--ease),
      visibility 0s;
  }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 55;
    display: block;
    border: 0;
    background: rgb(18 15 53 / 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
  }
  .nav-backdrop.is-open {
    opacity: 1;
    visibility: visible;
  }
  .nav-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    padding-inline: 20px;
    border-bottom: 1px solid var(--line);
  }
  .nav-drawer-head img {
    height: 44px;
    width: auto;
  }
  .nav-list {
    flex: 1;
    overflow-y: auto;
    padding: 8px 20px;
  }
  .nav-item {
    border-bottom: 1px solid var(--line);
  }
  .nav-trigger {
    justify-content: space-between;
    width: 100%;
    padding: 18px 0;
    font-size: 1.1rem;
  }
  .dropdown {
    display: none;
    padding-bottom: 12px;
  }
  .nav-item.is-open > .dropdown {
    display: block;
  }
  .dropdown span {
    display: none;
  }
  .nav-drawer-foot {
    display: block;
    padding: 20px;
    border-top: 1px solid var(--line);
  }
  .header-actions .btn {
    display: none;
  }
}
@media (min-width: 640px) and (max-width: 1099.98px) {
  .header-actions .btn {
    display: inline-flex;
  }
}

/* 6. Hero & stats --------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy-950);
  color: #fff;
}
.hero__media,
.hero__media img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(18 15 53 / 0.95) 0%, rgb(28 24 82 / 0.8) 50%, rgb(28 24 82 / 0.3) 100%);
}
.hero__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 460px;
  padding-block: 88px 120px;
}
.hero--large .hero__inner {
  min-height: min(90vh, 780px);
}
.hero__content {
  max-width: 760px;
  animation: fade-up 0.8s var(--ease) both;
}
.hero .eyebrow {
  background: rgb(255 255 255 / 0.12);
  color: var(--brand-400);
  backdrop-filter: blur(6px);
}
.hero h1 {
  margin-top: 20px;
  color: #fff;
  font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.1rem);
  line-height: 1.08;
}
.hero__text {
  max-width: 640px;
  margin-top: 22px;
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
  color: rgb(255 255 255 / 0.86);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}
.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 28px;
  font-weight: 700;
}
.hero__points li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__points .icon {
  color: var(--brand-400);
}
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.stats {
  position: relative;
  z-index: 5;
  margin-top: -64px;
}
.stats dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}
@media (min-width: 1024px) {
  .stats dl {
    grid-template-columns: repeat(4, 1fr);
  }
}
.stat {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  padding: 30px 16px;
  background: #fff;
  text-align: center;
}
.stat dt {
  margin-top: 6px;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.stat dd {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 1.8rem + 1.6vw, 3.1rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--brand-500);
  font-variant-numeric: tabular-nums;
}

/* 7. Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
  transition:
    transform 0.2s,
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:disabled {
  opacity: 0.6;
  pointer-events: none;
}
.btn--primary {
  background: var(--brand-500);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgb(91 69 236 / 0.7);
}
.btn--primary:hover {
  background: var(--brand-600);
}
.btn--secondary {
  background: var(--navy-900);
  color: #fff;
}
.btn--secondary:hover {
  background: var(--navy-800);
}
.btn--outline {
  border-color: var(--navy-900);
  color: var(--navy-900);
}
.btn--outline:hover {
  background: var(--navy-900);
  color: #fff;
}
.btn--ghost {
  border-color: rgb(255 255 255 / 0.7);
  color: #fff;
}
.btn--ghost:hover {
  background: #fff;
  color: var(--navy-900);
}
.btn--sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}
.btn--lg {
  padding: 17px 32px;
  font-size: 1rem;
}
.btn--block {
  width: 100%;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 900;
  color: var(--brand-500);
}
.link-arrow:hover {
  color: var(--brand-600);
}

/* 8. Cards & grids -------------------------------------------------------- */
.card {
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
  outline: 1px solid var(--line);
  outline-offset: -1px;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.card .frame img {
  transition: transform 0.6s var(--ease);
}
.card:hover .frame img {
  transform: scale(1.05);
}
.card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px;
}
.card__kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-500);
}
.card h3 {
  margin-top: 8px;
  font-size: 1.45rem;
}
.card p {
  margin-top: 8px;
  color: var(--muted);
}
.card__body > p:last-of-type {
  flex: 1;
}
.card .link-arrow {
  margin-top: 18px;
}
a.card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
a.card .link-arrow {
  color: var(--navy-900);
}
a.card:hover .link-arrow {
  color: var(--brand-500);
}

.icon-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
}
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgb(91 69 236 / 0.1);
  color: var(--brand-500);
  transition:
    background 0.3s,
    color 0.3s;
}
.icon-card:hover .icon-badge {
  background: var(--brand-500);
  color: #fff;
}
.icon-card h3 {
  margin-top: 20px;
  font-size: 1.3rem;
}
.icon-card p {
  flex: 1;
}

.step-card {
  position: relative;
  padding: 30px;
}
.step-card__num {
  position: absolute;
  top: 18px;
  right: 24px;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
  color: var(--navy-100);
}
.step-card .icon-badge {
  background: var(--brand-500);
  color: #fff;
}
.step-card h3 {
  margin-top: 20px;
  font-size: 1.3rem;
}
.section--navy .step-card {
  background: rgb(255 255 255 / 0.06);
  outline-color: rgb(255 255 255 / 0.12);
  box-shadow: none;
}
.section--navy .step-card p {
  color: rgb(255 255 255 / 0.75);
}
.section--navy .step-card__num {
  color: rgb(255 255 255 / 0.1);
}

.overlay-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.overlay-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(18 15 53 / 0.92) 0%, rgb(18 15 53 / 0.2) 55%, transparent 100%);
}
.overlay-card img {
  transition: transform 0.8s var(--ease);
}
.overlay-card:hover img {
  transform: scale(1.06);
}
.overlay-card__body {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 26px;
  color: rgb(255 255 255 / 0.85);
}
.overlay-card h3 {
  font-size: 1.6rem;
  color: #fff;
}
.tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--brand-500);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 640px) {
  .logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .logo-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}
.logo-grid li {
  padding: 12px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.logo-grid img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  filter: grayscale(1);
  transition: filter 0.3s;
}
.logo-grid li:hover img {
  filter: none;
}

.team-card {
  text-align: center;
}
.team-card .frame {
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.team-card h3 {
  margin-top: 16px;
  font-size: 1.15rem;
}
.team-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* 9. Split features ------------------------------------------------------- */
.split {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
  }
  .split--reverse .split__media {
    order: 2;
  }
}
.split h2 {
  margin-top: 14px;
  font-size: clamp(1.9rem, 1.3rem + 2vw, 2.65rem);
}
.split__text > p {
  margin-top: 18px;
  font-size: 1.1rem;
  color: var(--muted);
}
.split__text .btn {
  margin-top: 32px;
}
.split__media {
  position: relative;
}
.collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.collage .frame {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.collage--2 .frame:last-child {
  margin-top: 40px;
}
.collage--3 .frame:first-child {
  grid-row: span 2;
}
.single-media .frame {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.badge-float {
  position: absolute;
  left: 24px;
  bottom: -24px;
  z-index: 2;
  padding: 16px 24px;
  border-radius: 18px;
  background: var(--brand-500);
  color: #fff;
  box-shadow: var(--shadow);
}
.badge-float strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1.1;
}
.badge-float span {
  font-size: 0.9rem;
  font-weight: 700;
}
.check-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}
@media (min-width: 640px) {
  .check-list {
    grid-template-columns: 1fr 1fr;
  }
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 700;
  color: var(--navy-900);
}
.check-list .icon {
  margin-top: 3px;
  color: var(--brand-500);
}
.section--navy .check-list li {
  color: #fff;
}
.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.feature-list h3 {
  font-size: 1.15rem;
}
.feature-list p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* 10. Media frames ---------------------------------------------------------
   Every image sits in a fixed-ratio frame and is cropped with object-fit, so
   replacement pictures of ANY size display correctly. */
.frame {
  position: relative;
  overflow: hidden;
  background: var(--navy-100);
}
.frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ratio-16x9 {
  aspect-ratio: 16 / 9;
}
.ratio-4x3 {
  aspect-ratio: 4 / 3;
}
.ratio-9x7 {
  aspect-ratio: 9 / 7;
}
.ratio-1x1 {
  aspect-ratio: 1;
}
.ratio-3x4 {
  aspect-ratio: 3 / 4;
}
.ratio-4x5 {
  aspect-ratio: 4 / 5;
}
.ratio-5x6 {
  aspect-ratio: 5 / 6;
}
.ratio-fill {
  height: 100%;
  min-height: 280px;
}
.rounded {
  border-radius: var(--radius);
}
.gallery {
  display: grid;
  gap: 16px;
}
@media (min-width: 640px) {
  .gallery--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .gallery--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .gallery--4 {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: repeat(2, 1fr);
  }
  .gallery--4 .frame:first-child {
    grid-row: span 2;
    aspect-ratio: auto;
  }
  .gallery--4 .frame:last-child {
    grid-column: span 2;
    aspect-ratio: auto;
  }
}
.gallery .frame {
  border-radius: var(--radius);
}
.app-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.app-shots .frame {
  border: 8px solid var(--navy-950);
  border-radius: 36px;
  box-shadow: var(--shadow);
}
.app-shots .frame:last-child {
  margin-top: 48px;
}

/* 12. Forms & tabs --------------------------------------------------------- */
.form-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
@media (min-width: 640px) {
  .form-card {
    padding: 44px;
  }
}
.form-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .field--full {
    grid-column: 1 / -1;
  }
}
.field label,
.label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--navy-900);
}
.req {
  color: var(--brand-500);
}
.input {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 1rem;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.input::placeholder {
  color: #9a9db0;
}
.input:focus {
  border-color: var(--brand-500);
  outline: none;
  box-shadow: 0 0 0 4px rgb(91 69 236 / 0.15);
}
.input[aria-invalid='true'] {
  border-color: var(--danger);
}
textarea.input {
  min-height: 140px;
  resize: vertical;
}
.field-error {
  margin-top: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--danger);
}
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  font-size: 0.92rem;
  color: var(--muted);
}
.checkbox input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--brand-500);
}
.checkbox a {
  font-weight: 900;
  color: var(--navy-900);
  text-decoration: underline;
}
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-alert {
  margin-top: 22px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: #fef2f2;
  color: var(--danger);
  font-weight: 700;
}
.form-actions {
  margin-top: 30px;
}
.cf-turnstile {
  margin-top: 22px;
}
.form-success {
  padding: 48px 28px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}
.form-success .icon {
  width: 64px;
  height: 64px;
  margin-inline: auto;
  color: var(--success);
}
.form-success h2 {
  margin-top: 18px;
  font-size: 2rem;
}
.form-success p {
  max-width: 460px;
  margin: 12px auto 0;
  color: var(--muted);
}
.spinner {
  width: 18px;
  height: 18px;
  border: 3px solid rgb(255 255 255 / 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 6px;
  border-radius: var(--radius-pill);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 0;
  border-radius: var(--radius-pill);
  background: none;
  font-size: 0.92rem;
  font-weight: 900;
  color: var(--navy-900);
  transition: background 0.2s;
}
.tab:hover {
  background: var(--brand-50);
}
.tab[aria-selected='true'] {
  background: var(--brand-500);
  color: #fff;
}
.tab-hint {
  margin: 22px 0;
  color: var(--muted);
}
.tab-hint a {
  font-weight: 900;
  color: var(--brand-500);
  text-decoration: underline;
}
.contact-layout {
  display: grid;
  gap: 48px;
}
@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1.5fr 1fr;
    align-items: start;
  }
}
.info-card {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--navy-900);
  color: rgb(255 255 255 / 0.85);
}
.info-card h2 {
  font-size: 1.6rem;
  color: #fff;
}
.info-list {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}
.info-list li {
  display: flex;
  gap: 14px;
}
.info-list .icon {
  margin-top: 3px;
  color: var(--brand-400);
}
.info-list strong {
  display: block;
  color: #fff;
}
.info-list a:hover {
  color: #fff;
  text-decoration: underline;
}

/* 13. Accordions & documents ---------------------------------------------- */
.accordion {
  display: grid;
  gap: 12px;
  max-width: 920px;
  margin-inline: auto;
}
.accordion details {
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  outline: 1px solid var(--line);
  outline-offset: -1px;
}
.accordion details[open] {
  outline-color: rgb(91 69 236 / 0.4);
}
.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--navy-900);
  cursor: pointer;
  list-style: none;
}
.accordion summary::-webkit-details-marker {
  display: none;
}
.accordion summary::after {
  content: '+';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-500);
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform 0.25s;
}
.accordion details[open] summary::after {
  transform: rotate(45deg);
}
.accordion__body {
  padding: 0 24px 24px;
  color: var(--muted);
}
.doc-group + .doc-group {
  margin-top: 20px;
}
.doc-group h3 {
  margin-bottom: 10px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-500);
}
.doc-list {
  display: grid;
  gap: 8px;
}
.doc-list a,
.doc-list .doc-pending {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--cream);
  outline: 1px solid var(--line);
  outline-offset: -1px;
  font-weight: 700;
  color: var(--navy-900);
  transition: background 0.2s;
}
.doc-list a:hover {
  background: var(--brand-50);
}
.doc-list a .icon:last-child {
  margin-left: auto;
  color: var(--brand-500);
}
.doc-list .icon:first-child {
  color: var(--navy-700);
}
.doc-pending {
  color: var(--muted) !important;
  font-weight: 400 !important;
  font-style: italic;
}

.metric + .metric {
  margin-top: 24px;
}
.metric__head {
  display: flex;
  justify-content: space-between;
  font-weight: 900;
  color: var(--navy-900);
}
.metric__head span:last-child {
  color: var(--brand-500);
}
.metric progress {
  width: 100%;
  height: 12px;
  margin-top: 8px;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--navy-100);
  appearance: none;
}
.metric progress::-webkit-progress-bar {
  background: var(--navy-100);
}
.metric progress::-webkit-progress-value {
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--brand-500), var(--brand-400));
}
.metric progress::-moz-progress-bar {
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--brand-500), var(--brand-400));
}

/* 14. Articles ------------------------------------------------------------- */
.article-list {
  display: grid;
  gap: 28px;
}
.article-card {
  display: grid;
}
@media (min-width: 768px) {
  .article-card {
    grid-template-columns: 340px 1fr;
  }
  .article-card .frame {
    height: 100%;
  }
}
.article-card h2 {
  margin-top: 8px;
  font-size: 1.6rem;
}
.article-card h2 a:hover {
  color: var(--brand-500);
}
.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}
.meta a.tag {
  margin: 0;
}
.prose {
  max-width: 760px;
  margin-inline: auto;
  font-size: 1.12rem;
  color: #3a3f55;
}
.prose > * + * {
  margin-top: 1.25em;
}
.prose h2 {
  margin-top: 1.8em;
  font-size: 1.9rem;
}
.prose h3 {
  margin-top: 1.5em;
  font-size: 1.4rem;
}
.prose ul {
  padding-left: 1.4em;
  list-style: disc;
}
.prose li + li {
  margin-top: 0.4em;
}
.prose a {
  font-weight: 700;
  color: var(--brand-500);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose .frame {
  margin-block: 2em;
  border-radius: var(--radius);
}
.prose blockquote {
  margin-inline: 0;
  padding: 20px 26px;
  border-left: 4px solid var(--brand-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--peach);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--navy-900);
}
.share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  max-width: 760px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-weight: 900;
  color: var(--navy-900);
}

/* 15. Footer, CTA, utilities ---------------------------------------------- */
.cta-band {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 40px;
  align-items: center;
  overflow: hidden;
  padding: 48px 24px;
  border-radius: 32px;
  background: var(--navy-900);
}
@media (min-width: 640px) {
  .cta-band {
    padding: 56px 48px;
  }
}
@media (min-width: 1024px) {
  .cta-band {
    grid-template-columns: 1.4fr 1fr;
    padding-block: 0;
  }
  .cta-band__text {
    padding-block: 64px;
  }
}
.cta-band::before,
.cta-band::after {
  content: '';
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(60px);
}
.cta-band::before {
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: rgb(91 69 236 / 0.3);
}
.cta-band::after {
  right: -40px;
  bottom: -120px;
  width: 320px;
  height: 320px;
  background: rgb(61 53 147 / 0.7);
}
.cta-band h2 {
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
  color: #fff;
}
.cta-band p {
  max-width: 560px;
  margin-top: 18px;
  font-size: 1.1rem;
  color: rgb(255 255 255 / 0.8);
}
.cta-band .btn {
  margin-top: 30px;
}
.cta-band .frame {
  width: 100%;
  max-width: 380px;
  margin-inline: auto;
  border-radius: 200px 200px 28px 28px;
}
@media (min-width: 1024px) {
  .cta-band .frame {
    margin-block: 40px;
  }
}

.site-footer {
  background: var(--navy-950);
  color: rgb(255 255 255 / 0.78);
}
.footer-grid {
  display: grid;
  gap: 48px;
  padding-block: 72px;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1.3fr 0.8fr 0.8fr 1.3fr;
  }
}
.footer-brand img {
  width: auto;
  height: 64px;
}
.footer-brand .legal {
  margin-top: 20px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}
.footer-brand p + p {
  margin-top: 8px;
}
.store-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 12px;
  background: #000;
  color: #fff;
  line-height: 1.15;
  transition: transform 0.2s;
}
a.store-btn:hover {
  transform: translateY(-2px);
}
.store-btn small {
  display: block;
  font-size: 0.65rem;
  opacity: 0.8;
}
.store-btn b {
  display: block;
  font-size: 0.9rem;
}
.footer-title {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-400);
}
.footer-links {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.footer-links a:hover {
  color: #fff;
}
.footer-contact {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}
.footer-contact li {
  display: flex;
  gap: 12px;
}
.footer-contact .icon {
  margin-top: 3px;
  color: var(--brand-400);
}
.footer-contact strong {
  display: block;
  color: #fff;
}
.footer-contact a:hover {
  color: #fff;
}
.social-list {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.social-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.1);
  color: #fff;
  transition:
    background 0.2s,
    transform 0.2s;
}
.social-list a:hover {
  background: var(--brand-500);
  transform: translateY(-2px);
}
.social-list .icon {
  width: 18px;
  height: 18px;
}
.footer-bottom {
  border-top: 1px solid rgb(255 255 255 / 0.1);
}
.footer-bottom .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-block: 22px;
  font-size: 0.9rem;
}
@media (min-width: 768px) {
  .footer-bottom .container {
    flex-direction: row;
    justify-content: space-between;
  }
}
.footer-bottom ul {
  display: flex;
  gap: 24px;
}
.footer-bottom a:hover {
  color: #fff;
}

.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  background: var(--brand-500);
  color: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition:
    opacity 0.3s,
    transform 0.3s,
    visibility 0.3s,
    background 0.2s;
}
.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.scroll-top:hover {
  background: var(--brand-600);
}

.cookie-banner {
  position: fixed;
  inset: auto 16px 16px;
  z-index: 70;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  max-width: 680px;
  margin-inline: auto;
  padding: 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
  font-size: 0.92rem;
  color: var(--muted);
}
.cookie-banner p {
  flex: 1 1 280px;
}
.cookie-banner a {
  font-weight: 900;
  color: var(--navy-900);
  text-decoration: underline;
}
.cookie-banner div {
  display: flex;
  gap: 8px;
}

.page-404 {
  padding-block: 120px;
  text-align: center;
}
.page-404 .hero__actions {
  justify-content: center;
}
.page-404 .code {
  font-family: var(--font-heading);
  font-size: clamp(5rem, 3rem + 10vw, 10rem);
  font-weight: 600;
  line-height: 1;
  color: var(--brand-500);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.text-center {
  text-align: center;
}
.mt-0 {
  margin-top: 0;
}
.mt-8 {
  margin-top: 32px;
}
.mt-12 {
  margin-top: 48px;
}
.mt-16 {
  margin-top: 64px;
}
.muted {
  color: var(--muted);
}

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

/* 16. 2026 brand refresh (new logo) ---------------------------------------
   Colours come from the logo: a blue → pink frame and coral → purple lettering.
   ------------------------------------------------------------------------ */
.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .text-gradient {
  background: linear-gradient(90deg, #ff8a8d 0%, #ff8acb 50%, #b9a2ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad-text);
}
.section-head h2::after {
  content: '';
  display: block;
  width: 64px;
  height: 4px;
  margin: 18px auto 0;
  border-radius: 4px;
  background: var(--grad-frame);
}
.section-head--left h2::after {
  margin-left: 0;
}
.icon--flip {
  transform: scaleX(-1);
}

/* Header: the square logo */
.brand img {
  height: 66px;
}
.nav-drawer-head img {
  height: 52px;
}
.nav-link {
  display: flex;
  align-items: center;
  font-weight: 700;
  color: var(--navy-900);
  transition: color 0.2s;
}
.nav-link:hover,
.nav-link.is-active {
  color: var(--brand-500);
}
@media (min-width: 1100px) {
  .nav-link {
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
  }
  .nav-link.is-active {
    background: var(--brand-50);
  }
}
@media (max-width: 1099.98px) {
  .nav-link-item {
    border-bottom: 1px solid var(--line);
  }
  .nav-link {
    padding: 18px 0;
    font-size: 1.1rem;
  }
}

/* Buttons: gradient from the logo */
.btn--primary {
  background: var(--grad-btn);
  box-shadow: 0 10px 24px -10px rgb(91 69 236 / 0.75);
}
.btn--primary:hover {
  background: linear-gradient(90deg, #4a35d6 0%, #7a31c4 100%);
}

/* Stats: gradient numbers */
.stat dd {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* "Plan your trip" card in the solutions grid */
.card--cta {
  display: flex;
  height: 100%;
  border: 0;
  background: linear-gradient(150deg, var(--navy-900) 0%, #3b2a8f 60%, #7a2f9a 100%);
  color: rgb(255 255 255 / 0.85);
}
.card--cta .card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 32px;
}
.card--cta .icon-badge {
  margin-bottom: 20px;
  background: rgb(255 255 255 / 0.12);
  color: #fff;
}
.card--cta .card__kicker,
.card--cta .link-arrow {
  color: var(--brand-400);
}
.card--cta h3 {
  color: #fff;
}
.card--cta p {
  color: rgb(255 255 255 / 0.8);
}

/* App store badges while the app is not published */
.store-btn--soon {
  border: 1px dashed rgb(255 255 255 / 0.45);
  background: rgb(255 255 255 / 0.06);
  cursor: default;
}
.store-btn--soon b {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: brightness(1.35);
}

/* Footer: square logo on dark */
.footer-brand img {
  height: 120px;
}

/* Contact page: single office card */
.office-card {
  display: grid;
  gap: 24px;
  align-items: center;
  padding: 32px;
  border: 1px solid var(--line);
  border-left: 6px solid transparent;
  border-image: var(--grad-frame) 1;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.office-card h2 {
  margin: 12px 0 8px;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
}
.office-card p {
  color: var(--muted);
}
.office-card__meta {
  margin-top: 8px;
}
.office-card__meta a {
  font-weight: 700;
  color: var(--brand-500);
}
@media (min-width: 768px) {
  .office-card {
    grid-template-columns: auto 1fr auto;
    padding: 36px 40px;
  }
}

/* Forms: consent box inside the grid, uploads, career wizard */
.field .checkbox {
  display: flex;
  margin-bottom: 0;
  font-weight: 400;
}
.form-grid > .form-alert {
  grid-column: 1 / -1;
}
.input--upper {
  text-transform: uppercase;
}
.field .upload {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  margin: 0;
  padding: 16px 18px;
  border: 2px dashed #cfc7fb;
  border-radius: var(--radius-sm);
  background: var(--brand-50);
  color: var(--brand-500);
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.field .upload:hover,
.field:focus-within .upload,
.upload.is-filled {
  border-color: var(--brand-500);
  background: #e9e4ff;
}
.upload__text {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.4;
  word-break: break-word;
}
.upload__text small {
  font-weight: 400;
  color: var(--muted);
}
.upload__preview {
  margin-left: auto;
}
.upload__preview img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
}
.upload__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.wizard-steps {
  display: none;
  position: relative;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 0 36px;
}
.js .wizard-steps {
  display: grid;
}
.wizard-steps::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 16.6%;
  right: 16.6%;
  height: 4px;
  border-radius: 4px;
  background: var(--navy-100);
}
.wizard-steps li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}
.wizard-steps__num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 3px solid var(--navy-100);
  border-radius: 50%;
  background: #fff;
  font-family: var(--font-heading);
  color: var(--navy-900);
}
.wizard-steps li.is-active,
.wizard-steps li.is-done {
  color: var(--navy-900);
}
.wizard-steps li.is-active .wizard-steps__num,
.wizard-steps li.is-done .wizard-steps__num {
  border-color: transparent;
  background: var(--grad-btn);
  color: #fff;
}
.wizard-step {
  min-width: 0;
  margin: 0 0 28px;
  padding: 0;
  border: 0;
}
.wizard-step__legend {
  margin-bottom: 18px;
  padding: 0;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy-900);
}
.js .wizard-step:not(.is-active) {
  display: none;
}
.js .wizard-step__legend {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.wizard-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.wizard-nav__next {
  margin-left: auto;
}
html:not(.js) [data-wizard-prev],
html:not(.js) [data-wizard-next] {
  display: none;
}
@media (max-width: 639.98px) {
  .wizard-steps__title {
    font-size: 0.72rem;
  }
  .wizard-nav .btn {
    padding-inline: 18px;
  }
}

/* Gallery & Updates */
.post-grid {
  align-items: start;
}
.post-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.post-card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: var(--navy-100);
  cursor: zoom-in;
}
a.post-card__media {
  cursor: pointer;
}
.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.post-card:hover .post-card__media img {
  transform: scale(1.05);
}
.post-card__count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgb(18 15 53 / 0.75);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}
.post-card__body {
  padding: 22px 24px 26px;
}
.post-card__date {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-500);
}
.post-card h3 {
  font-size: 1.2rem;
}
.post-card__text {
  margin-top: 10px;
  color: var(--muted);
  white-space: pre-line;
}
.post-card__thumbs {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.post-card__thumb {
  width: 56px;
  height: 56px;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 10px;
  cursor: zoom-in;
}
.post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.posts-empty {
  max-width: 560px;
  margin: 0 auto;
  padding: 40px 24px;
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  text-align: center;
  color: var(--muted);
}
.lightbox {
  width: min(96vw, 1200px);
  max-height: 94vh;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.lightbox::backdrop {
  background: rgb(18 15 53 / 0.92);
}
.lightbox__figure {
  margin: 0;
  text-align: center;
}
.lightbox__figure img {
  max-width: 100%;
  max-height: 82vh;
  margin: 0 auto;
  border-radius: 12px;
  object-fit: contain;
}
.lightbox__figure figcaption {
  margin-top: 12px;
  color: #fff;
  font-weight: 700;
}
.lightbox__close,
.lightbox__nav {
  position: fixed;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.14);
  color: #fff;
}
.lightbox__close:hover,
.lightbox__nav:hover {
  background: var(--brand-500);
}
.lightbox__close {
  top: 16px;
  right: 16px;
}
.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
}
.lightbox__nav--prev {
  left: 16px;
}
.lightbox__nav--next {
  right: 16px;
}
.nowrap {
  white-space: nowrap;
}
.section--navy .split__text p {
  color: rgb(255 255 255 / 0.82);
}
