/**
 * CLAY.GLOBAL PURE MINIMALIST DESIGN SYSTEM STYLESHEET
 * ----------------------------------------------------------------------------
 * Recreates Clay's stark white minimalism, exact navbar, alternating
 * cards with 3D stages, jet black industries section, and "Let's Talk" footer.
 */

:root {
  --clay-white: #ffffff;
  --clay-black: #000000;
  --clay-grey-100: #f7f7f8;
  --clay-grey-200: #e5e5e7;
  --clay-grey-400: #999999;
  --clay-grey-600: #555555;
  --clay-grey-800: #1a1a1a;
  --clay-header-h: 84px;
  --clay-container-max: 1360px;
  --clay-font: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --clay-font-sub: 'Plus Jakarta Sans', sans-serif;
  --clay-font-mono: 'JetBrains Mono', monospace;
}

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

body.clay-body {
  background-color: var(--clay-white);
  color: var(--clay-black);
  font-family: var(--clay-font-sub);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.clay-container {
  width: 100%;
  max-width: var(--clay-container-max);
  margin: 0 auto;
  padding: 0 48px;
}

.clay-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ==========================================================================
   1. CLAY EXACT NAVBAR
   ========================================================================== */
.clay-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--clay-header-h);
  background-color: #ffffff;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.3s ease,
              box-shadow 0.3s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.clay-header.is-hidden {
  transform: translateY(-100%);
}

.clay-header.scrolled {
  background-color: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.clay-header__container {
  height: 100%;
  max-width: var(--clay-container-max);
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.clay-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--clay-black);
}

.clay-logo__img {
  height: 28px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: filter 0.3s ease;
}

.clay-logo__text {
  font-family: var(--clay-font);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--clay-black);
  line-height: 1;
}

.clay-logo__sub {
  font-family: var(--clay-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--clay-grey-400);
  line-height: 1;
}

.clay-nav {
  display: flex;
  align-items: center;
}

.clay-nav__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 36px;
}

.clay-nav__link {
  font-family: var(--clay-font);
  font-size: 15px;
  font-weight: 600;
  color: var(--clay-black);
  text-decoration: none;
  position: relative;
  display: inline-flex;
  flex-direction: column;
  padding: 6px 0;
  transition: opacity 0.2s ease;
}

.clay-nav__link:hover {
  opacity: 0.6;
}

/* Clay's exact active indicator line */
.clay-nav__item.is-active .clay-nav__active-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--clay-black);
}

.clay-header__action {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Clay's iconic black pill contact button */
.clay-contact-btn {
  display: inline-block;
  padding: 11px 26px;
  background-color: var(--clay-black);
  color: var(--clay-white);
  border-radius: 9999px !important;
  font-family: var(--clay-font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
}

.clay-contact-btn:hover {
  background-color: #222;
  transform: translateY(-1px);
}

/* Mobile Burger */
.clay-burger-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  flex-direction: column;
  justify-content: space-between;
}

.burger-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--clay-black);
  transition: transform 0.2s ease;
}

.clay-mobile-drawer {
  display: none;
  position: fixed;
  top: var(--clay-header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  padding: 36px 48px;
}

.clay-mobile-drawer.active {
  display: block;
}

.clay-mobile-links {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.mobile-link {
  font-family: var(--clay-font);
  font-size: 26px;
  font-weight: 700;
  color: var(--clay-black);
  text-decoration: none;
}

.mobile-cta {
  align-self: flex-start;
  margin-top: 14px;
}

/* ==========================================================================
   2. HERO SECTION (Clay-style Clean White & Big Typography)
   ========================================================================== */
.clay-hero-section {
  padding: 190px 0 100px;
  background-color: var(--clay-white);
  position: relative;
}

.clay-hero-kicker {
  font-family: var(--clay-font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay-grey-400);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.clay-hero-kicker::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
}

.clay-hero-title {
  font-family: var(--clay-font);
  font-size: clamp(52px, 7.8vw, 108px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--clay-black);
  margin-bottom: 32px;
  max-width: 1180px;
}

.hero-line {
  display: block;
}

.clay-hero-desc {
  font-family: var(--clay-font);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 400;
  line-height: 1.45;
  color: var(--clay-grey-600);
  max-width: 820px;
  letter-spacing: -0.01em;
  margin-bottom: 36px;
}

.clay-hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--clay-grey-200);
}

.proof-item {
  font-family: var(--clay-font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--clay-grey-800);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.proof-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--clay-black);
}

/* Card Eyebrow Tag */
.clay-card-kicker {
  font-family: var(--clay-font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay-grey-400);
  margin-bottom: -6px;
}

