/* 100 Crosses Ltd — shared stylesheet
   Direction: editorial (paper + ink, hairline rules, one brick accent) */

:root {
  /* Midnight Navy & Gold / Modern Corporate Premium */
  --bg:      #0B1120;
  --surface: #0F172A;
  --fg:      #F8FAFC;
  --muted:   #94A3B8;
  --border:  #1E293B;
  --accent:  #D4AF37;

  /* derived */
  --accent-strong: #E5C158;
  --accent-hover:  #C5A028;
  --ink-soft:      #CBD5E1;
  --rule-strong:   #334155;
  --tint:          #111827;
  --shade:         #020617;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-heading-sans: 'Figtree', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: clamp(20px, 5vw, 64px);
  --maxw: 1240px;
  --header-h: 69px;
}

/* ---------- animations ---------- */
.animate-up { 
  opacity: 0; 
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.page-loaded .slide--active .animate-up,
.page-loaded .is-visible.animate-up,
.page-loaded .is-visible .animate-up {
  opacity: 1; 
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }

/* ---------- preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(0);
  transition: transform 1s cubic-bezier(0.85, 0, 0.15, 1);
}
.preloader-logo {
  width: 140px;
  height: auto;
  animation: preloader-pulse 2s infinite ease-in-out;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease-in;
  filter: drop-shadow(0 0 15px rgba(210, 159, 67, 0.4));
}
.preloader.loaded {
  transform: translateY(-100%);
  pointer-events: none;
}
.preloader.loaded .preloader-logo {
  transform: translateY(-30px) scale(0.9);
  opacity: 0;
}

@keyframes preloader-pulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 15px rgba(210, 159, 67, 0.4));
  }
  50% {
    transform: scale(1.05);
    filter: drop-shadow(0 0 25px rgba(255, 217, 126, 0.7));
  }
}

/* ---------- type ---------- */
h1, h2 { font-family: var(--font-display); font-weight: 600; margin: 0; }
h3, h4 { font-family: var(--font-heading-sans); font-weight: 600; margin: 0; }
h1 { font-size: clamp(36px, 5.2vw, 62px); line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(27px, 3.2vw, 38px); line-height: 1.16; letter-spacing: -0.015em; }
h3 { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.3; letter-spacing: -0.01em; }
h4 { font-size: 17px; line-height: 1.35; letter-spacing: -0.005em; }
p  { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin: 0 0 18px;
  display: block;
}
.kicker--accent { color: var(--accent-strong); }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-soft); max-width: 62ch; }
.prose { max-width: 68ch; }
.prose p, .prose li { color: var(--ink-soft); }
.small { font-size: 14px; line-height: 1.55; letter-spacing: 0.01em; color: var(--muted); }

a { color: inherit; }
.link {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px dotted var(--rule-strong);
  padding-bottom: 1px;
  transition: border-color .15s, color .15s;
}
.link:hover { color: var(--accent-strong); border-bottom-color: var(--accent-strong); }

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

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 7vw, 104px) 0; }
.section--tight { padding: clamp(40px, 5vw, 68px) 0; }
.section--rule { border-top: 1px solid var(--border); }
.section--tint { background: var(--tint); }
.section--dark { background: var(--shade); color: var(--fg); }
.section--dark h2, .section--dark h3 { color: var(--fg); }
.section--dark .kicker { color: var(--muted); }
.section--dark p { color: var(--ink-soft); }

.grid { display: grid; gap: clamp(24px, 3vw, 40px); }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: start; }

/* ---------- crossroad mark ---------- */
.mark { display: inline-block; width: 1em; height: 1em; vertical-align: -0.12em; }
.mark line { stroke: currentColor; stroke-width: 1.4; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: transparent;
  border-bottom: 1px solid var(--border);
}
/* The glass sits on a pseudo-element: backdrop-filter on the header itself would
   make it the containing block for the fixed-position mobile drawer. */
.site-header::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: rgba(11, 17, 32, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
}
.site-header.open { z-index: 9997; }
.header-bar { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); flex: none; }
.brand__mark { color: var(--accent-strong); width: 22px; height: 22px; }
.brand__name {
  font-family: var(--font-heading-sans);
  font-size: 20px; font-weight: 600; letter-spacing: -0.015em; line-height: 1;
}
.brand__suffix { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); display: block; margin-top: 3px; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; height: 100%; }
.nav > a, .nav-item > a {
  display: flex; align-items: center; gap: 4px;
  font-size: 14.5px; letter-spacing: 0.005em; text-decoration: none; color: var(--ink-soft);
  padding: 8px 11px; border-radius: 2px; transition: background .15s, color .15s;
}
.nav > a:hover, .nav-item > a:hover { background: rgba(255, 255, 255, 0.05); color: var(--fg); }
.nav > a[aria-current="page"], .nav .has-dropdown > a[aria-current="page"] { color: var(--fg); box-shadow: inset 0 -2px 0 var(--accent-strong); }
.nav .btn { margin-left: 10px; }

/* Dropdown System */
.nav-item { position: relative; display: flex; align-items: center; height: 100%; }
.dropdown {
  position: absolute;
  top: calc(100% - 10px);
  left: 0;
  min-width: 220px;
  background: rgba(11, 17, 32, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  pointer-events: none;
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.dropdown a {
  padding: 10px 20px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  transition: all 0.15s;
}
.dropdown a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent-strong);
}

