/* ===========================
   HOME.CSS — HERO + EXTRA SECTIONS 
   =========================== */

/* ========== VARIABILI HERO ========== */
:root{
  --v-left: 12%;
  --v-right: 86%;
  --h-mid: 50%;
  --frame-height: clamp(220px, 26vw, 360px);
  --frame-top:    calc(var(--h-mid) - var(--frame-height) / 2);
  --frame-bottom: calc(var(--h-mid) + var(--frame-height) / 2);
  --line: rgba(255,255,255,.35);
  --gc-cta: #C4F222;
  --gc-cta-ink: #0B0B0E;
  --gc-cta-shadow: color-mix(in oklab, var(--gc-cta), transparent 72%);
}

/* ========== HERO (solo linee) ========== */
.hero-box{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-guard{
  height: max(var(--frame-height), 40vh);
  visibility: hidden;
  pointer-events: none;
}

/* Linee orizzontali full width (top/bottom) */
.h-full{
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: var(--line);
  transform: scaleX(0);
  transform-origin: center;
  animation: growX 650ms ease-out 150ms forwards;
  z-index: 1;
}
.h-full.top    { top: var(--frame-top); }
.h-full.bottom { top: var(--frame-bottom); }

/* Linee verticali */
.v-line{
  position: absolute;
  width: 1px;
  background: var(--line);
  transform: scaleY(0);
  z-index: 1;
}
.v-line.v-left-up{
  left: var(--v-left);
  height: 100%;
  top: 0;
  transform-origin: top;
  animation: growY 650ms ease-out 300ms forwards;
}
.v-line.v-right-down{
  left: var(--v-right);
  top: 0;
    height: 100%;
  transform-origin: top;
  animation: growY 650ms ease-out 300ms forwards;
}

/* Testo vincolato dentro l'area delimitata dalle linee */
.hero-text{
  position: absolute;
  left:   var(--v-left);
  right:  calc(100% - var(--v-right));
  top:    var(--frame-top);
  bottom: calc(100% - var(--frame-bottom));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: clamp(8px, 1.6vw, 24px);
  text-align: center;
  color: #fff;
  box-sizing: border-box;
  overflow: hidden;
  z-index: 2;
  opacity: 0;
  filter: blur(6px);
  animation: textIn 520ms ease 980ms forwards;
}
.hero-text h1{
  margin: 0 0 14px;
  font-weight: 500;
  font-size: 60px;
  line-height: 1.06;
  color: white;
}
.site-careers .hero-text h1 {
    font-size: 55px;
    line-height: 1.02;
  }

/* ========== Video full-section ========== */
.hero-video-wrap{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
  pointer-events: none;
}
.hero-video-wrap, .hero-wrap { height: 776px; }
.hero-video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0;
  transition: opacity .5s ease;
}
.hero-video.is-on{ opacity: 1; }

/* ========== Alternativa GIF/WebP centrata ========== */
.hero-anim{
  position: absolute;
  left:   var(--v-left);
  right:  calc(100% - var(--v-right));
  top:    var(--frame-top);
  bottom: calc(100% - var(--frame-bottom));
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}
.hero-anim img, .hero-anim source{
  max-width: clamp(280px, 70%, 900px);
  width: 100%;
  height: auto;
  display: block;
}

/* ========== Animazioni base ========== */
@keyframes growX { to { transform: scaleX(1); } }
@keyframes growY { to { transform: scaleY(1); } }
@keyframes textIn { to { opacity: 1; filter: blur(0); } }

/* ========== Accessibilità / Responsive ========== */
@media (max-width: 900px){
  .hero-box { min-height: 56vh; }
}
@media (prefers-reduced-motion: reduce){
  .h-full, .v-line, .hero-text{
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }
  .hero-video{ display: none; }
}

/* ========== Band Blue Override (solo per home page) ========== */
.home-page .band--blue{ 
  background: transparent; 
  padding: 0 !important;
}
.band--blue .discover {
  justify-content: flex-start;
}
.band--blue .discover .text {
  color: #A7F216;
}

/* ========== SEZIONI TRANSACTIONS/LOGHI ========== */
.section-transactions .small-title {
  font: 500 14px/21px 'Montserrat', Arial, sans-serif;
  text-transform: uppercase;
  color: #003EFF;
  text-align: center;
  margin-bottom: 24px;
}

