/* ==========================================================================
   BELO Capital – homepage concept
   Tokens follow the Figma style guide (HOME_B), adapted to a black & white look.
   ========================================================================== */

:root {
  /* Colour */
  --c-bg: #0a0a0a;
  --c-surface: #141414;
  --c-surface-2: #1c1c1c;
  --c-text: #ffffff;
  --c-text-2: #e7e9ea;
  --c-text-3: #9da4a9;
  --c-muted: #6b767f;
  --c-border: rgba(255, 255, 255, 0.12);
  --c-border-strong: rgba(255, 255, 255, 0.3);
  --c-gold: #dac287;

  /* Type */
  --f-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: Arial, "Helvetica Neue", Helvetica, sans-serif;
  /* Mobile values; the original desktop scale is restored at 640px */
  --fs-display: clamp(2.5rem, 12.5vw, 3rem);
  --fs-h1: clamp(1.875rem, 8.75vw, 2.25rem);
  --fs-h2: clamp(1.5rem, 6.4vw, 1.625rem);

  /* Spacing */
  --pad: clamp(20px, 4.45vw, 64px);
  --sec-m: 40px;
  --sec-l: 64px;
  --sec-h: clamp(96px, 9.7vw, 140px);
  --header-h: 72px;
  --header-h-scrolled: 64px;
  --content: 1600px;
  --radius: 6px;

  /* Motion */
  --ease: cubic-bezier(0.65, 0.05, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--c-bg); }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure, dl, dd, address { margin: 0; }
h1, h2, h3 { overflow-wrap: break-word; }
ul, ol { list-style: none; padding: 0; }
address { font-style: normal; }
::selection { background: var(--c-gold); color: var(--c-bg); }
:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 3px; }
body.is-locked { overflow: hidden; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: calc(var(--content) + var(--pad) * 2);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.section { padding-block: var(--sec-l); }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-3);
}
.section-title {
  font-family: var(--f-head);
  font-weight: 400;
  font-size: var(--fs-h1);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 300;
  padding: 12px 18px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-weight: 700;
}
.skip-link:focus { top: 16px; }

/* ---------- Buttons & links ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background-color 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s var(--ease);
}
.btn svg { flex: none; transition: transform 0.55s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--solid { background: #fff; color: var(--c-bg); }
.btn--solid:hover { background: var(--c-gold); }
.btn--outline { border: 1px solid var(--c-border-strong); color: #fff; }
.btn--outline:hover { background: #fff; border-color: #fff; color: var(--c-bg); }
.btn--sm { height: 42px; padding: 0 20px; font-size: 14px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
}
.link-arrow svg { color: var(--c-gold); transition: transform 0.55s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }
.link-arrow--gold { color: var(--c-gold); }

.icon-btn {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--c-border-strong);
  transition: background-color 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s var(--ease), opacity 0.3s;
}
.icon-btn:hover { background: #fff; border-color: #fff; color: var(--c-bg); }
.icon-btn:disabled { opacity: 0.3; pointer-events: none; }
.icon-btn--lg { width: 72px; height: 72px; }

/* ---------- Grain ---------- */
.grain {
  position: absolute;
  inset: -50%;
  pointer-events: none;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-4%, 3%); }
  40%  { transform: translate(3%, -2%); }
  60%  { transform: translate(-2%, -4%); }
  80%  { transform: translate(4%, 2%); }
  100% { transform: translate(0, 0); }
}

/* ---------- Loader ---------- */
.loader { display: none; }
.js .loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--c-bg);
  color: #fff;
}
.loader__logo { width: clamp(120px, 14vw, 190px); height: auto; }
.loader__bar {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--c-gold);
  transform: scaleX(0);
  transform-origin: left;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: transform 0.6s var(--ease);
}
.site-header.is-hidden { transform: translateY(-100%); }

.header__bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3.3vw, 48px);
  height: var(--header-h);
  padding-inline: var(--pad);
  border-bottom: 1px solid transparent;
  transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease), height 0.5s var(--ease), backdrop-filter 0.5s;
}
.site-header.is-scrolled .header__bar {
  height: var(--header-h-scrolled);
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-color: var(--c-border);
}
.site-header.is-mega .header__bar,
.site-header.is-menu .header__bar {
  background: #0d0d0d;
  border-color: var(--c-border);
}

