/*
 * Domain Canyon Signature Premium layer
 * Independent editorial corporate implementation. No third-party code or assets.
 */
:root {
  --signature-paper: #f3f2ef;
  --signature-paper-deep: #ebeae6;
  --signature-ink: #1f2228;
  --signature-dark: #1c1f25;
  --signature-red: #de271f;
  --signature-red-dark: #8f1712;
  --signature-line: rgb(31 34 40 / .14);
  --signature-line-inverse: rgb(255 255 255 / .24);
  --signature-radius-lg: clamp(2.4rem, 2.1vw, 4.2rem);
  --signature-radius-md: clamp(1.7rem, 1.35vw, 2.8rem);
  --signature-shadow: 0 3.2rem 9rem rgb(24 27 33 / .12);
  --signature-shadow-strong: 0 5rem 14rem rgb(18 20 25 / .24);
  --signature-ease: cubic-bezier(.16, 1, .3, 1);
  --signature-header-top: clamp(1.2rem, 1.4vw, 2.7rem);
  --signature-header-size: clamp(6.2rem, 4.4vw, 8.5rem);
}

html {
  background: var(--signature-paper);
  scroll-behavior: smooth;
}

body {
  background: var(--signature-paper);
  color: var(--signature-ink);
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  text-rendering: geometricPrecision;
}

::selection {
  color: #fff;
  background: var(--signature-red);
}

main { isolation: isolate; }

.container {
  width: min(100%, 192rem);
}

[data-premium-heading] {
  text-wrap: balance;
}

/* ---------- Header: two controlled glass islands ---------- */
.site-header {
  height: calc(var(--signature-header-size) + var(--signature-header-top) * 2 + 2.2rem);
  padding: var(--signature-header-top) var(--page-gutter) 0;
  pointer-events: none;
}

.site-header__inner {
  height: var(--signature-header-size);
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--signature-ink);
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none;
  pointer-events: none;
}

.site-header__identity,
.site-header__actions {
  min-height: var(--signature-header-size);
  border: 1px solid var(--signature-line);
  background: rgb(255 255 255 / .92);
  box-shadow: 0 1.2rem 4rem rgb(31 34 40 / .07);
  backdrop-filter: blur(24px) saturate(145%);
  pointer-events: auto;
}

.site-header__identity {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 1.3vw, 2.6rem);
  min-width: clamp(27rem, 21vw, 42rem);
  padding: 0 clamp(1.8rem, 1.7vw, 3.4rem);
  border-radius: 999px;
}

.site-header__actions {
  gap: clamp(.65rem, .62vw, 1.2rem);
  padding: .65rem .85rem .65rem clamp(1.2rem, 1.25vw, 2.4rem);
  border-radius: 999px;
}

.site-header[data-theme='dark']:not(.is-scrolled):not(.is-menu-open) .site-header__identity,
.site-header[data-theme='dark']:not(.is-scrolled):not(.is-menu-open) .site-header__actions {
  color: #fff;
  border-color: var(--signature-line-inverse);
  background: rgb(20 22 27 / .40);
  box-shadow: none;
}

.site-header.is-scrolled .site-header__identity,
.site-header.is-scrolled .site-header__actions,
.site-header.is-menu-open .site-header__identity,
.site-header.is-menu-open .site-header__actions {
  color: var(--signature-ink);
  border-color: var(--signature-line);
  background: rgb(255 255 255 / .97);
  box-shadow: 0 1.8rem 5rem rgb(31 34 40 / .10);
}

.site-header__logo {
  width: clamp(13.5rem, 8.3vw, 17rem);
}

.header-status {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding-left: clamp(1rem, 1vw, 2rem);
  border-left: 1px solid currentColor;
  color: currentColor;
  font-size: clamp(.9rem, .62vw, 1.15rem);
  font-weight: 500;
  letter-spacing: .08em;
  opacity: .68;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-status i {
  width: .7rem;
  height: .7rem;
  border-radius: 50%;
  background: #26b96a;
  box-shadow: 0 0 0 .45rem rgb(38 185 106 / .13);
  animation: signature-status 2.6s ease-in-out infinite;
}

@keyframes signature-status {
  50% { box-shadow: 0 0 0 .8rem rgb(38 185 106 / 0); }
}

.site-header__micro {
  position: absolute;
  top: calc(var(--signature-header-top) + var(--signature-header-size) + .7rem);
  left: var(--page-gutter);
  display: flex;
  align-items: center;
  gap: .8rem;
  color: currentColor;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .18em;
  opacity: .42;
  pointer-events: none;
}

.site-header__micro i {
  width: 2.8rem;
  height: 1px;
  background: currentColor;
}

.partner-mark {
  width: clamp(5rem, 3.4vw, 6.7rem);
  opacity: .72;
}

.social-link {
  width: clamp(3.7rem, 2.7vw, 4.7rem);
  height: clamp(3.7rem, 2.7vw, 4.7rem);
}

.header-shortcut {
  min-width: clamp(9.5rem, 6.8vw, 13.2rem);
  height: clamp(3.8rem, 2.7vw, 4.8rem);
}

.menu-trigger {
  padding-inline: 1rem 1.2rem;
}

.menu-trigger::after { display: none; }

/* ---------- Menu ---------- */
.menu-backdrop {
  background: rgb(21 23 28 / .42);
  backdrop-filter: blur(10px);
}

.mega-menu {
  top: var(--signature-header-top);
  right: var(--page-gutter);
  border-radius: 3.4rem;
  box-shadow: 0 4rem 15rem rgb(15 17 21 / .30);
}

.mega-menu.is-open {
  width: min(34vw, 58rem);
  height: min(78rem, calc(100dvh - var(--signature-header-top) * 2));
}

.mega-menu.has-submenu.is-open { width: min(54vw, 94rem); }
.mega-menu__layout { width: min(54vw, 94rem); min-width: 76rem; padding: 10rem 4rem 4rem; }
.mega-menu__link,
.mega-menu__parent { min-height: 5.3rem; font-size: clamp(1.9rem, 1.42vw, 2.8rem); }
.mega-menu__submenu-list a { padding-block: 1.45rem; }

/* ---------- Shared section indexing ---------- */
.section-index {
  position: absolute;
  top: clamp(3.2rem, 3.4vw, 6.5rem);
  left: var(--page-gutter);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--signature-ink);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .58;
}

