/* ============================================================
   EUTRONIX TECHNOLOGIES — style.css
   Hero section only (index.html)
   ============================================================ */

/* ---- Reset & base ----------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue:        #1B9CD8;
  --blue-deep:   #0E76A8;
  --blue-light:  #6CC8E8;
  --green:       #3AAA35;
  --green-light: #8CC63F;
  --dark:        #16191D;
  --dark-mid:    #3A4047;
  --white:       #FFFFFF;
  --off-white:   #F4F5F7;
  --nav-h:       86px;
  --font-head:   'Syne', sans-serif;
  --font-body:   'Space Grotesk', sans-serif;
}

html {
  scroll-behavior: smooth;
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  background: var(--dark);
}

/* ---- LOADER ----------------------------------------------- */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: min(300px, 78vw);
}

.loader-logo {
  width: 108px;
  height: auto;
  border-radius: 6px;
  opacity: 0.92;
}

.loader-bar-track {
  width: 100%;
  height: 2px;
  background: rgba(58, 64, 71, 0.6);
  border-radius: 2px;
  overflow: hidden;
}

#loader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue), var(--blue-light));
  border-radius: 2px;
  transition: width 0.12s linear;
}

#loader-pct {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--dark-mid);
}

/* ---- NAV -------------------------------------------------- */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

#main-nav.scrolled {
  background: rgba(22, 25, 29, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(27, 156, 216, 0.12);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

.nav-logo img {
  height: 60px;
  width: auto;
  display: block;
  border-radius: 4px;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 3px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(27, 156, 216, 0.1);
}

.nav-links a.active {
  color: var(--blue-light);
  background: rgba(27, 156, 216, 0.08);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  -webkit-tap-highlight-color: transparent;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- HERO ------------------------------------------------- */
#hero {
  height: 350vh;     /* 350vh total; 250vh of scroll for 50 frames */
  position: relative;
}

#hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;    /* dynamic viewport height for mobile browsers */
  width: 100%;
  overflow: hidden;
  background: var(--dark);  /* fallback before first frame draws */
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  transform: translateZ(0);  /* own compositing layer — smoother repaint on mobile */
}

/* Cinematic vignette — darkens bottom and left for text legibility */
#hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 10% 110%, rgba(22,25,29,0.75) 0%, transparent 100%),
    linear-gradient(to top,  rgba(22,25,29,0.90) 0%, rgba(22,25,29,0.30) 30%, transparent 55%),
    linear-gradient(to right, rgba(22,25,29,0.50) 0%, transparent 45%);
  pointer-events: none;
}

/* Text overlay — fades in near end of sequence */
#hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 0 72px 88px;
  opacity: 0;
  will-change: opacity;
  pointer-events: none;
  transition: none;   /* JS drives opacity directly */
}

#hero-overlay.interactive {
  pointer-events: auto;
}

.hero-text {
  max-width: min(82vw, 1000px);
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 14px;
  opacity: 0.85;
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 5.5vw, 3.6rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--white);
  text-transform: uppercase;
  white-space: pre-line;   /* honours <br> but never breaks mid-word */
  margin-bottom: 22px;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.8vw, 1.15rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.60);
  letter-spacing: 0.02em;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 440px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: #0d1a0d;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  padding: 14px 34px;
  border-radius: 2px;
  transition: filter 0.22s ease, transform 0.22s ease;
}

.hero-cta:hover {
  filter: brightness(1.12);
  transform: translateY(-2px);
}

/* Scroll hint */
#hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.38);
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  will-change: opacity;
  animation: hintBob 2.2s ease-in-out infinite;
}

#hero-scroll-hint svg {
  width: 18px;
  height: 18px;
}

@keyframes hintBob {
  0%, 100% { transform: translateX(-50%) translateY(0px);   }
  50%       { transform: translateX(-50%) translateY(7px);   }
}

/* ---- PAGE CONTENT ----------------------------------------- */
#page-content {
  background: var(--dark);
}

/* ---- SECTION 2 — PCB REVEAL ------------------------------ */
#s2 {
  height: 350vh;
  position: relative;
}

#s2-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  background: var(--dark);
}

/* Dark gradient at very top — smooth entry from hero */
#s2-sticky::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 18%;
  background: linear-gradient(to bottom, var(--dark) 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

#s2-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  transform: translateZ(0);  /* own compositing layer — smoother repaint on mobile */
}

