/* xprop homepage concept — built from the Figma draft (1728px artboard) */
:root {
  --pink: #e6007e;
  --pink-deep: #e20073;
  --pink-dark: #a40053;
  --ink: #232021;
  --grey: #f5f5f5;
  --grey-2: #ebebeb;
  --white: #fff;
  /* 1 design px, scaled to the viewport and capped at 1px */
  --u: min(1px, calc(100vw / 1728));
  --gutter: max(20px, calc(var(--u) * 164));
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "Montserrat", system-ui, sans-serif;
  --font-display: "Omnium", "Comfortaa", "Montserrat", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; cursor: pointer; }

/* ---------- Type ---------- */
.h2 {
  font-weight: 700;
  font-size: clamp(32px, calc(var(--u) * 50), 50px);
  line-height: 1.1;
  color: var(--white);
}
.h2--dark { color: var(--ink); }
.h2--pink { color: var(--pink); }
.lead {
  font-size: clamp(17px, calc(var(--u) * 25), 25px);
  line-height: 1.3;
  color: var(--white);
}
.lead--dark { color: var(--ink); }

/* split text helpers */
.split-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split-word > span { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, calc(var(--u) * 20), 20px) clamp(26px, calc(var(--u) * 40), 40px);
  border: 2px solid currentColor;
  border-radius: 40px;
  font-weight: 600;
  font-size: clamp(15px, calc(var(--u) * 20), 20px);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: currentColor;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .5s var(--ease);
}
.btn span { position: relative; z-index: 1; transition: color .45s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn--light { color: var(--white); }
.btn--light:hover span, .btn--light:focus-visible span { color: var(--pink); }
.btn--dark { color: var(--ink); }
.btn--dark:hover span, .btn--dark:focus-visible span { color: var(--white); }
.btn--pink { color: var(--pink); }
.btn--pink:hover span, .btn--pink:focus-visible span { color: var(--white); }
.btn--glow { box-shadow: 0 0 70px rgba(0, 0, 0, .6); }
.btn:focus-visible { outline: 3px solid var(--pink); outline-offset: 4px; }

/* ---------- Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--ink);
  clip-path: inset(0 0 0 0);
}
.loader__inner { display: grid; gap: 28px; justify-items: center; }
.loader__logo { width: 200px; opacity: 0; transform: translateY(20px); }
.loader__bar { width: 200px; height: 3px; background: rgba(255, 255, 255, .12); border-radius: 3px; overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 100%; background: var(--pink); transform: scaleX(0); transform-origin: left; }
.no-js .loader { display: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  z-index: 50;
  top: clamp(14px, calc(var(--u) * 50), 50px);
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(14px, calc(var(--u) * 50), 50px) clamp(22px, calc(var(--u) * 80), 80px);
  background: rgba(0, 0, 0, .75);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  border-radius: 100px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, .35);
  transition: padding .5s var(--ease), top .5s var(--ease), background .5s var(--ease), transform .5s var(--ease);
}
.nav.is-scrolled {
  top: 14px;
  padding-top: 14px;
  padding-bottom: 14px;
  background: rgba(20, 18, 19, .82);
}
.nav.is-hidden { transform: translateY(calc(-100% - 30px)); }
.nav__logo img { width: clamp(130px, calc(var(--u) * 205), 205px); height: auto; transition: width .5s var(--ease); }
.nav.is-scrolled .nav__logo img { width: clamp(120px, calc(var(--u) * 170), 170px); }
.nav__links { display: flex; align-items: center; gap: clamp(14px, calc(var(--u) * 25), 25px); }
.nav__links a {
  position: relative;
  color: var(--white);
  text-decoration: none;
  font-size: clamp(13px, calc(var(--u) * 16), 16px);
  padding: 6px 0;
}
.nav__links a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav__links a:not(.nav__cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta {
  background: rgba(230, 0, 126, .9);
  padding: 13px 20px !important;
  border-radius: 25px;
  transition: background .3s, transform .3s var(--ease);
}
.nav__cta:hover { background: var(--white); color: var(--pink) !important; }
.nav__burger { display: none; }

.mobile-menu { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: max(620px, min(100svh, calc(var(--u) * 1000 + 0px), 1000px));
  min-height: 620px;
  color: var(--white);
  overflow: hidden;
  border-bottom-right-radius: clamp(120px, calc(var(--u) * 400), 400px);
  display: grid;
  place-items: center;
  text-align: center;
}
@media (min-width: 900px) { .hero { height: max(680px, min(100svh, 1000px)); } }
.hero__media { position: absolute; inset: 0; }
.hero__img, .hero__mark { will-change: transform; }
.hero__img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 0%; transform-origin: 50% 30%; }
.hero__shade { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 55%, rgba(0,0,0,.35), rgba(0,0,0,.05) 70%); }
.hero__mark {
  position: absolute;
  top: -4.6%;
  bottom: -4.5%;
  left: -25.29%;
  aspect-ratio: 1104 / 1091;
  pointer-events: none;
}
.hero__mark-fill {
  position: absolute;
  inset: 0;
  background: rgba(230, 0, 126, .5);
  -webkit-backdrop-filter: blur(7.5px);
  backdrop-filter: blur(7.5px);
  clip-path: url(#heroClip);
}
.hero__content { position: relative; z-index: 2; display: grid; justify-items: center; padding: 0 20px; margin-top: 4vh; }
.hero__title {
  font-weight: 700;
  font-size: clamp(44px, calc(var(--u) * 100), 100px);
  line-height: 1.05;
  text-shadow: 0 0 70px #000;
}
.hero__title .split-word { overflow: visible; }
.hero__sub {
  margin-top: clamp(20px, calc(var(--u) * 48), 48px);
  max-width: 889px;
  font-size: clamp(18px, calc(var(--u) * 38), 38px);
  line-height: 1.2;
  text-shadow: 0 0 70px #000, 0 4px 50px #000;
}
.hero__content .btn { margin-top: clamp(28px, calc(var(--u) * 50), 50px); }
.hero__scroll {
  position: absolute;
  z-index: 2;
  bottom: 34px;
  left: 50%;
  width: 28px;
  height: 46px;
  margin-left: -14px;
  border: 2px solid rgba(255, 255, 255, .8);
  border-radius: 20px;
}
.hero__scroll span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px;
  background: var(--white);
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Stats ---------- */
.stats {
  position: relative;
  padding: clamp(80px, calc(var(--u) * 150), 150px) var(--gutter);
  overflow: hidden;
}
.stats__pattern {
  position: absolute;
  inset: -20% -5%;
  background: url(assets/pattern-stats.png) center / cover no-repeat;
  opacity: .9;
  pointer-events: none;
}
.stats__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(30px, calc(var(--u) * 88), 88px);
  align-items: center;
}
.stat { display: flex; flex-direction: column; align-items: center; gap: clamp(24px, calc(var(--u) * 35), 35px); text-align: center; }
.stat__line { display: block; width: clamp(120px, calc(var(--u) * 199), 199px); height: 3px; background: var(--pink); transform-origin: center; }
.stat__text { display: grid; gap: clamp(12px, calc(var(--u) * 20), 20px); }
.stat__big {
  font-weight: 800;
  font-size: clamp(32px, calc(var(--u) * 50), 50px);
  line-height: 1;
  color: var(--pink);
  font-variant-numeric: tabular-nums;
}
.stat__small { font-size: clamp(18px, calc(var(--u) * 30), 30px); line-height: 1.15; }

