/* ============================================================
   "Organic Intelligence" — Editorial-Tech Template (v2)
   Premium Fluidity design system
   ============================================================ */

:root {
  --cream: #fcfbf9;
  --charcoal: #171717;
  --indigo: #4338ca;
  --line: #e5e5e5;
  --neutral-400: #a3a3a3;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);   /* Premium Ease */

  --serif: 'Playfair Display', serif;
  --sans: 'Inter', sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --display: 'Archivo', 'Inter', sans-serif;          /* all headings (the hero + logo keep Playfair) */
  --narrow: 'Archivo Narrow', 'Archivo', sans-serif;  /* eyebrows */

  --gutter: clamp(30px, 6.5vw, 116px);   /* section side padding; 20px on phones (see RESPONSIVE) */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;          /* fallback when Lenis is off */
  scroll-padding-top: 96px;         /* offset for the fixed header */
  font-size: 90%;                   /* global ~10% scale-down */
}

/* Lenis smooth scroll (momentum) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }
body {
  font-family: var(--sans);
  font-weight: 400;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Shared type helpers ---------- */
.mono {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 11px;
}
.serif { font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; }   /* headings below the hero — Archivo (class name kept from the Playfair version) */
.serif-title {                       /* section headings — Archivo (name kept from the Playfair version) */
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.4rem, 5.4vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.035em;
}
.serif-title em, .serif em { font-style: italic; }
.label { color: var(--neutral-400); }

/* Eyebrows — the small labels above section headings */
.eyebrow {
  font-family: var(--narrow);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1000ms var(--ease), transform 1000ms var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Status dot ---------- */
.status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,0.5);
  animation: ping 3s infinite var(--ease);
  flex-shrink: 0;
}
.status-dot.dark { background: #22c55e; }
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  70%, 100% { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 80px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(28px, 5.5vw, 76px);
  mix-blend-mode: difference;
  color: #fff;            /* difference inverts against bg */
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}

/* Past the hero: solid blurred bar with dark text (no blend) */
.header.scrolled {
  mix-blend-mode: normal;
  background: rgba(252, 251, 249, 0.82);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
  color: var(--charcoal);
}
.header.scrolled .logo { color: var(--charcoal); }
.header.scrolled .logo-em { color: var(--indigo); }
.header.scrolled .header-nav a { color: var(--charcoal); }
.header.scrolled .nav-cta { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.header.scrolled .nav-cta:hover { background: var(--charcoal); border-color: var(--charcoal); }
.header.scrolled .nav-toggle span { background: var(--charcoal); }

/* nav contact CTA */
.nav-cta {
  display: inline-flex; align-items: center;
  font-size: 11px; letter-spacing: 0.2em;
  border: 1px solid rgba(255,255,255,0.6); border-radius: 9999px;
  padding: 11px 20px;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.nav-cta:hover { transform: translateY(-1px); }
.logo {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 700;
}
.logo-em { color: var(--indigo); }
.header-nav { display: flex; gap: 34px; }
.header-nav a {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 11px;
  position: relative;
  padding-bottom: 4px;
}
.header-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: currentColor;
  transition: width 400ms var(--ease);
}
.header-nav a:hover::after { width: 100%; }

.status-pill {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 9999px;
  padding: 9px 16px;
}
.nav-toggle { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; }
.nav-toggle span { width: 26px; height: 2px; background: #fff; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: #121212;            /* fallback before video loads */
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,10,12,0.55) 0%, rgba(10,10,12,0.38) 45%, rgba(10,10,12,0.55) 100%);
}
.mesh { position: absolute; inset: 0; z-index: 0; }
.mesh-blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px);
  transform-origin: center;
}
.blob-1 { width: 50vw; height: 50vw; background: rgba(165,180,252,0.5); top: -10%; left: -5%; animation: drift1 30s linear infinite; }
.blob-2 { width: 45vw; height: 45vw; background: rgba(216,180,254,0.4); top: 10%; right: -10%; animation: drift2 30s linear infinite; }
.blob-3 { width: 40vw; height: 40vw; background: rgba(199,210,254,0.5); bottom: 0%; left: 25%; animation: drift3 30s linear infinite; }
@keyframes drift1 { 0% { transform: rotate(0) scale(1); } 50% { transform: rotate(180deg) scale(1.3); } 100% { transform: rotate(360deg) scale(1); } }
@keyframes drift2 { 0% { transform: rotate(0) scale(1.2); } 50% { transform: rotate(-180deg) scale(0.9); } 100% { transform: rotate(-360deg) scale(1.2); } }
@keyframes drift3 { 0% { transform: rotate(0) scale(1); } 50% { transform: rotate(160deg) scale(1.25); } 100% { transform: rotate(360deg) scale(1); } }