/* Vignette — deep bottom + right coverage so full text block is always legible */
#s2-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 60% at 100% 100%, rgba(22,25,29,0.75) 0%, transparent 100%),
    linear-gradient(to top,
      rgba(22,25,29,0.97) 0%,
      rgba(22,25,29,0.85) 18%,
      rgba(22,25,29,0.55) 40%,
      rgba(22,25,29,0.22) 60%,
      transparent 76%),
    linear-gradient(to left,
      rgba(22,25,29,0.82) 0%,
      rgba(22,25,29,0.42) 38%,
      transparent 64%);
  pointer-events: none;
}

/* Text overlay — fades in near end of sequence */
#s2-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0 72px 88px;
  opacity: 0;
  will-change: opacity;
  pointer-events: none;
}

#s2-overlay.interactive {
  pointer-events: auto;
}

.s2-text {
  max-width: min(600px, 82vw);  /* wide enough for "Finished Product" at 4rem */
}

.s2-eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 14px;
  opacity: 0.9;
}

.s2-heading {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4.2vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.9), 0 0 48px rgba(0,0,0,0.7);
  overflow-wrap: break-word;
}

.s2-copy {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.35vw, 0.98rem);
  font-weight: 300;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 14px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

.s2-trust {
  font-family: var(--font-body);
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-light);
  opacity: 0.95;
  margin-bottom: 34px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

.s2-cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: #0d1a0d;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  padding: 14px 34px;
  border-radius: 2px;
  transition: filter 0.22s ease, transform 0.22s ease;
}

.s2-cta:hover {
  filter: brightness(1.12);
  transform: translateY(-2px);
}

/* ============================================================
   RESPONSIVE — Desktop · Tablet · Mobile · Small Mobile
   ============================================================ */

/* ---- Tablet (769 – 1024px) -------------------------------- */
@media (max-width: 1024px) {
  .nav-inner {
    padding: 0 28px;
  }

  /* Tighten nav spacing — 7 links need to breathe before the hamburger takes over */
  .nav-links {
    gap: 1px;
  }

  .nav-links a {
    font-size: 0.74rem;
    letter-spacing: 0.05em;
    padding: 7px 9px;
  }

  #hero-overlay {
    padding: 0 48px 76px;
  }

  .hero-tagline {
    max-width: 70vw;
  }

  #s2-overlay {
    padding: 0 48px 76px;
  }

  .s2-text {
    max-width: min(520px, 80vw);
  }

}

/* ---- Nav collapse (≤ 900px) — hamburger early; 7 links is the
   upper edge for a horizontal bar, so switch before it feels cramped */
@media (max-width: 900px) {
  :root { --nav-h: 68px; }

  .nav-inner     { padding: 0 20px; }
  .nav-logo img  { height: 46px; }

  .nav-hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(22, 25, 29, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 20px 28px;
    gap: 0;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.32s ease, opacity 0.32s ease;
    border-bottom: 1px solid rgba(27, 156, 216, 0.12);
    z-index: 99;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    font-size: 0.95rem;
    padding: 13px 8px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    letter-spacing: 0.06em;
  }

  .nav-links li:last-child a { border-bottom: none; }
}

/* ---- Mobile (≤ 768px) — section-level responsive tweaks --- */
@media (max-width: 768px) {

  /* Hero + S2 — more scroll travel per frame smooths the
     image-sequence playback during fast mobile flick-scrolls */
  #hero,
  #s2 {
    height: 460vh;
  }

  /* Hero */
  #hero-overlay {
    padding: 0 24px 68px;
  }

  .hero-text {
    max-width: 90vw;
    /* Frosted glass card — guarantees readability on any background */
    background: rgba(16, 19, 22, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 22px 24px 20px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.07);
  }

  .hero-eyebrow {
    font-size: 0.6rem;
    letter-spacing: 0.13em;
  }

  .hero-tagline {
    font-size: 0.9rem;
    max-width: 88vw;
    margin-bottom: 28px;
  }

  .hero-cta {
    padding: 12px 24px;
    font-size: 0.76rem;
  }

  /* Section 2 — switch to bottom-left, add glass backdrop */
  #s2-overlay {
    justify-content: flex-start;
    padding: 0 24px 68px;
  }

  .s2-text {
    max-width: 88vw;
    /* Frosted glass card — guarantees readability on any background */
    background: rgba(16, 19, 22, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 22px 24px 20px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.07);
  }

  .s2-heading {
    font-size: clamp(1.6rem, 7vw, 2.6rem);
  }

  .s2-copy {
    font-size: 0.88rem;
    line-height: 1.7;
  }

  .s2-cta {
    padding: 12px 24px;
    font-size: 0.76rem;
  }

}

