/* StocktiX — Ink Navy + Champagne institutional system */
:root {
  --hl-ink: #0b1220;
  --hl-navy: #101c2e;
  --hl-blue: #0067a5;
  --hl-blue-deep: #00578c;
  --hl-champagne: #b08d57;
  --hl-text: #3a4250;
  --hl-text-dark: #0b1220;
  --hl-muted: #6b7380;
  --hl-muted-2: #6b7380;
  --hl-line: rgba(11, 18, 32, 0.2);
  --hl-line-soft: rgba(11, 18, 32, 0.1);
  --hl-surface: #f4f5f7;
  --hl-highlight: #e8dcc8;
  --hl-white: #ffffff;
  --nav-h: 72px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --font: "usual", "Switzer", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max: 68rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--hl-text);
  background: var(--hl-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--hl-blue);
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--hl-blue);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 10000;
}
.skip-link:focus {
  left: 0;
}

.wrap,
.nav-inner {
  width: min(var(--max), calc(100% - 3.125rem));
  margin-inline: auto;
}

/* ——— Header (HL white sticky) ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--hl-white);
  border-bottom: 2px solid var(--hl-line-soft);
}

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--hl-ink);
  flex-shrink: 0;
  margin-right: auto;
}

.logo-mark {
  width: 36px;
  height: 36px;
  overflow: hidden;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-word {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hl-ink);
}

.primary-nav {
  display: flex;
  align-items: stretch;
  height: 100%;
  gap: 0.1rem;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link {
  position: relative;
  color: var(--hl-ink);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.55rem 0.85rem;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: calc(50% - 1em - 2px);
  height: 2px;
  background: var(--hl-champagne);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease-in-out;
}
.nav-link:hover,
.nav-item:focus-within .nav-link,
.nav-link.is-active {
  color: var(--hl-ink);
}
.nav-link:hover::after,
.nav-item:focus-within .nav-link::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 640px;
  background: var(--hl-white);
  border: 1px solid var(--hl-line-soft);
  border-top: 2px solid var(--hl-champagne);
  padding: 1.5rem 1.75rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 2rem;
  box-shadow: 0 12px 32px rgba(11, 18, 32, 0.14);
}

.nav-item:hover .mega,
.nav-item:focus-within .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-col h4 {
  margin: 0 0 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hl-champagne);
  font-weight: 600;
}

.mega-col a {
  display: block;
  color: var(--hl-text);
  font-size: 0.9rem;
  padding: 0.3rem 0;
  transition: color 0.15s var(--ease);
}
.mega-col a:hover {
  color: var(--hl-ink);
  text-decoration: underline;
  text-underline-offset: 0.28rem;
}

.nav-cta,
.nav-worldwide {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--hl-text-dark);
  border: 1px solid var(--hl-line);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.12s var(--ease);
}
.nav-cta {
  background: var(--hl-blue);
  border-color: var(--hl-blue);
  color: #fff;
}
.nav-cta:hover {
  background: var(--hl-blue-deep);
  border-color: var(--hl-blue-deep);
}
.nav-cta:active,
.nav-worldwide:active {
  transform: scale(0.96);
}
.nav-worldwide:hover {
  border-color: var(--hl-blue);
  color: var(--hl-navy);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--hl-navy);
  margin-left: auto;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--hl-navy);
  position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 1.5px;
  background: var(--hl-navy);
}
.menu-toggle span::before {
  top: -6px;
}
.menu-toggle span::after {
  top: 6px;
}

/* ——— Hero (full-bleed cinematic video) ——— */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0b1220;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #0b1220 url("../assets/img/cinematic/hero-poster.jpg") center/cover no-repeat;
}

.hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 16, 32, 0.55) 0%, rgba(0, 16, 32, 0.18) 48%, rgba(0, 16, 32, 0.08) 100%),
    linear-gradient(180deg, rgba(0, 16, 32, 0.12) 0%, rgba(0, 16, 32, 0.08) 45%, rgba(0, 16, 32, 0.68) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 3.125rem));
  margin: 0 auto;
  padding: 0 0 clamp(3.5rem, 8vh, 5.5rem);
}

.hero h1 {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 4.25rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
  max-width: 14ch;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
}

.hero-lead {
  display: none;
}

