/* ============================================================
   LANDING PAGE — English-only overrides on top of page.css.
   Mirrors landing-cn.css; kept separate so each language can
   tune type sizing and highlights independently.
   ============================================================ */

/* ===== Nav brand: SparkBytes + two-line powered-by beside it ===== */
.brand-lockup--stack { flex-direction: row; align-items: center; gap: 10px; }
.brand-poweredby {
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1.35;
  text-align: left;
  padding-left: 10px;
  border-left: 1px solid rgba(10,10,10,0.18);
}
@media (max-width: 600px) { .brand-poweredby { font-size: 7.5px; } }

/* ===== Centered orange-gradient hero ===== */
.hero--center {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 92vh;
  padding: 150px 300px 55px;
  background: linear-gradient(160deg, #FFE2C6 0%, #FFC488 20%, #FF5B00 55%, #D73B00 100%);
  color: #fff;
  overflow: hidden;
}
.hero--center::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 50% 0%, rgba(255,255,255,0.22), transparent 60%),
    radial-gradient(45% 40% at 88% 92%, rgba(0,0,0,0.16), transparent 60%);
  pointer-events: none;
}
.hero--center::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 84px 84px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent 100%);
  mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent 100%);
  pointer-events: none;
}
.hero-center-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 9px 18px;
  margin-bottom: 32px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.hero--center .hero-h1 {
  color: #fff;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.03;
  letter-spacing: -0.035em;
  max-width: 16ch;
}
.hero--center .hero-h1 em {
  font-style: normal;
  color: #fff;
  background: none;
  -webkit-text-fill-color: currentColor;
  box-shadow: inset 0 -0.16em 0 #57D5D0;
}
.hero-partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
}
.hero-partner-label {
  font-family: var(--font-mono);
  font-size: clamp(9.5px, 0.9vw, 11px);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}
.hero-partner-logo {
  height: clamp(43px, 6.4vw, 64px);
  width: auto;
}
@media (max-width: 600px) {
  .hero-partner { gap: 9px; margin-bottom: 24px; }
  .hero-partner-logo { height: 37px; }
}
.hero--center .hero-aside {
  display: block;
  margin: 22px 0 0;
  font-family: var(--font-mono);
  font-size: clamp(13px, 1.05vw, 15px);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}
.hero--center .hero-sub {
  color: rgba(255,255,255,0.92);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.6;
  max-width: 620px;
  margin: 24px auto 0;
}
.hero--center .hero-cta-row {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.btn-ondark { color: var(--orange); background: #fff; }
.btn-ondark::before { background: var(--ink); }
.btn-ondark:hover { color: #fff; }
@media (max-width: 640px) {
  .hero--center { min-height: 0; padding: 130px 20px 64px; }
  .hero-badge { margin-bottom: 24px; }
}

/* ===== Hero collage photos, left + right of centered copy ===== */
.hero-collage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hc {
  position: absolute;
  overflow: hidden;
  box-shadow: 0 24px 60px -24px rgba(120,30,0,0.55);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  will-change: transform;
}
.hc img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* enlarged ~15% from previous sizes; each floats with its own timing */
.hc-1 { left: 3%;   top: 18%; width: 218px; height: 288px; --rot: -5deg; animation: hc-float-a 5.6s ease-in-out infinite; }
.hc-2 { left: 7%;   top: 55%; width: 184px; height: 230px; --rot: 4deg;  animation: hc-float-b 6.8s ease-in-out infinite; }
.hc-3 { right: 3%;  top: 15%; width: 230px; height: 288px; --rot: 5deg;  animation: hc-float-b 6.2s ease-in-out infinite; }
.hc-4 { right: 6.5%; top: 54%; width: 190px; height: 242px; --rot: -4deg; animation: hc-float-a 7.4s ease-in-out infinite; }
@keyframes hc-float-a {
  0%, 100% { transform: rotate(var(--rot)) translateY(0); }
  50%      { transform: rotate(var(--rot)) translateY(-16px); }
}
@keyframes hc-float-b {
  0%, 100% { transform: rotate(var(--rot)) translateY(0); }
  50%      { transform: rotate(var(--rot)) translateY(-22px); }
}
@media (prefers-reduced-motion: reduce) {
  .hc { animation: none !important; transform: rotate(var(--rot)); }
}
@media (max-width: 1180px) {
  .hero--center { padding-left: 230px; padding-right: 230px; }
  .hc-1 { width: 172px; height: 230px; left: 1%; }
  .hc-2 { width: 147px; height: 184px; left: 3.5%; }
  .hc-3 { width: 184px; height: 230px; right: 1%; }
  .hc-4 { width: 152px; height: 193px; right: 3%; }
}
/* Tablet + mobile: photos in an overlapping row under the CTA, keeping rotation + float */
@media (max-width: 940px) {
  .hero--center { flex-direction: column; padding-left: 24px; padding-right: 24px; }
  .hero-center-inner { order: 1; }
  .hero-collage {
    order: 2;
    position: static;
    inset: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
    margin-top: 52px;
    pointer-events: auto;
  }
  .hc {
    position: static;
    flex: 0 0 auto;
    width: 150px !important;
    height: 194px !important;
  }
  /* overlap the tiles slightly */
  .hc-2, .hc-3, .hc-4 { margin-left: -22px; }
  .hc-1 { z-index: 4; }
  .hc-2 { z-index: 3; }
  .hc-3 { z-index: 2; }
  .hc-4 { z-index: 1; }
}
@media (max-width: 560px) {
  .hc { width: 116px !important; height: 150px !important; }
  .hc-2, .hc-3, .hc-4 { margin-left: -18px; }
}
@media (max-width: 400px) {
  .hc { width: 92px !important; height: 122px !important; }
  .hc-2, .hc-3, .hc-4 { margin-left: -14px; }
}
/* ===== WHO-as-checklist (painpoints) ===== */
.whocheck { background: var(--paper); padding: 128px 0; }
.whocheck-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 72px;
  align-items: start;
}
.whocheck-aside { position: sticky; top: 112px; display: flex; flex-direction: column; gap: 22px; }
.whocheck-aside .section-h { color: var(--ink); }
.whocheck-aside .section-h em {
  font-style: normal;
  background: linear-gradient(100deg, #008F86, #57D5D0);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.whocheck-list { display: flex; flex-direction: column; gap: 12px; }
.whocheck-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 22px;
  background: #DFF4F4;
  border: 1px solid rgba(0,143,134,0.18);
  transition: transform 0.3s var(--ease-soft), box-shadow 0.3s ease;
}
.whocheck-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -18px rgba(0,143,134,0.45);
}
.wc-tick {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #008F86, #57D5D0);
  color: #fff;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.wc-tick svg { width: 15px; height: 15px; }
.wc-text {
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  padding-top: 2px;
}
@media (max-width: 900px) {
  .whocheck { padding: 80px 0; }
  .whocheck-grid { grid-template-columns: 1fr; gap: 36px; }
  .whocheck-aside { position: static; }
}
.sch-desc {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-3);
}
.trainers-grid .trainer-points { margin-top: 20px; }
.hero--center .hero-labels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 22px auto 0;
  max-width: 640px;
}
.hero--center .hero-labels li {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.28);
  padding: 8px 14px;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
