.hero {
  position: relative;
  min-height: 92dvh;
  display: grid;
  isolation: isolate;
  background: var(--dark);
  overflow: hidden;
}

.hero > .hero__bg,
.hero > .hero__content {
  grid-area: 1 / 1;
}

.hero__bg {
  position: relative;
  z-index: 0;
  width: 100%;
  min-height: 100%;
  align-self: stretch;
  background: var(--dark);
}

.hero__bg-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
}

.hero__bg-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  z-index: 0;
  transition: opacity 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero__bg-slide.is-active {
  opacity: 1;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg-slide {
    transition: none;
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(16, 14, 12, 0.82) 0%, rgba(16, 14, 12, 0.64) 42%, rgba(12, 10, 8, 0.95) 100%),
    linear-gradient(90deg, rgba(14, 12, 10, 0.88) 0%, rgba(14, 12, 10, 0.72) 48%, rgba(14, 12, 10, 0.32) 78%, transparent 100%);
}

.hero__content {
  position: relative;
  z-index: 5;
  align-self: start;
  padding-top: calc(var(--nav-h) + clamp(16px, 2.8vw, 32px));
  padding-bottom: clamp(32px, 5vw, 56px);
  width: 100%;
}

.hero .eyebrow {
  font-size: 15px;
  letter-spacing: 0.19em;
}

.hero h1 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: clamp(28px, 4.5vw, 58px);
  font-weight: 800;
  margin: 20px 0 24px;
  max-width: 17ch;
  letter-spacing: -0.02em;
  line-height: 1.02;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.hero h1 span { color: var(--accent-bright); }

.hero__lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 1.6vw, 19px);
  max-width: 54ch;
  font-weight: 300;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero__authenticity {
  margin-top: 26px;
  padding-left: 14px;
  border-left: 2px solid var(--accent-bright);
}

.hero__authenticity-headline {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
  line-height: 1.35;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.hero__authenticity-sub {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.84);
  margin-top: 4px;
  line-height: 1.45;
  max-width: 54ch;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  align-items: center;
}

.hero + .services.section-pad {
  padding-top: clamp(32px, 5vw, 56px);
}

.services {
  background: var(--dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.services__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.services__head h2 { color: var(--white); }

.services__controls { display: flex; gap: 12px; }

.services__track {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 44px 0 12px;
  scroll-padding-left: 32px;
}

.services__spacer { flex: 0 0 30px; }

.service-card {
  flex: 0 0 270px;
  scroll-snap-align: start;
  position: relative;
  height: clamp(400px, 48vw, 520px);
  overflow: hidden;
  background: #0f0e0c;
  cursor: pointer;
  content-visibility: auto;
  contain-intrinsic-size: 270px 520px;
  transition: flex-basis 0.6s var(--ease-out);
}

.service-card.is-hovered { flex-basis: 380px; }

.service-card.is-dimmed { flex-basis: 216px; }

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out), opacity 0.6s ease;
  opacity: 0.62;
}

.service-card.is-hovered img {
  opacity: 0.85;
  transform: scale(1.06);
}

.service-card.is-dimmed img { opacity: 0.48; }

.service-card--brand {
  background: radial-gradient(circle at center, #063422 0%, #021811 100%);
}

.service-card--brand img {
  object-fit: contain;
  padding: 38px 24px 88px;
  opacity: 0.88;
}

.service-card--brand.is-hovered img {
  opacity: 1;
  transform: scale(1.06);
}

.service-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 11, 9, 0.25) 0%, rgba(12, 11, 9, 0.05) 40%, rgba(12, 11, 9, 0.9) 100%);
}

.service-card__num {
  position: absolute;
  top: 22px;
  left: 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.75);
}

.service-card__body {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}

.service-card__rule {
  height: 2px;
  width: 34px;
  background: var(--accent-bright);
  margin-top: 14px;
}

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

.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  max-width: 1400px;
  margin: 0 auto;
  align-items: stretch;
}

.stats__nums {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: clamp(40px, 4vw, 58px) clamp(24px, 3vw, 40px);
}

.stat-item {
  padding: 22px clamp(14px, 2vw, 28px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stat-item__val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 3.6vw, 54px);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-item__unit {
  color: var(--accent-bright);
  font-size: 0.4em;
  vertical-align: super;
  margin-left: 3px;
  font-weight: 700;
}

.stat-item__lab {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 12px;
  line-height: 1.5;
}

.stats__countries {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding: clamp(40px, 4vw, 58px) clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stats__countries-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.stats__country-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px clamp(20px, 3vw, 44px);
  margin-top: clamp(22px, 2.4vw, 32px);
}

.stats__country-list span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 2.9vw, 42px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--accent-bright);
}