.section-index i {
  width: clamp(3rem, 3vw, 5.6rem);
  height: 1px;
  background: currentColor;
}

.section-index--light { color: #fff; }

.section { position: relative; }
.section--soft { background: var(--signature-paper-deep); }

/* ---------- Home hero ---------- */
.home-hero {
  min-height: 100svh;
  background: #17191e;
}

.hero-carousel,
.hero-carousel__track,
.hero-slide { min-height: 100svh; }

.hero-slide picture,
.hero-slide picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide picture img {
  transform: scale(1.035);
  transition: transform 7s linear, filter 1s ease;
}

.hero-slide.is-active picture img { transform: scale(1); }

.hero-slide::after {
  background:
    linear-gradient(90deg, rgb(15 17 21 / .84) 0%, rgb(15 17 21 / .50) 43%, rgb(15 17 21 / .16) 74%, rgb(15 17 21 / .28) 100%),
    linear-gradient(0deg, rgb(15 17 21 / .62), transparent 48%);
}

.hero-slide[data-theme='light']::after {
  background:
    linear-gradient(90deg, rgb(247 247 244 / .97) 0%, rgb(247 247 244 / .72) 40%, rgb(247 247 244 / .12) 74%),
    linear-gradient(0deg, rgb(247 247 244 / .55), transparent 52%);
}

.hero-slide__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 49.9%, rgb(255 255 255 / .08) 50%, transparent 50.1%),
    linear-gradient(0deg, transparent 0 49.9%, rgb(255 255 255 / .05) 50%, transparent 50.1%);
  background-size: 10rem 10rem;
  mix-blend-mode: soft-light;
  opacity: .42;
}

.hero-slide__content {
  top: calc(var(--signature-header-top) + var(--signature-header-size) + 5rem);
  right: var(--page-gutter);
  bottom: clamp(9rem, 9vw, 16rem);
  left: var(--page-gutter);
  z-index: 3;
  grid-template-columns: minmax(0, 1.32fr) minmax(28rem, .68fr);
  align-items: end;
  gap: clamp(5rem, 9vw, 17rem);
}

.hero-slide__main {
  display: flex;
  flex-direction: column;
  align-self: end;
}

.hero-slide__kicker {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: clamp(2rem, 2vw, 3.6rem);
  font-size: clamp(1rem, .68vw, 1.3rem);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero-slide__kicker::before {
  width: clamp(3.4rem, 3vw, 5.8rem);
  height: 1px;
  background: currentColor;
  content: '';
}

.hero-slide__title {
  max-width: 9.4ch;
  font-size: clamp(6rem, 5.7vw, 11.2rem);
  line-height: .89;
  letter-spacing: -.064em;
}

.hero-slide__aside {
  position: relative;
  align-self: end;
  padding: clamp(2.2rem, 2vw, 3.5rem) 0 .8rem clamp(2rem, 2.3vw, 4.4rem);
  border-left: 1px solid currentColor;
}

.hero-slide__sequence {
  display: block;
  margin-bottom: clamp(5rem, 6vw, 10rem);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .18em;
  opacity: .7;
}

.hero-slide__aside p {
  max-width: 37ch;
  font-size: clamp(1.5rem, 1.06vw, 2.05rem);
  line-height: 1.58;
}

.hero-slide__aside .cta-pill { margin-top: 2.8rem; }

.hero-nav {
  right: auto;
  bottom: clamp(2.2rem, 2.2vw, 4.2rem);
  left: var(--page-gutter);
  z-index: 6;
  gap: .45rem;
}

.hero-nav__button {
  position: relative;
  width: clamp(4.8rem, 3.5vw, 6.7rem);
  height: clamp(4.8rem, 3.5vw, 6.7rem);
  overflow: hidden;
  border-color: rgb(255 255 255 / .34);
  background: rgb(15 17 21 / .12);
  backdrop-filter: blur(10px);
}

.hero-nav__button::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #fff;
  transform: scale(0);
  transition: transform .45s var(--signature-ease);
  content: '';
}

.hero-nav__button span { position: relative; z-index: 1; }
.hero-nav__button[aria-current='true']::before { transform: scale(1); }
.hero-nav__button[aria-current='true'] { color: var(--signature-red); }

.hero-progress {
  right: var(--page-gutter);
  bottom: 0;
  left: var(--page-gutter);
  height: 2px;
  background: rgb(255 255 255 / .22);
}

