
:root{
  --ect-green: #0C3C01;
  --ect-green-alt: #0E3B12;
  --ect-badge-bg: #F1F2ED;
  --ect-badge-border: #DBE4DC;
  --ect-label: #5F6B62;
  --ect-title: #101713;
  --ect-eyebrow: #5B6D49;
  --ect-stat-label: #687364;
  --ect-stat-value: #183014;
}

* { box-sizing: border-box; }

body{
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: #ffffff;
}

.ect-hero-outer{
  width: 100%;
  overflow: hidden;
  background: #ffffff;
}

.ect-hero-scaler{
  position: relative;
  width: 1440px;
  transform-origin: top left;
}

.ect-hero-stage{
  position: relative;
  width: 1440px;
  height: 660px;
  background: #ffffff;
}

/* ============ Group 1000001852 — master wrapper ============ */
.ect-hero-group{
  position: absolute;
  width: 1241px;
  height: 514px;
  left: 100px;
  top: 104px;
}

/* ============ Group 1000001844 — left content block ============ */
.ect-left-content{
  position: absolute;
  width: 637px;
  height: 358.17px;
  left: 0px;
  top: 78px; /* 182 (group top) - 104 (hero-group top) */
}

.ect-eyebrow{
  position: absolute;
  width: 239px;
  height: 17px;
  left: 0px;
  top: 0px;
  font-weight: 500;
  font-size: 13.33px;
  line-height: 125%;
  color: var(--ect-eyebrow);
  margin: 0;
}

.ect-heading{
  position: absolute;
  width: 637px;
  height: 122px;
  left: 0px;
  top: 23px;
  font-weight: 700;
  font-size: 40px;
  line-height: 125%;
  color: var(--ect-green);
  margin: 0;
}

.ect-subtext{
  position: absolute;
  width: 500px;
  height: 40px;
  left: 3px;
  top: 153px;
  font-weight: 400;
  font-size: 16px;
  line-height: 125%;
  color: #000000;
  margin: 0;
}

.ect-btn-primary{
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 10px;
  width: 178px;
  height: 40px;
  left: 0px;
  top: 217px;
  background: var(--ect-green);
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #FFFFFF;
  text-decoration: none;
}

.ect-btn-secondary{
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 10px;
  width: 178px;
  height: 40px;
  left: 202px;
  top: 217px;
  background: #F1F2ED;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: var(--ect-green);
  text-decoration: none;
}

.ect-stats-container{
  position: absolute;
  width: 628px;
  height: 71.17px;
  left: 0px;
  top: 287px;
  border-top: 1.33333px solid rgba(12, 60, 1, 0.14);
}

.ect-stat{
  position: absolute;
  top: 23.33px;
  width: 199.44px;
  height: 47.83px;
}
.ect-stat:nth-child(1){ left: 0px; }
.ect-stat:nth-child(2){ left: 207.44px; border-left: 1.33333px solid rgba(12, 60, 1, 0.14); }
.ect-stat:nth-child(3){ left: 414.88px; border-left: 1.33333px solid rgba(12, 60, 1, 0.14); }

.ect-stat-value{
  position: absolute;
  left: 19.33px;
  top: 0px;
  font-weight: 700;
  font-size: 16px;
  line-height: 125%;
  color: var(--ect-stat-value);
  white-space: nowrap;
}
.ect-stat:nth-child(1) .ect-stat-value{ left: 0px; }

.ect-stat-label{
  position: absolute;
  left: 19.33px;
  top: 29px;
  width: 182px;
  font-weight: 400;
  font-size: 13.33px;
  line-height: 125%;
  color: var(--ect-stat-label);
  white-space: nowrap;
}
.ect-stat:nth-child(1) .ect-stat-label{ left: 0px; }

/* ============ Right: video container ============ */
.ect-media{
  position: absolute;
  width: 663px;
  height: 456px;
  left: 647px;
  top: 24px;
  border-radius: 32px;
  overflow: hidden;
  background: #D9D9D9;
}

.ect-media video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ect-media-poster{
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #cfd6c8, #e4e7df);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5B6D49;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  padding: 20px;
}

/* ============ Floating badges ============ */
.ect-badge{
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--ect-badge-bg);
  border: 0.88px solid var(--ect-badge-border);
  box-shadow: 0px 26.4125px 77.0365px rgba(7, 52, 17, 0.09);
  border-radius: 13.2063px;
  padding: 0;
}

.ect-badge-dot{
  position: absolute;
  width: 8.8px;
  height: 8.8px;
  left: 14.09px;
  top: 16.73px;
  background: #5B6D49;
  box-shadow: 0px 0px 0px 4.40209px #E7F6DE;
  border-radius: 4.40209px;
}

.ect-badge-label{
  position: absolute;
  left: 29.49px;
  top: 13.87px;
  font-weight: 400;
  font-size: 10px;
  line-height: 125%;
  color: var(--ect-label);
  white-space: nowrap;
}

.ect-badge-title{
  position: absolute;
  left: 29.49px;
  top: 34.94px;
  font-weight: 600;
  font-size: 16px;
  line-height: 125%;
  color: var(--ect-title);
  white-space: nowrap;
}

/* Badge 1: Market systems */
.ect-badge-market{
  width: 174px;
  height: 69px;
  left: 1067px;
  top: 0px;
}

/* Badge 2: Performance systems */
.ect-badge-performance{
  width: 224px;
  height: 69px;
  left: 572px;
  top: 235px;
}

/* Badge 3: Automation systems */
.ect-badge-automation{
  width: 215px;
  height: 69px;
  left: 920px;
  top: 445px;
}

/* ============ One-time zoom pulse animation ============ */
@keyframes ectBadgePulse{
  0%   { transform: scale(0.9);  opacity: 0; }
  55%  { transform: scale(1.06); opacity: 1; }
  75%  { transform: scale(0.98); }
  100% { transform: scale(1);    opacity: 1; }
}

.ect-badge{
  animation: ectBadgePulse 0.7s cubic-bezier(.34,1.56,.64,1) both;
}
.ect-badge-market{ animation-delay: 0.15s; }
.ect-badge-performance{ animation-delay: 0.45s; }
.ect-badge-automation{ animation-delay: 0.75s; }

@media (prefers-reduced-motion: reduce){
  .ect-badge{ animation: none; }
}

/* ============================================================
   HERO — COMPACT LAYOUT (mobile & tablet, <=900px)
   Desktop keeps the pixel-exact Figma canvas above, uniformly
   scaled by career.js. Below 900px career.js skips that scale
   entirely (transform: none) and this block takes over with a
   natural, stacked, readable flow instead of shrinking text and
   buttons down to ~25-30% size.
============================================================ */
@media (max-width: 900px) {
  .ect-hero-outer { height: auto !important; }
  .ect-hero-scaler { width: 100%; }
  /* padding-top clears the fixed navbar (64px tall) — was 40px,
     which let the eyebrow render partly behind it. */
  .ect-hero-stage { width: 100%; height: auto; padding: 88px 20px 32px; }

  .ect-hero-group {
    position: static;
    width: 100%;
    height: auto;
    left: auto;
    top: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  /* Unwrap so eyebrow/heading/subtext/buttons/stats become direct
     flex items of .ect-hero-group, alongside .ect-media — that's
     what lets them be reordered around the image below via `order`. */
  .ect-left-content {
    display: contents;
  }

  .ect-eyebrow {
    position: static;
    width: 100%;
    height: auto;
    left: auto;
    top: auto;
    order: 1;
    font-size: 14px;
    text-align: left;
    margin-bottom: 0;
  }

  .ect-heading {
    position: static;
    width: 100%;
    height: auto;
    left: auto;
    top: auto;
    order: 2;
    font-size: clamp(28px, 7vw, 38px);
    text-align: left;
    margin-bottom: 0;
  }

  .ect-media {
    order: 3;
  }

  .ect-subtext {
    position: static;
    width: 100%;
    height: auto;
    left: auto;
    top: auto;
    order: 4;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 0;
  }

  .ect-btn-row {
    order: 5;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
  }

  /* Natural content width for both labels together barely fits a
     360-390px screen at the desktop 16px/8px 10px sizing, leaving no
     room for a gap — shrink both slightly so they comfortably sit
     side by side instead of wrapping to two lines. */
  .ect-btn-primary,
  .ect-btn-secondary {
    position: static;
    width: auto;
    left: auto;
    top: auto;
    align-self: flex-start;
    flex: 0 1 auto;
    min-width: 0;
    padding: 8px 10px;
    font-size: 13px;
    white-space: nowrap;
  }

  .ect-stats-container {
    position: static;
    width: 100%;
    height: auto;
    left: auto;
    top: auto;
    order: 6;
    display: flex;
    flex-wrap: wrap;
    gap: 20px 16px;
    padding-top: 20px;
  }

  .ect-stat {
    position: static;
    width: auto;
    flex: 1 1 auto;
    left: auto !important;
    top: auto;
    border-left: none !important;
  }

  .ect-stat-value,
  .ect-stat-label {
    position: static;
    left: auto !important;
    top: auto;
    width: auto;
    white-space: normal;
  }

  /* Supporting photo, shown after the headline/CTA/stats */
  .ect-media {
    position: static;
    width: 100%;
    height: auto;
    left: auto;
    top: auto;
    aspect-ratio: 503 / 456;
    border-radius: 20px;
  }

  /* Floating Figma badges are decorative and clutter a narrow,
     already-compact hero photo — hidden rather than crammed in. */
  .ect-badge { display: none; }
}







:root{
  --ect-green-dark: #0C3C01;
  --ect-card-bg: #F5F5F3;
  --ect-btn-bg: #F1F2ED;
  --design-w: 1441;
  --design-h: 820;
}

*{ box-sizing: border-box; margin:0; padding:0; }
body{ font-family:'Montserrat', sans-serif; background:#fff; }

/* ============================================================
   DESKTOP: pixel-exact canvas (matches Figma coordinates 1:1),
   scaled uniformly to fit any viewport width via JS transform.
   This preserves EXACT alignment/spacing at every screen size.
   ============================================================ */

.ect-life-viewport{
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #050c06;
}

.ect-life-stage{
  position: relative;
  width: 1441px;
  height: 820px;
  transform-origin: top left;
  background: #050c06;
}

.ect-life-bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #03110a 0%, #040a05 100%);
  overflow: hidden;
}

/* ---- Aurora mesh layer: soft morphing color washes with hue drift ---- */
.ect-aurora{
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  filter: blur(60px) saturate(140%);
  animation: ectHueDrift 24s linear infinite;
  will-change: filter;
}
.ect-aurora-layer{
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: screen;
  will-change: transform;
}
.ect-aurora-1{
  width: 46%; height: 78%;
  left: -8%; top: 6%;
  background: radial-gradient(circle at 35% 35%, rgba(80,190,60,0.55) 0%, rgba(80,190,60,0) 68%);
  animation: ectDrift1 22s ease-in-out infinite;
}
.ect-aurora-2{
  width: 40%; height: 70%;
  right: -6%; top: -8%;
  background: radial-gradient(circle at 45% 45%, rgba(40,150,110,0.4) 0%, rgba(40,150,110,0) 68%);
  animation: ectDrift2 27s ease-in-out infinite;
}
.ect-aurora-3{
  width: 42%; height: 65%;
  left: 22%; bottom: -14%;
  background: radial-gradient(circle at 50% 50%, rgba(120,210,70,0.4) 0%, rgba(120,210,70,0) 68%);
  animation: ectDrift3 19s ease-in-out infinite;
}
.ect-aurora-4{
  width: 34%; height: 55%;
  right: 6%; bottom: -10%;
  background: radial-gradient(circle at 50% 50%, rgba(35,120,90,0.35) 0%, rgba(35,120,90,0) 68%);
  animation: ectDrift4 25s ease-in-out infinite;
}
.ect-aurora-5{
  width: 30%; height: 46%;
  left: 40%; top: 20%;
  background: radial-gradient(circle at 50% 50%, rgba(170,255,140,0.28) 0%, rgba(170,255,140,0) 70%);
  animation: ectDrift5 30s ease-in-out infinite;
}
@keyframes ectDrift5{
  0%, 100% { transform: translate(0,0) rotate(0deg) scale(1); }
  45%      { transform: translate(-6%, 7%) rotate(-9deg) scale(1.15); }
  80%      { transform: translate(4%, -5%) rotate(6deg) scale(0.95); }
}

/* ---- Soft glowing orbs drifting slowly, adds sparkle depth ---- */
.ect-orb{
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(190,255,160,0.9) 0%, rgba(190,255,160,0) 70%);
  filter: blur(1px);
  pointer-events: none;
  mix-blend-mode: screen;
}
.ect-orb-1{ width: 6px; height: 6px; left: 12%; top: 22%; animation: ectOrbFloat 9s ease-in-out infinite; }
.ect-orb-2{ width: 4px; height: 4px; left: 30%; top: 68%; animation: ectOrbFloat 12s ease-in-out infinite 1s; }
.ect-orb-3{ width: 5px; height: 5px; left: 55%; top: 30%; animation: ectOrbFloat 10s ease-in-out infinite 2s; }
.ect-orb-4{ width: 7px; height: 7px; left: 68%; top: 75%; animation: ectOrbFloat 14s ease-in-out infinite .5s; }
.ect-orb-5{ width: 4px; height: 4px; left: 8%; top: 55%; animation: ectOrbFloat 11s ease-in-out infinite 1.5s; }
.ect-orb-6{ width: 5px; height: 5px; left: 46%; top: 12%; animation: ectOrbFloat 13s ease-in-out infinite 2.5s; }
.ect-orb-7{ width: 6px; height: 6px; left: 78%; top: 20%; animation: ectOrbFloat 10s ease-in-out infinite 3s; }
.ect-orb-8{ width: 4px; height: 4px; left: 20%; top: 85%; animation: ectOrbFloat 15s ease-in-out infinite .8s; }