.nav-toggle {
  display: none; margin-left: auto; background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--rule-strong);
  color: var(--fg); padding: 0; cursor: pointer; border-radius: 4px;
  width: 46px; height: 46px; position: relative; z-index: 1002;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.06); border-color: var(--muted); }
.nav-toggle:active { transform: scale(0.94); }
.nav-toggle:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 3px; }
.site-header.open .nav-toggle {
  background: rgba(212, 175, 55, 0.10);
  border-color: rgba(212, 175, 55, 0.55);
}

.hamburger {
  position: relative;
  display: block;
  width: 22px;
  height: 14px;
  margin: 0 auto;
}
.hamburger-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--fg);
  border-radius: 2px;
  transform-origin: 50% 50%;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s ease 0.12s,
    background-color 0.3s ease;
}
.hamburger-line:nth-child(1) { top: 0; }
.hamburger-line:nth-child(2) { top: 6px; width: 68%; }
.hamburger-line:nth-child(3) { top: 12px; }

.site-header.open .hamburger-line { background: var(--accent-strong); }
.site-header.open .hamburger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.site-header.open .hamburger-line:nth-child(2) {
  opacity: 0; width: 0; transition-delay: 0s;
}
.site-header.open .hamburger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Caret + drawer chrome: inert on desktop, brought to life in the mobile block. */
.nav-caret { width: 14px; height: 14px; flex: none; transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), color 0.25s ease; }
.nav-scrim { display: none; }
.nav-foot { display: none; }
.nav:focus { outline: none; }

/* ---------- Sticky Scroll Timeline ---------- */
.sticky-scroll-section {
  position: relative;
  /* JS sets the real height from the track's actual horizontal overflow.
     `auto` is the safe fallback if JS never runs — never a fixed 300vh,
     which left ~2 empty screens once the pan had finished.
     Do NOT put overflow/clip-path here: it makes this element its own
     scrollport, and the sticky container below then never pins at all. */
  height: auto;
  /* The usual .section vertical padding moves onto the container, so the
     pinned travel distance matches the section height exactly. */
  padding: 0;
}
.sticky-scroll-container {
  position: sticky;
  top: var(--header-h);
  /* Content-sized. A forced 100vh with justify-content:center left a large
     dead band above and below the track. */
  height: auto;
  display: flex;
  flex-direction: column;
  padding: clamp(44px, 5.5vw, 84px) 0;
  /* Safe to clip here — this is the sticky element itself, not an ancestor.
     Keeps .bg-artefact and the panned track from bleeding out. */
  overflow: hidden;
}
.sticky-scroll-container > .wrap { flex-shrink: 0; }
.bg-artefact {
  position: absolute;
  top: -150px;
  right: -150px;
  width: 800px;
  height: 800px;
  color: var(--accent-strong);
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
  transform: rotate(25deg);
  overflow: hidden;
}
@media (max-width: 900px) {
  .bg-artefact { display: none; }
}

.scroll-track-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  flex-shrink: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.scroll-track-wrapper::-webkit-scrollbar {
  display: none;
}
@media (min-width: 901px) {
  /* JS pans via transform; native horizontal scrolling here fought it */
  .sticky-scroll-section.is-sticky-active .scroll-track-wrapper { overflow-x: hidden; }
}

.process-timeline {
  --tl-pad-block: 24px;
  --tl-pad-inline: max(24px, calc((100vw - 1240px) / 2 + 24px));
  --tl-rail-y: calc(var(--tl-pad-block) + 20px); /* + half a 40px node */
  display: flex;
  position: relative;
  gap: 24px;
  padding: var(--tl-pad-block) var(--tl-pad-inline);
  margin-top: 24px;
  width: max-content;
  will-change: transform;
}
.process-timeline::before {
  content: '';
  position: absolute;
  top: var(--tl-rail-y);
  left: var(--tl-pad-inline);
  right: var(--tl-pad-inline);
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.process-timeline::after {
  content: '';
  position: absolute;
  top: var(--tl-rail-y);
  left: var(--tl-pad-inline);
  right: var(--tl-pad-inline);
  height: 2px;
  background: var(--accent-strong);
  z-index: 1;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.process-timeline.is-visible::after {
  transform: scaleX(1);
}

.timeline__step {
  flex: none;
  width: 320px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* ---------- Bento Grid (Why Choose Us) ---------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.bento-grid--5 {
  grid-template-columns: repeat(6, 1fr);
}
.bento-grid--5 > .bento-card:nth-child(1),
.bento-grid--5 > .bento-card:nth-child(2) {
  grid-column: span 3;
}
.bento-grid--5 > .bento-card:nth-child(3),
.bento-grid--5 > .bento-card:nth-child(4),
.bento-grid--5 > .bento-card:nth-child(5) {
  grid-column: span 2;
}

.bento-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.bento-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(234, 179, 8, 0.4);
}
.bento-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 0;
  background: rgba(234, 179, 8, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-strong);
}
.bento-card__title {
  font-family: var(--font-heading-sans);
  font-size: 19px;
  font-weight: 600;
  color: #fff;
}
.bento-card__desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: #d1d5db;
}

