/* ============================================
   FABRYN — Global Design System
   Industrial-Premium B2B Garment Manufacturing
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --ink: #1A1D21;
  --ink-light: #2A2E35;
  --ink-mid: #3A3F48;
  --cotton: #F5F0EB;
  --cotton-light: #FAF7F4;
  --brass: #B8944A;
  --brass-light: #D4B06A;
  --brass-dark: #9A7A3A;
  --thread: #8B7355;
  --steel: #6B7280;
  --steel-light: #9CA3AF;
  --white: #FFFFFF;
  --error: #DC2626;
  --success: #16A34A;

  /* Typography */
  --font-heading: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Container */
  --container-max: 1280px;
  --container-padding: 1.5rem;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 16px 50px rgba(0,0,0,0.16);

  /* Transitions */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 200ms;
  --duration-normal: 350ms;
  --duration-slow: 500ms;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--cotton-light);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--duration-fast) var(--ease-out);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* --- Typography Scale --- */
.heading-display {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
}

.heading-1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.heading-2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.2;
}

.heading-3 {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.3;
}

.heading-4 {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.35;
}

.text-body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--steel);
}

.text-body-lg {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--steel);
}

.text-small {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.6;
}

.text-mono {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.text-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--space-4xl) 0;
}

.section--dark {
  background-color: var(--ink);
  color: var(--white);
}

.section--dark .text-body,
.section--dark .text-body-lg {
  color: var(--steel-light);
}

.section--cotton {
  background-color: var(--cotton);
}

.section--cotton-light {
  background-color: var(--cotton-light);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header .text-label {
  margin-bottom: var(--space-sm);
  display: block;
}

.section-header .heading-1,
.section-header .heading-2 {
  margin-bottom: var(--space-md);
}

.section-header .text-body-lg {
  max-width: 640px;
  margin: 0 auto;
}

/* --- Stitch Divider Motif --- */
.stitch-divider {
  border: none;
  border-top: 2px dashed var(--brass);
  opacity: 0.4;
  margin: var(--space-3xl) 0;
}

.stitch-divider--light {
  border-color: var(--cotton);
  opacity: 0.2;
}

.stitch-divider--vertical {
  border: none;
  border-left: 2px dashed var(--brass);
  opacity: 0.3;
  height: 60px;
  width: 0;
  margin: 0 auto;
}

.stitch-accent {
  display: inline-block;
  width: 40px;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--brass) 0px,
    var(--brass) 6px,
    transparent 6px,
    transparent 10px
  );
  margin-bottom: var(--space-md);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: opacity var(--duration-fast) var(--ease-out);
}

.btn:hover::after {
  opacity: 1;
}

.btn-primary {
  background: var(--brass);
  color: var(--white);
  border: 2px solid var(--brass);
}

.btn-primary:hover {
  background: var(--brass-light);
  border-color: var(--brass-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 148, 74, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
  border-color: var(--brass);
  color: var(--brass);
  transform: translateY(-2px);
}

.btn-secondary--dark {
  color: var(--ink);
  border-color: var(--ink);
}

.btn-secondary--dark:hover {
  border-color: var(--brass);
  color: var(--brass);
}

.btn-outline-brass {
  background: transparent;
  color: var(--brass);
  border: 2px solid var(--brass);
}

.btn-outline-brass:hover {
  background: var(--brass);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  border: 2px solid #25D366;
}

.btn-whatsapp:hover {
  background: #20BD5A;
  border-color: #20BD5A;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  border: 1px solid rgba(0,0,0,0.05);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card--dark {
  background: var(--ink-light);
  border-color: rgba(255,255,255,0.06);
}

.card--dark:hover {
  border-color: var(--brass);
  box-shadow: 0 8px 30px rgba(184, 148, 74, 0.1);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--brass), var(--brass-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--white);
  fill: none;
  stroke-width: 1.5;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  color: var(--ink);
}

.card--dark .card-title {
  color: var(--white);
}

.card-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--steel);
}

.card--dark .card-text {
  color: var(--steel-light);
}

/* --- Stat Cards --- */
.stat-card {
  text-align: center;
  padding: var(--space-xl);
}

.stat-value {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--brass);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--steel-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --- Pills / Badges --- */
.pill {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 100px;
  text-transform: uppercase;
}