.hero-inner {
  position: relative; z-index: 2;
  text-align: center; padding: 0 clamp(24px, 5vw, 56px);
}
.hero-label { color: rgba(252,251,249,0.85); letter-spacing: 0.4em; margin-bottom: 32px; }
.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 8vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--cream);
  text-shadow: 0 2px 30px rgba(0,0,0,0.35);
}
.hero-title span { display: block; }
.hero-title em { font-style: italic; color: #a5b4fc; }   /* lighter indigo for video legibility */
.hero-sub { margin-top: 40px; color: rgba(255,255,255,0.72); letter-spacing: 0.4em; }

/* ---------- Wave transition ---------- */
.wave-container {
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 25vh; overflow: hidden; z-index: 3;
}
.wave-curve {
  width: 120%; height: 200%;
  background: var(--cream);
  border-radius: 50% 50% 0 0;
  transform: translate(-10%, 20%);
}
.wave-btn {
  position: absolute; top: 18%; left: 50%; transform: translateX(-50%);
  z-index: 4;
}

/* ---------- Pulse button ---------- */
.btn-pulse {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--charcoal); color: #fff;
  font-family: var(--mono); text-transform: uppercase;
  letter-spacing: 0.3em; font-size: 12px;
  padding: 16px 30px; border-radius: 9999px;
  animation: pulseBtn 3s infinite var(--ease);
  transition: transform 400ms var(--ease);
}
.btn-pulse:hover { transform: translateX(-50%) scale(1.05); }
.wave-btn:hover { transform: translateX(-50%) scale(1.05); }
@keyframes pulseBtn {
  0%, 100% { transform: translateX(-50%) scale(1); box-shadow: 0 0 20px rgba(67,56,202,0); }
  50% { transform: translateX(-50%) scale(1.02); box-shadow: 0 0 20px rgba(67,56,202,0.35); }
}

/* ============================================================
   WORK GRID
   ============================================================ */
.work { padding: clamp(60px, 10vw, 140px) var(--gutter); }
.section-head { margin-bottom: 70px; }
.section-head .label { margin-bottom: 18px; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 5vw, 70px);
}
.work-item.offset { margin-top: 90px; }

.card {
  position: relative;
  display: block;                   /* the product cards are links */
  aspect-ratio: 4 / 3;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--card-bg, #e0e7ff);
  transition: transform 600ms var(--ease);
  cursor: pointer;
}
.card-bg {
  position: absolute; inset: 0;
  background: var(--card-bg, #e0e7ff);
  transition: transform 700ms var(--ease);
}
.orb {
  position: absolute; top: 50%; left: 50%;
  width: 45%; aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--orb, #4338ca);
  filter: blur(40px); opacity: 0.55;
  transition: transform 700ms var(--ease);
}
.work-item:hover .card { transform: translateY(-1rem); }
.work-item:hover .card-bg { transform: scale(1.1); }
.work-item:hover .orb { transform: translate(-50%, -50%) scale(1.25); }

/* Photo cards (Section 2 — What We Make) */
.card-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}
.work-item:hover .card-img { transform: scale(1.08); }

/* Cutout cards — product floats on a soft colored card */
.card-cutout {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 12%;
  filter: drop-shadow(0 18px 26px rgba(0,0,0,0.18));
  transition: transform 700ms var(--ease);
}
.work-item:hover .card-cutout { transform: scale(1.06) translateY(-4px); }