.section-transactions h2 {
  font: 500 40px/44px "Space Grotesk", Arial, sans-serif;
  color: #000;
  text-align: center;
  margin-bottom: 24px;
}

.section-transactions .lead {
  font: 400 20px/26px 'Montserrat', Arial, sans-serif;
  color: rgba(0,0,0,0.80);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 80px;
}
.section-transactions .btn-discover {
  display: flex;
  justify-content: center;
      margin-top: 80px;
    margin-bottom: 81.5px;
}
/* Fascia loghi */
.logos-strip {
  background: #F2F2F2;
  padding: 26px 0;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  margin-top: 24px;
}

.logos-swiper {
  width: 100%;
  padding: 24px 0;
  background: #F2F2F2;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  margin-top: 24px;
}

.logos-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 90px;
}

.logo-img {
  max-height: 90px;
  width: auto;
  display: inline-block;
  object-fit: contain;
}

/* Discover more */
.discover {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 26px 0 6px;
  text-decoration: none;
}

.discover .dot {
  width: 20px;
  height: 20px;
  border-radius: 3px;
  background: #A7F216;
  display: flex;
  align-items: center;
  justify-content: center;
}

.discover .dot svg {
  width: 9px;
  height: 8px;
}

.discover .text {
  font: 500 14px/21px 'Montserrat', Arial, sans-serif;
  color: #000;
}

/* ========== STICKY STEPS ========== */
.sticky-steps{ 
  position: relative;
  --rail: rgba(255,255,255,.22);
  --fill: #A7F216;
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);
  --border: rgba(255,255,255,.28);
  --divider: rgba(255,255,255,.28);
  --icon-size: 36px;
  --icon-gap: 12px;
  --rail-gap: clamp(20px, 2.2vw, 32px);
  padding: clamp(40px,8vw,96px) 0;
}

/* Linea fissa divider */
.sticky-steps::before{
  content:"";
  position:absolute;
  top:0; bottom:0;
  left: var(--divider-x, 0px);
  width:1px;
  background: var(--divider);
  z-index: 1;
}

/* Sinistra sticky con bordo */
.ss-left{
  position: sticky; 
  top: 96px;
  padding: clamp(20px,2.2vw,28px);
  color: #fff;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.30);
  border-bottom: 1px solid rgba(255, 255, 255, 0.30);
  margin-left: -38px;
}

.ss-left .eyebrow{ 
  font:600 12px/1.1 'Montserrat', system-ui; 
  opacity:.8; 
  letter-spacing:.08em; 
  margin:0 0 10px; 
  text-transform:uppercase; 
  color: #A7F216;
}

.ss-left .title{ 
  font:800 clamp(28px,3.6vw,40px)/1.1 "Space Grotesk", system-ui; 
  margin:0 0 12px; 
  color: white;
}

.ss-left .lead{ 
  color: var(--text); 
  margin:0 0 18px; 
}

.ss-left .discover-link{ 
  display:inline-flex; 
  align-items:center; 
  gap:8px; 
  color:#c6ff1a; 
  text-decoration:none; 
  font:600 14px/1.2 'Montserrat', system-ui; 
}

.ss-left .discover-link .dot{ 
  width:10px; 
  height:10px; 
  border-radius:2px; 
  background:#A7F216; 
}

/* Destra - contenuto */
.ss-right{ 
  position: relative; 
}

/* Progress rail */
.progress-rail{
  position:absolute;
  left: calc(var(--rail-gap) + var(--icon-size) + var(--icon-gap));
  top: var(--rail-top, 0px);
  height: var(--rail-height, 100px);
  width: 1px;
  pointer-events:none;
  z-index: 2;
}

.progress-rail .rail{
  position:absolute; 
  left:0; top:0; bottom:0; 
  width:1px; 
  background: var(--rail);
}

.progress-rail .fill{
  position:absolute; 
  left:2px; top:0; 
  width:3px; height:100%;
  background: var(--fill);
  border-radius: 2px;
  transform-origin: top;
  transform: scaleY(0);
  transition: transform .25s ease, background-color .25s ease;
  z-index: 2;
}

/* Lista metriche */
.metrics{ 
  list-style:none; 
  margin: 0; 
  padding-left: var(--rail-gap); 
  position:relative; 
}