.pill--brass {
  background: rgba(184, 148, 74, 0.12);
  color: var(--brass);
  border: 1px solid rgba(184, 148, 74, 0.25);
}

.pill--outline {
  background: transparent;
  color: var(--steel);
  border: 1px solid var(--steel-light);
}

.pill--dark {
  background: rgba(255,255,255,0.08);
  color: var(--steel-light);
  border: 1px solid rgba(255,255,255,0.12);
}

/* --- Product Cards --- */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.product-card:hover .product-card__image {
  border-color: var(--brass);
}

.product-card__image {
  aspect-ratio: 4 / 5;
  background: var(--ink-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-md);
  position: relative;
  overflow: hidden;
  border-bottom: 2px dashed transparent;
  transition: border-color var(--duration-normal) var(--ease-out);
}

.product-card__image svg {
  width: 48px;
  height: 48px;
  stroke: var(--steel);
  fill: none;
  stroke-width: 1;
  opacity: 0.5;
}

.product-card__image-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.product-card__body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__category {
  margin-bottom: var(--space-sm);
}

.product-card__name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: var(--space-xs);
}

.product-card__desc {
  font-size: 0.875rem;
  color: var(--steel);
  line-height: 1.6;
  margin-bottom: var(--space-md);
  flex: 1;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.product-card__link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brass);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--duration-fast) var(--ease-out);
}

.product-card__link:hover {
  gap: 8px;
}

.product-card__link::after {
  content: '→';
}

/* --- Grid Utilities --- */
.grid {
  display: grid;
  gap: var(--space-xl);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid--4 { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
}

/* --- Flex Utilities --- */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* --- Text Utilities --- */
.text-center { text-align: center; }
.text-brass { color: var(--brass); }
.text-white { color: var(--white); }
.text-ink { color: var(--ink); }

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 29, 33, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: all var(--duration-normal) var(--ease-out);
}

.site-header.scrolled {
  background: rgba(26, 29, 33, 0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  z-index: 1001;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--white);
  letter-spacing: 0.04em;
}

.logo-stitch {
  display: block;
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--brass) 0px,
    var(--brass) 4px,
    transparent 4px,
    transparent 7px
  );
  margin-top: -2px;
}

.logo-sub {
  font-family: var(--font-body);
  font-size: 0.55rem;
  color: var(--steel-light);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: 1px;
}

/* Nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--steel-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: var(--space-sm) 0;
  position: relative;
  transition: color var(--duration-fast) var(--ease-out);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brass);
  transition: width var(--duration-normal) var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  margin-left: var(--space-md);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--duration-normal) var(--ease-out);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--ink);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-2xl);
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-normal) var(--ease-out);
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: var(--space-md);
  }
}

/* ============================================
   PAGE HERO BANNERS
   ============================================ */
.page-hero {
  background: var(--ink);
  padding: calc(72px + var(--space-4xl)) 0 var(--space-4xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 40px,
      rgba(184, 148, 74, 0.03) 40px,
      rgba(184, 148, 74, 0.03) 41px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 40px,
      rgba(184, 148, 74, 0.03) 40px,
      rgba(184, 148, 74, 0.03) 41px
    );
  pointer-events: none;
}

.page-hero .text-label {
  margin-bottom: var(--space-md);
  display: block;
}

.page-hero .heading-display {
  margin-bottom: var(--space-lg);
}

.page-hero .text-body-lg {
  color: var(--steel-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   HOMEPAGE HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--ink);
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 60px,
      rgba(184, 148, 74, 0.04) 60px,
      rgba(184, 148, 74, 0.04) 61px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 60px,
      rgba(184, 148, 74, 0.04) 60px,
      rgba(184, 148, 74, 0.04) 61px
    );
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--ink), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.hero-label .stitch-accent {
  margin-bottom: 0;
}

.hero .heading-display {
  margin-bottom: var(--space-lg);
}

.hero .text-body-lg {
  color: var(--steel-light);
  max-width: 560px;
  margin-bottom: var(--space-2xl);
}

.hero-ctas {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Floating decorative needle */
.hero-needle {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%) rotate(15deg);
  opacity: 0.06;
  pointer-events: none;
}

.hero-needle svg {
  width: 300px;
  height: 300px;
  stroke: var(--brass);
  fill: none;
  stroke-width: 0.5;
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: calc(72px + var(--space-3xl)) 0 var(--space-3xl);
  }

  .hero-needle {
    display: none;
  }
}

