:root {
  --ease: cubic-bezier(.2, .7, .15, 1)
}

/* ==================== HERO (video bg) ==================== */
/* Padding-top includes the fixed topbar (38px) + nav (~72px) so the hero's
   black background extends up behind the fixed nav — no white seam. */
.hero {
  background: #000;
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 224px 0 140px;
  display: flex;
  flex-direction: column;
  align-items: center
}

@media(max-width:640px) {
  .hero {
    padding: 160px 0 100px
  }
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  z-index: 1
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(222, 37, 58, .18), transparent 55%),
    radial-gradient(ellipse at 50% 0%, rgba(0, 0, 0, .35), transparent 55%),
    linear-gradient(to bottom, transparent 75%, rgba(0, 0, 0, .7))
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--cont);
  margin: 0 auto;
  padding: 0 var(--px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  flex: 1;
  justify-content: center
}

h1.hero-title {
  font-family: var(--fd);
  font-size: clamp(40px, 6.6vw, 84px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.02;
  max-width: 900px;
  text-align: center;
  background: linear-gradient(144.5deg, #ffffff 28%, rgba(10, 10, 10, .15) 95%, transparent 115%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h1.hero-title .it {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(144.5deg, var(--red) 20%, #e8526a 75%, rgba(222, 37, 58, .45) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.hero-sub {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .72);
  max-width: 680px;
  text-align: center;
  font-weight: 400;

}

/* hero CTA — fade-in entrance, paired with .btn system */


.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: .16em;
  color: rgba(255, 255, 255, .55);
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2
}

.scroll-hint .line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, .55));
  animation: scrollLine 2s ease-in-out infinite
}

@keyframes scrollLine {
  0% {
    opacity: .2;
    transform: scaleY(.4);
    transform-origin: top
  }

  50% {
    opacity: 1;
    transform: scaleY(1)
  }

  100% {
    opacity: .2;
    transform: scaleY(.4);
    transform-origin: bottom
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: .5;
    transform: scale(1)
  }

  50% {
    opacity: 1;
    transform: scale(1.25)
  }
}

/* ==================== OVERVIEW ==================== */
.overview {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start
}

@media(max-width:900px) {
  .overview {
    grid-template-columns: 1fr;
    gap: 48px
  }
}

.overview h2 {
  font-size: clamp(34px, 4.2vw, 56px);
  margin-top: 20px;
  margin-bottom: 28px
}

.overview .lede {
  font-size: 19px;
  color: var(--gray-60);
  line-height: 1.65;
  max-width: 560px
}

.overview .lede+.lede {
  margin-top: 18px
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--gray-10);
  border: 1px solid var(--gray-10)
}

.stat {
  background: #fff;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: background .25s
}

.stat:hover {
  background: var(--gray-02)
}

.stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .5s var(--ease)
}

.stat:hover::before {
  transform: scaleY(1);
  transform-origin: top
}

.stat .k {
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray-40)
}

.stat .v {
  font-family: var(--fd);
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -.035em;
  color: var(--ink);
  margin-top: 14px;
  line-height: 1
}

.stat .v .suf {
  color: var(--red)
}

.stat .n {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--gray-60)
}

/* ==================== MANIFESTO ==================== */
.man-intro {
  max-width: 720px;
  margin-bottom: 64px
}

.man-intro h2 {
  font-size: clamp(34px, 4.2vw, 56px);
  margin-top: 20px
}

.principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--gray-10)
}

@media(max-width:800px) {
  .principles {
    grid-template-columns: 1fr
  }
}

.prin {
  padding: 44px 44px 44px 0;
  border-bottom: 1px solid var(--gray-10);
  position: relative;
  cursor: default
}

.prin:nth-child(odd) {
  border-right: 1px solid var(--gray-10)
}

.prin:nth-child(even) {
  padding-left: 44px
}

@media(max-width:800px) {
  .prin:nth-child(odd) {
    border-right: none
  }

  .prin:nth-child(even) {
    padding-left: 0
  }
}

.prin .num {
  font-family: var(--fm);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--gray-40);
  transition: color .25s
}

.prin h3 {
  font-size: 28px;
  margin-top: 14px;
  margin-bottom: 14px;
  transition: transform .4s var(--ease)
}

.prin p {
  color: var(--gray-60);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 460px
}

.prin::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width .5s var(--ease)
}

.prin:hover::after {
  width: 60px
}

.prin:hover h3 {
  transform: translateX(6px)
}

.prin:hover .num {
  color: var(--red)
}

/* ==================== TIMELINE ==================== */
.sec-d{
    background:var(--ink);
    color:var(--white)
}

.tl-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 56px;
  flex-wrap: wrap;
  gap: 24px
}

.tl-head h2 {
  font-size: clamp(34px, 4.2vw, 56px);
  color: #fff;
  margin-top: 20px;
  max-width: 640px
}

.tl-head .hint {
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray-40);
  display: flex;
  align-items: center;
  gap: 10px
}

.tl-head .hint .k {
  border: 1px solid rgba(255, 255, 255, .18);
  padding: 3px 7px;
  border-radius: 3px;
  color: #fff
}

