/* ─── HERO ─── */
.hero{
  min-height:52vh;
  display:flex;
  align-items:center;
  padding:120px 24px 72px;
  background:var(--soft);
  position:relative;
  overflow:hidden;
}
.hero::before{
  content:'';
  position:absolute;inset:0;
  background:radial-gradient(ellipse 60% 80% at 85% 50%, rgba(60,224,0,0.08) 0%, transparent 65%);
  pointer-events:none;
}
/* Decorative year watermark */
.hero::after{
  content:'1995';
  position:absolute;
  right:-20px;top:50%;
  transform:translateY(-50%);
  font-family:var(--font-display);
  font-size:clamp(120px,16vw,240px);
  font-weight:900;
  color:rgba(60,224,0,0.06);
  letter-spacing:-0.05em;
  pointer-events:none;
  user-select:none;
  line-height:1;
}
.hero-inner{
  max-width:1200px;
  margin:0 auto;
  width:100%;
  position:relative;
  z-index:1;
}
.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:rgba(60,224,0,0.12);
  border:1px solid rgba(60,224,0,0.25);
  color:var(--primary);
  font-size:12px;
  font-weight:600;
  letter-spacing:0.06em;
  text-transform:uppercase;
  padding:6px 14px;
  border-radius:50px;
  margin-bottom:24px;
}
.hero-badge::before{
  content:'';
  width:6px;height:6px;
  background:var(--highlight);
  border-radius:50%;
  animation:pulse 2s infinite;
}
@keyframes pulse{
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:0.5;transform:scale(1.4)}
}
.hero h1{
  font-family:var(--font-display);
  font-size:clamp(36px,4.5vw,62px);
  font-weight:800;
  line-height:1.1;
  letter-spacing:-0.025em;
  color:var(--primary);
  margin-bottom:20px;
}
.hero h1 em{
  font-style:normal;
  color:var(--highlight);
}
.hero-sub{
  font-size:18px;
  line-height:1.65;
  color:#555;
  max-width:600px;
  margin-bottom:36px;
}

/* ─── SECTION ─── */
.section{padding:96px 24px}
.section-inner{max-width:1200px;margin:0 auto}
.section-alt{background:var(--soft)}

.eyebrow{
  font-size:12px;
  font-weight:700;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:var(--highlight);
  margin-bottom:12px;
}
h2.section-title{
  font-family:var(--font-display);
  font-size:clamp(28px,3.5vw,44px);
  font-weight:800;
  letter-spacing:-0.02em;
  line-height:1.15;
  color:var(--primary);
  margin-bottom:18px;
}
.section-subtitle{
  font-size:17px;
  color:#555;
  line-height:1.65;
  max-width:600px;
}
.section-header{margin-bottom:72px}

/* ─── TIMELINE ─── */
.timeline{
  position:relative;
  padding-left:0;
}
/* Vertical line, left:136px so year col (120px text + 16px gap) never overlaps */
.timeline::before{
  content:'';
  position:absolute;
  left:136px;
  top:0;bottom:0;
  width:1px;
  background:linear-gradient(to bottom, transparent 0%, var(--divider) 5%, var(--divider) 95%, transparent 100%);
}

.tl-item{
  display:grid;
  grid-template-columns:136px 1fr;
  gap:0 36px;
  margin-bottom:4px;
  position:relative;
}
/* connector dot, centred exactly on the line */
.tl-item::before{
  content:'';
  position:absolute;
  left:130px;
  top:36px;
  width:13px;height:13px;
  border-radius:50%;
  background:var(--white);
  border:2px solid var(--divider);
  transition:border-color var(--transition),background var(--transition),transform var(--transition);
  z-index:2;
}
.tl-item:hover::before{
  border-color:var(--highlight);
  background:var(--highlight);
  transform:scale(1.2);
}

.tl-year{
  padding-top:28px;
  text-align:right;
  /* 22px right pad keeps text clear of the 13px dot */
  padding-right:22px;
}
.tl-year span{
  font-family:var(--font-display);
  font-size:13px;
  font-weight:700;
  color:#aaa;
  letter-spacing:0.04em;
  line-height:1;
  display:inline-block;
  transition:color var(--transition);
}
.tl-item:hover .tl-year span{color:var(--primary)}