.header__logo { flex: none; color: #fff; }
.header__logo svg { width: clamp(120px, 11.9vw, 171px); height: auto; }

.nav { display: none; flex: 1; }
.nav__list { display: flex; justify-content: center; gap: clamp(28px, 4.4vw, 72px); }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.55s var(--ease);
}
.nav__link:hover::after,
.nav__trigger[aria-expanded="true"]::after { transform: scaleX(1); transform-origin: left; }
.nav__chevron { transition: transform 0.5s var(--ease); }
.nav__trigger[aria-expanded="true"] .nav__chevron { transform: rotate(180deg); }

.header__actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.header__cta { display: none; }

.burger {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--c-border-strong);
}
.burger span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.5s var(--ease);
}
.burger span:first-child { top: 17px; }
.burger span:last-child { bottom: 17px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* Mega menu */
.mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1;
  background: #0d0d0d;
  border-bottom: 1px solid var(--c-border);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.75s var(--ease), visibility 0s linear 0.75s;
}
.mega.is-open {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path 0.75s var(--ease), visibility 0s;
}
.mega__inner {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 3.6fr;
  gap: 56px;
  padding: 40px var(--pad) 48px;
}
.mega__lead {
  margin: 16px 0 28px;
  max-width: 17ch;
  font-family: var(--f-head);
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.mega__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mega-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease), transform 0.8s var(--ease);
}
.mega.is-open .mega-card { opacity: 1; transform: none; }
.mega.is-open li:nth-child(1) .mega-card { transition-delay: 0.12s; }
.mega.is-open li:nth-child(2) .mega-card { transition-delay: 0.18s; }
.mega.is-open li:nth-child(3) .mega-card { transition-delay: 0.24s; }
.mega.is-open li:nth-child(4) .mega-card { transition-delay: 0.3s; }
.mega-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  margin-bottom: 8px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--c-surface);
}
.mega-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.92);
  transition: transform 1.1s var(--ease), filter 0.6s var(--ease);
}
.mega-card:hover .mega-card__media img,
.mega-card:focus-visible .mega-card__media img { transform: scale(1.07); filter: brightness(1.05); }
.mega-card__meta {
  display: flex;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text-3);
}
.mega-card__index { color: var(--c-gold); }
.mega-card__company { font-family: var(--f-head); font-size: 20px; letter-spacing: -0.01em; }
.mega-card__desc { font-size: 14px; line-height: 1.45; color: var(--c-text-3); }

.mega-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease);
}
.mega-backdrop.is-visible { opacity: 1; pointer-events: auto; }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  overflow-y: auto;
  padding: calc(var(--header-h) + 24px) var(--pad) 40px;
  background: #0d0d0d;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.75s var(--ease), visibility 0s linear 0.75s;
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.75s var(--ease), visibility 0s; }
.mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-border);
  font-family: var(--f-head);
  font-size: clamp(28px, 8.5vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  list-style: none;
  cursor: pointer;
}
.mobile-menu__link::-webkit-details-marker { display: none; }
.mobile-menu__link svg { flex: none; transition: transform 0.5s var(--ease); }
.mobile-menu__group[open] .mobile-menu__link svg { transform: rotate(180deg); }
.mobile-menu__sub { padding: 8px 0 16px; border-bottom: 1px solid var(--c-border); }
.mobile-menu__sub a {
  display: grid;
  grid-template-columns: 36px 1fr;
  padding: 10px 0;
  font-size: 18px;
}
.mobile-menu__sub span { font-size: 13px; color: var(--c-gold); padding-top: 4px; }
.mobile-menu__sub em { grid-column: 2; font-style: normal; font-size: 14px; color: var(--c-text-3); }
.mobile-menu__cta { width: 100%; margin-top: 36px; }
.mobile-menu__mail { margin-top: 20px; text-align: center; color: var(--c-text-3); }

