/* ============================================================
   VTS Oman — Global Stylesheet
   Design system ref: VTS-Website-Specification/02-design-system.md
   ============================================================ */

/* ---------- Tokens ----------
   Official VTS Consulting palette: navy 061d4e, brand blue 046ef0, cyan 00c3f4, indigo accent (light 7C86FF). */
:root {
  --navy-950: #04122e;
  --navy-900: #061d4e;
  --navy-800: #0c2a63;
  --blue-600: #046ef0;
  --cyan-400: #00c3f4;
  --gold-400: #7C86FF;
  --white: #FFFFFF;
  --mist-50: #F3F6FC;
  --mist-100: #E4EAF4;
  --slate-500: #5a6a8a;
  --slate-300: #9fb2d6;
  --ink-900: #0d1526;
  --success: #2E9E6B;
  --error: #D5484A;

  --font-display: "Barlow", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-soft: cubic-bezier(0.45, 0, 0.55, 1);

  --container: 1200px;
  --header-h: 92px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

:focus-visible {
  outline: 2px solid var(--cyan-400);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--cyan-400); color: var(--navy-950);
  padding: 12px 20px; font-weight: 600; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

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

[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.015em; font-weight: 600; }
.display-xl { font-size: clamp(40px, 6vw, 72px); }
.display-lg { font-size: clamp(34px, 4.6vw, 56px); }
h2, .h2 { font-size: clamp(28px, 3.2vw, 40px); }
h3, .h3 { font-size: clamp(22px, 2.2vw, 28px); }
h4, .h4 { font-size: clamp(18px, 1.6vw, 20px); }
.body-lg { font-size: clamp(17px, 1.4vw, 18px); }

/* Section labels — editorial style: display face, natural case, accent dash
   (replaces the uppercase-mono look shared by every label) */
.eyebrow {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.015em;
  color: var(--cyan-400);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  flex: none;
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-400));
}
.hero-inner .eyebrow, .center .eyebrow { justify-content: flex-start; }
.center .eyebrow { justify-content: center; }
.section--light .eyebrow, .section--mist .eyebrow { color: var(--blue-600); }
.mono { font-family: var(--font-mono); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 128px); position: relative; overflow: hidden; }
.section--light { background: var(--white); color: var(--ink-900); }
.section--mist { background: var(--mist-50); color: var(--ink-900); }
.section--dark { background: var(--navy-900); color: var(--white); }
.section--midnight { background: var(--navy-950); color: var(--white); }
.section--dark .muted, .section--midnight .muted { color: var(--slate-300); }
.section--light .muted, .section--mist .muted { color: var(--slate-500); }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head p { margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 16px; text-decoration: none;
  height: 48px; padding-inline: 28px; border-radius: 8px;
  transition: background 0.2s var(--ease-soft), transform 0.2s var(--ease-soft), border-color 0.2s;
  white-space: nowrap;
}
.btn .arrow { transition: transform 0.25s var(--ease-out-quart); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--primary { background: var(--blue-600); color: var(--white); }
.btn--primary:hover { background: #2f86ff; }
.btn--cyan { background: var(--cyan-400); color: var(--navy-950); }
.btn--cyan:hover { background: #33d3fb; }
.btn--outline { border: 1px solid currentColor; background: transparent; color: inherit; }
.btn--outline:hover { background: rgba(255, 255, 255, 0.08); }
.section--light .btn--outline:hover, .section--mist .btn--outline:hover { background: rgba(15, 24, 38, 0.06); }
.btn--sm { height: 42px; padding-inline: 20px; font-size: 15px; }
.btn--whatsapp { background: #1FA855; color: #fff; }
.btn--whatsapp:hover { background: #24bf61; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; text-decoration: none; color: var(--blue-600);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px; background-repeat: no-repeat; background-position: left bottom;
  transition: background-size 0.3s var(--ease-out-quart);
  padding-bottom: 2px;
}
.link-arrow:hover { background-size: 100% 1px; }
.section--dark .link-arrow, .section--midnight .link-arrow { color: var(--cyan-400); }

.cta-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  height: var(--header-h);
  transition: background 0.3s var(--ease-soft), border-color 0.3s, height 0.3s;
  border-bottom: 1px solid transparent;
  color: var(--white);
}
.site-header.scrolled {
  background: rgba(10, 20, 35, 0.72);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  height: 80px;
}
.header-inner { display: flex; align-items: center; gap: 32px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: 0.02em; }
.brand svg { width: 34px; height: 34px; }
.brand .vts-mark { width: auto; height: 30px; }
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; gap: 8px; list-style: none; }
.primary-nav a {
  display: block; padding: 8px 14px; text-decoration: none; font-size: 15px; font-weight: 500;
  color: rgba(255, 255, 255, 0.85); border-bottom: 2px solid transparent;
  transition: color 0.2s;
}
.primary-nav a:hover { color: var(--white); }
.primary-nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--cyan-400); }
.header-cta { flex-shrink: 0; }

.nav-toggle { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; z-index: 130; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 24px; height: 2px; background: var(--white); position: relative; transition: transform 0.3s, opacity 0.3s;
  content: ""; margin-inline: auto;
}
.nav-toggle span::before { position: absolute; top: -7px; left: 0; }
.nav-toggle span::after { position: absolute; top: 7px; left: 0; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 120; background: var(--navy-950); color: var(--white);
  display: none; flex-direction: column; padding: 110px 32px 48px;
}
.mobile-menu.open { display: flex; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a.menu-link {
  font-family: var(--font-display); font-size: 32px; font-weight: 600; text-decoration: none;
  padding: 10px 0; display: block; color: var(--white);
}
.mobile-menu a.menu-link[aria-current="page"] { color: var(--cyan-400); }
.mobile-menu .menu-foot { margin-top: auto; display: flex; flex-direction: column; gap: 14px; }
.mobile-menu .menu-foot a { color: var(--slate-300); text-decoration: none; }

@media (max-width: 900px) {
  .primary-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; display: flex; align-items: center;
  min-height: 100vh; min-height: 100svh;
  background:
    radial-gradient(120% 90% at 70% 10%, var(--navy-800) 0%, var(--navy-950) 65%);
  color: var(--white); overflow: hidden;
  padding-top: var(--header-h);
}
.hero--page { min-height: 60vh; }
.hero--compact { min-height: 44vh; padding-block: 140px 72px; }
.hero-art { position: absolute; inset: 0; pointer-events: none; opacity: 0.85; }
.hero-inner { position: relative; max-width: 720px; }
.hero-inner .sub { margin-top: 24px; font-size: clamp(17px, 1.5vw, 19px); color: var(--slate-300); max-width: 560px; }
.scroll-cue {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--slate-300);
}
.scroll-cue::after {
  content: ""; width: 1px; height: 48px; background: linear-gradient(var(--cyan-400), transparent);
  animation: cuePulse 2.2s var(--ease-soft) infinite;
}
@keyframes cuePulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }

/* ---------- Grids / cards ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  border: 1px solid var(--mist-100); border-radius: 16px; padding: 32px;
  background: var(--white); position: relative;
  transition: transform 0.3s var(--ease-out-quart), box-shadow 0.3s var(--ease-out-quart);
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; height: 2px; width: 0;
  background: var(--cyan-400); transition: width 0.3s var(--ease-out-quart);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(7, 12, 22, 0.35); }
.card:hover::before { width: 100%; }
.card .icon { color: var(--blue-600); margin-bottom: 20px; }
.card h3 { margin-bottom: 12px; font-size: 22px; }
.card p { color: var(--slate-500); margin-bottom: 20px; }

.section--dark .card, .section--midnight .card {
  background: var(--navy-800); border-color: rgba(255, 255, 255, 0.08);
}
.section--dark .card p, .section--midnight .card p { color: var(--slate-300); }
.section--dark .card .icon, .section--midnight .card .icon { color: var(--cyan-400); }

.pillar { padding: 8px 0; }
.pillar .icon { color: var(--blue-600); margin-bottom: 16px; }
.pillar h4 { margin-bottom: 8px; }
.pillar p { color: var(--slate-500); font-size: 15px; }

/* ---------- Map panel ---------- */
.map-panel { position: relative; }
.map-svg-wrap { position: relative; border: 1px solid rgba(255,255,255,0.08); border-radius: 24px; overflow: hidden; background: var(--navy-950); }
.map-svg-wrap svg { width: 100%; height: auto; }
.map-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.map-links a {
  font-family: var(--font-mono); font-size: 13px; text-decoration: none;
  color: var(--slate-300); border: 1px solid rgba(255,255,255,0.14); border-radius: 999px;
  padding: 8px 18px; transition: color 0.2s, border-color 0.2s;
}
.map-links a:hover { color: var(--cyan-400); border-color: var(--cyan-400); }

.marker-pulse { animation: markerPulse 2.4s ease-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes markerPulse { 0% { opacity: 0.7; transform: scale(0.6); } 70% { opacity: 0; transform: scale(2.2); } 100% { opacity: 0; transform: scale(2.2); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  background: rgba(10, 35, 80, 0.55); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px; padding: 32px 28px;
}
.stat .value { font-family: var(--font-mono); font-size: clamp(34px, 3.6vw, 48px); font-weight: 600; color: var(--cyan-400); line-height: 1; }
.stat .label { margin-top: 12px; color: var(--slate-300); font-size: 14px; }

/* ---------- Chips ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  border: 1px solid var(--mist-100); border-radius: 999px; padding: 12px 24px;
  font-weight: 500; font-size: 15px; color: var(--ink-900); background: var(--white);
}
@media (max-width: 640px) {
  .chip-row { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
  .chip { white-space: nowrap; scroll-snap-align: start; }
}

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split-media { border-radius: 24px; overflow: hidden; border: 1px solid var(--mist-100); background: var(--navy-900); }
.split-media svg { width: 100%; height: auto; }
.checklist { list-style: none; margin-top: 28px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checklist svg { flex-shrink: 0; margin-top: 3px; color: var(--success); }

/* ---------- Logo strip / grid ---------- */
.logo-strip { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.logo-tile {
  display: flex; align-items: center; justify-content: center; text-decoration: none;
  min-width: 180px; height: 96px; flex: 1 1 180px; max-width: 260px;
  border: 1px solid var(--mist-100); border-radius: 12px;
  font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.1em; color: var(--slate-500);
  background: var(--white);
  transition: transform 0.25s var(--ease-out-quart), box-shadow 0.25s, color 0.25s;
}
.logo-tile:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 32px -20px rgba(7, 12, 22,0.3); color: var(--blue-600); }

.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--mist-100); border: 1px solid var(--mist-100); border-radius: 16px; overflow: hidden; }
@media (max-width: 900px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } }
.logo-cell {
  aspect-ratio: 3 / 2; display: flex; flex-direction: column; gap: 8px; align-items: center; justify-content: center;
  background: var(--mist-50); text-decoration: none; color: var(--slate-500);
  transition: background 0.25s, transform 0.25s var(--ease-out-quart), box-shadow 0.25s;
}
.logo-cell .initials { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--slate-300); transition: color 0.25s; }
.logo-cell .pending { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.logo-cell:hover, .logo-cell:focus-visible { background: var(--white); transform: scale(1.03); box-shadow: 0 16px 40px -24px rgba(7, 12, 22,0.35); }
.logo-cell:hover .initials { color: var(--blue-600); }
.logo-cell--named { aspect-ratio: auto; min-height: 132px; padding: 18px 14px; }
.logo-cell--named .logo-mark { height: 56px; display: flex; align-items: center; justify-content: center; }
.logo-cell--named .logo-mark img { max-height: 52px; max-width: 120px; object-fit: contain; }
.logo-cell--named.no-logo .logo-mark img { display: none; }
.logo-cell--named .logo-name {
  font-family: var(--font-body, "Inter", sans-serif); font-size: 12.5px; font-weight: 600; line-height: 1.35;
  color: var(--slate-500); text-align: center; max-width: 210px;
}
.logo-cell--named:hover .logo-name { color: var(--blue-600); }

/* ---------- Partner globe ---------- */
.globe-section .center h2 { color: var(--white); }
.partner-globe {
  position: relative; height: 660px; margin: 36px auto 0; max-width: 1220px;
  -webkit-user-select: none; user-select: none;
}
/* globe-wire SVG self-centers via xMidYMid meet inside the wide container */
.globe-wire {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
}
.globe-chips { position: absolute; inset: 0; }
.p-chip {
  position: absolute; top: 0; left: 0; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 7px; border-radius: 999px; text-decoration: none; white-space: nowrap;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(0, 195, 244, 0.25);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #dbe7ff; font-family: var(--font-body, "Inter", sans-serif); font-size: 12px; font-weight: 600;
  will-change: transform, opacity; transition: border-color 0.2s, background 0.2s;
}
.p-chip img { width: 22px; height: 22px; object-fit: contain; border-radius: 50%; background: #fff; padding: 2px; }
.p-chip b {
  width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue-600); color: #fff; font-size: 9px; letter-spacing: 0.04em;
}
.p-chip span { max-width: 168px; overflow: hidden; text-overflow: ellipsis; }
.p-chip:hover { border-color: var(--cyan-400); background: rgba(4, 110, 240, 0.35); color: #fff; }
.globe-hint { margin-top: 18px; font-family: var(--font-display); font-weight: 600; letter-spacing: 0.015em; font-size: 13px; color: rgba(219, 231, 255, 0.45); }
/* Globe and directory show the same 41 partners — the globe is the visible
   display on every screen size; the directory stays in the DOM for assistive
   tech and search engines only. */
.partner-directory {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
@media (max-width: 720px) {
  .partner-globe { height: 460px; }
}
@media (max-width: 720px) {
  .partner-globe { height: 440px; }
  .p-chip { font-size: 10.5px; padding: 4px 9px 4px 5px; }
  .p-chip span { max-width: 110px; }
  .p-chip img, .p-chip b { width: 18px; height: 18px; }
}

/* ---------- Testimonials ---------- */
.carousel { position: relative; max-width: 820px; margin-inline: auto; text-align: center; }
.carousel-track { position: relative; min-height: 240px; }
.t-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s var(--ease-soft); visibility: hidden; }
.t-slide.active { opacity: 1; visibility: visible; position: relative; }
.t-slide blockquote { font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 28px); line-height: 1.4; font-weight: 500; }
.t-slide blockquote::before { content: "“"; display: block; font-size: 64px; color: var(--gold-400); line-height: 1; margin-bottom: 8px; }
.t-slide cite { display: block; margin-top: 20px; font-style: normal; color: var(--slate-500); font-size: 15px; }
.carousel-controls { display: flex; gap: 16px; align-items: center; justify-content: center; margin-top: 32px; }
.carousel-controls .dots { display: flex; gap: 8px; }
.carousel-controls .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mist-100); border: none; padding: 0; transition: background 0.2s, transform 0.2s; }
.carousel-controls .dot[aria-current="true"] { background: var(--blue-600); transform: scale(1.3); }
.carousel-controls .c-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--mist-100); display: flex; align-items: center; justify-content: center; color: var(--ink-900); transition: border-color 0.2s, color 0.2s; }
.carousel-controls .c-btn:hover { border-color: var(--blue-600); color: var(--blue-600); }
.sample-note { text-align: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-300); margin-top: 24px; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .hero-art { opacity: 0.35; }
.cta-band h2 { max-width: 640px; margin-inline: auto; }
.cta-band p { max-width: 520px; margin: 20px auto 0; color: var(--slate-300); }
.cta-band .cta-row { justify-content: center; }

