/* Blackstone Audit — global stylesheet */

:root {
  --color-black: #0a0a0b;
  --color-black-soft: #17171a;
  --color-black-elevated: #202024;
  --color-gold: #c9a24b;
  --color-gold-light: #e3c785;
  --color-gold-dark: #9c7c33;
  /* Darker than --color-gold-dark specifically for small text on light
     backgrounds (WCAG AA 4.5:1) — gold-dark alone is only ~3.9:1 on white. */
  --color-gold-text: #7a611f;
  --color-white: #ffffff;
  --color-offwhite: #f7f6f2;
  --color-gray-100: #eceae4;
  --color-gray-300: #c7c5bf;
  --color-gray-500: #8b8a86;
  --color-gray-700: #4a4a48;

  --font-heading: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
  --font-body: 'Manrope', 'Segoe UI', Arial, sans-serif;

  --container-width: 1180px;
  --radius: 2px;
  --shadow-card: 0 10px 30px rgba(10, 10, 11, 0.08);
  --shadow-card-hover: 0 16px 40px rgba(10, 10, 11, 0.14);
  --transition: 200ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-black);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: var(--color-black);
}

h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p {
  margin: 0 0 1em;
  color: var(--color-gray-700);
}

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

.section {
  padding: 88px 0;
}

.section--tight {
  padding: 56px 0;
}

.section--dark {
  background: var(--color-black);
  color: var(--color-white);
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: var(--color-white);
}

.section--dark p {
  color: var(--color-gray-300);
}

.section--offwhite {
  background: var(--color-offwhite);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold-text);
  margin-bottom: 14px;
}

.section--dark .eyebrow {
  color: var(--color-gold);
}

.section-head {
  max-width: 680px;
  margin: 0 0 48px;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.lede {
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--gold {
  background: var(--color-gold);
  color: var(--color-black);
}

.btn--gold:hover {
  background: var(--color-gold-light);
}

.btn--outline-dark {
  border-color: rgba(10, 10, 11, 0.25);
  color: var(--color-black);
  background: transparent;
}

.btn--outline-dark:hover {
  border-color: var(--color-black);
  background: var(--color-black);
  color: var(--color-white);
}

.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--color-white);
  background: transparent;
}

.btn--outline-light:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.btn--block {
  width: 100%;
}

/* ===== Header ===== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-black);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  line-height: 1;
  color: var(--color-white);
}

.brand__mark {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  display: block;
}

.brand__text {
  display: flex;
  flex-direction: column;
}

.brand__name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand__name span {
  color: var(--color-gold);
}

.brand__tag {
  margin-top: 5px;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gray-500);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav__link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-gray-300);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}

.main-nav__link:hover,
.main-nav__link.is-active {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.06);
}

.main-nav__item {
  position: static;
}

.main-nav__item:hover .main-nav__dropdown,
.main-nav__item.is-open .main-nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Dark mega-panel: centers under the whole header (not the trigger link) so
   it never overflows the viewport edge on narrower desktop widths. */
.main-nav__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  width: min(720px, calc(100vw - 48px));
  background: var(--color-black-soft);
  box-shadow: var(--shadow-card-hover);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  display: grid;
  grid-template-columns: 230px 1fr;
  z-index: 60;
}

.nav-panel__intro {
  padding: 30px 26px 30px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
}

.nav-panel__intro p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
  margin: 0 0 18px;
}

.nav-panel__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-gold-light);
}

.nav-panel__cta svg {
  flex: none;
  transition: transform var(--transition);
}

.nav-panel__intro:hover .nav-panel__cta svg {
  transform: translateX(3px);
}

.nav-panel__list {
  padding: 26px 28px;
}

.nav-panel__list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-white);
  transition: color var(--transition), padding-left var(--transition);
}

.nav-panel__list a:first-child { padding-top: 2px; }
.nav-panel__list a:last-child { border-bottom: none; }
.nav-panel__list a:hover { color: var(--color-gold-light); padding-left: 6px; }

.nav-panel__arrow {
  flex: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity var(--transition), transform var(--transition);
}

.nav-panel__list a:hover .nav-panel__arrow {
  opacity: 1;
  transform: translateX(0);
}

.nav-panel__groups {
  padding: 26px 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 24px;
}

.nav-panel__group-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: 12px;
}

.nav-panel__groups a {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
  padding: 7px 0;
  line-height: 1.4;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color var(--transition), padding-left var(--transition);
}