/* ==========================================================================
   1. Hero
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background: #000;
}
.hero__media { position: absolute; inset: 0; z-index: -3; }
.hero__media { overflow: hidden; }
.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 50%;
  opacity: 0;
  will-change: opacity, filter, transform, clip-path;
}
.hero__slide.is-active { opacity: 1; }
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.6) 0%, rgba(10, 10, 10, 0) 26%),
    linear-gradient(180deg, rgba(10, 10, 10, 0) 38%, rgba(10, 10, 10, 0.78) 78%, var(--c-bg) 100%);
}
.hero .grain { z-index: -1; }

.hero__content {
  width: 100%;
  padding: 0 var(--pad) var(--sec-m);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.hero__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: var(--f-head);
  font-weight: 400;
  font-size: var(--fs-display);
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.hero__line { display: block; }
.hero__line--swap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  text-align: inherit;
}
.hero__swap {
  position: relative;
  display: block;
  width: 100%;
  height: 1.05em;
  overflow: clip;
}
.hero__swap-word {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  white-space: nowrap;
  line-height: 1.05;
  opacity: 0;
  will-change: transform;
}
.hero__swap-word.is-active { opacity: 1; }
.hero__progress {
  display: block;
  width: 100%;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.6);
}
.hero__progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--c-gold);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}
.hero__bottom {
  width: min(626px, 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.hero__text { font-size: clamp(16px, 1.39vw, 20px); color: rgba(255, 255, 255, 0.88); }

.hero__scroll {
  position: absolute;
  left: var(--pad);
  bottom: var(--sec-m);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-text-3);
  writing-mode: vertical-rl;
}
.hero__scroll i {
  position: relative;
  width: 1px;
  height: 72px;
  overflow: hidden;
  background: var(--c-border);
}
.hero__scroll i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  animation: scroll-line 2.2s var(--ease) infinite;
}
@keyframes scroll-line {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

.js .hero__title,
.js [data-hero-fade] { visibility: hidden; }

/* ==========================================================================
   2. Numbers
   ========================================================================== */
.numbers__head {
  display: grid;
  gap: 20px;
  margin-bottom: var(--sec-m);
}
.numbers__title {
  max-width: 24ch;
  font-family: var(--f-head);
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--c-text-2);
}

.stat {
  position: relative;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 12px;
  padding: 28px 0 20px;
}
.stat__rule {
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: var(--c-border);
  transform-origin: left;
}
.stat__rule::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 96px;
  height: 1px;
  background: var(--c-gold);
}
.stat__info { display: flex; flex-direction: column; gap: 8px; }
.stat__index { font-size: 12px; letter-spacing: 0.1em; color: var(--c-gold); }
.stat__label {
  max-width: 16ch;
  font-family: var(--f-head);
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1.25;
  color: var(--c-text-2);
}
.stat__figure {
  display: flex;
  align-items: flex-start;
  font-family: var(--f-head);
  font-weight: 300;
  font-size: clamp(5.5rem, 17vw, 17.5rem);
  line-height: 0.84;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}
.stat__plus {
  margin-left: 0.04em;
  font-size: 0.42em;
  line-height: 1.1;
  color: var(--c-gold);
}

/* ==========================================================================
   3. Areas
   ========================================================================== */
.areas {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.areas__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.areas__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.12);
  filter: brightness(0.95) contrast(1.04);
  transition: opacity 0.9s var(--ease), transform 1.8s var(--ease-out);
}
.areas__img.is-active { opacity: 1; transform: scale(1); }
.areas__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.88) 0%, rgba(10, 10, 10, 0.55) 55%, rgba(10, 10, 10, 0.4) 100%),
    linear-gradient(180deg, var(--c-bg) 0%, rgba(10, 10, 10, 0) 18%, rgba(10, 10, 10, 0) 48%, rgba(10, 10, 10, 0.72) 72%, var(--c-bg) 100%);
}