/* ==========================================================================
   3. SERVICES LIST (Clay's Alternating Cards & 3D Stages)
   ========================================================================== */
.clay-services-section {
  padding: 40px 0 160px;
  background-color: var(--clay-white);
}

.clay-services-cards {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 160px;
}

.clay-service-card__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Even cards: Content Left, Visual Right */
.clay-service-card:nth-child(even) .clay-card-visual {
  order: 2;
}

.clay-service-card:nth-child(even) .clay-card-content {
  order: 1;
}

/* Visual Column with Canvas Stage + Media Box */
.clay-card-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1260 / 1640;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clay-card-stage {
  position: absolute;
  inset: -15px;
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clay-stage-canvas {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.clay-card-media-box {
  position: relative;
  z-index: 2;
  width: 86%;
  height: 88%;
  overflow: hidden;
  background-color: #f3f3f5;
  border-radius: 4px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.clay-card-media-inner {
  width: 100%;
  height: 114%;
  margin-top: -7%;
  will-change: transform;
  transition: transform 0.12s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Content Column */
.clay-card-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 540px;
}

.clay-card-title {
  font-family: var(--clay-font);
  font-size: clamp(38px, 4.6vw, 62px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--clay-black);
  line-height: 1.05;
}

.clay-card-text {
  font-size: 17px;
  line-height: 1.65;
  color: var(--clay-grey-600);
  letter-spacing: -0.005em;
}

/* Clay's 2-Column Bold Sub-Service Checklist */
.clay-card-sublist {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  margin-top: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--clay-grey-200);
}

.clay-sublist-item {
  font-family: var(--clay-font);
  font-size: 15px;
  font-weight: 700;
  color: var(--clay-black);
  line-height: 1.35;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, color 0.2s ease;
}

/* ==========================================================================
   SERVICE CARDS: shared details (all widths)
   ========================================================================== */
.clay-services-heading {
  font-family: var(--clay-font);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: #0b0b12;
  margin: 0 0 40px;
}

.clay-card-head,
.clay-card-foot {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.clay-card-foot {
  gap: 28px;
}

.clay-card-title {
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #0b0b12;
}

/* Number badge: JS splits "01 / SECURITY AUDITS" into pill + label */
.clay-card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--clay-font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a8a96;
}

.clay-card-kicker__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 26px;
  padding: 0 8px;
  border-radius: 7px;
  background: #f0f0f3;
  color: #2b2b33;
  font-weight: 600;
  letter-spacing: 0;
  transition: background-color 0.35s ease, color 0.35s ease;
}

/* Capabilities with check tiles */
.clay-card-sublist {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  gap: 12px 20px;
}

.clay-sublist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: #26262e;
}

.clay-sublist-item::before {
  content: '';
  flex: 0 0 28px;
  height: 28px;
  border-radius: 8px;
  background: #f0f0f3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a3a44' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.clay-card-cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 10px;
  background: #0b0b12;
  color: #ffffff;
  font-family: var(--clay-font);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.25s ease;
}

.clay-card-cta svg {
  transition: transform 0.25s ease;
}

.clay-card-cta:hover,
.clay-card-cta:focus-visible {
  background: #6459e8;
}

.clay-card-cta:hover svg {
  transform: translateX(3px);
}

/* ==========================================================================
   STACKING CARDS (wide screens)
   Each card sticks a step lower than the one before, so earlier cards stay
   visible as a stack of badge strips. audit.js scales and dims covered cards.
   ========================================================================== */