/* ---------- Team ---------- */
.team {
  position: relative;
  height: clamp(560px, calc(var(--u) * 1000), 1000px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 0 var(--gutter) clamp(50px, calc(var(--u) * 70), 70px);
  overflow: hidden;
  text-align: center;
}
.team__media { position: absolute; inset: 0; overflow: hidden; }
.team__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transform-origin: 50% 40%; }
.team__grad { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(226, 0, 115, 0) 28%, rgba(226, 0, 115, .7) 91%); }
.team__content { position: relative; display: grid; justify-items: center; gap: clamp(24px, calc(var(--u) * 40), 40px); max-width: 724px; }

/* ---------- Clients / Properties ---------- */
.cp {
  position: relative;
  padding: clamp(60px, calc(var(--u) * 175), 175px) var(--gutter) clamp(80px, calc(var(--u) * 240), 240px);
  overflow: hidden;
  background: #1a1a1a;
}
.cp__bg { position: absolute; inset: 0; }
.cp__bg img {
  width: 100%;
  height: 125%;
  object-fit: cover;
  object-position: 50% 0;
  filter: grayscale(1) brightness(.45) contrast(1.05);
}
.cp__wrap {
  position: relative;
  max-width: 1230px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, calc(var(--u) * 50), 50px);
  align-items: start;
}
.cp__col { position: relative; display: flex; flex-direction: column; }
.cp__col--right { margin-top: clamp(40px, calc(var(--u) * 116), 116px); }
.cp__img {
  position: relative;
  z-index: 2;
  aspect-ratio: 590 / 345;
  border-radius: 0 clamp(36px, calc(var(--u) * 60), 60px) 0 clamp(36px, calc(var(--u) * 60), 60px);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
}
.cp__img img { width: 100%; height: 120%; object-fit: cover; }
.cp__img--overlap { margin-top: calc(var(--u) * -229); }
.cp__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(22px, calc(var(--u) * 40), 40px);
  min-height: clamp(360px, calc(var(--u) * 690), 690px);
  padding: clamp(50px, calc(var(--u) * 100), 100px) clamp(30px, calc(var(--u) * 80), 80px);
  background: rgba(230, 0, 126, .6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: 0 clamp(60px, calc(var(--u) * 100), 100px) 0 clamp(60px, calc(var(--u) * 100), 100px);
  box-shadow: 0 0 60px rgba(0, 0, 0, .25);
}
.cp__card--bottom { justify-content: flex-end; margin-top: calc(var(--u) * -269); padding-top: calc(var(--u) * 269 + 40px); }