/* ---- Small mobile (≤ 480px) ------------------------------- */
@media (max-width: 480px) {
  #hero-overlay {
    padding: 0 18px 56px;
  }

  .hero-text {
    max-width: 92vw;
    padding: 18px 18px 16px;
  }

  .hero-eyebrow {
    font-size: 0.55rem;
    letter-spacing: 0.11em;
  }

  #s2-overlay {
    padding: 0 16px 52px;
  }

  .s2-text {
    max-width: 92vw;
    padding: 18px 18px 16px;
  }

  .s2-heading {
    font-size: clamp(1.4rem, 6.5vw, 2rem);
  }

  .s2-copy {
    font-size: 0.84rem;
  }

  .s2-trust {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
  }

}

/* ============================================================
   SECTION — HOW WE WORK (process strip)
   ============================================================ */

#how-we-work {
  background: var(--dark);
  padding: 120px 40px 110px;
  border-top: 1px solid rgba(27, 156, 216, 0.1);
}

.hww-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.hww-eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-light);
  opacity: 0.85;
  margin-bottom: 14px;
}

.hww-heading {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 72px;
}

/* ── Steps row ── */
.hww-steps {
  display: flex;
  align-items: flex-start;
}

.hww-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
}

/* ── Icon circle ── */
.hww-icon-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1.5px solid rgba(27, 156, 216, 0.4);
  background: rgba(27, 156, 216, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
  position: relative;
  z-index: 1;
  margin-bottom: 22px;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.hww-step:hover .hww-icon-ring {
  border-color: var(--blue);
  background: rgba(27, 156, 216, 0.12);
  box-shadow: 0 0 28px rgba(27, 156, 216, 0.2);
}

.hww-step-title {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.25;
}

/* "PCB / CAD" sub-label on the Design step */
.hww-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--blue-light);
  letter-spacing: 0.07em;
  margin-top: 3px;
  opacity: 0.85;
}

.hww-step-desc {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.5);
  max-width: 180px;
}

/* ── Horizontal connector + arrowhead ── */
.hww-conn {
  flex: 0 0 40px;
  height: 2px;
  align-self: flex-start;
  margin-top: 39px;   /* 80px ring ÷ 2 − 1px half-line = 39px → centres with icon */
  background: linear-gradient(to right,
    rgba(27, 156, 216, 0.3) 0%,
    rgba(108, 200, 232, 0.6) 50%,
    rgba(27, 156, 216, 0.3) 100%
  );
  position: relative;
}

.hww-conn::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid rgba(108, 200, 232, 0.6);
  border-top: 3.5px solid transparent;
  border-bottom: 3.5px solid transparent;
}

/* ---- Responsive overrides: How We Work ------------------- */

@media (max-width: 1024px) {
  #how-we-work {
    padding: 100px 28px 96px;
  }
  .hww-heading {
    margin-bottom: 56px;
  }
  .hww-conn {
    flex-basis: 24px;
  }
  .hww-step {
    padding: 0 6px;
  }
  .hww-step-desc {
    font-size: 0.75rem;
    max-width: 150px;
  }
}

@media (max-width: 768px) {
  #how-we-work {
    padding: 80px 24px 88px;
  }
  .hww-heading {
    margin-bottom: 48px;
  }

  /* stack vertically */
  .hww-steps {
    flex-direction: column;
    align-items: center;
  }
  .hww-step {
    flex: none;
    width: 100%;
    max-width: 340px;
    padding: 0 8px;
  }
  .hww-step-desc {
    font-size: 0.82rem;
    max-width: 280px;
  }

  /* vertical connector */
  .hww-conn {
    flex: none;
    width: 2px;
    height: 36px;
    margin-top: 0;
    background: linear-gradient(to bottom,
      rgba(27, 156, 216, 0.3) 0%,
      rgba(108, 200, 232, 0.6) 50%,
      rgba(27, 156, 216, 0.3) 100%
    );
  }
  .hww-conn::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -4px;
    transform: translateX(-50%);
    border-left: 3.5px solid transparent;
    border-right: 3.5px solid transparent;
    border-top: 5px solid rgba(108, 200, 232, 0.6);
    border-bottom: none;
  }
}