.timeline {
  position: relative
}

.tl-rail {
  position: relative;
  height: 1px;
  background: rgba(255, 255, 255, .12);
  margin: 0
}

.tl-progress {
  position: absolute;
  left: 0;
  top: 0;
  height: 1px;
  background: var(--red);
  width: 0%;
  transition: width .1s linear
}

.tl-track {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 12px;
  padding-top: 40px
}

.tl-track::-webkit-scrollbar {
  display: none
}

.tl-row {
  display: flex;
  gap: 0
}

.tl-item {
  min-width: 380px;
  flex: 0 0 380px;
  scroll-snap-align: start;
  padding: 36px 32px;
  border-right: 1px solid rgba(255, 255, 255, .08);
  position: relative
}

.tl-item:first-child {
  padding-left: 0
}

.tl-item:first-child::before {
  left: 0
}

.tl-item::before {
  content: "";
  position: absolute;
  top: -44px;
  left: 32px;
  width: 9px;
  height: 9px;
  background: var(--ink);
  border: 1px solid var(--gray-40);
  border-radius: 50%;
  transition: all .3s;
  transform: translateY(-50%)
}

.tl-item.is-active::before {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 0 0 6px rgba(222, 37, 58, .18)
}

.tl-item .yr {
  font-family: var(--fm);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--gray-40);
  margin-top: 12px;
  transition: color .3s
}

.tl-item.is-active .yr {
  color: var(--red)
}

.tl-item h3 {
  color: #fff;
  font-size: 26px;
  margin-top: 14px;
  margin-bottom: 14px;
  letter-spacing: -.02em
}

.tl-item p {
  color: #b8b8b8;
  font-size: 15px;
  line-height: 1.65;
  max-width: 300px
}

.tl-item .tag {
  display: inline-block;
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray-40);
  border: 1px solid rgba(255, 255, 255, .14);
  padding: 3px 8px;
  margin-top: 18px;
  border-radius: 2px
}

.tl-ctrls {
  display: flex;
  gap: 10px;
  margin-top: 28px
}

.tl-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s
}

.tl-btn:hover {
  background: var(--red);
  border-color: var(--red)
}

.tl-btn svg {
  width: 14px;
  height: 14px
}

/* ==================== MARQUEE ==================== */
.marquee {
  background: var(--ink);
  color: #fff;
  padding: 28px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .06)
}

.marquee-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: mq 40s linear infinite;
  font-family: var(--fd);
  font-weight: 700;
  font-size: 42px;
  letter-spacing: -.03em;
  will-change: transform
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 60px
}

.marquee-track .sep {
  color: var(--red);
  font-size: 30px
}

.marquee-track .dim {
  color: var(--gray-40)
}

@keyframes mq {
  to {
    transform: translateX(-50%)
  }
}

/* ==================== FOOTPRINT ==================== */
.footprint {
  background: var(--ink);
  color: #fff
}

.fp-head {
  text-align: center;
  margin-bottom: 56px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto
}

.fp-head h2 {
  color: #fff;
  font-size: clamp(34px, 4.2vw, 56px);
  margin-top: 20px
}

.fp-head h2 .ital-red {
  font-style: italic;
  font-weight: 500;
  color: var(--red)
}

.fp-head p {
  color: #b8b8b8;
  margin-top: 18px
}

.map-wrap {
  position: relative;
  aspect-ratio: 2/1;
  max-width: 1100px;
  margin: 0 auto 64px
}

.map-wrap svg {
  width: 100%;
  height: 100%
}

.map-wrap .dot {
  fill: rgba(255, 255, 255, .14)
}

.pin {
  position: absolute;
  transform: translate(-50%, -50%)
}

.pin .pulse {
  width: 14px;
  height: 14px;
  background: var(--red);
  border-radius: 50%;
  position: relative
}

.pin .pulse::before,
.pin .pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--red);
  opacity: .4;
  animation: ping 2.4s ease-out infinite
}

.pin .pulse::after {
  animation-delay: 1.2s
}

@keyframes ping {
  0% {
    transform: scale(1);
    opacity: .5
  }

  100% {
    transform: scale(3.5);
    opacity: 0
  }
}

.pin .lbl {
  position: absolute;
  top: -8px;
  left: 22px;
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  background: rgba(14, 14, 15, .85);
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 2px
}

.pin .lbl .hq {
  color: var(--red)
}

/* Office cards */
.offices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto
}

@media(max-width:900px) {
  .offices {
    grid-template-columns: 1fr
  }
}

.office {
  position: relative;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, .08);
  padding: 32px 30px;
  overflow: hidden;
  transition: all .4s var(--ease);
  border-radius: 2px
}

.office:hover {
  border-color: rgba(222, 37, 58, .5);
  transform: translateY(-3px)
}

.office::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease)
}

.office:hover::before {
  transform: scaleX(1)
}

.office .o-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px
}

.office .o-tag.is-hq::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px rgba(222, 37, 58, .7);
  animation: opulse 2s ease-in-out infinite
}