/* ---------- Quote ---------- */
.quote {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(0, 580px);
  gap: 40px;
  align-items: center;
  min-height: clamp(600px, calc(var(--u) * 950), 950px);
  padding: clamp(80px, calc(var(--u) * 137), 137px) var(--gutter) clamp(80px, calc(var(--u) * 137), 137px) 0;
  background: linear-gradient(to bottom, var(--pink-deep), var(--pink-dark));
  color: var(--white);
  overflow: hidden;
}
.quote__visual { position: relative; align-self: stretch; min-height: 520px; }
.quote__mark {
  position: absolute;
  width: calc(var(--u) * 1323);
  max-width: none;
  left: calc(var(--u) * -277);
  top: calc(var(--u) * -178);
  height: auto;
}
.quote__photo {
  position: absolute;
  width: clamp(380px, calc(var(--u) * 819), 819px);
  aspect-ratio: 819.36 / 806.7;
  left: calc(var(--u) * -27);
  top: 50%;
  margin-top: calc(clamp(380px, calc(var(--u) * 819), 819px) * -0.492);
}
.quote__diamond, .quote__cutout { position: absolute; top: 0; height: 100%; max-width: none; }
.quote__diamond { left: 0; width: 100%; }
.quote__cutout { z-index: 2; left: .835%; width: 99.47%; }
.quote__text { margin: 0; position: relative; z-index: 3; }
.quote__text blockquote { margin: 0 0 40px; }
.quote__text blockquote p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, calc(var(--u) * 53), 53px);
  line-height: 1.19;
  letter-spacing: -.01em;
}
.quote__text blockquote p + p { margin-top: 30px; }
.quote__text figcaption { font-size: 20px; line-height: 1.25; }