@media (max-width: 480px) {
  #how-we-work {
    padding: 64px 18px 72px;
  }
  .hww-step-title {
    font-size: 0.9rem;
  }
  .hww-step-desc {
    font-size: 0.79rem;
  }
}

/* ============================================================
   SECTION — ABOUT TEASER
   ============================================================ */

#about-teaser {
  background: var(--dark);
  padding: 120px 40px 116px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.abt-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* ── Two-column layout ── */
.abt-content {
  display: flex;
  align-items: center;
  gap: 0;
}

.abt-left {
  flex: 0 0 52%;
  padding-right: 80px;
}

.abt-right {
  flex: 1;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding-left: 72px;
}

/* ── Left column ── */
.abt-eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-light);
  opacity: 0.85;
  margin-bottom: 16px;
}

.abt-heading {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 24px;
}

.abt-dot {
  color: var(--green-light);
}

.abt-body {
  font-family: var(--font-body);
  font-size: clamp(0.88rem, 1.4vw, 1rem);
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.58);
  max-width: 480px;
  margin-bottom: 36px;
}

.abt-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(140, 198, 63, 0.3);
  padding-bottom: 3px;
  transition: color 0.22s ease, border-color 0.22s ease, gap 0.22s ease;
}

.abt-link:hover {
  color: #a4dc40;
  border-color: rgba(140, 198, 63, 0.75);
  gap: 14px;
}

/* ── Right column — stats grid ── */
.abt-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 44px;
  column-gap: 28px;
}

.abt-stat {
  border-left: 2px solid rgba(27, 156, 216, 0.2);
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

/* Large number — count-up targets */
.abt-stat-num {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--white);
}

/* Gradient on numeric stats only */
.abt-stat-num[data-count] {
  background: linear-gradient(135deg, var(--white) 30%, var(--blue-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Smaller text for long text-only stats */
.abt-stat-text {
  font-size: clamp(1.2rem, 1.9vw, 1.55rem);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.abt-stat-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

/* ── Responsive: About Teaser ─────────────────────────────── */

@media (max-width: 1024px) {
  #about-teaser {
    padding: 96px 28px 96px;
  }
  .abt-left {
    flex-basis: 50%;
    padding-right: 56px;
  }
  .abt-right {
    padding-left: 56px;
  }
  .abt-body {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  #about-teaser {
    padding: 80px 24px 88px;
  }

  /* Stack vertically */
  .abt-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 56px;
  }
  .abt-left {
    flex-basis: auto;
    width: 100%;
    padding-right: 0;
  }
  .abt-right {
    width: 100%;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-left: 0;
    padding-top: 48px;
  }

  .abt-stats {
    column-gap: 20px;
    row-gap: 36px;
  }
  .abt-stat-num {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }
  .abt-stat-text {
    font-size: clamp(1.1rem, 4.5vw, 1.4rem);
  }
}

@media (max-width: 480px) {
  #about-teaser {
    padding: 64px 18px 72px;
  }
  .abt-stats {
    column-gap: 16px;
    row-gap: 32px;
  }
  .abt-stat {
    padding-left: 14px;
  }
  .abt-stat-label {
    font-size: 0.65rem;
  }
}

/* ============================================================
   SECTION — CLIENTS (auto-scroll logo marquee)
   ============================================================ */

#clients {
  background: var(--dark);
  padding: 100px 0 110px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.clients-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.clients-heading {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 60px;
}

/* ── Marquee track ── */
.clients-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.clients-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: clientsScroll 38s linear infinite;
}

.clients-marquee:hover .clients-track {
  animation-play-state: paused;
}

@keyframes clientsScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }   /* exactly one logo set — seamless loop */
}

/* ── Individual logo — white card / chip ── */
.client-logo {
  flex: 0 0 auto;
  width: 160px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 18px;
  padding: 16px;
  background: var(--off-white);
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.client-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(27, 156, 216, 0.25);
}

.client-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ── Responsive: Clients ──────────────────────────────────── */

@media (max-width: 1024px) {
  .clients-heading {
    margin-bottom: 50px;
  }
  .client-logo {
    width: 140px;
    height: 96px;
    margin: 0 14px;
    padding: 14px;
  }
}