.hero-scroll-cue {
  position: absolute;
  right: var(--page-gutter);
  bottom: clamp(2.8rem, 2.8vw, 5rem);
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero-scroll-cue i {
  position: relative;
  width: clamp(5rem, 5vw, 9rem);
  height: 1px;
  overflow: hidden;
  background: rgb(255 255 255 / .34);
}

.hero-scroll-cue i::after {
  position: absolute;
  inset: 0;
  background: #fff;
  transform: translateX(-100%);
  animation: signature-scroll-line 2.2s var(--signature-ease) infinite;
  content: '';
}

@keyframes signature-scroll-line {
  55%, 100% { transform: translateX(100%); }
}

/* Splash */
.splash { background: var(--signature-red); }
.splash__mark { width: min(42rem, 68vw); }
.splash__line {
  position: absolute;
  right: 10vw;
  bottom: 8vh;
  left: 10vw;
  height: 1px;
  overflow: hidden;
  background: rgb(255 255 255 / .24);
}
.splash__line::after {
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
  animation: splash-line 1.45s var(--signature-ease) both;
  content: '';
}
@keyframes splash-line { from { transform: scaleX(0); transform-origin: left; } to { transform: scaleX(1); transform-origin: left; } }

/* ---------- Product story ---------- */
.product-story {
  min-height: 115svh;
  overflow: clip;
  background: var(--signature-paper);
}

.product-story__grid {
  min-height: clamp(84rem, 74vw, 132rem);
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: clamp(6rem, 10vw, 19rem);
}

.product-story__copy {
  position: sticky;
  top: clamp(16rem, 18vh, 22rem);
  align-self: start;
  padding-block: clamp(5rem, 6vw, 10rem);
}

.product-story__copy h2 {
  max-width: 9.5ch;
  font-size: clamp(5rem, 5.1vw, 10rem);
  line-height: .91;
  letter-spacing: -.058em;
}

.product-story__copy p { max-width: 42ch; margin-top: 3rem; font-size: clamp(1.55rem, 1.02vw, 2rem); }
.product-story__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 2rem; margin-top: 3.4rem; }
.product-story__actions > span { max-width: 22rem; color: var(--gray-600); font-size: 1.1rem; line-height: 1.45; letter-spacing: .05em; text-transform: uppercase; }

.product-story__visual { min-height: 75rem; }
.product-story__backdrop {
  inset: 7% -7% 5% 0;
  border-radius: 48% 52% 48% 52% / 55% 42% 58% 45%;
  background:
    radial-gradient(circle at 34% 24%, #fff 0 6%, transparent 7%),
    radial-gradient(circle at 42% 38%, #fff 0%, #f1efeb 44%, #d8d6d0 100%);
  box-shadow: inset 0 0 0 1px rgb(31 34 40 / .07), var(--signature-shadow);
}
.product-story__orbit {
  position: absolute;
  inset: 2% -12% 1% -5%;
  z-index: 0;
  border: 1px solid rgb(222 39 31 / .25);
  border-radius: 50%;
  transform: rotate(-12deg) scale(calc(.88 + var(--progress, 0) * .12));
}
.product-story__image {
  z-index: 2;
  width: 92%;
  transform: translate3d(0, calc((.5 - var(--progress, .5)) * 6rem), 0) rotate(calc((.5 - var(--progress, .5)) * 3deg));
  filter: drop-shadow(0 5rem 6rem rgb(31 34 40 / .23));
}
.product-story__caption {
  position: absolute;
  right: 2%;
  bottom: 9%;
  z-index: 3;
  display: grid;
  place-content: center;
  width: clamp(11rem, 10vw, 19rem);
  aspect-ratio: 1;
  border-radius: 50%;
  color: #fff;
  background: var(--signature-red);
  box-shadow: 0 2rem 6rem rgb(222 39 31 / .28);
  text-align: center;
}
.product-story__caption b { font-size: clamp(2.6rem, 2.5vw, 4.8rem); font-weight: 400; letter-spacing: -.05em; }
.product-story__caption small { margin-top: .3rem; font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Feature rail ---------- */
.countries-section {
  padding-top: clamp(13rem, 14vw, 26rem);
  background: #fff;
}
.countries-section__intro {
  grid-template-columns: .42fr 1.08fr .5fr;
  align-items: end;
  gap: clamp(3rem, 6vw, 11rem);
}
.countries-section__intro h2 {
  max-width: 10.5ch;
  font-size: clamp(5rem, 5.2vw, 10.2rem);
  line-height: .91;
}
.countries-section__intro p { grid-column: 3; align-self: end; }
.feature-rail-wrap { position: relative; }
.feature-rail { gap: 1.3rem; }
.feature-card {
  min-height: clamp(41rem, 32vw, 58rem);
  padding: clamp(3rem, 3vw, 5.8rem);
  border-radius: var(--signature-radius-lg);
  background: #f8f8f6;
}
.feature-card__index {
  position: absolute;
  top: 2.8rem;
  right: 3rem;
  color: var(--signature-red);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .14em;
}
.feature-card__metric { font-size: clamp(5.5rem, 5.4vw, 10.5rem); }
.feature-card h3 { max-width: 12ch; }
.feature-rail__meter {
  position: relative;
  height: 2px;
  margin-top: 3rem;
  overflow: hidden;
  background: var(--signature-line);
}
.feature-rail__meter span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--signature-red);
  transform: scaleX(var(--rail-progress, .25));
  transform-origin: left;
  transition: transform .2s linear;
}

/* ---------- Dark metric manifesto ---------- */
.home-metrics {
  position: relative;
  overflow: clip;
  padding: clamp(12rem, 12vw, 23rem) 0 0;
  color: #fff;
  background:
    radial-gradient(circle at 78% 30%, rgb(222 39 31 / .45), transparent 34%),
    linear-gradient(125deg, #17191e, #24272e 62%, #3b1110);
}
.home-metrics::before {
  position: absolute;
  top: -20vw;
  right: -6vw;
  width: 54vw;
  aspect-ratio: 1;
  border: 1px solid rgb(255 255 255 / .18);
  border-radius: 50%;
  box-shadow: inset 0 0 0 8vw rgb(255 255 255 / .025), inset 0 0 0 16vw rgb(255 255 255 / .02);
  content: '';
}
.home-metrics__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(34rem, .95fr);
  gap: clamp(6rem, 9vw, 18rem);
  padding-bottom: clamp(10rem, 11vw, 21rem);
}
.home-metrics__intro h2 {
  max-width: 11ch;
  font-size: clamp(4.8rem, 5vw, 9.8rem);
  line-height: .92;
  letter-spacing: -.058em;
}
.home-metrics__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-self: end; border-top: 1px solid var(--signature-line-inverse); border-left: 1px solid var(--signature-line-inverse); }
.home-metrics__list article { min-height: clamp(17rem, 14vw, 27rem); padding: clamp(2.4rem, 2.6vw, 5rem); border-right: 1px solid var(--signature-line-inverse); border-bottom: 1px solid var(--signature-line-inverse); }
.home-metrics__list strong { display: block; font-size: clamp(4.5rem, 4.8vw, 9.2rem); font-weight: 200; line-height: .9; letter-spacing: -.06em; }
.home-metrics__list span { display: block; max-width: 14ch; margin-top: 2.5rem; color: rgb(255 255 255 / .64); font-size: 1.2rem; line-height: 1.45; text-transform: uppercase; letter-spacing: .1em; }
.home-metrics__marquee { display: flex; width: max-content; border-top: 1px solid var(--signature-line-inverse); color: transparent; font-size: clamp(8rem, 10vw, 18rem); font-weight: 600; line-height: .9; letter-spacing: -.05em; -webkit-text-stroke: 1px rgb(255 255 255 / .28); animation: signature-marquee 35s linear infinite; }
.home-metrics__marquee span { white-space: nowrap; padding-right: 3vw; }
@keyframes signature-marquee { to { transform: translateX(-50%); } }

