/* ==========================================================================
   SPRK — 05. PAGE SECTIONS
   Hero · categories · why · about · brands · projects · voices · quote · CTA
   ========================================================================== */

/* --------------------------------------------------------------------------
   5.1 Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding-block: clamp(4.5rem, 3rem + 8vw, 7.5rem) clamp(7rem, 4rem + 10vw, 9rem);
  background: var(--navy-900);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.02);
  animation: hero-zoom 18s var(--ease-out) forwards;
}
@keyframes hero-zoom { to { transform: scale(1.12); } }

.hero__overlay {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(100deg, rgba(10,26,43,.95) 0%, rgba(10,26,43,.84) 32%, rgba(10,26,43,.5) 62%, rgba(10,26,43,.38) 80%, rgba(10,26,43,.58) 100%),
    linear-gradient(to top, rgba(10,26,43,.92) 0%, rgba(10,26,43,.15) 38%, rgba(10,26,43,0) 58%),
    radial-gradient(120% 90% at 0% 100%, rgba(10,26,43,.5), rgba(10,26,43,0) 60%);
}

/* Hairline blueprint grid — one of the details that reads "engineered" */
.hero__lines {
  position: absolute; inset: 0; z-index: -1;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  pointer-events: none;
  opacity: .5;
}
.hero__lines i { border-left: 1px solid rgba(255,255,255,.07); }
.hero__lines i:last-child { border-right: 1px solid rgba(255,255,255,.07); }

.hero__content { position: relative; max-width: 44rem; display: grid; gap: var(--s-7); }

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  align-self: start;
  justify-self: start;
  padding: 9px 18px 9px 12px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero__tag i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 4px rgba(30,158,90,.22);
  flex: none;
  margin-left: 4px;
}

.hero h1 { color: #fff; }
.hero h1 em {
  font-style: normal;
  color: var(--amber-500);
  position: relative;
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute; left: 2px; right: 2px; bottom: -.09em;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--amber-500) 0%, var(--amber-500) 70%, rgba(245,162,26,0) 100%);
}

.hero__lead { font-size: var(--fs-lead); color: #D7DEE6; max-width: 38rem; line-height: 1.65; }

.hero__actions { display: flex; gap: var(--s-4); flex-wrap: wrap; }
.hero__actions .btn--primary { box-shadow: 0 14px 34px rgba(245,162,26,.22); }
.hero__actions .btn--ghost { border-color: rgba(255,255,255,.35); }

.hero__trust {
  display: flex;
  align-items: center;
  gap: var(--s-3) var(--s-5);
  flex-wrap: wrap;
  padding-top: var(--s-5);
  margin-top: 2px;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: var(--fs-sm);
  color: #A9B4C0;
}
.hero__trust span { display: inline-flex; align-items: center; gap: var(--s-2); }
.hero__trust svg { width: 16px; height: 16px; color: var(--amber-500); flex: none; }
.hero__trust .sep { width: 1px; height: 14px; background: rgba(255,255,255,.2); }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(1.25rem, 3vw, 2.25rem);
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.hero__scroll svg { width: 18px; height: 18px; animation: bob 2.1s var(--ease-in-out) infinite; }
@keyframes bob {
  0%, 100% { transform: translateY(0); opacity: .55; }
  50%      { transform: translateY(7px); opacity: 1; }
}

/* Stats plate that straddles the hero / next section seam */
.statbar { position: relative; margin-top: calc(var(--section-y) * -1); z-index: 5; }
.statbar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.stat { padding: var(--s-8) var(--s-7); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat__value {
  font-family: var(--font-head);
  font-size: clamp(2rem, 1.5rem + 2vw, 2.875rem);
  font-weight: 700;
  line-height: 1;
  color: var(--navy-800);
  letter-spacing: -1px;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.stat__value .suffix { color: var(--amber-500); }
.stat__label {
  margin-top: var(--s-3);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   5.2 Categories — "What We Supply"
   -------------------------------------------------------------------------- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--grid-gap); }

/* --------------------------------------------------------------------------
   5.3 Why SPRK — navy value strip
   -------------------------------------------------------------------------- */
.why { position: relative; overflow: hidden; }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-8) var(--s-7); }
.why__col { position: relative; padding-right: var(--s-6); }
.why__col + .why__col::before {
  content: "";
  position: absolute; left: calc(var(--s-7) / -2); top: 0; bottom: 0;
  width: 1px; background: var(--line-dark);
}

/* --------------------------------------------------------------------------
   5.4 About snapshot
   -------------------------------------------------------------------------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }

.about__media { position: relative; }
.about__media--main {
  border-radius: var(--r-card);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
}
.about__media--main img { width: 100%; height: 100%; object-fit: cover; }

.about__media--inset {
  position: absolute;
  right: -6%;
  bottom: 8%;
  width: 46%;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-card);
  overflow: hidden;
  border: 6px solid var(--surface);
  box-shadow: var(--shadow-lg);
}
.about__media--inset img { width: 100%; height: 100%; object-fit: cover; }

.about__plate {
  position: absolute;
  left: -8%;
  top: 8%;
  padding: var(--s-5) var(--s-6);
  background: var(--amber-500);
  color: var(--ink);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 2px;
  max-width: 210px;
}
.about__plate b { font-family: var(--font-head); font-size: 2rem; font-weight: 700; line-height: 1; }
.about__plate span { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }

.about__body { display: grid; gap: var(--s-6); }

/* --------------------------------------------------------------------------
   5.5 Brands strip
   -------------------------------------------------------------------------- */