.tl-card{
  background:var(--white);
  border:1px solid var(--divider);
  border-radius:20px;
  padding:36px 40px;
  margin-bottom:24px;
  position:relative;
  overflow:hidden; /* clips ::before bar AND ghost cleanly to card bounds */
  isolation:isolate; /* z-index:-1 ghost stays within card, never bleeds behind page */
  transition:transform var(--transition),box-shadow var(--transition),border-color var(--transition);
  will-change:transform;
}
/* green top-bar, overflow:hidden clips it to rounded corners perfectly */
.tl-card::before{
  content:'';
  position:absolute;
  top:0;left:0;right:0;
  height:3px;
  background:var(--highlight);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform 0.4s cubic-bezier(0.4,0,0.2,1);
  z-index:3;
}
.tl-card:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 48px rgba(0,0,0,0.09);
  border-color:transparent;
}
.tl-card:hover::before{transform:scaleX(1)}

/* Ghost year, fully inside overflow:hidden so it clips at card edge */
.tl-ghost{
  position:absolute;
  right:20px;top:16px;
  transform:none;
  font-family:var(--font-display);
  font-size:clamp(60px,6.5vw,96px);
  font-weight:900;
  color:rgba(33,33,33,0.055);
  letter-spacing:-0.04em;
  pointer-events:none;
  user-select:none;
  line-height:1;
  transition:color var(--transition);
  z-index:-1;
}
.tl-card:hover .tl-ghost{color:rgba(60,224,0,0.09)}

.tl-tag{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:11px;
  font-weight:700;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--primary);
  background:rgba(60,224,0,0.1);
  border:1px solid rgba(60,224,0,0.2);
  padding:4px 12px;
  border-radius:50px;
  margin-bottom:16px;
}
.tl-tag::before{
  content:'';
  width:5px;height:5px;
  border-radius:50%;
  background:var(--highlight);
  flex-shrink:0;
}

.tl-card h3{
  font-family:var(--font-display);
  font-size:clamp(18px,2vw,22px);
  font-weight:700;
  color:var(--primary);
  letter-spacing:-0.01em;
  margin-bottom:14px;
  line-height:1.3;
}
.tl-card p{
  font-size:15px;
  line-height:1.7;
  color:#555;
}

/* Highlight items (special milestones) */
.tl-item.featured .tl-card{
  background:var(--primary);
  border-color:transparent;
  overflow:hidden; /* keep on, clips bar and ghost */
}
.tl-item.featured .tl-card h3{color:var(--white)}
.tl-item.featured .tl-card p{color:rgba(255,255,255,0.7)}
.tl-item.featured .tl-tag{background:rgba(60,224,0,0.15);border-color:rgba(60,224,0,0.3);color:var(--highlight)}
.tl-item.featured .tl-card::before{background:var(--highlight)}
/* Ghost on dark cards, much stronger opacity so it reads on #212121 */
.tl-item.featured .tl-ghost{color:rgba(255,255,255,0.09)}
.tl-item.featured .tl-card:hover .tl-ghost{color:rgba(60,224,0,0.12)}
.tl-item.featured .tl-card:hover{box-shadow:0 20px 60px rgba(0,0,0,0.25)}
.tl-item.featured::before{border-color:var(--highlight);background:var(--highlight)}