/* Section 2 — 4-column row, no stagger */
#products .work-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.4vw, 36px);
}
#products .work-item.offset { margin-top: 0; }   /* flat row, no staggering */
#products .work-meta { padding-top: 20px; }
/* garment names: the largest size that keeps "Uniforms & Workwear" on one line, so the rows stay level */
#products .work-meta h3 { font-size: clamp(1.3rem, 2.05vw, 2.4rem); line-height: 1.15; }

/* Sub-product list — 2 per column, fills down then across */
.subproducts {
  display: grid;
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
  justify-content: start;
  column-gap: clamp(20px, 3vw, 46px);
  row-gap: 9px;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #6b6b6b;
}
.subproducts li { white-space: nowrap; }
.subproducts a { color: var(--charcoal); border-bottom: 1px solid currentColor; transition: color .3s var(--ease); }
.subproducts a:hover { color: var(--indigo); }

.action-pill {
  position: absolute; right: 18px; bottom: 18px;
  background: #fff; color: #000;
  font-weight: 500; letter-spacing: 0.2em;
  padding: 12px 20px; border-radius: 9999px;
  opacity: 0; transform: translateY(1rem);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}
.work-item:hover .action-pill { opacity: 1; transform: translateY(0); }

.work-meta { padding-top: 26px; }
.work-meta h3 { font-size: 1.8rem; font-weight: 500; letter-spacing: -0.02em; }
.meta-line {
  display: block; height: 1px; width: 0; background: var(--line);
  margin: 16px 0; transition: width 1000ms var(--ease);
}
.work-item.in .meta-line { width: 100%; }
.work-meta .mono { color: var(--neutral-400); }

/* ============================================================
   SERVICE ACCORDION
   ============================================================ */
.capabilities {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(40px, 6vw, 100px);
  padding: clamp(60px, 10vw, 140px) var(--gutter);
  border-top: 1px solid var(--line);
}
.cap-left { position: sticky; top: 120px; align-self: start; }
.cap-left .label { margin-bottom: 18px; }
.cap-cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); text-transform: uppercase;
  letter-spacing: 0.3em; font-size: 12px;
  margin-top: 36px;
}
.cap-cta span { transition: transform 400ms var(--ease); }
.cap-cta:hover span { transform: translateX(8px); }

/* Left-column stat row (Materials & Sourcing) */
.cap-stats { display: flex; gap: 32px; margin-top: 48px; flex-wrap: wrap; }
.cap-stats li { display: flex; flex-direction: column; gap: 5px; }
.cap-stats strong { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; line-height: 1; }
.cap-stats span { font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--neutral-400); }

.acc-item { border-top: 1px solid var(--line); }
.acc-item:last-child { border-bottom: 1px solid var(--line); }
.acc-head {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 30px 0; text-align: left;
}
.acc-head .serif {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  color: var(--neutral-400);
  transition: color 400ms var(--ease);
}
.acc-item:hover .acc-head .serif,
.acc-item.open .acc-head .serif { color: var(--charcoal); }
.acc-icon {
  font-family: var(--mono); font-size: 1.5rem; color: var(--neutral-400);
  transition: transform 400ms var(--ease), color 400ms var(--ease);
}
.acc-item.open .acc-icon { transform: rotate(45deg); color: var(--indigo); }