.nav-panel__group a:last-child { border-bottom: none; }
.nav-panel__groups a:hover { color: var(--color-gold-light); padding-left: 4px; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.lang-switch {
  position: relative;
  display: flex;
  align-items: center;
}

.lang-switch__current {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  padding: 8px 12px;
  border-radius: var(--radius);
  cursor: pointer;
}

.lang-switch__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card-hover);
  padding: 6px;
  min-width: 130px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

.lang-switch.is-open .lang-switch__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-switch__option {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-black);
}

.lang-switch__option:hover {
  background: var(--color-offwhite);
}

.lang-switch__option.is-active {
  color: var(--color-gold-dark);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  background: var(--color-black-soft);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav__list {
  padding: 10px 0;
}

.mobile-nav__link {
  display: block;
  padding: 13px 24px;
  color: var(--color-gray-300);
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav__link.is-active {
  color: var(--color-gold);
}

.mobile-nav__sublist {
  padding: 4px 0 10px 40px;
  background: rgba(0, 0, 0, 0.2);
}

.mobile-nav__sublist .mobile-nav__link {
  padding: 12px 0;
  border-bottom: none;
  font-weight: 500;
  font-size: 0.92rem;
}

.mobile-nav__langs {
  display: flex;
  gap: 10px;
  padding: 16px 24px;
}

.mobile-nav__langs a {
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  color: var(--color-gray-300);
  font-weight: 700;
  font-size: 0.82rem;
}

.mobile-nav__langs a.is-active {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

@media (max-width: 900px) {
  .main-nav, .header-actions .lang-switch, .header-actions .btn {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
}

/* ===== Hero ===== */
.hero .container {
  position: relative;
}

.footprint {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  width: clamp(300px, 30vw, 440px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 75, 0.35);
  box-shadow: 0 0 0 10px rgba(201, 162, 75, 0.06), 0 30px 70px rgba(0, 0, 0, 0.55);
  z-index: 0;
  pointer-events: none;
}

.footprint__map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1) sepia(0.5) saturate(2.4) hue-rotate(-8deg) brightness(0.85);
  opacity: 0;
  animation: footprintFadeIn 1.6s ease forwards 0.2s;
}

@keyframes footprintFadeIn {
  to { opacity: 0.9; }
}

.footprint__marker {
  position: absolute;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  margin-top: -5px;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 0 0 rgba(201, 162, 75, 0.6);
  opacity: 0;
  animation: footprintMarkerIn 0.5s ease forwards var(--delay, 0s), footprintMarkerPulse 2.6s ease-in-out infinite var(--delay, 0s);
  pointer-events: auto;
  cursor: pointer;
}

.footprint__marker--sm { width: 6px; height: 6px; margin-left: -3px; margin-top: -3px; }
.footprint__marker--lg { width: 14px; height: 14px; margin-left: -7px; margin-top: -7px; }

@keyframes footprintMarkerIn {
  from { opacity: 0; transform: scale(0); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes footprintMarkerPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 162, 75, 0.55); }
  50% { box-shadow: 0 0 0 10px rgba(201, 162, 75, 0); }
}

.footprint__marker .tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--color-white);
  color: var(--color-black);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: var(--radius);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 5;
}

.footprint__marker:hover .tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.footprint canvas {
  border-radius: 50%;
  cursor: default;
}

.footprint__globe-tooltip {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-50%, calc(-100% - 12px));
  background: var(--color-white);
  color: var(--color-black);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: var(--radius);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  z-index: 5;
}

.footprint__globe-tooltip.is-visible {
  opacity: 1;
}

.hero__globe-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: visible;
}

.hero__globe-layer canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.footprint__globe-tag {
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(10, 10, 11, 0.72);
  border: 1px solid rgba(227, 199, 133, 0.3);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 4px 9px;
  border-radius: var(--radius);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 3;
}

.footprint__globe-tag.is-visible {
  opacity: 1;
}

.footprint__globe-tag::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 1px;
  height: 10px;
  background: rgba(227, 199, 133, 0.55);
  transform: translateX(-50%);
}

@media (max-width: 900px) {
  .footprint {
    width: 220px;
    right: -40px;
    opacity: 0.55;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footprint__map { animation: none; opacity: 0.9; }
  .footprint__marker { animation: none; opacity: 1; }
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--color-black);
  color: var(--color-white);
  overflow: hidden;
}

.hero:not(.hero--page) {
  align-items: flex-start;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(201, 162, 75, 0.16), transparent 45%),
    linear-gradient(180deg, #0a0a0b 0%, #131315 100%);
  pointer-events: none;
}

.hero:not(.hero--page)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, var(--color-white));
  pointer-events: none;
  z-index: 1;
}