.metric{
  display:grid; 
  grid-template-columns: var(--icon-size) 1fr; 
  gap: var(--icon-gap);
  padding: clamp(18px,2.2vw,26px) 0;
  padding-top: 75px;
  padding-bottom: 63px;
}

.metric:last-child{ 
  border-bottom: none; 
}

/* Badge tondo con bordo */
.metric-badge{
  grid-row: 1 / span 2;
  width: var(--icon-size); 
  height: var(--icon-size);
  border-radius: 50%;
  display:grid; 
  place-items:center;
  background: rgba(255,255,255,.1);
  border: 2px solid var(--border);
  color:#fff; 
  font:700 14px/1 "Space Grotesk", system-ui;
}

/* Testo KPI */
.metric-body{ 
  color:#fff; 
  padding-left: 16px; 
}

.metric-kpi{ 
  font:800 clamp(26px,3.6vw,38px)/1 "Space Grotesk", system-ui; 
}

.metric-kpi .unit{ 
  font-weight:700; 
  opacity:.9; 
}

.metric-title{ 
  font:700 14px/1.2 'Montserrat', system-ui; 
  color: var(--text); 
  margin-top:4px; 
  margin-bottom:6px; 
  opacity:.9; 
}

.metric-text{ 
  color: var(--muted); 
  margin:0; 
  max-width: 56ch; 
}

/* Evidenziazione step attivo */
.metric.is-active .metric-badge{ 
  border-color: var(--fill); 
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--fill), transparent 70%); 
}

.metric.is-active .metric-kpi{ 
  color: var(--fill); 
}

/* Mobile responsive */
@media (max-width: 992px){
  .ss-left{ 
    position: static; 
    top:auto; 
    margin-bottom: 18px; 
    margin-left: 0;
  }
  
  .sticky-steps::before{ 
    display:none; 
  }
  
  .metrics{ 
    padding-left: 0; 
  }
  
  .metric{ 
    grid-template-columns: 40px 1fr; 
  }
  
  .metric-body{ 
    padding-left: 0; 
  }
  
  .progress-rail{
    position: sticky; 
    top: 72px; 
    left:0; right:0; 
    width:100%; 
    height:36px;
  }
  
  .progress-rail .rail{
    left:0; right:0; 
    top:auto; bottom:8px; 
    height:1px; 
    width:auto;
  }
  
  .progress-rail .fill{
    left:auto; right:0; 
    bottom:8px; 
    width:100%; height:3px;
    transform-origin: right;
    transform: scaleX(0);
  }
}

/* --- responsive overrides added by agent: home view --- */
@media (max-width: 768px) {
  .hero-title { font-size: 24px; }
  .grid-2col { grid-template-columns: 1fr !important; }
  .article-list .item { margin-bottom: 18px; }
}
@media (min-width: 350px) and (max-width: 550px) {
  .hero-title { font-size: 20px; }
  .btn, .cta { width: 100%; }
}

/* ========== PROMO (A-Road) ========== */
.promo-card{
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  padding: 20px;
}

.promo-logo{
      width: 121px;
    height: 49px;
    aspect-ratio: 121 / 49;
    display: flex;
    margin: 0 auto 24px auto;
    align-items: center;
    justify-content: center;
}

.promo-title{
  font: 500 40px / 44px "Space Grotesk", system-ui, sans-serif;
  color: #000;
  margin: 0 0 24px;
}

.promo-lead{
  font: 400 20px / 26px 'Montserrat', system-ui, sans-serif;
  color: rgba(0, 0, 0, 0.80);
  max-width: 630px;
  margin: 0 auto 24px auto;
}

.promo-cta{
  --btn-b: rgba(0,0,0,.18);
  --btn-bg: #fff;
  --btn-tx: #111;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--btn-b);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-tx);
  font: 600 14px/1.2 'Montserrat', system-ui, sans-serif;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .2s ease, border-color .2s ease;
}
.hc-cta--aroad{
  border: 1px solid rgba(0,0,0,0.3);
  color: rgba(0,0,0,1); /* applies to SVGs using currentColor */
}
.hc-cta--aroad .hc-cta__label{
  color: rgba(0,0,0,1);
}