/* ---- Extra sparkle cluster for the empty left space beneath the button ---- */
.ect-star{
  position: absolute;
  width: 10px;
  height: 10px;
  pointer-events: none;
  opacity: 0;
  animation: ectStarTwinkle 5s ease-in-out infinite;
}
.ect-star svg{ width: 100%; height: 100%; display: block; }
.ect-star-1{ left: 9%;  top: 46%; animation-delay: 0s;   }
.ect-star-2{ left: 18%; top: 62%; animation-delay: 1.1s; }
.ect-star-3{ left: 6%;  top: 74%; animation-delay: 2.2s; }
.ect-star-4{ left: 24%; top: 82%; animation-delay: .6s;  }
.ect-star-5{ left: 14%; top: 90%; animation-delay: 1.8s; }
.ect-star-6{ left: 30%; top: 52%; animation-delay: 2.8s; }
.ect-star-7{  left: 52%; top: 10%;  animation-delay: 1.4s; }
.ect-star-8{  left: 62%; top: 24%;  animation-delay: .3s;  }
.ect-star-9{  left: 47%; top: 38%;  animation-delay: 2.1s; }
.ect-star-10{ left: 58%; top: 68%;  animation-delay: 1.7s; }
.ect-star-11{ left: 44%; top: 78%;  animation-delay: .9s;  }
.ect-star-12{ left: 70%; top: 8%;   animation-delay: 2.5s; }
.ect-star-13{ left: 85%; top: 30%;  animation-delay: .5s;  }
.ect-star-14{ left: 92%; top: 55%;  animation-delay: 1.9s; }
.ect-star-15{ left: 80%; top: 70%;  animation-delay: 2.9s; }
.ect-star-16{ left: 88%; top: 88%;  animation-delay: 1.2s; }
.ect-star-17{ left: 74%; top: 46%;  animation-delay: .1s;  }
.ect-star-18{ left: 8%;  top: 14%;  animation-delay: 2.4s; }
.ect-star-19{ left: 3%;  top: 30%;  animation-delay: .7s;  }
.ect-star-20{ left: 35%; top: 8%;   animation-delay: 1.6s; }

@keyframes ectStarTwinkle{
  0%, 100% { opacity: 0; transform: scale(0.5) rotate(0deg); }
  50%      { opacity: .85; transform: scale(1) rotate(90deg); }
}

@keyframes ectOrbFloat{
  0%   { transform: translate(0,0) scale(0.8); opacity: 0; }
  15%  { opacity: 1; }
  50%  { transform: translate(14px, -30px) scale(1.3); opacity: .9; }
  85%  { opacity: .3; }
  100% { transform: translate(-10px, -60px) scale(0.7); opacity: 0; }
}

@keyframes ectHueDrift{
  0%   { filter: blur(60px) saturate(140%) hue-rotate(0deg); }
  50%  { filter: blur(70px) saturate(160%) hue-rotate(18deg); }
  100% { filter: blur(60px) saturate(140%) hue-rotate(0deg); }
}
@keyframes ectDrift1{
 0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  33%      { transform: translate(6%, 8%) rotate(8deg) scale(1.12); }
  66%      { transform: translate(-4%, 3%) rotate(-6deg) scale(0.96); }
}
@keyframes ectDrift2{
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  50%      { transform: translate(-7%, 6%) rotate(-10deg) scale(1.1); }
}
@keyframes ectDrift3{
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  40%      { transform: translate(5%, -6%) rotate(7deg) scale(1.08); }
  75%      { transform: translate(-3%, 4%) rotate(-4deg) scale(0.97); }
}
@keyframes ectDrift4{
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  50%      { transform: translate(6%, -4%) rotate(9deg) scale(1.1); }
}

/* ---- Parallax wrapper: layers shift gently toward cursor for depth ---- */
.ect-parallax{
  position: absolute;
  inset: 0;
  transition: transform .4s cubic-bezier(.22,.61,.36,1);  will-change: transform;
}

/* ---- Fine light-ray sweep across the whole canvas ---- */
.ect-raysweep{  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
      transparent 0%,      transparent 42%,
      rgba(150,255,130,0.05) 48%,
      rgba(150,255,130,0.09) 50%,
      rgba(150,255,130,0.05) 52%,      transparent 58%,      transparent 100%);
  background-size: 260% 260%;
  animation: ectRaySweep 9s ease-in-out infinite;
  mix-blend-mode: screen;
  pointer-events: none;
}
@keyframes ectRaySweep{
  0%   { background-position: 120% 0%; }
  50%  { background-position: -20% 100%; }
  100% { background-position: 120% 0%; }
}

/* ---- Fine grain texture for premium depth ---- */
.ect-grain{
  position: absolute;
  inset: 0;
  opacity: 0.05;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: reduce){
  .ect-aurora, .ect-aurora-1, .ect-aurora-2, .ect-aurora-3, .ect-aurora-4, .ect-aurora-5, .ect-raysweep, .ect-orb, .ect-star{    animation: none !important;
  }
  .ect-parallax{ transition: none !important; transform: none !important; }
}

.ect-life-watermark{
  position:absolute;  inset:0;
  display:grid;
  grid-template-columns: repeat(6,1fr);
  grid-template-rows: repeat(4,1fr);
  opacity:.045;
  pointer-events:none;
  user-select:none;
}
.ect-life-watermark span{
  color:#fff;
  font-family:'Outfit',sans-serif;
  font-size:14px;  display:flex;  align-items:center;
  justify-content:center;
  transform: rotate(-8deg);
  white-space:nowrap;
}

/* ---- Eyebrow ---- */
.ect-life-stage .ect-eyebrow{
  position: absolute;
  left: 104px;
  top: 32px;
  width: 87px;
  height: 24px;
  font-family: 'Outfit';
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #FFFFFF;
}

/* ---- Heading ---- */
.ect-life-stage .ect-heading{
  position: absolute;
  left: 104px;
  top: 56px;
  width: 628px;
  height: 84px;
  font-family: 'Montserrat';
  font-weight: 700;
  font-size: 32px;
  line-height: 130%;
  letter-spacing: 0.02em;
  color: #FFFFFF;
}

/* ---- Subtext ---- */
.ect-life-stage .ect-sub{
  position: absolute;
  left: 104px;
  top: 152px;
  width: 380px;
  font-family: 'Montserrat';
  font-weight: 400;
  font-size: 15px;
  line-height: 145%;
  color: rgba(255,255,255,0.75);
  z-index: 2;
}

/* ---- Button ---- */
.ect-btn-wrap{
  position: absolute;
  left: 104px;
  top: 220px;
  width: 164px;
  height: 40px;
}
.ect-btn{
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 164px;
  height: 40px;
  padding: 8px 14px;
  gap: 8px;
  background: var(--ect-btn-bg);
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-family: 'Outfit';
  font-weight: 400;
  font-size: 15px;
  line-height: 150%;
  text-align: center;
  color: var(--ect-green-dark);
  white-space: nowrap;
  transition: background .3s ease, box-shadow .3s ease, transform .3s ease;
}
.ect-btn:hover{
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(120,220,90,0.35);
  transform: translateY(-2px);
}
.ect-btn-arrow{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0;
  opacity: 0;
  overflow: hidden;
  transition: width .3s ease, opacity .3s ease, transform .3s ease;
}
.ect-btn:hover .ect-btn-arrow{
  width: 16px;
  opacity: 1;
  transform: translateX(2px);
}
.ect-btn-arrow svg{ width: 16px; height: 16px; display:block; }
.ect-btn-underline{
  position: absolute;
  width: 448px;
  height: 4px;
  left: -142px;
  top: 44px;
  background: rgba(91, 109, 73, 0.81);
  filter: blur(1.55px);
  pointer-events: none;
}

/* ---- Card: What you can expect ---- */
.ect-card-you{
  position: absolute;
  left: 515px;
  top: 155px;
  width: 399px;
  height: 620px;
  background: var(--ect-card-bg);
  border-radius: 16px;
  border: 1px solid rgba(91, 109, 73, 0.52);
  overflow: hidden;
}
.ect-card-you .ect-card-title{
  position: absolute;
  left: 24px;
  top: 28px;
  width: 351px;
  min-height: 26px;
  font-family: 'Montserrat';
  font-weight: 600;
  font-size: 20px;
  line-height: 130%;
  color: var(--ect-green-dark);
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(12, 60, 1, 0.12);
}
.ect-card-you .ect-card-list{
  position: absolute;
  left: 24px;
  top: 82px;
  width: 350px;
  list-style: none;
}
.ect-card-you .ect-card-list li{
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 50px;
  margin: 0;
  padding: 9px 8px;
  border-bottom: 1px solid rgba(12, 60, 1, 0.09);
  border-radius: 7px;
  transition: transform .25s ease, background .25s ease, padding-left .25s ease;
}
.ect-card-you .ect-card-list li:last-child{ border-bottom: 0; }
.ect-card-you .ect-card-list li:hover{
  transform: translateX(4px);
  background: rgba(12,60,1,0.05);
  padding-left: 12px;
}

/* ---- Card: What we expect ---- */
.ect-card-expect{
  position: absolute;
  left: 938px;
  top: 56px;
  width: 399px;
  height: 620px;
  background: var(--ect-card-bg);
  border-radius: 16px;
  border: 1px solid rgba(91, 109, 73, 0.52);
  overflow: hidden;
}
.ect-card-expect .ect-card-title{
  position: absolute;
  left: 24px;
  top: 28px;
  width: 351px;
  min-height: 26px;
  font-family: 'Montserrat';
  font-weight: 600;
  font-size: 20px;
  line-height: 130%;
  color: var(--ect-green-dark);
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(12, 60, 1, 0.12);
}
.ect-card-expect .ect-card-list{
  position: absolute;
  left: 24px;
  top: 82px;
  width: 350px;
  list-style: none;
}
.ect-card-expect .ect-card-list li{
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 50px;
  margin: 0;
  padding: 9px 8px;
  border-bottom: 1px solid rgba(12, 60, 1, 0.09);
  border-radius: 7px;
  transition: transform .25s ease, background .25s ease, padding-left .25s ease;
}
.ect-card-expect .ect-card-list li:last-child{ border-bottom: 0; }
.ect-card-expect .ect-card-list li:hover{
  transform: translateX(4px);
  background: rgba(12,60,1,0.05);
  padding-left: 12px;
}

/* shared list text/check styles */
.ect-check{
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 0;
  border-radius: 50%;
  background: var(--ect-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s ease, transform .25s ease;
}
.ect-check svg{ width: 13px; height: 13px; display:block; }
.ect-check svg path{ stroke: #ffffff !important; }
.ect-card-list li:hover .ect-check{
  background: #176708;
  transform: scale(1.1);
}
.ect-card-list li span{
  font-family: 'Montserrat';
  font-weight: 400;
  font-size: 13px;
  line-height: 145%;
  color: #182117;
}

/* card entrance + hover polish */
.ect-card-you, .ect-card-expect{
  box-shadow: 0 24px 58px rgba(0,0,0,0.28), 0 0 0 3px rgba(216,224,214,0.24);
  transition: box-shadow .35s ease, transform .12s ease-out;
  transform-style: preserve-3d;
  will-change: transform;
}

/* ============================================================
   MOBILE FALLBACK (below 640px real viewport width):
   the scaled canvas gets too small to read, so we swap to a
   natural stacked layout instead of scaling further.
   ============================================================ */
.ect-life-mobile{
  display: none;
  background: #050c06;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}
.ect-life-mobile .ect-life-bg{ position:absolute; }
.ect-life-mobile-inner{ position: relative; z-index: 1; }
.ect-life-mobile .ect-eyebrow-m{
  font-family:'Outfit'; font-weight:400; font-size:14px; color:#fff; margin-bottom: 10px;
}
.ect-life-mobile .ect-heading-m{
  font-family:'Montserrat'; font-weight:700; font-size:24px; line-height:130%;
  letter-spacing:0.02em; color:#fff; margin-bottom: 14px;
}
.ect-life-mobile .ect-sub-m{
  font-family:'Montserrat'; font-weight:400; font-size:14px; line-height:145%;
  color: rgba(255,255,255,0.75); margin-bottom: 24px;
}
.ect-life-mobile .ect-btn-m{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 8px 18px; background: var(--ect-btn-bg); border-radius: 8px;
  border:none; font-family:'Outfit'; font-weight:400; font-size:15px;
  color: var(--ect-green-dark); margin-bottom: 32px;
  transition: background .3s ease, transform .3s ease;
}
.ect-life-mobile .ect-btn-m:active{ transform: scale(0.97); }
.ect-life-mobile .ect-card-m{
  background: var(--ect-card-bg); border-radius:16px; padding: 24px 20px; margin-bottom: 24px;
  border: 1px solid rgba(91, 109, 73, 0.52);
  box-shadow: 0 18px 42px rgba(0,0,0,0.22);
}
.ect-life-mobile .ect-card-title-m{
  font-family:'Montserrat'; font-weight:600; font-size:18px; color:#000; margin-bottom: 16px;
}
.ect-life-mobile .ect-card-list-m{ list-style:none; }
.ect-life-mobile .ect-card-list-m li{
  display:flex; align-items:center; gap: 12px; min-height: 48px; margin:0;
  padding: 9px 4px; border-bottom:1px solid rgba(12,60,1,0.09);
}
.ect-life-mobile .ect-card-list-m li:last-child{ border-bottom:0; }
.ect-life-mobile .ect-card-list-m li span{
  font-family:'Montserrat'; font-weight:400; font-size:13px; line-height:125%; color:#000;
}
.ect-life-mobile .ect-check{
  flex: 0 0 22px; width: 22px; height: 22px; margin-top: 0;
  border-radius: 50%; background: var(--ect-green-dark);
  display: flex; align-items: center; justify-content: center;
}
.ect-life-mobile .ect-check svg{ width: 13px; height: 13px; }

@media (max-width: 900px){
  .ect-life-viewport{ display: none; }
  .ect-life-mobile{ display: block; padding-top: 2.5rem; }
}

@media (max-width: 600px){
  .ect-life-mobile{ padding-top: 2rem; }
}





:root{
  --ect-green-900:#0E3B12;
  --ect-green-800:#123b0a;
  --ect-green-700:#1a4d15;
  --ect-green-600:#2d6a24;
  --ect-green-500:#3f8a34;
  --ect-cream:#F7F7F5;
  --ect-card-bg:#F2F2EF;
  --ect-chip-bg:#DCE4D6;
  --ect-text-muted:#8A8F86;
  --ect-text-body:#3F433C;
  --ect-border:rgba(14,59,18,0.08);
  --rs:1;
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --ease-smooth: cubic-bezier(.22,1,.36,1);
}

*{box-sizing:border-box;}
html{font-size:62.5%;}
body{
  margin:0;
  background:var(--ect-cream);
  font-family:'Manrope', sans-serif;
  color:var(--ect-text-body);
  -webkit-font-smoothing:antialiased;
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration:0.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:0.01ms !important;
    scroll-behavior:auto !important;
  }
}

.ect-growth{
  max-width:1240px;
  margin:0 auto;
  padding:clamp(4rem, 8vw, 8rem) clamp(2rem, 4vw, 3.2rem);
  position:relative;
}

/* ---------- Header ---------- */
.ect-growth__header{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:clamp(2rem, 5vw, 6rem);
  flex-wrap:wrap;
  margin-bottom:clamp(3.2rem, 5vw, 5.6rem);
}

.ect-growth__eyebrow{
  display:flex;
  align-items:center;
  gap:0.8rem;
  font-family:'Manrope', sans-serif;
  font-size:1.2rem;
  font-weight:700;
  letter-spacing:0.16em;
  text-transform:uppercase;
  color:var(--ect-green-600);
  margin:0 0 1.4rem 0;
  opacity:0;
  transform:translateY(1rem);
}
.ect-growth__eyebrow::before{
  content:'';
  width:2rem;
  height:0.2rem;
  background:var(--ect-green-600);
  border-radius:1rem;
  transform-origin:left center;
  transform:scaleX(0);
  transition:transform 0.6s var(--ease-smooth) 0.15s;
}
.ect-growth--in .ect-growth__eyebrow::before{ transform:scaleX(1); }

.ect-growth__title{
  font-family:'Poppins', sans-serif;
  font-size:clamp(2.8rem, 3.6vw, 4rem);
  line-height:1.18;
  font-weight:600;
  color:var(--ect-green-900);
  margin:0;
  max-width:52rem;
}
.ect-growth__title span{
  color:var(--ect-text-muted);
  font-weight:500;
}

.ect-growth__lede{
  max-width:34rem;
  font-size:1.55rem;
  line-height:1.6;
  color:var(--ect-text-muted);
  margin:0.8rem 0 0 0;
  padding-top:1rem;
}

.ect-growth__title, .ect-growth__lede{
  opacity:0;
  transform:translateY(1.4rem);
}

/* word-by-word title reveal */
.ect-growth__title .word{
  display:inline-block;
  opacity:0;
  transform:translateY(0.8em) rotateX(40deg);
  transform-origin:bottom;
  filter:blur(4px);
  transition:opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth), filter 0.7s var(--ease-smooth);
}
.ect-growth--in .ect-growth__title{ opacity:1; transform:none; }
.ect-growth--in .ect-growth__title .word{ opacity:1; transform:none; filter:blur(0); }

.ect-growth--in .ect-growth__eyebrow{
  animation:ectFadeUp 0.7s var(--ease-smooth) forwards;
}
.ect-growth--in .ect-growth__lede{
  animation:ectFadeUp 0.8s var(--ease-smooth) 0.5s forwards;
}

@keyframes ectFadeUp{
  to{ opacity:1; transform:translateY(0); }
}

/* ---------- Grid ---------- */
.ect-growth__grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:1.6rem;
}