@media (max-width: 768px) {
  #clients {
    padding: 80px 0 88px;
  }
  .clients-inner {
    padding: 0 24px;
  }
  .clients-heading {
    font-size: clamp(1.4rem, 5vw, 1.9rem);
    margin-bottom: 42px;
  }
  .client-logo {
    width: 124px;
    height: 88px;
    margin: 0 12px;
    padding: 13px;
    border-radius: 10px;
  }
  .clients-track {
    animation-duration: 28s;
  }
}

@media (max-width: 480px) {
  .client-logo {
    width: 108px;
    height: 78px;
    margin: 0 10px;
    padding: 12px;
    border-radius: 9px;
  }
}

/* ============================================================
   SECTION — CLIENT REVIEWS / CAROUSEL (shared .testi-* system)
   ============================================================ */

#client-reviews {
  background: var(--dark);
  padding: 110px 40px 120px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.testi-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.testi-eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-light);
  opacity: 0.85;
  margin-bottom: 16px;
}

.testi-heading {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 28px;
}

.testi-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 9px 20px;
  margin-bottom: 56px;
}

.testi-badge svg { color: #FFC85C; }

.testi-badge strong {
  color: var(--white);
  font-weight: 700;
}

/* ---- Carousel shell ---- */
.testi-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.testi-arrow {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(27, 156, 216, 0.35);
  background: rgba(27, 156, 216, 0.06);
  color: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.22s ease, background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.testi-arrow:hover {
  border-color: var(--blue);
  background: rgba(27, 156, 216, 0.16);
  color: var(--white);
  transform: scale(1.06);
}

.testi-track {
  position: relative;
  flex: 1;
  overflow: hidden;
  min-height: 340px;
  transition: height 0.4s ease;
}

.testi-card {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 6px 26px 4px;
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.testi-card.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 2;
}

.testi-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 18px;
}

.testi-avatar.av-1 { background: linear-gradient(135deg, var(--blue), var(--blue-deep)); }
.testi-avatar.av-2 { background: linear-gradient(135deg, var(--green), var(--green-light)); }
.testi-avatar.av-3 { background: linear-gradient(135deg, var(--blue-light), var(--blue-deep)); }
.testi-avatar.av-4 { background: linear-gradient(135deg, var(--green-light), var(--blue-deep)); }
.testi-avatar.av-5 { background: linear-gradient(135deg, var(--blue-deep), var(--green)); }
.testi-avatar.av-6 { background: linear-gradient(135deg, var(--blue), var(--green-light)); }

.testi-stars {
  color: #FFC85C;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  margin-bottom: 18px;
}

.testi-quote {
  font-family: var(--font-body);
  font-size: clamp(0.88rem, 1.5vw, 1.02rem);
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  max-width: 640px;
  margin: 0 0 22px;
}

.testi-quote::before {
  content: '\201C';
  display: block;
  font-family: var(--font-head);
  font-size: 2.6rem;
  line-height: 0.6;
  color: var(--blue);
  opacity: 0.35;
  margin-bottom: 10px;
}

.testi-name {
  font-family: var(--font-head);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 4px;
}

.testi-role {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--blue-light);
  opacity: 0.85;
  max-width: 480px;
  margin: 0;
}

.testi-tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 2px 9px;
  margin-left: 8px;
  vertical-align: middle;
}

.testi-google {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 10px;
}

.testi-google::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4285F4, #34A853, #FBBC05, #EA4335);
}

/* ---- Dots ---- */
.testi-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 36px;
}

.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, width 0.25s ease, border-radius 0.25s ease;
}

.testi-dot:hover { background: rgba(255, 255, 255, 0.4); }

.testi-dot.active {
  background: var(--blue-light);
  width: 22px;
  border-radius: 4px;
}

@media (max-width: 1024px) {
  #client-reviews { padding: 96px 28px 100px; }
  .testi-track { min-height: 380px; }
}

@media (max-width: 768px) {
  #client-reviews { padding: 80px 24px 92px; }
  .testi-heading { margin-bottom: 22px; }
  .testi-badge { margin-bottom: 44px; }
  .testi-carousel { gap: 12px; }
  .testi-arrow { width: 38px; height: 38px; }
  .testi-card { padding: 4px 14px 4px; }
  .testi-quote { font-size: 0.86rem; line-height: 1.75; }
  .testi-role { max-width: 88vw; }
  .testi-track { min-height: 460px; }
}

@media (max-width: 480px) {
  .testi-carousel { gap: 6px; }
  .testi-arrow { width: 32px; height: 32px; }
  .testi-arrow svg { width: 15px; height: 15px; }
  .testi-card { padding: 4px 4px 4px; }
}

