/* ==========================================================================
   AD² — site styles
   Tokens come from the AD² logo palette. Layout uses logical properties
   so the Arabic (RTL) layout mirrors without a second stylesheet.
   ========================================================================== */

:root {
  --ad2-navy: #0E1A2A;
  --ad2-navy-deep: #0A131E;
  --ad2-blue: #0E62C6;
  --ad2-blue-deep: #0B4C9A;
  --ad2-blue-mid: #3E81D1;
  --ad2-blue-light: #7AA9E0;
  --ad2-blue-label: #7FA8D9;
  --ad2-paper: #F4F6F9;
  --ad2-line: #D9DFE8;
  --ad2-slate: #4A5873;
  --ad2-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ad2-font-display: 'Space Grotesk', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --ad2-font-body: 'IBM Plex Sans', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --ad2-font-mono: 'IBM Plex Mono', 'IBM Plex Sans Arabic', ui-monospace, monospace;
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  font-family: var(--ad2-font-body);
  color: var(--ad2-navy);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--ad2-blue-mid);
  outline-offset: 3px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -48px;
  z-index: 2000;
  background: #fff;
  color: var(--ad2-navy);
  padding: 8px 14px;
  transition: top 0.2s var(--ad2-ease);
}

.skip-link:focus {
  top: 12px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--ad2-navy);
  transition: box-shadow 0.4s var(--ad2-ease);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(10, 19, 30, 0.25);
}

.site-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 48px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  position: relative;
  display: block;
  line-height: 0;
}

/* The logo is split in two so the superscript 2 can lift on hover.
   The percentages cut out the top-right corner, where the 2 sits (x 721-898, y 2-127 of 900x444). */
.brand__logo {
  clip-path: polygon(0 0, 80% 0, 80% 29%, 100% 29%, 100% 100%, 0 100%);
}

.brand__sup {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  clip-path: polygon(80% 0, 100% 0, 100% 29%, 80% 29%);
  transition: transform 0.45s var(--ad2-ease), filter 0.45s var(--ad2-ease);
}

.brand:hover .brand__sup,
.brand:focus-visible .brand__sup {
  transform: translateY(-3px);
  filter: brightness(1.25) drop-shadow(0 0 6px rgba(122, 169, 224, 0.5));
}

.brand img {
  display: block;
  height: 80px;
  width: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  padding-block: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}

.site-nav a:hover {
  color: #fff;
}

.site-nav a[aria-current="page"] {
  color: #fff;
  border-bottom-color: var(--ad2-blue-light);
}