@media (max-width:1024px){
  /* Move the lede below the scrolling cards, and turn the grid into
     a horizontal auto+manual scroll rail connected by arrows —
     desktop keeps its wrapping 4-column grid untouched. */
  .ect-growth{ display:flex; flex-direction:column; }
  .ect-growth__header{ display:contents; }
  .ect-growth__header > div:first-child{ order:1; }
  .ect-growth__grid{ order:2; }
  .ect-growth__header > div:last-child{ order:3; }
  .ect-growth__lede{ max-width:100%; padding-top:0; margin-top:1.5rem; }

  .ect-growth__grid{
    display:flex;
    flex-wrap:nowrap;
    grid-template-columns:none;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    padding-bottom:0.5rem;
  }

  .ect-level{
    flex:0 0 260px;
    width:260px;
  }

  .ect-level:not(:last-child)::after{
    content:'--->';
    position:absolute;
    top:50%;
    right:-1.6rem;
    transform:translateY(-50%);
    font-size:1.1rem;
    font-weight:700;
    color:var(--ect-green-600, #0C3C01);
    pointer-events:none;
    z-index:2;
  }
}
@media (max-width:520px){
  .ect-level{ flex-basis:220px; width:220px; }
}

/* ---------- Card ---------- */
.ect-growth__grid{
  perspective:1600px;
}

.ect-level{
  position:relative;
  background:var(--ect-card-bg);
  border-radius:1.6rem;
  padding:2.4rem 2.2rem 2.6rem;
  border:1px solid var(--ect-border);
  overflow:hidden;
  cursor:pointer;
  isolation:isolate;
  transform-style:preserve-3d;
  will-change:transform;

  clip-path:inset(0 0 0 0 round 1.6rem);
  opacity:0;
  transform:translateY(4.4rem) scale(0.94) rotateX(8deg);
  transition:
    transform 0.25s var(--ease-smooth),
    box-shadow 0.5s var(--ease-smooth),
    background-color 0.5s var(--ease-smooth),
    border-color 0.5s var(--ease-smooth);
}

.ect-growth--in .ect-level{
  animation:ectCardIn 0.9s var(--ease-smooth) forwards;
  animation-delay:calc(var(--i) * 100ms);
}

@keyframes ectCardIn{
  0%{ opacity:0; transform:translateY(4.4rem) scale(0.94) rotateX(8deg); }
  60%{ opacity:1; }
  100%{ opacity:1; transform:translateY(0) scale(1) rotateX(0deg); }
}

/* idle float once settled */
.ect-growth--in .ect-level{
  animation:
    ectCardIn 0.9s var(--ease-smooth) forwards,
    ectFloat 6s ease-in-out calc(var(--i) * 100ms + 900ms) infinite;
}
@keyframes ectFloat{
  0%,100%{ transform:translateY(0) scale(1) rotateX(0deg); }
  50%{ transform:translateY(-0.35rem) scale(1) rotateX(0deg); }
}
.ect-level:hover, .ect-level:focus-visible{
  animation-play-state:paused, paused;
}

/* ambient glow that follows cursor */
.ect-level::before{
  content:'';
  position:absolute;
  inset:0;
  z-index:0;
  background:radial-gradient(220px circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,0.55), transparent 70%);
  opacity:0;
  transition:opacity 0.4s ease;
  pointer-events:none;
}
.ect-level:hover::before{ opacity:1; }

/* sheen sweep on hover */
.ect-level::after{
  content:'';
  position:absolute;
  top:0; left:-60%;
  width:40%; height:100%;
  background:linear-gradient(115deg, transparent, rgba(255,255,255,0.35), transparent);
  transform:skewX(-18deg);
  z-index:1;
  pointer-events:none;
  transition:left 0.85s var(--ease-smooth);
}
.ect-level:hover::after{ left:130%; }

.ect-level.is-hovering{
  box-shadow:0 1.8rem 3.6rem -1.2rem rgba(14,59,18,0.22), 0 0.4rem 1rem -0.4rem rgba(14,59,18,0.1);
  border-color:rgba(14,59,18,0.16);
}
.ect-level--featured.is-hovering{
  box-shadow:0 2.4rem 4.8rem -1.2rem rgba(14,59,18,0.55);
}
.ect-level.is-pressed{
  transition:transform 0.15s var(--ease-smooth) !important;
}

/* ripple click feedback */
.ect-level__ripple{
  position:absolute;
  border-radius:50%;
  background:radial-gradient(circle, rgba(14,59,18,0.16), transparent 70%);
  transform:translate(-50%,-50%) scale(0);
  pointer-events:none;
  z-index:1;
  animation:ectRipple 0.7s var(--ease-smooth) forwards;
}
.ect-level--featured .ect-level__ripple{
  background:radial-gradient(circle, rgba(143,217,138,0.28), transparent 70%);
}
@keyframes ectRipple{
  to{ transform:translate(-50%,-50%) scale(1); opacity:0; }
}

/* number counter on badge */
.ect-level__badge{ font-variant-numeric:tabular-nums; }

.ect-level__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  position:relative;
  z-index:2;
}

.ect-level__badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:4.4rem;
  height:3.6rem;
  padding:0 0.6rem;
  background:var(--ect-chip-bg);
  color:var(--ect-green-900);
  font-family:'Poppins', sans-serif;
  font-weight:700;
  font-size:1.5rem;
  border-radius:0.9rem;
  letter-spacing:0.02em;
  transition:transform 0.5s var(--ease-spring), background-color 0.4s ease;
}
.ect-level:hover .ect-level__badge{
  transform:translateY(-0.2rem) rotate(-3deg) scale(1.04);
}

.ect-level__icon{
  width:3.6rem;
  height:3.6rem;
  border-radius:50%;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 0.2rem 0.6rem rgba(14,59,18,0.08);
  transition:transform 0.6s var(--ease-spring), box-shadow 0.4s ease;
}
.ect-level__icon img{
  display:block;
  width:2.2rem;
  height:2.2rem;
  object-fit:contain;
  transition:transform 0.6s var(--ease-spring), opacity 0.6s var(--ease-smooth);
  opacity:0;
  transform:scale(0.72);
}
.ect-growth--in .ect-level__icon img{
  animation:ectIconReveal 0.75s var(--ease-spring) forwards;
  animation-delay:calc(var(--i) * 100ms + 450ms);
}
@keyframes ectIconReveal{
  to{ opacity:1; transform:scale(1); }
}
@keyframes ectDraw{
  to{ stroke-dashoffset:0; }
}
.ect-level:hover .ect-level__icon{
  transform:rotate(14deg) scale(1.08);
  box-shadow:0 0.5rem 1.2rem rgba(14,59,18,0.16);
}
.ect-level:hover .ect-level__icon img{
  transform:scale(1.1);
}

.ect-level__stage{
  display:block;
  font-size:1.25rem;
  font-weight:600;
  color:var(--ect-text-muted);
  text-transform:uppercase;
  letter-spacing:0.04em;
  margin:2rem 0 0.4rem;
  position:relative;
  z-index:2;
}

.ect-level__title{
  font-family:'Manrope', sans-serif;
  font-size:1.95rem;
  font-weight:800;
  color:var(--ect-green-900);
  margin:0 0 1.2rem 0;
  position:relative;
  z-index:2;
}

.ect-level__desc{
  font-size:1.42rem;
  line-height:1.55;
  color:var(--ect-text-body);
  margin:0 0 1.6rem 0;
  position:relative;
  z-index:2;
  min-height:4.3rem;
}

.ect-level__tag{
  display:inline-flex;
  align-items:center;
  gap:0.7rem;
  font-size:1.35rem;
  font-weight:700;
  color:var(--ect-green-800);
  position:relative;
  z-index:2;
}
.ect-level__tag::before{
  content:'';
  width:0.6rem;
  height:0.6rem;
  border-radius:50%;
  background:var(--ect-green-600);
  transition:transform 0.4s var(--ease-spring), box-shadow 0.4s ease;
}
.ect-level:hover .ect-level__tag::before{
  transform:scale(1.5);
  box-shadow:0 0 0 0.4rem rgba(45,106,36,0.15);
}

.ect-level__progress{
  position:absolute;
  bottom:0; left:0;
  height:0.3rem;
  width:100%;
  background:rgba(14,59,18,0.08);
  z-index:2;
}
.ect-level__progress::after{
  content:'';
  position:absolute;
  left:0; top:0; bottom:0;
  width:0%;
  background:var(--ect-green-600);
  border-radius:0 0.2rem 0.2rem 0;
  transition:width 0.6s var(--ease-smooth);
}
.ect-level:hover .ect-level__progress::after{ width:100%; }

/* ---------- Featured (L7) card ---------- */
.ect-level--featured{
  background:var(--ect-green-900);
  border-color:transparent;
  box-shadow:0 1.2rem 3.2rem -1rem rgba(14,59,18,0.4);
}
.ect-level--featured::before{
  background:radial-gradient(220px circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,0.14), transparent 70%);
}
.ect-level--featured .ect-level__badge{
  background:rgba(255,255,255,0.14);
  color:#fff;
}
.ect-level--featured .ect-level__icon{
  background:rgba(255,255,255,0.95);
}
.ect-level--featured .ect-level__stage{
  color:rgba(255,255,255,0.55);
}
.ect-level--featured .ect-level__title{
  color:#fff;
  text-decoration:underline;
  text-decoration-color:rgba(255,255,255,0.4);
  text-underline-offset:0.4rem;
}
.ect-level--featured .ect-level__desc{
  color:rgba(255,255,255,0.78);
}
.ect-level--featured .ect-level__tag{
  color:#fff;
}
.ect-level--featured .ect-level__tag::before{
  background:#8FD98A;
}
.ect-level--featured .ect-level__progress{
  background:rgba(255,255,255,0.14);
}
.ect-level--featured .ect-level__progress::after{
  background:#8FD98A;
}
.ect-level--featured:hover{
  transform:translateY(-0.8rem);
  box-shadow:0 2.4rem 4.8rem -1.2rem rgba(14,59,18,0.55);
}

/* subtle floating sprout glow on featured card */
.ect-level--featured::marker{ display:none; }
.ect-level--featured .ect-level__icon{
  animation:ectPulseGlow 3.2s ease-in-out infinite;
}
@keyframes ectPulseGlow{
  0%,100%{ box-shadow:0 0 0 0 rgba(143,217,138,0.0); }
  50%{ box-shadow:0 0 0 0.6rem rgba(143,217,138,0.12); }
}

/* connecting progress thread across the grid (decorative) */
.ect-growth__grid{ position:relative; }




:root{
  --ect-heading:#0C3C01;
  --ect-body:#566252;
  --ect-arrow:#5B6D49;
  --ect-card-bg:#F1F1EF;
  --ect-pill-border:rgba(12,60,1,0.14);
  --ect-watermark:rgba(12,60,1,0.06);
  --ect-cream:#F7F7F5;
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --ease-smooth: cubic-bezier(.22,1,.36,1);
}
*{box-sizing:border-box;}
html{font-size:62.5%;} /* 1rem = 10px, matches Figma px/10 */
body{
  margin:0;
  background:var(--ect-cream);
  font-family:'Montserrat', sans-serif;
  color:var(--ect-body);
  -webkit-font-smoothing:antialiased;
}
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration:0.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:0.01ms !important;
    scroll-behavior:auto !important;
  }
}

.ect-route{
  max-width:1240px;
  margin:0 auto;
  padding:8rem 0;
}

@media (max-width: 1024px) {
  .ect-route{ padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 640px) {
  .ect-route{ padding-left: 16px; padding-right: 16px; }
}

.ect-route__eyebrow{
  font-family:'Montserrat', sans-serif;
  font-weight:400;
  font-size:1.6rem;
  line-height:125%;
  color:var(--ect-heading);
  margin:0 0 2rem 0;
  letter-spacing:0.02em;
  opacity:0;
  transform:translateY(1rem);
}
.ect-route--in .ect-route__eyebrow{
  animation:ectFadeUp 0.7s var(--ease-smooth) forwards;
}

.ect-route__title{
  font-family:'Montserrat', sans-serif;
  font-weight:600;
  font-size:3.125rem;
  line-height:125%;
  color:var(--ect-heading);
  margin:0 0 3.5rem 0;
  max-width:43rem;
}
.ect-route__title-line{
  display:block;
}
.ect-route__title .word{
  display:inline-block;
  opacity:0;
  transform:translateY(0.8em) rotateX(40deg);
  transform-origin:bottom;
  filter:blur(4px);
  transition:opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth), filter 0.7s var(--ease-smooth);
}
.ect-route--in .ect-route__title .word{ opacity:1; transform:none; filter:blur(0); }