/* ============================================================
   SECTION — ENDORSED BY LEADERS (featured endorsement band)
   ============================================================ */

#endorsements {
  background: var(--dark);
  padding: 110px 40px 116px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.endorse-inner {
  max-width: 1260px;
  margin: 0 auto;
  text-align: center;
}

.endorse-eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-light);
  opacity: 0.85;
  margin-bottom: 16px;
}

.endorse-heading {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 0;
}

.endorse-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 56px;
}

.endorse-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 38px 26px 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.008));
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.endorse-card:hover {
  border-color: rgba(27, 156, 216, 0.32);
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
}

.endorse-photo {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
  border: 2px solid rgba(27, 156, 216, 0.4);
  box-shadow: 0 0 0 5px rgba(27, 156, 216, 0.07);
  margin-bottom: 24px;
}

.endorse-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.endorse-quote {
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.64);
  margin: 0 0 24px;
}

.endorse-quote::before {
  content: '\201C';
  display: block;
  font-family: var(--font-head);
  font-size: 2.6rem;
  line-height: 0.5;
  color: var(--green-light);
  opacity: 0.4;
  margin-bottom: 14px;
}

.endorse-name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 4px;
}

.endorse-title {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--blue-light);
  opacity: 0.85;
  margin: 0 0 14px;
}

.endorse-date {
  font-family: var(--font-body);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 12px;
  margin-top: auto;
  width: 100%;
}

.endorse-note {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.32);
  margin: 40px 0 0;
}

@media (max-width: 1024px) {
  #endorsements { padding: 96px 28px 100px; }
  .endorse-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}

@media (max-width: 768px) {
  #endorsements { padding: 80px 24px 90px; }
  .endorse-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 44px; }
  .endorse-card { padding: 34px 24px 26px; }
}

@media (max-width: 480px) {
  .endorse-photo { width: 80px; height: 80px; }
  .endorse-quote { font-size: 0.82rem; }
}

/* ============================================================
   SECTION — PRESS & MEDIA (auto-scroll logo marquee)
   ============================================================ */

#press {
  background: var(--dark);
  padding: 100px 0 110px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.press-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.press-heading {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 60px;
}

/* ── Marquee track ── */
.press-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.press-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: pressScroll 44s linear infinite;
}

.press-marquee:hover .press-track {
  animation-play-state: paused;
}

@keyframes pressScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }   /* exactly one logo set — seamless loop */
}

/* ── Individual logo — white card / chip (same treatment as Clients) ── */
.press-logo {
  flex: 0 0 auto;
  width: 160px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 18px;
  padding: 16px;
  background: var(--off-white);
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.press-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(27, 156, 216, 0.25);
}

.press-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ── "View all coverage" link ── */
.press-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 52px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--blue-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(108, 200, 232, 0.3);
  padding-bottom: 4px;
  transition: color 0.22s ease, border-color 0.22s ease, gap 0.22s ease;
}

.press-link:hover {
  color: var(--white);
  border-color: rgba(27, 156, 216, 0.7);
  gap: 14px;
}

/* ── Responsive: Press & Media ────────────────────────────── */

@media (max-width: 1024px) {
  .press-heading { margin-bottom: 50px; }
  .press-logo {
    width: 140px;
    height: 96px;
    margin: 0 14px;
    padding: 14px;
  }
}

@media (max-width: 768px) {
  #press { padding: 80px 0 88px; }
  .press-inner { padding: 0 24px; }
  .press-heading {
    font-size: clamp(1.4rem, 5vw, 1.9rem);
    margin-bottom: 42px;
  }
  .press-logo {
    width: 124px;
    height: 88px;
    margin: 0 12px;
    padding: 13px;
    border-radius: 10px;
  }
  .press-track { animation-duration: 34s; }
  .press-link { margin-top: 40px; }
}

@media (max-width: 480px) {
  .press-logo {
    width: 108px;
    height: 78px;
    margin: 0 10px;
    padding: 12px;
    border-radius: 9px;
  }
}

/* ============================================================
   SECTION — RECOGNITION (auto-scroll badge marquee)
   ============================================================ */

#recognition {
  background: var(--dark);
  padding: 100px 0 110px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.recog-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.recog-heading {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 60px;
}

/* ── Marquee track ── */
.recog-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.recog-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: recogScroll 46s linear infinite;
}

.recog-marquee:hover .recog-track {
  animation-play-state: paused;
}