/* ============================================
   STATS STRIP
   ============================================ */
.stats-strip {
  background: var(--ink-light);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: var(--space-2xl) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.stats-grid .stat-card {
  position: relative;
}

.stats-grid .stat-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  border-right: 1px dashed rgba(184, 148, 74, 0.2);
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid .stat-card:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid .stat-card::after {
    display: none;
  }
}

/* ============================================
   PRODUCTION FLOW STEPS
   ============================================ */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  position: relative;
}

.flow-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--brass) 0px,
    var(--brass) 8px,
    transparent 8px,
    transparent 14px
  );
  opacity: 0.3;
}

.flow-step {
  text-align: center;
  position: relative;
}

.flow-step__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brass);
  color: var(--white);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--cotton), 0 0 0 8px rgba(184, 148, 74, 0.2);
}

.section--dark .flow-step__number {
  box-shadow: 0 0 0 6px var(--ink), 0 0 0 8px rgba(184, 148, 74, 0.2);
}

.flow-step__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

.flow-step__text {
  font-size: 0.875rem;
  color: var(--steel);
  line-height: 1.6;
}

.section--dark .flow-step__text {
  color: var(--steel-light);
}

@media (max-width: 768px) {
  .flow-steps {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .flow-steps::before {
    top: 0;
    bottom: 0;
    left: 24px;
    right: auto;
    width: 2px;
    height: auto;
    background: repeating-linear-gradient(
      180deg,
      var(--brass) 0px,
      var(--brass) 8px,
      transparent 8px,
      transparent 14px
    );
  }

  .flow-step {
    text-align: left;
    padding-left: 72px;
  }

  .flow-step__number {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
  }
}

/* ============================================
   TIMELINE (Lead Times)
   ============================================ */
.timeline {
  display: flex;
  gap: 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 5%;
  right: 5%;
  height: 3px;
  background: linear-gradient(90deg, var(--brass), var(--brass-light));
  border-radius: 2px;
}

.timeline-item {
  flex: 1;
  text-align: center;
  position: relative;
  padding-top: 60px;
}

.timeline-item__dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--brass);
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-item__time {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brass);
  margin-bottom: var(--space-xs);
}

.timeline-item__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: var(--space-xs);
}

.timeline-item__text {
  font-size: 0.85rem;
  color: var(--steel);
}

@media (max-width: 768px) {
  .timeline {
    flex-direction: column;
    gap: var(--space-xl);
    padding-left: 40px;
  }

  .timeline::before {
    top: 0;
    bottom: 0;
    left: 14px;
    right: auto;
    width: 3px;
    height: auto;
  }

  .timeline-item {
    padding-top: 0;
    text-align: left;
  }

  .timeline-item__dot {
    top: 2px;
    left: -40px;
    transform: none;
    margin-left: 5px;
  }
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-light) 100%);
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 2px dashed rgba(184, 148, 74, 0.1);
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 2px dashed rgba(184, 148, 74, 0.08);
  pointer-events: none;
}

.cta-banner .container {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-banner .heading-1 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.cta-banner .text-body-lg {
  color: var(--steel-light);
  max-width: 500px;
  margin: 0 auto var(--space-2xl);
}

/* ============================================
   TABS / TOGGLE
   ============================================ */
.tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-3xl);
  background: var(--white);
  border-radius: 100px;
  padding: 4px;
  display: inline-flex;
  border: 1px solid rgba(0,0,0,0.08);
}

.tabs-wrapper {
  text-align: center;
}

.tab-btn {
  padding: 0.7rem 2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--steel);
  border-radius: 100px;
  transition: all var(--duration-normal) var(--ease-out);
  cursor: pointer;
}

.tab-btn.active {
  background: var(--ink);
  color: var(--white);
}

.tab-btn:hover:not(.active) {
  color: var(--ink);
}

.tab-content {
  display: none;
  animation: fadeInUp 0.4s var(--ease-out);
}