@media (min-width: 1101px) {
  .clay-services-section {
    background-color: #f4f4f6;
    padding: 110px 0 140px;
  }

  .clay-services-heading {
    margin-bottom: 48px;
  }

  /* Cards run nearly edge to edge, like the reference */
  .clay-services-section .clay-container {
    max-width: none;
    padding: 0 clamp(20px, 1.8vw, 36px);
  }

  .clay-services-section .clay-services-heading {
    padding-left: clamp(24px, 3.4vw, 84px);
  }

  .clay-services-cards {
    /* The whole deck is sized from the viewport so the front card always
       fits completely: card height = screen - top offset - all strips. */
    --stack-top: 24px;
    --stack-step: clamp(40px, 5.5vh, 56px);
    --card-h: clamp(420px, calc(100svh - var(--stack-top) - (var(--n, 4) - 1) * var(--stack-step) - 16px), 820px);
    /* Scroll distance a pinned card zooms out alone before the next arrives */
    gap: 60vh;
  }

  /* Spacer inside the list: sticky items can't travel past the list's
     content box. With zero height it still adds one 60vh row gap after the
     last card, which is the rest time for the finished stack. */
  .clay-services-cards::after {
    content: '';
    display: block;
    height: 0;
  }

  .clay-service-card {
    position: sticky;
    top: calc(var(--stack-top) + var(--i, 0) * var(--stack-step));
  }

  .clay-service-card__wrapper {
    position: relative;
    height: var(--card-h);
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(32px, 4vw, 72px);
    align-items: stretch;
    padding: 12px;
    background: #ffffff;
    border: 1px solid #e9e9ee;
    border-radius: 24px;
    box-shadow: 0 1px 2px rgba(16, 16, 32, 0.04), 0 -14px 36px -24px rgba(16, 16, 32, 0.16);
    overflow: hidden;
    transform-origin: top center;
    will-change: transform;
  }

  /* Faint dim on covered cards (opacity driven by --dim from audit.js) */
  .clay-service-card__wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: #0b0b12;
    opacity: var(--dim, 0);
    pointer-events: none;
  }

  /* Same layout on every card: text left, visual right */
  .clay-service-card .clay-card-content,
  .clay-service-card:nth-child(even) .clay-card-content { order: 1; }
  .clay-service-card .clay-card-visual,
  .clay-service-card:nth-child(even) .clay-card-visual { order: 2; }

  .clay-card-content {
    max-width: none;
    justify-content: flex-start;
    gap: clamp(16px, 3.6vh, 48px);
    padding: 4px 0 clamp(16px, 3vh, 40px) 4px;
  }

  /* Badge sits in the card corner; everything else is indented */
  .clay-card-head > :not(.clay-card-kicker),
  .clay-card-foot {
    margin-left: clamp(24px, 3.4vw, 64px);
  }

  .clay-card-title {
    font-size: clamp(28px, min(3.4vw, 6.4vh), 62px);
    line-height: 1.04;
    margin-top: clamp(12px, 5vh, 72px);
    max-width: 13ch;
  }

  .clay-card-text {
    font-size: clamp(14px, 1.9vh, 16.5px);
    line-height: 1.6;
    color: #5f5f6b;
    max-width: 44ch;
  }

  /* Visual: dark panel with the animated line figure (audit.js draws it
     in the canvas colour below). The stock photo is not used here. */
  .clay-card-visual {
    aspect-ratio: auto;
    height: 100%;
  }

  .clay-card-media-box {
    width: 100%;
    height: 100%;
    border-radius: 18px;
    background:
      radial-gradient(60% 55% at 50% 50%, rgba(100, 89, 232, 0.2), transparent 70%),
      #08070f;
    box-shadow: none;
  }

  .clay-card-media-inner { display: none; }

  .clay-card-stage {
    display: flex;
    inset: 0;
    z-index: 3;
  }

  .clay-stage-canvas {
    color: #ffffff;
    --figure-dot: #8f86ff;
    --figure-strength: 3.2;
    --figure-scale: 1.75;
  }

  .clay-card-kicker__num { height: 24px; }

  .clay-card-head { gap: clamp(10px, 1.8vh, 16px); }
  .clay-card-foot { gap: clamp(14px, 2.6vh, 28px); }
  .clay-card-sublist { gap: clamp(8px, 1.3vh, 12px) 20px; }
  .clay-card-cta { padding: clamp(10px, 1.5vh, 13px) 20px; }

  .clay-service-card.is-active .clay-card-kicker__num {
    background: #6459e8;
    color: #ffffff;
  }
}

.clay-sublist-item:hover {
  transform: translateX(3px);
  color: #444;
}

/* ==========================================================================
   3.5 ENGAGEMENT FRAMEWORK (Clay-style 3-Stage Methodology)
   ========================================================================== */
.clay-framework-section {
  padding: 120px 0 160px;
  background-color: #fafafb;
  border-top: 1px solid var(--clay-grey-200);
  border-bottom: 1px solid var(--clay-grey-200);
}

.clay-framework-header {
  margin-bottom: 72px;
}

.clay-framework-kicker {
  font-family: var(--clay-font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay-grey-400);
  margin-bottom: 16px;
}

.clay-framework-title {
  font-family: var(--clay-font);
  font-size: clamp(38px, 4.6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--clay-black);
  line-height: 1.05;
  margin-bottom: 18px;
}

.clay-framework-desc {
  font-family: var(--clay-font);
  font-size: 20px;
  line-height: 1.5;
  color: var(--clay-grey-600);
  max-width: 680px;
}

.clay-framework-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.clay-framework-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  padding-top: 24px;
  border-top: 2px solid var(--clay-black);
}

.framework-step-num {
  font-family: var(--clay-font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--clay-black);
  letter-spacing: 0.1em;
}