.hero-actions {
  margin-top: 1.75rem;
}

.hero-scroll {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.35rem;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.12s var(--ease);
}
.btn:active {
  transform: scale(0.96);
}
.btn-gold,
.btn-primary {
  background: var(--hl-blue);
  color: #fff;
  border: 1px solid var(--hl-blue);
}
.btn-gold:hover,
.btn-primary:hover {
  background: var(--hl-blue-deep);
  border-color: var(--hl-blue-deep);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.65);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}
.btn-dark,
.btn-secondary {
  background: var(--hl-white);
  color: var(--hl-blue);
  border: 1px solid var(--hl-blue);
}
.btn-dark:hover,
.btn-secondary:hover {
  background: var(--hl-blue);
  color: #fff;
}

.hero-scroll {
  display: none;
}

/* ——— Ranking tables (HL) ——— */
.rank-strip {
  background: var(--hl-white);
  border-bottom: 1px solid var(--hl-line-soft);
  padding: 2.5rem 0 2.75rem;
}

.rank-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.rank-card,
.ranking-table {
  background: var(--hl-surface);
  padding: 1.25rem 1.35rem;
  height: 100%;
}

.rank-card h3,
.ranking-table .table-title {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--hl-ink);
  line-height: 1.35;
}

.rank-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.015em;
}
.rank-table th {
  text-align: left;
  font-size: 0.625rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--hl-muted);
  font-weight: 600;
  padding: 0.2rem 0.65rem;
}
.rank-table td {
  padding: 0.45rem 0.65rem;
  color: var(--hl-text-dark);
  background: transparent;
}
.rank-table tr.is-self td,
.rank-table tr.highlight td {
  background: var(--hl-highlight);
  font-weight: 600;
  color: var(--hl-ink);
}
.rank-note {
  margin: 0.85rem 0 0;
  font-size: 0.65rem;
  color: var(--hl-muted);
  line-height: 1.4;
}

/* ——— Firm intro ——— */
.intro-band {
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--hl-line-soft);
}

.intro-band p {
  margin: 0;
  max-width: 52rem;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--hl-text);
  font-weight: 300;
}

.intro-band a {
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 0.28rem;
}
.intro-band a:hover {
  color: var(--hl-navy);
}

/* ——— Split panels ——— */
.split-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.panel {
  position: relative;
  min-height: min(72vh, 620px);
  display: flex;
  align-items: flex-end;
  padding: 3rem;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 1.1s var(--ease);
}
.panel:hover::before {
  transform: scale(1.1);
}

.panel-a::before {
  background-image:
    linear-gradient(180deg, rgba(0, 20, 40, 0.15), rgba(0, 20, 40, 0.78)),
    url("../assets/img/cinematic/city-bridge.jpg");
}
.panel-b::before {
  background-image:
    linear-gradient(180deg, rgba(0, 20, 40, 0.2), rgba(0, 20, 40, 0.82)),
    url("../assets/img/cinematic/team-meeting.jpg");
}

.panel-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.65rem;
  font-weight: 400;
}

.panel h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  max-width: 16ch;
  line-height: 1.2;
  text-wrap: balance;
  color: #fff;
}

.panel p {
  margin: 0 0 1.35rem;
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  font-weight: 300;
}

.panel .text-link {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 0.28rem;
}
.panel .text-link:hover {
  color: var(--hl-champagne);
}

/* ——— Stats ——— */
.stats-band {
  background: var(--hl-navy);
  color: #fff;
  padding: 3.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item strong {
  display: block;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.stat-item span {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 18ch;
  line-height: 1.4;
}

/* ——— Sections ——— */
.section {
  padding: 4.5rem 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 2.25rem;
}

.section-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hl-champagne);
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.section-head h2,
.section h2.block-title {
  margin: 0;
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--hl-ink);
  line-height: 1.2;
  text-wrap: balance;
}

.section-head p {
  margin: 0;
  max-width: 36ch;
  color: var(--hl-muted-2);
  font-size: 0.95rem;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.action-card {
  border: 1px solid var(--hl-line-soft);
  background: var(--hl-white);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  transition: border-color 0.2s var(--ease);
}
.action-card:hover {
  border-color: var(--hl-blue);
}

.action-card .tag {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hl-champagne);
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.action-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--hl-ink);
  line-height: 1.3;
}