/* ---------- Testimonial Carousel ---------- */
.testimonial-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 20px 0 60px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.testimonial-carousel::-webkit-scrollbar {
  display: none;
}
.carousel-btn {
  position: absolute;
  top: calc(50% - 30px);
  transform: translateY(-50%);
  z-index: 10;
  background: var(--surface) !important;
  border-color: var(--border) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.carousel-btn:hover {
  background: var(--tint) !important;
  border-color: var(--accent-strong) !important;
  transform: translateY(-50%) scale(1.1) !important;
}
.carousel-btn--prev { left: -24px; }
.carousel-btn--next { right: -24px; }
@media (max-width: 900px) {
  .carousel-btn--prev { left: 0px; }
  .carousel-btn--next { right: 0px; }
}
.testimonial-card {
  flex: 0 0 min(100%, 450px);
  scroll-snap-align: center;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(234, 179, 8, 0.4);
}
.testimonial-card::before {
  content: "“";
  font-family: var(--font-display);
  font-size: 80px;
  color: rgba(234, 179, 8, 0.2);
  line-height: 1;
  position: absolute;
  top: 16px;
  left: 20px;
  z-index: 0;
}
.testimonial-card__quote {
  font-size: 15.5px;
  line-height: 1.7;
  color: #fff;
  position: relative;
  z-index: 1;
  flex-grow: 1;
  margin-bottom: 32px;
  font-style: italic;
}
.testimonial-card__footer {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-strong);
}
.testimonial-card__author-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.testimonial-card__name {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}
.testimonial-card__title {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: oklch(72% 0.012 70);
}
.process-timeline.is-visible .timeline__step:nth-child(1) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.process-timeline.is-visible .timeline__step:nth-child(2) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.process-timeline.is-visible .timeline__step:nth-child(3) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }
.process-timeline.is-visible .timeline__step:nth-child(4) { transition-delay: 0.8s; opacity: 1; transform: translateY(0); }
.process-timeline.is-visible .timeline__step:nth-child(5) { transition-delay: 1.0s; opacity: 1; transform: translateY(0); }
.process-timeline.is-visible .timeline__step:nth-child(6) { transition-delay: 1.2s; opacity: 1; transform: translateY(0); }

.timeline__node {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-strong);
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.process-timeline.is-visible .timeline__step:nth-child(1) .timeline__node { transition-delay: 0.2s; border-color: var(--accent-strong); box-shadow: 0 0 15px rgba(234, 179, 8, 0.4); }
.process-timeline.is-visible .timeline__step:nth-child(2) .timeline__node { transition-delay: 0.4s; border-color: var(--accent-strong); box-shadow: 0 0 15px rgba(234, 179, 8, 0.4); }
.process-timeline.is-visible .timeline__step:nth-child(3) .timeline__node { transition-delay: 0.6s; border-color: var(--accent-strong); box-shadow: 0 0 15px rgba(234, 179, 8, 0.4); }
.process-timeline.is-visible .timeline__step:nth-child(4) .timeline__node { transition-delay: 0.8s; border-color: var(--accent-strong); box-shadow: 0 0 15px rgba(234, 179, 8, 0.4); }
.process-timeline.is-visible .timeline__step:nth-child(5) .timeline__node { transition-delay: 1.0s; border-color: var(--accent-strong); box-shadow: 0 0 15px rgba(234, 179, 8, 0.4); }
.process-timeline.is-visible .timeline__step:nth-child(6) .timeline__node { transition-delay: 1.2s; border-color: var(--accent-strong); box-shadow: 0 0 15px rgba(234, 179, 8, 0.4); }

.timeline__content {
  background: var(--surface);
  padding: 20px 18px;
  border-radius: 6px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
}
.timeline__icon { margin-bottom: 8px; color: var(--accent-strong); }
.timeline__t { font-family: var(--font-heading-sans); font-size: 17px; font-weight: 600; line-height: 1.25; }
.timeline__d { font-size: 13.5px; line-height: 1.5; color: var(--muted); letter-spacing: 0.01em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 12px 22px;
  font: inherit; font-size: 15px; font-weight: 550; letter-spacing: 0.01em;
  text-decoration: none; border-radius: 2px; cursor: pointer;
  border: 1px solid transparent; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn--primary { background: var(--accent-strong); color: #0B1120; border-color: var(--accent-strong); }
.btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #0B1120; transform: scale(1.03); box-shadow: 0 4px 20px rgba(229, 193, 88, 0.25); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--rule-strong); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.05); color: var(--fg); border-color: var(--muted); transform: scale(1.03); }
.btn--onDark { background: transparent; color: var(--fg); border-color: var(--rule-strong); }
.btn--onDark:hover { background: rgba(255, 255, 255, 0.1); color: var(--fg); border-color: var(--muted); transform: scale(1.03); }
.btn--sm { min-height: 40px; padding: 9px 16px; font-size: 14px; }
.btn--icon { width: 48px; height: 48px; padding: 0; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.textlink {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 15px; font-weight: 550; letter-spacing: 0.01em;
  text-decoration: none; color: var(--fg);
  border-bottom: 1px solid var(--rule-strong); padding-bottom: 2px;
  transition: color .15s, border-color .15s, gap .15s;
}
.textlink:hover { color: var(--accent-strong); border-bottom-color: var(--accent-strong); gap: 11px; }
.textlink::after { content: "\2192"; font-size: 14px; }

/* ---------- hero ---------- */
.hero { position: relative; border-bottom: 1px solid var(--border); overflow: hidden; }
.hero-slider { display: grid; }
.slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 1s;
  pointer-events: none;
  position: relative;
}
.slide--active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.slide__bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  transform: scale(1);
}
.slide--active .slide__bg {
  animation: kenBurns 12s ease-out forwards;
}
@keyframes kenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.12); }
}
.slide__body { position: relative; z-index: 1; padding-top: clamp(120px, 14vw, 200px); padding-bottom: clamp(140px, 16vw, 220px); }
.slide h1 { max-width: 16ch; }