@keyframes opulse {
  50% {
    opacity: .4
  }
}

.office h3 {
  font-family: var(--fd);
  font-weight: 700;
  font-size: 34px;
  letter-spacing: -.025em;
  line-height: 1;
  color: #fff
}

.office h3 .country {
  display: block;
  font-family: var(--fm);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .4);
  margin-top: 8px;
  text-transform: uppercase
}

.office .o-addr {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .75)
}

.office .o-addr .k {
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
  margin-bottom: 8px
}

.office .o-meta {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-top: 24px;
  gap: 16px
}

.office .o-tz {
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55)
}

.office .o-tz .clock {
  color: #fff;
  font-variant-numeric: tabular-nums;
  display: block;
  font-size: 18px;
  letter-spacing: -.01em;
  margin-top: 4px
}

.office .o-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .3s;
  color: #fff
}

.office:hover .o-arrow {
  background: var(--red);
  border-color: var(--red);
  transform: rotate(-45deg)
}

.office .o-arrow svg {
  width: 13px;
  height: 13px
}

/* ==================== CTA ==================== */
.cta {
  background: #0A0A0A;
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 140px 0
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 80%, rgba(222, 37, 58, .28), transparent 40%),
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: auto, 60px 60px, 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000, transparent 90%);
  mask-image: radial-gradient(ellipse at 50% 50%, #000, transparent 90%)
}

.cta .wrap {
  position: relative;
  z-index: 2;
  text-align: center
}

.cta h2 {
  font-size: clamp(48px, 8vw, 112px);
  letter-spacing: -.04em;
  line-height: .95 ;
  color: var(--white)
}

.cta h2 .red {
  color: var(--red);
  font-style: italic;
  font-family: var(--fd);
  font-weight: 700
}

.cta p {
  max-width: 520px;
  margin: 28px auto 44px;
  color: #c0c0c0;
  font-size: 18px
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap
}

.magnet {
  display: inline-block
}

/* reveal */
[data-r] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease)
}

[data-r].in {
  opacity: 1;
  transform: none
}

[data-r-d="1"] {
  transition-delay: .08s
}

[data-r-d="2"] {
  transition-delay: .16s
}

[data-r-d="3"] {
  transition-delay: .24s
}

[data-r-d="4"] {
  transition-delay: .32s
}

/* ===== ADDITIONAL RESPONSIVE OVERRIDES ===== */
@media(max-width:900px) {
  .marquee-track {
    font-size: 32px;
    gap: 44px
  }

  .marquee-track span {
    gap: 44px
  }

  .marquee-track .sep {
    font-size: 24px
  }
}

@media(max-width:640px) {

  /* Hero — hide scroll hint on phones (avoids overlap with stacked content) */
  .scroll-hint {
    display: none
  }

  /* Overview — collapse stats from 2-col to 1-col, smaller numbers */
  .stats {
    grid-template-columns: 1fr
  }

  .stat {
    padding: 24px 22px
  }

  .stat .v {
    font-size: 42px
  }

  /* Manifesto — tighter padding when stacked */
  .prin {
    padding: 32px 0
  }

  /* Timeline — shorter cards + smaller heading */
  .tl-item {
    min-width: 300px;
    flex: 0 0 300px;
    padding: 28px 24px
  }

  .tl-item:first-child {
    padding-left: 0
  }

  .tl-item h3 {
    font-size: 22px
  }

  .tl-item .yr {
    margin-top: 8px
  }

  .tl-head h2 {
    margin-top: 14px
  }

  .tl-head .hint {
    font-size: 10px
  }

  /* Marquee — scale down further */
  .marquee {
    padding: 20px 0
  }

  .marquee-track {
    font-size: 24px;
    gap: 32px
  }

  .marquee-track span {
    gap: 32px
  }

  .marquee-track .sep {
    font-size: 18px
  }

  /* Footprint — tighter map + smaller office headings */
  .map-wrap {
    margin-bottom: 40px
  }

  .office {
    padding: 26px 22px
  }

  .office h3 {
    font-size: 26px
  }

  .office .o-tz .clock {
    font-size: 16px
  }

  /* Pin labels can clip on narrow maps — scale them down */
  .pin .lbl {
    font-size: 9px;
    padding: 4px 8px
  }

  /* CTA — bring giant headline down further on phones */
  .cta {
    padding: 96px 0
  }

  .cta p {
    font-size: 16px;
    margin: 22px auto 32px
  }
}

/* Very narrow phones (iPhone SE etc.) */
@media(max-width:380px) {
  .hero-title {
    font-size: 34px
  }

  .hero-sub {
    font-size: 14.5px
  }

  .stat .v {
    font-size: 36px
  }

  .office h3 {
    font-size: 22px
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    animation-duration: 0.001s !important;
    animation-delay: 0s !important;
    transition-duration: .1s !important
  }

  [data-r] {
    opacity: 1 !important;
    transform: none !important
  }
}

@media(hover:none) and (pointer:coarse) {
  .tl-btn {
    min-height: 44px
  }
}