.site-header__tools {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-toggle {
  font-family: var(--ad2-font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
}

.lang-toggle:hover {
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle__bar {
  position: relative;
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
}

.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  width: 22px;
  height: 2px;
  background: #fff;
}

.nav-toggle__bar::before {
  top: -7px;
}

.nav-toggle__bar::after {
  top: 7px;
}

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

.ad2-btn {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  padding: 10px 20px;
  border-radius: 3px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

.ad2-btn--lg {
  font-size: 15px;
  padding: 15px 28px;
}

.ad2-btn--primary {
  background: var(--ad2-blue);
  color: #fff;
}

.ad2-btn--primary:hover {
  background: var(--ad2-blue-deep);
  color: #fff;
}

.ad2-btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.ad2-btn--ghost:hover {
  color: #fff;
  border-color: #fff;
}

/* ---------- Typography helpers ---------- */

.eyebrow {
  font-family: var(--ad2-font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.eyebrow--accent {
  color: var(--ad2-blue-light);
  margin-bottom: 20px;
}

.eyebrow--blue {
  color: var(--ad2-blue-deep);
}

.eyebrow--light {
  color: var(--ad2-blue-light);
}

.eyebrow--muted {
  font-size: 10px;
  color: var(--ad2-blue-label);
  margin: 0;
}

.section-title {
  font-family: var(--ad2-font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 38px);
  line-height: 1.15;
  color: var(--ad2-navy);
  margin: 0 0 16px;
}

.section-title--light {
  color: #fff;
  font-size: clamp(26px, 3.2vw, 34px);
  margin-bottom: 48px;
  text-align: center;
}

.section-lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ad2-slate);
  max-width: 560px;
  margin: 0;
}

/* ---------- Hero ---------- */

/* Photo hero: the skyline sits on the right; a dark wash on the copy side keeps the text readable. */
.hero {
  background-color: var(--ad2-navy);
  background-image:
    linear-gradient(90deg, rgba(10, 19, 30, 0.84) 0%, rgba(10, 19, 30, 0.58) 42%, rgba(10, 19, 30, 0.08) 75%),
    linear-gradient(180deg, rgba(10, 19, 30, 0) 70%, rgba(10, 19, 30, 0.7) 100%),
    url("../img/hero/abu-dhabi-dusk.webp");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  color: #fff;
}

[dir="rtl"] .hero {
  background-image:
    linear-gradient(270deg, rgba(10, 19, 30, 0.84) 0%, rgba(10, 19, 30, 0.58) 42%, rgba(10, 19, 30, 0.08) 75%),
    linear-gradient(180deg, rgba(10, 19, 30, 0) 70%, rgba(10, 19, 30, 0.7) 100%),
    url("../img/hero/abu-dhabi-dusk.webp");
}

.hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 48px 136px;
  box-sizing: border-box;
  min-height: clamp(520px, 74vh, 720px);
  display: flex;
  align-items: center;
}

.hero__copy {
  flex: 0 1 620px;
  min-width: 0;
}

.hero__title {
  font-family: var(--ad2-font-display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.08;
  color: #fff;
  margin: 0 0 24px;
}

.hero__accent {
  display: inline-block;
  background: linear-gradient(90deg, var(--ad2-blue-mid), var(--ad2-blue-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: transform 0.45s var(--ad2-ease), filter 0.45s var(--ad2-ease);
}

/* Lifts and brightens as the cursor crosses it, like the superscript 2 in the logo. */
.hero__accent:hover {
  transform: translateY(-4px);
  filter: brightness(1.2) drop-shadow(0 0 12px rgba(122, 169, 224, 0.45));
}

.hero__lead {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 580px;
  margin: 0 0 36px;
}

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

/* A link that reads as plain text until you reach for it: no underline or colour
   change at rest, a soft underline grows in and the colour lifts toward blue on
   hover/focus. Used where "Atlas Security" references the parent company's site —
   present, but never shouting "click me". */
.quiet-link {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  transition: color 0.35s var(--ad2-ease), background-size 0.35s var(--ad2-ease);
}

.quiet-link:hover,
.quiet-link:focus-visible {
  color: var(--ad2-blue-light);
  background-size: 100% 1px;
}

/* ---------- Hero differentiator: Atlas Security vs. AD² ---------- */

.differentiator {
  border-top: 1px solid rgba(217, 223, 232, 0.14);
  background: rgba(10, 19, 30, 0.55);
}

.differentiator__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 48px;
  box-sizing: border-box;
  display: flex;
  align-items: stretch;
}

.differentiator__col {
  flex: 1 1 0;
}

.differentiator__col:first-child {
  padding-inline-end: 40px;
}

.differentiator__col:last-child {
  padding-inline-start: 40px;
}

.differentiator__rule {
  width: 1px;
  flex: 0 0 1px;
  background: rgba(217, 223, 232, 0.18);
}

.differentiator__label {
  font-family: var(--ad2-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ad2-blue-light);
  margin: 0 0 10px;
}

.differentiator__col:last-child .differentiator__label {
  color: var(--ad2-blue-mid);
}

.differentiator__name {
  font-family: var(--ad2-font-display);
  font-weight: 600;
  font-size: 19px;
  color: #fff;
  margin: 0 0 8px;
}

.differentiator__desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
  margin: 0;
}

@media (max-width: 720px) {
  .differentiator__inner {
    flex-direction: column;
    gap: 28px;
  }

  .differentiator__col:first-child,
  .differentiator__col:last-child {
    padding-inline: 0;
  }

  .differentiator__rule {
    display: none;
  }
}

/* ---------- Who we are (Atlas Digital — Abu Dhabi intro) ---------- */

.intro-grid {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.intro-kicker {
  flex: 1 1 320px;
  min-width: 260px;
  font-family: var(--ad2-font-display);
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 27px);
  line-height: 1.35;
  color: var(--ad2-navy);
  margin: 0;
}

.intro-body {
  flex: 1 1 380px;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.intro-body p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ad2-slate);
  margin: 0;
}

.intro-body p:last-child {
  color: var(--ad2-navy);
  font-weight: 500;
}

/* ---------- Approach band (From Systems to Intelligence) ---------- */

.band--approach {
  background: var(--ad2-navy-deep);
  background-image: linear-gradient(135deg, var(--ad2-blue-deep) 0%, var(--ad2-navy-deep) 65%);
}

.band__inner--narrow {
  max-width: 820px;
}

.approach-lead {
  font-size: 17px;
  line-height: 1.5;
  color: #fff;
  font-weight: 500;
  margin: 0 0 16px;
}

.approach-body {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 16px;
}

.approach-body:last-child {
  margin-bottom: 0;
}

/* ---------- AD² difference (closing section) ---------- */

.band--difference {
  background: var(--ad2-navy-deep);
}

.difference__values {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 40px 0 56px;
}

.difference__values p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

.difference__body {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.66);
  max-width: 620px;
  margin: 0 auto 48px;
}

.difference__steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 88px;
  font-family: var(--ad2-font-mono);
  font-size: 13px;
  color: var(--ad2-blue-light);
}