.hero-dots {
  position: absolute;
  bottom: clamp(24px, 4vw, 48px);
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  z-index: 10;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background 0.3s;
}
.hero-dot--active { background: var(--accent-strong); }

.page-head {
  padding: clamp(60px, 10vw, 120px) 0 clamp(40px, 8vw, 80px);
  border-bottom: none;
  background-color: var(--bg);
  background-size: cover;
  background-position: center;
  position: relative;
  color: #F8FAFC;
}
.sticky-scroll-container.page-head {
  position: sticky;
  top: 0;
  padding: clamp(30px, 4vh, 80px) 0 clamp(30px, 4vh, 60px);
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(11, 17, 32, 0.95) 0%, rgba(11, 17, 32, 0.8) 50%, rgba(11, 17, 32, 0.3) 100%);
  z-index: 1;
}
.page-head > .wrap {
  position: relative;
  z-index: 2;
}

/* Page Head sophisticated staggered reveal */
.page-head .sec-head > div > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.page-loaded .page-head .sec-head > div > * {
  opacity: 1;
  transform: translateY(0);
}
.page-loaded .page-head .sec-head > div > *:nth-child(1) { transition-delay: 0.15s; }
.page-loaded .page-head .sec-head > div > *:nth-child(2) { transition-delay: 0.30s; }
.page-loaded .page-head .sec-head > div > *:nth-child(3) { transition-delay: 0.45s; }
.page-loaded .page-head .sec-head > div > *:nth-child(4) { transition-delay: 0.60s; }
.page-head .breadcrumb { margin-bottom: 24px; color: var(--muted); }
.page-head .breadcrumb a { color: var(--accent); transition: color 0.15s; }
.page-head .breadcrumb a:hover { color: var(--accent-hover); }
.page-head h1 { max-width: 20ch; }
.page-head .lead { margin-top: 22px; }
.breadcrumb { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { text-decoration: none; color: var(--muted); border-bottom: 1px solid transparent; }
.breadcrumb a:hover { color: var(--accent-strong); border-bottom-color: var(--accent-strong); }

/* ---------- cards / lists ---------- */
.card {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: clamp(22px, 2.4vw, 30px);
  display: flex; flex-direction: column; gap: 12px;
  text-decoration: none; color: inherit;
  transition: border-color .15s, background .15s;
}
a.card:hover { border-color: var(--accent-strong); background: rgba(255,255,255, 0.02); box-shadow: 0 4px 24px rgba(229, 193, 88, 0.05); transform: translateY(-2px); }
a.card:hover .card__title { color: var(--accent-strong); }
.card__num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--muted); }
.card__title { transition: color .15s; }
.card__body { color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; }
.card__more { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 550; color: var(--accent-strong); letter-spacing: 0.01em; }

.ruled-list { list-style: none; margin: 0; padding: 0; }
.ruled-list li {
  border-top: 1px solid var(--border);
  padding: 14px 0 14px 28px;
  position: relative;
  color: var(--ink-soft);
  font-size: 15.5px;
}
.ruled-list li::before {
  content: ""; position: absolute; left: 4px; top: 16px;
  width: 14px; height: 14px; 
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23e5c158' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
.ruled-list li:last-child { border-bottom: 1px solid var(--border); }

.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 0 clamp(24px, 3vw, 44px); }

.deflist { margin: 0; }
.deflist > div { border-top: 1px solid var(--border); padding: 20px 0; display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 40px); }
.deflist > div:last-child { border-bottom: 1px solid var(--border); }
.deflist dt { font-family: var(--font-heading-sans); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.deflist dd { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

/* ---------- journey steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.step {
  display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: clamp(16px, 2.5vw, 32px);
  border-top: 1px solid var(--border); padding: clamp(22px, 2.6vw, 32px) 0;
}
.step:last-child { border-bottom: 1px solid var(--border); }
.step__n { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--accent-strong); padding-top: 5px; }
.step__t { margin-bottom: 8px; }
.step__d { color: var(--ink-soft); font-size: 15.5px; max-width: 72ch; }

.flow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.flow__cell { background: var(--surface); padding: 20px 18px; display: flex; flex-direction: column; gap: 8px; }
.flow__n { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--muted); }
.flow__t { font-family: var(--font-heading-sans); font-size: 17px; font-weight: 600; line-height: 1.25; }
.flow__d { font-size: 13.5px; line-height: 1.5; color: var(--muted); letter-spacing: 0.01em; }

/* ---------- notices ---------- */
.notice {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: clamp(20px, 2.4vw, 28px);
  border-radius: 6px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.notice__h {
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--accent-strong); margin: 0 0 12px; display: block;
}
.notice p, .notice li { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); letter-spacing: 0.005em; }
.notice ul { margin: 0; padding-left: 18px; }
.notice--strong { 
  border-color: rgba(229, 193, 88, 0.3); 
  background: rgba(229, 193, 88, 0.05); 
}

/* ---------- figures ---------- */
.figure { position: relative; border: 1px solid var(--border); background: var(--shade); overflow: hidden; }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure--tall { aspect-ratio: 4 / 3; }
.figure--wide { aspect-ratio: 16 / 9; }
.figure__tag {
  position: absolute; left: 16px; bottom: 16px; right: 16px;
  background: oklch(18% 0.014 70 / 0.86);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: oklch(95% 0.006 95);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 9px 12px;
}
@media (min-width: 700px) { .figure__tag { right: auto; max-width: calc(100% - 32px); } }

/* ---------- forms ---------- */
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; position: relative; }
.field > label { font-size: 14.5px; font-weight: 550; letter-spacing: 0.01em; color: var(--fg); }
.field .hint { font-size: 13px; color: var(--muted); letter-spacing: 0.01em; font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15.5px; color: var(--fg);
  background: rgba(0, 0, 0, 0.2); 
  border: 1px solid var(--rule-strong); 
  border-radius: 4px;
  padding: 13px 16px; 
  min-height: 50px; 
  width: 100%;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}
