@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --amber:    #d4920a;
  --amber-lt: #f5b730;
  --amber-bg: #fef9ee;
  --black:    #0f0f0f;
  --gray-900: #1a1a1a;
  --gray-600: #525252;
  --gray-400: #a3a3a3;
  --gray-200: #e5e5e5;
  --gray-100: #f5f5f5;
  --white:    #ffffff;
  --gray-300:     #d4d4d4;
  --amber-dark:   #b87d08;
  --amber-border: #f0d070;
  --amber-shadow: rgba(212,146,10,0.15);
  --nav-h:    64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 400;
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 7vw, 5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
p  { color: var(--gray-600); line-height: 1.7; }
a  { color: inherit; text-decoration: none; }

.container { max-width: 1760px; margin: 0 auto; padding: 0 clamp(1.5rem, 5%, 6rem); }
section { padding: 96px 0; }
[id] { scroll-margin-top: var(--nav-h); }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  min-height: var(--nav-h);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  display: flex; align-items: center;
}
.nav-inner {
  max-width: 1760px; margin: 0 auto; width: 100%;
  padding: 18px clamp(1.25rem, 4%, 5rem);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}

/* Wordmark / Logo */
.wordmark { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--black); }
.wordmark-glyph {
  width: 18px; height: 18px; position: relative; transform: translateY(3px); flex-shrink: 0;
}
.wordmark-glyph::before, .wordmark-glyph::after {
  content: ""; position: absolute; inset: 0;
}
.wordmark-glyph::before { background: var(--amber); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.wordmark-glyph::after  { background: var(--black); clip-path: polygon(50% 20%, 80% 50%, 50% 80%, 20% 50%); }
.wordmark-text { font-weight: 600; font-size: 17px; letter-spacing: 0.18em; }
.wordmark-tm { font-family: ui-monospace, Menlo, monospace; font-size: 10px; color: var(--gray-400); letter-spacing: 0.05em; margin-left: 2px; }
.amber-r { color: var(--amber); }

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: var(--gray-600); transition: color 0.15s; }
.nav-links a:hover, .nav-links a.active { color: var(--black); }

.nav-cta {
  background: var(--black) !important; color: var(--white) !important;
  padding: 0.45rem 1rem !important; border-radius: 6px;
  font-size: 0.875rem !important; font-weight: 500 !important;
  transition: background 0.15s !important;
}
.nav-cta:hover { background: var(--amber) !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--black); transition: all 0.3s; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.65rem 1.3rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.875rem; font-weight: 500;
  border-radius: 6px; border: none; cursor: pointer; transition: all 0.15s;
}
.btn-primary { background: var(--black); color: var(--white); }
.btn-primary:hover { background: var(--amber); }
.btn-amber { background: var(--amber); color: var(--white); }
.btn-amber:hover { background: var(--amber-dark); }
.btn-ghost { background: transparent; color: var(--black); border: 1px solid var(--gray-200); }
.btn-ghost:hover { border-color: var(--black); }
.btn-white { background: var(--white); color: var(--black); }
.btn-white:hover { background: var(--gray-100); }

/* BADGE */
.badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.78rem; font-weight: 600;
  background: var(--amber-bg); color: var(--amber);
  border: 1px solid var(--amber-border);
  padding: 0.28rem 0.75rem; border-radius: 999px;
}
.badge::before { content: ''; width: 6px; height: 6px; background: var(--amber); border-radius: 50%; display: block; }

/* SECTION LABEL */
.section-label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--amber); display: block; margin-bottom: 0.6rem;
}

/* HERO */
.hero {
  min-height: 100svh; display: flex; align-items: center;
  padding-top: var(--nav-h); background: var(--white);
  position: relative; overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--gray-200) 1px, transparent 1px),
    linear-gradient(90deg, var(--gray-200) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.5;
  mask-image: linear-gradient(to right, black 0%, rgba(0,0,0,0.7) 14%, transparent 32%, transparent 68%, rgba(0,0,0,0.7) 86%, black 100%);
  -webkit-mask-image: linear-gradient(to right, black 0%, rgba(0,0,0,0.7) 14%, transparent 32%, transparent 68%, rgba(0,0,0,0.7) 86%, black 100%);
}