.framework-step-title {
  font-family: var(--clay-font);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--clay-black);
  line-height: 1.2;
}

.framework-step-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--clay-grey-600);
}

@media (max-width: 991px) {
  .clay-framework-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ==========================================================================
   4. INDUSTRIES SECTION (Dapper Pinned Curtain Stage: 600vh)
   Sticky 100vh Viewport Scrubbing Through 6 Vibrant Color Layers
   ========================================================================== */
.clay-industries-section {
  position: relative;
  width: 100%;
  height: 600vh; /* 6 slides = 600vh of natural scroll scrub */
  background-color: #2f122e;
  color: var(--clay-white);
  z-index: 10;
  margin-top: -1px;
  scroll-margin-top: var(--clay-header-h);
}

.clay-industries-sticky {
  position: sticky;
  top: var(--clay-header-h); /* Locks right below the 84px navbar! */
  left: 0;
  width: 100%;
  height: calc(100vh - var(--clay-header-h)); /* Fills visible screen below navbar */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 10;
  background-color: #2f122e; /* Matches first slide */
}

/* Pinned Top Header — Matches First Slide (#2f122e) and stays fixed */
.clay-industries-heading-pinned {
  position: relative;
  z-index: 25;
  flex-shrink: 0;
  background-color: #2f122e; /* Anchored with first slide color */
  padding: 24px 0 16px;
  width: 100%;
}

.clay-industries-heading-pinned .clay-industries-heading {
  max-width: 1100px;
}

.industries-kicker {
  font-family: var(--clay-font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
  display: block;
}

.clay-industries-title {
  font-family: var(--clay-font);
  font-size: clamp(36px, 4.6vw, 68px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--clay-white);
  margin-bottom: 10px;
  line-height: 1.05;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.clay-industries-sub {
  font-family: var(--clay-font);
  font-size: clamp(15px, 1.6vw, 19px);
  color: rgba(255, 255, 255, 0.75);
  max-width: 720px;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

/* Lower Moving Curtain Layers Stack — ONLY the industry moves here */
.clay-industries-layers {
  position: relative;
  flex: 1;
  width: 100%;
  overflow: hidden;
  z-index: 10;
}

.clay-industry-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  pointer-events: auto;
  will-change: transform;
  overflow: hidden;
  transition: none;
}

/* 6 Vibrant Dapper Brand Layers */
.clay-industry-slide.is--1 {
  background-color: #2f122e; /* Chapter 1: Deep Plum */
  z-index: 1;
  transform: translate3d(0, 0, 0);
}

.clay-industry-slide.is--2 {
  background-color: #e25c80; /* Chapter 2: Sunset Rose */
  z-index: 2;
  transform: translate3d(0, 100%, 0);
}

.clay-industry-slide.is--3 {
  background-color: #6459e8; /* Chapter 3: Electric Violet */
  z-index: 3;
  transform: translate3d(0, 100%, 0);
}

.clay-industry-slide.is--4 {
  background-color: #0f3d3e; /* Chapter 4: Cyber Teal */
  z-index: 4;
  transform: translate3d(0, 100%, 0);
}

.clay-industry-slide.is--5 {
  background-color: #3a102a; /* Chapter 5: Deep Berry */
  z-index: 5;
  transform: translate3d(0, 100%, 0);
}

.clay-industry-slide.is--6 {
  background-color: #020016; /* Chapter 6: Midnight Obsidian */
  z-index: 6;
  transform: translate3d(0, 100%, 0);
}

/* Slide Content Framing inside the lower stage */
.industry-slide-container {
  width: 100%;
  max-width: var(--clay-container-max);
  margin: 0 auto;
  padding: 20px 48px;
}

.industry-slide-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 980px;
  position: relative;
  z-index: 5;
}

.industry-name {
  font-family: var(--clay-font);
  font-size: clamp(38px, 5.2vw, 76px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1.05;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}

/* Plain informational list (not buttons: these items are not links) */
.industry-members {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 14px 56px;
}

.industry-members li {
  position: relative;
  padding-left: 20px;
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.9);
}

.industry-members li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: currentColor;
  opacity: 0.6;
}

/* Bottom Progress Scrub Bar */
.clay-industries-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 25;
  padding: 24px 0 32px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
}

.bottom-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  pointer-events: auto;
}

.industries-progress-track {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 2px;
  overflow: hidden;
}

.industries-progress-fill {
  height: 100%;
  width: 0%;
  background: #ffffff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
  will-change: width;
}