@keyframes recogScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }   /* exactly one logo set — seamless loop */
}

/* ── Individual logo — white card / chip ── */
.recog-logo {
  flex: 0 0 auto;
  width: 160px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 18px;
  padding: 16px;
  background: var(--off-white);
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.recog-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(27, 156, 216, 0.25);
}

.recog-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ── Responsive: Recognition ──────────────────────────────── */

@media (max-width: 1024px) {
  .recog-heading { margin-bottom: 50px; }
  .recog-logo {
    width: 140px;
    height: 96px;
    margin: 0 14px;
    padding: 14px;
  }
}

@media (max-width: 768px) {
  #recognition { padding: 80px 0 88px; }
  .recog-inner { padding: 0 24px; }
  .recog-heading {
    font-size: clamp(1.4rem, 5vw, 1.9rem);
    margin-bottom: 42px;
  }
  .recog-logo {
    width: 124px;
    height: 88px;
    margin: 0 12px;
    padding: 13px;
    border-radius: 10px;
  }
  .recog-track { animation-duration: 36s; }
}

@media (max-width: 480px) {
  .recog-logo {
    width: 108px;
    height: 78px;
    margin: 0 10px;
    padding: 12px;
    border-radius: 9px;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */

#site-footer {
  background: #101317;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 80px 40px 0;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
}

/* ── Brand column ── */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo img {
  height: 64px;
  width: auto;
  border-radius: 6px;
  margin-bottom: 18px;
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 24px;
  max-width: 280px;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
}

.footer-social-link:hover {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-3px);
}

/* ── Link / contact / group columns ── */
.footer-col-heading {
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-list li,
.footer-list a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.22s ease;
}

.footer-list a:hover {
  color: var(--blue-light);
}

.footer-group-text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
}

/* ── Bottom bar ── */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom-logo {
  height: 28px;
  width: auto;
  border-radius: 4px;
  opacity: 0.85;
}

.footer-copyright {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

/* ── Responsive: Footer ──────────────────────────────────── */

@media (max-width: 1024px) {
  #site-footer { padding: 64px 28px 0; }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
  }

  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  #site-footer { padding: 56px 24px 0; }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 40px;
    text-align: center;
  }

  .footer-brand { align-items: center; }

  .footer-tagline { max-width: none; }

  .footer-col-heading { margin-bottom: 16px; }

  .footer-bottom { flex-direction: column; gap: 10px; padding: 24px 0; }
}

/* ============================================================
   SECTION — ABOUT INTRO  (about.html)
   ============================================================ */

#about-intro {
  background: var(--dark);
  padding: calc(var(--nav-h) + 96px) 40px 110px;
}

.abi-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.abi-eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-light);
  opacity: 0.85;
  margin-bottom: 20px;
}

.abi-heading {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--white);
  max-width: 820px;
  margin: 0 auto 28px;
}

.abi-dot {
  color: var(--green-light);
}

.abi-body {
  font-family: var(--font-body);
  font-size: clamp(0.92rem, 1.4vw, 1.05rem);
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.58);
  max-width: 680px;
  margin: 0 auto 64px;
}

/* ── Stats strip ── */
.abi-stats {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  max-width: 880px;
  margin: 0 auto;
}

.abi-stat {
  flex: 1 1 0;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.abi-stat:first-child {
  border-left: none;
}

.abi-stat-num {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--white);
}