/* ---------- Accordion ---------- */
.accordion { border-top: 1px solid var(--mist-100); }
.section--dark .accordion, .section--midnight .accordion { border-color: rgba(255,255,255,0.1); }
.acc-item { border-bottom: 1px solid var(--mist-100); position: relative; }
.section--dark .acc-item { border-color: rgba(255,255,255,0.1); }
.acc-item::before {
  content: ""; position: absolute; left: 0; top: 0; width: 2px; height: 0;
  background: var(--cyan-400); transition: height 0.4s var(--ease-out-quart);
}
.acc-item.open::before { height: 100%; }
.acc-head {
  display: flex; align-items: center; gap: 24px; width: 100%; text-align: left;
  padding: 28px 8px 28px 24px; font-family: var(--font-display);
}
.acc-head .index { font-family: var(--font-mono); font-size: 14px; color: var(--gold-400); flex-shrink: 0; }
.acc-head .title { font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; }
.acc-head .summary { font-family: var(--font-body); color: var(--slate-500); font-size: 15px; margin-left: auto; max-width: 320px; text-align: right; }
.section--dark .acc-head .summary { color: var(--slate-300); }
.acc-head .plus { flex-shrink: 0; margin-left: 16px; width: 40px; height: 40px; border: 1px solid var(--mist-100); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform 0.3s var(--ease-out-quart), border-color 0.2s, color 0.2s; }
.acc-item.open .acc-head .plus { transform: rotate(45deg); border-color: var(--cyan-400); color: var(--cyan-400); }
@media (max-width: 800px) { .acc-head .summary { display: none; } }

.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease-soft); }
/* auto-switch collapses instantly (scroll-compensated); only expansion animates */
.acc-item.snap > .acc-panel { transition: none; }
.acc-item.open > .acc-panel { grid-template-rows: 1fr; }
.acc-panel > .acc-body { overflow: hidden; }
.acc-body-inner { padding: 8px 24px 48px; }

.acc-item .acc-body-inner h4 { margin: 28px 0 12px; color: var(--blue-600); font-family: var(--font-display); font-weight: 600; letter-spacing: 0.015em; font-size: 15px; }
.section--dark .acc-body-inner h4 { color: var(--cyan-400); }
.acc-body-inner ul { padding-left: 20px; display: grid; gap: 8px; color: var(--slate-500); }
.section--dark .acc-body-inner ul { color: var(--slate-300); }
.acc-body-inner > p { color: var(--slate-500); max-width: 760px; }
.section--dark .acc-body-inner > p { color: var(--slate-300); }

.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 48px; }
@media (max-width: 800px) { .detail-grid { grid-template-columns: 1fr; } }

.process-steps { list-style: none; counter-reset: step; display: grid; gap: 20px; padding: 0 !important; margin-top: 4px; }
.process-steps li { counter-increment: step; display: flex; gap: 18px; align-items: flex-start; }
.process-steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono); font-size: 13px; color: var(--gold-400);
  border: 1px solid currentColor; border-radius: 50%; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.process-steps strong { display: block; color: var(--ink-900); }
.section--dark .process-steps strong { color: var(--white); }

/* FAQ nested accordion */
.faq .acc-head { padding: 18px 8px 18px 0; }
.faq .acc-head .title { font-size: 17px; font-family: var(--font-body); font-weight: 600; }
.faq .acc-head .plus { width: 32px; height: 32px; }
.faq .acc-body-inner { padding: 0 0 20px; }

/* ---------- Steps row ---------- */
.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 800px) { .steps-row { grid-template-columns: 1fr; } }
.step-mini { border-left: 2px solid var(--cyan-400); padding-left: 20px; }
.step-mini .k { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.015em; font-size: 13.5px; color: var(--gold-400); }
.step-mini h3 { font-size: 19px; margin: 8px 0 6px; }
.step-mini p { color: var(--slate-300); font-size: 15px; }
.section--light .step-mini p, .section--mist .step-mini p { color: var(--slate-500); }

/* ---------- Filters ---------- */
.filter-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.filter-pill {
  border: 1px solid rgba(255,255,255,0.2); color: var(--slate-300); border-radius: 999px;
  padding: 10px 22px; font-size: 14px; font-weight: 500; transition: all 0.2s;
}
.filter-pill:hover { border-color: var(--cyan-400); color: var(--white); }
.filter-pill[aria-pressed="true"] { background: var(--cyan-400); border-color: var(--cyan-400); color: var(--navy-950); }
@media (max-width: 640px) { .filter-pills { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; } .filter-pill { white-space: nowrap; } }

