.hero-inner { container-type: inline-size; }

/* Navbar: white pill, logo dead centre, links either side */
.site-nav {
  position: fixed; top: clamp(12px, 1.4vw, 24px); left: 0; right: 0; z-index: 90;
  display: flex; justify-content: center; padding: 0 1rem; pointer-events: none;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s;
}
.site-nav.is-hidden { transform: translateY(calc(-100% - 30px)); opacity: 0; }
.site-nav-pill {
  pointer-events: auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(1.5rem, 3vw, 4rem);
  padding: clamp(10px, 0.9vw, 16px) clamp(18px, 1.8vw, 32px);
  background: #fff; border-radius: clamp(12px, 1vw, 18px);
  box-shadow: 0 10px 30px -14px rgba(7, 6, 6, 0.25);
}
.site-nav-links { display: flex; gap: clamp(1.25rem, 2.4vw, 3rem); }
.site-nav-links:last-child { justify-content: flex-end; }
.site-nav-links a {
  font: 600 clamp(11px, 0.78vw, 14px) / 1 Sora, sans-serif; letter-spacing: 0.12em; text-transform: uppercase;
  color: #070606; transition: color 0.2s;
}
.site-nav-links a:hover { color: #EF4680; }
.site-nav-logo img { display: block; height: clamp(20px, 1.6vw, 30px); width: auto; }
/* Phone: all four links stay, so the pill spans the screen and everything tightens up */
@media (max-width: 639px) {
  .site-nav { padding: 0 0.75rem; }
  .site-nav-pill { width: 100%; gap: 0.6rem; padding: 12px 14px; }
  .site-nav-links { gap: clamp(0.5rem, 3vw, 0.9rem); }
  .site-nav-links a { font-size: clamp(9px, 2.7vw, 11px); letter-spacing: 0.05em; white-space: nowrap; }
  .site-nav-logo img { height: clamp(24px, 7.5vw, 30px); }
}
.hero-title {
  /* Also capped by the content width (cqi), so each line stays on one row on wide screens */
  font-size: clamp(2.5rem, min(6.6vw, 7.5cqi), 140px);
  line-height: 1.173;
}
.hero-copy {
  font-size: clamp(1.125rem, 1.74vw, 34px);
  line-height: 1.56;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-title { font-size: 7vw; }
  .hero-copy { font-size: 2.9vw; }
  .hero .hero-btn { font-size: 18px; padding: 0.8rem 1.9rem; border-radius: 13px; }
  .hero-play-icon { width: 56px; height: 56px; }
}

/* Small play button on the hero video */
.hero-play { cursor: pointer; }
.hero-play-icon {
  position: relative; display: grid; place-items: center;
  width: clamp(44px, 3.2vw, 60px); height: clamp(44px, 3.2vw, 60px); border-radius: 50%;
  color: #fff; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background 0.3s, color 0.3s;
}
.hero-play-icon svg { width: 46%; height: 46%; }
.hero-play-icon::after {
  content: ''; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.5);
  animation: play-pulse 2.2s ease-out infinite;
}
.hero-play:hover .hero-play-icon, .hero-play:focus-visible .hero-play-icon { background: #fff; color: #070606; }
.hero-play:focus-visible { outline: none; }
@keyframes play-pulse { from { transform: scale(1); opacity: 0.8; } to { transform: scale(1.7); opacity: 0; } }

/* Video popup */
.video-modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 1.25rem; }
.video-modal[hidden] { display: none; }
.video-modal-backdrop { position: absolute; inset: 0; background: rgba(7, 6, 6, 0.9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.video-modal-box {
  position: relative; width: min(100%, calc(86svh * 16 / 9), 1400px); aspect-ratio: 16 / 9;
  border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.8);
}
.video-modal-player { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.video-modal-close {
  position: absolute; top: clamp(14px, 2vw, 32px); right: clamp(14px, 2vw, 32px);
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  color: #fff; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.25); transition: background 0.2s;
}
.video-modal-close:hover { background: rgba(255, 255, 255, 0.22); }
.video-modal-close svg { width: 22px; height: 22px; }
@media (prefers-reduced-motion: reduce) { .hero-play-icon::after { animation: none; } }
.text-gradient {
  background-image: linear-gradient(90deg, #FFC516, #44C4D9, #93C956, #FFC516);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 6s linear infinite;
}
@keyframes gradient-shift {
  to { background-position: 300% 0; }
}
.is-scrolling .text-gradient { animation-play-state: paused; }
/* Hero pieces that move on scroll get their own GPU layer, so the logo's drop-shadow isn't redrawn every frame */
.hero-title, .hero-left, .logo-scroll, .logo-tilt, .hero-logo { will-change: transform, opacity; }
.word-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; }
.word { display: inline-block; will-change: transform; }

.about-copy {
  font-size: clamp(1.625rem, 3.47vw, 68px);
  line-height: 1.496;
  letter-spacing: -0.0238em;
  font-weight: 500;
}
.about-copy .w { color: #C9C7C1; }
/* Smaller than the copy so "Digital" visibly grows on its way to the services heading */
.select-box { position: relative; display: inline-block; }
.select-box.about-copy { font-size: clamp(1.4rem, 3vw, 58px); }
.select-box .ants {
  position: absolute; inset: -14px;
  width: calc(100% + 28px); height: calc(100% + 28px);
  overflow: visible; pointer-events: none;
}
.select-box .ants rect {
  fill: none; stroke: #070606; stroke-width: 1; stroke-dasharray: 5 4;
  animation: ants 0.8s linear infinite;
}
@keyframes ants { to { stroke-dashoffset: -18; } }
.select-box .handle {
  position: absolute; width: 7px; height: 7px; background: #070606;
}
.select-box .handle.tl { top: -17px; left: -17px; }
.select-box .handle.tr { top: -17px; right: -17px; }
.select-box .handle.bl { bottom: -17px; left: -17px; }
.select-box .handle.br { bottom: -17px; right: -17px; }
.select-fill { display: inline-flex; align-items: baseline; white-space: nowrap; background: #FFC516; color: #070606; padding: 0.12em 1.2em 0.18em; }

.t-services {
  font-size: clamp(1.75rem, 3.6vw, 72px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.t-archive {
  font-size: clamp(1.6rem, 3vw, 56px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.services-sub {
  font-size: clamp(0.9375rem, 1.35vw, 26px);
  line-height: 1.55;
}
.case-title {
  font-family: 'Poppins', sans-serif; font-weight: 700; text-transform: uppercase;
  color: #020202; font-size: clamp(16px, 1.75vw, 24px); line-height: 1.15;
}
.case-label {
  font-family: 'Poppins', sans-serif; font-weight: 700; text-transform: uppercase;
  color: #888888; font-size: clamp(13px, 0.95vw, 16px); line-height: 1.1; letter-spacing: 1.08px;
}
.case-text {
  font-family: 'Poppins', sans-serif; font-weight: 500;
  color: rgba(0, 0, 0, 0.9); font-size: clamp(13px, 0.85vw, 16px); line-height: 1.6;
}
.case-text strong { font-weight: 700; color: #0A0A0A; }

/* Case study button: brand-pink pill, white arrow badge; on hover a deeper pink sweeps in from the arrow and the arrow tilts */
.case-btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: auto; padding: 6px 6px 6px 22px; border-radius: 999px;
  background: #EF4680; color: #fff;
  font: 600 clamp(12px, 0.85vw, 15px) / 1 Poppins, sans-serif; letter-spacing: 0.08em; text-transform: uppercase;
}
.case-body > dl { margin-bottom: 1.5rem; }
.case-btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: #C9245E;
  transform: scaleX(0); transform-origin: right center; transition: transform 0.55s cubic-bezier(0.7, 0, 0.2, 1);
}
.case-btn-icon {
  display: grid; place-items: center; flex-shrink: 0;
  width: clamp(36px, 2.6vw, 46px); aspect-ratio: 1; border-radius: 50%;
  background: #fff; color: #EF4680;
  transition: color 0.4s, transform 0.55s cubic-bezier(0.7, 0, 0.2, 1);
}
.case-btn-icon svg { width: 45%; height: 45%; }
.case-btn:hover::before, .case-btn:focus-visible::before, .case-card:hover .case-btn::before { transform: scaleX(1); }
.case-btn:hover .case-btn-icon, .case-btn:focus-visible .case-btn-icon, .case-card:hover .case-btn-icon { color: #C9245E; transform: rotate(-45deg); }
.case-card-link { position: absolute; inset: 0; z-index: 3; }
.case-card .case-btn { z-index: 4; }
.case-btn:focus-visible { outline: 2px solid #EF4680; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .case-btn::before, .case-btn-icon { transition: none; } }
@media (max-width: 767px) {
  .case-btn-sm { gap: 0.75rem; padding: 4px 4px 4px 16px; font-size: 11px; }
  .case-btn-sm .case-btn-icon { width: 30px; }
}
/* Keep the whole card inside the viewport while the row is pinned */
.case-media { width: 100%; max-height: max(120px, calc(100svh - 420px)); }
@media (max-width: 1023px) {
  .t-services { font-size: clamp(1.65rem, 7vw, 2.15rem); }
  .services-sub { font-size: 15px; line-height: 1.55; }
  .case-media { max-height: min(200px, 28svh); }
  .case-body { padding: 1rem 1.1rem 1.15rem !important; }
  .case-list { margin-top: 0.7rem !important; }
  .case-list > * + * { margin-top: 0.55rem !important; }
  .case-title { font-size: 15px; }
  .case-label { font-size: 11px; letter-spacing: 0.08em; }
  .case-text { font-size: 12px; line-height: 1.55; }
}
/* Tablet pins the whole section at the top of the screen: fill the screen and centre it, no empty band below */
@media (min-width: 768px) and (max-width: 1023px) {
  .services { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
  .services > .relative { width: 100%; }
  .case-media { max-height: min(280px, 26svh); }
}
/* Laptops: shorter cards */
@media (min-width: 1024px) and (max-height: 900px) {
  .case-media { max-height: min(220px, calc(100svh - 500px)); }
  .case-body { padding: 1.1rem 1.4rem 1.3rem !important; }
  .case-list { margin-top: 0.8rem !important; }
  .case-list > * + * { margin-top: 0.7rem !important; }
  .case-title { font-size: 18px; }
  .case-list { margin-bottom: 1rem; }
}
@media (min-width: 1024px) and (max-height: 760px) {
  .case-body { padding: 1rem 1.25rem 1.25rem !important; }
  .case-list { margin-top: 0.75rem !important; }
  .case-list > * + * { margin-top: 0.6rem !important; }
  .case-title { font-size: 17px; }
  .case-label { font-size: 12px; }
  .case-text { font-size: 12px; line-height: 1.55; }
}
@media (max-width: 767px) {
  .case-track.is-carousel {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1.25rem;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }
  .case-track.is-carousel .case-card { scroll-snap-align: start; }
}
/* "View more" card closing the home page row; the whole card is the link, so it drives the button's hover */
.case-more-ring {
  display: grid; place-items: center; width: clamp(150px, 12vw, 210px); aspect-ratio: 1; border: 3px solid transparent; border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #fff, #F6F4F1) padding-box, linear-gradient(135deg, #12B5E5, #7A4FE8 55%, #EF4680) border-box;
  box-shadow: 0 24px 50px -24px rgba(122, 79, 232, 0.45); transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.6s;
}
.case-more a:hover .case-more-ring { transform: scale(1.05); box-shadow: 0 28px 60px -22px rgba(239, 70, 128, 0.5); }
.case-more-count { font-size: clamp(56px, 4.6vw, 88px); background: linear-gradient(90deg, #12B5E5, #7A4FE8 55%, #EF4680); -webkit-background-clip: text; background-clip: text; color: transparent; }
.case-more a:hover .case-btn::before, .case-more a:focus-visible .case-btn::before { transform: scaleX(1); }
.case-more a:hover .case-btn-icon, .case-more a:focus-visible .case-btn-icon { color: #C9245E; transform: rotate(-45deg); }
.case-more a:focus-visible { outline: 2px solid #EF4680; outline-offset: 3px; }
/* Archive grid: same card size as the home page row, every row as tall as the tallest card */
.case-grid { grid-auto-rows: 1fr; }
@media (prefers-reduced-motion: reduce) { .case-track { overflow-x: auto; scroll-snap-type: x mandatory; } .case-card { scroll-snap-align: start; } }
.digital-chip { display: inline-block; background: #FFC516; padding: 0.04em 0.3em 0.08em; line-height: 1.1; letter-spacing: 0; }
.digital-chip em { font-family: 'Instrument Serif', serif; font-weight: 400; }
.digital-slot { display: inline-block; border-radius: 6px; outline: 2px dashed transparent; outline-offset: 4px; transition: outline-color 0.3s; }
.digital-slot.is-empty .digital-target { visibility: hidden; }
/* No will-change: the word must re-render sharp as it scales up */
.digital-fly { transform-origin: 0 0; }
.digital-fly .digital-chip { position: relative; }
.digital-fly .digital-chip::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2); opacity: var(--lift, 0);
}

.pillar-word {
  font-size: clamp(3.25rem, min(9.8vw, 16vh), 230px);
  line-height: 0.95;
  letter-spacing: 0.005em;
  color: #FFFFFF;
}
@media (max-width: 1023px) { .pillar-word { font-size: clamp(2.5rem, min(15vw, 6.8svh), 5.5rem); } }
@media (min-width: 768px) and (max-width: 1023px) { .pillar-word { font-size: clamp(3.5rem, min(13vw, 8.2svh), 7rem); } }
@media (prefers-reduced-motion: reduce) {
  .pillars { height: auto; padding: 5rem 0; }
  .pillar-word { color: var(--c); }
  .pillar-stack { height: auto; display: grid; gap: 3rem; }
  .pillar-stack > article { position: static; transform: none; width: auto; }
}

.values-title { font-size: clamp(1.875rem, 3.7vw, 80px); line-height: 1.04; letter-spacing: -0.01em; }
.values-box { background: #A3D869; padding: 0.05em 0.3em 0.1em; }
.values-phrase { font-size: clamp(2.75rem, 6vw, 124px); line-height: 1.1; min-height: 1.1em; white-space: nowrap; }
.values-caret {
  display: inline-block; width: 2px; height: 0.85em; margin-left: 0.06em;
  vertical-align: -0.08em; background: #070606;
  animation: caret 0.9s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.values-dot {
  position: absolute; width: 12px; height: 12px; border-radius: 9999px;
  background: #fff; box-shadow: 0 0 0 1px rgba(7, 6, 6, 0.15);
}
.values-desc { font-size: clamp(13px, 1.05vw, 22px); line-height: 1.75; }
.values-img { will-change: transform, opacity; }
@media (min-width: 768px) and (max-width: 1023px) {
  .values-title { font-size: clamp(3rem, 6.6vw, 4.25rem); }
  .values-phrase { font-size: clamp(4rem, 9vw, 5.75rem); }
  .values-desc { font-size: clamp(17px, 2.3vw, 22px); }
  .values .values-copy { max-width: 34rem; }
  .values .values-visual { height: 56%; }
}

.float-title { font-size: clamp(3rem, 7.2vw, 148px); line-height: 0.95; letter-spacing: -0.045em; }
.float-sub { font-size: clamp(14px, 1.15vw, 22px); line-height: 1.5; }
.float-boxes {
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 97%);
          mask-image: linear-gradient(to bottom, #000 70%, transparent 97%);
}
.float-box {
  position: absolute; left: var(--x); top: 0;
  width: clamp(130px, 14vw, 280px); padding: 0.55em 0.7em 1.6em;
  border: 1px solid #070606;
  font-family: Sora, sans-serif; font-weight: 600;
  font-size: clamp(15px, 1.5vw, 30px); line-height: 1.05; letter-spacing: -0.02em;
  top: var(--y); transform: rotate(var(--r));
  will-change: transform;
}
.float-box.is-front { z-index: 20; }
.float-box.is-draggable { pointer-events: auto; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.float-box.is-held { cursor: grabbing; z-index: 30; opacity: 1; }
.float-box.is-small { width: clamp(90px, 8.5vw, 170px); font-size: clamp(11px, 0.95vw, 18px); padding-bottom: 1.1em; }
.float-box.is-faded { opacity: 0.28; }

.contact-title { font-size: clamp(2.4rem, 4.6vw, 104px); line-height: 1.12; letter-spacing: -0.02em; }
.contact-lead { font-size: clamp(16px, 1.3vw, 26px); }
.contact-sub { font-size: clamp(26px, 2.2vw, 46px); }
.contact-note { font-size: clamp(13px, 0.9vw, 17px); }
.form-label { font-size: clamp(11px, 0.78vw, 15px); }
.form-hint { font-size: clamp(11px, 0.78vw, 15px); }
.form-input { font-size: clamp(15px, 1.05vw, 20px); }
.form-input-h { height: clamp(48px, 3.5vw, 68px); }
.contact-btn { height: clamp(52px, 3.8vw, 72px); font-size: clamp(14px, 1vw, 19px); }
@media (min-width: 768px) and (max-width: 1023px) {
  .contact-title { font-size: clamp(3.5rem, 8vw, 5rem); }
  .contact-lead { font-size: 20px; }
  .contact-sub { font-size: 34px; }
  .contact-note { font-size: 16px; }
  .form-label { font-size: 13px; }
  .form-input { font-size: 17px; }
  .form-input-h { height: 58px; }
  .contact-btn { height: 60px; font-size: 16px; }
  .form-error { font-size: 14px; }
}
/* Laptop and up: the whole contact section fits one screen, spacing shrinks with the window height */
@media (min-width: 1024px) {
  section.contact { --gap: clamp(0.35rem, 2.2svh, 1.5rem); --label-gap: clamp(3px, 0.9svh, 8px); --field: clamp(34px, min(3.5vw, 6.2svh), 68px);
    display: flex; align-items: center; min-height: 100svh; padding-block: clamp(0.75rem, 6svh, 7rem); }
  section.contact > div { width: 100%; }
  .contact .contact-title { font-size: clamp(2rem, min(4.6vw, 8.5svh), 104px); }
  .contact .contact-grid > :first-child { gap: calc(var(--gap) * 2); padding-block: clamp(0px, 1.5svh, 1.5rem); }
  .contact .contact-lead { margin-top: clamp(0.75rem, 2.6svh, 1.5rem); }
  .contact .contact-form > .grid { row-gap: var(--gap); }
  .contact .form-label { margin-bottom: var(--label-gap); }
  .contact .form-input-h { height: var(--field); }
  .contact .contact-form textarea { height: clamp(64px, 22svh, 280px); }
  .contact .contact-btn { height: clamp(38px, min(3.8vw, 6.6svh), 72px); margin-top: var(--gap); }
  .contact .contact-form > .contact-note { margin-top: clamp(0.4rem, 1.4svh, 1.25rem); }
  .contact .contact-form > span:last-child { margin-top: clamp(0.6rem, 2.6svh, 2rem); }
}
.form-input.is-invalid { border-color: #D61F5C; box-shadow: 0 0 0 4px rgba(214, 31, 92, 0.12); }
.form-error {
  display: flex; align-items: flex-start; gap: 0.4em; margin-top: 0.5rem;
  font: 500 clamp(12px, 0.8vw, 15px) / 1.4 Poppins, sans-serif; color: #C2185B;
}
.form-error[hidden] { display: none; }
.form-error::before {
  content: '!'; flex: none; display: grid; place-items: center; width: 1.25em; height: 1.25em; margin-top: 0.05em;
  border-radius: 50%; background: #C2185B; color: #fff; font-size: 0.8em; font-weight: 700;
}
.form-status.is-ok { background: rgba(147, 201, 86, 0.18); color: #2f5d0f; }
.form-status.is-error { background: rgba(239, 70, 128, 0.1); color: #b0124a; }
/* Thank-you overlay: fills the screen above the navbar after sending, the page stays put underneath */
.thanks {
  position: fixed; inset: 0; z-index: 95; outline: none; cursor: crosshair;
  overflow-y: auto; overscroll-behavior: contain;
  display: flex; justify-content: center; align-items: flex-start; padding: 5.5rem 1.25rem 3rem;
}
.thanks[hidden] { display: none; }
html:has(.thanks:not([hidden])) { overflow: hidden; }
.thanks-wipe { position: absolute; inset: 0; background: var(--c); clip-path: polygon(0% 0%, 0% 0%, 0% 0%); }
.thanks-wipe-ink {
  background:
    radial-gradient(60% 50% at 0% 0%, rgba(239, 70, 128, 0.28), transparent 70%),
    radial-gradient(60% 50% at 100% 100%, rgba(68, 196, 217, 0.22), transparent 70%),
    radial-gradient(40% 40% at 85% 10%, rgba(139, 99, 233, 0.22), transparent 70%),
    #070606;
}
.thanks-fx { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; pointer-events: none; }
.thanks-popper {
  position: absolute; top: 0; z-index: 3; width: clamp(56px, 5.6vw, 100px); height: auto;
  transform-origin: 50% 100%; opacity: 0; pointer-events: none;
  filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.5));
}
.thanks-popper svg { display: block; width: 100%; height: auto; }
.thanks-close {
  position: absolute; top: clamp(16px, 2vw, 36px); right: clamp(16px, 2vw, 36px); z-index: 4;
  width: clamp(44px, 3.4vw, 60px); aspect-ratio: 1; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(6px); transition: background 0.2s;
}
.thanks-close:hover { background: rgba(255, 255, 255, 0.16); }
.thanks-close:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.thanks-close svg { display: block; width: 100%; height: 100%; }
.thanks-close-ring { stroke: var(--accent, #EF4680); stroke-dasharray: 100; stroke-dashoffset: 0; transform: rotate(-90deg); transform-origin: 50% 50%; }
.thanks-close-time {
  position: absolute; top: calc(100% + 8px); right: 0; white-space: nowrap;
  font: 500 clamp(11px, 0.75vw, 13px) / 1 Poppins, sans-serif; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.7);
  font-variant-numeric: tabular-nums;
}
.thanks-popper-l { left: clamp(20px, 6vw, 120px); }
.thanks-popper-r { right: clamp(20px, 6vw, 120px); }
.thanks-body { position: relative; z-index: 2; width: 100%; max-width: 46rem; color: #fff; text-align: center; }
.thanks-top {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font: 600 clamp(11px, 0.75vw, 14px) / 1 Poppins, sans-serif; letter-spacing: 0.18em; text-transform: uppercase; color: #93C956;
}
.thanks-check { width: clamp(22px, 1.6vw, 30px); height: auto; flex: none; }
.thanks-tick { stroke-dasharray: 40; stroke-dashoffset: 0; }
.thanks-title {
  margin-top: clamp(18px, 1.8vw, 32px);
  font: 700 clamp(40px, 4.6vw, 92px) / 1.04 Poppins, sans-serif; letter-spacing: -0.03em; overflow-wrap: anywhere;
}
.thanks-title span { background-image: linear-gradient(90deg, #4FD1F5 0%, #5B9BFF 35%, #A07BFF 65%, #F06BFF 100%); }
.thanks-msg { margin: 0.9em auto 0; max-width: 30em; font: 400 clamp(16px, 1.2vw, 23px) / 1.55 Poppins, sans-serif; color: rgba(255, 255, 255, 0.78); }
.thanks-topics {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.25rem; margin-top: clamp(18px, 1.6vw, 30px);
  font: 500 clamp(13px, 0.85vw, 16px) / 1.3 Poppins, sans-serif; color: rgba(255, 255, 255, 0.88);
}
.thanks-topics:empty { display: none; }
.thanks-topics span { display: inline-flex; align-items: center; gap: 0.5em; }
.thanks-topics span::before { content: ''; width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--c); }
.thanks-sign { margin-top: clamp(22px, 2.2vw, 40px); font: italic 400 clamp(22px, 1.8vw, 36px) / 1 'Instrument Serif', serif; }
.thanks-sign::before { content: '— '; color: var(--accent, #EF4680); }
.thanks-hint { margin-top: clamp(22px, 2.4vw, 44px); font: 400 clamp(12px, 0.8vw, 15px) / 1 Poppins, sans-serif; color: rgba(255, 255, 255, 0.5); }
@media (min-width: 1024px) {
  .thanks { align-items: center; padding: 3rem; }
}
/* Phone: same as tablet, the message fills and centres in the screen */
@media (max-width: 767px) {
  .thanks { padding: 0 1.25rem; }
  .thanks-body {
    min-height: 100svh; padding-block: 5.5rem 3rem;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
  }
  .thanks-title { font-size: clamp(36px, 11vw, 52px); }
  .thanks-msg { font-size: 16px; }
  .thanks-sign { font-size: 26px; }
  .thanks-close { top: 20px; right: 20px; }
}
/* Tablet: centre the message in the screen */
@media (min-width: 768px) and (max-width: 1023px) {
  .thanks { padding: 0 2.5rem; }
  .thanks-body {
    min-height: 100svh; max-width: 40rem;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
  }
  .thanks-top { font-size: 15px; }
  .thanks-check { width: 34px; }
  .thanks-title { font-size: 76px; }
  .thanks-msg { font-size: 22px; }
  .thanks-topics { font-size: 18px; }
  .thanks-sign { font-size: 42px; }
  .thanks-hint { font-size: 16px; }
  .thanks-close { width: 60px; top: 28px; right: 28px; }
  .thanks-close-time { font-size: 14px; }
  .thanks-popper { width: 96px; }
}

@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, clamp(500px, 41vw, 760px)); }
}
/* Pillar panels: grow with the screen on desktop */
.pp-icon { height: min(9svh, 84px); }
.pp-title { font-size: 22px; }
.pp-text { font-size: 15px; }
.pp-list { font-size: 14px; }
@media (min-width: 768px) {
  .pp-icon { height: 7rem; }
  .pp-title { font-size: 28px; }
  .pp-text { font-size: 18px; }
  .pp-list { font-size: 16px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .pp-icon { height: min(10rem, 13svh); }
  .pp-title { font-size: 38px; }
  .pp-text { font-size: 22px; max-width: 30rem; }
  .pp-list { font-size: 19px; }
  .pillars .pillar-stack { max-width: 640px; height: min(30rem, 46svh); }
}
@media (min-width: 1024px) {
  .pillar-card { width: clamp(260px, 25vw, 520px); }
  .pp-icon { height: min(14vw, 26vh, 280px); }
  .pp-title { font-size: clamp(26px, 2.3vw, 48px); }
  .pp-text { font-size: clamp(16px, 1.3vw, 26px); }
  .pp-list { font-size: clamp(15px, 1.12vw, 22px); }
}
.contact-gradient {
  background: linear-gradient(90deg, #12B5E5 0%, #2A7BE8 35%, #7A4FE8 65%, #D23CEB 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: 0.06em;
}

.site-cursor {
  position: fixed; left: 0; top: 0; z-index: 200;
  width: 8px; height: 8px; margin: -4px 0 0 -4px;
  background: #EF4680; pointer-events: none;
  opacity: 0; transition: opacity 0.2s, width 0.25s, height 0.25s, margin 0.25s;
}
.has-cursor, .has-cursor * { cursor: none !important; }
.has-cursor .site-cursor.is-visible { opacity: 1; }
.site-cursor.is-hover { width: 20px; height: 20px; margin: -10px 0 0 -10px; opacity: 0.85 !important; }

/* Nothing may widen the page sideways: on phones that also stretches fixed layers like the video popup past the screen */
html { overflow-x: clip; }

/* Lenis smooth scroll */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* Hide every scrollbar; scrolling still works (Lenis, wheel, touch, keyboard) */
* { scrollbar-width: none; -ms-overflow-style: none; }
::-webkit-scrollbar { display: none; width: 0; height: 0; }

.is-loading, .is-loading body { overflow: hidden; }
.pl-half { background: #070606; will-change: transform; }
.pl-bg {
  background:
    radial-gradient(38% 45% at 30% 42%, rgba(68, 196, 217, 0.22), transparent 70%),
    radial-gradient(34% 42% at 70% 58%, rgba(239, 70, 128, 0.2), transparent 70%),
    radial-gradient(30% 36% at 50% 50%, rgba(255, 197, 22, 0.12), transparent 70%),
    #070606;
}
.pl-top { height: calc(50% + 1px); }
.pl-word { font-family: Poppins, sans-serif; font-weight: 700; font-size: clamp(3.5rem, 11vw, 160px); line-height: 1; letter-spacing: -0.03em; }
.pl-mask { display: inline-block; overflow: hidden; padding: 0.04em 0 0.08em; }
.pl-char { display: inline-block; will-change: transform; }
.pl-fill { background: linear-gradient(90deg, #FFC516, #44C4D9, #93C956, #EF4680); transform: scaleX(0); }
.pl-meta, .pl-tag {
  font-family: Inter, sans-serif; font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55);
}
.pl-tag { font-size: clamp(11px, 0.9vw, 13px); letter-spacing: 0.32em; color: rgba(255, 255, 255, 0.75); }
.pl-count {
  font-family: Sora, sans-serif; font-weight: 600; line-height: 1;
  font-size: clamp(3rem, 8vw, 120px); letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, 0.12);
}

.marquee {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; background: #EEEDE9; animation: marquee 35s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.partner-logo {
  mix-blend-mode: multiply;
  transform: scale(1.2);
  transition: transform 0.4s ease;
}
.partner-logo:hover { transform: scale(1.28); }

@media (prefers-reduced-motion: reduce) {
  .text-gradient, .marquee-track { animation: none; }
  .about-copy .w { color: #070606; }
  .select-box .ants rect { animation: none; }
}