.tab-content.active {
  display: block;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: var(--space-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--white);
  border: 2px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color var(--duration-fast) var(--ease-out);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brass);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--ink);
  color: var(--steel-light);
  padding: var(--space-4xl) 0 var(--space-xl);
  border-top: 3px dashed var(--brass);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand .logo-text {
  font-size: 1.4rem;
  margin-bottom: var(--space-sm);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--steel);
  max-width: 320px;
  margin-top: var(--space-md);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.footer-col ul li {
  margin-bottom: var(--space-sm);
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--steel);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer-col ul li a:hover {
  color: var(--brass);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: 0.9rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--brass);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--steel);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

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

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.3s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.4s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.5s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.6s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.7s; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.8s; }

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   MATERIAL CARDS (Capabilities Page)
   ============================================ */
.material-card {
  background: linear-gradient(135deg, var(--ink-light), var(--ink));
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.material-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brass), var(--brass-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-normal) var(--ease-out);
}

.material-card:hover::before {
  transform: scaleX(1);
}

.material-card:hover {
  border-color: rgba(184, 148, 74, 0.2);
  transform: translateY(-4px);
}

.material-card__name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.material-card__desc {
  font-size: 0.9rem;
  color: var(--steel-light);
  line-height: 1.6;
}

/* ============================================
   ABOUT PAGE — SPECIFIC
   ============================================ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-split--reverse {
  direction: rtl;
}

.about-split--reverse > * {
  direction: ltr;
}

.about-image-placeholder {
  aspect-ratio: 4 / 3;
  background: var(--ink-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(184, 148, 74, 0.15);
}

.about-image-placeholder svg {
  width: 64px;
  height: 64px;
  stroke: var(--steel);
  fill: none;
  stroke-width: 1;
  opacity: 0.4;
}

@media (max-width: 768px) {
  .about-split {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .about-split--reverse {
    direction: ltr;
  }
}

/* ============================================
   WHO WE SERVE
   ============================================ */
.serve-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all var(--duration-normal) var(--ease-out);
}

.serve-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brass);
}

.serve-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  border-radius: 50%;
  background: rgba(184, 148, 74, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.serve-card__icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--brass);
  fill: none;
  stroke-width: 1.5;
}

.serve-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
  color: var(--ink);
}

.serve-card__text {
  font-size: 0.875rem;
  color: var(--steel);
  line-height: 1.6;
}

/* ============================================
   CONTACT INFO CARDS
   ============================================ */
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all var(--duration-normal) var(--ease-out);
}

.contact-info-card:hover {
  border-color: var(--brass);
  box-shadow: var(--shadow-md);
}

.contact-info-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(184, 148, 74, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--brass);
  fill: none;
  stroke-width: 1.5;
}

.contact-info-card__title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--steel);
  margin-bottom: var(--space-xs);
}

.contact-info-card__value {
  font-size: 1rem;
  color: var(--ink);
  font-weight: 500;
}

.contact-info-card__value a {
  color: var(--ink);
  transition: color var(--duration-fast) var(--ease-out);
}

.contact-info-card__value a:hover {
  color: var(--brass);
}

/* ============================================
   PRODUCTION FLOOR STATS
   ============================================ */
.floor-stat {
  text-align: center;
  padding: var(--space-xl);
}

.floor-stat__value {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brass);
  margin-bottom: var(--space-xs);
}

.floor-stat__label {
  font-size: 0.85rem;
  color: var(--steel-light);
}

/* ============================================
   COLLECTION PREVIEW (Homepage)
   ============================================ */
.collection-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.collection-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--ink-light);
  display: flex;
  align-items: flex-end;
  transition: all var(--duration-normal) var(--ease-out);
  border: 1px solid rgba(255,255,255,0.06);
}

.collection-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 29, 33, 0.9), transparent 60%);
  z-index: 1;
}

.collection-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--brass);
}

.collection-card__content {
  position: relative;
  z-index: 2;
  padding: var(--space-2xl);
  width: 100%;
}

.collection-card__label {
  margin-bottom: var(--space-sm);
}

.collection-card__title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.collection-card__count {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--steel-light);
  margin-bottom: var(--space-md);
}

.collection-card__link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brass);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--duration-fast) var(--ease-out);
}

.collection-card:hover .collection-card__link {
  gap: 10px;
}

.collection-card__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  opacity: 0.06;
}

.collection-card__icon svg {
  width: 120px;
  height: 120px;
  stroke: var(--white);
  fill: none;
  stroke-width: 0.5;
}

@media (max-width: 640px) {
  .collection-preview {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   MISC / UTILITY
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }

.mt-0 { margin-top: 0; }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.pt-0 { padding-top: 0; }