/* ---------- Timeline ---------- */
.timeline { list-style: none; position: relative; margin-top: 24px; }
.timeline::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 20px; width: 2px;
  background: linear-gradient(var(--mist-100) 80%, transparent);
}
.timeline-item { position: relative; padding: 0 0 56px 64px; }
.timeline-item.hidden { display: none; }
.timeline-item::before {
  content: ""; position: absolute; left: 12px; top: 6px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--white); border: 2px solid var(--gold-400);
}
.timeline-item .t-year { font-family: var(--font-mono); font-size: 13px; color: var(--gold-400); letter-spacing: 0.1em; }
/* Cinematic timeline (states applied only when JS adds .cine, so no-JS stays visible) */
.timeline.cine .timeline-item::before { transform: scale(0); transition: transform 0.5s var(--ease-out-quart) 0.15s; }
.timeline.cine .timeline-item.t-in::before { transform: scale(1); }
.timeline.cine .t-year { opacity: 0; transform: translateX(-38px); transition: opacity 0.55s var(--ease-out-quart) 0.05s, transform 0.55s var(--ease-out-quart) 0.05s; display: inline-block; }
.timeline.cine .proj-line, .timeline.cine .proj-desc { opacity: 0; transform: translateY(28px); transition: opacity 0.6s var(--ease-out-quart) 0.15s, transform 0.6s var(--ease-out-quart) 0.15s; }
.timeline.cine .proj-desc { transition-delay: 0.22s; }
.timeline.cine .project-media { clip-path: inset(0 96% 0 0); transition: clip-path 0.95s var(--ease-out-quart) 0.1s; }
.timeline.cine .timeline-item:nth-child(even) .project-media { clip-path: inset(0 0 0 96%); }
.timeline.cine .project-media img { transform: scale(1.16); transition: transform 1.7s cubic-bezier(0.22, 0.61, 0.36, 1) 0.1s; }
.timeline.cine .timeline-item.t-in .t-year { opacity: 1; transform: none; }
.timeline.cine .timeline-item.t-in .proj-line, .timeline.cine .timeline-item.t-in .proj-desc { opacity: 1; transform: none; }
.timeline.cine .timeline-item.t-in .project-media { clip-path: inset(0 0 0 0); }
.timeline.cine .timeline-item.t-in .project-media img { transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
  .timeline.cine .t-year, .timeline.cine .proj-line, .timeline.cine .proj-desc, .timeline.cine .project-media,
  .timeline.cine .project-media img, .timeline.cine .timeline-item::before {
    opacity: 1; transform: none; clip-path: none; transition: none;
  }
}
.project-card {
  margin-top: 12px; border: 1px solid var(--mist-100); border-radius: 16px; background: var(--white); overflow: hidden;
  transition: transform 0.3s var(--ease-out-quart), box-shadow 0.3s;
}
.project-card:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -28px rgba(7, 12, 22,0.35); }
.project-media { aspect-ratio: 16 / 7; overflow: hidden; background: var(--navy-900); }
.project-media svg { width: 100%; height: 100%; transition: transform 0.6s var(--ease-out-quart); }
.project-card:hover .project-media svg { transform: scale(1.04); }
.project-body { padding: 28px 32px 32px; }
.project-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 10px; }
.project-meta .loc { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.015em; font-size: 14px; color: var(--slate-500); }
.tag { font-size: 12px; font-weight: 600; border: 1px solid var(--mist-100); color: var(--blue-600); border-radius: 999px; padding: 3px 12px; }
.project-body h3 { margin-bottom: 8px; }
.project-body > p { color: var(--slate-500); }
.placeholder-flag { display: inline-block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-400); border: 1px dashed var(--gold-400); border-radius: 4px; padding: 2px 8px; margin-bottom: 12px; }

/* Project photo gallery (thumbnails swap the main image) */
.proj-gallery { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 6px; }
.pg-thumb {
  flex: none; width: 84px; height: 56px; padding: 0; cursor: pointer;
  border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: none;
  opacity: 0.75; transition: opacity 0.25s, border-color 0.25s, transform 0.25s var(--ease-out-quart);
}
.pg-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pg-thumb:hover { opacity: 1; transform: translateY(-2px); }
.pg-thumb.active { opacity: 1; border-color: var(--blue-600); }
@media (max-width: 640px) { .pg-thumb { width: 68px; height: 46px; } }

/* ---------- Team ---------- */
.team-row { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: center; padding-block: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--mist-100); }
.team-row:last-of-type { border-bottom: none; }
@media (max-width: 800px) { .team-row { grid-template-columns: 1fr; } .team-row.flip .team-media { order: -1; } }
@media (min-width: 801px) { .team-row.flip .team-media { order: 2; } }
.team-media { border-radius: 24px; overflow: hidden; background: var(--navy-900); aspect-ratio: 4 / 5; max-width: 420px; }
/* Team rows: portrait wipes in from the outside edge, text cascades, chips pop */
.team-row[data-reveal] { opacity: 1; transform: none; filter: none; }
.team-row[data-reveal] .team-media { clip-path: inset(0 100% 0 0); transition: clip-path 0.9s var(--ease-out-quart); }
.team-row.flip[data-reveal] .team-media { clip-path: inset(0 0 0 100%); }
.team-row[data-reveal] .team-media img, .team-row[data-reveal] .team-media svg { transform: scale(1.14); transition: transform 1.5s cubic-bezier(0.22, 0.61, 0.36, 1); }
.team-row[data-reveal] .team-info > * { opacity: 0; transform: translateY(26px); transition: opacity 0.6s var(--ease-out-quart), transform 0.6s var(--ease-out-quart); }
.team-row[data-reveal] .expertise li { opacity: 0; transform: scale(0.7); transition: opacity 0.45s var(--ease-out-quart), transform 0.45s var(--ease-out-quart); }
.team-row[data-reveal].revealed .team-media { clip-path: inset(0 0 0 0); }
.team-row[data-reveal].revealed .team-media img, .team-row[data-reveal].revealed .team-media svg { transform: scale(1); }
.team-row[data-reveal].revealed .team-info > * { opacity: 1; transform: none; }
.team-row[data-reveal].revealed .team-info > *:nth-child(2) { transition-delay: 0.1s; }
.team-row[data-reveal].revealed .team-info > *:nth-child(3) { transition-delay: 0.18s; }
.team-row[data-reveal].revealed .team-info > *:nth-child(4) { transition-delay: 0.26s; }
.team-row[data-reveal].revealed .team-info > *:nth-child(5) { transition-delay: 0.34s; }
.team-row[data-reveal].revealed .expertise li { opacity: 1; transform: none; }
.team-row[data-reveal].revealed .expertise li:nth-child(2) { transition-delay: 0.32s; }
.team-row[data-reveal].revealed .expertise li:nth-child(3) { transition-delay: 0.4s; }
.team-row[data-reveal].revealed .expertise li:nth-child(4) { transition-delay: 0.48s; }
.team-row[data-reveal].revealed .expertise li:nth-child(5) { transition-delay: 0.56s; }
@media (prefers-reduced-motion: reduce) {
  .team-row[data-reveal] .team-media, .team-row[data-reveal] .team-media img, .team-row[data-reveal] .team-media svg,
  .team-row[data-reveal] .team-info > *, .team-row[data-reveal] .expertise li {
    opacity: 1; transform: none; clip-path: none; transition: none;
  }
}
.team-media svg { width: 100%; height: 100%; }
.team-info .role { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.015em; font-size: 15px; color: var(--blue-600); display: block; margin-bottom: 10px; }
.team-info h3 { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 16px; }
.team-info p { color: var(--slate-500); margin-bottom: 20px; }
.expertise { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.team-links { display: flex; gap: 16px; align-items: center; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--mist-100);
  display: inline-flex; align-items: center; justify-content: center; color: var(--slate-500);
  transition: color 0.2s, border-color 0.2s; text-decoration: none;
}
.icon-btn:hover { color: var(--blue-600); border-color: var(--blue-600); }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } .contact-form-wrap { order: -1; } }
.channel-list { display: grid; gap: 8px; }
.channel {
  display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--mist-100);
  border-radius: 12px; text-decoration: none; transition: border-color 0.2s, transform 0.2s var(--ease-out-quart);
}
a.channel:hover { border-color: var(--blue-600); transform: translateY(-2px); }
.channel .icon { color: var(--blue-600); flex-shrink: 0; margin-top: 2px; }
.channel .k { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.015em; font-size: 13px; color: var(--slate-500); display: block; }
.channel .v { font-weight: 600; color: var(--ink-900); }
.channel .note { font-size: 13px; color: var(--slate-500); }
.hours-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours-table td { padding: 10px 0; border-bottom: 1px solid var(--mist-100); }
.hours-table td:last-child { text-align: right; font-family: var(--font-mono); font-size: 13px; }