@keyframes ectFadeUp{ to{ opacity:1; transform:translateY(0); } }

.ect-route__grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:2.4rem;
  perspective:1800px;
}
@media (max-width:1024px){
  .ect-route__grid{ grid-template-columns:1fr; }
}

.ect-track{
  position:relative;
  background:var(--ect-card-bg);
  border-radius:2.4rem;
  padding:2.4rem 2.4rem 2.4rem;
  height:22rem;
  overflow:hidden;
  isolation:isolate;
  transform-style:preserve-3d;
  will-change:transform;

  opacity:0;
  transform:translateY(4rem) scale(0.95);
  transition:transform 0.25s var(--ease-smooth), box-shadow 0.5s var(--ease-smooth);
}

@media (max-width:1024px){
  /* The pill chain wraps to two lines once the card is full-width on a
     narrow screen; a fixed 22rem height + overflow:hidden was clipping
     the wrapped pills and the progress rail beneath them. */
  .ect-track{ height:auto; min-height:22rem; padding-bottom:2.8rem; }
}
.ect-route--in .ect-track{
  animation:ectTrackIn 0.85s var(--ease-smooth) forwards;
  animation-delay:calc(var(--i) * 150ms + 200ms);
}
@keyframes ectTrackIn{
  to{ opacity:1; transform:translateY(0) scale(1); }
}

.ect-track.is-hovering{
  box-shadow:0 2rem 4.4rem -1.4rem rgba(12,60,1,0.2), 0 0.4rem 1rem -0.4rem rgba(12,60,1,0.08);
}

/* futuristic corner focus-brackets that draw in on hover, like a viewfinder locking on */
.ect-track__corner{
  position:absolute;
  width:2.6rem;
  height:2.6rem;
  z-index:3;
  pointer-events:none;
  opacity:0;
  transition:opacity 0.3s ease;
}
.ect-track.is-hovering .ect-track__corner{ opacity:1; }
.ect-track__corner svg{ width:100%; height:100%; stroke:var(--ect-heading); stroke-width:2; fill:none; stroke-linecap:round; }
.ect-track__corner path{
  stroke-dasharray:30;
  stroke-dashoffset:30;
  transition:stroke-dashoffset 0.45s var(--ease-smooth);
}
.ect-track.is-hovering .ect-track__corner path{ stroke-dashoffset:0; }
.ect-track__corner--tl{ top:0.3rem; left:0.3rem; }
.ect-track__corner--tr{ top:0.3rem; right:0.3rem; transform:scaleX(-1); }
.ect-track__corner--bl{ bottom:0.3rem; left:0.3rem; transform:scaleY(-1); }
.ect-track__corner--br{ bottom:0.3rem; right:0.3rem; transform:scale(-1); }
.ect-track.is-hovering .ect-track__corner--tr,
.ect-track.is-hovering .ect-track__corner--bl{ transition-delay:0.05s; }
.ect-track.is-hovering .ect-track__corner--br{ transition-delay:0.1s; }
.ect-track.is-hovering .ect-track__corner--tr path,
.ect-track.is-hovering .ect-track__corner--bl path{ transition-delay:0.1s; }
.ect-track.is-hovering .ect-track__corner--br path{ transition-delay:0.15s; }

.ect-track::before{
  content:'';
  position:absolute;
  inset:0;
  z-index:0;
  background:radial-gradient(280px circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,0.65), transparent 70%);
  opacity:0;
  transition:opacity 0.4s ease;
  pointer-events:none;
}
.ect-track.is-hovering::before{ opacity:1; }

.ect-track__watermark{
  position:absolute;
  right:4.4rem;
  top:8.8rem;
  font-family:'Segoe UI', 'Montserrat', sans-serif;
  font-weight:900;
  font-size:12rem;
  line-height:162%;
  color:var(--ect-watermark);
  z-index:0;
  pointer-events:none;
  user-select:none;
  transition:opacity 0.5s ease, transform 0.6s var(--ease-smooth);
}
.ect-track.is-hovering .ect-track__watermark{
  transform:translateY(-0.6rem) scale(1.03);
}

.ect-track__ripple{
  position:absolute;
  border-radius:50%;
  background:radial-gradient(circle, rgba(12,60,1,0.12), transparent 70%);
  transform:translate(-50%,-50%) scale(0);
  pointer-events:none;
  z-index:0;
  animation:ectRipple 0.75s var(--ease-smooth) forwards;
}
@keyframes ectRipple{
  to{ transform:translate(-50%,-50%) scale(1); opacity:0; }
}

.ect-track__head{
  display:flex;
  align-items:center;
  gap:1.6rem;
  position:relative;
  z-index:2;
  margin-bottom:0.9rem;
}

.ect-track__icon{
  flex:0 0 auto;
  width:4.8rem;
  height:4.8rem;
  border-radius:1.6rem;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:transform 0.6s var(--ease-spring), box-shadow 0.4s ease;
}
.ect-track__icon img{
  display:block;
  width:2.8rem;
  height:2.8rem;
  object-fit:contain;
  opacity:0;
  transform:scale(0.72);
}
.ect-route--in .ect-track__icon img{
  animation:ectIconReveal 0.8s var(--ease-spring) forwards;
  animation-delay:calc(var(--i) * 150ms + 550ms);
}
@keyframes ectDraw{ to{ stroke-dashoffset:0; } }

.ect-track.is-hovering .ect-track__icon{
  transform:rotate(-8deg) scale(1.08);
  box-shadow:0 0.6rem 1.4rem rgba(12,60,1,0.16);
}

/* icon responds when a path is unlocked in this card — subtle celebratory pulse ring */
.ect-track__icon.is-charged{
  animation:ectIconCharge 0.6s var(--ease-spring);
}
.ect-track__icon.is-charged::after{
  content:'';
}
@keyframes ectIconCharge{
  0%{ box-shadow:0 0 0 0 rgba(63,138,52,0.5); }
  70%{ box-shadow:0 0 0 1.2rem rgba(63,138,52,0); }
  100%{ box-shadow:0 0 0 0 rgba(63,138,52,0); }
}

.ect-track__title{
  font-family:'Montserrat', sans-serif;
  font-weight:600;
  font-size:2.5rem;
  line-height:150%;
  color:var(--ect-heading);
  margin:0;
}

.ect-track__desc{
  position:relative;
  z-index:2;
  font-family:'Montserrat', sans-serif;
  font-weight:400;
  font-size:1.6rem;
  line-height:150%;
  color:var(--ect-body);
  margin:0 0 2.9rem 0;
  max-width:41.7rem;
}

.ect-track__chain{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:0.8rem;
}

.ect-pill{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:0.5rem;
  padding:0.8rem 1.1rem;
  background:#FFFFFF;
  border:0.133rem solid var(--ect-pill-border);
  border-radius:1.2rem;
  font-family:'Montserrat', sans-serif;
  font-weight:500;
  font-size:1.333rem;
  line-height:125%;
  color:var(--ect-heading);
  white-space:nowrap;
  opacity:0;
  cursor:pointer;
  transform:translateX(-0.8rem) scale(0.9);
  transition:transform 0.35s var(--ease-spring), box-shadow 0.35s ease, background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, padding 0.3s var(--ease-spring);
  -webkit-tap-highlight-color:transparent;
}
.ect-route--in .ect-pill{
  animation:ectPillIn 0.6s var(--ease-spring) forwards;
}
@keyframes ectPillIn{
  to{ opacity:1; transform:translateX(0) scale(1); }
}

.ect-pill:hover{
  border-color:var(--ect-heading);
  box-shadow:0 0.6rem 1.4rem rgba(12,60,1,0.18);
  transform:translateY(-0.2rem) scale(1.04);
}

/* checkmark that morphs in when a pill becomes "active" (selected as current level) */
.ect-pill__check{
  width:0;
  height:1.2rem;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  transition:width 0.35s var(--ease-spring);
}
.ect-pill__check svg{
  width:1.2rem;
  height:1.2rem;
  stroke:#fff;
  stroke-width:3;
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-dasharray:16;
  stroke-dashoffset:16;
  flex:0 0 auto;
}

/* active state: pill "levels up" into a filled solid state, cascading from the start of the chain */
.ect-pill.is-active{
  background:var(--ect-heading);
  border-color:var(--ect-heading);
  color:#fff;
  padding-left:1.3rem;
  animation:ectPillIn 0.6s var(--ease-spring) forwards, ectPillPop 0.5s var(--ease-spring);
}
.ect-pill.is-active .ect-pill__check{ width:1.2rem; }
.ect-pill.is-active .ect-pill__check svg{ stroke-dashoffset:0; transition:stroke-dashoffset 0.35s ease 0.15s; }
@keyframes ectPillPop{
  0%{ transform:scale(1); }
  40%{ transform:scale(1.14); }
  100%{ transform:scale(1); }
}

/* the final/target pill gets a soft ambient ring once the path leading to it is complete */
.ect-track__chain.has-selection .ect-pill:last-of-type.is-active{
  box-shadow:0 0 0 0.5rem rgba(12,60,1,0.1), 0 0.6rem 1.4rem rgba(12,60,1,0.22);
}

.ect-arrow{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:1.4rem;
  height:2.1rem;
  font-family:'Segoe UI', 'Montserrat', sans-serif;
  font-weight:400;
  font-size:1.6rem;
  line-height:2.1rem;
  color:var(--ect-arrow);
  opacity:0;
  transform:translateX(-0.4rem);
  transition:transform 0.3s ease, color 0.3s ease;
}
.ect-route--in .ect-arrow{
  animation:ectArrowIn 0.5s ease forwards;
}
@keyframes ectArrowIn{ to{ opacity:1; transform:translateX(0); } }

.ect-track__chain:hover .ect-arrow{
  animation:ectArrowPulse 1.2s ease-in-out infinite;
}
@keyframes ectArrowPulse{
  0%,100%{ transform:translateX(0); }
  50%{ transform:translateX(0.3rem); }
}

/* arrow "travels" green when the path is unlocked up to it */
.ect-arrow.is-active{
  color:var(--ect-heading);
  animation:none;
}
.ect-arrow.is-active::after{
  content:'';
  position:absolute;
  left:50%; top:50%;
  width:0.5rem; height:0.5rem;
  margin:-0.25rem 0 0 -0.25rem;
  border-radius:50%;
  background:var(--ect-heading);
  animation:ectDotTravel 0.5s var(--ease-smooth) forwards;
}
@keyframes ectDotTravel{
  0%{ transform:translateX(-0.8rem) scale(0.6); opacity:0; }
  50%{ opacity:1; }
  100%{ transform:translateX(0.8rem) scale(0.6); opacity:0; }
}

/* progress rail beneath the chain — fills as stages unlock, like a loading bar for your career */
.ect-track__rail{
  position:relative;
  z-index:2;
  height:0.3rem;
  background:rgba(12,60,1,0.08);
  border-radius:1rem;
  margin-top:1.6rem;
  overflow:hidden;
}
.ect-track__rail-fill{
  position:absolute;
  left:0; top:0; bottom:0;
  width:0%;
  background:linear-gradient(90deg, var(--ect-heading), #3f8a34);
  border-radius:1rem;
  transition:width 0.6s var(--ease-smooth);
}
.ect-track__rail-fill::after{
  content:'';
  position:absolute;
  right:0; top:0; bottom:0;
  width:1.6rem;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,0.55));
  opacity:0;
  transition:opacity 0.3s ease;
}
.ect-track__chain.has-selection ~ .ect-track__rail .ect-track__rail-fill::after{ opacity:1; }

/* particle burst when the final stage is reached */
.ect-particle{
  position:absolute;
  width:0.5rem;
  height:0.5rem;
  border-radius:50%;
  background:#3f8a34;
  pointer-events:none;
  z-index:5;
  animation:ectParticleBurst 0.7s var(--ease-smooth) forwards;
}
@keyframes ectParticleBurst{
  0%{ transform:translate(0,0) scale(1); opacity:1; }
  100%{ transform:var(--pt) scale(0); opacity:0; }
}




:root{
  --ect-green:#0C3C01;
  --ect-cream:#F5F5F3;
  --ect-tri:#D9D9D9;
  --ect-text-dark:#000000;
  --ect-line:#0C3C01;
  --ect-icon-bg:#F5F5F3;
  --rs:1;
}

html{ font-size: 62.5%; }

* { box-sizing: border-box; }

body{
  margin:0;
  font-family:'Montserrat', sans-serif;
  background:#ffffff;
}

.ect-hiring{
  position:relative;
  width:100%;
  max-width:1240px;
  margin:0 auto;
  /* NOTE: this padding-bottom is overridden by the inline
     "UNIFORM 100PX SECTION GAPS" <style> block at the bottom of
     career.html (same specificity, appears later in the document —
     that's the one actually in effect for this page; edit it there,
     not here, if this section's vertical gap ever needs to change). */
  padding: 8rem 2rem 12rem;
  overflow:visible;
}

/* ---------- Header ---------- */
.ect-hiring__header{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  flex-wrap:wrap;
  gap:2rem;
  /* Minimum to clear the tallest upward-opening tooltip (Offer &
     Onboarding) plus a small buffer, measured against actual rendered
     tooltip heights in a real browser (198px needed + ~12px buffer) —
     not a large round-number guess, to avoid reserving more empty
     space than actually required. Desktop only. */
  margin-bottom: 21rem;
}

.ect-hiring__eyebrow{
  font-family:'Outfit', sans-serif;
  font-size:1.6rem;
  font-weight:400;
  letter-spacing:0.02em;
  color:var(--ect-text-dark);
  text-transform:uppercase;
  margin:0 0 1rem 0;
}

.ect-hiring__title{
  font-family:'Montserrat', sans-serif;
  font-size:3.125rem;
  font-weight:600;
  line-height:1.25;
  color:var(--ect-text-dark);
  margin:0;
  max-width:40rem;
  letter-spacing:-0.01em;
}

.ect-hiring__desc{
  font-family:'Montserrat', sans-serif;
  font-size:1.6rem;
  font-weight:400;
  line-height:1.25;
  color:var(--ect-text-dark);
  max-width:33.4rem;
  margin:0.4rem 0 0 0;
  text-align:left;
}

/* ---------- Timeline ---------- */
.ect-hiring__timeline{
  position:relative;
  width:100%;
}

.ect-hiring__path{
  position:absolute;
  top: -0.8rem;
  left:0;
  width:100%;
  height: 10rem;
  pointer-events:none;
  overflow:visible;
  z-index:1;
}