.acc-body {
  max-height: 0; overflow: hidden;
  transition: max-height 600ms var(--ease), opacity 600ms var(--ease), padding 600ms var(--ease);
  opacity: 0;
}
.acc-item.open .acc-body { max-height: 460px; opacity: 1; padding-bottom: 32px; }
.acc-body p { max-width: 46em; color: #444; margin-bottom: 20px; }
.acc-meta {
  margin-top: 18px; margin-bottom: 0;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.15em;
  text-transform: uppercase; color: #8a8a8a;
}
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags .mono {
  color: var(--indigo);
  border: 1px solid var(--line);
  border-radius: 9999px;
  padding: 7px 14px;
  letter-spacing: 0.2em;
}

/* ============================================================
   CLIENTS — infinite logo carousel
   ============================================================ */
.clients {
  background: var(--cream);
  padding: clamp(40px, 6vw, 70px) 0 clamp(44px, 6vw, 74px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.clients-label {
  text-align: center; color: var(--n400, #a3a3a3);
  margin-bottom: clamp(26px, 4vw, 44px);
}
.cl-marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.cl-track { display: flex; width: max-content; animation: clientScroll 34s linear infinite; }
.cl-marquee:hover .cl-track { animation-play-state: paused; }
.cl-group {
  display: flex; align-items: center;
  gap: clamp(48px, 7vw, 110px);
  padding-right: clamp(48px, 7vw, 110px);
}
.client-logo {
  height: clamp(26px, 3.4vw, 40px); width: auto; flex: none;
  object-fit: contain;
  filter: grayscale(1); opacity: 0.5;
  transition: filter .4s var(--ease), opacity .4s var(--ease);
}
.client-logo:hover { filter: grayscale(0); opacity: 1; }
@keyframes clientScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .cl-track { animation: none; } }

/* ============================================================
   MATERIALS — fabric swatch cards
   ============================================================ */
.materials { padding: clamp(60px, 10vw, 140px) var(--gutter); }
.section-lead { color: #555; font-size: 1.05rem; max-width: 42em; margin-top: 16px; }

.fabric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 50px); }
.fabric-card { display: flex; flex-direction: column; }
.fabric-img {
  aspect-ratio: 1 / 1;
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #e9e9e6, #dadad6);
  display: grid; place-items: center;
}
.fabric-img::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(120% 120% at 28% 18%, rgba(255,255,255,0.55), transparent 60%);
}
.fabric-img .mono { position: relative; z-index: 1; color: #9a9a96; letter-spacing: 0.35em; }
.fabric-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
@media (min-width: 861px) {
  .fabric-img { aspect-ratio: 16 / 9; }   /* desktop (3-up): wide crop of the square clips; phones keep 1:1 */
}
.fabric-card h3 {
  margin-top: 26px; font-size: 1.8rem; font-weight: 500;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.fabric-weaves { margin-top: 16px; color: var(--indigo); font-size: 10px; letter-spacing: 0.15em; line-height: 1.9; }
.fabric-desc { color: #444; margin-top: 14px; }
.fabric-card .acc-meta { margin-top: 16px; }

/* ============================================================
   SOURCING & EXPERTISE
   ============================================================ */
.sourcing {
  padding: clamp(60px, 10vw, 140px) var(--gutter);
  border-top: 1px solid var(--line);
}
.sourcing-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.sourcing-left .serif-title { margin: 18px 0 22px; }
.sourcing-left .cap-cta { margin-top: 30px; }
.expertise-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 44px; }
.expertise-list li { display: flex; gap: 16px; }
.expertise-list .mono { color: var(--indigo); padding-top: 3px; }
.expertise-list h4 { font-family: var(--display); font-weight: 500; font-size: 1.05rem; margin-bottom: 5px; }
.expertise-list p { color: #666; font-size: 0.9rem; line-height: 1.5; }

/* ============================================================
   WHO WE SERVE — channel cards
   ============================================================ */
.industries {
  background: #f4f3ef;
  padding: clamp(70px, 11vw, 150px) var(--gutter);
}
.industries .section-head { text-align: center; margin-left: auto; margin-right: auto; }
.industries .section-head .label { color: var(--indigo); }
.industries .section-head .section-lead { margin-left: auto; margin-right: auto; }

.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.ind-card {
  position: relative;               /* photo + fade sit inside: keep it positioned at every size */
  isolation: isolate;               /* Safari: keeps rounded corners clipping the zoomed photo */
  display: flex; flex-direction: column; justify-content: flex-end;
  aspect-ratio: 4 / 5;              /* the photos' own shape, so nothing is cropped */
  padding: clamp(22px, 2.2vw, 32px);
  overflow: hidden;                 /* square corners; still clips the zoomed photo */
  background: #1a1a1a;
  color: #fff;
}
.ind-card picture { position: absolute; inset: 0; z-index: -2; }
.ind-img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.ind-card::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, rgba(12,12,16,0.4) 0%, rgba(12,12,16,0) 22%),   /* keeps the number readable on bright photos */
    linear-gradient(to top, rgba(12,12,16,0.78) 0%, rgba(12,12,16,0.32) 30%, rgba(12,12,16,0) 55%);   /* carries the name */
}
.ind-num {
  position: absolute; top: clamp(18px, 2vw, 26px); left: clamp(22px, 2.2vw, 32px);
  color: rgba(255,255,255,0.92); letter-spacing: 0.2em;
}
.ind-card h3 { font-weight: 500; font-size: clamp(26px, 2.5vw, 36px); line-height: 1.05; letter-spacing: -0.02em; }
/* cards in the same row fade in one after another */
.ind-card:nth-child(3n+2) { transition-delay: 100ms; }
.ind-card:nth-child(3n+3) { transition-delay: 200ms; }

@media (hover: hover) {
  .ind-card:hover .ind-img { transform: scale(1.06); }
}

@media (max-width: 1000px) {
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-card:nth-child(n) { transition-delay: 0ms; }
  .ind-card:nth-child(2n) { transition-delay: 100ms; }
}
@media (max-width: 600px) {
  .ind-grid { margin-inline: calc(10px - var(--gutter)); }   /* cards sit 10px from the screen edges */
  .ind-card { padding: 14px; }
  .ind-num { top: 12px; left: 14px; font-size: 10px; }
  .ind-card h3 { font-size: clamp(17px, 5.2vw, 19px); }   /* 17px keeps "Restaurants" inside 320px-wide phones */
}

/* ============================================================
   PROCESS
   ============================================================ */
.process { padding: clamp(60px, 10vw, 160px) var(--gutter); }
.process-inner { max-width: 900px; }
.process-inner .label { margin-bottom: 26px; }
.process-inner .serif-title { margin-bottom: 30px; }
.process-text { font-size: 1.15rem; color: #444; max-width: 40em; }

/* ===== Process — full-service timeline (built in Claude design) ===== */
.gw-process {
  --indigo-light: #a5b4fc; --body: #555150;
  --track-pad: clamp(48px, 7vw, 96px); --row-gap: clamp(18px, 3vw, 40px);
  position: relative; max-width: 1080px; margin: 0 auto;
  padding: clamp(80px, 12vh, 150px) clamp(22px, 5vw, 40px); overflow: hidden;
}
.gw-process .head { text-align: left; margin: 0 0 clamp(60px, 8vh, 96px); padding-left: calc(var(--track-pad) + 2ch + var(--row-gap)); }
.gw-process .eyebrow { color: var(--indigo); }   /* type comes from the shared .eyebrow */
.gw-process .head h2 { font-family: var(--display); font-weight: 500; letter-spacing: -0.035em; line-height: 1.05; font-size: clamp(32px, 5vw, 56px); margin-top: 22px; max-width: 16ch; }
.gw-process .head h2 em { font-style: italic; color: var(--indigo); }
.gw-process .head p { margin: 26px 0 0; max-width: 42ch; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.5; color: var(--body); }
.gw-process .line { position: relative; padding-left: var(--track-pad); }
.gw-process .spine { position: absolute; left: calc(var(--track-pad) / 3.2); top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.gw-process .spine .fill { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: linear-gradient(var(--indigo), var(--indigo-light)); transition: height .25s linear; }
.gw-process .step { position: relative; padding: clamp(22px, 3vh, 34px) 0; opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.gw-process .step + .step { border-top: 1px solid var(--line); }
.gw-process .step.in { opacity: 1; transform: translateY(0); }
.gw-process .node { position: absolute; left: calc(var(--track-pad) / 3.2 - var(--track-pad) + 1px); top: clamp(30px, 4vh, 46px); width: 13px; height: 13px; border-radius: 50%; background: var(--cream); border: 2px solid var(--line); transform: translateX(-50%); transition: border-color .6s var(--ease), box-shadow .6s var(--ease), background .6s var(--ease); }
.gw-process .step.on .node { border-color: var(--indigo); background: var(--indigo); box-shadow: 0 0 0 6px rgba(67,56,202,0.1); }
.gw-process .row { display: flex; align-items: baseline; gap: var(--row-gap); }
.gw-process .num { font-family: var(--mono); font-size: 13px; letter-spacing: 0.16em; color: var(--indigo); font-weight: 500; flex: none; width: 2ch; padding-top: 6px; }
.gw-process .copy { flex: 1; }
.gw-process .step h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; font-size: clamp(23px, 3vw, 38px); transition: color .5s var(--ease); }
.gw-process .step h3 em { font-style: italic; color: var(--indigo); }
.gw-process .step p { margin-top: 12px; max-width: 46ch; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.5; color: var(--body); }
.gw-process .qc { margin-top: 16px; display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--indigo); padding: 7px 13px 7px 9px; border: 1px solid var(--line); border-radius: 100px; }
.gw-process .qc .t { width: 14px; height: 14px; border-radius: 50%; background: var(--indigo); display: grid; place-items: center; }
.gw-process .qc .t svg { width: 8px; height: 8px; }
.gw-process .line:hover .step { opacity: .5; transition: opacity .5s var(--ease); }
.gw-process .line:hover .step.in:hover { opacity: 1; }
.gw-process .step:hover h3 { color: var(--indigo); }
@media (max-width: 600px) {
  .gw-process .row { flex-direction: column; gap: 6px; }
  .gw-process .num { padding-top: 0; }
  .gw-process .head { padding-left: var(--track-pad); }   /* steps stack here, so line the heading up with their text */
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  background: var(--charcoal);
  color: var(--cream);
  border-radius: 5rem 5rem 0 0;
  margin-top: clamp(40px, 8vw, 120px);
  overflow: hidden;
}
.footer-glow {
  position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
  width: 60%; height: 50%;
  background: radial-gradient(ellipse at center, rgba(67,56,202,0.45), transparent 70%);
  filter: blur(60px); pointer-events: none;
}
.footer-inner { position: relative; z-index: 1; padding: clamp(60px, 9vw, 130px) var(--gutter) 40px; }
.footer-quote {
  font-size: clamp(2.2rem, 5.4vw, 5rem);
  font-weight: 500; line-height: 1.05; letter-spacing: -0.035em;
  max-width: 16em; margin-bottom: 26px;
}
.footer-quote em { font-style: italic; color: #a5b4fc; }
.footer-cta-link {
  display: inline-block; margin-bottom: 80px;
  color: #a5b4fc; letter-spacing: 0.3em;
  transition: color .4s var(--ease), transform .4s var(--ease);
}
.footer-cta-link:hover { color: #fff; transform: translateX(6px); }

.footer-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  padding-bottom: 80px;
}
.footer-col .label { color: #6b6b6b; margin-bottom: 18px; }
.footer-col p { line-height: 1.7; color: #cfcfcf; }
.footer-col a { display: block; color: #cfcfcf; margin-bottom: 10px; transition: color 400ms var(--ease); }
.footer-col a:hover { color: #a5b4fc; }

.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-bottom .mono { color: #6b6b6b; letter-spacing: 0.3em; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* Section 2 (#products) — its own breakpoints (id beats .work-grid rule) */
@media (max-width: 1000px) {
  #products .work-grid { grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 4vw, 40px); }
  #products .work-meta h3 { font-size: clamp(22px, 4.2vw, 32px); }
}
@media (max-width: 520px) {
  #products .work-grid { grid-template-columns: 1fr; }
  #products .work-meta h3 { font-size: clamp(24px, 7vw, 28px); }
}

@media (max-width: 860px) {
  .header-nav, .status-pill { display: none; }
  .nav-toggle { display: flex; }
  .work-grid { grid-template-columns: 1fr; gap: 50px; }
  .work-item.offset { margin-top: 0; }
  .capabilities { grid-template-columns: 1fr; }
  .cap-left { position: static; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .fabric-grid { grid-template-columns: 1fr; }
  .sourcing-grid { grid-template-columns: 1fr; }
  .expertise-list { grid-template-columns: 1fr; }
}

/* Phones: tighter side padding (header follows so the logo lines up with the content) */
@media (max-width: 600px) {
  :root { --gutter: 20px; }
  .header { padding: 0 var(--gutter); }
  .gw-process { padding-left: var(--gutter); padding-right: var(--gutter); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