.field select {
  caret-color: transparent;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px !important;
  cursor: pointer;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.field input:hover, .field select:hover, .field textarea:hover { 
  border-color: rgba(255, 255, 255, 0.2); 
  background-color: rgba(0, 0, 0, 0.3);
}
.field input:focus, .field select:focus, .field textarea:focus { 
  border-color: var(--accent-strong); 
  outline: none;
  box-shadow: 0 0 0 3px rgba(229, 193, 88, 0.15), inset 0 2px 4px rgba(0,0,0,0.1);
  background-color: rgba(0, 0, 0, 0.4);
}
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.consent { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; }
.consent input { width: 19px; height: 19px; min-height: 0; margin-top: 3px; accent-color: var(--accent-strong); cursor: pointer; }
.consent label { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); cursor: pointer; }
fieldset { border: 1px solid var(--border); padding: clamp(20px, 2.4vw, 28px); margin: 0; display: grid; gap: 18px; border-radius: 6px; }
legend {
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em;
  padding: 0 10px; margin-left: -10px; color: var(--accent-strong);
}


/* ---------- legal pages ---------- */
.legal { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.legal__nav { position: sticky; top: 92px; }
.legal__nav ul { list-style: none; margin: 0; padding: 0; }
.legal__nav li { border-top: 1px solid var(--border); }
.legal__nav li:last-child { border-bottom: 1px solid var(--border); }
.legal__nav a { display: block; padding: 10px 0; font-size: 14px; text-decoration: none; color: var(--muted); transition: color .15s, padding-left .15s; }
.legal__nav a:hover { color: var(--accent-strong); padding-left: 5px; }
.legal__nav a[aria-current="page"] { color: var(--fg); font-weight: 550; }
.legal-body { max-width: 74ch; }
.legal-body h2 { font-size: clamp(21px, 2vw, 26px); margin: 46px 0 14px; padding-top: 22px; border-top: 1px solid var(--border); }
.legal-body h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.legal-body h3 { font-size: 18px; margin: 26px 0 10px; }
.legal-body p, .legal-body li { color: var(--ink-soft); font-size: 15.5px; }
.legal-body ul, .legal-body ol { padding-left: 20px; margin: 0 0 1em; }
.legal-body li { margin-bottom: 7px; }
.legal-body table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 14.5px; }
.legal-body th, .legal-body td { border: 1px solid var(--border); padding: 11px 13px; text-align: left; vertical-align: top; color: var(--ink-soft); }
.legal-body th { background: var(--tint); color: var(--fg); font-weight: 600; font-size: 13.5px; letter-spacing: 0.01em; }
.doc-meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }

/* ---------- CTA band ---------- */
.cta-band { border-top: 1px solid var(--border); background: var(--tint); }
.cta-band__inner { padding-top: clamp(44px, 5.5vw, 76px); padding-bottom: clamp(44px, 5.5vw, 76px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 56px); align-items: center; }
.cta-band h2 { max-width: 22ch; }
.cta-band p { margin-top: 14px; color: var(--ink-soft); max-width: 56ch; }