/* ─── CALLOUT BAND ─── */
.callout-band{
  background:var(--primary);
  border-radius:24px;
  padding:60px 48px;
  display:grid;
  grid-template-columns:1fr auto;
  gap:40px;
  align-items:center;
}
.callout-band h2{
  font-family:var(--font-display);
  font-size:clamp(24px,3vw,36px);
  font-weight:800;
  color:var(--white);
  letter-spacing:-0.02em;
  line-height:1.2;
  margin-bottom:12px;
}
.callout-band p{
  font-size:16px;
  color:rgba(255,255,255,0.6);
  line-height:1.6;
}
.callout-band .eyebrow{color:var(--secondary)}
.callout-btns{
  display:flex;
  flex-direction:column;
  gap:12px;
  flex-shrink:0;
}
.btn-primary{
  background:var(--highlight);
  color:var(--primary);
  font-family:var(--font-display);
  font-size:15px;font-weight:700;
  border:none;border-radius:50px;
  padding:14px 32px;cursor:pointer;
  text-decoration:none;
  display:inline-flex;align-items:center;gap:8px;
  transition:background-color var(--transition),border-color var(--transition),color var(--transition),box-shadow var(--transition),transform var(--transition);
  box-shadow:0 2px 16px rgba(60,224,0,0.3);
  white-space:nowrap;
}
.btn-primary:hover{background:#2fd100;transform:translateY(-2px);box-shadow:0 6px 24px rgba(60,224,0,0.45)}
.btn-outline{
  background:transparent;
  color:var(--white);
  font-family:var(--font-display);
  font-size:14px;font-weight:600;
  border:1.5px solid rgba(255,255,255,0.25);
  border-radius:50px;
  padding:12px 28px;cursor:pointer;
  text-decoration:none;
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  transition:background-color var(--transition),border-color var(--transition),color var(--transition),box-shadow var(--transition),transform var(--transition);
  white-space:nowrap;
}
.btn-outline:hover{border-color:rgba(255,255,255,0.6);background:rgba(255,255,255,0.06)}

/* ─── TRUST STRIP ─── */
.trust-strip{
  background:#181818;
  padding:0 24px;
  border-top:1px solid rgba(255,255,255,0.06);
  border-bottom:1px solid rgba(255,255,255,0.06);
}
.trust-inner{
  max-width:1200px;margin:0 auto;
  display:flex;align-items:stretch;justify-content:space-between;
}
.trust-item{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:6px;
  flex:1;
  min-width:0;
  padding:36px 20px;
  position:relative;
  cursor:default;
  /* slow, eased scale + background */
  transition:background 0.55s ease, transform 0.55s ease;
  border-right:1px solid rgba(255,255,255,0.06);
  z-index:0;
  will-change:transform;
}
.trust-item:last-child{border-right:none}
/* green accent bar slides in slowly */
.trust-item::after{
  content:'';
  position:absolute;
  bottom:0;left:0;right:0;
  height:2px;
  background:var(--highlight);
  transform:scaleX(0);
  transform-origin:center;
  transition:transform 0.6s ease;
}
.trust-item:hover{
  background:rgba(255,255,255,0.04);
  transform:scale(1.06);
  z-index:1;
}
.trust-item:hover::after{transform:scaleX(1)}
.trust-item:hover .trust-num{color:var(--highlight)}
.trust-item .trust-num{
  font-family:var(--font-display);
  font-size:30px;
  font-weight:900;
  color:#ffffff;
  letter-spacing:-0.03em;
  line-height:1;
  transition:color 0.55s ease;
}
.trust-item .trust-lbl{
  font-size:11px;
  color:rgba(255,255,255,0.45);
  font-weight:500;
  line-height:1.5;
  text-align:center;
  max-width:120px;
}

/* ─── RESPONSIVE (mobile: single column, timeline spine dropped) ───
   Scoped under #main-content so rules win by specificity, not source order. */
@media (max-width:742px){
  #main-content .hero{min-height:auto;padding:100px 20px 56px}
  #main-content .section{padding:56px 20px}
  #main-content .section-header{margin-bottom:44px}

  /* Timeline: hide the vertical line + connector dots, stack year over card */
  #main-content .timeline::before{display:none}
  #main-content .tl-item{grid-template-columns:1fr;gap:6px}
  #main-content .tl-item::before{display:none}
  #main-content .tl-year{text-align:left;padding:0 0 2px}
  #main-content .tl-card{padding:26px 22px}

  /* Callout band: stack copy over action */
  #main-content .callout-band{grid-template-columns:1fr;padding:40px 28px;gap:24px}
}

@media (max-width:600px){
  #main-content .hero h1{font-size:clamp(30px,8vw,44px)}
}