.showcase-slider {
  --slider-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --slider-interval: 2.5s;
  --slider-h: clamp(340px, 38vw, 600px);
  width: 100%;
  margin: 0;
  padding: 0;
}

.showcase-slider__frame {
  position: relative;
  width: 100%;
  height: var(--slider-h);
  min-height: var(--slider-h);
  max-height: var(--slider-h);
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 100% at 50% 50%, rgba(40, 34, 26, 0.95) 0%, var(--dark) 100%),
    var(--dark);
}

/* Decorative side vignettes with accent-tinted edges */
.showcase-slider__frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--dark) 0%, rgba(20, 18, 16, 0.85) 2%, rgba(162, 83, 31, 0.08) 4%, transparent 12%),
    linear-gradient(270deg, var(--dark) 0%, rgba(20, 18, 16, 0.85) 2%, rgba(162, 83, 31, 0.08) 4%, transparent 12%);
  pointer-events: none;
  z-index: 3;
}

/* Top/bottom edge blend */
.showcase-slider__frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 18, 16, 0.35) 0%, transparent 8%),
    linear-gradient(180deg, transparent 85%, rgba(20, 18, 16, 0.45));
  pointer-events: none;
  z-index: 3;
}

.showcase-slider__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 1.2s var(--slider-ease);
}

.showcase-slider__slide.is-active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.showcase-slider__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: saturate(0.92) contrast(1.02);
  transform: scale(1.02);
  transition: transform 6s var(--slider-ease);
}

.showcase-slider__slide.is-active img {
  transform: scale(1);
}

.showcase-slider__dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}

.showcase-slider__dot {
  width: 28px;
  height: 2px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.5s var(--slider-ease), width 0.5s var(--slider-ease);
}

.showcase-slider__dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.showcase-slider__dot.is-active {
  width: 48px;
  background: rgba(255, 255, 255, 0.25);
}

.showcase-slider__dot.is-active::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white);
  transform-origin: left;
  animation: showcaseIndicatorFill var(--slider-interval) linear forwards;
}

.showcase-slider__frame.is-paused .showcase-slider__dot.is-active::after {
  animation-play-state: paused;
}

.showcase-slider__dot:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}

@keyframes showcaseIndicatorFill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .showcase-slider__slide,
  .showcase-slider__slide img,
  .showcase-slider__dot {
    transition: none;
  }

  .showcase-slider__slide img,
  .showcase-slider__slide.is-active img {
    transform: none;
  }

  .showcase-slider__dot.is-active::after {
    animation: none;
    transform: scaleX(1);
  }
}

.legacy {
  background: var(--surface);
  padding: 0 0 clamp(64px, 9vw, 120px);
}

.legacy__wrap {
  display: flex;
  flex-direction: column;
  padding-top: clamp(36px, 5vw, 64px);
}

.legacy__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.legacy__sticky { position: sticky; top: 32px; }

.legacy__sticky h2 {
  margin: 18px 0 clamp(18px, 2.4vw, 24px);
  max-width: 22ch;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.legacy__videos {
  width: 100%;
  margin: 0 0 clamp(20px, 2.6vw, 28px);
}

.legacy__photo {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--dark);
}

.legacy__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.timeline {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 26px;
}

.timeline__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 6px;
}

.timeline__dot {
  width: 11px;
  height: 11px;
  background: var(--accent);
  transform: rotate(45deg);
  flex: none;
}

.timeline__line {
  width: 1px;
  flex: 1;
  background: linear-gradient(180deg, #d8d3c7, rgba(216, 211, 199, 0.25));
}

.timeline__item { padding-bottom: 44px; }

.timeline__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 38px;
  line-height: 1;
  color: #dcd7cb;
  letter-spacing: -0.03em;
}

.timeline__item h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin: 10px 0;
  line-height: 1.2;
  color: var(--ink);
}

.timeline__highlight {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1;
  margin-top: 16px;
}

.timeline__unit {
  font-size: 0.42em;
  vertical-align: super;
  color: var(--accent-bright);
}

.legacy-video__floater {
  width: 100%;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.legacy-video__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(72px, 14vw, 104px);
  gap: clamp(10px, 1.4vw, 14px);
  align-items: stretch;
}

.legacy-video__stage {
  position: relative;
  min-width: 0;
}

.legacy-video__slide {
  width: 100%;
}

.legacy-video__slide[hidden] {
  display: none;
}

.legacy-video__side {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  height: 100%;
}