.difference__steps span.sep {
  color: rgba(122, 169, 224, 0.35);
}

.difference__mark {
  border-top: 1px solid rgba(217, 223, 232, 0.14);
  padding-top: 56px;
}

.difference__wordmark {
  font-family: var(--ad2-font-display);
  font-weight: 700;
  font-size: 64px;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: 0.01em;
}

.difference__tagline {
  font-family: var(--ad2-font-mono);
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--ad2-blue-light);
  margin: 0;
}

/* ---------- Bands (full-width sections) ---------- */

.band {
  width: 100%;
}

.band__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 88px 48px;
  box-sizing: border-box;
  position: relative;
}

.band__inner--center {
  text-align: center;
}

.band--paper {
  background: var(--ad2-paper);
}

.band--white {
  background: #fff;
}

.band--ruled {
  border-top: 1px solid var(--ad2-line);
}

.band--deep {
  background: var(--ad2-navy-deep);
}

/* Section background fades from the previous band's colour as it enters. */
.band[data-bg-reveal] {
  transition: background-color 1.2s var(--ad2-ease);
}

.js .band[data-bg-reveal]:not(.is-in) {
  background-color: var(--bg-from);
}

.section-head {
  position: relative;
  margin-bottom: 56px;
}

.section-head > :not(.section-head__watermark) {
  position: relative;
  z-index: 1;
}

.section-head--center {
  text-align: center;
  margin-bottom: 48px;
}

.section-head--center .section-title {
  margin-bottom: 0;
}

.section-head__watermark {
  position: absolute;
  top: -34px;
  inset-inline-start: -4px;
  z-index: 0;
  font-family: var(--ad2-font-display);
  font-weight: 700;
  font-size: 128px;
  line-height: 1;
  color: rgba(14, 26, 42, 0.035);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

/* ---------- Capabilities ---------- */

.cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  position: relative;
  z-index: 1;
}

.cap-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--ad2-line);
  padding: 32px;
  box-sizing: border-box;
  transition: border-color 0.4s var(--ad2-ease);
}

.cap-card:hover {
  border-color: var(--ad2-blue-light);
}