.action-card p {
  margin: 0;
  color: var(--hl-text);
  font-size: 0.92rem;
  flex: 1;
}

.action-card .more {
  margin-top: 1.15rem;
  font-size: 0.875rem;
  color: var(--hl-blue);
  text-decoration: underline;
  text-underline-offset: 0.28rem;
}

.services-band {
  background: var(--hl-surface);
}

.service-rows {
  display: grid;
  border-top: 1px solid var(--hl-line-soft);
}

.service-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--hl-line-soft);
  color: inherit;
  transition: background 0.2s var(--ease);
}
.service-row:hover {
  background: rgba(255, 255, 255, 0.65);
}

.service-num {
  font-size: 0.85rem;
  color: var(--hl-champagne);
  font-weight: 600;
}

.service-row h3 {
  margin: 0 0 0.3rem;
  font-size: 1.15rem;
  color: var(--hl-ink);
  font-weight: 600;
}

.service-row p {
  margin: 0;
  color: var(--hl-text);
  font-size: 0.92rem;
  max-width: 62ch;
}

.service-row .arrow {
  color: var(--hl-blue);
  font-size: 1.25rem;
  opacity: 0.45;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.service-row:hover .arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* ——— Featured insight ——— */
.featured-block {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  border: 1px solid var(--hl-line-soft);
  background: var(--hl-white);
}

.featured-visual {
  min-height: 420px;
  background:
    linear-gradient(160deg, rgba(0, 40, 85, 0.15), rgba(0, 20, 40, 0.45)),
    url("../assets/img/cinematic/skyline.jpg") center/cover;
}

/* ——— Full-bleed cinema band ——— */
.cinema-band {
  position: relative;
  min-height: min(70vh, 640px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background: #0b1220;
}

.cinema-media {
  position: absolute;
  inset: 0;
}

.cinema-media video,
.cinema-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cinema-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 18, 32, 0.72) 0%, rgba(11, 18, 32, 0.28) 55%, transparent 100%),
    linear-gradient(180deg, transparent 30%, rgba(11, 18, 32, 0.78) 100%);
}

.cinema-content {
  position: relative;
  z-index: 1;
  padding: 4rem 0;
  max-width: 36rem;
}

.cinema-content .section-eyebrow {
  color: var(--hl-champagne);
}

.cinema-content h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.2;
}

.cinema-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  font-size: 1.05rem;
  max-width: 34ch;
}

.featured-body {
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-body .meta {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hl-champagne);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.featured-body h3 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 600;
  color: var(--hl-ink);
  line-height: 1.25;
}

.featured-body p {
  margin: 0 0 1.5rem;
  color: var(--hl-text);
  font-size: 0.98rem;
}

/* ——— Transactions strip ——— */
.tx-section {
  background: var(--hl-surface);
  padding: 4rem 0;
  border-top: 1px solid var(--hl-line-soft);
}

.tx-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
}

.tx-card {
  flex: 0 0 min(320px, 78vw);
  scroll-snap-align: start;
  background: var(--hl-white);
  border: 1px solid var(--hl-line-soft);
  padding: 1.35rem 1.35rem 1.5rem;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  color: inherit;
  transition: border-color 0.2s var(--ease);
}
.tx-card:hover {
  border-color: var(--hl-blue);
}

.tx-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  min-height: 40px;
  margin-bottom: 1rem;
}

.tx-logos img {
  max-height: 28px;
  width: auto;
  max-width: 88px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.85;
}

.tx-card h3 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--hl-ink);
  line-height: 1.35;
}

.tx-card p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--hl-text);
  flex: 1;
}

.tx-role {
  margin-top: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hl-champagne);
  font-weight: 600;
}

/* ——— Quote ——— */
.quote-band {
  background:
    linear-gradient(180deg, rgba(0, 20, 40, 0.82), rgba(0, 20, 40, 0.9)),
    url("../assets/img/cinematic/skyline.jpg") center/cover;
  color: #fff;
  padding: 6rem 0;
}

.quote-inner {
  max-width: 46rem;
}

.quote-inner blockquote {
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.45;
  font-weight: 300;
}