.legacy-video__side-btn {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 1px solid rgba(16, 14, 12, 0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--dark);
  cursor: pointer;
  color: #fff;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.legacy-video__side-btn[hidden] {
  display: none;
}

.legacy-video__side-btn img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.legacy-video__side-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 11, 9, 0.12) 0%, rgba(12, 11, 9, 0.55) 100%);
}

.legacy-video__side-play {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  color: #fff;
}

.legacy-video__side-play svg {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45));
}

@media (prefers-reduced-motion: reduce) {
  .legacy-video__play-icon { animation: none; }
}

.legacy-video__side-btn:hover {
  border-color: var(--accent-bright);
  box-shadow: 0 8px 22px rgba(16, 14, 12, 0.16);
}

.legacy-video__side-btn:hover img {
  transform: scale(1.05);
}

.legacy-video__side-btn:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}

@media (max-width: 720px) {
  .legacy-video__layout {
    grid-template-columns: minmax(0, 1fr) 72px;
  }

  .legacy-video__play-icon {
    width: 52px;
    height: 52px;
  }

  .legacy-video__nav {
    padding-top: 16px;
  }

  .legacy-video__side-play svg {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 480px) {
  .legacy-video__layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .legacy-video__side {
    flex-direction: row;
    height: 72px;
  }

  .legacy-video__side-btn {
    flex: 1 1 0;
  }
}

.legacy-video__ratio {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: var(--dark);
  overflow: hidden;
  border-radius: var(--radius-md);
}

.legacy-video__placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: radial-gradient(ellipse at 40% 40%, rgba(255, 255, 255, 0.12) 0%, transparent 65%),
              linear-gradient(160deg, #1e1b17 0%, #12100e 100%);
  color: var(--white);
  transition: opacity 0.4s ease;
}

.legacy-video__placeholder.is-loaded {
  opacity: 0;
  pointer-events: none;
}

.legacy-video__thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.legacy-video__play-icon {
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.45));
  animation: legacyVideoPulse 2.8s ease-in-out infinite;
}

@keyframes legacyVideoPulse {
  0%, 100% { opacity: 0.92; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

.legacy-video__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.legacy-video__frame.is-loaded {
  opacity: 1;
  pointer-events: auto;
}

.legacy-video__nav {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 22px 0 0;
}

.legacy-video__dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legacy-video__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.legacy-video__dot.is-active {
  background: var(--ink);
  transform: scale(1.25);
}

.legacy-video__dot:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}

.legacy-video__arrow {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  color: var(--dark);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

.legacy-video__arrow:hover:not(:disabled) {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
  color: #fff;
}

.legacy-video__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.legacy-video__arrow:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}

.thirdspace {
  position: relative;
  background: var(--surface-alt);
  overflow: hidden;
  min-height: clamp(460px, 44vw, 620px);
  display: flex;
}

.thirdspace__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.thirdspace__bg img {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 52%;
  min-width: min(360px, 100%);
  object-fit: cover;
  object-position: left center;
}

.thirdspace__fade {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 54%;
  min-width: min(380px, 100%);
  background: linear-gradient(90deg, rgba(237, 233, 225, 0) 0%, rgba(237, 233, 225, 0.3) 40%, rgba(237, 233, 225, 0.85) 72%, var(--surface-alt) 94%);
}

.thirdspace__fill {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 48%;
  background: var(--surface-alt);
}

.thirdspace__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 90px) clamp(28px, 4vw, 64px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  align-items: center;
}

.thirdspace__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.thirdspace__logo { width: min(100%, 520px); height: auto; }

.thirdspace__tagline {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 16px;
  align-self: stretch;
  justify-content: flex-end;
  max-width: 520px;
}

.thirdspace__tagline span:first-child {
  width: clamp(56px, 7vw, 96px);
  height: 2px;
  background: var(--ink);
  flex: none;
}

.thirdspace__tagline span:last-child {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(15px, 1.5vw, 21px);
  letter-spacing: 0.02em;
  color: var(--ink);
  text-transform: uppercase;
}

.thirdspace__content p { margin-top: clamp(34px, 4vw, 58px); max-width: 52ch; }

.thirdspace__content p + p { margin-top: 22px; }

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  padding: 8px 8px 8px 26px;
  border-radius: var(--radius-pill);
  margin-top: clamp(28px, 3vw, 40px);
  border: 1px solid rgba(22, 21, 15, 0.22);
  background: rgba(255, 255, 255, 0.5);
  transition: 0.25s;
}

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

.btn-outline-dark__icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--ink);
}