.hero h1,
.hero h2,
.hero h3 {
  color: var(--color-white);
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding: 110px 0 100px;
  max-width: 760px;
}

.hero:not(.hero--page) h1 {
  font-size: clamp(3rem, 6.4vw, 5.4rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.hero:not(.hero--page) .hero__inner {
  max-width: 900px;
  padding-top: 70px;
}

/* Text (and the .container box around it) sits visually over the globe
   canvas underneath. Let clicks and drags pass through the empty space
   and non-interactive text so the globe can be grabbed from anywhere
   it's visible, not just where it's not covered by copy — then
   re-enable the actual controls explicitly. The globe canvas itself
   lives in a sibling layer, unaffected by this. */
.hero:not(.hero--page) .container {
  pointer-events: none;
}

.hero:not(.hero--page) .hero__inner a,
.hero:not(.hero--page) .hero__inner button,
.hero:not(.hero--page) .hero__inner [data-lang-switch],
.hero:not(.hero--page) .hero__inner select,
.hero:not(.hero--page) .hero__inner input,
.hero:not(.hero--page) .hero__inner textarea {
  pointer-events: auto;
}

.hero--page {
  min-height: 0;
  display: block;
  padding: 0;
}

.hero--page .hero__inner {
  padding: 64px 0 56px;
  max-width: 100%;
}

.hero__eyebrow {
  color: var(--color-gold);
}

.hero__lede {
  font-size: 1.15rem;
  color: var(--color-gray-300);
  max-width: 620px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--color-gray-500);
  margin-bottom: 18px;
}

.breadcrumbs a {
  color: var(--color-gray-300);
}

.breadcrumbs a:hover {
  color: var(--color-gold);
}

.section--dark .breadcrumbs a {
  color: var(--color-gray-300);
}

/* ===== Stats ===== */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-row--light {
  border-top: 1px solid var(--color-gray-100);
}

.stat h3 {
  font-size: 2.1rem;
  color: var(--color-gold);
  margin-bottom: 4px;
}

.stat p {
  font-size: 0.86rem;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-gray-500);
}

@media (max-width: 760px) {
  .stat-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 24px;
  }
}

/* ===== Service grid / cards ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 980px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
  transform: translateY(-3px);
}

.service-card__icon {
  width: 46px;
  height: 46px;
  color: var(--color-gold-dark);
  margin-bottom: 20px;
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  margin-bottom: 10px;
}

.service-card__link {
  margin-top: auto;
  padding-top: 18px;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  color: var(--color-black);
}

.service-card__link::after {
  content: '\2192';
  margin-left: 6px;
  transition: margin var(--transition);
  display: inline-block;
}

.service-card:hover .service-card__link::after {
  margin-left: 12px;
}

/* ===== Two column / feature list ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
}

.check-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 16px;
  color: var(--color-gray-700);
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-gold);
}

.check-list li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 9.5px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--color-black);
  border-bottom: 2px solid var(--color-black);
  transform: rotate(-45deg);
}

.subservice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 40px;
}

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

/* ===== CTA band ===== */
.cta-band {
  background: var(--color-black);
  color: var(--color-white);
  text-align: center;
  padding: 72px 0;
}

.cta-band h2 {
  color: var(--color-white);
  margin-bottom: 14px;
}

.cta-band p {
  color: var(--color-gray-300);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-band__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* ===== Values / cards grid ===== */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 980px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.value-card {
  padding: 26px;
  background: var(--color-offwhite);
  border-radius: var(--radius);
  border-top: 3px solid var(--color-gold);
}

.value-card h3 {
  font-size: 1.05rem;
}

.value-card p {
  font-size: 0.92rem;
  margin: 0;
}

.value-card h3 a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.value-card h3 a:hover {
  color: var(--color-gold-dark);
  border-bottom-color: var(--color-gold-dark);
}

/* ===== Client marquee (About page) ===== */
.client-marquee {
  position: relative;
  overflow: hidden;
}

.client-marquee::before,
.client-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}

.client-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--color-offwhite), transparent);
}

.client-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--color-offwhite), transparent);
}

.client-marquee__track {
  display: flex;
  width: max-content;
  animation: client-marquee-scroll 55s linear infinite;
}

.client-marquee:hover .client-marquee__track {
  animation-play-state: paused;
}

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

.client-card {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  padding: 0 32px;
  color: var(--color-black);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  white-space: nowrap;
  filter: grayscale(1);
  opacity: 0.5;
  transition: opacity 220ms ease, transform 220ms ease;
}

.client-card:hover {
  opacity: 1;
  color: var(--color-gold-dark);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .client-marquee__track {
    animation: none;
  }
}