/* Logos marquee (loghi-v2.php) */
.logos-marquee .marquee-viewport{ overflow: hidden; width:100%; }
.logos-marquee .marquee-track{ display:flex; gap:80px; align-items:center; width:max-content; will-change:transform; animation:gc-marquee 24s linear infinite; }
.logos-marquee .marquee-item{ flex: 0 0 auto; display:flex; align-items:center; justify-content:center; height:90px; }
.logos-marquee .logo-img{ max-height:90px; width:auto; display:inline-block; object-fit:contain; }
@keyframes gc-marquee{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .logos-marquee .marquee-track{ animation: none; } }

/* Per-logo pause is handled by JS to target individual items (not the whole region) */
.promo-cta:hover{
  border-color: rgba(0,0,0,.28);
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  transform: translateY(-1px);
}
.promo-cta:focus-visible{
  outline: 2px solid #003EFF;
  outline-offset: 2px;
}

.section-promo .container{ position: relative; z-index: 1; }

/* ========== NEWS ========== */
.news-section{ background:#F3F4F6; padding:0; }
.news-eyebrow{
  font: 500 14px / 32px 'Montserrat', system-ui;
  color: #003EFF;
  text-transform: uppercase;
  text-align: center;
  margin: 32px auto 24px auto;
}
.news-title{
  font: 500 40px / 44px "Space Grotesk", system-ui;
    text-align: center;
    color: #000;
    margin: 0 auto 92px auto;
  max-width: 510px;
  width: 100%;
}

/* News Swiper */
.news-swiper{
  overflow:hidden;
  cursor: grab; 
  touch-action: pan-y;
}
.news-swiper:active{ cursor: grabbing; }
.news-swiper .swiper-wrapper{ align-items:stretch; }
.news-swiper .swiper-slide{     height: 548px;
    margin-left: 12px; }
.news-swiper .swiper-slide > *{ height:100%; }

/* Larghezze slide responsive */
@media (min-width:1200px){
  .news-swiper .swiper-slide  { width:360px; }
  .news-swiper .feature-slide { width:520px; }
}
@media (min-width:992px) and (max-width:1199.98px){
  .news-swiper .swiper-slide  { width:340px; }
  .news-swiper .feature-slide { width:480px; }
}
@media (min-width:768px) and (max-width:991.98px){
  .news-swiper .swiper-slide  { width:320px; }
  .news-swiper .feature-slide { width:440px; }
}
@media (max-width:767.98px){
  .news-swiper .swiper-slide  { width:78vw; }
  .news-swiper .feature-slide { width:88vw; }
}

/* News Card base */
.news-card{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0px;
  background: #fff;
  color: #0B0B0E;
  border-radius: 8px;
  text-decoration: none;
  align-items: flex-start;
  justify-content: flex-end;
}

/* Feature card */
.news-card.feature{
  padding: 24px;
    color: #fff;
    border-color: rgba(255, 255, 255, .16);
  max-width: 519px;
  width: 100%;
    height: 548px;
    background: radial-gradient(102.9% 116.79% at 119.36% 10.13%, var(--CG-colors-Blue-Blue-7, #00269D) 0%, var(--CG-colors-Blue-Blue-9, #000E3B) 100%);
    position: relative;
    justify-content: unset;
} 
  /* Hover behaviour for featured news card: lighten background and activate CTA hover */
  .news-card.feature {
    transition: filter .18s ease, box-shadow .18s ease;
  }
  .news-card.feature:hover,
  .news-card.feature:focus-within {
    /* subtle lightening and elevation */
    filter: brightness(1.04);
  }

  .news-card.feature .hc-cta {
    /* ensure smooth transition when parent hover triggers CTA visual change */
    transition: color .18s ease, border-color .18s ease;
  }
  .news-card.feature .hc-cta__label {
    transition: transform .18s ease;
  }
  .news-card.feature:hover .hc-cta,
  .news-card.feature:focus-within .hc-cta {
    /* emulate typical hc-cta hover state: darker text and slightly stronger border */
    color: rgba(0,0,0,1);
    border-color: rgba(0,0,0,0.18);
  }
  .news-card.feature:hover .hc-cta svg,
  .news-card.feature:focus-within .hc-cta svg {
    /* ensure SVG uses currentColor where possible */
    stroke: currentColor;
  }

  /* Higher-specificity rules to ensure hover state applies on the home news featured card */
  .news-section .news-swiper .feature-slide .news-card.feature,
  .news-section .news-swiper .feature-slide .news-card.feature .card-actions {
    transition: filter .18s ease, box-shadow .18s ease, color .18s ease, border-color .18s ease;
  }
  .news-section .news-swiper .feature-slide .news-card.feature:hover,
  .news-section .news-swiper .feature-slide .news-card.feature:focus-within {
    filter: brightness(1.04);
  }
  .news-section .news-swiper .feature-slide .news-card.feature:hover .hc-cta,
  .news-section .news-swiper .feature-slide .news-card.feature:focus-within .hc-cta {
    background: var(--CG-colors-Lime-Lime-5, #C4F222);
    color: var(--gc-cta-ink);
  }
  .news-section .news-swiper .feature-slide .news-card.feature:hover .hc-cta__label,
  .news-section .news-swiper .feature-slide .news-card.feature:focus-within .hc-cta__label {
    padding-right: 16px;
    transition: padding-right .90s cubic-bezier(.2,.8,.2,1);
  }
  .news-section .news-swiper .feature-slide .news-card.feature:hover .hc-cta:hover, .news-section .news-swiper .feature-slide .news-card.feature:focus-within .hc-cta:hover {
    display: inline-flex;
    padding: 8px 16px;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    background: var(--CG-colors-Lime-Lime-5, #C4F222);
    color: var(--gc-cta-ink);
    transition: background .90s cubic-bezier(.2,.8,.2,1), color .54s ease;
  }
  .news-card.feature:hover{
background: radial-gradient(169.79% 180.76% at 106.55% 2.46%, var(--CG-colors-Blue-Blue-7, #00269D) 0%, var(--CG-colors-Blue-Blue-9, #000E3B) 100%);
  }
.news-card.feature .tag{
  display: flex;
  padding: 4px 8px;
  justify-content: center;
  align-items: center;
  gap: 10px;
    border-radius: 4px;
    border: 1px solid var(--CG-colors-Highlights-White-30, rgba(255, 255, 255, 0.30));
    color: var(--CG-colors-Grey-White, #FFF);
    font-family: var(--Typography-font-family-caption, Montserrat);
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 18px;
    margin-bottom: 24px;
}
.news-card.feature .headline{
      color: var(--CG-colors-Grey-White, #FFF);
    font-family: var(--Typography-font-family-title, "Space Grotesk");
    font-size: 40px;
    font-style: normal;
    font-weight: 500;
    line-height: 44px;
    align-self: stretch;
}
.news-card .card-actions{ 
  margin-top: auto;
    position: absolute;
    bottom: 24px;
    right: 24px;
 }

.btn-read{
  display:inline-flex; align-items:center; gap:8px;
  font:600 12px/1.2 'Montserrat',system-ui; color:#fff; text-decoration:none;
  padding:10px 12px; border-radius:10px;
  background:rgba(255,255,255,.10); border:1px solid rgba(255,255,255,.16);
  transition: background .18s ease, border-color .18s ease, transform .12s ease;
}
.btn-read:hover{ 
  background:rgba(255,255,255,.14); 
  border-color:rgba(255,255,255,.26); 
  transform: translateY(-1px); 
}

/* Card standard */
.news-card .excerpt{     color: var(--CG-colors-Shadows-Black-80, rgba(0, 0, 0, 0.80));
    font-family: var(--Typography-font-family-body, Montserrat);
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px;
    padding: 24px;
  }
.news-card .media{
  overflow: hidden; /* keep scaled image visually clipped to the same box */
  border-radius: 8px; /* match image corners */
  display: block;
}

.news-card .media img{
  object-fit: cover;
  display: block;
  max-width: 410px;
  width: 100%;
  height: 274px;
  border-radius: 0; /* container provides the radius */
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
  transform-origin: center center; /* keep zoom centered and in-place */
}

/* Zoom the image on card hover/focus without changing layout or position */
.news-card:hover .media img,
.news-card:focus-within .media img{
  transform: scale(1.06);
}

/* Ensure the same behaviour for the featured slide with higher specificity */
.news-section .news-swiper .feature-slide .news-card:hover .media img,
.news-section .news-swiper .feature-slide .news-card:focus-within .media img{
  transform: scale(1.06);
}
.feature-slide{
  margin-left: 24px !important;
}
/* Icona open */
.news-card .open-ico svg{
  
    width: 20px;
    height: 20px;
    aspect-ratio: 1 / 1;
    stroke-width: 1.5px;
    stroke: var(--CG-colors-Grey-Black, #000);

}

/* ========== CTA HERO ========== */
.ctc-hero{
  background: radial-gradient(133.3% 102.95% at 50.69% 2.24%, var(--CG-colors-Blue-Blue-7, #00269D) 0%, var(--CG-colors-Blue-Blue-9, #000E3B) 100%);
  color:#fff;
  overflow: hidden;
}
.ctc-hero .container-frame{
  padding: 0;
}
.ctc-wrap{
  height: 420px;
  display:flex; flex-direction:column;
  align-items:center; justify-content:center;
  text-align:center; gap: 24px;
  max-width: 1025px;
    width: 100%;
    margin: 0 auto;
    
}
.ctc-title{
      text-align: center;
    font-family: var(--Typography-font-family-title, "Space Grotesk");
    font-size: 60px;
    font-style: normal;
    font-weight: 500;
    line-height: 60px;
    margin-bottom: 0;
}
.ctc-title .hl{ color:#C4F222 !important; }

.btn-cta{
  display:inline-flex; align-items:center; gap:8px;
  font:600 14px/1.2 Montserrat, system-ui;
  color:#fff; text-decoration:none;
  padding:12px 16px; border-radius:12px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 10px 30px rgba(0,0,0,.18) inset, 0 8px 24px rgba(0,0,0,.12);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.btn-cta:hover{ 
  transform: translateY(-2px); 
  background: rgba(255,255,255,.16); 
  border-color: rgba(255,255,255,.26); 
}

/* ========== REVEAL ON SCROLL ========== */
.reveal{
  --d: 0ms;
  --dur: 600ms;
  opacity: 0;
  transition: transform var(--dur) cubic-bezier(.2,.8,.2,1) var(--d),
              opacity   var(--dur) ease var(--d),
              filter    var(--dur) ease var(--d);
  filter: blur(4px);
}
.reveal.fade-up    { transform: translateY(22px); }
.reveal.slide-right{ transform: translateX(28px); }

.reveal.is-inview{
  opacity: 1; 
  transform: none; 
  filter: blur(0); 
  color: white;
}

/* ========== LINK ANIMATIONS ========== */
.ft-links a,
.discover-link .label{
  transition: transform .15s ease, color .15s ease;
  will-change: transform;
}
.ft-links a:hover,
.ft-links a:focus-visible,
.discover-link:hover .label,
.discover-link:focus-visible .label{
  transform: translateX(5px);
  color: var(--CG-colors-Lime-Lime-5, #C4F222);

}

/* ========== DISCOVER LINK STYLING ========== */
.discover-link{
  display:inline-flex; 
  align-items:center; 
  gap:8px;
  text-decoration:none; 
  color:inherit;
}
.discover-link .dot{
  width:20px; 
  height:20px; 
  border-radius:3px;
  display:inline-grid; 
  place-items:center;
  background: var(--gc-cta);
  color: var(--gc-cta-ink);
  border: 1px solid color-mix(in oklab, #000, transparent 85%);
  transition: background-color .18s ease, color .18s ease,
              border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.discover-link .dot svg{ stroke: currentColor; }

.discover-link:hover .dot,
.discover-link:focus-visible .dot{
  background: var(--gc-cta-ink);
  color: var(--gc-cta);
  border-color: var(--gc-cta-ink);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px var(--gc-cta-shadow);
}

.discover-link:focus-visible{
  outline: 2px solid var(--gc-cta); 
  outline-offset: 2px;
}

/* ========== MOTION SAFE ========== */
@media (prefers-reduced-motion: reduce){
  .reveal, .reveal.is-inview{ 
    transition:none !important; 
    transform:none !important; 
    opacity:1 !important; 
    filter:none !important; 
  }
  .discover-link .dot{ 
    transform: none !important; 
    box-shadow: none !important; 
  }
}
/* When viewport height is small, force hero title size on Careers page */
@media (max-height:668px) {
  .site-careers .hero-text h1 {
    font-size: 55px !important;
    line-height: 1.02 !important;
  }
}