.areas__head {
  display: grid;
  gap: 20px;
  padding-bottom: var(--sec-m);
  border-bottom: 1px solid var(--c-border);
}
.areas__title {
  font-family: var(--f-head);
  font-weight: 400;
  font-size: var(--fs-h1);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.areas__lead { max-width: 34ch; font-size: clamp(16px, 1.25vw, 18px); color: var(--c-text-2); }

.areas__list { --area-offset: 0px; }
.area { border-bottom: 1px solid var(--c-border); transition: opacity 0.6s var(--ease); }
.area:last-child { border-bottom: 0; }
.areas__list.has-active .area:not(.is-active) { opacity: 0.32; }

.area__row {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.7vw, 24px);
  width: 100%;
  padding: clamp(20px, 3.3vw, 48px) 0;
  text-align: left;
  font-family: var(--f-head);
  font-size: clamp(1.625rem, 7.5vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--c-text-2);
}
.area__index { flex: none; min-width: 1.25em; font-variant-numeric: tabular-nums; }
.area__line {
  flex: none;
  width: clamp(32px, 5.6vw, 80px);
  height: 1px;
  background: currentColor;
  transition: width 0.8s var(--ease), background-color 0.6s;
}
.area__title { flex: 1; min-width: 0; transition: transform 0.8s var(--ease), color 0.4s; }
.area__arrow {
  display: none;
  flex: none;
  width: clamp(28px, 3.3vw, 48px);
  height: auto;
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.5s var(--ease), transform 0.8s var(--ease);
}
.area.is-active .area__line { width: clamp(48px, 8.3vw, 120px); background: var(--c-gold); }
.area.is-active .area__title { color: #fff; }
.area.is-active .area__arrow { opacity: 1; transform: none; }

.area__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.8s var(--ease);
}
.area.is-active .area__body { grid-template-rows: 1fr; }
.area__body-inner {
  overflow: hidden;
  display: grid;
  justify-items: start;
  gap: 14px;
  padding-left: var(--area-offset);
  transition: padding-left 0.8s var(--ease);
}
.area__body-inner > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s var(--ease), transform 0.6s var(--ease);
}
.area__body-inner > :last-child { margin-bottom: clamp(24px, 3.3vw, 44px); }
.area.is-active .area__body-inner > * { opacity: 1; transform: none; transition-delay: 0.18s; }
.area.is-active .area__body-inner > :nth-child(2) { transition-delay: 0.24s; }
.area.is-active .area__body-inner > :nth-child(3) { transition-delay: 0.3s; }
.area__company { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-gold); }
.area__desc { max-width: 46ch; font-size: clamp(16px, 1.25vw, 18px); color: var(--c-text-2); }

/* ==========================================================================
   4. Story – stacked by default, pinned scene on desktop (.story--pinned)
   ========================================================================== */