/* ===== Industries grid (About page) ===== */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 980px) {
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.industry-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 22px;
  background: var(--color-offwhite);
  border-radius: var(--radius);
  border-top: 3px solid var(--color-gold);
}

.industry-card__icon {
  width: 30px;
  height: 30px;
  color: var(--color-gold-dark);
}

.industry-card__icon svg {
  width: 100%;
  height: 100%;
}

.industry-card h3 {
  font-size: 0.98rem;
  margin: 0;
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
}

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

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info-item__icon {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-item__icon svg {
  width: 20px;
  height: 20px;
}

.contact-info-item h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-info-item p {
  margin: 0;
}

.contact-map-link {
  display: inline-block;
  margin-top: 8px;
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--color-gold-dark);
}

.form-card {
  background: var(--color-offwhite);
  padding: 36px;
  border-radius: var(--radius);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 540px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-gray-300);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.94rem;
  background: var(--color-white);
  color: var(--color-black);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 1px;
  border-color: var(--color-gold);
}

.form-error {
  display: block;
  color: #b23b3b;
  font-size: 0.78rem;
  margin-top: 6px;
  min-height: 1em;
}

.form-note {
  font-size: 0.82rem;
  color: var(--color-gray-500);
  margin-top: 14px;
}

.form-note a {
  color: var(--color-gold-dark);
  font-weight: 700;
}

.form-success {
  display: none;
  background: #eaf6ec;
  border: 1px solid #b7ddbc;
  color: #2f6b37;
  padding: 16px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 0.92rem;
}

.form-success.is-error {
  background: #fbeaea;
  border-color: #e3b3b3;
  color: #a13d3d;
}

.form-success.is-visible {
  display: block;
}

.form-hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ===== Footer ===== */
#site-footer {
  background: var(--color-black);
  color: var(--color-gray-300);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.footer-grid h3 {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-grid li {
  font-size: 0.9rem;
}

/* Padding (not just margin) so the tappable area meets the ~44px
   minimum touch-target guideline on mobile, not just the text line. */
.footer-grid li a {
  display: inline-block;
  padding: 11px 0;
}

.footer-grid a:hover {
  color: var(--color-gold);
}

.footer-brand__row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand .brand__name {
  color: var(--color-white);
}

.footer-brand p {
  margin-top: 14px;
  font-size: 0.88rem;
  max-width: 300px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.8rem;
  color: var(--color-gray-500);
}

/* ===== Utility ===== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-gold);
  color: var(--color-black);
  padding: 10px 16px;
  z-index: 1000;
  font-weight: 700;
}

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

/* ===== Resource grid (bordered panel with corner dot markers) ===== */
.grid-panel {
  position: relative;
  border: 1px solid var(--color-gray-100);
}

.grid-panel::before,
.grid-panel::after,
.grid-header::before,
.grid-header::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-gold);
}

.grid-panel::before { top: -2px; left: -2px; }
.grid-panel::after { top: -2px; right: -2px; }

.grid-header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 26px;
  border-bottom: 1px solid var(--color-gray-100);
}

.grid-header::before { bottom: -2px; left: -2px; }
.grid-header::after { bottom: -2px; right: -2px; }

.grid-header__label {
  font-size: 0.85rem;
  color: var(--color-gray-700);
  font-weight: 600;
}

.grid-header__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.resource-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px 26px;
  border-right: 1px solid var(--color-gray-100);
  border-bottom: 1px solid var(--color-gray-100);
  transition: background var(--transition);
  color: inherit;
}

.resource-cell:nth-child(3n) {
  border-right: none;
}

.resource-cell::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-gray-300);
}

a.resource-cell:hover {
  background: var(--color-offwhite);
}

a.resource-cell:hover::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-gold);
}

.resource-cell__icon {
  width: 34px;
  height: 34px;
  color: var(--color-gold-dark);
}

.resource-cell__icon svg {
  width: 100%;
  height: 100%;
}

.resource-cell h3 {
  font-size: 1.02rem;
  line-height: 1.35;
  margin: 0;
}

.resource-cell p {
  font-size: 0.86rem;
  margin: 0;
}

