/* =================================================================
   MADRAS DIGITAL FORGE — design system
   Pure black / pure white / single brand red. Poppins throughout.
   ================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&display=swap');

:root{
  /* color */
  --black:      #000;
  --ink:        #0a0a0a;
  --ink-2:      #141414;
  --ink-3:      #1c1c1c;
  --line-d:     rgba(255,255,255,.10);
  --line-d-2:   rgba(255,255,255,.18);

  --white:      #fff;
  --paper:      #f7f5f2;
  --paper-2:    #ececec;
  --line-l:     #e5e5e5;
  --line-l-2:   #cfcfcf;

  --gray:       #6b6b6b;
  --gray-d:     #3a3a3a;

  --red:        #ef3340;
  --red-deep:   #d12030;
  --red-soft:   #ff5a64;

  /* type */
  --f: 'Poppins', system-ui, -apple-system, sans-serif;

  /* layout */
  --pad: clamp(20px, 5vw, 80px);
  --maxw: 1280px;
  --section-y: clamp(80px, 12vh, 140px);

  /* radius */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* motion */
  --ease: cubic-bezier(.7, 0, .2, 1);
  --ease-out: cubic-bezier(.2, 1, .3, 1);
}

/* ---------- base ---------- */
*{ box-sizing:border-box; }
html, body{ margin:0; padding:0; }
html{ scroll-behavior:smooth; background: var(--black); }
body{
  background: var(--black);
  color: var(--white);
  font-family: var(--f);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img{ display:block; max-width:100%; }
ul, ol{ margin:0; padding:0; list-style:none; }
button{ font:inherit; color:inherit; background:none; border:0; cursor:pointer; }
a{ color:inherit; text-decoration:none; }
input, select, textarea, button{ font-family: inherit; font-size: inherit; }
::selection{ background: var(--red); color: var(--white); }

/* ---------- container ---------- */
.wrap{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ---------- section theming ---------- */
.section{ padding: var(--section-y) 0; position: relative; }
.section--black{ background: var(--black); color: var(--white); --line:var(--line-d); --line-2:var(--line-d-2); --soft:rgba(255,255,255,.7); --mute:rgba(255,255,255,.5); --surf:var(--ink-2); --surf-2:var(--ink-3); }
.section--white{ background: var(--white); color: var(--ink); --line:var(--line-l); --line-2:var(--line-l-2); --soft:var(--gray-d); --mute:var(--gray); --surf:var(--paper); --surf-2:var(--paper-2); }
.section--red  { background: var(--red);  color: var(--white); --line:rgba(255,255,255,.25); --line-2:rgba(255,255,255,.4); --soft:rgba(255,255,255,.9); --mute:rgba(255,255,255,.75); }

/* ---------- type ---------- */
.h-display{
  font-family: var(--f);
  font-weight: 800;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
}
.h-display .red{ color: var(--red); }

.h-section{
  font-family: var(--f);
  font-weight: 700;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
.h-section .red{ color: var(--red); }

.h-card{
  font-family: var(--f);
  font-weight: 700;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0;
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
      max-width: fit-content;
  padding: 7px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 500;
  color: var(--soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.eyebrow--solid{
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.eyebrow__dot{
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
}
.eyebrow--solid .eyebrow__dot{ background: var(--white); }

.lede{
  font-size: clamp(15px, 1.1vw, 17px);
  color: var(--soft);
  max-width: 560px;
  margin: 0;
  text-wrap: pretty;
  line-height: 1.6;
}

/* ---------- buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  background: var(--red);
  color: var(--white);
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  border: 1px solid var(--red);
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease-out), box-shadow .25s;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover{
  background: var(--red-deep);
  border-color: var(--red-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -8px rgba(239,51,64,.55);
}
.btn--ghost{
  background: transparent;
  color: currentColor;
  border-color: var(--line-2);
}
.btn--ghost:hover{
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  box-shadow: none;
}
.btn--white{
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.btn--white:hover{
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  box-shadow: none;
}
.btn--lg{ padding: 18px 32px; font-size: 15px; }
.btn--sm{ padding: 10px 18px; font-size: 14px; }

/* =================================================================
   NAVIGATION
   ================================================================= */
.nav{
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line-d);
  transition: background .3s, color .3s, border-color .3s;
}
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #fff;
    backdrop-filter: blur(18px) saturate(140%);
    border-bottom: 1px solid rgb(203 203 203 / 60%);
    transition: background .3s, color .3s, border-color .3s;
}
.nav__inner{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 88px;
}
.nav__logo{
  display: inline-flex; align-items: center;
  position: relative;
}
.nav__logo img {
    height: 70px;
    width: auto;
    transition: opacity .3s, transform .35s var(--ease-out);
    object-fit: contain;
}
.nav__logo img[data-logo="black"]{ position:absolute; left:0; top:50%; transform: translateY(-50%); opacity: 0; }
.nav__logo img[data-logo="cream"]{ position:relative; top:0; transform: none; }
.nav.is-light .nav__logo img[data-logo="cream"]{ opacity: 0; }
.nav.is-light .nav__logo img[data-logo="black"] {
    opacity: 1;
    transform: translateY(-50%);
    
}
.nav__logo:hover img{ transform: scale(1.04); }
.nav.is-light .nav__logo:hover img[data-logo="black"]{ transform: translateY(-50%) scale(1.04); }

.nav__menu{
  display: flex;
  align-items: center;
  gap: 4px;
  height: 100%;
}
.nav__menu > li{ position: relative; height: 100%; display: flex; align-items: center; }
.nav__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    border-radius: var(--r-pill);
    transition: background .25s, color .25s;
    cursor: pointer;
}
.nav__link:hover{ color: var(--red); }
.nav__link.is-active{ color: var(--red); }
.nav__link .caret{
  transition: transform .3s;
}
.nav__menu > li.is-open .nav__link .caret{ transform: rotate(180deg); }
.nav__menu > li.is-open > .nav__link{ color: var(--red); }

/* dropdown */
.nav__drop {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 320px;
    background: var(--white);
    border: 1px solid var(--line-l);
    border-radius: var(--r-lg);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s, transform .3s var(--ease-out);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
}
.nav__menu > li.is-open .nav__drop{
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav.is-light .nav__drop{ background: var(--white); border-color: var(--line-l); }
.nav__drop a{
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  transition: background .2s, color .2s;
  color: var(--ink);
}
.nav.is-light .nav__drop a{ color: var(--ink); }
.nav__drop a:hover, .nav.is-light .nav__drop a:hover{ background: var(--red); color: var(--white); }
.nav__drop-num{
  font-size: 11px;
  color: var(--red);
  font-weight: 600;
  font-feature-settings: "tnum";
  min-width: 22px;
}
.nav__drop a:hover .nav__drop-num{ color: var(--white); }
.nav__drop-name{ font-weight: 500; font-size: 14px; flex: 1; }
.nav__drop-arrow{
  opacity: 0; transform: translateX(-6px);
  transition: opacity .2s, transform .25s;
}
.nav__drop a:hover .nav__drop-arrow{ opacity: 1; transform: translateX(0); }

.nav__right{
  display: flex; align-items: center; gap: 12px;
}
.nav__burger {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--ink);
    align-items: center;
    justify-content: center;
    color: var(--ink);
}
.nav__burger span{
  display: block; width: 18px; height: 1.6px; background: currentColor;
  position: relative;
}
.nav__burger span::before, .nav__burger span::after{
  content:""; position: absolute; left:0; width: 18px; height: 1.6px; background: currentColor;
}
.nav__burger span::before{ top: -6px; }
.nav__burger span::after{ top: 6px; }

@media (max-width: 1000px){
  .nav__menu{ display: none; }
  .nav__burger{ display: inline-flex; }
}

/* mobile menu */
.mobile-menu{
  position: fixed; inset: 0;
  background: var(--black);
  z-index: 99;
  padding: 120px var(--pad) 40px;
  transform: translateY(-100%);
  transition: transform .5s var(--ease);
  display: flex; flex-direction: column; gap: 0;
  overflow-y: auto;
}
.mobile-menu.is-open{ transform: translateY(0); }
.mobile-menu > a, .mm-toggle{
  display: flex; justify-content: space-between; align-items: center;
  width: 100%;
  padding: 22px 0;
  font-size: 26px; font-weight: 600;
  border-bottom: 1px solid var(--line-d);
  color: var(--white);
  background: none; border-left: 0; border-right: 0; border-top: 0;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}
.mobile-menu > a:hover, .mm-toggle:hover{ color: var(--red); }

.mm-group{ border-bottom: 1px solid var(--line-d); }
.mm-group .mm-toggle{ border-bottom: 0; }
.mm-toggle .caret{ transition: transform .3s; }
.mm-group.is-open .mm-toggle{ color: var(--red); }
.mm-group.is-open .mm-toggle .caret{ transform: rotate(180deg); }

.mm-sub{
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s var(--ease);
  display: flex; flex-direction: column;
}
.mm-group.is-open .mm-sub{ max-height: 540px; }
.mm-sub a{
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,.72);
  border-top: 1px solid rgba(255,255,255,.05);
}
.mm-sub a:hover{ color: var(--red); }
.mm-sub a .num{
  font-size: 12px;
  color: var(--red);
  font-weight: 600;
  margin-right: 14px;
}

/* =================================================================
   HERO  (Home)
   ================================================================= */
.hero{
  position: relative;
  min-height: 100vh; min-height: 100svh;
  padding: 140px var(--pad) 80px;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  background: var(--black);
  isolation: isolate;
}
.hero__sparks{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 3;
  pointer-events: none;
}
.hero__center{
  align-self: center;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 4;
}
.hero__eyebrow{
  margin-bottom: 28px;
}
.hero__title{
  font-family: var(--f);
  font-weight: 700;
  font-size: clamp(48px, 8vw, 90px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 0;
  color: var(--white);
}
.hero__title .line{ display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero__title .word{
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.05s var(--ease);
}
.hero__title .word.is-in{ transform: translateY(0); }
.hero__title em.red{ font-style: normal; color: var(--red); }
.hero__sub{
  font-size: clamp(15px, 1.2vw, 18px);
  color: rgba(255,255,255,.8);
  max-width: 820px;
  margin: 32px auto 0;
  text-wrap: pretty;
  line-height: 1.6;
  opacity: 0; transform: translateY(16px);
  transition: opacity .8s .5s, transform .8s .5s var(--ease-out);
}
.hero__sub.is-in{ opacity: 1; transform: translateY(0); }
.hero__sub b{
  font-weight: 600; color: var(--white);
}
.hero__tags{
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px;
  margin: 32px 0 0;
  opacity: 0;
  transition: opacity .8s .7s;
}
.hero__tags.is-in{ opacity: 1; }
.hero__tag{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--line-d-2);
  border-radius: var(--r-pill);
  font-size: 13px;
  color: rgba(255,255,255,.85);
}
.hero__tag .dot{
  width: 6px; height: 6px; border-radius: 50%; background: var(--red);
}
.hero__cta{
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-top: 36px;
  opacity: 0; transform: translateY(16px);
  transition: opacity .8s .85s, transform .8s .85s var(--ease-out);
}
.hero__cta.is-in{ opacity: 1; transform: translateY(0); }

.hero__foot {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--line-d);
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    margin-top: 30px;
}
.hero__stat{ display: flex; flex-direction: column; gap: 6px; }
.hero__stat-num{
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--white);
}
.hero__stat-num em{ color: var(--red); font-style: normal; }
.hero__stat-lbl{
  font-size: 12px;
  color: rgba(255,255,255,.6);
  letter-spacing: 0.04em;
  line-height: 1.4;
}
@media (max-width: 720px){
  .hero__foot{ grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* BKG VIDEO */
.video-container {
  
}
.video-container:before {
    content: "";
    background: linear-gradient(135deg, rgb(0 0 0 / 40%) 0%, rgb(0 0 0 / 40%) 0%);
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 2;
}
.video-container video {
    position: absolute;
    left: 0;
    width: 100%;
    height: auto;
    top: 0;
}

/* =================================================================
   SECTION HEAD (centered or aligned)
   ================================================================= */
.section__head{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  margin-bottom: 60px;
}
.section__head--left{
  align-items: flex-start;
  text-align: left;
}
.section__head .lede{ margin-top: 4px; }

/* =================================================================
   SERVICES GRID  (white)
   ================================================================= */
.svc-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 980px){ .svc-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px){ .svc-grid{ grid-template-columns: 1fr; } }

.svc-card{
  position: relative;
  background: var(--white);
  border: 1px solid var(--line-l);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex; flex-direction: column; gap: 18px;
  min-height: 280px;
  transition: transform .4s var(--ease-out), border-color .3s, box-shadow .3s;
}
.svc-card:hover{
  transform: translateY(-4px);
  border-color: var(--red);
  box-shadow: 0 20px 40px -16px rgba(239,51,64,.18);
}
.svc-card__icon{
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: var(--paper);
  border-radius: var(--r-md);
  color: var(--red);
  transition: background .3s, color .3s, transform .4s var(--ease-out);
}
.svc-card:hover .svc-card__icon{ background: var(--red); color: var(--white); transform: rotate(-6deg); }
.svc-card__title{
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
}
.svc-card__desc{
  margin: 0;
  color: var(--gray-d);
  font-size: 15px;
  line-height: 1.55;
}
.svc-card__tags{
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: auto;
  padding-top: 8px;
}
.svc-card__tags li{
  font-size: 11px;
  color: var(--gray-d);
  background: var(--paper);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-weight: 500;
}

/* "Not sure" CTA card */
.svc-cta{
  margin-top: 28px;
  background: var(--paper);
  border: 1px solid var(--line-l);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.svc-cta p{
  margin: 0;
  font-size: 18px;
  color: var(--ink);
  font-weight: 500;
  max-width: 620px;
}
.svc-cta p b{ color: var(--red); font-weight: 700; }

/* =================================================================
   WORK / CASES  (black)
   ================================================================= */
.cases{
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 900px){ .cases{ grid-template-columns: 1fr; } }

.case-card{
  background: var(--ink-2);
  border: 1px solid var(--line-d);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease-out), border-color .3s;
  position: relative;
}
.case-card:hover{ transform: translateY(-4px); border-color: var(--red); }
.case-card__media{
  position: relative;
  aspect-ratio: 16/10;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.06), transparent 60%),
    linear-gradient(135deg, var(--g1, #7a3a18), var(--g2, #1a0a05) 70%);
  overflow: hidden;
}
.case-card__media::after{
  content:"";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(35deg, rgba(255,255,255,.04) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(125deg, rgba(0,0,0,.18) 0 1px, transparent 1px 14px);
  mix-blend-mode: overlay;
  pointer-events: none;
}
.case-card__cap{
  position: absolute; left: 16px; bottom: 16px;
  font-size: 10.5px;
  color: rgba(255,255,255,.7);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(0,0,0,.5);
  padding: 5px 10px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-d-2);
}

.case-card__tag{
  position: absolute; top: 16px; left: 16px;
  background: var(--red);
  color: var(--white);
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.case-card__body{
  padding: 28px 28px 32px;
  display: flex; flex-direction: column;
  gap: 14px;
  flex: 1;
}
.case-card__client{
  font-size: 12px;
  color: var(--red);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.case-card__title{
  font-weight: 700;
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--white);
  text-wrap: balance;
}
.case-card__desc{
  font-size: 14.5px;
  color: rgba(255,255,255,.7);
  margin: 0;
  text-wrap: pretty;
  line-height: 1.55;
}
.case-card__foot{
  display: flex; justify-content: space-between; align-items: center;
  gap: 14px;
  padding-top: 16px;
  margin-top: auto;
  border-top: 1px solid var(--line-d);
}
.case-card__kpi{
  display: flex; align-items: baseline; gap: 8px;
}
.case-card__kpi strong{
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--white);
}
.case-card__kpi em{ color: var(--red); font-style: normal; }
.case-card__kpi span{
  font-size: 11px;
  color: rgba(255,255,255,.6);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.case-card__link{
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600;
  color: var(--white);
  transition: color .25s, gap .25s;
}
.case-card__link:hover{ color: var(--red); gap: 10px; }

/* case media gradients */
.media--warm  { --g1:#7a3a18; --g2:#1a0a05; }
.media--cool  { --g1:#1f3a55; --g2:#06101c; }
.media--mill  { --g1:#5a4a2c; --g2:#1c170c; }
.media--ver   { --g1:#1f4a3a; --g2:#0a1d16; }
.media--ana   { --g1:#3a2a5a; --g2:#100a1c; }
.media--ten   { --g1:#7a5a1f; --g2:#1c1306; }
.media--red   { --g1:#7a1f2a; --g2:#1c0608; }
.media--slate { --g1:#3a3a3a; --g2:#0a0a0a; }

/* =================================================================
   RED CTA BANNER
   ================================================================= */
.cta-banner{
  background: var(--red);
  color: var(--white);
  padding: clamp(60px, 8vw, 100px) var(--pad);
  text-align: center;
}
.cta-banner__inner{
  max-width: 800px;
  margin: 0 auto;
  display: flex; flex-direction: column;
  align-items: center;
  gap: 24px;
}
.cta-banner__title{
  font-weight: 700;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
.cta-banner__sub{
  font-size: 16px;
  color: rgba(255,255,255,.85);
  margin: 0;
  max-width: 540px;
  line-height: 1.55;
}
.cta-banner .btn--white{
  margin-top: 8px;
}

/* =================================================================
   PARTNERS / BUBBLE DIAGRAM  (white)
   ================================================================= */
.partners{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px){
  .partners{ grid-template-columns: 1fr; gap: 40px; }
}
.partners__copy h2 {
    margin-bottom: 24px;
    margin-top: 15px;
}
.partners__copy p{
  font-size: 16px;
  color: var(--gray-d);
  line-height: 1.65;
  margin: 0 0 18px;
  text-wrap: pretty;
}
.partners__copy .btn{ margin-top: 8px; }

.bubbles{
  position: relative;
  aspect-ratio: 1;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
  container-type: size;
  container-name: bubbles;
}
.bubbles__core {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 38%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--ink);
    color: var(--white);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: clamp(22px, 4cqw, 42px);
    letter-spacing: -0.02em;
    transform: translate(-50%, -50%);
    box-shadow: 0 20px 60px -20px rgba(239,51,64,.5);
    padding: 23px;
}
.bubbles__core::before{
  content:""; position: absolute; inset: -8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239,51,64,.25) 0%, transparent 60%);
  filter: blur(20px);
  z-index: -1;
}
.bubble {
    position: absolute;
    left: 50%;
    top: 50%;
    width: clamp(78px, 22cqw, 110px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--line-l);
    display: grid;
    place-items: center;
    padding: 12px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    transform-origin: 0 0;
    transform: translate(-50%, -50%)
    rotate(var(--a))
    translate(34cqw)
    rotate(calc(-1 * var(--a)));
    box-shadow: 0 8px 24px -8px rgba(0,0,0,.12);
    animation: bubbleFloat 6s ease-in-out infinite;
    animation-delay: var(--d, 0s);
}
.bubble:hover{
  border-color: var(--red);
  color: var(--red);
}
@keyframes bubbleFloat{
  0%, 100%{
    transform:
      translate(-50%, -50%)
      rotate(var(--a))
      translate(34cqw)
      rotate(calc(-1 * var(--a)));
  }
  50%{
    transform:
      translate(-50%, -50%)
      rotate(var(--a))
      translate(36cqw)
      rotate(calc(-1 * var(--a)));
  }
}
.bubbles__ring{
  position: absolute;
  inset: 16%;
  border: 1px dashed var(--line-l-2);
  border-radius: 50%;
  animation: ringSpin 80s linear infinite;
}
@keyframes ringSpin{ to{ transform: rotate(360deg); } }

/* =================================================================
   PHILOSOPHY  (black)
   ================================================================= */
.beliefs{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-d);
  border: 1px solid var(--line-d);
  border-radius: var(--r-xl);
  overflow: hidden;
}
@media (max-width: 900px){ .beliefs{ grid-template-columns: 1fr; } }

.belief{
  background: var(--black);
  padding: 40px 36px;
  display: flex; flex-direction: column;
  gap: 16px;
  transition: background .3s;
}
.belief:hover{ background: var(--ink-2); }
.belief__icon{
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: rgba(239,51,64,.12);
  border-radius: 50%;
  color: var(--red);
  margin-bottom: 4px;
  transition: background .3s, transform .4s var(--ease-out);
}
.belief:hover .belief__icon{ background: var(--red); color: var(--white); transform: rotate(-8deg); }
.belief h3{
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--white);
}
.belief p{
  margin: 0;
  font-size: 14.5px;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
}

/* =================================================================
   CONTACT FORM
   ================================================================= */
.contact{
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 900px){
  .contact{ grid-template-columns: 1fr; gap: 40px; }
}

.contact__info{ display: flex; flex-direction: column; gap: 32px; }
.contact__info h2{ margin-bottom: 8px; }
.contact__info > p{
  margin: 0;
  font-size: 16px;
  color: var(--soft);
  line-height: 1.6;
  text-wrap: pretty;
}
.contact__details{
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 8px;
}
.contact__details > div{
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.contact__details strong{
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.contact__details p, .contact__details a{
  font-size: 14.5px;
  color: var(--soft);
  margin: 0;
  line-height: 1.55;
}
.contact__details a:hover{ color: var(--red); }

.form{
  background: var(--surf);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 36px;
  display: flex; flex-direction: column;
  gap: 18px;
}
.form__row{
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
@media (max-width: 580px){ .form__row{ grid-template-columns: 1fr; } }
.field{ display: flex; flex-direction: column; gap: 7px; }
.field > label {
    font-size: 11px;
    font-weight: 600;
    color: #000000;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.field input, .field select, .field textarea{
  appearance: none;
  background: transparent;
  color: inherit;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  padding: 10px 0;
  font-size: 15px;
  outline: none;
  border-radius: 0;
  transition: border-color .25s;
}
.field input::placeholder, .field textarea::placeholder{ color: var(--mute); }
.field input:focus, .field select:focus, .field textarea:focus{ border-bottom-color: var(--red); }
.field select{ cursor: pointer; }
.field--full{ grid-column: 1 / -1; }
.field textarea{ resize: vertical; min-height: 110px; }

.chips{
  border: 0; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.chips legend {
    width: 100%;
    font-size: 11px;
    font-weight: 600;
    color: #000000;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
    padding: 0;
}
.chips label{ cursor: pointer; user-select: none; }
.chips input{ position: absolute; opacity: 0; pointer-events: none; }
.chips label span{
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  font-size: 13px;
  color: var(--soft);
  transition: background .2s, color .2s, border-color .2s;
}
.chips label:hover span{ border-color: var(--red); color: var(--red); }
.chips input:checked + span{ background: var(--red); border-color: var(--red); color: var(--white); }

.form__send{
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  margin-top: 8px;
}
.form__fine{
  margin: 0;
  font-size: 12px;
  color: var(--mute);
  max-width: 320px;
  line-height: 1.5;
}
.form__sent{
  display: none;
  padding: 16px 20px;
  background: rgba(239,51,64,.1);
  border: 1px solid var(--red);
  border-radius: var(--r-md);
  color: inherit;
  flex-direction: column; gap: 2px;
}
.form__sent[data-show="1"]{ display: flex; }
.form__sent strong{ color: var(--red); font-size: 15px; }
.form__sent span{ font-size: 13.5px; color: var(--soft); }

/* =================================================================
   FOOTER
   ================================================================= */
.foot {
    background: var(--black);
    color: var(--white);
    padding: clamp(60px, 8vw, 60px) 0 0;
    position: relative;
    overflow: hidden;
}
.foot__inner{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.foot__top{
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line-d);
}
@media (max-width: 900px){ .foot__top{ grid-template-columns: 1fr; gap: 40px; } }
.foot__brand{ max-width: 340px; }
.foot__brand img{ height: 76px; margin-bottom: 24px; }
.foot__brand p{
  margin: 0 0 24px;
  color: rgba(255,255,255,.7);
  font-size: 14.5px;
  line-height: 1.6;
}
.foot__socials{ display: flex; gap: 10px; }
.foot__socials a{
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-d-2);
  display: grid; place-items: center;
  transition: background .25s, border-color .25s, color .25s;
}
.foot__socials a:hover{ background: var(--red); border-color: var(--red); color: var(--white); }

.foot__cols>div {
	
}

.foot__cols{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 580px){ .foot__cols{ grid-template-columns: 1fr 1fr; } }
.foot__cols strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--red);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.foot__cols ul{ display: flex; flex-direction: column; gap: 10px; }
.foot__cols a {
    font-size: 14.5px;
    color: var(--line-l-2);
    transition: color .25s;
}
.foot__cols a:hover{ color: var(--white); }

.foot__mega{
  font-weight: 900;
  font-size: clamp(120px, 24vw, 360px);
  line-height: 0.85;
  letter-spacing: -0.06em;
  text-align: center;
  margin: 40px 0 -8px;
  user-select: none;
  background: linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(239,51,64,.4) 70%, rgba(0,0,0,0) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.foot__bottom{
  border-top: 1px solid var(--line-d);
  padding: 22px 0;
  display: flex; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  letter-spacing: 0.04em;
}
.foot__bottom #footClock{ color: var(--red); }

.foot__cols .contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
}

.foot__cols .contact span {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	color: var(--line-l-2);
}

.foot__cols .contact b {
	color: var(--yellow);
	font-weight: 600
}

/* =================================================================
   PAGE HEADER (for inner pages)
   ================================================================= */
.page-head{
  background: var(--black);
  color: var(--white);
  padding: 160px var(--pad) 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-head canvas{
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
}
.page-head__inner{
  position: relative; z-index: 1;
  max-width: 900px; margin: 0 auto;
  display: flex; flex-direction: column;
  align-items: center; gap: 22px;
}
.page-head h1{
  font-weight: 700;
  font-size: clamp(44px, 6.4vw, 84px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
}
.page-head h1 em{ font-style: normal; color: var(--red); }
.page-head p{
  margin: 0;
  font-size: clamp(15px, 1.2vw, 18px);
  color: rgba(255,255,255,.75);
  max-width: 580px;
  line-height: 1.6;
}
.crumbs{
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.crumbs a{ color: rgba(255,255,255,.8); }
.crumbs a:hover{ color: var(--red); }

/* =================================================================
   ABOUT PAGE specifics
   ================================================================= */
.split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px){ .split{ grid-template-columns: 1fr; gap: 36px; } }
.split__media{
  aspect-ratio: 5/5;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.08), transparent 60%),
    linear-gradient(135deg, #2a2a2a, #0a0a0a);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
}
.split__media::after{
  content:"";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(35deg, rgba(255,255,255,.05) 0 1px, transparent 1px 18px);
  mix-blend-mode: overlay;
}
.split__media span{
  position: absolute; left: 16px; bottom: 16px;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  background: rgba(0,0,0,.5);
  padding: 5px 10px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-d-2);
  z-index: 2;
}
.split__body h2{ margin-bottom: 20px; }
.split__body p{
  font-size: 16px;
  color: var(--soft);
  margin: 0 0 16px;
  line-height: 1.65;
  text-wrap: pretty;
}

/* stat row */
.stat-row{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
@media (max-width: 720px){ .stat-row{ grid-template-columns: 1fr 1fr; } }
.stat-row > div{ display: flex; flex-direction: column; gap: 6px; }
.stat-row strong{
  font-weight: 700;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1; letter-spacing: -0.025em;
}
.stat-row strong em{ color: var(--red); font-style: normal; }
.stat-row span{
  font-size: 12px;
  color: var(--mute);
  letter-spacing: 0.04em;
  line-height: 1.5;
}

/* team grid */
.team{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 900px){ .team{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px){ .team{ grid-template-columns: 1fr; } }
.team-card{
  background: var(--surf);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .3s, transform .3s var(--ease-out);
}
.team-card:hover{ border-color: var(--red); transform: translateY(-3px); }
.team-card__media{
  aspect-ratio: 1;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.1), transparent 60%),
    linear-gradient(135deg, #2a2a2a, #0f0f0f);
  position: relative;
  overflow: hidden;
}
.team-card__media::after{
  content:"";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 1px, transparent 1px 14px);
  mix-blend-mode: overlay;
}
.team-card__body{ padding: 18px 20px 22px; }
.team-card__body strong{
  display: block;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.team-card__body span{
  display: block;
  font-size: 13px;
  color: var(--mute);
  margin-top: 2px;
}

/* services page list */
.svc-detail{
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
@media (max-width: 900px){
  .svc-detail{ grid-template-columns: 1fr; gap: 16px; }
}
.svc-detail:first-of-type{ border-top: 1px solid var(--line); }
.svc-detail__num{
  font-weight: 700;
  font-size: 14px;
  color: var(--red);
  letter-spacing: 0.05em;
}
.svc-detail__main h3{
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.svc-detail__main p{
  margin: 0 0 16px;
  font-size: 16px;
  color: var(--soft);
  line-height: 1.6;
  max-width: 560px;
}
.svc-detail__main ul{
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 12px;
}
.svc-detail__main ul li{
  padding: 4px 12px;
  background: var(--surf);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 12px;
  color: var(--soft);
  font-weight: 500;
}
.svc-detail__deliv{
  display: flex; flex-direction: column;
  gap: 10px;
}
.svc-detail__deliv strong{
  display: block;
  font-size: 11px;
  color: var(--mute);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
  font-weight: 600;
}
.svc-detail__deliv li{
  font-size: 14px;
  padding: 6px 0;
  color: var(--soft);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 8px;
}
.svc-detail__deliv li::before{
  content:"✓";
  color: var(--red);
  font-weight: 700;
}

/* reveals */
[data-reveal]{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
[data-reveal].is-in{ opacity: 1; transform: translateY(0); }
[data-reveal][data-delay="1"]{ transition-delay: .1s; }
[data-reveal][data-delay="2"]{ transition-delay: .2s; }
[data-reveal][data-delay="3"]{ transition-delay: .3s; }
[data-reveal][data-delay="4"]{ transition-delay: .4s; }
[data-reveal][data-delay="5"]{ transition-delay: .5s; }

/* helper: prevent FOUC of nav before JS loads */
.no-js .nav__drop{ display: none; }

/* =================================================================
   SERVICE DETAIL PAGES — hero, approach, platforms, partner
   ================================================================= */

/* ----- HERO (white, split layout) ----- */
.service-hero{
  background: var(--white);
  color: var(--ink);
  padding: 160px var(--pad) clamp(60px, 8vw, 100px);
}
.service-hero__inner{
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 900px){
  .service-hero__inner{ grid-template-columns: 1fr; gap: 32px; }
  .service-hero{ padding-top: 130px; }
}
.service-hero__media{
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 30% 30%, rgba(239,51,64,.05), transparent 60%),
    linear-gradient(135deg, #fafafa, #ececec);
  border: 1px solid var(--line-l);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  display: grid; place-items: center;
}
.service-hero__media::before{
  content:"";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.04) 1px, transparent 1px);
  background-size: 30px 30px;
}
.service-hero__media svg{ position: relative; z-index: 1; width: 70%; height: 70%; }

.service-hero__body{ display: flex; flex-direction: column; gap: 18px; }
.service-hero__body .crumbs{ color: var(--gray); }
.service-hero__body .crumbs a{ color: var(--ink); }
.service-hero__body .crumbs a:hover{ color: var(--red); }
.service-hero__body h1{
  font-weight: 800;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
}
.service-hero__body h1 em{ font-style: normal; color: var(--red); }
.service-hero__body .lede{
  color: var(--ink);
  font-weight: 500;
  font-size: clamp(17px, 1.4vw, 21px);
  max-width: 540px;
  margin: 8px 0 0;
}
.service-hero__body > p{
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--gray-d);
  max-width: 540px;
  text-wrap: pretty;
}
.service-hero__body .btn{ align-self: flex-start; margin-top: 14px; }

/* ----- APPROACH (dark grid) ----- */
.approach{
  background: var(--black);
  color: var(--white);
  --line: var(--line-d); --line-2: var(--line-d-2);
  --soft: rgba(255,255,255,.7); --mute: rgba(255,255,255,.5);
  --surf: var(--ink-2); --surf-2: var(--ink-3);
  position: relative;
  overflow: hidden;
}
.approach::before{
  content:"";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 70% at center, #000, transparent 85%);
}
.approach__head{
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}
.approach__head h2{ margin-bottom: 20px; }
.approach__head p{
  font-size: 16px;
  color: rgba(255,255,255,.65);
  line-height: 1.65;
  max-width: 640px;
  margin: 0 auto;
}
.approach__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 980px){ .approach__grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px){ .approach__grid{ grid-template-columns: 1fr; } }

.approach-card{
  background: var(--ink-2);
  border: 1px solid var(--line-d);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  gap: 14px;
  transition: border-color .3s, transform .35s var(--ease-out), background .3s;
}
.approach-card:hover{
  border-color: var(--red);
  transform: translateY(-4px);
  background: var(--ink-3);
}
.approach-card__icon{
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: rgba(239,51,64,.12);
  border-radius: var(--r-md);
  color: var(--red);
  transition: background .3s, color .3s, transform .4s var(--ease-out);
}
.approach-card:hover .approach-card__icon{ background: var(--red); color: var(--white); transform: rotate(-8deg); }
.approach-card h3{
  font-weight: 700;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 4px 0 0;
  color: var(--white);
}
.approach-card p{
  margin: 0;
  font-size: 14px;
  color: rgba(255,255,255,.7);
  line-height: 1.55;
}
.approach-card ul{
  margin-top: auto;
  display: flex; flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line-d);
}
.approach-card ul li{
  font-size: 13.5px;
  color: rgba(255,255,255,.75);
  position: relative;
  padding-left: 16px;
  line-height: 1.5;
}
.approach-card ul li::before{
  content:"";
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
}

/* ----- PLATFORMS (white row) ----- */
.platforms__head{
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}
.platforms__head h2{ margin-bottom: 16px; }
.platforms__head p{
  font-size: 16px;
  color: var(--gray-d);
  line-height: 1.65;
  margin: 0;
}
.platforms__row{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
@media (max-width: 980px){ .platforms__row{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px){ .platforms__row{ grid-template-columns: 1fr 1fr; } }

.platform-card{
  background: var(--white);
  border: 1px solid var(--line-l);
  border-radius: var(--r-md);
  height: 88px;
  display: grid; place-items: center;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: border-color .25s, background .25s, color .25s, transform .25s var(--ease-out);
  text-align: center;
  padding: 12px;
}
.platform-card:hover{
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}

/* ----- PARTNER CARD ----- */
.partner-wrap{
  background: var(--white);
  color: var(--ink);
  padding: clamp(40px, 6vw, 80px) var(--pad);
  padding-top:0px;
}
.partner-card{
  max-width: 920px;
  margin: 0 auto;
  background: var(--black);
  color: var(--white);
  border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.partner-card::before{
  content:"";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(ellipse 40% 60% at 80% 100%, rgba(239,51,64,.25), transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 0%, rgba(239,51,64,.18), transparent 60%);
  pointer-events: none;
}
.partner-card > *{ position: relative; z-index: 1; }
.partner-card h2{
  font-weight: 800;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  text-wrap: balance;
}
.partner-card h2 .red{ color: var(--red); }
.partner-card p{
  font-size: 16px;
  color: rgba(255,255,255,.75);
  line-height: 1.65;
  margin: 0 auto 28px;
  max-width: 620px;
  text-wrap: pretty;
}
.partner-card .btn{ display: inline-flex; }