.story { padding-block: var(--sec-l); }
.story__stage {
  display: flex;
  flex-direction: column;
  gap: var(--sec-l);
  padding-inline: var(--pad);
}
.story__chapter { display: grid; gap: 24px; align-items: center; }
.story__figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: var(--c-surface);
}
.story__figure img { width: 100%; height: 100%; object-fit: cover; }
.story__chapter[data-shape="b"] .story__figure {
  aspect-ratio: 66.6 / 52.02;
  border-radius: 0;
  -webkit-mask: url("../assets/logo/belo-b.svg") center / contain no-repeat;
  mask: url("../assets/logo/belo-b.svg") center / contain no-repeat;
}
.story__chapter[data-shape="slats"] .story__figure {
  -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 calc(12.5% - 4px), transparent calc(12.5% - 4px) 12.5%);
  mask-image: repeating-linear-gradient(90deg, #000 0 calc(12.5% - 4px), transparent calc(12.5% - 4px) 12.5%);
  border-radius: 0;
}
.story__chapter[data-shape="circle"] .story__figure { aspect-ratio: 1; border-radius: 50%; }
.story__title {
  max-width: 16ch;
  margin: 14px 0 20px;
  font-family: var(--f-head);
  font-weight: 400;
  font-size: var(--fs-h1);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.story__copy { max-width: 46ch; font-size: clamp(16px, 1.25vw, 18px); color: var(--c-text-2); }
.story__text .link-arrow { margin-top: 28px; }
.story__ui { display: none; }

.story--pinned { padding: 0; }
.story--pinned .story__stage {
  position: relative;
  display: block;
  height: 100vh;
  padding: 0;
  overflow: hidden;
}
.story--pinned .story__chapter { position: absolute; inset: 0; display: block; }
.story--pinned .story__figure {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  border-radius: 0;
  background: none;
  -webkit-mask-image: none;
  mask-image: none;
  will-change: clip-path;
}
.story--pinned .story__chapter[data-shape="b"] .story__figure,
.story--pinned .story__chapter[data-shape="circle"] .story__figure {
  border-radius: 0;
  -webkit-mask: none;
  mask: none;
}
.story--pinned .story__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: var(--shade, 1);
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.45) 42%, rgba(10, 10, 10, 0) 70%),
    linear-gradient(0deg, rgba(10, 10, 10, 0.65) 0%, rgba(10, 10, 10, 0) 45%);
}
.story--pinned .story__chapter[data-shape="slats"] .story__figure {
  --slat: 0%;
  -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 var(--slat), transparent var(--slat) 12.5%);
  mask-image: repeating-linear-gradient(90deg, #000 0 var(--slat), transparent var(--slat) 12.5%);
}
.story--pinned .story__text {
  position: absolute;
  left: var(--pad);
  bottom: var(--sec-m);
  z-index: 2;
  width: min(600px, 42vw);
}
.story--pinned .story__title { font-size: clamp(2.5rem, 4.3vw, 4.25rem); }
.story--pinned .story__ui {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: block;
  pointer-events: none;
}
.story__counter {
  position: absolute;
  top: calc(var(--header-h) + 32px);
  left: var(--pad);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--c-text-2);
  font-variant-numeric: tabular-nums;
}
.story__progress {
  position: absolute;
  top: 50%;
  right: var(--pad);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: translateY(-50%);
}
.story__progress span {
  width: 4px;
  height: 56px;
  border-radius: 18px;
  background: var(--c-text-3);
  opacity: 0.3;
  transition: opacity 0.5s var(--ease), background-color 0.5s;
}
.story__progress span.is-active { opacity: 1; background: #fff; }

/* ==========================================================================
   5 + 6. Sliders (projects, blog)
   ========================================================================== */
.slider-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 24px;
  margin-bottom: clamp(28px, 3.3vw, 48px);
}
.slider-nav { display: flex; align-items: center; gap: 12px; width: 100%; }
.slider-nav .link-arrow,
.slider-nav__count { margin-right: auto; }
.slider-nav .icon-btn { width: 48px; height: 48px; }
.slider-nav__count {
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--c-text-3);
  font-variant-numeric: tabular-nums;
}
.slider-nav__count [data-slider-current] { color: #fff; }

[data-slider] { container-type: inline-size; }
.slider-track {
  /* Same left edge as .container: page padding, or the centered column on wide screens */
  --slider-inset: max(var(--pad), calc((100cqi - var(--content)) / 2));
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--slider-inset);
  padding-inline: var(--slider-inset);
  scrollbar-width: none;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-track:focus-visible { outline-offset: -2px; }
.slider-track.is-dragging { scroll-snap-type: none; user-select: none; cursor: grabbing; }
.slider-track.is-dragging a { pointer-events: none; }
@media (pointer: fine) { .slider-track { cursor: none; } }

.slider-progress {
  position: relative;
  height: 1px;
  margin-top: clamp(28px, 2.8vw, 40px);
  overflow: hidden;
  background: var(--c-border);
}
.slider-progress span {
  position: absolute;
  inset: 0;
  background: #fff;
  transform-origin: left;
  transform: scaleX(var(--p, 0.3));
  transition: transform 0.25s linear;
}

.drag-cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 60;
  width: 104px;
  height: 104px;
  margin: -52px 0 0 -52px;
  pointer-events: none;
}
.drag-cursor span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #fff;
  color: var(--c-bg);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transform: scale(0);
  transition: transform 0.45s var(--ease);
}
.drag-cursor.is-visible span { transform: scale(1); }
.drag-cursor.is-pressed span { transform: scale(0.85); }