.contact-form-wrap { border: 1px solid var(--mist-100); border-radius: 24px; padding: clamp(28px, 4vw, 48px); background: var(--white); box-shadow: 0 32px 64px -48px rgba(7, 12, 22,0.25); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 14px; }
.field label .req { color: var(--error); }
.field input, .field select, .field textarea {
  height: 52px; border: 1px solid var(--mist-100); border-radius: 4px; padding: 0 16px;
  font: inherit; font-size: 16px; color: var(--ink-900); background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s; width: 100%;
}
.field textarea { height: auto; min-height: 140px; padding: 14px 16px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan-400); box-shadow: 0 0 0 2px rgba(59, 193, 232, 0.3);
}
.consent { flex-direction: row; align-items: flex-start; gap: 12px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue-600); flex-shrink: 0; }
.consent label { font-weight: 400; font-size: 14px; color: var(--slate-500); }
.form-note { font-size: 12px; color: var(--slate-500); margin-top: 16px; }
.hidden-field { position: absolute; left: -9999px; }

/* ---------- News ---------- */
.news-card { display: flex; flex-direction: column; }
.news-card h3 { font-size: 20px; }
.news-card p { margin-bottom: 12px; }
.news-media { border-radius: 10px; overflow: hidden; margin-bottom: 20px; aspect-ratio: 16 / 9; background: var(--navy-900); }
.news-media img { width: 100%; height: 100%; object-fit: cover; }
.news-date { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.015em; font-size: 13px; color: var(--slate-500); }

/* Admin-uploaded images replacing placeholder art */
.project-media img, .team-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media img { width: 100%; height: auto; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--white); position: relative; }
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: repeating-linear-gradient(90deg, var(--gold-400) 0 24px, transparent 24px 48px);
  opacity: 0.5;
}
.footer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: 56px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-cta h2 { font-size: clamp(26px, 3vw, 36px); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 48px; padding-block: 64px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.015em; font-size: 14px; color: var(--slate-300); margin-bottom: 20px; }
.footer-grid ul { list-style: none; display: grid; gap: 12px; }
.footer-grid a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 15px; transition: color 0.2s; }
.footer-grid a:hover { color: var(--cyan-400); }
.footer-brand p { color: var(--slate-300); font-size: 15px; margin: 16px 0 24px; max-width: 280px; }
.social-row { display: flex; gap: 12px; }
.social-row .icon-btn { border-color: rgba(255,255,255,0.15); color: var(--slate-300); }
.social-row .icon-btn:hover { color: var(--cyan-400); border-color: var(--cyan-400); }
.footer-utility { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; padding-block: 24px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 13px; color: var(--slate-300); }
.footer-utility a { color: var(--slate-300); text-decoration: none; }
.footer-utility a:hover { color: var(--white); }
.footer-utility .sec-note { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
@media (max-width: 700px) { .footer-utility .sec-note { margin-left: 0; } }

/* ---------- Thank you ---------- */
.thanks-hero { min-height: 80vh; display: flex; align-items: center; text-align: center; }
.thanks-hero .hero-inner { max-width: 640px; margin-inline: auto; }

/* ---------- Reveal animations ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(42px) scale(0.985); filter: blur(6px);
  transition: opacity 0.75s var(--ease-out-quart), transform 0.75s var(--ease-out-quart), filter 0.75s var(--ease-out-quart);
}
[data-reveal].revealed { opacity: 1; transform: none; filter: none; }
/* directional / effect variants (re-trigger on scroll up and down) */
[data-reveal][data-fx="slide-l"] { transform: translateX(-56px) scale(0.99); }
[data-reveal][data-fx="slide-r"] { transform: translateX(56px) scale(0.99); }
[data-reveal][data-fx="zoom"] { transform: scale(0.9); }
[data-reveal][data-fx="wipe"] {
  transform: none; filter: none;
  clip-path: inset(0 100% 0 0); transition: clip-path 0.9s var(--ease-out-quart), opacity 0.5s;
}
[data-reveal][data-fx="wipe"].revealed { clip-path: inset(0 0 0 0); }
/* fx variants are declared after the generic .revealed reset, so the reset
   must be restated at fx specificity or revealed elements stay offset */
[data-reveal][data-fx].revealed { transform: none; filter: none; opacity: 1; }
[data-reveal-stagger] > * {
  opacity: 0; transform: translateY(36px) scale(0.985); filter: blur(5px);
  transition: opacity 0.65s var(--ease-out-quart), transform 0.65s var(--ease-out-quart), filter 0.65s var(--ease-out-quart);
}
[data-reveal-stagger].revealed > * { opacity: 1; transform: none; filter: none; }
@media (max-width: 760px) {
  [data-reveal], [data-reveal-stagger] > * { transform: translateY(18px); filter: none; }
  [data-reveal][data-fx="slide-l"], [data-reveal][data-fx="slide-r"], [data-reveal][data-fx="zoom"] { transform: translateY(18px); }
  [data-reveal][data-fx="wipe"] { clip-path: none; opacity: 0; }
  [data-reveal][data-fx="wipe"].revealed { opacity: 1; }
  /* revealed resets must re-win inside this block, or elements stay
     translated 18px forever (fade in but never settle) */
  [data-reveal].revealed, [data-reveal-stagger].revealed > * { transform: none; }
  [data-reveal][data-fx].revealed { transform: none; }
}
[data-reveal-stagger].revealed > *:nth-child(2) { transition-delay: 0.08s; }
[data-reveal-stagger].revealed > *:nth-child(3) { transition-delay: 0.16s; }
[data-reveal-stagger].revealed > *:nth-child(4) { transition-delay: 0.24s; }
[data-reveal-stagger].revealed > *:nth-child(5) { transition-delay: 0.32s; }
[data-reveal-stagger].revealed > *:nth-child(6) { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal], [data-reveal-stagger] > * { opacity: 1; transform: none; }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; } .mt-64 { margin-top: 64px; }
.center { text-align: center; }
.maxw-720 { max-width: 720px; } .maxw-640 { max-width: 640px; }
.mx-auto { margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ============================================================
   v2 additions — Vision Tourism Service homepage enhancements
   ============================================================ */

/* ---------- Tree background layers (slow zoom in/out) ---------- */
.tree-layer { position: absolute; left: 0; right: 0; bottom: 0; pointer-events: none; overflow: hidden; }
.tree-layer svg { width: 100%; height: auto; display: block; min-width: 900px; margin-inline: auto; }
.tree-back { opacity: 0.4; animation: treeZoom 26s ease-in-out infinite alternate; transform-origin: 50% 100%; }
.tree-front { opacity: 0.75; animation: treeZoomDeep 18s ease-in-out infinite alternate; transform-origin: 50% 100%; }
@keyframes treeZoom { from { transform: scale(1); } to { transform: scale(1.06); } }
@keyframes treeZoomDeep { from { transform: scale(1.05); } to { transform: scale(1); } }

/* ---------- Glassmorphism projects slider ---------- */
.glass-slider { position: relative; overflow: hidden; padding-block: 8px; }
.glass-slider::before, .glass-slider::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.glass-slider::before { left: 0; background: linear-gradient(90deg, var(--navy-950), transparent); }
.glass-slider::after { right: 0; background: linear-gradient(-90deg, var(--navy-950), transparent); }
.glass-track { display: flex; gap: 24px; width: max-content; animation: slideTrack 44s linear infinite; }
.glass-slider:hover .glass-track, .glass-slider:focus-within .glass-track { animation-play-state: paused; }
@keyframes slideTrack { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.glass-card {
  display: block; width: 330px; flex-shrink: 0; padding: 28px; border-radius: 18px; text-decoration: none;
  background: rgba(10, 35, 80, 0.45);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: transform 0.3s var(--ease-out-quart), border-color 0.3s;
}
.glass-card:hover { transform: translateY(-5px); border-color: var(--cyan-400); }
.glass-card .g-meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-400); display: block; margin-bottom: 12px; }
.glass-card h3 { font-size: 20px; margin-bottom: 10px; }
.glass-card p { color: var(--slate-300); font-size: 14.5px; }
.glass-card .g-link { display: inline-block; margin-top: 16px; color: var(--cyan-400); font-weight: 600; font-size: 14px; }
@media (prefers-reduced-motion: reduce) {
  .glass-track { animation: none; }
  .glass-slider { overflow-x: auto; }
}
@media (max-width: 640px) { .glass-card { width: 280px; padding: 22px; } }