.quote-inner cite {
  display: block;
  margin-top: 1.75rem;
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.quote-inner cite span {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.55);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.9rem;
}

/* ——— Insights ——— */
.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.insight-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 360px;
}

.insight-card.featured .insight-visual {
  height: 100%;
  min-height: 320px;
}

.insight-card {
  background: var(--hl-white);
  border: 1px solid var(--hl-line-soft);
  display: flex;
  flex-direction: column;
  min-height: 300px;
  overflow: hidden;
}

.insight-visual {
  height: 150px;
  background:
    linear-gradient(135deg, rgba(0, 40, 85, 0.45), rgba(0, 103, 165, 0.35)),
    url("../assets/img/cinematic/skyline.jpg") center/cover;
}

.insight-body {
  padding: 1.25rem 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.insight-body .meta {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hl-champagne);
  margin-bottom: 0.55rem;
  font-weight: 600;
}

.insight-body h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  color: var(--hl-ink);
  font-weight: 600;
  line-height: 1.3;
}

.insight-body p {
  margin: 0;
  color: var(--hl-text);
  font-size: 0.9rem;
  flex: 1;
}

/* ——— Team / media ——— */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hl-line-soft);
  border: 1px solid var(--hl-line-soft);
}

.team-card {
  position: relative;
  background: var(--hl-navy);
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.team-card:hover img {
  transform: scale(1.04);
}

.team-meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(0, 40, 85, 0.92));
  color: #fff;
}

.team-meta strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
}

.team-meta span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.72rem;
  color: var(--hl-highlight);
}

.logo-cloud {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  align-items: center;
}

.logo-cloud img {
  max-height: 42px;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  filter: grayscale(1);
  opacity: 0.7;
  object-fit: contain;
}

.media-strip {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.25rem;
}

.media-strip figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--hl-line-soft);
  background: var(--hl-navy);
}

.media-strip img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

/* ——— Page hero (inner) ——— */
.page-hero {
  position: relative;
  background: var(--hl-navy);
  color: #fff;
  padding: 5.5rem 0 4.5rem;
  min-height: min(52vh, 480px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-hero.has-media {
  min-height: min(68vh, 620px);
  padding: 0;
}

.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-media video,
.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 20, 40, 0.72) 0%, rgba(0, 20, 40, 0.35) 55%, rgba(0, 20, 40, 0.2) 100%),
    linear-gradient(180deg, rgba(0, 20, 40, 0.2) 0%, rgba(0, 20, 40, 0.75) 100%);
  z-index: 1;
}

.page-hero .wrap {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 3.125rem));
  margin: 0 auto;
  padding: 5.5rem 0 4rem;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  max-width: 18ch;
  line-height: 1.15;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.page-hero p {
  margin: 1rem 0 0;
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  font-weight: 300;
}

.page-hero .section-eyebrow {
  color: var(--hl-champagne);
}

/* Industry photo cards */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.industry-card {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  padding: 1.75rem;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.industry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  transition: transform 0.9s var(--ease);
}
.industry-card:hover::before {
  transform: scale(1.08);
}

.industry-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 20, 40, 0.1), rgba(0, 20, 40, 0.82));
}

.industry-card .tag {
  color: rgba(199, 225, 253, 0.95);
}

.industry-card h3 {
  margin: 0.4rem 0 0.55rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}

.industry-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 300;
}

.industry-card.img-tech::before { background-image: url("../assets/img/cinematic/tech.jpg"); }
.industry-card.img-consumer::before { background-image: url("../assets/img/cinematic/consumer.jpg"); }
.industry-card.img-industrials::before { background-image: url("../assets/img/cinematic/industrials.jpg"); }
.industry-card.img-healthcare::before { background-image: url("../assets/img/cinematic/healthcare.jpg"); }
.industry-card.img-finance::before { background-image: url("../assets/img/cinematic/finance-desk.jpg"); }
.industry-card.img-bridge::before { background-image: url("../assets/img/cinematic/city-bridge.jpg"); }