/* Project card */
.project-card {
  position: relative;
  display: flex;
  flex: 0 0 84vw;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  min-height: clamp(540px, 80svh, 820px);
  padding: clamp(20px, 2.2vw, 32px) clamp(20px, 2.8vw, 40px) clamp(20px, 2.8vw, 40px);
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius);
  background: var(--c-surface);
  scroll-snap-align: start;
}
.project-card__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.6s var(--ease-out), filter 1.1s var(--ease), opacity 1.1s var(--ease);
}
.project-card__img--bw { filter: grayscale(1) contrast(1.04); }
.project-card__img--color { opacity: 0; }
.project-card:hover .project-card__img { transform: scale(1.05); }
.project-card:hover .project-card__img--color { opacity: 1; }
.project-card__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0) 26%),
    linear-gradient(180deg, rgba(10, 10, 10, 0) 18%, rgba(10, 10, 10, 0.7) 45%, rgba(10, 10, 10, 0.94) 100%);
}
.project-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.tag {
  display: inline-flex;
  gap: 6px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.project-card__index { font-family: var(--f-head); font-size: 14px; color: var(--c-text-2); }
.project-card__body {
  display: flex;
  flex-direction: column-reverse;
  gap: 28px;
}
.project-card__main { min-width: 0; }
.project-card__title {
  max-width: 14ch;
  margin-bottom: 16px;
  font-family: var(--f-head);
  font-weight: 400;
  font-size: clamp(1.75rem, 3.6vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.project-card__desc {
  max-width: 48ch;
  margin-bottom: 24px;
  font-size: clamp(15px, 1.1vw, 16px);
  color: var(--c-text-2);
}
.project-card__facts {
  container-type: inline-size;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}
.project-card__facts > div {
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  row-gap: 8px;
  min-width: 0;
  padding-top: 16px;
}
.project-card__facts dt {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-3);
}
/* Sized to the facts column (cqi) so long figures like "250 000+" never collide */
.project-card__facts dd {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 4px;
  font-family: var(--f-head);
  font-weight: 300;
  font-size: clamp(1.5rem, 11cqi, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  white-space: nowrap;
}
.project-card__facts small {
  width: 100%;
  font-size: max(11px, 0.3em);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--c-gold);
}

.project-end {
  display: flex;
  flex: 0 0 min(70vw, 400px);
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 2.8vw, 40px);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  scroll-snap-align: start;
  transition: background-color 0.5s var(--ease);
}
.project-end:hover { background: var(--c-surface); }
.project-end__title {
  font-family: var(--f-head);
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.project-end:hover .icon-btn { background: #fff; color: var(--c-bg); border-color: #fff; }

/* Blog */
.blog { border-top: 1px solid var(--c-border); }
.post-card { flex: 0 0 min(82vw, 500px); scroll-snap-align: start; }
.post-card__link { display: flex; flex-direction: column; gap: 18px; }
.post-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--c-surface);
}
.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.3s var(--ease-out), filter 0.6s;
  filter: brightness(0.9);
}
.post-card__link:hover .post-card__media img { transform: scale(1.06); filter: brightness(1); }
.post-card__meta { display: flex; gap: 14px; font-size: 13px; letter-spacing: 0.04em; color: var(--c-text-3); }
.post-card__meta span { position: relative; padding-left: 14px; }
.post-card__meta span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--c-gold);
  transform: translateY(-50%);
}
.post-card__title {
  max-width: 24ch;
  font-family: var(--f-head);
  font-weight: 400;
  font-size: clamp(1.375rem, 2vw, 1.875rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.post-card__title span {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size 0.8s var(--ease);
}
.post-card__link:hover .post-card__title span { background-size: 100% 1px; }
.post-card__more { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.post-card__more svg { color: var(--c-gold); transition: transform 0.55s var(--ease); }
.post-card__link:hover .post-card__more svg { transform: translateX(5px); }

/* ==========================================================================
   7. Footer
   ========================================================================== */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: var(--sec-l);
  border-top: 1px solid var(--c-border);
}
.footer__cta {
  display: grid;
  gap: 24px;
  padding-bottom: var(--sec-m);
  border-bottom: 1px solid var(--c-border);
}
.footer__title {
  max-width: 16ch;
  font-family: var(--f-head);
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 5.75rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.footer__title-muted { color: var(--c-muted); }
.btn-round {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  width: clamp(136px, 12.5vw, 180px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  color: var(--c-bg);
  font-weight: 700;
  font-size: 15px;
  transition: background-color 0.5s var(--ease), transform 0.7s var(--ease);
}
.btn-round svg { transform: rotate(-45deg); transition: transform 0.7s var(--ease); }
.btn-round:hover { background: var(--c-gold); transform: scale(1.05); }
.btn-round:hover svg { transform: rotate(0); }

.footer__grid { display: grid; gap: 32px; padding-block: clamp(40px, 3.9vw, 56px); }
.footer__label {
  margin-bottom: 14px;
  font-family: var(--f-head);
  font-weight: 400;
  font-size: 20px;
}
.footer__col p, .footer__col address { line-height: 1.65; color: var(--c-text-3); }
.footer__link { color: #fff; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size 0.6s var(--ease); }
.footer__link:hover { background-size: 0% 1px; background-position: 100% 100%; }
.footer__social {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: 18px;
  border: 1px solid var(--c-border-strong);
  border-radius: 50%;
  transition: background-color 0.45s var(--ease), color 0.45s var(--ease);
}
.footer__social:hover { background: #fff; color: var(--c-bg); }

.footer__wordmark {
  height: calc((100vw - var(--pad) * 2) * 0.187 * 0.72);
  max-height: 340px;
  padding-inline: var(--pad);
  overflow: hidden;
  color: rgba(255, 255, 255, 0.07);
}
.footer__wordmark svg { width: 100%; height: auto; max-width: 1820px; margin-inline: auto; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-block: 20px;
  border-top: 1px solid var(--c-border);
  font-size: 13px;
  color: var(--c-text-3);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.footer__legal a:hover { color: #fff; }

/* ==========================================================================
   Breakpoints (mobile-first)
   ========================================================================== */
@media (min-width: 640px) {
  :root {
    --fs-display: clamp(3rem, 6.95vw, 6.25rem);
    --fs-h1: clamp(2.25rem, 3.9vw, 3.5rem);
    --fs-h2: clamp(1.625rem, 2.8vw, 2.5rem);
    --sec-m: clamp(48px, 5.5vw, 80px);
    --sec-l: clamp(80px, 7.8vw, 112px);
    --header-h: 88px;
    --header-h-scrolled: 76px;
  }

  .header__cta { display: inline-flex; }

  .hero__content, .hero__bottom { gap: 28px; }
  .story__chapter { gap: 28px; }

  .slider-track { gap: 24px; }
  .slider-nav { width: auto; }
  .slider-nav .link-arrow { margin-right: 16px; }
  .slider-nav__count { margin-right: 12px; }
  .slider-nav .icon-btn { width: 52px; height: 52px; }
  .project-card { flex-basis: 86vw; }

  .footer__cta { gap: 28px; }
  .footer__grid { gap: 36px; }
}

@media (min-width: 768px) {
  .hero__content { align-items: flex-end; gap: 36px; }
  .hero__title { align-items: flex-end; text-align: right; }
  .hero__line--offset { padding-right: 1.06em; }
  .hero__line--swap { align-items: flex-end; }
  .hero__swap-word { left: auto; right: 0; }
  .hero__scroll { display: flex; }

  .numbers__head { grid-template-columns: 1fr 2fr; align-items: start; }

  .stat { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 24px; }
  .stat--reverse { flex-direction: row-reverse; }
  .stat--reverse .stat__info { align-items: flex-end; text-align: right; }
  .stat__info { padding-bottom: 1.6vw; }

  .areas { min-height: 100vh; }
  .areas__head { grid-template-columns: auto 1fr; align-items: end; gap: var(--sec-h); }
  .area__row { font-size: var(--fs-h1); }
  .area__arrow { display: block; }
  .area.is-active .area__title { transform: translateX(8px); }
  .areas__list {
    --area-offset: calc(
      var(--fs-h1) * 1.25
      + clamp(12px, 1.7vw, 24px) * 2
      + clamp(32px, 5.6vw, 80px)
    );
  }
  .area.is-active {
    --area-offset: calc(
      var(--fs-h1) * 1.25
      + clamp(12px, 1.7vw, 24px) * 2
      + clamp(48px, 8.3vw, 120px)
      + 8px
    );
  }

  .story__chapter { grid-template-columns: 1fr 1fr; gap: 64px; }
  .story__chapter:nth-child(2) .story__figure { order: 2; }

  .footer__cta { grid-template-columns: 1fr auto; align-items: end; }
  .footer__cta .eyebrow { grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .nav { display: block; }
  .burger, .mobile-menu { display: none; }
  .project-card { flex-basis: calc((100cqi - var(--slider-inset) - 24px) / 1.22); }
  .project-card__body { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 48px; }
  .project-card__main { flex: 1.2; }
  .project-card__facts { flex: 1; max-width: 560px; }
  .project-card__facts dd { font-size: clamp(1.5rem, 9.5cqi, 4.5rem); }
  .project-card__facts small { width: auto; }
  .project-card__shade {
    background:
      linear-gradient(180deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0) 26%),
      linear-gradient(180deg, rgba(10, 10, 10, 0) 30%, rgba(10, 10, 10, 0.92) 100%);
  }
  .post-card { flex-basis: clamp(320px, 34vw, 520px); }
}

@media (max-width: 1023px) {
  .mega, .mega-backdrop { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
}