/* ---------- News vertical scroll (home) ---------- */
/* 70/30: who-we-are copy dominates, news is a slim rail; columns stretch so
   the closing quote can bottom-align with the news feed */
.split--news { align-items: stretch; grid-template-columns: 7fr 3fr; }
.split--news > div:first-child { display: flex; flex-direction: column; }
.split--news .exec-quote { margin-top: auto; }
/* declared after the desktop columns so it actually wins the cascade —
   on small screens the copy stacks above the news rail */
@media (max-width: 900px) {
  .split--news { grid-template-columns: 1fr; }
  .split--news .exec-quote { margin-top: 24px; }
}
.newsbook-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.newsbook-head .h4 { margin-top: 6px; }
.newsbook-head, .news-vscroll { max-width: 440px; margin-left: auto; margin-right: auto; }
.news-vscroll {
  position: relative; height: 560px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent);
}
.vscroll-track { animation: vscrollUp 27s linear infinite; will-change: transform; }
.news-vscroll:hover .vscroll-track { animation-play-state: paused; }
.vscroll-track.static { animation: none; }
.vs-card {
  display: block; text-decoration: none; margin-bottom: 18px; padding: 22px 24px;
  background: var(--white); border: 1px solid rgba(4, 110, 240, 0.14); border-radius: 16px;
  box-shadow: 0 12px 28px -22px rgba(6, 29, 78, 0.35);
  transition: border-color 0.25s, transform 0.25s var(--ease-out-quart), box-shadow 0.25s;
}
.vs-card:hover {
  border-color: var(--blue-600); transform: translateY(-3px);
  box-shadow: 0 18px 36px -20px rgba(6, 29, 78, 0.4);
}
.vs-date { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.015em; font-size: 12.5px; color: var(--blue-600); margin-bottom: 8px; }
.vs-card h3 { font-family: var(--font-display); font-size: 19px; line-height: 1.3; color: var(--navy-950); margin-bottom: 8px; }
.vs-excerpt {
  color: var(--slate-500); font-size: 14px; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.vs-more { display: inline-block; margin-top: 10px; color: var(--blue-600); font-weight: 600; font-size: 13.5px; }
@keyframes vscrollUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@media (max-width: 900px) {
  .news-vscroll { height: 380px; }
  .newsbook-head { margin-bottom: 14px; flex-wrap: wrap; row-gap: 4px; }
  .newsbook-head .link-arrow { flex: none; }
  .newsbook-head .h4 { margin-top: 2px; }
  .vs-card { padding: 18px 20px; margin-bottom: 14px; }
  .split--news { gap: 40px; }
}
@media (prefers-reduced-motion: reduce) { .vscroll-track { animation: none; } }

/* ---------- News page bulletin ---------- */
.bul-mast {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--font-display); font-weight: 600; letter-spacing: 0.015em; font-size: 13.5px; color: var(--slate-500);
  border-top: 2px solid var(--navy-900); border-bottom: 1px solid var(--mist-100);
  padding: 14px 2px; margin-bottom: 40px;
}
.bul-featured {
  position: relative; overflow: hidden; border-radius: 24px; margin-bottom: 56px;
  background: linear-gradient(140deg, var(--navy-950) 0%, var(--navy-800) 70%, #0d3a8a 100%);
  border: 1px solid rgba(0, 195, 244, 0.2);
  box-shadow: 0 32px 64px -40px rgba(4, 18, 46, 0.8);
}
.bul-glow {
  position: absolute; top: -180px; right: -140px; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 195, 244, 0.22), transparent 65%); pointer-events: none;
}
.bul-media { aspect-ratio: 21 / 8; }
.bul-media img { width: 100%; height: 100%; object-fit: cover; }
.bul-featured-body { padding: clamp(28px, 4vw, 52px); }
.bul-meta { display: flex; align-items: center; gap: 14px; font-family: var(--font-display); font-weight: 600; letter-spacing: 0.015em; font-size: 13px; color: var(--cyan-400); }
.bul-tag { background: var(--blue-600); color: #fff; padding: 5px 14px; border-radius: 999px; font-size: 10.5px; letter-spacing: 0.16em; }
.bul-featured h2 {
  font-family: var(--font-display); font-size: clamp(28px, 4vw, 44px); line-height: 1.1;
  color: var(--white); margin: 18px 0 20px; max-width: 21ch;
}
.bul-featured .bul-body { max-width: 68ch; }
.bul-featured .bul-body p { color: var(--slate-300); font-size: 16px; line-height: 1.75; margin-bottom: 14px; }
.bul-featured .bul-body p:first-child::first-letter {
  font-family: var(--font-display); font-size: 3em; font-weight: 700; float: left;
  line-height: 0.85; padding: 4px 12px 0 0; color: var(--cyan-400);
}
.bul-earlier { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.015em; font-size: 14px; color: var(--slate-500); margin-bottom: 18px; }
.bul-deck { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; align-items: start; }
@media (max-width: 800px) { .bul-deck { grid-template-columns: 1fr; } }
.bul-card {
  border: 1px solid var(--mist-100); border-radius: 18px; background: var(--white);
  transition: border-color 0.3s, transform 0.3s var(--ease-out-quart), box-shadow 0.3s;
}
.bul-card:hover { border-color: rgba(4, 110, 240, 0.4); transform: translateY(-4px); box-shadow: 0 20px 40px -28px rgba(6, 29, 78, 0.45); }
.bul-card summary { list-style: none; cursor: pointer; padding: 24px 26px; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; }
.bul-card summary::-webkit-details-marker { display: none; }
.bul-index { grid-row: 1 / 4; font-size: 22px; color: rgba(4, 110, 240, 0.35); font-weight: 500; }
.bul-date { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.015em; font-size: 12px; color: var(--blue-600); }
.bul-title { font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--navy-950); margin: 6px 0 8px; transition: color 0.25s; }
.bul-card summary:hover .bul-title { color: var(--blue-600); }
.bul-excerpt {
  color: var(--slate-500); font-size: 14px; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.bul-open { margin-top: 12px; font-family: var(--font-display); font-weight: 600; letter-spacing: 0.015em; font-size: 12.5px; color: var(--blue-600); grid-column: 2; }
.bul-open .chev { display: inline-block; transition: transform 0.3s var(--ease-out-quart); }
.bul-card[open] .bul-open .chev { transform: rotate(180deg); }
.bul-card .bul-body { padding: 0 26px 26px 64px; }
.bul-card .bul-body p { color: var(--slate-500); font-size: 14.5px; line-height: 1.7; margin-bottom: 12px; }

/* ---------- Cinematic intro (home, once per session) ---------- */
html.intro-lock { overflow: hidden; }
.vts-intro {
  position: fixed; inset: 0; z-index: 400; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(120% 120% at 50% 38%, var(--navy-800) 0%, var(--navy-950) 62%, #020a1c 100%);
  transition: opacity 0.85s var(--ease-out-quart), visibility 0.85s;
}
.vts-intro.done { opacity: 0; visibility: hidden; }
.vi-stage { position: relative; text-align: center; }
.vi-mark { width: clamp(72px, 12vw, 118px); height: auto; overflow: visible; display: block; margin: 0 auto 26px; }
.vi-bar {
  opacity: 0; transform: translateY(90px);
  animation: viBarRise 0.9s var(--ease-out-quart) forwards;
  filter: drop-shadow(0 0 18px rgba(0, 195, 244, 0.35));
}
.vi-bar-3 { animation-delay: 0.15s; }
.vi-bar-2 { animation-delay: 0.35s; }
.vi-bar-1 { animation-delay: 0.55s; }
@keyframes viBarRise {
  0% { opacity: 0; transform: translateY(90px); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: translateY(0); }
}
.vi-word {
  font-family: var(--font-display); font-weight: 800; color: var(--white);
  font-size: clamp(44px, 7vw, 68px); line-height: 1; letter-spacing: 0.06em;
  opacity: 0; animation: viFadeUp 0.8s var(--ease-out-quart) 0.9s forwards;
}
.vi-sub {
  font-family: var(--font-display); font-weight: 600; color: var(--cyan-400);
  font-size: clamp(15px, 2.2vw, 20px); letter-spacing: 0.42em; margin-top: 10px; padding-left: 0.42em;
  opacity: 0; animation: viFadeUp 0.8s var(--ease-out-quart) 1.15s forwards;
}
.vi-tag {
  font-family: var(--font-mono); color: var(--slate-300);
  font-size: clamp(9px, 1.3vw, 11px); letter-spacing: 0.34em; margin-top: 14px; padding-left: 0.34em;
  opacity: 0; animation: viFadeUp 0.8s var(--ease-out-quart) 1.4s forwards;
}
@keyframes viFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.vi-ring {
  position: absolute; left: 50%; top: 50%; width: 10px; height: 10px;
  margin: -5px 0 0 -5px; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(0, 195, 244, 0.5);
  animation: viRing 1.6s cubic-bezier(0.2, 0.6, 0.3, 1) 0.9s forwards; opacity: 0;
}
@keyframes viRing {
  0% { opacity: 0.9; transform: scale(1); }
  100% { opacity: 0; transform: scale(60); }
}

/* ---------- Partner marquee (minimal, continuous) ---------- */
.partner-marquee {
  overflow: hidden; white-space: nowrap;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: inline-flex; align-items: center;
  animation: marqueeSlide 90s linear infinite; will-change: transform;
}
/* uniform margins (not flex gap) keep the two halves identical for a seamless -50% wrap */
.marquee-track .m-item, .marquee-track .m-dot { margin-right: 40px; }
.partner-marquee:hover .marquee-track { animation-play-state: paused; }
.m-item {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-family: var(--font-body, "Inter", sans-serif); font-size: 14px; font-weight: 500;
  color: var(--slate-300); opacity: 0.65;
  transition: opacity 0.3s, color 0.3s;
}
.m-item:hover { opacity: 1; color: var(--cyan-400); }
.m-item img {
  width: 24px; height: 24px; object-fit: contain; border-radius: 50%;
  background: rgba(255, 255, 255, 0.92); padding: 3px;
  filter: grayscale(1); opacity: 0.8; transition: filter 0.3s, opacity 0.3s;
}
.m-item:hover img { filter: none; opacity: 1; }
.m-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(0, 195, 244, 0.35); flex: none; }
@keyframes marqueeSlide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; white-space: normal; justify-content: center; }
  .partner-marquee { -webkit-mask-image: none; mask-image: none; }
}