/* Insight visual variants */
.insight-visual.v-skyline { background: linear-gradient(135deg, rgba(0,40,85,.4), rgba(0,20,40,.55)), url("../assets/img/cinematic/skyline.jpg") center/cover; }
.insight-visual.v-analytics { background: linear-gradient(135deg, rgba(0,40,85,.4), rgba(0,20,40,.55)), url("../assets/img/cinematic/analytics.jpg") center/cover; }
.insight-visual.v-board { background: linear-gradient(135deg, rgba(0,40,85,.4), rgba(0,20,40,.55)), url("../assets/img/cinematic/boardroom.jpg") center/cover; }
.insight-visual.v-night { background: linear-gradient(135deg, rgba(0,40,85,.4), rgba(0,20,40,.55)), url("../assets/img/cinematic/night-office.jpg") center/cover; }
.insight-visual.v-present { background: linear-gradient(135deg, rgba(0,40,85,.4), rgba(0,20,40,.55)), url("../assets/img/cinematic/presentation.jpg") center/cover; }
.insight-visual.v-campus { background: linear-gradient(135deg, rgba(0,40,85,.4), rgba(0,20,40,.55)), url("../assets/img/cinematic/corp-campus.jpg") center/cover; }
.insight-visual.v-bridge { background: linear-gradient(135deg, rgba(0,40,85,.4), rgba(0,20,40,.55)), url("../assets/img/cinematic/city-bridge.jpg") center/cover; }

.media-duo {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

.media-duo figure {
  margin: 0;
  overflow: hidden;
  background: var(--hl-navy);
  min-height: 280px;
}

.media-duo img,
.media-duo video {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.media-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.media-trio figure {
  margin: 0;
  overflow: hidden;
  background: var(--hl-navy);
  min-height: 240px;
}
.media-trio img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  display: block;
}

.leader-visual {
  min-height: 360px;
  background:
    linear-gradient(160deg, rgba(0, 40, 85, 0.15), rgba(0, 20, 40, 0.35)),
    url("../assets/img/cinematic/office-lobby.jpg") center/cover;
  border: 1px solid var(--hl-line-soft);
}

@media (max-width: 980px) {
  .industry-grid,
  .media-duo,
  .insight-card.featured {
    grid-template-columns: 1fr;
  }
  .insight-grid {
    grid-template-columns: 1fr;
  }
  .page-hero.has-media {
    min-height: 52vh;
  }
}

/* ——— Prose / forms ——— */
.prose {
  max-width: 68ch;
}
.prose h2 {
  margin: 2.5rem 0 1rem;
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--hl-ink);
}
.prose p {
  color: var(--hl-text);
  margin: 0 0 1rem;
}
.prose ul {
  margin: 0 0 1.25rem;
  padding-left: 1.1rem;
  list-style: disc;
  color: var(--hl-text);
}
.prose li {
  margin-bottom: 0.4rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-card {
  background: var(--hl-surface);
  padding: 2rem;
  border: 1px solid var(--hl-line-soft);
}

.contact-card h3 {
  margin: 0 0 0.5rem;
  color: var(--hl-navy);
  font-weight: 600;
}

.contact-card a {
  color: var(--hl-blue);
  text-decoration: underline;
  text-underline-offset: 0.28rem;
}

.form label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hl-muted);
  margin: 0 0 0.4rem;
  font-weight: 600;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  margin-bottom: 1.1rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--hl-line);
  background: #fff;
  font: inherit;
  color: var(--hl-text-dark);
}
.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: 2px solid var(--hl-blue);
  outline-offset: 1px;
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

/* ——— Footer (ink navy + champagne) ——— */
.site-footer {
  background: var(--hl-navy);
  color: rgba(255, 255, 255, 0.9);
  padding: 3.5rem 0 1.75rem;
  font-size: 0.9rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 2.25rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-brand .logo-word {
  color: #fff;
}

.footer-brand .logo {
  color: #fff;
}

.footer-brand p {
  margin: 1rem 0 0;
  max-width: 28ch;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
}

.footer-col h4 {
  margin: 0 0 0.9rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hl-champagne);
  font-weight: 600;
}

.footer-col a {
  display: block;
  padding: 0.28rem 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.15s var(--ease);
}
.footer-col a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.28rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.35rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Legacy util-bar: hidden to match current HL (utility display:none) */
.util-bar {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .panel::before {
    transition: none;
  }
  .hero-media canvas {
    display: none;
  }
  .nav-link::after {
    transition: none;
  }
}