.hero-text {
  position: relative; z-index: 2;
  max-width: 1760px; margin: 0 auto;
  padding: 4rem clamp(1.5rem, 5%, 6rem);
  width: 100%;
}

.hero-content {
  position: relative; text-align: left;
  max-width: 520px;
  animation: heroIn 0.6s ease both;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

.hero-content h1 { margin-bottom: 1.25rem; animation: heroIn 0.6s 0.12s ease both; opacity: 0; animation-fill-mode: forwards; }
.hero-sub {
  font-size: 1.1rem; color: var(--gray-600);
  max-width: 500px; margin: 0 0 2rem;
  animation: heroIn 0.6s 0.2s ease both; opacity: 0; animation-fill-mode: forwards;
}

.hero-content h1 em {
  font-style: normal;
  background: linear-gradient(130deg, var(--amber), var(--amber-lt));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero-divider {
  width: 1px; height: 40px; background: var(--gray-200);
  margin: 3rem 0 2.5rem;
  animation: heroIn 0.6s 0.35s ease both; opacity: 0; animation-fill-mode: forwards;
}

.hero-industries {
  display: flex; flex-direction: column; gap: 0.6rem; align-items: flex-start;
  animation: heroIn 0.6s 0.4s ease both; opacity: 0; animation-fill-mode: forwards;
}
.hero-industries-label { font-size: 0.75rem; color: var(--gray-400); font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; }
.hero-industries-list { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; row-gap: 0.4rem; }
.hero-industries-list span { font-size: 0.875rem; color: var(--gray-600); font-weight: 500; }

/* Animation panel — full-bleed behind hero text */
.anim-wrap {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  animation: heroIn 1s 0.5s ease-out forwards;
}
.anim-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    white 0%,
    rgba(255,255,255,0.85) 14%,
    transparent 30%,
    transparent 70%,
    rgba(255,255,255,0.85) 86%,
    white 100%
  );
  pointer-events: none;
}
.anim-wrap svg {
  width: 100%; height: 100%; display: block;
}
/* Fluid rightward shift as viewport narrows — prevents cubes overlapping text */
@media (min-width: 1025px) {
  .anim-wrap svg {
    transform: translateX(clamp(0px, calc((1400px - 100vw) * 0.45), 220px));
  }
}

/* Phase stepper */
.anim-labels {
  position: absolute;
  top: 50%; right: clamp(1.5rem, 5%, 4rem);
  transform: translateY(-50%);
  z-index: 4;
  display: flex; flex-direction: column; gap: 1.4rem;
  padding: 1.1rem 1rem 1.1rem 1rem;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 10px;
}
.anim-labels::before {
  content: '';
  position: absolute;
  /* center on the 9px nodes: padding-left(1rem≈16px) + 4px = ~20px */
  left: calc(1rem + 4px); top: 1.1rem; bottom: 1.1rem;
  width: 1px;
  background: rgba(212, 146, 10, 0.25);
}
.anim-traveler {
  position: absolute;
  /* align with node left edge */
  left: 1rem; top: 0;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--amber-lt);
  box-shadow: 0 0 10px 4px rgba(245, 183, 48, 0.55);
  pointer-events: none;
  z-index: 1;
}
.anim-step {
  display: flex; align-items: center; gap: 10px;
  opacity: 0.35;
  transition: opacity 0.45s ease;
}
.anim-step.active { opacity: 1; }
.anim-step-node {
  width: 9px; height: 9px; border-radius: 50%;
  border: none; background: transparent; flex-shrink: 0;
}
.anim-step-text {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray-400); white-space: nowrap;
  transition: color 0.4s;
}
.anim-step.active .anim-step-text { color: var(--amber-dark); }