/* ---------- Aviation chatbot ---------- */
.vts-chat-launch {
  position: fixed; right: 22px; bottom: 22px; z-index: 140;
  width: 60px; height: 60px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-400));
  color: var(--navy-950); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 32px -8px rgba(7, 12, 22, 0.55);
  transition: transform 0.25s var(--ease-out-quart);
}
.vts-chat-launch:hover { transform: translateY(-3px) scale(1.05); }
.vts-chat-launch svg { width: 28px; height: 28px; }
.vts-chat-panel {
  position: fixed; right: 22px; bottom: 94px; z-index: 141;
  width: 360px; max-width: calc(100vw - 32px); height: 500px; max-height: calc(100vh - 130px);
  display: none; flex-direction: column; overflow: hidden;
  border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 20, 35, 0.88);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  color: var(--white);
  box-shadow: 0 32px 64px -24px rgba(7, 12, 22, 0.7);
}
.vts-chat-panel.open { display: flex; }
.vts-chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.vts-chat-head .c-title { font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.vts-chat-head .c-sub { font-size: 12px; color: var(--slate-300); display: block; }
.vts-chat-head .c-close { margin-left: auto; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--slate-300); }
.vts-chat-head .c-close:hover { color: var(--white); }
.vts-chat-log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.vts-msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.5; }
.vts-msg--bot { background: rgba(255, 255, 255, 0.08); border-bottom-left-radius: 4px; align-self: flex-start; }
.vts-msg--user { background: var(--blue-600); border-bottom-right-radius: 4px; align-self: flex-end; }
.vts-quick { display: flex; flex-wrap: wrap; gap: 8px; align-self: flex-start; }
.vts-quick button {
  border: 1px solid var(--cyan-400); color: var(--cyan-400); border-radius: 999px; background: none; cursor: pointer;
  padding: 7px 14px; font-size: 13px; font-weight: 500; transition: background 0.2s, color 0.2s;
}
.vts-quick button:hover { background: var(--cyan-400); color: var(--navy-950); }
.vts-chat-input { display: flex; gap: 8px; padding: 14px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.vts-chat-input input {
  flex: 1; height: 44px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06); color: var(--white); padding: 0 14px; font: inherit; font-size: 14px;
}
.vts-chat-input input:focus { outline: none; border-color: var(--cyan-400); }
.vts-chat-input button {
  width: 44px; height: 44px; border-radius: 10px; background: var(--cyan-400); color: var(--navy-950);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; border: none; cursor: pointer;
}
.vts-chat-input button:disabled { opacity: 0.4; }
@media (max-width: 480px) { .vts-chat-panel { right: 16px; } .vts-chat-launch { right: 16px; bottom: 16px; } }