/* ---------- footer ---------- */
.site-footer { background: var(--shade); color: var(--muted); border-top: 1px solid var(--border); }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.footer-top { padding: clamp(44px, 5vw, 68px) 0 36px; display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
.footer-brand .brand__name { color: var(--fg); }
.footer-brand .brand__mark { color: var(--accent-strong); }
.footer-col h4 { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: oklch(72% 0.012 70); font-weight: 500; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col li { font-size: 14.5px; }
.footer-contact { font-size: 14.5px; line-height: 1.75; color: var(--muted); margin-top: 16px; }
.footer-disclaimer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  font-size: 13px; line-height: 1.65; color: var(--muted); letter-spacing: 0.01em;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0 40px;
  display: flex; flex-wrap: wrap; gap: 16px 26px; align-items: center;
  font-size: 13px; color: var(--muted);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 16px 22px; margin-left: auto; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .brand { position: relative; z-index: 1002; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }

  /* ---- scrim ---- */
  .nav-scrim {
    display: block;
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(2, 6, 23, 0.62);
    backdrop-filter: blur(6px) saturate(140%);
    -webkit-backdrop-filter: blur(6px) saturate(140%);
    opacity: 0; visibility: hidden;
    touch-action: none;
    transition: opacity 0.45s ease, visibility 0s linear 0.45s;
  }
  .site-header.open .nav-scrim {
    opacity: 1; visibility: visible;
    transition: opacity 0.45s ease, visibility 0s linear 0s;
  }

  /* ---- drawer ---- */
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; left: auto;
    width: min(400px, 88vw); height: auto; margin: 0; z-index: 1001;
    display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0;
    padding: calc(68px + 30px) 26px max(28px, env(safe-area-inset-bottom)) 26px;
    background:
      radial-gradient(120% 55% at 100% 0%, rgba(212, 175, 55, 0.10), transparent 62%),
      linear-gradient(180deg, #101A2F 0%, #0B1120 58%);
    box-shadow:
      inset 1px 0 0 rgba(212, 175, 55, 0.30),
      -30px 0 64px -26px rgba(0, 0, 0, 0.85);
    transform: translateX(101%);
    visibility: hidden;
    overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    counter-reset: navitem;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.55s;
  }
  .site-header.open .nav {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
  }

  /* staggered reveal of the drawer contents */
  .nav > * {
    opacity: 0;
    transform: translateX(16px);
    transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .site-header.open .nav > * { opacity: 1; transform: none; }
  .site-header.open .nav > *:nth-child(1) { transition-delay: 0.14s; }
  .site-header.open .nav > *:nth-child(2) { transition-delay: 0.20s; }
  .site-header.open .nav > *:nth-child(3) { transition-delay: 0.26s; }
  .site-header.open .nav > *:nth-child(4) { transition-delay: 0.32s; }
  .site-header.open .nav > *:nth-child(5) { transition-delay: 0.38s; }
  .site-header.open .nav > *:nth-child(6) { transition-delay: 0.44s; }

  /* ---- top-level items ---- */
  .nav .nav-item { width: 100%; display: block; height: auto; }
  .nav > a, .nav-item > a {
    display: flex; align-items: center; gap: 14px;
    width: 100%;
    font-family: var(--font-heading-sans);
    font-size: 19px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.25;
    color: var(--ink-soft);
    padding: 17px 2px; border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: transparent;
    transition: color 0.25s ease, border-color 0.3s ease;
  }
  .nav > a:not(.btn)::before, .nav-item > a::before {
    counter-increment: navitem;
    content: counter(navitem, decimal-leading-zero);
    font-family: var(--font-mono);
    font-size: 10.5px; font-weight: 400; letter-spacing: 0.16em;
    color: rgba(212, 175, 55, 0.5);
    flex: none;
    transition: color 0.25s ease;
  }
  .nav > a:hover, .nav > a:active,
  .nav-item > a:hover, .nav-item > a:active { background: transparent; color: var(--fg); }
  .nav > a[aria-current="page"], .nav .has-dropdown > a[aria-current="page"] {
    color: var(--fg); box-shadow: none;
    border-bottom-color: rgba(212, 175, 55, 0.45);
  }
  .nav > a[aria-current="page"]::before,
  .nav .has-dropdown > a[aria-current="page"]::before { color: var(--accent-strong); }
  .nav a:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 2px; }

  .nav .nav-item.has-dropdown { border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
  .nav .nav-item.has-dropdown > a { border-bottom: none; }
  .nav .nav-item.has-dropdown:has(> a[aria-current="page"]) { border-bottom-color: rgba(212, 175, 55, 0.45); }
  .nav .nav-item.has-dropdown.submenu-open { border-bottom-color: rgba(212, 175, 55, 0.3); }

  .nav-caret { margin-left: auto; color: var(--muted); }
  .nav-item.has-dropdown.submenu-open > a { color: var(--fg); }
  .nav-item.has-dropdown.submenu-open > a .nav-caret { transform: rotate(180deg); color: var(--accent-strong); }

  /* ---- accordion submenu (max-height is driven by JS for exact easing) ---- */
  .nav-item.has-dropdown .dropdown {
    position: static; display: block; width: 100%; min-width: 0;
    background: transparent; border: none; border-left: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 0; box-shadow: none;
    margin: 0 0 0 4px;
    /* No vertical padding: under max-height:0 it would act as a height floor and
       leave the collapsed panel 16px tall. The links carry the spacing instead. */
    padding: 0 0 0 18px;
    max-height: 0; overflow: hidden;
    opacity: 0; visibility: hidden; transform: none; pointer-events: none;
    transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, visibility 0s linear 0.45s;
  }
  .nav-item.has-dropdown.submenu-open .dropdown {
    opacity: 1; visibility: visible; pointer-events: auto;
    transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease 0.05s, visibility 0s linear 0s;
  }
  .nav .dropdown a {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-body);
    font-size: 15px; font-weight: 400; letter-spacing: 0;
    color: var(--muted);
    padding: 11px 0; border-bottom: none; background: transparent;
    opacity: 0; transform: translateX(10px);
    transition: color 0.2s ease, opacity 0.35s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nav .dropdown a::before {
    content: ""; flex: none;
    width: 6px; height: 1px; background: currentColor; opacity: 0.6;
    transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nav .dropdown a:first-child { padding-top: 14px; }
  .nav .dropdown a:last-child { padding-bottom: 16px; }
  .nav .dropdown a:hover, .nav .dropdown a:active { background: transparent; color: var(--accent-strong); }
  .nav .dropdown a:hover::before { width: 16px; }
  .nav .dropdown a[aria-current="page"] { color: var(--accent-strong); }
  .submenu-open .dropdown a { opacity: 1; transform: none; }
  .submenu-open .dropdown a:nth-child(1) { transition-delay: 0.06s; }
  .submenu-open .dropdown a:nth-child(2) { transition-delay: 0.10s; }
  .submenu-open .dropdown a:nth-child(3) { transition-delay: 0.14s; }
  .submenu-open .dropdown a:nth-child(4) { transition-delay: 0.18s; }
  .submenu-open .dropdown a:nth-child(5) { transition-delay: 0.22s; }
  .submenu-open .dropdown a:nth-child(6) { transition-delay: 0.26s; }

  /* ---- drawer call to action ---- */
  .nav .btn {
    width: 100%; margin: 26px 0 0;
    min-height: 52px; padding: 15px 22px;
    font-size: 15px; font-weight: 600; letter-spacing: 0.02em;
    border-radius: 3px;
    background: var(--accent-strong); color: #0B1120; border-color: var(--accent-strong);
    box-shadow: 0 12px 30px -14px rgba(212, 175, 55, 0.75);
  }
  .nav .btn:hover, .nav .btn:active {
    background: var(--accent-hover); border-color: var(--accent-hover);
    color: #0B1120; transform: none;
  }

  /* ---- drawer footer ---- */
  .nav-foot {
    display: flex; flex-direction: column; gap: 9px;
    margin-top: auto; padding-top: 30px;
  }
  .nav-foot__label {
    font-family: var(--font-mono);
    font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
    color: rgba(212, 175, 55, 0.75);
    padding-bottom: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 22px;
  }
  .nav .nav-foot__link {
    display: inline-flex; width: auto; align-self: flex-start;
    font-family: var(--font-body);
    font-size: 14.5px; font-weight: 400; letter-spacing: 0;
    color: var(--ink-soft); text-decoration: none;
    padding: 3px 0; border: none; background: transparent;
    transition: color 0.2s ease;
  }
  .nav .nav-foot__link::before { content: none; counter-increment: none; }
  .nav .nav-foot__link:hover, .nav .nav-foot__link:active { color: var(--accent-strong); }
  .nav-foot__social { display: flex; gap: 10px; margin-top: 10px; }
  .nav .nav-foot__social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; padding: 0; flex: none;
    border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 3px;
    color: var(--ink-soft); background: transparent;
    transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  }
  .nav .nav-foot__social a::before { content: none; counter-increment: none; }
  .nav .nav-foot__social a svg { width: 18px; height: 18px; }
  .nav .nav-foot__social a:hover, .nav .nav-foot__social a:active {
    color: var(--accent-strong);
    border-color: rgba(212, 175, 55, 0.5);
    background: rgba(212, 175, 55, 0.08);
  }
  .nav-foot__meta {
    margin-top: 16px;
    font-size: 11.5px; line-height: 1.5; color: var(--muted); opacity: 0.75;
  }

  /* keep the cookie banner from floating over the open drawer */
  body.nav-open .cookie-banner { opacity: 0; pointer-events: none; transform: translateY(24px); }
  .sticky-scroll-section { height: auto !important; }
  .sticky-scroll-container {
    position: relative; top: auto; height: auto; display: block; overflow: visible;
    padding: clamp(40px, 5vw, 68px) 0;
  }
  .scroll-track-wrapper { overflow: visible; }

  .split {
    grid-template-columns: minmax(0, 1fr);
  }
  .process-timeline {
    flex-direction: column;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
    transform: none !important;
  }
  .process-timeline::before,
  .process-timeline::after {
    top: var(--tl-rail-y);
    bottom: var(--tl-rail-y);
    left: 40px;
    width: 2px;
    height: auto;
    right: auto;
    transform-origin: top center;
  }
  .process-timeline::after { transform: scaleY(0); }
  .process-timeline.is-visible::after { transform: scaleY(1); }
  .timeline__step {
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
  }
  .timeline__node { margin-bottom: 0; flex-shrink: 0; }
  .timeline__content { width: 100%; }
  .timeline__step { width: 100%; }

  .hero__grid,
  .divisions-grid, .cols-2, .cols-3, .cols-4, .legal, .bento-grid, .testimonial-grid { grid-template-columns: minmax(0, 1fr); }
  .bento-grid--5 > .bento-card { grid-column: 1 / -1 !important; }
  .legal__nav { position: static; }
  .cta-band__inner { grid-template-columns: minmax(0, 1fr); }
  .deflist > div { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .article-list a { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .step { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .step__n { padding-top: 0; }
  .footer-bottom nav { margin-left: 0; }
}

/* Structured grid for exactly 5 division cards */
.divisions-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(24px, 3vw, 40px);
}
.divisions-grid > .card:nth-child(1),
.divisions-grid > .card:nth-child(2) {
  grid-column: span 3;
}
.divisions-grid > .card:nth-child(3),
.divisions-grid > .card:nth-child(4),
.divisions-grid > .card:nth-child(5) {
  grid-column: span 2;
}
@media (max-width: 900px) {
  .divisions-grid > .card { grid-column: span 3 !important; }
}
@media (max-width: 640px) {
  .divisions-grid > .card { grid-column: span 6 !important; }
}

/* hero index panel */
.index-panel { border: 1px solid var(--border); background: var(--surface); padding: clamp(20px, 2.2vw, 28px); }
.index-panel h2 { font-family: var(--font-mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 6px; }
.index-panel ol { list-style: none; margin: 0; padding: 0; counter-reset: idx; }
.index-panel li { border-top: 1px solid var(--border); counter-increment: idx; }
.index-panel a { display: flex; align-items: baseline; gap: 12px; padding: 11px 0; text-decoration: none; color: var(--fg); font-family: var(--font-heading-sans); font-size: 18px; letter-spacing: -0.01em; transition: color .15s, padding-left .15s; }
.index-panel a::before { content: "0" counter(idx); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--muted); flex: none; }
.index-panel a:hover { color: var(--accent-strong); padding-left: 5px; }
.index-panel a:hover::before { color: var(--accent-strong); }

/* pull quote */
.pullquote { border-top: 1px solid var(--fg); border-bottom: 1px solid var(--border); padding: 26px 0; margin: 0; }
.pullquote p { font-family: var(--font-heading-sans); font-size: clamp(21px, 2.3vw, 29px); line-height: 1.32; letter-spacing: -0.015em; color: var(--fg); max-width: 30ch; }
.pullquote footer { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); margin-top: 16px; }
.section--dark .pullquote { border-top-color: var(--border); border-bottom-color: var(--border); }
.section--dark .pullquote p { color: var(--fg); }
.section--dark .pullquote footer { color: var(--muted); }
.section--dark .ruled-list li { border-color: var(--border); color: var(--ink-soft); }
.section--dark .deflist > div { border-color: var(--border); }
.section--dark .deflist dt { color: var(--fg); }
.section--dark .deflist dd { color: var(--ink-soft); }
.section--dark .textlink { color: var(--fg); border-bottom-color: var(--rule-strong); }
.section--dark .textlink:hover { color: var(--accent-strong); border-bottom-color: var(--accent-strong); }

/* section header block */
.sec-head { max-width: 60ch; margin-bottom: clamp(28px, 3.4vw, 46px); }
.sec-head p { margin-top: 14px; color: var(--ink-soft); }
.sec-head--row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; max-width: none; }
@media (max-width: 700px) { .sec-head--row { grid-template-columns: minmax(0, 1fr); } }

/* multi-column ruled lists: rules must close on every column, not just the last item */
.ruled-list.check-grid { border-top: 1px solid var(--border); }
.ruled-list.check-grid li { border-top: 0; border-bottom: 1px solid var(--border); }
.section--dark .ruled-list.check-grid { border-color: oklch(34% 0.014 70); }

/* policy tables stay readable on small screens without clipping */
.table-scroll { overflow-x: auto; margin: 0 0 1.4em; -webkit-overflow-scrolling: touch; }
.table-scroll table { margin-bottom: 0; }
.table-scroll:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 2px; }
@media (max-width: 640px) {
  .table-scroll table { min-width: 460px; }
  .legal-body th, .legal-body td { padding: 9px 11px; font-size: 13.5px; }
}

.sticky-col { position: sticky; top: var(--top-nav-height); align-self: start; }

/* ---------- Modals ---------- */
.modal {
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--surface);
  color: var(--fg);
  width: min(90vw, 600px);
  max-height: 85vh;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
.modal::backdrop {
  background: rgba(11, 17, 32, 0.7);
  backdrop-filter: blur(4px);
}
.modal__inner {
  padding: clamp(24px, 4vw, 32px);
  overflow-y: auto;
  max-height: calc(85vh - 64px);
}
.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal__close:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--fg);
}