.resource-cell__action {
  margin-top: auto;
  padding-top: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.resource-cell__action.is-link {
  color: var(--color-black);
}

.resource-cell__action.is-soon {
  color: var(--color-gray-500);
  background: var(--color-offwhite);
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  width: fit-content;
}

@media (max-width: 860px) {
  .resource-grid { grid-template-columns: repeat(2, 1fr); }
  .resource-cell:nth-child(3n) { border-right: 1px solid var(--color-gray-100); }
  .resource-cell:nth-child(2n) { border-right: none; }
}

@media (max-width: 560px) {
  .resource-grid { grid-template-columns: 1fr; }
  .resource-cell { border-right: none !important; }
}

/* ===== Standards list (ISA detail page) ===== */
.source-note {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-offwhite);
  border-left: 3px solid var(--color-gold);
  padding: 14px 18px;
  margin-bottom: 44px;
  font-size: 0.86rem;
  color: var(--color-gray-700);
}

.source-note a {
  color: var(--color-gold-dark);
  font-weight: 700;
}

.standards-section {
  margin-bottom: 40px;
}

.standards-section h2 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-black);
  padding-bottom: 12px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--color-gold);
}

.standards-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 32px;
}

/* Full-width sub-heading row inside a two-column standards-list */
.standards-sublabel {
  grid-column: 1 / -1;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-gold-dark);
  padding: 14px 4px 6px;
}

.standards-list > .standards-sublabel:first-child {
  padding-top: 0;
}

.standard-link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 11px 4px;
  border-bottom: 1px solid var(--color-gray-100);
  font-size: 0.92rem;
  transition: color var(--transition), padding-left var(--transition);
}

.standard-link:hover {
  color: var(--color-gold-dark);
  padding-left: 6px;
}

.standard-link__num {
  flex: none;
  font-weight: 700;
  color: var(--color-black);
  transition: color var(--transition);
}

.standard-link:hover .standard-link__num {
  color: var(--color-gold-dark);
}

.standard-link__title {
  color: var(--color-gray-700);
  transition: color var(--transition);
}

.standard-link:hover .standard-link__title {
  color: var(--color-gold-dark);
}

/* Non-clickable row — a topic/chapter label with no standalone source, not a broken link */
.standard-link--static {
  cursor: default;
}

.standard-link--static:hover {
  color: inherit;
  padding-left: 4px;
}

.standard-link--static .standard-link__num {
  color: var(--color-gray-300);
}

.standard-link--static:hover .standard-link__num,
.standard-link--static:hover .standard-link__title {
  color: var(--color-gray-300);
}

.standard-link--static .standard-link__title {
  color: var(--color-gray-500);
}

@media (max-width: 700px) {
  .standards-list { grid-template-columns: 1fr; }
}

/* ===== Statement table (DTT, Banks — formal register style) ===== */
.statement-section {
  margin-bottom: 48px;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.statement-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.statement-table .region-row th {
  text-align: left;
  padding: 0 0 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.02rem;
  border-bottom: 1px solid var(--color-black);
}

.statement-table thead.cols th {
  text-align: left;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-gray-500);
  font-weight: 600;
  padding: 14px 0 10px;
  border-bottom: 1px solid var(--color-gray-300);
}

.statement-table thead.cols th:not(:first-child) {
  padding-left: 28px;
}

.statement-table tbody td {
  padding: 11px 0;
  border-bottom: 1px solid var(--color-gray-100);
  vertical-align: top;
}

.statement-table tbody td:not(:first-child) {
  padding-left: 28px;
}

.statement-table tbody tr:last-child td {
  border-bottom: 1px solid var(--color-black);
}

.statement-table .country {
  font-weight: 600;
  white-space: nowrap;
}

.statement-table a {
  color: var(--color-black);
  text-decoration: none;
  border-bottom: 1px solid var(--color-gray-300);
}

.statement-table a:hover {
  color: var(--color-gold-dark);
  border-color: var(--color-gold-dark);
}

.statement-table .statement-secondary {
  color: var(--color-gray-500);
  font-weight: 400;
}

.statement-table .na {
  color: var(--color-gray-300);
}

.statement-footnote {
  font-size: 0.78rem;
  color: var(--color-gray-500);
  margin-top: 12px;
}

/* ===== Custom cursor (desktop, motion-enabled only) ===== */
.has-custom-cursor,
.has-custom-cursor a,
.has-custom-cursor button,
.has-custom-cursor input,
.has-custom-cursor select,
.has-custom-cursor textarea,
.has-custom-cursor [role="button"] {
  cursor: none;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  opacity: 0;
  will-change: transform;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  transition: opacity 200ms ease;
}

.cursor-dot.is-hover {
  opacity: 0;
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-gold);
  transition: width 250ms ease, height 250ms ease, background-color 250ms ease, opacity 200ms ease;
}

.cursor-ring.is-hover {
  width: 60px;
  height: 60px;
  background: rgba(201, 162, 75, 0.14);
}