/* Partner tiles on dark (moved strip) */
.section--midnight .logo-tile { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.12); color: var(--slate-300); }
.section--midnight .logo-tile:hover { background: rgba(255, 255, 255, 0.1); color: var(--cyan-400); }

/* ============================================================
   v3 additions — photography-led homepage
   ============================================================ */

/* Hero photo with slow zoom (Ken Burns) */
.hero-photo { position: absolute; inset: 0; overflow: hidden; }
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover;
  animation: kenburns 28s ease-in-out infinite alternate;
  transform-origin: 60% 45%;
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(7, 12, 22, 0.9) 15%, rgba(7, 12, 22, 0.62) 52%, rgba(7, 12, 22, 0.35) 100%),
              linear-gradient(0deg, rgba(7, 12, 22, 0.85) 0%, transparent 30%);
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12); } }

/* Photo band (CTA) */
.band-photo { position: absolute; inset: 0; overflow: hidden; }
.band-photo img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 32s ease-in-out infinite alternate; }
.band-photo::after { content: ""; position: absolute; inset: 0; background: rgba(7, 12, 22, 0.82); }
.cta-band .container { position: relative; }

/* Glass card photo header */
.glass-card .g-media { display: block; height: 140px; border-radius: 12px; overflow: hidden; margin-bottom: 18px; }
.glass-card .g-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-out-quart); }
.glass-card:hover .g-media img { transform: scale(1.06); }

/* Photo mosaic */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 16px; }
.mosaic figure { position: relative; border-radius: 16px; overflow: hidden; margin: 0; }
.mosaic figure:first-child { grid-column: span 2; grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out-quart); }
.mosaic figure:hover img { transform: scale(1.05); }
.mosaic figcaption {
  position: absolute; inset: auto 0 0 0; padding: 36px 18px 14px;
  background: linear-gradient(transparent, rgba(7, 12, 22, 0.85));
  color: var(--white); font-weight: 600; font-size: 14.5px;
}
@media (max-width: 800px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
}

/* ============================================================
   v4 — official logo, rotating hero, service backgrounds, green
   ============================================================ */

/* Rotating hero background */
.hero-rotator img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.7s ease;
}
.hero-rotator img.is-active {
  opacity: 1;
  animation: kenburns 9s ease-in-out forwards;
}
@media (prefers-reduced-motion: reduce) {
  .hero-rotator img.is-active { animation: none; }
  .hero-rotator img { transition: opacity 0.2s; }
}

/* Services: background switches per open accordion */
.svc-detail { position: relative; }
.svc-detail .container { position: relative; z-index: 1; }
.svc-bg { position: absolute; inset: 0; overflow: hidden; }
.svc-bg img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.9s ease; transform: scale(1.04);
}
.svc-bg img.is-active { opacity: 1; }
.svc-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,18,46,0.86), rgba(4,18,46,0.92));
}

/* Green / sustainability band */
.green-band { position: relative; overflow: hidden; }
.green-band .band-photo img { animation: kenburns 34s ease-in-out infinite alternate; }
.green-band .band-photo::after { background: linear-gradient(100deg, rgba(4,18,46,0.86) 20%, rgba(10,58,42,0.6) 100%); }
.leaf { color: #3ecf8e; }

/* Hero text cross-fade when rotating background/content changes */
#hero-eyebrow, #hero-title, #hero-sub, #hero-cta {
  transition: opacity 0.28s ease, transform 0.28s ease;
}
#hero-eyebrow.fade-out, #hero-title.fade-out, #hero-sub.fade-out, #hero-cta.fade-out {
  opacity: 0;
  transform: translateY(6px);
}

/* ============================================================
   v5 — full VTS Consulting logo (emblem + wordmark + tagline)
   ============================================================ */
.vts-logo-full {
  height: 76px;
  width: auto;
  display: block;
  transition: height 0.3s var(--ease-soft);
}
.site-header.scrolled .vts-logo-full { height: 60px; }
.footer-brand .vts-logo-full { height: 130px; margin-bottom: 4px; }
.mobile-menu .vts-logo-full { height: 64px; }
@media (max-width: 480px) {
  .vts-logo-full { height: 58px; }
  .footer-brand .vts-logo-full { height: 100px; }
}

/* ============================================================
   v6 — confirmed 17-project chronology (brief v2)
   ============================================================ */
.proj-desc {
  margin-top: 10px; max-width: 62ch;
  color: var(--slate-500); font-size: 14.5px; line-height: 1.65;
}
.proj-line {
  margin-top: 10px; padding: 20px 26px; border: 1px solid var(--mist-100);
  border-radius: 14px; background: var(--white);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px;
  transition: transform 0.25s var(--ease-out-quart), border-color 0.25s, box-shadow 0.25s;
}
.proj-line:hover { transform: translateX(4px); border-color: var(--cyan-400); box-shadow: 0 14px 32px -24px rgba(4, 18, 46, 0.35); }
.proj-line h3 { font-size: 19px; margin: 0; }
.proj-line p { color: var(--slate-500); font-size: 14.5px; margin: 0; }
.timeline .timeline-item { padding-bottom: 28px; }

/* Airport marquee (home global footprint) */
.airport-marquee { position: relative; overflow: hidden; padding-block: 8px; }
.airport-marquee::before, .airport-marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 70px; z-index: 2; pointer-events: none;
}
.airport-marquee::before { left: 0; background: linear-gradient(90deg, var(--navy-950), transparent); }
.airport-marquee::after { right: 0; background: linear-gradient(-90deg, var(--navy-950), transparent); }
.airport-track { display: flex; gap: 14px; width: max-content; animation: slideTrack 60s linear infinite; }
.airport-marquee:hover .airport-track { animation-play-state: paused; }
.airport-chip {
  display: inline-flex; align-items: baseline; gap: 10px; white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.14); border-radius: 999px; padding: 10px 22px;
  color: var(--slate-300); font-size: 14.5px;
}
.airport-chip .yr { font-family: var(--font-mono); font-size: 12px; color: var(--gold-400); }
@media (prefers-reduced-motion: reduce) {
  .airport-track { animation: none; }
  .airport-marquee { overflow-x: auto; }
}