/* ---------- News ---------- */
.news {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 453px) 1fr;
  gap: 40px;
  align-items: center;
  padding: clamp(80px, calc(var(--u) * 150), 150px) 0 clamp(80px, calc(var(--u) * 150), 150px) var(--gutter);
  background: var(--grey);
  overflow: hidden;
}
.news__intro { display: grid; justify-items: start; gap: clamp(24px, calc(var(--u) * 40), 40px); }
.news__controls { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.news__arrow {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 18px;
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.news__arrow:hover { background: var(--pink); border-color: var(--pink); color: var(--white); transform: scale(1.08); }
.news__progress { width: 120px; height: 3px; background: rgba(35, 32, 33, .15); border-radius: 3px; overflow: hidden; }
.news__progress span { display: block; height: 100%; width: 100%; background: var(--pink); transform-origin: left; transform: scaleX(.33); transition: transform .4s var(--ease); }
.news__track {
  display: flex;
  gap: 40px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 30px var(--gutter) 40px 10px;
  margin: -30px 0 -40px;
  cursor: grab;
}
.news__track::-webkit-scrollbar { display: none; }
.news__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.news__track.is-dragging a { pointer-events: none; }
.news-card {
  flex: 0 0 clamp(280px, calc(var(--u) * 420), 420px);
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  text-decoration: none;
  color: var(--white);
  transition: transform .5s var(--ease), filter .5s var(--ease);
  will-change: transform;
}
.news-card:hover { transform: translateY(-10px); filter: drop-shadow(0 24px 30px rgba(230, 0, 126, .28)); }
.news-card__img { height: clamp(200px, calc(var(--u) * 300), 300px); border-top-left-radius: 100px; overflow: hidden; }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.news-card:hover .news-card__img img { transform: scale(1.08); }
.news-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px;
  background: var(--pink);
  border-bottom-right-radius: 100px;
}
.news-card__body h3 { font-weight: 700; font-size: clamp(20px, calc(var(--u) * 25), 25px); line-height: 1.2; }
.news-card__body p { font-size: 16px; line-height: 1.35; }
.news-card__more { margin-top: auto; font-weight: 600; font-size: 15px; display: inline-flex; gap: 8px; align-items: center; opacity: .85; }
.news-card__more i { font-style: normal; transition: transform .4s var(--ease); }
.news-card:hover .news-card__more i { transform: translateX(6px); }

/* ---------- Contact ---------- */
.contact {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(90px, calc(var(--u) * 150), 150px) 20px;
  overflow: hidden;
  text-align: center;
}
.contact__bg { position: absolute; inset: 0; }
.contact__bg::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .2); }
.contact__bg img { width: 100%; height: 140%; object-fit: cover; object-position: 30% 40%; filter: grayscale(1) contrast(1.05); }
.contact__card {
  position: relative;
  width: min(926px, 100%);
  display: grid;
  justify-items: center;
  gap: clamp(24px, calc(var(--u) * 40), 40px);
  padding: 50px clamp(24px, 4vw, 60px);
  background: rgba(230, 0, 126, .6);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-radius: 0 100px 0 100px;
  box-shadow: 0 4px 60px rgba(0, 0, 0, .25);
}
.contact__card .lead { max-width: 636px; }

/* ---------- Partnerships ---------- */
.partners { position: relative; overflow: hidden; background: var(--white); }
.partners__pattern { position: absolute; inset: -10% -5%; background: url(assets/pattern-partners.png) center / cover no-repeat; pointer-events: none; }
.partners__inner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: clamp(30px, calc(var(--u) * 50), 50px);
  padding: clamp(80px, calc(var(--u) * 150), 150px) var(--gutter);
  text-align: center;
}
.partners__lead { max-width: 790px; }
.partners__row { display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 1400px; text-align: left; }
.partner { display: grid; grid-template-columns: 335fr 365fr; min-height: clamp(260px, calc(var(--u) * 335), 335px); }
.partner__logo { display: grid; place-items: center; background: var(--ink); padding: 30px; }
.partner__logo img { width: auto; height: auto; max-width: 75%; max-height: 70%; transition: transform .6s var(--ease); }
.partner:hover .partner__logo img { transform: scale(1.06) rotate(-2deg); }
.partner__text { display: flex; align-items: center; padding: 40px clamp(24px, calc(var(--u) * 60), 60px); background: var(--grey-2); }
.partner__text p { font-size: 16px; line-height: 1.35; }
.partner--first .partner__logo { border-top-left-radius: 100px; }
.partner--last .partner__text { border-bottom-right-radius: 100px; }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; background: var(--ink); color: var(--white); }
.footer__mark {
  position: absolute;
  top: 50%;
  left: 61.23%;
  right: -2.84%;
  height: 715px;
  translate: 0 -50%;
  background: rgba(226, 0, 115, .5);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  clip-path: url(#footerClip);
}
.footer__inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 273px auto 1fr;
  gap: 60px;
  align-items: start;
  padding: 92px var(--gutter) 86px;
}
.footer__logo { width: clamp(180px, calc(var(--u) * 273), 273px); }
.footer__offices { display: grid; gap: 40px; }
.footer__offices > div { display: grid; gap: 12px; }
.footer__offices h4 { font-size: 16px; font-weight: 700; }
.footer__offices p { font-size: 14px; line-height: 1.3; }
.footer__offices a { text-decoration: none; transition: color .3s; }
.footer__offices a:hover { color: var(--pink); }
.footer__social { position: relative; width: 55px; height: 55px; display: block; }
.footer__glyph { position: absolute; inset: 25%; width: 50%; height: 50%; }
.footer__legal { justify-self: end; width: 273px; display: grid; gap: 12px; font-size: 14px; }
.footer__legal a { text-decoration: underline; text-underline-offset: 3px; transition: color .3s; }
.footer__legal a:hover { color: var(--pink); }