/* ---------- Brand family ---------- */
.brands-preview { padding-top: clamp(15rem, 15vw, 28rem); }
.brands-preview__intro { grid-template-columns: 1.15fr .55fr; align-items: end; }
.brands-preview__wordmark h2 { font-size: clamp(8rem, 8.5vw, 16rem); line-height: .72; letter-spacing: -.08em; }
.brands-preview__intro > div:last-child { max-width: 45rem; padding-bottom: 1rem; }
.brands-preview__intro > div:last-child p { margin-bottom: 2.4rem; }
.brand-grid { gap: 1.25rem; }
.brand-card { min-height: clamp(23rem, 19vw, 36rem); border-radius: var(--signature-radius-md); }
.brand-card::before {
  position: absolute;
  top: 2rem;
  left: 2rem;
  width: 1rem;
  height: 1rem;
  border: 1px solid var(--signature-red);
  border-radius: 50%;
  content: '';
  transition: background .3s ease, transform .4s var(--signature-ease);
}
.brand-card:hover::before { background: var(--signature-red); transform: scale(1.3); }

/* ---------- Film ---------- */
.corporate-film-section { position: relative; padding-top: clamp(9rem, 9vw, 17rem); background: var(--signature-paper); }
.corporate-film-sticky { height: 180svh; }
.corporate-film {
  width: calc(94% + var(--progress, 0) * 6%);
  height: calc(72vh + var(--progress, 0) * 28vh);
  border-radius: calc((1 - var(--progress, 0)) * 3.4rem);
  box-shadow: var(--signature-shadow-strong);
}
.corporate-film::after { background: linear-gradient(90deg, rgb(12 14 17 / .68), rgb(12 14 17 / .12) 70%), linear-gradient(0deg, rgb(12 14 17 / .56), transparent 54%); }
.corporate-film__content { right: auto; left: var(--page-gutter); align-items: flex-start; max-width: 88rem; text-align: left; }
.corporate-film__content h2 { max-width: 10ch; font-size: clamp(5rem, 5.2vw, 10rem); line-height: .91; }
.play-button { width: clamp(7rem, 5.5vw, 10.5rem); height: clamp(7rem, 5.5vw, 10.5rem); margin-bottom: 3rem; border-color: rgb(255 255 255 / .64); background: rgb(255 255 255 / .08); backdrop-filter: blur(14px); }
.play-button span { transform: translateX(.2rem); }