/* Cube initial positions — GSAP overrides these at runtime */
.c { transform: translate(var(--sx), var(--sy)); }
.final-halo { transform-origin: 600px 380px; }

/* SERVICES */
.services { background: var(--gray-100); }

.section-header { margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { max-width: 460px; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }

.service-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 10px; padding: 1.75rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.service-card:hover {
  border-color: var(--amber);
  box-shadow: 0 4px 20px var(--amber-shadow);
  transform: translateY(-2px);
}

.service-icon-wrap {
  width: 38px; height: 38px;
  background: var(--amber-bg); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem; color: var(--amber);
}
.service-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.service-card p { font-size: 0.875rem; }

/* WHY */
.why { background: var(--white); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }

.why-points { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 2rem; }

.why-point {
  display: flex; gap: 0.9rem; align-items: flex-start;
  padding: 1.1rem; border: 1px solid var(--gray-200); border-radius: 8px;
  transition: border-color 0.2s, background 0.2s;
}
.why-point:hover { border-color: var(--amber); background: var(--amber-bg); }

.why-point-icon {
  width: 30px; height: 30px; flex-shrink: 0;
  background: var(--amber-bg); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--amber); font-size: 0.85rem;
}
.why-point h4 { font-size: 0.875rem; font-weight: 600; margin-bottom: 0.15rem; }
.why-point p { font-size: 0.825rem; }

.why-visual {
  background: var(--gray-100); border: 1px solid var(--gray-200);
  border-radius: 12px; padding: 2rem; position: relative; overflow: hidden;
}
.why-visual::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--amber-lt));
}
.why-visual-title { font-size: 0.78rem; font-weight: 600; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.5rem; }

.metric-row { display: flex; justify-content: space-between; align-items: center; padding: 0.9rem 0; border-bottom: 1px solid var(--gray-200); }
.metric-row:last-child { border-bottom: none; }
.metric-label { font-size: 0.85rem; color: var(--gray-600); }
.metric-val { font-size: 0.875rem; font-weight: 600; color: var(--black); display: flex; align-items: center; gap: 0.4rem; }
.dot { width: 7px; height: 7px; background: var(--amber); border-radius: 50%; display: inline-block; }

/* CTA STRIP */
.cta-strip { background: var(--black); padding: 80px 0; text-align: center; }
.cta-strip h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-strip p { color: var(--gray-400); margin-bottom: 2rem; }

/* FOOTER */
footer { background: var(--gray-100); border-top: 1px solid var(--gray-200); padding: 40px 0 28px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; padding-bottom: 2rem; border-bottom: 1px solid var(--gray-200); margin-bottom: 1.25rem; }
.footer-wordmark { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--black); }
.footer-wordmark-text { font-weight: 600; font-size: 22px; letter-spacing: 0.18em; }
.footer-linkedin { color: var(--gray-400); transition: color 0.15s; display: flex; align-items: center; }
.footer-linkedin:hover { color: #0077b5; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.8rem; color: var(--gray-400); }

/* PAGE HERO (inner pages) */
.page-hero { background: var(--white); padding: 136px 0 64px; border-bottom: 1px solid var(--gray-200); }
.page-hero .badge { margin-bottom: 1.1rem; }
.page-hero h1 { margin-bottom: 0.75rem; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p { max-width: 500px; }

/* SERVICES */
.services-full { background: var(--gray-100); }

.service-cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }

.service-card-c {
  border: 1px solid var(--gray-200); border-radius: 10px;
  padding: 2rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.service-card-c:hover { border-color: var(--amber); box-shadow: 0 4px 20px var(--amber-shadow); }
.service-card-c h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.service-card-c p { font-size: 0.875rem; }

.service-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.1rem; }
.tag { font-size: 0.75rem; font-weight: 500; padding: 0.22rem 0.6rem; background: var(--gray-100); color: var(--gray-600); border-radius: 4px; }

/* INDUSTRIES */
.industries { background: var(--gray-100); padding: 80px 0; }
.sector-pills { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.sector-pill {
  font-size: 0.875rem; font-weight: 500;
  padding: 0.55rem 1.25rem;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  background: var(--white);
  color: var(--gray-600);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  cursor: default;
}
.sector-pill:hover { border-color: var(--amber); color: var(--black); background: var(--amber-bg); }

/* CASE STUDIES */
.case-studies-section { background: var(--white); }

.cs-carousel-outer {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 2.5rem;
}

.cs-carousel-viewport {
  overflow: hidden;
  width: 100%;
  padding: 1.5rem 0;
}

.cs-carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: grab;
  user-select: none;
}
.cs-carousel-track.dragging {
  transition: none;
  cursor: grabbing;
}

.carousel-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1rem; padding-bottom: 0.5rem; }
.carousel-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gray-200); transition: background 0.2s; cursor: pointer; }
.carousel-dot.active { background: var(--amber); }