.brands { padding-block: var(--s-11); background: var(--bg); border-block: 1px solid var(--line); }
.brands__head {
  text-align: center;
  margin-bottom: var(--s-8);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   5.6 Projects
   -------------------------------------------------------------------------- */
.projects { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--grid-gap); }

.project {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  background: var(--navy-800);
  isolation: isolate;
}
.project--wide { grid-column: span 7; min-height: 420px; }
.project--tall { grid-column: span 5; min-height: 420px; }
.project--half { grid-column: span 6; }

.project img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.project::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(10,26,43,.96) 0%, rgba(10,26,43,.82) 28%, rgba(10,26,43,.42) 62%, rgba(10,26,43,.14) 100%);
  transition: opacity var(--t) var(--ease-out);
}
.project:hover img { transform: scale(1.07); }

.project__body { padding: var(--s-7); display: grid; gap: var(--s-3); width: 100%; }
.project__kicker {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber-500);
}
.project__title { font-family: var(--font-head); font-size: var(--fs-h3); font-weight: 600; color: #fff; }
.project__text { font-size: var(--fs-sm); color: #C7D0DA; margin: 0; max-width: 42ch; }
.project__rule { height: 2px; width: 40px; background: var(--amber-500); transition: width .45s var(--ease-out); }
.project:hover .project__rule { width: 96px; }

.project__tags { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-2); }
.project__tags span {
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 9px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: var(--r-sm);
  color: #C7D0DA;
}

/* --------------------------------------------------------------------------
   5.7 Voices / testimonials
   -------------------------------------------------------------------------- */
.voices { position: relative; }
.voices__viewport { overflow: hidden; }
.voices__track { display: flex; transition: transform .6s var(--ease-out); }
.voice { flex: 0 0 100%; padding-inline: 2px; }

.voice__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(1.75rem, 1rem + 3vw, 3rem);
  display: grid;
  gap: var(--s-6);
  box-shadow: var(--shadow-sm);
}
.voice__mark { width: 42px; height: 42px; color: var(--amber-500); opacity: .9; }
.voice__quote {
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 1rem + 1.1vw, 1.75rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--navy-800);
  margin: 0;
}
.voice__who { display: flex; align-items: center; gap: var(--s-4); }
.voice__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy-800);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: .04em;
  flex: none;
}
.voice__name { display: block; font-weight: 600; color: var(--navy-800); line-height: 1.3; }
.voice__role { display: block; font-size: var(--fs-sm); color: var(--muted); }

.voices__nav { display: flex; align-items: center; gap: var(--s-3); margin-top: var(--s-7); }
.voices__btn {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 1.5px solid var(--line);
  border-radius: var(--r-btn);
  color: var(--navy-800);
  background: var(--surface);
  transition: all var(--t) var(--ease-out);
}
.voices__btn svg { width: 20px; height: 20px; }
.voices__btn:hover { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.voices__dots { display: flex; gap: var(--s-2); margin-left: auto; }
.voices__dots button {
  width: 26px; height: 4px;
  border-radius: 2px;
  background: var(--line);
  transition: background var(--t) var(--ease-out), width var(--t) var(--ease-out);
}
.voices__dots button[aria-current="true"] { background: var(--amber-500); width: 42px; }

/* --------------------------------------------------------------------------
   5.8 Quote form section
   -------------------------------------------------------------------------- */
.quote { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }

.quote__form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(1.5rem, 1rem + 2.4vw, 2.5rem);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: var(--s-5);
}
.quote__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }

.quote__aside { display: grid; gap: var(--s-5); align-content: start; position: sticky; top: 110px; }

.aside-card {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: var(--s-7);
  background: var(--surface);
  display: grid;
  gap: var(--s-4);
}
.aside-card--navy { background: var(--navy-800); border-color: transparent; color: var(--muted-dark); }
.aside-card--navy h3 { color: #fff; }
.aside-card__row { display: grid; grid-template-columns: 20px 1fr; gap: var(--s-3); align-items: start; font-size: var(--fs-sm); }
.aside-card__row svg { width: 20px; height: 20px; color: var(--amber-500); margin-top: 2px; }
.aside-card__row a { color: inherit; font-weight: 600; }
.aside-card--navy .aside-card__row a:hover { color: var(--amber-500); }

.steps { display: grid; gap: var(--s-5); counter-reset: step; }
.steps li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: var(--s-4);
  align-items: start;
  font-size: var(--fs-sm);
  line-height: 1.6;
}
.steps li::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--amber-600);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  height: 30px;
  display: grid;
  place-items: center;
}
.steps b { display: block; color: var(--navy-800); font-weight: 600; }

/* --------------------------------------------------------------------------
   5.9 CTA band
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
  isolation: isolate;
  padding-block: clamp(3.5rem, 2rem + 6vw, 6rem);
}
/* Oversized so the parallax drift never exposes an edge */
.cta__bg { position: absolute; inset: -10% 0; z-index: -3; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta__veil {
  position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(95deg, rgba(10,26,43,.96) 0%, rgba(14,42,71,.9) 45%, rgba(14,42,71,.72) 100%);
}
/* Amber accent glow — the one decorative object on the page.
   Sized and centred so the gradient reaches zero alpha before the box edge,
   otherwise the element's own boundary shows as a hard line. */
.cta__shape {
  position: absolute; z-index: -1;
  right: -18%; top: -60%;
  width: 60vw; max-width: 840px; aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%, rgba(245,162,26,.26), rgba(245,162,26,0) 58%);
  pointer-events: none;
}
.cta__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}
.cta h2 { color: #fff; max-width: 18ch; }
.cta p  { color: #C7D0DA; max-width: 46ch; margin-top: var(--s-4); }
.cta__actions { display: flex; gap: var(--s-4); flex-wrap: wrap; }