@media (max-width: 1100px) {
  .rank-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .rank-grid,
  .stats-grid,
  .action-grid,
  .insight-grid,
  .split-panels,
  .two-col,
  .contact-grid,
  .footer-top,
  .featured-block,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .logo-cloud {
    grid-template-columns: repeat(3, 1fr);
  }
  .media-strip {
    grid-template-columns: 1fr;
  }

  .hero-content {
    max-width: 100%;
    padding: 3.5rem 0;
  }

  .service-row {
    grid-template-columns: 48px 1fr;
  }
  .service-row .arrow {
    display: none;
  }

  .mega {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .nav-cta,
  .nav-worldwide {
    display: none;
  }

  .primary-nav {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    background: var(--hl-white);
    flex-direction: column;
    height: auto;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
    border-bottom: 1px solid var(--hl-line-soft);
    box-shadow: 0 12px 24px rgba(0, 40, 85, 0.08);
  }
  .primary-nav.is-open {
    max-height: 80vh;
    overflow: auto;
    padding: 0.5rem 0 1.25rem;
  }
  .nav-item {
    height: auto;
    display: block;
    width: min(var(--max), calc(100% - 3.125rem));
    margin-inline: auto;
  }
  .nav-link {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--hl-line-soft);
  }
  .nav-link::after {
    display: none;
  }
  .panel {
    min-height: 360px;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .rank-grid {
    grid-template-columns: 1fr;
  }
}

/* ——— Source-parity additions ——— */
.hero-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hl-champagne);
  font-weight: 600;
}
.hero-sub {
  margin: 1rem 0 0;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.5;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.pe-stats .stats-grid {
  grid-template-columns: repeat(5, 1fr);
}
.footer-address {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.45;
  max-width: 28ch;
}
.footer-apps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  padding: 1.25rem 0 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 0.25rem;
}
.footer-apps a img {
  display: block;
  height: 28px;
  width: auto;
}
.footer-apps > img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: cover;
}
.value-grid,
.offerings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.offerings-grid {
  grid-template-columns: repeat(4, 1fr);
}
.value-card,
.offering-card {
  border: 1px solid var(--hl-line-soft);
  background: var(--hl-white);
  padding: 1.4rem 1.35rem;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s var(--ease);
  display: block;
}
.value-card:hover,
.offering-card:hover {
  border-color: var(--hl-champagne);
}
.value-card h3,
.offering-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--hl-ink);
}
.value-card p,
.offering-card p {
  margin: 0;
  color: var(--hl-text);
  font-size: 0.92rem;
}
.offering-card .tag {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hl-champagne);
  font-weight: 600;
}
.values-band {
  background: var(--hl-surface);
}
.logo-wall {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.logo-tile {
  background: var(--hl-surface);
  border: 1px solid var(--hl-line-soft);
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.logo-tile img {
  max-width: 100%;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.compliance-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}
.compliance-cert {
  margin: 0;
  background: var(--hl-surface);
  border: 1px solid var(--hl-line-soft);
  padding: 1rem;
}
.compliance-cert img {
  width: 100%;
  height: auto;
}
.compliance-cert figcaption {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--hl-muted);
}
.compliance-card h3 {
  margin-top: 1.5rem;
}
.app-download {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}
.app-download img {
  height: 28px;
  width: auto;
  display: block;
}
.app-qr img {
  width: 44px;
  height: 44px;
  object-fit: cover;
}
.legal-doc {
  max-width: 48rem;
}
.legal-doc h2 {
  margin: 2.25rem 0 0.85rem;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--hl-ink);
}
.legal-doc h3 {
  margin: 1.5rem 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--hl-ink);
}
.legal-doc p,
.legal-doc li {
  color: var(--hl-text);
  line-height: 1.65;
}
.legal-doc ul {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  list-style: disc;
}

@media (max-width: 980px) {
  .pe-stats .stats-grid,
  .offerings-grid,
  .value-grid,
  .logo-wall,
  .compliance-grid,
  .media-trio {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .pe-stats .stats-grid,
  .offerings-grid,
  .value-grid,
  .logo-wall,
  .compliance-grid,
  .media-trio {
    grid-template-columns: 1fr;
  }
}


/* Legal docs must never stay invisible */
.legal-doc.reveal,
.legal-doc {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}