.abi-stat-num[data-count] {
  background: linear-gradient(135deg, var(--white) 30%, var(--blue-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.abi-stat-text {
  font-size: clamp(1.2rem, 1.9vw, 1.55rem);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.abi-stat-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

/* ── Responsive: About Intro ──────────────────────────────── */

@media (max-width: 1024px) {
  #about-intro { padding: calc(var(--nav-h) + 80px) 28px 96px; }
  .abi-body { margin-bottom: 56px; }
}

@media (max-width: 768px) {
  #about-intro { padding: calc(var(--nav-h) + 64px) 24px 80px; }

  .abi-heading { margin-bottom: 22px; }
  .abi-body { margin-bottom: 48px; }

  .abi-stats {
    flex-wrap: wrap;
    gap: 32px 0;
  }

  .abi-stat {
    flex: 0 0 50%;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 16px 0;
  }

  .abi-stat:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 480px) {
  #about-intro { padding: calc(var(--nav-h) + 48px) 18px 64px; }

  .abi-stat-num { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .abi-stat-text { font-size: clamp(1.05rem, 4.5vw, 1.3rem); }
}

/* ============================================================
   SECTION — OUR STORY  (about.html)
   ============================================================ */

#our-story {
  background: var(--dark);
  padding: 0 40px 130px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.story-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 110px;
  display: flex;
  align-items: center;
  gap: 80px;
}

/* ── Text ── */
.story-text {
  flex: 0 0 56%;
}

.story-eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-light);
  opacity: 0.85;
  margin-bottom: 16px;
}

.story-heading {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: var(--white);
  margin-bottom: 18px;
}

.story-tagline {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 22px;
}

.story-body {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.58);
  max-width: 540px;
}

.story-body + .story-body {
  margin-top: 18px;
}

/* ── Figure ── */
.story-figure {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.story-frame {
  width: 100%;
  max-width: 360px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(27, 156, 216, 0.08);
}

.story-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.story-caption {
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

/* ── Responsive: Our Story ─────────────────────────────────── */

@media (max-width: 1024px) {
  #our-story { padding: 0 28px 110px; }
  .story-inner { gap: 56px; }
  .story-text { flex-basis: 52%; }
  .story-frame { max-width: 320px; }
}

@media (max-width: 768px) {
  #our-story { padding: 0 24px 88px; }

  .story-inner {
    flex-direction: column-reverse;
    gap: 40px;
    padding-top: 88px;
  }

  .story-text { flex-basis: auto; width: 100%; }
  .story-body { max-width: none; }

  .story-figure { width: 100%; }
  .story-frame { max-width: 380px; }
}

@media (max-width: 480px) {
  #our-story { padding: 0 18px 72px; }
  .story-inner { padding-top: 72px; }
  .story-frame { max-width: 100%; }
}

/* ============================================================
   SECTION — WHAT WE DO  (about.html)
   ============================================================ */

#what-we-do {
  background: var(--dark);
  padding: 110px 40px 120px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.wwd-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.wwd-heading {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  text-align: center;
  margin-bottom: 18px;
}

.wwd-intro {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.58);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

/* ── Card grid ── */
.wwd-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.wwd-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 36px 30px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.wwd-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(27, 156, 216, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.wwd-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
  margin-bottom: 22px;
  transition: color 0.3s ease;
}

.wwd-icon svg {
  width: 32px;
  height: 32px;
}

.wwd-card:hover .wwd-icon {
  color: var(--green-light);
}

.wwd-card-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 10px;
}

.wwd-card-text {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
}

/* ── Responsive: What We Do ──────────────────────────────── */

@media (max-width: 1024px) {
  #what-we-do { padding: 96px 28px 100px; }

  .wwd-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .wwd-intro { margin-bottom: 52px; }
}

@media (max-width: 768px) {
  #what-we-do { padding: 80px 24px 88px; }

  .wwd-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .wwd-intro { margin-bottom: 44px; }

  .wwd-card { padding: 30px 26px; }
}

@media (max-width: 480px) {
  #what-we-do { padding: 64px 18px 72px; }
}

/* ============================================================
   SECTION — WORKSHOPS  (about.html)
   ============================================================ */

#workshops {
  background: var(--dark);
  padding: 110px 0 120px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.ws-inner {
  max-width: 800px;
  margin: 0 auto 56px;
  padding: 0 40px;
  text-align: center;
}

.ws-heading {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 18px;
}

.ws-body {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.58);
}

/* ── Marquee ── */
.ws-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.ws-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: wsScroll 50s linear infinite;
}

.ws-marquee:hover .ws-track {
  animation-play-state: paused;
}

@keyframes wsScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Square photo card ── */
.ws-card {
  flex: 0 0 auto;
  width: 240px;
  height: 240px;
  margin: 0 14px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.ws-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Responsive: Workshops ──────────────────────────────── */

@media (max-width: 1024px) {
  .ws-card {
    width: 200px;
    height: 200px;
    margin: 0 12px;
  }
}

@media (max-width: 768px) {
  #workshops { padding: 88px 0 96px; }
  .ws-inner { padding: 0 24px; margin-bottom: 44px; }

  .ws-card {
    width: 160px;
    height: 160px;
    margin: 0 10px;
    border-radius: 12px;
  }

  .ws-track { animation-duration: 38s; }
}

@media (max-width: 480px) {
  .ws-card {
    width: 130px;
    height: 130px;
    margin: 0 8px;
    border-radius: 10px;
  }
}