.cap-card::before,
.cap-card::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 0 solid var(--ad2-blue);
  pointer-events: none;
}

.cap-card::before {
  top: -1px;
  inset-inline-start: -1px;
  border-top-width: 2px;
  border-inline-start-width: 2px;
}

.cap-card::after {
  bottom: -1px;
  inset-inline-end: -1px;
  border-bottom-width: 2px;
  border-inline-end-width: 2px;
}

.cap-card__index {
  font-family: var(--ad2-font-mono);
  font-size: 12px;
  color: var(--ad2-blue-deep);
  margin: 0 0 16px;
}

.cap-card__icon {
  display: block;
  width: 30px;
  height: 30px;
  margin-bottom: 16px;
  fill: none;
  stroke: var(--ad2-blue);
  stroke-width: 1.6;
}

.cap-card__title {
  font-family: var(--ad2-font-display);
  font-weight: 600;
  font-size: 19px;
  color: var(--ad2-navy);
  margin: 0 0 10px;
}

.cap-card__text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ad2-slate);
  margin: 0;
}

/* ---------- In action ---------- */

.action__figure {
  max-width: 640px;
  margin: 0 auto 48px;
}

.action__figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* ---------- Film carousel (two project videos, scroll between them) ---------- */

.action__figure--carousel {
  max-width: 760px;
}

.film-carousel {
  position: relative;
}

.film-carousel__media {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--ad2-navy-deep);
  box-shadow: 0 24px 60px -24px rgba(10, 19, 30, 0.55);
}

.film-carousel__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  /* No CSS scroll-behavior here: it fights scroll-snap on a programmatic
     scrollLeft/scrollIntoView call (the jump gets snapped straight back to
     where it started). The dot/arrow clicks in site.js pass their own
     explicit "smooth"/"auto" behavior instead. */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.film-carousel__track::-webkit-scrollbar {
  display: none;
}

.film-carousel__slide {
  position: relative;
  flex: 0 0 100%;
  aspect-ratio: 16 / 9;
  scroll-snap-align: start;
}

.film-carousel__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--ad2-navy-deep);
}

.film-carousel__label {
  position: absolute;
  inset-inline-start: 16px;
  bottom: 16px;
  padding: 6px 14px;
  font-family: var(--ad2-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(10, 19, 30, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  pointer-events: none;
}

.film-carousel__sound {
  position: absolute;
  inset-inline-end: 16px;
  top: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(10, 19, 30, 0.55);
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: background-color 0.3s var(--ad2-ease), border-color 0.3s var(--ad2-ease);
}

.film-carousel__sound:hover {
  background: rgba(10, 19, 30, 0.75);
  border-color: rgba(255, 255, 255, 0.4);
}

.film-carousel__sound-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.film-carousel__sound-icon--on {
  display: none;
}

.film-carousel__sound[aria-pressed="true"] .film-carousel__sound-icon--muted {
  display: none;
}

.film-carousel__sound[aria-pressed="true"] .film-carousel__sound-icon--on {
  display: block;
}

.film-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 18px;
}

.film-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.film-carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: var(--ad2-line);
  cursor: pointer;
  transition: background-color 0.3s var(--ad2-ease), transform 0.3s var(--ad2-ease);
}

.film-carousel__dot[aria-selected="true"] {
  background: var(--ad2-blue);
  transform: scale(1.3);
}

.film-carousel__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--ad2-line);
  border-radius: 999px;
  background: transparent;
  color: var(--ad2-blue-label);
  cursor: pointer;
  transition: border-color 0.3s var(--ad2-ease), color 0.3s var(--ad2-ease), background-color 0.3s var(--ad2-ease);
}