.sticky-scroll-container.is-headless {
  padding-top: clamp(28px, 4vw, 56px);
}

/* ---------- Cookie Consent ---------- */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  margin: 0 auto;
  max-width: 1240px;
  z-index: 9998;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  padding: 24px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}
.cookie-banner[aria-hidden="true"] {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-banner__text {
  flex: 1;
}
.cookie-banner__text p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

@media (min-width: 768px) {
  .cookie-banner__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .cookie-banner__actions {
    flex: none;
  }
}

/* Cookie Modal Toggles */
.cookie-toggle-group {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.cookie-toggle-group:last-of-type {
  border-bottom: none;
}
.cookie-toggle-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.cookie-toggle-header h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}
.cookie-toggle-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.badge--always-active {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(210, 159, 67, 0.1);
  padding: 4px 8px;
  border-radius: 4px;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: var(--rule-strong);
  transition: .4s;
  border-radius: 24px;
}
.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: var(--fg);
  transition: .4s;
  border-radius: 50%;
}
input:checked + .toggle-slider {
  background-color: var(--accent-strong);
}
input:focus + .toggle-slider {
  box-shadow: 0 0 1px var(--accent-strong);
}
input:checked + .toggle-slider:before {
  transform: translateX(20px);
  background-color: #0B1120;
}

/* ---------- mobile drawer: scroll lock + reduced motion ---------- */
html.nav-open, body.nav-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .nav,
  .nav > *,
  .nav-scrim,
  .nav .dropdown,
  .nav .dropdown a,
  .nav-caret,
  .hamburger-line {
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}