.cs-arrow {
  position: absolute;
  z-index: 10;
  width: 40px; height: 40px;
  border: 1px solid var(--gray-200); border-radius: 50%;
  background: var(--white); color: var(--black);
  font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.15s, background 0.15s, opacity 0.15s;
  flex-shrink: 0;
}
.cs-arrow:hover { border-color: var(--amber); background: var(--amber-bg); }
.cs-arrow-left { left: 1rem; }
.cs-arrow-right { right: 1rem; }

.cs-card {
  border: 1px solid var(--gray-200); border-radius: 10px; overflow: hidden;
  cursor: pointer; flex-shrink: 0;
  width: 44%;
  opacity: 0.4;
  transform: scale(0.96);
  transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.2s, box-shadow 0.2s;
  pointer-events: none;
}
.cs-card.cs-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.cs-card.cs-active:hover { border-color: var(--amber); box-shadow: 0 4px 20px var(--amber-shadow); }
.cs-card:hover { border-color: var(--amber); box-shadow: 0 4px 20px var(--amber-shadow); }
.cs-card.open { border-color: var(--amber); }

.cs-card-header { padding: 1.4rem; display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.cs-industry { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); margin-bottom: 0.35rem; }
.cs-card-header h3 { font-size: 0.95rem; font-weight: 600; line-height: 1.3; }

.cs-toggle {
  width: 24px; height: 24px; flex-shrink: 0;
  border: 1px solid var(--gray-200); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; color: var(--gray-400); transition: all 0.2s; line-height: 1;
}
.cs-card.open .cs-toggle { background: var(--amber); border-color: var(--amber); color: var(--white); transform: rotate(45deg); }

.cs-card-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.cs-card.open .cs-card-body { max-height: 600px; }
.cs-card-body-inner { padding: 1.25rem 1.4rem 1.4rem; border-top: 1px solid var(--gray-200); }

.cs-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 1.1rem; }
.cs-meta-item label { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-400); display: block; margin-bottom: 0.2rem; }
.cs-meta-item span { font-size: 0.825rem; font-weight: 500; color: var(--black); }
.cs-card-body p { font-size: 0.85rem; margin-bottom: 0.65rem; }
.cs-card-body p strong { color: var(--black); font-weight: 600; }
.cs-outcome { background: var(--amber-bg); border-left: 2px solid var(--amber); padding: 0.75rem 0.9rem; font-size: 0.83rem; color: var(--gray-900) !important; border-radius: 0 4px 4px 0; margin-top: 0.9rem; }

/* CONTACT */
.contact-section { background: var(--gray-100); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 5rem; align-items: start; }
.contact-info h2 { margin-bottom: 0.75rem; }
.contact-detail { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.contact-detail-item label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-400); display: block; margin-bottom: 0.25rem; }
.contact-detail-item a, .contact-detail-item span { font-size: 0.9rem; color: var(--black); font-weight: 500; }
.contact-detail-item a:hover { color: var(--amber); }