.ect-hiring__path path{
  fill:none;
  stroke: #1F5A1C;
  stroke-width:2;
  stroke-dasharray: 8 8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.ect-hiring__steps{
  position:relative;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  z-index:2;
}

.ect-hiring__step{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  width:20%;
}

/* Stagger vertical position to match the wavy line */
.ect-hiring__step:nth-child(1){ margin-top: 1.2rem; }
.ect-hiring__step:nth-child(2){ margin-top: 2.4rem; }
.ect-hiring__step:nth-child(3){ margin-top: 1.2rem; }
.ect-hiring__step:nth-child(4){ margin-top: 0; }
.ect-hiring__step:nth-child(5){ margin-top: 1.2rem; }

.ect-hiring__icon-wrap{
  position:relative;
  width:7.6rem;
  height:7.6rem;
  border-radius:50%;
  background:var(--ect-icon-bg);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:1.6rem;
  cursor:pointer;
  transition: transform .25s ease;
}

.ect-hiring__step:hover .ect-hiring__icon-wrap{
  transform: translateY(-3px);
}

.ect-hiring__icon-wrap img{
  display:block;
  width:4.4rem;
  height:4.4rem;
  object-fit:contain;
}

.ect-hiring__label{
  font-family:'Montserrat', sans-serif;
  font-size:1.6rem;
  font-weight:600;
  line-height:1.25;
  color:var(--ect-text-dark);
  white-space:nowrap;
  margin:0;
}

/* ---------- Tooltip ---------- */
.ect-hiring__tooltip{
  position:absolute;
  left:50%;
  transform: translateX(-50%) translateY(6px);
  width:27rem;
  background: var(--ect-cream);
  color:var(--ect-text-dark);
  font-family:'Montserrat', sans-serif;
  font-size:1.6rem;
  font-weight:400;
  line-height:1.5;
  padding:1.6rem 2rem;
  border-radius:0.1rem;
  text-align:center;
  opacity:0;
  pointer-events:none;
  transition: opacity .25s ease, transform .25s ease;
  z-index:5;
  box-shadow: 0.5rem 0.5rem 0 -0.4rem var(--ect-tri);
}

.ect-hiring__tooltip::after{
  content:"";
  position:absolute;
  left:50%;
  width:1.4rem;
  height:1.4rem;
  background: var(--ect-cream);
  transform: translateX(-50%) rotate(45deg);
}

.ect-hiring__tooltip--top::after{
  bottom:-0.6rem;
}

.ect-hiring__tooltip--bottom::after{
  top:-0.6rem;
}

.ect-hiring__tooltip--top{
  bottom: calc(100% + 3rem);
}

.ect-hiring__tooltip--bottom{
  top: calc(100% + 3rem);
}

.ect-hiring__step:hover .ect-hiring__tooltip,
.ect-hiring__step.is-active .ect-hiring__tooltip{
  opacity:1;
  transform: translateX(-50%) translateY(0);
  pointer-events:auto;
}

.ect-hiring__step:hover .ect-hiring__tooltip--top,
.ect-hiring__step.is-active .ect-hiring__tooltip--top{
  transform: translateX(-50%) translateY(-4px);
}

.ect-hiring__step.is-active .ect-hiring__icon-wrap{
  transform: translateY(-3px);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px){
  /* The 5 steps become a horizontal auto+manual scroll rail (see
     career.js: every 3s the next card centers itself and shows its
     tooltip, same as the desktop hover/active tooltip). Every
     tooltip is forced to open downward here (instead of Figma's
     alternating top/bottom) so a single generous padding-bottom on
     the rail is enough to keep it from being clipped by the rail's
     own horizontal overflow — an upward-opening tooltip would need
     matching padding-top too, which is unnecessary complexity for
     what's otherwise a plain vertical list of cards on mobile. */
  .ect-hiring__path{ display:none; }

  .ect-hiring__steps{
    flex-wrap:nowrap;
    justify-content:flex-start;
    align-items:flex-start;
    overflow-x:auto;
    overflow-y:visible;
    -webkit-overflow-scrolling:touch;
    scroll-behavior:smooth;
    scroll-snap-type:x mandatory;
    gap:0;
    padding-bottom:2rem;
    scrollbar-width:none;
  }
  .ect-hiring__steps::-webkit-scrollbar{
    display:none;
  }

  /* One card fills the whole screen at a time — the neighbouring
     cards (and their tooltip data) sit fully outside the visible
     area instead of peeking in, whether auto-advancing or manually
     swiping. */
  .ect-hiring__step{
    flex:0 0 100%;
    width:100%;
    margin-top:0 !important;
    scroll-snap-align:center;
  }

  /* The tooltip used to be absolutely positioned below the icon,
     which meant the container needed a hand-guessed padding-bottom
     tall enough for the longest description — too little and the
     first card's (longer) text got clipped. Since only one full-
     width card is ever visible at a time now, there's no more risk
     of tooltips "blending" between cards, so the tooltip can just
     sit in normal flow instead and the card grows to fit whatever
     text it has automatically. */
  .ect-hiring__tooltip{
    position:static !important;
    opacity:1 !important;
    pointer-events:auto !important;
    transform:none !important;
    width:100%;
    max-width:27rem;
    margin:2rem auto 0 !important;
    box-shadow:none;
  }
  .ect-hiring__tooltip::after{
    display:none !important;
  }
}

@media (max-width: 640px){
  .ect-hiring{ padding: 5rem 1.6rem 8rem; }
  .ect-hiring__header{ margin-bottom:6rem; }
  .ect-hiring__title{ font-size:2.6rem; }
  .ect-hiring__tooltip{ width:100%; max-width:18rem; font-size:1.2rem; padding:1.4rem 1.6rem; }
}

@media (prefers-reduced-motion: reduce){
  .ect-hiring__icon-wrap, .ect-hiring__tooltip{ transition:none; }
}











/* ============================================================
   VARIABLES
============================================================ */

:root {
  --ect-green: #0C3C01;
  --ect-green-hover: #102F08;

  --ect-black: #000000;
  --ect-white: #FFFFFF;
}


/* ============================================================
   RESET
============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: #FFFFFF;
}


/* ============================================================
   SECTION
============================================================ */

.ect-join {
  width: 100%;

  margin-bottom: 100px;
  padding: 0 24px;

  background: #FFFFFF;
  color: var(--ect-black);

  overflow: visible;
  /* border:2px solid red; */
}


.ect-join__inner {
  width: min(1240px, 100%);
  min-height: 677px;

  margin: 0 auto;
  padding: 0;

  overflow: visible;
}


/* ============================================================
   HEADER
   FIGMA: 1240 × 110
============================================================ */

.ect-join__header {
  position: relative;

  width: 100%;
  height: 110px;

  margin: 0 0 32px;
  padding: 0;
}


/* ============================================================
   LEFT HEADER GROUP
   FIGMA:
   width  = 455
   height = 110
============================================================ */

.ect-join__heading-block {
  position: absolute;

  left: 0;
  top: 0;

  width: 455px;
  height: 110px;
}


/* ============================================================
   EYEBROW

   Figma:
   page x = 105
   section x = 100
   local x = 5px

   110 × 24
============================================================ */

.ect-join__eyebrow {
  position: absolute;

  left: 5px;
  top: 0;

  width: 110px;
  height: 24px;

  margin: 0;
  padding: 0;

  font-family: "Outfit", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;

  letter-spacing: 0;

  color: #000000;

  white-space: nowrap;
}


/* ============================================================
   HEADING

   Figma:
   455 × 78
   y = 32px
============================================================ */

.ect-join__title {
  position: absolute;

  left: 0;
  top: 32px;

  width: 455px;
  height: 78px;

  margin: 0;
  padding: 0;

  font-family: "Montserrat", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 31.25px;

  line-height: 1.25;

  letter-spacing: 0;

  color: #000000;
}


/* ============================================================
   RIGHT INTRO

   Figma:
   page x = 881
   section x = 100

   local x = 781

   local y:
   756 - 718 = 38px

   459 × 72
============================================================ */

.ect-join__intro {
  position: absolute;

  left: 781px;
  top: 38px;

  width: 459px;
  height: 72px;

  margin: 0;
  padding: 0;

  font-family: "Montserrat", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;

  line-height: 24px;

  letter-spacing: 0;

  color: #000000;
}


/* ============================================================
   VISUAL WRAPPER
============================================================ */

.ect-join__visual {
  position: relative;

  width: 1240px;
  height: 535px;

  max-width: 100%;

  margin: 0;
  padding: 0;

  overflow: visible;

  background: transparent;

  isolation: isolate;
}


/* ============================================================
   EXACT FIGMA IMAGE

   Important:
   No CSS clip-path.
   No border-radius approximation.
   No ::before / ::after notch.
   No white rectangle.

   The inline SVG in HTML contains the real Figma path.
============================================================ */

.ect-join__media-svg {
  position: absolute;

  left: 0;
  top: 0;

  z-index: 1;

  display: block;

  width: 1240px;
  height: 535px;

  max-width: 100%;

  margin: 0;
  padding: 0;

  overflow: visible;

  pointer-events: none;

  user-select: none;
  margin-bottom: 100px;
}


/* ============================================================
   CTA
   FIGMA EXACT

   Page coordinates:
   x = 1164
   y = 1355

   Media:
   x = 100
   y = 860

   Therefore:

   local x = 1064
   local y = 495

   size:
   176 × 40
============================================================ */

.ect-join__cta {
  position: absolute;

  z-index: 5;

  left: 1064px;
  top: 495px;

  width: 176px;
  height: 40px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  margin: 0;

  padding: 8px 10px;

  border: 0;

  border-radius: 8px;

  background: var(--ect-green);

  color: #FFFFFF;

  font-family: "Outfit", sans-serif;

  font-style: normal;
  font-weight: 400;

  font-size: 16px;
  line-height: 24px;

  letter-spacing: 0;

  text-align: center;

  text-decoration: none;

  white-space: nowrap;

  cursor: pointer;

  transform-origin: center;

  transition:
    transform 220ms cubic-bezier(.22, 1, .36, 1),
    background-color 220ms ease,
    box-shadow 220ms ease;
}


/* ============================================================
   CTA INTERACTION
============================================================ */

.ect-join__cta:hover {
  background: var(--ect-green-hover);

  transform: translateY(-2px);
}


.ect-join__cta:active {
  transform: translateY(0) scale(.98);
}


.ect-join__cta:focus-visible {
  outline: 3px solid rgba(12, 60, 1, .25);
  outline-offset: 4px;
}


/* ============================================================
   RESPONSIVE — SMALL LAPTOP / TABLET

   Since SVG uses:
   viewBox="0 0 1240 535"

   the exact Figma curve automatically scales.

   We only need to scale the CTA coordinates.
============================================================ */

@media (max-width: 1287px) {

  .ect-join__visual {
    width: 100%;
    height: auto;

    aspect-ratio: 1240 / 535;
  }


  .ect-join__media-svg {
    width: 100%;
    height: 100%;
  }


  .ect-join__cta {
    left: auto;
    top: auto;

    right: 0;
    bottom: 0;

    /*
      176 / 1240
      = 14.193548%
    */

    width: 14.193548%;

    height: auto;

    aspect-ratio: 176 / 40;

    padding: 0;

    font-size: clamp(
      11px,
      1.29vw,
      16px
    );

    line-height: 1;
  }

}


/* ============================================================
   SMALL LAPTOP / TABLET
============================================================ */

@media (max-width: 1287px) {

  .ect-join {
    padding-left: 20px;
    padding-right: 20px;
    /* Desktop's 100px bottom margin plus the mobile "Life at ECT"
       section's own top padding was leaving a very large empty gap
       above that section on tablet/mobile. Desktop is untouched. */
    margin-bottom: 40px;
  }


  .ect-join__inner {
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  /* Unwrap the header so its two children (heading-block, intro)
     become reorderable alongside .ect-join__visual — the intro
     paragraph moves to the end of the section, below the image. */
  .ect-join__header {
    display: contents;
  }

  .ect-join__heading-block {
    order: 1;
    position: static;
    left: auto;
    top: auto;
    display: grid;
    gap: 8px;
    width: 100%;
    height: auto;
    margin-bottom: 18px;
  }

  .ect-join__visual {
    order: 2;
  }

  .ect-join__intro {
    order: 3;
    margin-top: 20px;
  }

  .ect-join__eyebrow,
  .ect-join__title,
  .ect-join__intro {
    position: static;

    width: 100%;
    height: auto;
  }


  .ect-join__eyebrow {
    margin: 0;
  }


  .ect-join__title {
    max-width: 540px;

    font-size: clamp(
      26px,
      4vw,
      31.25px
    );
  }


  .ect-join__intro {
    max-width: 620px;
  }

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 640px) {

  .ect-join {
    padding-left: 16px;
    padding-right: 16px;
    margin-bottom: 28px;
  }


  .ect-join__eyebrow {
    font-size: 14px;
    line-height: 21px;
  }


  .ect-join__title {
    font-size: 25px;
    line-height: 1.25;
  }


  .ect-join__intro {
    font-size: 15px;
    line-height: 23px;
  }


  /*
    On very narrow screens the exact Figma button becomes
    too small for readable text.

    We preserve its bottom-right relationship while
    maintaining usability.
  */

  .ect-join__cta {
    width: auto;

    min-width: 148px;
    height: 36px;

    right: 0;
    bottom: 0;

    padding: 6px 10px;

    font-size: 14px;
    line-height: 20px;
  }

}


/* ============================================================
   REDUCED MOTION
============================================================ */

@media (prefers-reduced-motion: reduce) {

  .ect-join__cta {
    transition: none;
  }

}







* { box-sizing: border-box; }



/* Group 1000001853 — outer wrapper, 1240x382 */
.talent-wrap {
  position: relative;
  width: 1240px;
  max-width: calc(100% - 48px); /* Add padding on small screens */
  height: 382px;
  margin: 200px auto; /* Centers the block horizontally and adds top/bottom gap */
}

/* Rectangle 3852 — background card */
.talent-bg {
  position: absolute;
  inset: 0;
  width: 1240px;
  height: 382px;
  background: #F0EEEC;
  border-radius: 24px;
  overflow: hidden;
}

/* ChatGPT Image ... — illustration, mirrored, right side */
/* Note: Make sure the image filename matches exactly in your folder */
.talent-image {
  position: absolute;
  width: 454px;
  height: 382px;
  left: 708px;
  top: 0;
  background: #E3E0DC;
  transform: matrix(-1, 0, 0, 1, 0, 0);
}

/* Group 1000001847 — eyebrow row */
.talent-eyebrow {
  position: absolute;
  left: 79px;
  top: 99px;
  width: max-content;
  height: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.talent-eyebrow .line {
  display: inline-block;
  width: 22px;
  height: 1px;
  background: #000000;
}

.talent-eyebrow .label {
  font-family: 'Segoe UI', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 1.44px;
  text-transform: uppercase;
  color: #000000;
  white-space: nowrap;
}

/* Join our talent network. */
.talent-heading {
  position: absolute;
  left: 79px;
  top: 115px;
  width: 492px;
  height: 49px;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 39.06px;
  line-height: 125%;
  color: #000000;
}

/* Share your profile... */
.talent-subtext {
  position: absolute;
  left: 79px;
  top: 172px;
  width: 589px;
  height: 48px;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #566252;
}

/* Frame 29 — button */
.talent-btn {
  position: absolute;
  left: 79px;
  top: 244px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 8px 10px;
  width: 134px;
  height: 40px;
  background: #0C3C01;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.talent-btn:hover {
  background: #154603; /* Added a slight hover effect for better UX */
}

.talent-btn span {
  font-family: 'Outfit', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: #FFFFFF;
}

/* ============================================================
   TALENT CTA BANNER — RESPONSIVE (mobile & tablet, <=1024px)
   The desktop version is a pixel-exact 1240x382 Figma canvas with
   absolutely-positioned children. A flat transform:scale(0.8) here
   previously left the fixed-1240px .talent-bg/.talent-image
   overflowing their own (correctly shrunk) .talent-wrap parent at
   every width below ~1550px. Below 1024px we drop the fixed
   canvas for a natural stacked card instead; desktop (>1024px) is
   untouched.
============================================================ */
@media (max-width: 1279px) {
  .talent-wrap {
    width: calc(100% - 40px);
    height: auto;
    margin: 64px auto;
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    overflow: hidden;
    background: #F0EEEC;
  }

  .talent-bg { display: none; }

  .talent-image {
    position: static;
    width: 100%;
    height: 220px;
    left: auto;
    top: auto;
    transform: none;
  }

  /* Show the full photo instead of cropping it to fill the fixed-
     height box. !important is required to beat the inline
     object-fit:cover on the <img> tag itself. */
  .talent-image img {
    object-fit: contain !important;
    background: #F0EEEC;
  }

  .talent-eyebrow,
  .talent-heading,
  .talent-subtext,
  .talent-btn {
    position: static;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
  }

  .talent-eyebrow { margin: 28px 24px 0; }

  .talent-heading {
    margin: 14px 24px 0;
    font-size: clamp(24px, 6vw, 32px);
    line-height: 1.25;
  }

  .talent-subtext { margin: 10px 24px 0; }

  .talent-btn { margin: 22px 24px 28px; }
}

@media (max-width: 640px) {
  .talent-wrap { margin: 48px auto; }
  .talent-image { height: 180px; }
}

/* safe to drop into any existing site */
.journey, .journey *, .cursor, .cursor *{
  box-sizing:border-box; margin:0; padding:0;
}

.journey{
  font-family: "Montserrat";
  color:var(--c-body);
  -webkit-font-smoothing:antialiased;
}
.cursor{ font-family: "Montserrat"; }

.journey img{ display:block; width:100%; object-fit:cover; }

/* ============================================================
   SECTION SHELL
   ============================================================ */
.journey{
  max-width:var(--section-max);
  margin:0 auto;
  padding:4rem var(--pad-x);
  background:var(--c-bg);
}

/* ============================================================
   TOP TWO-COLUMN HEADER
   ============================================================ */
.journey__header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:2rem;
  margin-bottom:2.5rem;
  padding: 0 100px;
}

.journey__left {
  display: flex;
  flex-direction: column;
}

.journey__label{
  font-family: 'Outfit', sans-serif;
  display:block;
  font-size:16px;
  font-weight:400;
  color:#000000;
  margin-bottom:8px;
}

.journey__heading{
  font-family: 'Montserrat', sans-serif;
  font-size:31.25px;
  font-weight:600;
  line-height:1.25;
  color:#000000;
  max-width: 415px;
}

.journey__text{
  font-family: 'Montserrat', sans-serif;
  font-size:16px;
  font-weight:400;
  line-height:1.25;
  color:#000000;
  max-width:480px;
  margin-bottom: -32px; /* Visual adjustment for center alignment with heading */
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery{
  position:relative;
  overflow:hidden;
  cursor:none;                  /* custom cursor territory */
  user-select:none;
  -webkit-user-select:none;
  touch-action:pan-y;
}

.gallery__track{
  display:flex;
  
  width:max-content;
  will-change:transform;
}

/* each copy of the gallery content */
.gallery__set{
  display:flex;
  
  flex-shrink:0;
}

.gallery__col{
  display:flex;
  flex-direction:column;
  
  flex-shrink:0;
}

/* image wrapper controls fixed size + rounded corners */
.tile{
  border-radius:var(--radius);
  overflow:hidden;
  flex-shrink:0;
  transform:translateZ(0);      /* keep radius clipping during scale on Safari */
}
.tile img{
  height:100%;
  transition:transform var(--hover-time) ease;
  will-change:transform;
}
.tile:hover img{ transform:scale(var(--hover-scale)); }

/* ---- Column / tile sizing (desktop reference proportions) ---- */
/* Gap is 22px */
.gallery__track{
  display:flex;
  gap:22px;
  width:max-content;
  will-change:transform;
}

.gallery__set{
  display:flex;
  gap:22px;
  flex-shrink:0;
}

.gallery__col{
  display:flex;
  flex-direction:column;
  gap:17px;
  flex-shrink:0;
}

/* Column 1: two stacked */
.col-1{ width:280px; }
.col-1 .tile:nth-child(1){ height:139px; }
.col-1 .tile:nth-child(2){ height:276px; }

/* Column 2: one large portrait */
.col-2{ width:493px; }
.col-2 .tile{ height:432px; }

/* Column 3: two stacked */
.col-3{ width:309px; }
.col-3 .tile:nth-child(1){ height:275px; }
.col-3 .tile:nth-child(2){ height:140px; }

/* Column 6: two stacked (mirrors column 1) */
.col-6{ width:280px; }
.col-6 .tile:nth-child(1){ height:139px; }
.col-6 .tile:nth-child(2){ height:276px; }

/* Column 7: two stacked (mirrors column 3) */
.col-7{ width:309px; }
.col-7 .tile:nth-child(1){ height:275px; }
.col-7 .tile:nth-child(2){ height:140px; }

/* Column 8: two stacked (mirrors column 1) */
.col-8{ width:280px; }
.col-8 .tile:nth-child(1){ height:139px; }
.col-8 .tile:nth-child(2){ height:276px; }

/* Column 9: two stacked (mirrors column 3) */
.col-9{ width:309px; }
.col-9 .tile:nth-child(1){ height:275px; }
.col-9 .tile:nth-child(2){ height:140px; }

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor{
  position:fixed;
  top:0; left:0;
  width:var(--cursor-size);
  height:var(--cursor-size);
  margin:calc(var(--cursor-size) / -2) 0 0 calc(var(--cursor-size) / -2);
  pointer-events:none;
  z-index:999;
  will-change:transform;
}

/* glass disc — scales in with a soft overshoot spring */
.cursor__disc{
  position:absolute;
  inset:0;
  border-radius:50%;
  background:rgba(255,255,255,.95);
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 10px 30px rgba(0,0,0,.12);
  transform:scale(0);
  transition:transform .45s cubic-bezier(.34,1.56,.64,1); /* springy pop */
  will-change:transform;
}
.cursor.is-visible .cursor__disc{ transform:scale(1); }
.cursor.is-dragging .cursor__disc{
  transform:scale(1.17);                    /* 70px → ~82px */
  background:rgba(17,17,17,.92);
  border-color:rgba(255,255,255,.12);
  transition:transform .3s cubic-bezier(.34,1.56,.64,1),
             background .3s ease, border-color .3s ease;
}

/* rotating dashed orbit ring — only spins while dragging */
.cursor__ring{
  position:absolute;
  inset:-6px;
  border-radius:50%;
  border:1.5px dashed rgba(17,17,17,.35);
  opacity:0;
  transform:scale(.6);
  transition:opacity .3s ease, transform .3s cubic-bezier(.34,1.56,.64,1);
  animation:cursor-spin 6s linear infinite;
  animation-play-state:paused;
}
.cursor.is-dragging .cursor__ring{
  opacity:1;
  transform:scale(1.05);
  border-color:rgba(255,255,255,.4);
  animation-play-state:running;
}
@keyframes cursor-spin{ to{ transform:scale(1.05) rotate(360deg); } }

/* arrow stage — clips the sliding arrows */
.cursor__stage{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:50%;
}

/* two SVG arrows live in the stage; only one is active */
.cursor__arrow{
  position:absolute;
  width:32px;
  height:24px;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  transition:transform .35s cubic-bezier(.22,1,.36,1), opacity .25s ease;
  will-change:transform;
}
.cursor__arrow svg{
  width:100%;
  height:100%;
  stroke:#111;
  stroke-width:2.6;
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round;
  transition:stroke .3s ease;
}
.cursor.is-dragging .cursor__arrow svg{ stroke:#fff; }

/* double-chevron wave: the two chevrons pulse one after another,
   like a "keep going this way" signal */
.chev{ opacity:.9; }
.cursor[data-dir]:not(.is-dragging) .chev-1{ animation:chev-wave 1.4s ease-in-out infinite; }
.cursor[data-dir]:not(.is-dragging) .chev-2{ animation:chev-wave 1.4s ease-in-out .2s infinite; }
@keyframes chev-wave{
  0%,100%{ opacity:.25; }
  40%{ opacity:1; }
}
/* while dragging, both chevrons go solid — steady, confident */
.cursor.is-dragging .chev{ animation:none; opacity:1; }

/* tiny DRAG label — hidden at rest, fades up while dragging */
.cursor__label{
  position:absolute;
  bottom:11px;
  left:50%;
  transform:translate(-50%, 6px);
  font-size:8px;
  font-weight:800;
  letter-spacing:2.5px;
  color:rgba(255,255,255,.75);
  opacity:0;
  transition:opacity .3s ease .1s, transform .3s cubic-bezier(.22,1,.36,1) .1s;
  pointer-events:none;
}
.cursor.is-dragging .cursor__label{
  opacity:1;
  transform:translate(-50%, 0);
}
/* nudge arrows up slightly while dragging to make room for the label */
.cursor.is-dragging .cursor__arrow{ margin-bottom:8px; }

/* resting positions: parked offstage on their own side */
.cursor__arrow--left { transform:translateX(-150%); }
.cursor__arrow--right{ transform:translateX(150%); }

/* active arrow slides to center */
.cursor[data-dir="left"]  .cursor__arrow--left,
.cursor[data-dir="right"] .cursor__arrow--right{
  transform:translateX(0);
  opacity:1;
}
/* the outgoing arrow exits through the opposite edge for a fly-through feel */
.cursor[data-dir="right"] .cursor__arrow--left { transform:translateX(150%); opacity:0; }
.cursor[data-dir="left"]  .cursor__arrow--right{ transform:translateX(-150%); opacity:0; }

/* idle nudge — arrow breathes sideways to invite dragging */
.cursor[data-dir="left"]:not(.is-dragging)  .cursor__arrow--left { animation:nudge-l 1.8s ease-in-out .6s infinite; }
.cursor[data-dir="right"]:not(.is-dragging) .cursor__arrow--right{ animation:nudge-r 1.8s ease-in-out .6s infinite; }
@keyframes nudge-l{ 0%,100%{ transform:translateX(0); } 50%{ transform:translateX(-5px); } }
@keyframes nudge-r{ 0%,100%{ transform:translateX(0); } 50%{ transform:translateX(5px); } }

/* click ripple ping */
.cursor__ping{
  position:absolute;
  inset:0;
  border-radius:50%;
  border:2px solid rgba(17,17,17,.5);
  opacity:0;
  transform:scale(1);
}
.cursor.is-pinging .cursor__ping{
  animation:ping .5s cubic-bezier(.22,1,.36,1) forwards;
}
@keyframes ping{
  0%{ opacity:.8; transform:scale(.9); }
  100%{ opacity:0; transform:scale(1.7); }
}

@media (prefers-reduced-motion:reduce){
  .cursor__arrow, .cursor__ring{ animation:none !important; }
}

/* Hide custom cursor on touch devices */
@media (hover:none){
  .cursor{ display:none; }
  .gallery{ cursor:default; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1200px){
  .journey__heading{ font-size:2.25rem; }   /* 36px laptop */
}

@media (max-width:900px){
  :root{ --pad-x:1.5rem; }                  /* 24px tablet */
  .journey__heading{ font-size:1.875rem; }  /* 30px */
  .journey__header{ flex-direction:column; align-items:flex-start; padding: 0; }
  /* Uniformly scaled replica of the desktop masonry (single scale
     factor applied to widths, tile heights AND the internal gap so
     every column's stacked total stays equal, exactly like desktop's
     139+17+276 = 275+17+140 = 432 alignment — a per-column-type scale
     would break that equality, which is what caused the earlier
     mismatch. The single-image column (col-2) has no matching pair to
     stack against, so it's hidden here rather than resized. */
  .gallery__track, .gallery__set{ gap:13px; }
  .gallery__col{ gap:10px; }
  .col-1{ width:168px; }
  .col-1 .tile:nth-child(1){ height:83px; }
  .col-1 .tile:nth-child(2){ height:166px; }
  .col-2{ display:none; }
  .col-3{ width:185px; }
  .col-3 .tile:nth-child(1){ height:165px; }
  .col-3 .tile:nth-child(2){ height:84px; }
  .col-4{ width:11rem; }
  .col-4 .tile--landscape{ height:7.75rem; }
  .col-4 .tile--portrait{ height:11.25rem; }
  .col-6{ width:168px; }
  .col-6 .tile:nth-child(1){ height:83px; }
  .col-6 .tile:nth-child(2){ height:166px; }
  .col-7{ width:185px; }
  .col-7 .tile:nth-child(1){ height:165px; }
  .col-7 .tile:nth-child(2){ height:84px; }
  .col-8{ width:168px; }
  .col-8 .tile:nth-child(1){ height:83px; }
  .col-8 .tile:nth-child(2){ height:166px; }
  .col-9{ width:185px; }
  .col-9 .tile:nth-child(1){ height:165px; }
  .col-9 .tile:nth-child(2){ height:84px; }
}

@media (max-width:600px){
  :root{ --pad-x:1.125rem; }                /* 18px mobile */
  .journey__heading{ font-size:1.5rem; }    /* 24px */
  /* Same uniform-scale approach as the 900px tier above, at a
     smaller factor. col-2 stays hidden here too. */
  .gallery__track, .gallery__set{ gap:9px; }
  .gallery__col{ gap:7px; }
  .col-1{ width:118px; }
  .col-1 .tile:nth-child(1){ height:58px; }
  .col-1 .tile:nth-child(2){ height:116px; }
  .col-2{ display:none; }
  .col-3{ width:130px; }
  .col-3 .tile:nth-child(1){ height:115px; }
  .col-3 .tile:nth-child(2){ height:59px; }
  .col-4{ width:8.5rem; }
  .col-4 .tile--landscape{ height:6rem; }
  .col-4 .tile--portrait{ height:8.5rem; }
  .col-6{ width:118px; }
  .col-6 .tile:nth-child(1){ height:58px; }
  .col-6 .tile:nth-child(2){ height:116px; }
  .col-7{ width:130px; }
  .col-7 .tile:nth-child(1){ height:115px; }
  .col-7 .tile:nth-child(2){ height:59px; }
  .col-8{ width:118px; }
  .col-8 .tile:nth-child(1){ height:58px; }
  .col-8 .tile:nth-child(2){ height:116px; }
  .col-9{ width:130px; }
  .col-9 .tile:nth-child(1){ height:115px; }
  .col-9 .tile:nth-child(2){ height:59px; }
}

@media (prefers-reduced-motion:reduce){
  .tile img{ transition:none; }
}


/* ============================================================
   CAREERS FAQ
   Reuses the established ECT two-column accordion pattern.
   ============================================================ */
.career-faq{
  --career-faq-card:#f1f1ef;
  --career-faq-ink:#111312;
  --career-faq-soft:#5b5f5c;
  --career-faq-line:#e1e3de;
  --career-faq-accent:#1f6f54;
  --career-faq-accent-soft:#e7f2ed;
  --career-faq-radius:14px;
  --career-faq-ease:cubic-bezier(.4,0,.2,1);
  --career-faq-spring:cubic-bezier(.34,1.4,.44,1);
  width:min(1240px, calc(100% - 48px));
  margin:0 auto 100px;
  padding:72px 20px 0;
  position:relative;
  background:transparent;
}

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

.career-faq .faq-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:14px;
  color:var(--career-faq-accent);
  font-family:"Montserrat", sans-serif;
  font-size:16px;
  font-weight:400;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.career-faq .faq-eyebrow::before{
  content:"";
  display:inline-block;
  width:26px;
  height:2px;
  background:var(--career-faq-accent);
  transform-origin:left;
  animation:careerFaqGrow .8s var(--career-faq-ease) both .2s;
}

@keyframes careerFaqGrow{
  from{transform:scaleX(0)}
  to{transform:scaleX(1)}
}

.career-faq .faq-title{
  max-width:620px;
  margin:0;
  color:var(--career-faq-ink);
  font-family:"Montserrat", sans-serif;
  font-size:31px;
  font-weight:600;
  line-height:1.15;
  letter-spacing:-.02em;
}

.career-faq .faq-sub{
  max-width:370px;
  margin:0;
  color:var(--career-faq-soft);
  font-family:"Montserrat", sans-serif;
  font-size:15px;
  line-height:1.55;
}

.career-faq .faq-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:16px 24px;
  align-items:start;
}

.career-faq .faq-item{
  overflow:hidden;
  background:var(--career-faq-card);
  border:1px solid transparent;
  border-radius:var(--career-faq-radius);
  opacity:0;
  transform:translateY(26px);
  transition:border-color .3s var(--career-faq-ease), box-shadow .35s var(--career-faq-ease), transform .35s var(--career-faq-ease);
  will-change:transform, opacity;
}

.career-faq .faq-item.faq-in-view{
  animation:careerFaqRise .65s var(--career-faq-ease) forwards;
}

@keyframes careerFaqRise{
  to{opacity:1;transform:translateY(0)}
}

.career-faq .faq-item:hover{
  border-color:rgba(31,111,84,.35);
  box-shadow:0 12px 32px -12px rgba(17,19,18,.12);
  transform:translateY(-2px);
}

.career-faq .faq-item.open{
  border-color:var(--career-faq-accent);
  box-shadow:0 16px 40px -14px rgba(31,111,84,.22);
}

.career-faq .faq-q{
  width:100%;
  min-height:64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 16px 14px 20px;
  background:none;
  border:0;
  cursor:pointer;
  color:var(--career-faq-ink);
  font-family:"Montserrat", sans-serif;
  font-size:15px;
  font-weight:600;
  line-height:1.4;
  text-align:left;
  transition:color .25s var(--career-faq-ease);
}

.career-faq .faq-item.open .faq-q{
  color:var(--career-faq-accent);
}

.career-faq .faq-icon{
  flex:0 0 34px;
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--career-faq-accent-soft);
  color:var(--career-faq-accent);
  transition:transform .45s var(--career-faq-spring), background .3s var(--career-faq-ease), color .3s var(--career-faq-ease);
}

.career-faq .faq-icon svg{
  width:15px;
  height:15px;
  transition:transform .45s var(--career-faq-spring);
}

.career-faq .faq-item:hover .faq-icon{
  transform:scale(1.08);
}

.career-faq .faq-item.open .faq-icon{
  background:var(--career-faq-accent);
  color:#fff;
  transform:rotate(180deg);
}

.career-faq .faq-a{
  display:grid;
  grid-template-rows:0fr;
  transition:grid-template-rows .5s var(--career-faq-ease);
}

.career-faq .faq-item.open .faq-a{
  grid-template-rows:1fr;
}

.career-faq .faq-a-inner{
  overflow:hidden;
}

.career-faq .faq-a-inner p{
  margin:0;
  padding:0 20px 20px;
  color:var(--career-faq-soft);
  font-family:"Montserrat", sans-serif;
  font-size:14px;
  line-height:1.6;
  opacity:0;
  transform:translateY(-6px);
  transition:opacity .4s var(--career-faq-ease) .1s, transform .4s var(--career-faq-ease) .1s;
}

.career-faq .faq-item.open .faq-a-inner p{
  opacity:1;
  transform:translateY(0);
}

.career-faq .faq-item::after{
  content:"";
  display:block;
  height:3px;
  background:linear-gradient(90deg,var(--career-faq-accent),#5cbf9a);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .55s var(--career-faq-ease);
}

.career-faq .faq-item.open::after{
  transform:scaleX(1);
}

.career-faq .faq-q:focus-visible{
  outline:2px solid var(--career-faq-accent);
  outline-offset:-2px;
  border-radius:var(--career-faq-radius);
}

@media (max-width:900px){
  .career-faq{
    width:calc(100% - 36px);
    padding:56px 0 0;
  }
  .career-faq .faq-grid{grid-template-columns:1fr}
}

@media (max-width:560px){
  .career-faq{
    width:calc(100% - 32px);
    margin-bottom:80px;
  }
  .career-faq .faq-head{margin-bottom:34px}
  .career-faq .faq-title{font-size:27px}
  .career-faq .faq-q{padding:14px 14px 14px 16px;font-size:14px}
  .career-faq .faq-a-inner p{padding:0 16px 18px}
  .career-faq .faq-icon{flex-basis:30px;width:30px;height:30px}
}

@media (prefers-reduced-motion:reduce){
  .career-faq .faq-eyebrow::before{animation:none!important}
  .career-faq .faq-item{opacity:1;transform:none;transition:none!important}
  .career-faq .faq-item.faq-in-view{animation:none!important}
  .career-faq .faq-q,
  .career-faq .faq-icon,
  .career-faq .faq-icon svg,
  .career-faq .faq-a,
  .career-faq .faq-a-inner p,
  .career-faq .faq-item::after{transition:none!important}
}






/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root{
  --font: 'Manrope', system-ui, sans-serif;
  --c-bg: #ffffff;
  --c-heading: #111111;
  --c-label: #666666;
  --c-body: #555555;
  --radius: 1.125rem;            /* 18px */
  --gap: 0.75rem;                /* 12px */
  --pad-x: 2rem;                 /* 32px desktop */
  --section-max: 87.5rem;        /* 1400px */
  --cursor-size: 70px;
  --cursor-size-drag: 82px;
  --hover-scale: 1.05;
  --hover-time: 0.45s;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
/* Scoped reset — only touches this section and the cursor,
   safe to drop into any existing site */
.journey, .journey *, .cursor, .cursor *{
  box-sizing:border-box; margin:0; padding:0;
}

.journey{
  font-family: "Montserrat";
  color:var(--c-body);
  -webkit-font-smoothing:antialiased;
}
.cursor{ font-family: "Montserrat"; }

.journey img{ display:block; width:100%; object-fit:cover; }

/* ============================================================
   SECTION SHELL
   ============================================================ */
.journey{
  max-width:1240px;
  margin:0 auto;
  padding:4rem var(--pad-x);
  background:var(--c-bg);
}

/* ============================================================
   TOP TWO-COLUMN HEADER
   ============================================================ */
.journey__header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:2rem;
  margin-bottom:2.5rem;
}

.journey__left {
  display: flex;
  flex-direction: column;
}

.journey__label{
  font-family: 'Outfit', sans-serif;
  display:block;
  font-size:16px;
  font-weight:400;
  color:#000000;
  margin-bottom:8px;
}

.journey__heading{
  font-family: 'Montserrat', sans-serif;
  font-size:31.25px;
  font-weight:600;
  line-height:1.25;
  color:#000000;
  max-width: 415px;
}

.journey__text{
  font-family: 'Montserrat', sans-serif;
  font-size:16px;
  font-weight:400;
  line-height:1.25;
  color:#000000;
  max-width:480px;
  margin-bottom: -32px; /* Visual adjustment for center alignment with heading */
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery{
  position:relative;
  overflow:hidden;
  cursor:none;                  /* custom cursor territory */
  user-select:none;
  -webkit-user-select:none;
  touch-action:pan-y;
}

.gallery__track{
  display:flex;
  gap:22px;
  width:max-content;
  will-change:transform;
}

/* each copy of the gallery content */
.gallery__set{
  display:flex;
  gap:22px;
  flex-shrink:0;
}

.gallery__col{
  display:flex;
  flex-direction:column;
  gap:17px;
  flex-shrink:0;
}

/* image wrapper controls fixed size + rounded corners */
.tile{
  border-radius:var(--radius);
  overflow:hidden;
  flex-shrink:0;
  transform:translateZ(0);      /* keep radius clipping during scale on Safari */
}
.tile img{
  height:100%;
  transition:transform var(--hover-time) ease;
  will-change:transform;
}
.tile:hover img{ transform:scale(var(--hover-scale)); }

/* ---- Column / tile sizing (desktop reference proportions) ---- */
/* Column 1: two stacked */
.col-1{ width:280px; }
.col-1 .tile:nth-child(1){ height:139px; }
.col-1 .tile:nth-child(2){ height:276px; }

/* Column 2: one large portrait */
.col-2{ width:493px; }
.col-2 .tile{ height:432px; }

/* Column 3: two stacked */
.col-3{ width:309px; }
.col-3 .tile:nth-child(1){ height:275px; }
.col-3 .tile:nth-child(2){ height:140px; }

/* Column 6: two stacked (mirrors column 1) */
.col-6{ width:280px; }
.col-6 .tile:nth-child(1){ height:139px; }
.col-6 .tile:nth-child(2){ height:276px; }

/* Column 7: two stacked (mirrors column 3) */
.col-7{ width:309px; }
.col-7 .tile:nth-child(1){ height:275px; }
.col-7 .tile:nth-child(2){ height:140px; }

/* Column 8: two stacked (mirrors column 1) */
.col-8{ width:280px; }
.col-8 .tile:nth-child(1){ height:139px; }
.col-8 .tile:nth-child(2){ height:276px; }

/* Column 9: two stacked (mirrors column 3) */
.col-9{ width:309px; }
.col-9 .tile:nth-child(1){ height:275px; }
.col-9 .tile:nth-child(2){ height:140px; }

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor{
  position:fixed;
  top:0; left:0;
  width:var(--cursor-size);
  height:var(--cursor-size);
  margin:calc(var(--cursor-size) / -2) 0 0 calc(var(--cursor-size) / -2);
  pointer-events:none;
  z-index:999;
  will-change:transform;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cursor.is-visible {
  visibility: visible;
  opacity: 1;
}

/* glass disc — scales in with a soft overshoot spring */
.cursor__disc{
  position:absolute;
  inset:0;
  border-radius:50%;
  background:rgba(255,255,255,.95);
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 10px 30px rgba(0,0,0,.12);
  transform:scale(0);
  transition:transform .45s cubic-bezier(.34,1.56,.64,1); /* springy pop */
  will-change:transform;
}
.cursor.is-visible .cursor__disc{ transform:scale(1); }
.cursor.is-dragging .cursor__disc{
  transform:scale(1.17);                    /* 70px → ~82px */
  background:rgba(17,17,17,.92);
  border-color:rgba(255,255,255,.12);
  transition:transform .3s cubic-bezier(.34,1.56,.64,1),
             background .3s ease, border-color .3s ease;
}

/* rotating dashed orbit ring — only spins while dragging */
.cursor__ring{
  position:absolute;
  inset:-6px;
  border-radius:50%;
  border:1.5px dashed rgba(17,17,17,.35);
  opacity:0;
  transform:scale(.6);
  transition:opacity .3s ease, transform .3s cubic-bezier(.34,1.56,.64,1);
  animation:cursor-spin 6s linear infinite;
  animation-play-state:paused;
}
.cursor.is-dragging .cursor__ring{
  opacity:1;
  transform:scale(1.05);
  border-color:rgba(255,255,255,.4);
  animation-play-state:running;
}
@keyframes cursor-spin{ to{ transform:scale(1.05) rotate(360deg); } }

/* arrow stage — clips the sliding arrows */
.cursor__stage{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:50%;
}

/* two SVG arrows live in the stage; only one is active */
.cursor__arrow{
  position:absolute;
  width:32px;
  height:24px;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  transition:transform .35s cubic-bezier(.22,1,.36,1), opacity .25s ease;
  will-change:transform;
}
.cursor__arrow svg{
  width:100%;
  height:100%;
  stroke:#111;
  stroke-width:2.6;
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round;
  transition:stroke .3s ease;
}
.cursor.is-dragging .cursor__arrow svg{ stroke:#fff; }

/* double-chevron wave: the two chevrons pulse one after another,
   like a "keep going this way" signal */
.chev{ opacity:.9; }
.cursor[data-dir]:not(.is-dragging) .chev-1{ animation:chev-wave 1.4s ease-in-out infinite; }
.cursor[data-dir]:not(.is-dragging) .chev-2{ animation:chev-wave 1.4s ease-in-out .2s infinite; }
@keyframes chev-wave{
  0%,100%{ opacity:.25; }
  40%{ opacity:1; }
}
/* while dragging, both chevrons go solid — steady, confident */
.cursor.is-dragging .chev{ animation:none; opacity:1; }

/* tiny DRAG label — hidden at rest, fades up while dragging */
.cursor__label{
  position:absolute;
  bottom:11px;
  left:50%;
  transform:translate(-50%, 6px);
  font-size:8px;
  font-weight:800;
  letter-spacing:2.5px;
  color:rgba(255,255,255,.75);
  opacity:0;
  transition:opacity .3s ease .1s, transform .3s cubic-bezier(.22,1,.36,1) .1s;
  pointer-events:none;
}
.cursor.is-dragging .cursor__label{
  opacity:1;
  transform:translate(-50%, 0);
}
/* nudge arrows up slightly while dragging to make room for the label */
.cursor.is-dragging .cursor__arrow{ margin-bottom:8px; }

/* resting positions: parked offstage on their own side */
.cursor__arrow--left { transform:translateX(-150%); }
.cursor__arrow--right{ transform:translateX(150%); }

/* active arrow slides to center */
.cursor.is-visible[data-dir="left"]  .cursor__arrow--left,
.cursor.is-visible[data-dir="right"] .cursor__arrow--right{
  transform:translateX(0);
  opacity:1;
}
/* the outgoing arrow exits through the opposite edge for a fly-through feel */
.cursor[data-dir="right"] .cursor__arrow--left { transform:translateX(150%); opacity:0; }
.cursor[data-dir="left"]  .cursor__arrow--right{ transform:translateX(-150%); opacity:0; }

/* idle nudge — arrow breathes sideways to invite dragging */
.cursor[data-dir="left"]:not(.is-dragging)  .cursor__arrow--left { animation:nudge-l 1.8s ease-in-out .6s infinite; }
.cursor[data-dir="right"]:not(.is-dragging) .cursor__arrow--right{ animation:nudge-r 1.8s ease-in-out .6s infinite; }
@keyframes nudge-l{ 0%,100%{ transform:translateX(0); } 50%{ transform:translateX(-5px); } }
@keyframes nudge-r{ 0%,100%{ transform:translateX(0); } 50%{ transform:translateX(5px); } }

/* click ripple ping */
.cursor__ping{
  position:absolute;
  inset:0;
  border-radius:50%;
  border:2px solid rgba(17,17,17,.5);
  opacity:0;
  transform:scale(1);
}
.cursor.is-pinging .cursor__ping{
  animation:ping .5s cubic-bezier(.22,1,.36,1) forwards;
}
@keyframes ping{
  0%{ opacity:.8; transform:scale(.9); }
  100%{ opacity:0; transform:scale(1.7); }
}

@media (prefers-reduced-motion:reduce){
  .cursor__arrow, .cursor__ring{ animation:none !important; }
}

/* Hide custom cursor on touch devices */
@media (hover:none){
  .cursor{ display:none; }
  .gallery{ cursor:default; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1200px){
  .journey__heading{ font-size:2.25rem; }   /* 36px laptop */
}

@media (max-width:900px){
  :root{ --pad-x:1.5rem; }                  /* 24px tablet */
  .journey__heading{ font-size:1.875rem; }  /* 30px */
  /* Move the description below the gallery instead of the header:
     unwrap the header so journey__left and journey__text become
     reorderable alongside .gallery. */
  .journey{ display:flex; flex-direction:column; }
  .journey__header{ display:contents; }
  .journey__left{ order:1; align-items:flex-start; padding:0; margin-bottom:1.5rem; }
  .gallery{ order:2; }
  .journey__text{ order:3; max-width:100%; margin-top:1.5rem; margin-bottom:0; }
  /* Uniformly scaled replica of the desktop masonry (single scale
     factor applied to widths, tile heights AND the internal gap so
     every column's stacked total stays equal, exactly like desktop's
     139+17+276 = 275+17+140 = 432 alignment — a per-column-type scale
     would break that equality, which is what caused the earlier
     mismatch. The single-image column (col-2) has no matching pair to
     stack against, so it's hidden here rather than resized. */
  .gallery__track, .gallery__set{ gap:13px; }
  .gallery__col{ gap:10px; }
  .col-1{ width:168px; }
  .col-1 .tile:nth-child(1){ height:83px; }
  .col-1 .tile:nth-child(2){ height:166px; }
  .col-2{ display:none; }
  .col-3{ width:185px; }
  .col-3 .tile:nth-child(1){ height:165px; }
  .col-3 .tile:nth-child(2){ height:84px; }
  .col-4{ width:11rem; }
  .col-4 .tile--landscape{ height:7.75rem; }
  .col-4 .tile--portrait{ height:11.25rem; }
  .col-6{ width:168px; }
  .col-6 .tile:nth-child(1){ height:83px; }
  .col-6 .tile:nth-child(2){ height:166px; }
  .col-7{ width:185px; }
  .col-7 .tile:nth-child(1){ height:165px; }
  .col-7 .tile:nth-child(2){ height:84px; }
  .col-8{ width:168px; }
  .col-8 .tile:nth-child(1){ height:83px; }
  .col-8 .tile:nth-child(2){ height:166px; }
  .col-9{ width:185px; }
  .col-9 .tile:nth-child(1){ height:165px; }
  .col-9 .tile:nth-child(2){ height:84px; }
}

@media (max-width:600px){
  :root{ --pad-x:1.125rem; }                /* 18px mobile */
  .journey__heading{ font-size:1.5rem; }    /* 24px */
  /* Same uniform-scale approach as the 900px tier above, at a
     smaller factor. col-2 stays hidden here too. */
  .gallery__track, .gallery__set{ gap:9px; }
  .gallery__col{ gap:7px; }
  .col-1{ width:118px; }
  .col-1 .tile:nth-child(1){ height:58px; }
  .col-1 .tile:nth-child(2){ height:116px; }
  .col-2{ display:none; }
  .col-3{ width:130px; }
  .col-3 .tile:nth-child(1){ height:115px; }
  .col-3 .tile:nth-child(2){ height:59px; }
  .col-4{ width:8.5rem; }
  .col-4 .tile--landscape{ height:6rem; }
  .col-4 .tile--portrait{ height:8.5rem; }
  .col-6{ width:118px; }
  .col-6 .tile:nth-child(1){ height:58px; }
  .col-6 .tile:nth-child(2){ height:116px; }
  .col-7{ width:130px; }
  .col-7 .tile:nth-child(1){ height:115px; }
  .col-7 .tile:nth-child(2){ height:59px; }
  .col-8{ width:118px; }
  .col-8 .tile:nth-child(1){ height:58px; }
  .col-8 .tile:nth-child(2){ height:116px; }
  .col-9{ width:130px; }
  .col-9 .tile:nth-child(1){ height:115px; }
  .col-9 .tile:nth-child(2){ height:59px; }
}

@media (prefers-reduced-motion:reduce){
  .tile img{ transition:none; }
}

/* ============================================================
   CAREER PAGE — eyebrow/heading font-size match (website page's
   hero eyebrow/title used as the site-wide reference). Mobile and
   tablet only; desktop sizes are untouched.
============================================================ */
@media (max-width: 1024px) {
  .ect-eyebrow,
  .ect-eyebrow-m,
  .ect-join__eyebrow,
  .ect-growth__eyebrow,
  .ect-route__eyebrow,
  .ect-hiring__eyebrow,
  .talent-eyebrow .label,
  .faq-eyebrow {
    font-size: 16px;
  }

  .ect-heading,
  .ect-heading-m,
  .ect-join__title,
  .journey__heading,
  .ect-growth__title,
  .ect-route__title,
  .ect-hiring__title,
  .talent-heading,
  .faq-title {
    font-size: clamp(36px, 4.3vw, 44px);
  }
}

@media (max-width: 640px) {
  .ect-eyebrow,
  .ect-eyebrow-m,
  .ect-join__eyebrow,
  .ect-growth__eyebrow,
  .ect-route__eyebrow,
  .ect-hiring__eyebrow,
  .talent-eyebrow .label,
  .faq-eyebrow {
    font-size: 15px;
  }

  .ect-heading,
  .ect-heading-m,
  .ect-join__title,
  .journey__heading,
  .ect-growth__title,
  .ect-route__title,
  .ect-hiring__title,
  .talent-heading,
  .faq-title {
    font-size: clamp(17px, 5.3vw, 24px);
  }
}

/* Higher-specificity override for the FAQ eyebrow/title so it wins
   over .career-faq's own ancestor-prefixed rules above (same fix
   applied site-wide: plain .faq-eyebrow/.faq-title alone loses that
   specificity tie regardless of file order). */
@media (max-width: 1024px) {
  .career-faq .faq-eyebrow { font-size: 16px !important; }
  .career-faq .faq-title { font-size: clamp(36px, 4.3vw, 44px) !important; }
}

@media (max-width: 640px) {
  .career-faq .faq-eyebrow { font-size: 15px !important; }
  .career-faq .faq-title { font-size: clamp(17px, 5.3vw, 24px) !important; }
}

/* ============================================================
   CAREER FAQ — move description to end of section (below the
   last FAQ card). Mobile/tablet only; desktop untouched.
============================================================ */
.faq-sub--bottom { display: none; }

@media (max-width: 1024px) {
  .faq-sub--top { display: none !important; }
  .faq-sub--bottom {
    display: block !important;
    max-width: 100% !important;
    margin: 24px 0 0 !important;
  }
}

/* ============================================================
   HIRING PROCESS — move description to end of section (below
   the last hiring step, above "Don't see the right role?").
   Mobile/tablet only; desktop untouched.
============================================================ */
.ect-hiring__desc--bottom { display: none; }

@media (max-width: 1024px) {
  .ect-hiring__desc--top { display: none !important; }
  .ect-hiring__desc--bottom {
    display: block !important;
    max-width: 100% !important;
    margin: 24px 0 0 !important;
  }
}

/* CHOOSE YOUR ROUTE — a bit more breathing room between the
   eyebrow/heading and the track cards, matching other sections.
   Mobile/tablet only; desktop untouched. */
@media (max-width: 1024px) {
  .ect-route__eyebrow { margin-bottom: 28px; }
  .ect-route__title { margin-bottom: 48px; }
}

/* ============================================================
   RESPONSIVE STABILITY PASS
   Keep the established Career page composition while preventing
   narrow-screen wrapping and unnecessary tablet overflow/height.
============================================================ */
.ect-btn-primary,
.ect-btn-secondary {
  white-space: nowrap;
}

@media (max-width: 1024px) {
  /* The growth cards remain swipeable, without exposing the browser's
     native scrollbar as an extra visual element. */
  .ect-growth__grid {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .ect-growth__grid::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  /* Card content already determines the required height at this
     breakpoint. Removing the desktop-sized floor avoids the large
     empty tablet area while retaining the same stacked card order. */
  .ect-track {
    min-height: 0;
  }
}

@media (min-width: 901px) and (max-width: 1024px) {
  /* Keep the scaled desktop hero intact and give its labels a little
     more usable inline room at compact-laptop widths. */
  .ect-btn-primary,
  .ect-btn-secondary {
    padding-inline: 6px;
    font-size: 15px;
  }
}

@media (max-width: 360px) {
  /* Preserve the existing two-button row on the narrowest supported
     phones without allowing either label to escape its button. */
  .ect-hero-stage {
    padding-inline: 16px;
  }
  .ect-btn-row {
    width: 100%;
    gap: 6px;
  }
  .ect-btn-primary,
  .ect-btn-secondary {
    flex: 1 1 0;
    justify-content: center;
    padding-inline: 5px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  /* These elements start hidden because their normal entrance animation
     supplies the visible end state. Apply that end state explicitly when
     animation is reduced so the route section never becomes empty. */
  .ect-route__eyebrow,
  .ect-route__title .word,
  .ect-track,
  .ect-track__icon img,
  .ect-pill,
  .ect-arrow {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  /* Growth cards also use scroll-triggered entrance states. Keep the
     complete L0-L7 path visible when motion is disabled. */
  .ect-growth__eyebrow,
  .ect-growth__title,
  .ect-growth__lede,
  .ect-level {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* OUR JOURNEY gallery — show full images instead of a cropped
   portrait-style crop. Mobile/tablet only; desktop untouched. */
@media (max-width: 1024px) {
  .gallery .tile img {
    object-fit: cover !important;
  }
}


/* Phase 4 containment for animated visual layers */
.ect-life-viewport,
.gallery,
.ect-join,
.ect-career-cta {
  overflow-x: clip;
}

/* The journey gallery is a deliberately wide, duplicated scrolling track.
   Keep its paint and overflow accounting inside its own viewport while
   preserving scrollLeft-based animation and the existing visual dimensions. */
.gallery {
  max-width: 100%;
  overflow-x: hidden;
  contain: paint;
  isolation: isolate;
  overscroll-behavior-inline: contain;
}

@media (max-width: 1287px) {
  .ect-join { width: 100%; max-width: 100%; }
}

@media (max-width: 640px) {
  .ect-join__cta {
    min-width: 132px;
    width: auto;
    padding-inline: 14px;
    font-size: 12px;
  }
}

/* ============================================================
   CAREER PAGE — final responsive hardening
   The design stays unchanged at its established desktop/mobile
   breakpoints. This layer only closes intermediate-width leaks,
   preserves complete card content, and improves anchor clearance.
============================================================ */
.ect-badge-label { font-size: 12px; }

.ect-track {
  height: auto;
  min-height: 22rem;
  overflow: visible;
}

.ect-join,
.journey,
.ect-growth,
.ect-route,
.ect-hiring,
.talent-wrap,
.career-faq {
  scroll-margin-top: 88px;
}

@media (min-width: 1025px) and (max-width: 1279px) {
  /* A single route column gives every progression pill enough room.
     At full desktop width the original two-column composition remains. */
  .ect-route__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  /* Match the proven tablet hiring layout at compact-laptop widths.
     This removes label collisions around 1030/1100 without altering
     the five-step desktop path at 1280px and above. */
  .ect-hiring__path { display: none; }
  .ect-hiring__steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    overflow: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
  }
  .ect-hiring__step {
    width: auto;
    min-width: 0;
    flex: none;
    scroll-snap-align: none;
  }
  .ect-hiring__tooltip {
    position: static !important;
    width: 100% !important;
    max-width: 27rem !important;
    margin: 2rem auto 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
  }
  .ect-hiring__tooltip::after { display: none; }
  .ect-hiring__desc--top { display: none !important; }
  .ect-hiring__desc--bottom {
    display: block !important;
    max-width: 100% !important;
    margin: 24px 0 0 !important;
  }
}

@media (max-width: 640px) {
  /* The fixed privacy control remains available while clearing the
     browser edge and the usual bottom-right support widget area. */
  .career-page .ect-cookie-settings {
    left: max(10px, env(safe-area-inset-left));
    bottom: max(66px, calc(env(safe-area-inset-bottom) + 12px));
    max-width: calc(100vw - 20px);
  }
}
/* Use an in-flow tablet grid instead of a page-width horizontal rail. */
@media (min-width: 641px) and (max-width: 1024px) {
  .ect-hiring__steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    overflow: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
  }

  .ect-hiring__step {
    width: auto;
    min-width: 0;
    flex: none;
    scroll-snap-align: none;
  }
}