.film-carousel__arrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.film-carousel__arrow:hover {
  border-color: var(--ad2-blue);
  color: #fff;
  background: var(--ad2-blue);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tag {
  font-family: var(--ad2-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ad2-blue-light);
  border: 1px solid rgba(122, 169, 224, 0.4);
  padding: 9px 16px;
}

/* ---------- Logo marquee (clients and partners) ---------- */

.marquee {
  direction: ltr;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee var(--marquee-duration, 40s) linear infinite;
}

.marquee__group {
  display: flex;
  flex-shrink: 0;
}

.marquee__item {
  flex: 0 0 auto;
  width: 200px;
  height: 96px;
  padding: 0 24px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.marquee__item img {
  display: block;
  max-width: 170px;
  max-height: 68px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter 0.4s var(--ad2-ease), opacity 0.4s var(--ad2-ease);
}

.marquee__item.is-active img {
  filter: none;
  opacity: 1;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ad2-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.site-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 48px 32px;
  box-sizing: border-box;
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 40px;
}

.site-footer__logo {
  display: block;
  height: 32px;
  width: auto;
}

.site-footer__tagline {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
  margin: 10px 0 0;
  max-width: 260px;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-size: 13.5px;
}

.site-footer__links a,
.site-footer__bottom a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s;
}

.site-footer__links a:hover,
.site-footer__bottom a:hover {
  color: #fff;
}

.site-footer__partof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  padding-bottom: 28px;
}

.partof-mark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.partof-mark__name {
  font-family: var(--ad2-font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.04em;
}

.partof-mark__city {
  font-family: var(--ad2-font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--ad2-blue-label);
  margin-top: 5px;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-account {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.footer-account__list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-account__link,
.footer-account__button {
  color: rgba(255, 255, 255, 0.45);
  font: inherit;
  background: none;
  border: 0;
  padding: 0;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s;
}

.footer-account__link:hover,
.footer-account__button:hover {
  color: #fff;
}

.footer-account form {
  display: inline;
}

/* ---------- Cursor spotlight on dark sections (mouse only, see site.js) ---------- */

.spotlight {
  position: relative;
  overflow: hidden;
}

.spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle 420px at var(--mx, 50%) var(--my, 50%), rgba(122, 169, 224, 0.14), transparent 70%);
  opacity: 0;
  transition: opacity 0.6s var(--ad2-ease);
}

.spotlight.is-spot::before {
  opacity: 1;
}

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

/* ---------- Scroll reveal (only when JavaScript runs) ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 0.8s var(--ad2-ease) calc(var(--d, 0) * 110ms),
    transform 0.8s var(--ad2-ease) calc(var(--d, 0) * 110ms);
}

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

/* ---------- Responsive ---------- */

@media (max-width: 991.98px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    gap: 14px;
    padding-top: 12px;
  }

  .site-header__tools {
    display: none;
    order: 4;
    width: 100%;
    flex-wrap: wrap;
    padding-top: 16px;
  }

  .site-header.nav-open .site-nav,
  .site-header.nav-open .site-header__tools {
    display: flex;
  }
}

@media (max-width: 767.98px) {
  .site-header__inner,
  .hero__inner,
  .band__inner,
  .site-footer__inner {
    padding-inline: 20px;
  }

  .brand img {
    height: 60px;
    width: auto;
  }

  .hero__inner {
    padding-block: 64px 72px;
  }

  .hero__lead {
    font-size: 16px;
  }

  .band__inner {
    padding-block: 64px;
  }

  .section-head__watermark {
    font-size: 84px;
  }

  .site-footer__inner {
    padding-block: 40px 24px;
  }
}

/* ---------- Reduced motion: keep the content, drop the movement ---------- */

@media (prefers-reduced-motion: reduce) {
  .brand__sup,
  .hero__accent {
    transition: none;
  }

  .marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .marquee__track {
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 24px;
    animation: none;
  }

  .marquee__group {
    flex-wrap: wrap;
    justify-content: center;
    flex: 1 1 auto;
  }

  .marquee__group[aria-hidden="true"],
  .marquee__item[data-copy="true"] {
    display: none;
  }

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

  .band[data-bg-reveal] {
    transition: none;
  }
}