.contact-form { background: var(--white); border: 1px solid var(--gray-200); border-radius: 12px; padding: 2.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; margin-bottom: 1rem; }
.form-group label { font-size: 0.78rem; font-weight: 600; color: var(--black); margin-bottom: 0.4rem; }
.form-group input, .form-group textarea, .form-group select {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1rem; color: var(--black);
  background: var(--gray-100); border: 1px solid var(--gray-200); border-radius: 6px;
  padding: 0.6rem 0.85rem; outline: none; transition: border-color 0.15s, background 0.15s; width: 100%;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--amber); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit { width: 100%; justify-content: center; margin-top: 0.5rem; }
.form-note { font-size: 0.75rem; color: var(--gray-400); margin-top: 0.6rem; text-align: center; }

.form-success {
  display: none;
  text-align: center;
  padding: 2.5rem 1rem;
}
.form-success.visible { display: block; }
.form-success h3 { margin-bottom: 0.5rem; }

/* RESPONSIVE */

/* Tablet */
@media (max-width: 1024px) {
  .hero-text { padding: 3rem 2rem; }
}

/* Large phone / small tablet */
@media (max-width: 860px) {
  section { padding: 64px 0; }
  .services-grid, .service-cards-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .why-grid { gap: 2.5rem; }
  .contact-grid { gap: 2rem; }
  .cs-card { width: 78%; }
  .cs-arrow-left { left: 0.25rem; }
  .cs-arrow-right { right: 0.25rem; }
  /* Mobile nav */
  .nav-inner { padding: 14px 20px; }
  .nav-links {
    display: none;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column; gap: 0;
    border-bottom: 1px solid var(--gray-200);
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--gray-200); }
  .nav-links a { display: block; padding: 0.9rem 1.5rem; }
  .nav-toggle { display: flex; }
  .form-row { grid-template-columns: 1fr; }
}

/* Phone */
@media (max-width: 480px) {
  section { padding: 48px 0; }
  .hero-text { padding: 14px 20px; }
  .cs-card { width: 88%; }
  .hero-industries-list { gap: 0.75rem; }
  .hero-sub { font-size: 1rem; }
}

/* Mobile — stacked layout + horizontal stepper */
@media (max-width: 1024px) {
  /* Hero becomes a column: text → animation */
  .hero {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-height: 100svh;
  }
  .hero-text {
    padding: 2rem 1.5rem 1rem;
    z-index: 2;
  }
  /* Animation block sits below the text, relative flow */
  .anim-wrap {
    position: relative;
    inset: auto;
    width: 100%;
    height: 72vw;
    min-height: 300px;
    max-height: 480px;
    flex-shrink: 0;
  }
  /* Fade bottom of animation into page bg */
  .anim-wrap::after {
    background: linear-gradient(
      to bottom,
      transparent 0%,
      transparent 60%,
      white 100%
    );
  }

  .anim-labels {
    top: auto; right: auto;
    bottom: 1.75rem; left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
    gap: 1.5rem;
    padding: 0.55rem 1rem;
  }
  .anim-labels::before {
    top: calc(0.55rem + 4px);
    left: 1rem; right: 1rem;
    bottom: auto;
    width: auto; height: 1px;
  }
  .anim-traveler {
    top: 0.55rem;
    left: 1rem;
  }
  /* Extra bottom padding to reserve space for the active label */
  .anim-labels { padding-bottom: calc(0.55rem + 1.6rem); }
  .anim-step { flex-direction: column; gap: 0; }
  /* All texts sit in the same spot below the dots; only active one is visible */
  .anim-step-text {
    position: absolute;
    bottom: 0.4rem;
    left: 50%; transform: translateX(-50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
    font-size: 0.65rem;
  }
  .anim-step.active .anim-step-text { opacity: 1; }
}

/* Reduced motion — GSAP handles snap-to-final in JS; just ensure hero fades are instant */
@media (prefers-reduced-motion: reduce) {
  .anim-wrap { opacity: 1 !important; animation: none !important; }
  .hero-content, .hero-content h1, .hero-sub, .hero-divider, .hero-industries {
    opacity: 1 !important; transform: none !important; animation: none !important;
  }
}

.page { animation: fadeIn 0.35s ease both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