.industries-counter {
  font-family: var(--clay-font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .industry-slide-container {
    padding: clamp(160px, 24vh, 210px) 24px 80px;
  }

  .clay-industries-heading-pinned {
    padding-top: 20px;
  }

  .clay-industries-sub {
    display: none; /* Keep clean on small mobile viewports */
  }

  .industry-members {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* ==========================================================================
   5. FOOTER (Clay's Signature White "Let's Talk" Section)
   ========================================================================== */
.clay-footer {
  padding: 140px 0 60px;
  background-color: var(--clay-white);
  color: var(--clay-black);
}

.clay-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 100px;
  gap: 48px;
  flex-wrap: wrap;
}

.clay-talk-heading {
  font-family: var(--clay-font);
  font-size: clamp(68px, 11vw, 136px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--clay-black);
  margin-bottom: 32px;
}

.clay-talk-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.clay-talk-email {
  font-family: var(--clay-font);
  font-size: clamp(26px, 3.8vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--clay-black);
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 2px;
  transition: opacity 0.2s ease, text-underline-offset 0.2s ease;
}

.clay-talk-email:hover {
  opacity: 0.65;
  text-underline-offset: 12px;
}

.clay-talk-tel {
  font-family: var(--clay-font);
  font-size: 20px;
  font-weight: 600;
  color: var(--clay-grey-600);
  text-decoration: none;
  transition: color 0.2s ease;
}

.clay-talk-tel:hover {
  color: var(--clay-black);
}

.clay-talk-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--clay-font);
  font-size: 19px;
  font-weight: 600;
  color: var(--clay-black);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.clay-talk-link:hover {
  color: var(--clay-primary);
  transform: translateX(4px);
}

.clay-talk-link svg {
  transition: transform 0.2s ease;
}

.clay-talk-link:hover svg {
  transform: translateX(3px);
}

.clay-talk-note {
  font-family: var(--clay-font-mono);
  font-size: 13px;
  color: var(--clay-grey-400);
  margin-top: 4px;
}

/* Footer Nav */
.clay-footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.clay-footer-nav-list .f-link {
  font-family: var(--clay-font);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--clay-black);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.clay-footer-nav-list .f-link:hover {
  opacity: 0.5;
}

/* Sovereign Hub Location */
.clay-locations-list {
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 40px 0;
  border-top: 1px solid var(--clay-grey-200);
  border-bottom: 1px solid var(--clay-grey-200);
  margin-bottom: 64px;
}

.location-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.location-country-badge {
  font-family: var(--clay-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6459e8;
}

.location-city {
  font-family: var(--clay-font);
  font-size: 22px;
  font-weight: 700;
  color: var(--clay-black);
  letter-spacing: -0.01em;
}

.location-address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.6;
  color: var(--clay-grey-600);
}

/* Bottom Legal Bar */
.clay-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--clay-grey-400);
  flex-wrap: wrap;
  gap: 16px;
}

.clay-footer-bottom a {
  color: var(--clay-grey-600);
  text-decoration: none;
  margin-left: 20px;
  transition: color 0.15s ease;
}

.clay-footer-bottom a:hover {
  color: var(--clay-black);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1100px) {
  .clay-service-card__wrapper {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .clay-service-card:nth-child(even) .clay-card-visual {
    order: 1;
  }
  .clay-service-card:nth-child(even) .clay-card-content {
    order: 2;
  }
  .clay-locations-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

@media (max-width: 860px) {
  .clay-header__container,
  .clay-container {
    padding: 0 24px;
  }
  .clay-nav {
    display: none;
  }
  .clay-burger-btn {
    display: flex;
  }
  .clay-industry-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .clay-services-cards {
    gap: 110px;
  }
}

@media (max-width: 600px) {
  .clay-hero-section {
    padding: 160px 0 70px;
  }
  .clay-card-sublist {
    grid-template-columns: 1fr;
  }
  .clay-locations-list {
    grid-template-columns: 1fr 1fr;
  }
  .clay-footer-top {
    flex-direction: column;
    gap: 40px;
  }
}

/* --------------------------------------------------------------------------
   CURTAIN REVEAL (wide screens): after the card deck finishes stacking, the
   "How we work" section slides up over the pinned deck instead of leaving an
   empty band. It overlaps the deck's 60vh rest gap minus a short pause.
   -------------------------------------------------------------------------- */
@media (min-width: 1101px) {
  .clay-services-section {
    padding-bottom: 0;
  }

  .clay-framework-section {
    position: relative;
    z-index: 5;
    margin-top: -45vh;
    border-top: 0;
    border-radius: 32px 32px 0 0;
    box-shadow: 0 -24px 60px -24px rgba(16, 16, 32, 0.22);
  }
}