/* ---------- News ---------- */
.home-news { padding-top: clamp(15rem, 15vw, 28rem); }
.home-news__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 4rem; margin-bottom: clamp(6rem, 7vw, 13rem); }
.news-row { grid-template-columns: minmax(24rem, .72fr) minmax(0, 1.28fr) auto; min-height: clamp(24rem, 18vw, 34rem); }
.news-row__title { font-size: clamp(3rem, 2.8vw, 5.4rem); }
.news-row__date { align-self: start; margin-top: 1.5rem; }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative;
  min-height: 100svh;
  padding-top: calc(var(--signature-header-top) + var(--signature-header-size) + clamp(8rem, 9vw, 17rem));
  padding-bottom: clamp(8rem, 9vw, 16rem);
  overflow: clip;
  background: var(--signature-paper);
}
.page-hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgb(31 34 40 / .04) 1px, transparent 1px), linear-gradient(90deg, rgb(31 34 40 / .04) 1px, transparent 1px);
  background-size: clamp(5rem, 5vw, 9rem) clamp(5rem, 5vw, 9rem);
  mask-image: linear-gradient(to right, transparent, #000 22%, #000 82%, transparent);
  content: '';
}
.page-hero--dark {
  color: #fff;
  background: radial-gradient(circle at 78% 32%, rgb(222 39 31 / .24), transparent 32%), linear-gradient(125deg, #1b1e24, #292c33 64%, #351312);
}
.page-hero--red {
  color: #fff;
  background: linear-gradient(118deg, #e72921 0%, #ce211a 52%, #82140f 100%);
}
.page-hero--dark::before,
.page-hero--red::before { background-image: linear-gradient(rgb(255 255 255 / .055) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .055) 1px, transparent 1px); }
.page-hero__ambient span { position: absolute; border-radius: 50%; pointer-events: none; }
.page-hero__ambient span:nth-child(1) { top: -20vw; right: -12vw; width: 48vw; aspect-ratio: 1; border: 1px solid currentColor; opacity: .08; }
.page-hero__ambient span:nth-child(2) { right: 12vw; bottom: -18vw; width: 30vw; aspect-ratio: 1; border: 1px solid currentColor; opacity: .07; }
.page-hero__ambient span:nth-child(3) { top: 32%; right: 36%; width: 1.2rem; aspect-ratio: 1; background: var(--signature-red); box-shadow: 0 0 0 2rem rgb(222 39 31 / .08); }
.page-hero__meta { position: absolute; top: calc(var(--signature-header-top) + var(--signature-header-size) + 4rem); left: var(--page-gutter); z-index: 3; display: flex; align-items: center; gap: 1.2rem; font-size: .9rem; font-weight: 600; letter-spacing: .15em; opacity: .55; text-transform: uppercase; }
.page-hero__number { color: var(--signature-red); font-size: 1.5rem; letter-spacing: 0; }
.page-hero--red .page-hero__number { color: #fff; }
.page-hero__meta-line { width: clamp(3rem, 3vw, 6rem); height: 1px; background: currentColor; }
.page-hero__grid { position: relative; z-index: 2; grid-template-columns: minmax(0, 1.18fr) minmax(34rem, .82fr); align-items: center; gap: clamp(5rem, 9vw, 17rem); min-height: 62vh; }
.page-hero__copy h1 { max-width: 10.5ch; font-size: clamp(5.6rem, 5.65vw, 11rem); line-height: .89; letter-spacing: -.064em; }
.page-hero__copy p { max-width: 43ch; margin-top: 3.2rem; }
.page-hero__actions { margin-top: 3.2rem; }
.page-hero__visual { min-height: clamp(42rem, 40vw, 78rem); }
.page-hero__system { position: absolute; inset: 2%; display: grid; place-items: center; transform: translateY(var(--editorial-y, 0)); }
.system-orbit { position: absolute; border: 1px solid currentColor; border-radius: 50%; opacity: .2; }
.system-orbit--outer { width: 88%; aspect-ratio: 1; }
.system-orbit--inner { width: 53%; aspect-ratio: 1; }
.system-axis { position: absolute; background: currentColor; opacity: .13; }
.system-axis--x { width: 88%; height: 1px; }
.system-axis--y { width: 1px; height: 88%; }
.system-core { position: relative; z-index: 2; display: grid; place-content: center; width: 28%; aspect-ratio: 1; border: 1px solid currentColor; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #ef4139, #aa1b16); box-shadow: 0 3rem 9rem rgb(222 39 31 / .28); text-align: center; }
.system-core b { font-size: clamp(3rem, 3vw, 5.8rem); font-weight: 500; letter-spacing: -.06em; }
.system-core small { font-size: .95rem; letter-spacing: .12em; }
.system-node { position: absolute; width: 1.2rem; aspect-ratio: 1; border-radius: 50%; color: currentColor; background: currentColor; box-shadow: 0 0 0 1rem rgb(222 39 31 / .08); }
.system-node--1 { top: 6%; left: 49%; }
.system-node--2 { top: 49%; right: 6%; }
.system-node--3 { bottom: 6%; left: 49%; }
.system-node--4 { top: 49%; left: 6%; }
.system-chip { position: absolute; z-index: 3; padding: 1rem 1.4rem; border: 1px solid currentColor; border-radius: 999px; color: currentColor; background: rgb(255 255 255 / .75); font-size: 1rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; backdrop-filter: blur(10px); }
.page-hero--dark .system-chip,
.page-hero--red .system-chip { background: rgb(22 24 29 / .46); }
.system-chip--1 { top: 13%; left: 4%; }
.system-chip--2 { top: 20%; right: 0; }
.system-chip--3 { right: 6%; bottom: 13%; }
.system-chip--4 { bottom: 19%; left: 0; }
.page-hero__scroll { position: absolute; right: var(--page-gutter); bottom: 3rem; z-index: 3; display: flex; align-items: center; gap: 1.2rem; font-size: .9rem; font-weight: 600; letter-spacing: .16em; opacity: .55; text-transform: uppercase; }
.page-hero__scroll i { width: 6rem; height: 1px; background: currentColor; }

/* Page-specific hero personalities */
body[data-page='pricing'] .page-hero__system .system-core::before { content: '$'; }
body[data-page='pricing'] .system-core b,
body[data-page='pricing'] .system-core small { display: none; }
body[data-page='pricing'] .page-hero__system .system-core { font-size: clamp(4rem, 5vw, 9rem); font-weight: 200; }
body[data-page='contact'] .page-hero__system { transform: rotate(-7deg) translateY(var(--editorial-y, 0)); }
body[data-page='developers'] .system-chip--1 { content: 'API'; }

/* ---------- Services, solutions and cards ---------- */
.service-group { padding-block: clamp(8rem, 9vw, 17rem); }
.service-group__title { top: calc(var(--signature-header-size) + var(--signature-header-top) + 5rem); }
.service-card { min-height: 29rem; background: #f8f8f6; }
.service-card::before { position: absolute; top: 2.3rem; right: 2.3rem; width: .9rem; height: .9rem; border: 1px solid var(--signature-red); border-radius: 50%; content: ''; transition: background .25s ease; }
.service-card:hover::before { background: var(--signature-red); }
.solution-card { min-height: clamp(45rem, 37vw, 68rem); }
.solution-card::before { position: absolute; inset: auto 2.5rem 2.5rem auto; width: 7rem; aspect-ratio: 1; border: 1px solid var(--signature-line); border-radius: 50%; content: '↗'; display: grid; place-items: center; color: var(--signature-red); font-size: 2rem; }

/* ---------- Pricing ---------- */
.pricing-category-nav {
  top: calc(var(--signature-header-top) + var(--signature-header-size) + 1.2rem);
  width: min(calc(100% - (var(--page-gutter) * 2)), 184rem);
  padding: .7rem;
  border-radius: 999px;
  box-shadow: 0 1.6rem 4.5rem rgb(31 34 40 / .10);
}
.pricing-category-nav .filter-pill { min-height: 4.8rem; border-radius: 999px; }
.pricing-category-section { position: relative; padding-block: clamp(10rem, 11vw, 20rem); }
.pricing-category-section:nth-of-type(even) { background: #ebeae6; }
.pricing-category-section__head { grid-template-columns: clamp(7rem, 7vw, 13rem) minmax(0, 1fr); }
.pricing-category-section h2 { font-size: clamp(5rem, 5.2vw, 10rem); line-height: .91; }
.package-card { min-height: clamp(56rem, 44vw, 78rem); border-radius: var(--signature-radius-lg); background: #fff; }
.package-card::before { position: absolute; top: 2.6rem; left: 2.8rem; width: 1rem; height: 1rem; border: 1px solid var(--signature-red); border-radius: 50%; content: ''; }
.package-card.is-popular { transform: translateY(-1.2rem); }
.package-card.is-popular::before { background: var(--signature-red); }
.package-card h3 { margin-top: 2rem; }
.package-card li { padding-left: 1.5rem; }
.package-card li::before { width: .6rem; height: .6rem; }

/* ---------- Contact ---------- */
.contact-layout { gap: clamp(3rem, 4vw, 7rem); }
.contact-map,
.contact-form { border-radius: var(--signature-radius-lg); box-shadow: 0 0 0 1px var(--signature-line); }
.location-switcher { margin-bottom: 2rem; }
.location-button { min-height: 5.2rem; }
.contact-form { padding: clamp(3rem, 4vw, 7rem); }
.form-field input,
.form-field textarea,
.form-field select { min-height: 6.4rem; border-radius: 1.4rem; background: #f5f5f2; }

/* ---------- Footer ---------- */
.footer-cta {
  position: relative;
  min-height: clamp(65rem, 49vw, 94rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgb(222 39 31 / .34), transparent 30%),
    linear-gradient(125deg, #1d2026, #2b2e35 64%, #401210);
}
.footer-cta::after { opacity: .14; }
.footer-cta__inner { position: relative; z-index: 2; grid-template-columns: minmax(0, 1.05fr) minmax(40rem, .95fr); gap: clamp(6rem, 9vw, 18rem); }
.footer-cta__copy h2 { max-width: 9.5ch; font-size: clamp(5rem, 5.2vw, 10rem); line-height: .91; letter-spacing: -.06em; }
.footer-documents { align-self: end; }
.footer-document-wrap { position: relative; }
.footer-document-wrap > span { position: absolute; top: -2.2rem; right: 1rem; color: rgb(255 255 255 / .46); font-size: 1rem; letter-spacing: .15em; }
.footer-cta__signature {
  position: absolute;
  right: -1vw;
  bottom: -2.5vw;
  left: -1vw;
  color: transparent;
  font-size: clamp(10rem, 15vw, 29rem);
  font-weight: 600;
  line-height: .72;
  letter-spacing: -.08em;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgb(255 255 255 / .14);
}
.footer-main { padding-top: clamp(8rem, 8vw, 15rem); }
.footer-main__grid { padding-bottom: clamp(7rem, 7vw, 13rem); }
.footer-brand img { width: clamp(17rem, 12vw, 24rem); }

/* ---------- Fine pointer effects ---------- */
[data-pointer-card]::after {
  background: radial-gradient(22rem circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgb(222 39 31 / .08), transparent 65%);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .partner-mark { display: none; }
  .header-status span { display: none; }
  .header-status { padding-left: 1.2rem; }
  .page-hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(30rem, .9fr); }
  .countries-section__intro { grid-template-columns: .35fr 1.15fr .5fr; }
}

@media (max-width: 768px) {
  :root {
    --signature-header-top: 1rem;
    --signature-header-size: 6.2rem;
  }

  .site-header {
    height: 8.2rem;
    padding: var(--signature-header-top) 1rem 0;
  }

  .site-header__inner { height: var(--signature-header-size); }
  .site-header__identity,
  .site-header__actions {
    min-height: var(--signature-header-size);
    border-radius: 2rem;
  }
  .site-header__identity { min-width: 0; padding-inline: 1.4rem; }
  .site-header__actions { padding: .55rem .75rem; }
  .site-header__logo { width: 12.8rem; }
  .header-status,
  .site-header__micro,
  .site-header__actions > .social-link,
  .site-header__actions > .header-shortcut,
  .site-header__actions > .partner-mark { display: none; }
  .menu-trigger { min-width: 7rem; justify-content: center; padding: .4rem .7rem; }
  .menu-trigger__label { font-size: 1.2rem; }

  .mobile-menu {
    top: 1rem;
    right: 1rem;
    left: 1rem;
    max-height: calc(100dvh - 2rem);
    padding: 8rem 2.2rem 2.4rem;
    border-radius: 2.6rem;
    box-shadow: 0 3rem 10rem rgb(15 17 21 / .25);
  }

  .section-index { top: 2.4rem; left: var(--page-gutter-mobile); font-size: .82rem; }
  .section-index b { display: none; }

  .home-hero,
  .hero-carousel,
  .hero-carousel__track,
  .hero-slide { min-height: 100svh; }
  .hero-slide::after { background: linear-gradient(0deg, rgb(13 15 19 / .88) 0%, rgb(13 15 19 / .28) 68%, rgb(13 15 19 / .20) 100%); }
  .hero-slide[data-theme='light']::after { background: linear-gradient(0deg, rgb(246 246 243 / .96) 0%, rgb(246 246 243 / .48) 68%, rgb(246 246 243 / .28) 100%); }
  .hero-slide__veil { background-size: 6rem 6rem; }
  .hero-slide__content {
    top: 9rem;
    right: var(--page-gutter-mobile);
    bottom: 10rem;
    left: var(--page-gutter-mobile);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 2.2rem;
  }
  .hero-slide__kicker { margin-bottom: 1.5rem; font-size: .92rem; }
  .hero-slide__title { max-width: 9.5ch; font-size: clamp(4.8rem, 13.4vw, 5.8rem); line-height: .91; letter-spacing: -.055em; }
  .hero-slide__aside { padding: 0; border-left: 0; }
  .hero-slide__sequence { position: absolute; top: 0; right: 0; margin: 0; }
  .hero-slide__aside p { max-width: 31ch; font-size: 1.45rem; line-height: 1.55; }
  .hero-slide__aside .cta-pill { margin-top: 2rem; }
  .hero-nav { bottom: 2.2rem; left: var(--page-gutter-mobile); }
  .hero-nav__button { width: 4.3rem; height: 4.3rem; }
  .hero-scroll-cue { display: none; }
  .hero-progress { right: var(--page-gutter-mobile); left: var(--page-gutter-mobile); }

  .product-story { min-height: auto; padding-top: 9rem; }
  .product-story__grid { min-height: auto; grid-template-columns: 1fr; gap: 5rem; }
  .product-story__copy { position: static; padding: 3rem 0 0; }
  .product-story__copy h2 { font-size: clamp(4.3rem, 12vw, 5.4rem); }
  .product-story__actions > span { display: none; }
  .product-story__visual { min-height: 43rem; }
  .product-story__backdrop { inset: 2% -22% 0 -10%; }
  .product-story__image { width: 112%; transform: none; }
  .product-story__caption { right: -1rem; bottom: 0; width: 10rem; }

  .countries-section { padding-top: 12rem; }
  .countries-section__intro { display: block; margin-bottom: 5rem; }
  .countries-section__intro h2 { margin-top: 2rem; font-size: clamp(4.3rem, 12vw, 5.4rem); }
  .countries-section__intro p { margin-top: 2.3rem; }
  .feature-rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .feature-card { min-width: 82vw; min-height: 40rem; scroll-snap-align: start; }

  .home-metrics { padding-top: 10rem; }
  .home-metrics__grid { grid-template-columns: 1fr; gap: 5rem; padding-bottom: 9rem; }
  .home-metrics__intro h2 { font-size: clamp(4.2rem, 11.7vw, 5.2rem); }
  .home-metrics__list article { min-height: 15rem; padding: 2rem; }
  .home-metrics__list strong { font-size: 4rem; }
  .home-metrics__marquee { font-size: 7rem; }

  .brands-preview { padding-top: 12rem; }
  .brands-preview__intro { display: block; }
  .brands-preview__wordmark h2 { font-size: clamp(6.2rem, 18vw, 8rem); line-height: .75; }
  .brands-preview__intro > div:last-child { margin-top: 4rem; }
  .brand-card { min-height: 18rem; }

  .corporate-film-section { padding-top: 8rem; }
  .corporate-film-sticky { height: auto; padding: 0 1rem 1rem; }
  .corporate-film { width: 100%; height: 78svh; border-radius: 2.5rem; }
  .corporate-film__content { right: 2.3rem; bottom: 3rem; left: 2.3rem; }
  .corporate-film__content h2 { font-size: clamp(4.2rem, 11.5vw, 5.2rem); }
  .play-button { width: 6.6rem; height: 6.6rem; }

  .home-news { padding-top: 12rem; }
  .home-news__head { grid-template-columns: 1fr; }
  .home-news__head .cta-pill { justify-self: start; }

  .page-hero {
    min-height: 100svh;
    padding: 12rem var(--page-gutter-mobile) 8rem;
  }
  .page-hero__meta { top: 9.6rem; left: var(--page-gutter-mobile); font-size: .78rem; }
  .page-hero__meta > span:last-child { display: none; }
  .page-hero__grid { display: flex; flex-direction: column; justify-content: flex-end; gap: 4rem; min-height: calc(100svh - 20rem); padding: 0; }
  .page-hero__copy { order: 2; }
  .page-hero__copy h1 { max-width: 10ch; font-size: clamp(4.7rem, 13vw, 5.8rem); line-height: .91; }
  .page-hero__copy p { margin-top: 2.3rem; font-size: 1.5rem; }
  .page-hero__visual { position: absolute; top: 8rem; right: -8rem; width: 31rem; min-height: 31rem; opacity: .65; }
  .page-hero__system { inset: 0; }
  .system-chip { display: none; }
  .page-hero__scroll { display: none; }

  .pricing-category-nav { top: 8.2rem; width: calc(100% - 2rem); border-radius: 1.8rem; }
  .pricing-category-section { padding-block: 8rem; }
  .pricing-category-section__head { grid-template-columns: 4.5rem 1fr; gap: 1rem; }
  .pricing-category-section h2 { font-size: clamp(4rem, 11vw, 5rem); }
  .package-card { min-height: auto; }
  .package-card.is-popular { transform: none; }

  .footer-cta { min-height: auto; }
  .footer-cta__inner { grid-template-columns: 1fr; gap: 7rem; }
  .footer-cta__copy h2 { font-size: clamp(4.5rem, 12.2vw, 5.6rem); }
  .footer-cta__signature { bottom: -1rem; font-size: 8rem; }
}

@media (prefers-reduced-motion: reduce) {
  .header-status i,
  .hero-scroll-cue i::after,
  .home-metrics__marquee,
  .splash__line::after { animation: none !important; }
  .hero-slide picture img,
  .product-story__image,
  .product-story__orbit { transform: none !important; }
}

/* Signature JavaScript states */
.premium-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(1.05em) skewY(5deg);
  transform-origin: left bottom;
  transition: opacity .75s var(--signature-ease), transform .95s var(--signature-ease);
  transition-delay: calc(var(--word-index, 0) * 45ms);
}
.is-premium-visible .premium-word,
.hero-slide.is-active .premium-word {
  opacity: 1;
  transform: translateY(0) skewY(0);
}
.section-index {
  opacity: 0;
  transform: translateX(-2rem);
  transition: opacity .7s var(--signature-ease), transform .8s var(--signature-ease);
}
.section-index.is-premium-visible { opacity: .58; transform: translateX(0); }
.section-index.is-current { opacity: 1; }
.section-index.is-current span { color: var(--signature-red); }
.home-metrics__list article,
.footer-document-wrap {
  opacity: 0;
  transform: translateY(2.5rem);
  transition: opacity .7s var(--signature-ease), transform .8s var(--signature-ease);
}
.home-metrics__list article:nth-child(2),
.footer-document-wrap:nth-child(2) { transition-delay: .08s; }
.home-metrics__list article:nth-child(3) { transition-delay: .16s; }
.home-metrics__list article:nth-child(4) { transition-delay: .24s; }
.home-metrics__list article.is-premium-visible,
.footer-document-wrap.is-premium-visible { opacity: 1; transform: translateY(0); }
.cta-pill,
.play-button,
.hero-nav__button,
.menu-trigger {
  translate: var(--magnetic-x, 0) var(--magnetic-y, 0);
}
.page-hero__system { translate: var(--depth-x, 0) var(--depth-y, 0); transition: translate .35s var(--signature-ease); }
.home-hero .hero-slide.is-active picture img { translate: calc(var(--depth-x, 0) * -.35) calc(var(--depth-y, 0) * -.35); }
.product-story__image { translate: calc(var(--depth-x, 0) * -.2) calc(var(--depth-y, 0) * -.2); }
@media (prefers-reduced-motion: reduce) {
  .premium-word,
  .section-index,
  .home-metrics__list article,
  .footer-document-wrap { opacity: 1 !important; transform: none !important; transition: none !important; }
  .cta-pill,
  .play-button,
  .hero-nav__button,
  .menu-trigger,
  .page-hero__system,
  .home-hero .hero-slide picture img,
  .product-story__image { translate: none !important; }
}

/* Hero composition correction: keep narrative clear of the service artwork. */
@media (min-width: 769px) {
  .hero-slide__content {
    display: block;
    right: auto;
    width: min(68vw, 112rem);
  }
  .hero-slide__main { width: 100%; }
  .hero-slide__title { max-width: 11.2ch; font-size: clamp(5.8rem, 5.45vw, 10.5rem); }
  .hero-slide__aside {
    display: grid;
    grid-template-columns: auto minmax(28rem, 42rem) auto;
    align-items: end;
    gap: clamp(1.6rem, 2vw, 3.4rem);
    max-width: 82rem;
    margin-top: clamp(2.2rem, 2.5vw, 4rem);
    padding: 0;
    border-left: 0;
  }
  .hero-slide__sequence { margin: 0 0 .8rem; }
  .hero-slide__aside p { margin: 0; }
  .hero-slide__aside .cta-pill { margin: 0; }
}
@media (min-width: 769px) {
  .hero-slide__aside {
    grid-template-columns: minmax(30rem, 44rem) auto;
    grid-template-rows: auto auto;
    align-items: end;
    gap: .9rem clamp(2rem, 2.4vw, 4rem);
    max-width: 73rem;
  }
  .hero-slide__sequence { grid-column: 1; grid-row: 1; margin: 0; }
  .hero-slide__aside p { grid-column: 1; grid-row: 2; }
  .hero-slide__aside .cta-pill { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
}

@media (max-width: 768px) {
  body { overflow-x: clip; }
  .hero-slide[data-theme='dark'] picture img { filter: brightness(.68) saturate(.88); }
  .hero-slide__title { max-width: 11.4ch; font-size: clamp(4.35rem, 12vw, 5rem); }
  .hero-slide__sequence { position: static; margin: 0 0 .8rem; }
  .feature-rail-wrap { width: 100%; max-width: 100%; overflow: hidden; }
  .feature-rail { width: 100%; max-width: 100%; padding-bottom: 1rem; }
  .feature-card {
    flex: 0 0 calc(100vw - 6.4rem) !important;
    width: calc(100vw - 6.4rem) !important;
    min-width: 0 !important;
    max-width: calc(100vw - 6.4rem) !important;
    padding: 2.7rem;
  }
  .feature-card__metric { font-size: clamp(4.8rem, 15vw, 6.2rem); }
  .feature-card p { padding-right: 1rem; }
  .product-story__image { width: 100%; max-width: 100%; }
  .product-story__orbit { right: -5%; left: -5%; width: auto; }
  .footer-cta__signature { right: 0; left: 0; }
}

/* Mobile news containment: prevents the editorial row from extending the viewport. */
@media (max-width: 768px) {
  .home-news,
  .home-news > .container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .home-news .news-list,
  .home-news .news-row {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  .home-news .news-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.6rem;
    min-height: 0;
    padding-block: 2.4rem;
  }
  .home-news .news-row__thumb,
  .home-news .news-row__body,
  .home-news .news-row__title,
  .home-news .news-row__summary,
  .home-news .news-row__date {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  .home-news .news-row__thumb {
    aspect-ratio: 16 / 10;
  }
  .home-news .news-row__title,
  .home-news .news-row__summary {
    overflow-wrap: anywhere;
  }
  .home-news .news-row__date {
    justify-self: start;
    white-space: normal;
  }
}