/* ---------- Concept badge ---------- */
.concept-badge {
  position: fixed;
  z-index: 60;
  left: 16px;
  bottom: 16px;
  padding: 8px 14px;
  border-radius: 20px;
  background: rgba(35, 32, 33, .85);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  pointer-events: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__links { display: none; }
  .nav { padding: 14px 18px 14px 26px; border-radius: 60px; }
  .nav.is-scrolled { padding: 10px 14px 10px 22px; }
  .nav__burger {
    display: grid;
    place-content: center;
    gap: 6px;
    width: 48px; height: 48px;
    border: 0;
    border-radius: 50%;
    background: var(--pink);
  }
  .nav__burger span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease); }
  .nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-menu {
    position: fixed;
    z-index: 45;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 110px 32px 40px;
    background: rgba(20, 18, 19, .96);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    clip-path: circle(0% at calc(100% - 60px) 50px);
    transition: clip-path .7s var(--ease);
    pointer-events: none;
  }
  .mobile-menu.is-open { clip-path: circle(150% at calc(100% - 60px) 50px); pointer-events: auto; }
  .mobile-menu a { color: #fff; text-decoration: none; font-size: 28px; font-weight: 700; padding: 6px 0; }
  .mobile-menu a:hover { color: var(--pink); }
  .mobile-menu__cta { margin-top: 18px; align-self: flex-start; background: var(--pink); padding: 12px 26px !important; border-radius: 30px; font-size: 20px !important; }
  .footer__inner { grid-template-columns: auto 1fr auto; }
  .footer__legal { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 900px) {
  .stats__grid { grid-template-columns: 1fr; gap: 70px; }
  .cp__wrap { grid-template-columns: 1fr; gap: 40px; max-width: 560px; }
  .cp__col--right { margin-top: 0; }
  .cp__img--overlap { margin-top: -90px; }
  .cp__card--bottom { margin-top: -90px; padding-top: 130px; }
  .cp__card { min-height: 0; }
  .cp__col--right .cp__card { padding-bottom: 130px; }
  .quote { grid-template-columns: 1fr; padding: 0 var(--gutter) 80px; }
  .quote__visual { min-height: 0; height: 115vw; max-height: 560px; margin: 0 calc(var(--gutter) * -1); }
  .quote__photo { width: 108vw; max-width: 640px; left: -6vw; margin-top: calc(min(108vw, 640px) * -0.492); }
  .quote__mark { width: 160vw; left: -40vw; top: -10vw; }
  .news { grid-template-columns: 1fr; padding-right: 0; }
  .news__intro { padding-right: var(--gutter); }
  .news__track { padding-left: 2px; }
  .partners__row { grid-template-columns: 1fr; gap: 0; }
  .partner--first .partner__text { border-bottom-right-radius: 0; }
  .footer__inner { grid-template-columns: 1fr; gap: 40px; padding-bottom: 110px; }
  .footer__mark { left: 30%; right: -30%; }
}

@media (max-width: 560px) {
  .partner { grid-template-columns: 1fr; }
  .partner__logo { min-height: 220px; }
  .partner--first .partner__logo { border-top-left-radius: 70px; }
  .partner--last .partner__text { border-bottom-right-radius: 70px; }
  .cp__card, .contact__card { border-radius: 0 70px 0 70px; }
  .hero__mark { top: 6%; bottom: auto; height: 62%; left: -75%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .loader { display: none; }
}

/* Sections clip rather than scroll, so focus/scrollIntoView can never shift their contents */
@supports (overflow: clip) {
  .hero, .stats, .team, .cp, .quote, .news, .contact, .partners, .footer, .team__media, .cp__img, .news-card__img { overflow: clip; }
}
